-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: UpdateCssProduct is added to CssProductInput proto
docs: Mark `freshness_time` as deprecated docs : Mark `feed_id` as deprecated docs: A comment for field `page_size` in message `.google.shopping.css.v1.ListChildAccountsRequest` is changed docs: A comment for field `low_price` in message `.google.shopping.css.v1.Attributes` is changed docs: A comment for field `high_price` in message `.google.shopping.css.v1.Attributes` is changed docs: A comment for field `number_of_offers` in message `.google.shopping.css.v1.Attributes` is changed docs: A comment for field `headline_offer_price` in message `.google.shopping.css.v1.Attributes` is changed docs: A comment for field `headline_offer_shipping_price` in message `.google.shopping.css.v1.Attributes` is changed docs: A comment for field `approved_countries` in message `.google.shopping.css.v1.CssProductStatus` is changed docs: A comment for field `pending_countries` in message `.google.shopping.css.v1.CssProductStatus` is changed docs: A comment for field `disapproved_countries` in message `.google.shopping.css.v1.CssProductStatus` is changed docs: A comment for field `servability` in message `.google.shopping.css.v1.CssProductStatus` is changed docs: A comment for field `applicable_countries` in message `.google.shopping.css.v1.CssProductStatus` is changed docs: A comment for field `feed_id` in message`.google.shopping.css.v1.InsertCssProductInputRequest` is changed docs: A comment for message `CssProduct` is changed PiperOrigin-RevId: 708397816 Source-Link: googleapis/googleapis@892e72f Source-Link: googleapis/googleapis-gen@09992f0 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuU2hvcHBpbmcuQ3NzLlYxLy5Pd2xCb3QueWFtbCIsImgiOiIwOTk5MmYwZDk0NWJlYjA5MjEyMmZhMWJkZjQ1M2Y1MzIxYmMwZjhjIn0=
- Loading branch information
1 parent
3170840
commit 76bc3bd
Showing
15 changed files
with
1,086 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...V1.GeneratedSnippets/CssProductInputsServiceClient.UpdateCssProductInputAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START css_v1_generated_CssProductInputsService_UpdateCssProductInput_async_flattened] | ||
using Google.Protobuf.WellKnownTypes; | ||
using Google.Shopping.Css.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCssProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for UpdateCssProductInputAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task UpdateCssProductInputAsync() | ||
{ | ||
// Create client | ||
CssProductInputsServiceClient cssProductInputsServiceClient = await CssProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CssProductInput cssProductInput = new CssProductInput(); | ||
FieldMask updateMask = new FieldMask(); | ||
// Make the request | ||
CssProductInput response = await cssProductInputsServiceClient.UpdateCssProductInputAsync(cssProductInput, updateMask); | ||
} | ||
} | ||
// [END css_v1_generated_CssProductInputsService_UpdateCssProductInput_async_flattened] | ||
} |
49 changes: 49 additions & 0 deletions
49
...nippets/CssProductInputsServiceClient.UpdateCssProductInputRequestObjectAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START css_v1_generated_CssProductInputsService_UpdateCssProductInput_async] | ||
using Google.Protobuf.WellKnownTypes; | ||
using Google.Shopping.Css.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCssProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for UpdateCssProductInputAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task UpdateCssProductInputRequestObjectAsync() | ||
{ | ||
// Create client | ||
CssProductInputsServiceClient cssProductInputsServiceClient = await CssProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
UpdateCssProductInputRequest request = new UpdateCssProductInputRequest | ||
{ | ||
CssProductInput = new CssProductInput(), | ||
UpdateMask = new FieldMask(), | ||
}; | ||
// Make the request | ||
CssProductInput response = await cssProductInputsServiceClient.UpdateCssProductInputAsync(request); | ||
} | ||
} | ||
// [END css_v1_generated_CssProductInputsService_UpdateCssProductInput_async] | ||
} |
48 changes: 48 additions & 0 deletions
48
...atedSnippets/CssProductInputsServiceClient.UpdateCssProductInputRequestObjectSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync] | ||
using Google.Protobuf.WellKnownTypes; | ||
using Google.Shopping.Css.V1; | ||
|
||
public sealed partial class GeneratedCssProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for UpdateCssProductInput</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void UpdateCssProductInputRequestObject() | ||
{ | ||
// Create client | ||
CssProductInputsServiceClient cssProductInputsServiceClient = CssProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
UpdateCssProductInputRequest request = new UpdateCssProductInputRequest | ||
{ | ||
CssProductInput = new CssProductInput(), | ||
UpdateMask = new FieldMask(), | ||
}; | ||
// Make the request | ||
CssProductInput response = cssProductInputsServiceClient.UpdateCssProductInput(request); | ||
} | ||
} | ||
// [END css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync] | ||
} |
45 changes: 45 additions & 0 deletions
45
....Css.V1.GeneratedSnippets/CssProductInputsServiceClient.UpdateCssProductInputSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync_flattened] | ||
using Google.Protobuf.WellKnownTypes; | ||
using Google.Shopping.Css.V1; | ||
|
||
public sealed partial class GeneratedCssProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for UpdateCssProductInput</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void UpdateCssProductInput() | ||
{ | ||
// Create client | ||
CssProductInputsServiceClient cssProductInputsServiceClient = CssProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
CssProductInput cssProductInput = new CssProductInput(); | ||
FieldMask updateMask = new FieldMask(); | ||
// Make the request | ||
CssProductInput response = cssProductInputsServiceClient.UpdateCssProductInput(cssProductInput, updateMask); | ||
} | ||
} | ||
// [END css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync_flattened] | ||
} |
Oops, something went wrong.