-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Changed repeated flag of an existing field
gtin
in message `.…
…google.shopping.merchant.products.v1beta.Attributes` fix!: An existing field `gtin` is moved out of oneof in message `.google.shopping.merchant.products.v1beta.Attributes` docs: A comment for message `ProductInput` is changed docs: A comment for field `name` in message `.google.shopping.merchant.products.v1beta.ProductInput` is changed docs: A comment for field `name` in message `.google.shopping.merchant.products.v1beta.DeleteProductInputRequest` is changed docs: A comment for message `Product` is changed docs: A comment for field `name` in message `.google.shopping.merchant.products.v1beta.Product` is changed docs: A comment for field `name` in message `.google.shopping.merchant.products.v1beta.GetProductRequest` is changed docs: A comment for field `page_size` in message `.google.shopping.merchant.products.v1beta.ListProductsRequest` is changed docs: A comment for field `gtin` in message `.google.shopping.merchant.products.v1beta.Attributes` is changed docs: A comment for field `tax_category` in message `.google.shopping.merchant.products.v1beta.Attributes` is changed docs: A comment for field `min_handling_time` in message `.google.shopping.merchant.products.v1beta.Shipping` is changed docs: A comment for field `max_handling_time` in message `.google.shopping.merchant.products.v1beta.Shipping` is changed docs: A comment for field `min_transit_time` in message `.google.shopping.merchant.products.v1beta.Shipping` is changed docs: A comment for field `max_transit_time` in message `.google.shopping.merchant.products.v1beta.Shipping` is changed feat: A new field `member_price_effective_date` is added to message `.google.shopping.merchant.products.v1beta.LoyaltyProgram` feat: A new field `shipping_label` is added to message `.google.shopping.merchant.products.v1beta.LoyaltyProgram` PiperOrigin-RevId: 704281512 Source-Link: googleapis/googleapis@0f1beb9 Source-Link: googleapis/googleapis-gen@5429d7d Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuU2hvcHBpbmcuTWVyY2hhbnQuUHJvZHVjdHMuVjFCZXRhLy5Pd2xCb3QueWFtbCIsImgiOiI1NDI5ZDdkNDBiMjQ4YWQwMzQ3ZTkxNmRlZmVlMTdiYTUxMTY0MDExIn0=
- Loading branch information
1 parent
ec46bf2
commit e2ca0c0
Showing
38 changed files
with
20,313 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...1Beta.GeneratedSnippets/Google.Shopping.Merchant.Products.V1Beta.GeneratedSnippets.csproj
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net462</TargetFrameworks> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="../Google.Shopping.Merchant.Products.V1Beta/Google.Shopping.Merchant.Products.V1Beta.csproj" /> | ||
<PackageReference Include="System.Linq.Async" Version="6.0.1" /> | ||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
</Project> |
44 changes: 44 additions & 0 deletions
44
...s.V1Beta.GeneratedSnippets/ProductInputsServiceClient.DeleteProductInputAsyncSnippet.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,44 @@ | ||
// 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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async_flattened] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInputAsync</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 DeleteProductInputAsync() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = await ProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string name = "accounts/[ACCOUNT]/productInputs/[PRODUCTINPUT]"; | ||
// Make the request | ||
await productInputsServiceClient.DeleteProductInputAsync(name); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async_flattened] | ||
} |
48 changes: 48 additions & 0 deletions
48
...ratedSnippets/ProductInputsServiceClient.DeleteProductInputRequestObjectAsyncSnippet.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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInputAsync</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 DeleteProductInputRequestObjectAsync() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = await ProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
DeleteProductInputRequest request = new DeleteProductInputRequest | ||
{ | ||
ProductInputName = ProductInputName.FromAccountProductinput("[ACCOUNT]", "[PRODUCTINPUT]"), | ||
DataSource = "", | ||
}; | ||
// Make the request | ||
await productInputsServiceClient.DeleteProductInputAsync(request); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async] | ||
} |
47 changes: 47 additions & 0 deletions
47
....GeneratedSnippets/ProductInputsServiceClient.DeleteProductInputRequestObjectSnippet.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,47 @@ | ||
// 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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInput</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 DeleteProductInputRequestObject() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = ProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
DeleteProductInputRequest request = new DeleteProductInputRequest | ||
{ | ||
ProductInputName = ProductInputName.FromAccountProductinput("[ACCOUNT]", "[PRODUCTINPUT]"), | ||
DataSource = "", | ||
}; | ||
// Make the request | ||
productInputsServiceClient.DeleteProductInput(request); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync] | ||
} |
44 changes: 44 additions & 0 deletions
44
...ratedSnippets/ProductInputsServiceClient.DeleteProductInputResourceNamesAsyncSnippet.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,44 @@ | ||
// 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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async_flattened_resourceNames] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInputAsync</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 DeleteProductInputResourceNamesAsync() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = await ProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
ProductInputName name = ProductInputName.FromAccountProductinput("[ACCOUNT]", "[PRODUCTINPUT]"); | ||
// Make the request | ||
await productInputsServiceClient.DeleteProductInputAsync(name); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_async_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
....GeneratedSnippets/ProductInputsServiceClient.DeleteProductInputResourceNamesSnippet.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,43 @@ | ||
// 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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync_flattened_resourceNames] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInput</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 DeleteProductInputResourceNames() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = ProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
ProductInputName name = ProductInputName.FromAccountProductinput("[ACCOUNT]", "[PRODUCTINPUT]"); | ||
// Make the request | ||
productInputsServiceClient.DeleteProductInput(name); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
...oducts.V1Beta.GeneratedSnippets/ProductInputsServiceClient.DeleteProductInputSnippet.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,43 @@ | ||
// 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 merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync_flattened] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for DeleteProductInput</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 DeleteProductInput() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = ProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
string name = "accounts/[ACCOUNT]/productInputs/[PRODUCTINPUT]"; | ||
// Make the request | ||
productInputsServiceClient.DeleteProductInput(name); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync_flattened] | ||
} |
49 changes: 49 additions & 0 deletions
49
...ratedSnippets/ProductInputsServiceClient.InsertProductInputRequestObjectAsyncSnippet.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 merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_async] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for InsertProductInputAsync</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 InsertProductInputRequestObjectAsync() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = await ProductInputsServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
InsertProductInputRequest request = new InsertProductInputRequest | ||
{ | ||
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"), | ||
ProductInput = new ProductInput(), | ||
DataSource = "", | ||
}; | ||
// Make the request | ||
ProductInput response = await productInputsServiceClient.InsertProductInputAsync(request); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_async] | ||
} |
48 changes: 48 additions & 0 deletions
48
....GeneratedSnippets/ProductInputsServiceClient.InsertProductInputRequestObjectSnippet.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 merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_sync] | ||
using Google.Shopping.Merchant.Products.V1Beta; | ||
|
||
public sealed partial class GeneratedProductInputsServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for InsertProductInput</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 InsertProductInputRequestObject() | ||
{ | ||
// Create client | ||
ProductInputsServiceClient productInputsServiceClient = ProductInputsServiceClient.Create(); | ||
// Initialize request argument(s) | ||
InsertProductInputRequest request = new InsertProductInputRequest | ||
{ | ||
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"), | ||
ProductInput = new ProductInput(), | ||
DataSource = "", | ||
}; | ||
// Make the request | ||
ProductInput response = productInputsServiceClient.InsertProductInput(request); | ||
} | ||
} | ||
// [END merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_sync] | ||
} |
Oops, something went wrong.