diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets.csproj b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets.csproj
new file mode 100755
index 000000000000..daf1be312b77
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets.csproj
@@ -0,0 +1,15 @@
+
+
+
+
+ net6.0;net462
+ latest
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewAsyncSnippet.g.cs
new file mode 100755
index 000000000000..926fbb071681
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_DeleteMerchantReview_async_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteMerchantReviewAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..d12319028112
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_DeleteMerchantReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteMerchantReviewRequestObjectAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ DeleteMerchantReviewRequest request = new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..04a6f854f8e8
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectSnippet.g.cs
@@ -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 merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReview
+ ///
+ /// 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.
+ ///
+ public void DeleteMerchantReviewRequestObject()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ DeleteMerchantReviewRequest request = new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..579e2d5354f4
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_DeleteMerchantReview_async_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteMerchantReviewResourceNamesAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..8b9ca1253970
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesSnippet.g.cs
@@ -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_MerchantReviewsService_DeleteMerchantReview_sync_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReview
+ ///
+ /// 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.
+ ///
+ public void DeleteMerchantReviewResourceNames()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewSnippet.g.cs
new file mode 100755
index 000000000000..c7636169cc25
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.DeleteMerchantReviewSnippet.g.cs
@@ -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_MerchantReviewsService_DeleteMerchantReview_sync_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteMerchantReview
+ ///
+ /// 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.
+ ///
+ public void DeleteMerchantReview()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewAsyncSnippet.g.cs
new file mode 100755
index 000000000000..8a512a79f144
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_GetMerchantReview_async_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetMerchantReviewAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..1dc1431064f7
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_GetMerchantReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetMerchantReviewRequestObjectAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ GetMerchantReviewRequest request = new GetMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..5efa71284810
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewRequestObjectSnippet.g.cs
@@ -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 merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReview
+ ///
+ /// 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.
+ ///
+ public void GetMerchantReviewRequestObject()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ GetMerchantReviewRequest request = new GetMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..bdacc0039f15
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_GetMerchantReview_async_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetMerchantReviewResourceNamesAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..d9a8fa0f934c
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewResourceNamesSnippet.g.cs
@@ -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_MerchantReviewsService_GetMerchantReview_sync_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReview
+ ///
+ /// 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.
+ ///
+ public void GetMerchantReviewResourceNames()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewSnippet.g.cs
new file mode 100755
index 000000000000..dd3407c35ca4
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.GetMerchantReviewSnippet.g.cs
@@ -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_MerchantReviewsService_GetMerchantReview_sync_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReview
+ ///
+ /// 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.
+ ///
+ public void GetMerchantReview()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..f8a25e58a7d0
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectAsyncSnippet.g.cs
@@ -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_MerchantReviewsService_InsertMerchantReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for InsertMerchantReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task InsertMerchantReviewRequestObjectAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ InsertMerchantReviewRequest request = new InsertMerchantReviewRequest
+ {
+ Parent = "",
+ MerchantReview = new MerchantReview(),
+ DataSource = "",
+ };
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.InsertMerchantReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..1a651f40106d
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectSnippet.g.cs
@@ -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_MerchantReviewsService_InsertMerchantReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for InsertMerchantReview
+ ///
+ /// 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.
+ ///
+ public void InsertMerchantReviewRequestObject()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ InsertMerchantReviewRequest request = new InsertMerchantReviewRequest
+ {
+ Parent = "",
+ MerchantReview = new MerchantReview(),
+ DataSource = "",
+ };
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.InsertMerchantReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsAsyncSnippet.g.cs
new file mode 100755
index 000000000000..2b06050f6171
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsAsyncSnippet.g.cs
@@ -0,0 +1,79 @@
+// 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_MerchantReviewsService_ListMerchantReviews_async_flattened]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListMerchantReviewsAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..f31f68b55d36
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,82 @@
+// 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_MerchantReviewsService_ListMerchantReviews_async]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListMerchantReviewsRequestObjectAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..cb058e1b18b0
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectSnippet.g.cs
@@ -0,0 +1,80 @@
+// 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_MerchantReviewsService_ListMerchantReviews_sync]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviews
+ ///
+ /// 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.
+ ///
+ public void ListMerchantReviewsRequestObject()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..47eb46b4805e
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesAsyncSnippet.g.cs
@@ -0,0 +1,79 @@
+// 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_MerchantReviewsService_ListMerchantReviews_async_flattened_resourceNames]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListMerchantReviewsResourceNamesAsync()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..81b1ecee47e8
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesSnippet.g.cs
@@ -0,0 +1,77 @@
+// 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_MerchantReviewsService_ListMerchantReviews_sync_flattened_resourceNames]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviews
+ ///
+ /// 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.
+ ///
+ public void ListMerchantReviewsResourceNames()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsSnippet.g.cs
new file mode 100755
index 000000000000..a336abf4f3cf
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/MerchantReviewsServiceClient.ListMerchantReviewsSnippet.g.cs
@@ -0,0 +1,77 @@
+// 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_MerchantReviewsService_ListMerchantReviews_sync_flattened]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for ListMerchantReviews
+ ///
+ /// 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.
+ ///
+ public void ListMerchantReviews()
+ {
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewAsyncSnippet.g.cs
new file mode 100755
index 000000000000..cb71735c948a
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewAsyncSnippet.g.cs
@@ -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_ProductReviewsService_DeleteProductReview_async_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteProductReviewAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..76b82472b9dc
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectAsyncSnippet.g.cs
@@ -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_ProductReviewsService_DeleteProductReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteProductReviewRequestObjectAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ DeleteProductReviewRequest request = new DeleteProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..7ff10789d93f
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewRequestObjectSnippet.g.cs
@@ -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 merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReview
+ ///
+ /// 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.
+ ///
+ public void DeleteProductReviewRequestObject()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ DeleteProductReviewRequest request = new DeleteProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..b9438f033d30
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesAsyncSnippet.g.cs
@@ -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_ProductReviewsService_DeleteProductReview_async_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task DeleteProductReviewResourceNamesAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..319d64e4cdfa
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewResourceNamesSnippet.g.cs
@@ -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_ProductReviewsService_DeleteProductReview_sync_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReview
+ ///
+ /// 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.
+ ///
+ public void DeleteProductReviewResourceNames()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewSnippet.g.cs
new file mode 100755
index 000000000000..10bf59c57c3f
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.DeleteProductReviewSnippet.g.cs
@@ -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_ProductReviewsService_DeleteProductReview_sync_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for DeleteProductReview
+ ///
+ /// 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.
+ ///
+ public void DeleteProductReview()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewAsyncSnippet.g.cs
new file mode 100755
index 000000000000..4eefa1b9486d
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewAsyncSnippet.g.cs
@@ -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_ProductReviewsService_GetProductReview_async_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetProductReviewAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..731101b3e3fd
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectAsyncSnippet.g.cs
@@ -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_ProductReviewsService_GetProductReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetProductReviewRequestObjectAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ GetProductReviewRequest request = new GetProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..f826681ddcd1
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewRequestObjectSnippet.g.cs
@@ -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 merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReview
+ ///
+ /// 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.
+ ///
+ public void GetProductReviewRequestObject()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ GetProductReviewRequest request = new GetProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..f8984241f2e1
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesAsyncSnippet.g.cs
@@ -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_ProductReviewsService_GetProductReview_async_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task GetProductReviewResourceNamesAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..35a54a443830
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewResourceNamesSnippet.g.cs
@@ -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_ProductReviewsService_GetProductReview_sync_flattened_resourceNames]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReview
+ ///
+ /// 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.
+ ///
+ public void GetProductReviewResourceNames()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewSnippet.g.cs
new file mode 100755
index 000000000000..281d475190d8
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.GetProductReviewSnippet.g.cs
@@ -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_ProductReviewsService_GetProductReview_sync_flattened]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReview
+ ///
+ /// 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.
+ ///
+ public void GetProductReview()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(name);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..5bc23ed0e8f7
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectAsyncSnippet.g.cs
@@ -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_ProductReviewsService_InsertProductReview_async]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for InsertProductReviewAsync
+ ///
+ /// 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.
+ ///
+ public async Task InsertProductReviewRequestObjectAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ InsertProductReviewRequest request = new InsertProductReviewRequest
+ {
+ Parent = "",
+ ProductReview = new ProductReview(),
+ DataSource = "",
+ };
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.InsertProductReviewAsync(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..c7b7cfa30621
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.InsertProductReviewRequestObjectSnippet.g.cs
@@ -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_ProductReviewsService_InsertProductReview_sync]
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for InsertProductReview
+ ///
+ /// 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.
+ ///
+ public void InsertProductReviewRequestObject()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ InsertProductReviewRequest request = new InsertProductReviewRequest
+ {
+ Parent = "",
+ ProductReview = new ProductReview(),
+ DataSource = "",
+ };
+ // Make the request
+ ProductReview response = productReviewsServiceClient.InsertProductReview(request);
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsAsyncSnippet.g.cs
new file mode 100755
index 000000000000..8b65a10c79c9
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsAsyncSnippet.g.cs
@@ -0,0 +1,79 @@
+// 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_ProductReviewsService_ListProductReviews_async_flattened]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListProductReviewsAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectAsyncSnippet.g.cs
new file mode 100755
index 000000000000..66ec8e58db63
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,82 @@
+// 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_ProductReviewsService_ListProductReviews_async]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListProductReviewsRequestObjectAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectSnippet.g.cs
new file mode 100755
index 000000000000..253fcafa73d8
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsRequestObjectSnippet.g.cs
@@ -0,0 +1,80 @@
+// 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_ProductReviewsService_ListProductReviews_sync]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviews
+ ///
+ /// 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.
+ ///
+ public void ListProductReviewsRequestObject()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesAsyncSnippet.g.cs
new file mode 100755
index 000000000000..4d68fd7eed4e
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesAsyncSnippet.g.cs
@@ -0,0 +1,79 @@
+// 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_ProductReviewsService_ListProductReviews_async_flattened_resourceNames]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviewsAsync
+ ///
+ /// 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.
+ ///
+ public async Task ListProductReviewsResourceNamesAsync()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesSnippet.g.cs
new file mode 100755
index 000000000000..1b10d36d05a0
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsResourceNamesSnippet.g.cs
@@ -0,0 +1,77 @@
+// 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_ProductReviewsService_ListProductReviews_sync_flattened_resourceNames]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviews
+ ///
+ /// 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.
+ ///
+ public void ListProductReviewsResourceNames()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync_flattened_resourceNames]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsSnippet.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsSnippet.g.cs
new file mode 100755
index 000000000000..367b4c8810f0
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/ProductReviewsServiceClient.ListProductReviewsSnippet.g.cs
@@ -0,0 +1,77 @@
+// 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_ProductReviewsService_ListProductReviews_sync_flattened]
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+
+ public sealed partial class GeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for ListProductReviews
+ ///
+ /// 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.
+ ///
+ public void ListProductReviews()
+ {
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync_flattened]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/snippet_metadata_google.shopping.merchant.reviews.v1beta.json b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/snippet_metadata_google.shopping.merchant.reviews.v1beta.json
new file mode 100755
index 000000000000..4d7dde2fb090
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.GeneratedSnippets/snippet_metadata_google.shopping.merchant.reviews.v1beta.json
@@ -0,0 +1,1988 @@
+{
+ "clientLibrary": {
+ "name": "Google.Shopping.Merchant.Reviews.V1Beta",
+ "language": "C_SHARP",
+ "apis": [
+ {
+ "id": "google.shopping.merchant.reviews.v1beta",
+ "version": "v1beta"
+ }
+ ]
+ },
+ "snippets": [
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync",
+ "title": "GetMerchantReviewRequestObject",
+ "description": "Snippet for GetMerchantReview",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 44,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 42,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async",
+ "title": "GetMerchantReviewRequestObjectAsync",
+ "description": "Snippet for GetMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 45,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 43,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync_flattened",
+ "title": "GetMerchantReview",
+ "description": "Snippet for GetMerchantReview",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReview",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async_flattened",
+ "title": "GetMerchantReviewAsync",
+ "description": "Snippet for GetMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync_flattened_resourceNames",
+ "title": "GetMerchantReviewResourceNames",
+ "description": "Snippet for GetMerchantReview",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_async_flattened_resourceNames",
+ "title": "GetMerchantReviewResourceNamesAsync",
+ "description": "Snippet for GetMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.GetMerchantReviewResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.GetMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync",
+ "title": "ListMerchantReviewsRequestObject",
+ "description": "Snippet for ListMerchantReviews",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviews",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 78,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 76,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async",
+ "title": "ListMerchantReviewsRequestObjectAsync",
+ "description": "Snippet for ListMerchantReviewsAsync",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 80,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 78,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync_flattened",
+ "title": "ListMerchantReviews",
+ "description": "Snippet for ListMerchantReviews",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviews",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 75,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 73,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async_flattened",
+ "title": "ListMerchantReviewsAsync",
+ "description": "Snippet for ListMerchantReviewsAsync",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 77,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 75,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync_flattened_resourceNames",
+ "title": "ListMerchantReviewsResourceNames",
+ "description": "Snippet for ListMerchantReviews",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviews",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.AccountName",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 75,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 73,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_async_flattened_resourceNames",
+ "title": "ListMerchantReviewsResourceNamesAsync",
+ "description": "Snippet for ListMerchantReviewsAsync",
+ "file": "MerchantReviewsServiceClient.ListMerchantReviewsResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListMerchantReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.ListMerchantReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.AccountName",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListMerchantReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 77,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 75,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_sync",
+ "title": "InsertMerchantReviewRequestObject",
+ "description": "Snippet for InsertMerchantReview",
+ "file": "MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "InsertMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.InsertMerchantReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "InsertMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.InsertMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 46,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 44,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_async",
+ "title": "InsertMerchantReviewRequestObjectAsync",
+ "description": "Snippet for InsertMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.InsertMerchantReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "InsertMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.InsertMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "InsertMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.InsertMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 47,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 45,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync",
+ "title": "DeleteMerchantReviewRequestObject",
+ "description": "Snippet for DeleteMerchantReview",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 44,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 42,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async",
+ "title": "DeleteMerchantReviewRequestObjectAsync",
+ "description": "Snippet for DeleteMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 45,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 43,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync_flattened",
+ "title": "DeleteMerchantReview",
+ "description": "Snippet for DeleteMerchantReview",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReview",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async_flattened",
+ "title": "DeleteMerchantReviewAsync",
+ "description": "Snippet for DeleteMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync_flattened_resourceNames",
+ "title": "DeleteMerchantReviewResourceNames",
+ "description": "Snippet for DeleteMerchantReview",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_async_flattened_resourceNames",
+ "title": "DeleteMerchantReviewResourceNamesAsync",
+ "description": "Snippet for DeleteMerchantReviewAsync",
+ "file": "MerchantReviewsServiceClient.DeleteMerchantReviewResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteMerchantReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient.DeleteMerchantReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "MerchantReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteMerchantReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
+ "service": {
+ "shortName": "MerchantReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync",
+ "title": "GetProductReviewRequestObject",
+ "description": "Snippet for GetProductReview",
+ "file": "ProductReviewsServiceClient.GetProductReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.GetProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReview",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 44,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 42,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async",
+ "title": "GetProductReviewRequestObjectAsync",
+ "description": "Snippet for GetProductReviewAsync",
+ "file": "ProductReviewsServiceClient.GetProductReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.GetProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 45,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 43,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync_flattened",
+ "title": "GetProductReview",
+ "description": "Snippet for GetProductReview",
+ "file": "ProductReviewsServiceClient.GetProductReviewSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReview",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReview",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async_flattened",
+ "title": "GetProductReviewAsync",
+ "description": "Snippet for GetProductReviewAsync",
+ "file": "ProductReviewsServiceClient.GetProductReviewAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync_flattened_resourceNames",
+ "title": "GetProductReviewResourceNames",
+ "description": "Snippet for GetProductReview",
+ "file": "ProductReviewsServiceClient.GetProductReviewResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReview",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_async_flattened_resourceNames",
+ "title": "GetProductReviewResourceNamesAsync",
+ "description": "Snippet for GetProductReviewAsync",
+ "file": "ProductReviewsServiceClient.GetProductReviewResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "GetProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.GetProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "GetProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync",
+ "title": "ListProductReviewsRequestObject",
+ "description": "Snippet for ListProductReviews",
+ "file": "ProductReviewsServiceClient.ListProductReviewsRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviews",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ListProductReviewsRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 78,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 76,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async",
+ "title": "ListProductReviewsRequestObjectAsync",
+ "description": "Snippet for ListProductReviewsAsync",
+ "file": "ProductReviewsServiceClient.ListProductReviewsRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ListProductReviewsRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 80,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 78,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync_flattened",
+ "title": "ListProductReviews",
+ "description": "Snippet for ListProductReviews",
+ "file": "ProductReviewsServiceClient.ListProductReviewsSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviews",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 75,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 73,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async_flattened",
+ "title": "ListProductReviewsAsync",
+ "description": "Snippet for ListProductReviewsAsync",
+ "file": "ProductReviewsServiceClient.ListProductReviewsAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 77,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 75,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync_flattened_resourceNames",
+ "title": "ListProductReviewsResourceNames",
+ "description": "Snippet for ListProductReviews",
+ "file": "ProductReviewsServiceClient.ListProductReviewsResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviews",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviews",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.AccountName",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 75,
+ "type": "FULL"
+ },
+ {
+ "start": 36,
+ "end": 73,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_async_flattened_resourceNames",
+ "title": "ListProductReviewsResourceNamesAsync",
+ "description": "Snippet for ListProductReviewsAsync",
+ "file": "ProductReviewsServiceClient.ListProductReviewsResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ListProductReviewsAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.ListProductReviewsAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.AccountName",
+ "name": "parent"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "ListProductReviews",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 77,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 75,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_sync",
+ "title": "InsertProductReviewRequestObject",
+ "description": "Snippet for InsertProductReview",
+ "file": "ProductReviewsServiceClient.InsertProductReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "InsertProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.InsertProductReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.InsertProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReview",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "InsertProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.InsertProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 46,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 44,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_async",
+ "title": "InsertProductReviewRequestObjectAsync",
+ "description": "Snippet for InsertProductReviewAsync",
+ "file": "ProductReviewsServiceClient.InsertProductReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "InsertProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.InsertProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.InsertProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "InsertProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.InsertProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 47,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 45,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync",
+ "title": "DeleteProductReviewRequestObject",
+ "description": "Snippet for DeleteProductReview",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.DeleteProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 44,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 42,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async",
+ "title": "DeleteProductReviewRequestObjectAsync",
+ "description": "Snippet for DeleteProductReviewAsync",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.DeleteProductReviewRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 45,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 43,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync_flattened",
+ "title": "DeleteProductReview",
+ "description": "Snippet for DeleteProductReview",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReview",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async_flattened",
+ "title": "DeleteProductReviewAsync",
+ "description": "Snippet for DeleteProductReviewAsync",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync_flattened_resourceNames",
+ "title": "DeleteProductReviewResourceNames",
+ "description": "Snippet for DeleteProductReview",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewResourceNamesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReview",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReview",
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 41,
+ "type": "FULL"
+ },
+ {
+ "start": 34,
+ "end": 39,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_async_flattened_resourceNames",
+ "title": "DeleteProductReviewResourceNamesAsync",
+ "description": "Snippet for DeleteProductReviewAsync",
+ "file": "ProductReviewsServiceClient.DeleteProductReviewResourceNamesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "DeleteProductReviewAsync",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient.DeleteProductReviewAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewName",
+ "name": "name"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task",
+ "client": {
+ "shortName": "ProductReviewsServiceClient",
+ "fullName": "Google.Shopping.Merchant.Reviews.V1Beta.ProductReviewsServiceClient"
+ },
+ "method": {
+ "shortName": "DeleteProductReview",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
+ "service": {
+ "shortName": "ProductReviewsService",
+ "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 20,
+ "end": 42,
+ "type": "FULL"
+ },
+ {
+ "start": 35,
+ "end": 40,
+ "type": "SHORT"
+ }
+ ]
+ }
+ ]
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/Google.Shopping.Merchant.Reviews.V1Beta.Snippets.csproj b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/Google.Shopping.Merchant.Reviews.V1Beta.Snippets.csproj
new file mode 100755
index 000000000000..daf1be312b77
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/Google.Shopping.Merchant.Reviews.V1Beta.Snippets.csproj
@@ -0,0 +1,15 @@
+
+
+
+
+ net6.0;net462
+ latest
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/MerchantReviewsServiceClientSnippets.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/MerchantReviewsServiceClientSnippets.g.cs
new file mode 100755
index 000000000000..af2aeb3450a0
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/MerchantReviewsServiceClientSnippets.g.cs
@@ -0,0 +1,515 @@
+// 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
+{
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ /// Generated snippets.
+ public sealed class AllGeneratedMerchantReviewsServiceClientSnippets
+ {
+ /// Snippet for GetMerchantReview
+ public void GetMerchantReviewRequestObject()
+ {
+ // Snippet: GetMerchantReview(GetMerchantReviewRequest, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ GetMerchantReviewRequest request = new GetMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(request);
+ // End snippet
+ }
+
+ /// Snippet for GetMerchantReviewAsync
+ public async Task GetMerchantReviewRequestObjectAsync()
+ {
+ // Snippet: GetMerchantReviewAsync(GetMerchantReviewRequest, CallSettings)
+ // Additional: GetMerchantReviewAsync(GetMerchantReviewRequest, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ GetMerchantReviewRequest request = new GetMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for GetMerchantReview
+ public void GetMerchantReview()
+ {
+ // Snippet: GetMerchantReview(string, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(name);
+ // End snippet
+ }
+
+ /// Snippet for GetMerchantReviewAsync
+ public async Task GetMerchantReviewAsync()
+ {
+ // Snippet: GetMerchantReviewAsync(string, CallSettings)
+ // Additional: GetMerchantReviewAsync(string, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for GetMerchantReview
+ public void GetMerchantReviewResourceNames()
+ {
+ // Snippet: GetMerchantReview(MerchantReviewName, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.GetMerchantReview(name);
+ // End snippet
+ }
+
+ /// Snippet for GetMerchantReviewAsync
+ public async Task GetMerchantReviewResourceNamesAsync()
+ {
+ // Snippet: GetMerchantReviewAsync(MerchantReviewName, CallSettings)
+ // Additional: GetMerchantReviewAsync(MerchantReviewName, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.GetMerchantReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviews
+ public void ListMerchantReviewsRequestObject()
+ {
+ // Snippet: ListMerchantReviews(ListMerchantReviewsRequest, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviewsAsync
+ public async Task ListMerchantReviewsRequestObjectAsync()
+ {
+ // Snippet: ListMerchantReviewsAsync(ListMerchantReviewsRequest, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviews
+ public void ListMerchantReviews()
+ {
+ // Snippet: ListMerchantReviews(string, string, int?, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviewsAsync
+ public async Task ListMerchantReviewsAsync()
+ {
+ // Snippet: ListMerchantReviewsAsync(string, string, int?, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviews
+ public void ListMerchantReviewsResourceNames()
+ {
+ // Snippet: ListMerchantReviews(AccountName, string, int?, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedEnumerable response = merchantReviewsServiceClient.ListMerchantReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (MerchantReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListMerchantReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListMerchantReviewsAsync
+ public async Task ListMerchantReviewsResourceNamesAsync()
+ {
+ // Snippet: ListMerchantReviewsAsync(AccountName, string, int?, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedAsyncEnumerable response = merchantReviewsServiceClient.ListMerchantReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((MerchantReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListMerchantReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (MerchantReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (MerchantReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for InsertMerchantReview
+ public void InsertMerchantReviewRequestObject()
+ {
+ // Snippet: InsertMerchantReview(InsertMerchantReviewRequest, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ InsertMerchantReviewRequest request = new InsertMerchantReviewRequest
+ {
+ Parent = "",
+ MerchantReview = new MerchantReview(),
+ DataSource = "",
+ };
+ // Make the request
+ MerchantReview response = merchantReviewsServiceClient.InsertMerchantReview(request);
+ // End snippet
+ }
+
+ /// Snippet for InsertMerchantReviewAsync
+ public async Task InsertMerchantReviewRequestObjectAsync()
+ {
+ // Snippet: InsertMerchantReviewAsync(InsertMerchantReviewRequest, CallSettings)
+ // Additional: InsertMerchantReviewAsync(InsertMerchantReviewRequest, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ InsertMerchantReviewRequest request = new InsertMerchantReviewRequest
+ {
+ Parent = "",
+ MerchantReview = new MerchantReview(),
+ DataSource = "",
+ };
+ // Make the request
+ MerchantReview response = await merchantReviewsServiceClient.InsertMerchantReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReview
+ public void DeleteMerchantReviewRequestObject()
+ {
+ // Snippet: DeleteMerchantReview(DeleteMerchantReviewRequest, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ DeleteMerchantReviewRequest request = new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReviewAsync
+ public async Task DeleteMerchantReviewRequestObjectAsync()
+ {
+ // Snippet: DeleteMerchantReviewAsync(DeleteMerchantReviewRequest, CallSettings)
+ // Additional: DeleteMerchantReviewAsync(DeleteMerchantReviewRequest, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ DeleteMerchantReviewRequest request = new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]"),
+ };
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReview
+ public void DeleteMerchantReview()
+ {
+ // Snippet: DeleteMerchantReview(string, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReviewAsync
+ public async Task DeleteMerchantReviewAsync()
+ {
+ // Snippet: DeleteMerchantReviewAsync(string, CallSettings)
+ // Additional: DeleteMerchantReviewAsync(string, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/merchantReviews/[NAME]";
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReview
+ public void DeleteMerchantReviewResourceNames()
+ {
+ // Snippet: DeleteMerchantReview(MerchantReviewName, CallSettings)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = MerchantReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ merchantReviewsServiceClient.DeleteMerchantReview(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteMerchantReviewAsync
+ public async Task DeleteMerchantReviewResourceNamesAsync()
+ {
+ // Snippet: DeleteMerchantReviewAsync(MerchantReviewName, CallSettings)
+ // Additional: DeleteMerchantReviewAsync(MerchantReviewName, CancellationToken)
+ // Create client
+ MerchantReviewsServiceClient merchantReviewsServiceClient = await MerchantReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ MerchantReviewName name = MerchantReviewName.FromAccountName("[ACCOUNT]", "[NAME]");
+ // Make the request
+ await merchantReviewsServiceClient.DeleteMerchantReviewAsync(name);
+ // End snippet
+ }
+ }
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/ProductReviewsServiceClientSnippets.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/ProductReviewsServiceClientSnippets.g.cs
new file mode 100755
index 000000000000..479daa1048df
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.Snippets/ProductReviewsServiceClientSnippets.g.cs
@@ -0,0 +1,515 @@
+// 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
+{
+ using Google.Api.Gax;
+ using Google.Shopping.Merchant.Reviews.V1Beta;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ /// Generated snippets.
+ public sealed class AllGeneratedProductReviewsServiceClientSnippets
+ {
+ /// Snippet for GetProductReview
+ public void GetProductReviewRequestObject()
+ {
+ // Snippet: GetProductReview(GetProductReviewRequest, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ GetProductReviewRequest request = new GetProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(request);
+ // End snippet
+ }
+
+ /// Snippet for GetProductReviewAsync
+ public async Task GetProductReviewRequestObjectAsync()
+ {
+ // Snippet: GetProductReviewAsync(GetProductReviewRequest, CallSettings)
+ // Additional: GetProductReviewAsync(GetProductReviewRequest, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ GetProductReviewRequest request = new GetProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for GetProductReview
+ public void GetProductReview()
+ {
+ // Snippet: GetProductReview(string, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(name);
+ // End snippet
+ }
+
+ /// Snippet for GetProductReviewAsync
+ public async Task GetProductReviewAsync()
+ {
+ // Snippet: GetProductReviewAsync(string, CallSettings)
+ // Additional: GetProductReviewAsync(string, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for GetProductReview
+ public void GetProductReviewResourceNames()
+ {
+ // Snippet: GetProductReview(ProductReviewName, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ ProductReview response = productReviewsServiceClient.GetProductReview(name);
+ // End snippet
+ }
+
+ /// Snippet for GetProductReviewAsync
+ public async Task GetProductReviewResourceNamesAsync()
+ {
+ // Snippet: GetProductReviewAsync(ProductReviewName, CallSettings)
+ // Additional: GetProductReviewAsync(ProductReviewName, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.GetProductReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviews
+ public void ListProductReviewsRequestObject()
+ {
+ // Snippet: ListProductReviews(ListProductReviewsRequest, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviewsAsync
+ public async Task ListProductReviewsRequestObjectAsync()
+ {
+ // Snippet: ListProductReviewsAsync(ListProductReviewsRequest, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
+ };
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviews
+ public void ListProductReviews()
+ {
+ // Snippet: ListProductReviews(string, string, int?, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviewsAsync
+ public async Task ListProductReviewsAsync()
+ {
+ // Snippet: ListProductReviewsAsync(string, string, int?, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string parent = "accounts/[ACCOUNT]";
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviews
+ public void ListProductReviewsResourceNames()
+ {
+ // Snippet: ListProductReviews(AccountName, string, int?, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedEnumerable response = productReviewsServiceClient.ListProductReviews(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (ProductReview item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (ListProductReviewsResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for ListProductReviewsAsync
+ public async Task ListProductReviewsResourceNamesAsync()
+ {
+ // Snippet: ListProductReviewsAsync(AccountName, string, int?, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ AccountName parent = AccountName.FromAccount("[ACCOUNT]");
+ // Make the request
+ PagedAsyncEnumerable response = productReviewsServiceClient.ListProductReviewsAsync(parent);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((ProductReview item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((ListProductReviewsResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (ProductReview item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (ProductReview item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ // End snippet
+ }
+
+ /// Snippet for InsertProductReview
+ public void InsertProductReviewRequestObject()
+ {
+ // Snippet: InsertProductReview(InsertProductReviewRequest, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ InsertProductReviewRequest request = new InsertProductReviewRequest
+ {
+ Parent = "",
+ ProductReview = new ProductReview(),
+ DataSource = "",
+ };
+ // Make the request
+ ProductReview response = productReviewsServiceClient.InsertProductReview(request);
+ // End snippet
+ }
+
+ /// Snippet for InsertProductReviewAsync
+ public async Task InsertProductReviewRequestObjectAsync()
+ {
+ // Snippet: InsertProductReviewAsync(InsertProductReviewRequest, CallSettings)
+ // Additional: InsertProductReviewAsync(InsertProductReviewRequest, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ InsertProductReviewRequest request = new InsertProductReviewRequest
+ {
+ Parent = "",
+ ProductReview = new ProductReview(),
+ DataSource = "",
+ };
+ // Make the request
+ ProductReview response = await productReviewsServiceClient.InsertProductReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReview
+ public void DeleteProductReviewRequestObject()
+ {
+ // Snippet: DeleteProductReview(DeleteProductReviewRequest, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ DeleteProductReviewRequest request = new DeleteProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReviewAsync
+ public async Task DeleteProductReviewRequestObjectAsync()
+ {
+ // Snippet: DeleteProductReviewAsync(DeleteProductReviewRequest, CallSettings)
+ // Additional: DeleteProductReviewAsync(DeleteProductReviewRequest, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ DeleteProductReviewRequest request = new DeleteProductReviewRequest
+ {
+ ProductReviewName = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]"),
+ };
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(request);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReview
+ public void DeleteProductReview()
+ {
+ // Snippet: DeleteProductReview(string, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReviewAsync
+ public async Task DeleteProductReviewAsync()
+ {
+ // Snippet: DeleteProductReviewAsync(string, CallSettings)
+ // Additional: DeleteProductReviewAsync(string, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ string name = "accounts/[ACCOUNT]/productReviews/[PRODUCTREVIEW]";
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReview
+ public void DeleteProductReviewResourceNames()
+ {
+ // Snippet: DeleteProductReview(ProductReviewName, CallSettings)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = ProductReviewsServiceClient.Create();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ productReviewsServiceClient.DeleteProductReview(name);
+ // End snippet
+ }
+
+ /// Snippet for DeleteProductReviewAsync
+ public async Task DeleteProductReviewResourceNamesAsync()
+ {
+ // Snippet: DeleteProductReviewAsync(ProductReviewName, CallSettings)
+ // Additional: DeleteProductReviewAsync(ProductReviewName, CancellationToken)
+ // Create client
+ ProductReviewsServiceClient productReviewsServiceClient = await ProductReviewsServiceClient.CreateAsync();
+ // Initialize request argument(s)
+ ProductReviewName name = ProductReviewName.FromAccountProductreview("[ACCOUNT]", "[PRODUCTREVIEW]");
+ // Make the request
+ await productReviewsServiceClient.DeleteProductReviewAsync(name);
+ // End snippet
+ }
+ }
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.csproj b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.csproj
new file mode 100755
index 000000000000..2058a9a4c33b
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta.csproj
@@ -0,0 +1,47 @@
+
+
+
+
+
+ 1.0.0-alpha01
+
+
+
+
+
+
+
+
+ netstandard2.0;net462
+ latest
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantReviewsServiceClient.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantReviewsServiceClient.g.cs
new file mode 100755
index 000000000000..b80b08a1ad7c
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantReviewsServiceClient.g.cs
@@ -0,0 +1,865 @@
+// 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!
+
+#pragma warning disable CS8981
+using gax = Google.Api.Gax;
+using gaxgrpc = Google.Api.Gax.Grpc;
+using grpccore = Grpc.Core;
+using grpcinter = Grpc.Core.Interceptors;
+using mel = Microsoft.Extensions.Logging;
+using proto = Google.Protobuf;
+using sc = System.Collections;
+using scg = System.Collections.Generic;
+using sco = System.Collections.ObjectModel;
+using st = System.Threading;
+using stt = System.Threading.Tasks;
+using sys = System;
+using wkt = Google.Protobuf.WellKnownTypes;
+
+namespace Google.Shopping.Merchant.Reviews.V1Beta
+{
+ /// Settings for instances.
+ public sealed partial class MerchantReviewsServiceSettings : gaxgrpc::ServiceSettingsBase
+ {
+ /// Get a new instance of the default .
+ /// A new instance of the default .
+ public static MerchantReviewsServiceSettings GetDefault() => new MerchantReviewsServiceSettings();
+
+ ///
+ /// Constructs a new object with default settings.
+ ///
+ public MerchantReviewsServiceSettings()
+ {
+ }
+
+ private MerchantReviewsServiceSettings(MerchantReviewsServiceSettings existing) : base(existing)
+ {
+ gax::GaxPreconditions.CheckNotNull(existing, nameof(existing));
+ GetMerchantReviewSettings = existing.GetMerchantReviewSettings;
+ ListMerchantReviewsSettings = existing.ListMerchantReviewsSettings;
+ InsertMerchantReviewSettings = existing.InsertMerchantReviewSettings;
+ DeleteMerchantReviewSettings = existing.DeleteMerchantReviewSettings;
+ OnCopy(existing);
+ }
+
+ partial void OnCopy(MerchantReviewsServiceSettings existing);
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// MerchantReviewsServiceClient.GetMerchantReview and
+ /// MerchantReviewsServiceClient.GetMerchantReviewAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings GetMerchantReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// MerchantReviewsServiceClient.ListMerchantReviews and
+ /// MerchantReviewsServiceClient.ListMerchantReviewsAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings ListMerchantReviewsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// MerchantReviewsServiceClient.InsertMerchantReview and
+ /// MerchantReviewsServiceClient.InsertMerchantReviewAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings InsertMerchantReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// MerchantReviewsServiceClient.DeleteMerchantReview and
+ /// MerchantReviewsServiceClient.DeleteMerchantReviewAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings DeleteMerchantReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ /// Creates a deep clone of this object, with all the same property values.
+ /// A deep clone of this object.
+ public MerchantReviewsServiceSettings Clone() => new MerchantReviewsServiceSettings(this);
+ }
+
+ ///
+ /// Builder class for to provide simple configuration of credentials,
+ /// endpoint etc.
+ ///
+ public sealed partial class MerchantReviewsServiceClientBuilder : gaxgrpc::ClientBuilderBase
+ {
+ /// The settings to use for RPCs, or null for the default settings.
+ public MerchantReviewsServiceSettings Settings { get; set; }
+
+ /// Creates a new builder with default settings.
+ public MerchantReviewsServiceClientBuilder() : base(MerchantReviewsServiceClient.ServiceMetadata)
+ {
+ }
+
+ partial void InterceptBuild(ref MerchantReviewsServiceClient client);
+
+ partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task);
+
+ /// Builds the resulting client.
+ public override MerchantReviewsServiceClient Build()
+ {
+ MerchantReviewsServiceClient client = null;
+ InterceptBuild(ref client);
+ return client ?? BuildImpl();
+ }
+
+ /// Builds the resulting client asynchronously.
+ public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default)
+ {
+ stt::Task task = null;
+ InterceptBuildAsync(cancellationToken, ref task);
+ return task ?? BuildAsyncImpl(cancellationToken);
+ }
+
+ private MerchantReviewsServiceClient BuildImpl()
+ {
+ Validate();
+ grpccore::CallInvoker callInvoker = CreateCallInvoker();
+ return MerchantReviewsServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger);
+ }
+
+ private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken)
+ {
+ Validate();
+ grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false);
+ return MerchantReviewsServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger);
+ }
+
+ /// Returns the channel pool to use when no other options are specified.
+ protected override gaxgrpc::ChannelPool GetChannelPool() => MerchantReviewsServiceClient.ChannelPool;
+ }
+
+ /// MerchantReviewsService client wrapper, for convenient use.
+ ///
+ /// Service to manage merchant reviews.
+ ///
+ public abstract partial class MerchantReviewsServiceClient
+ {
+ ///
+ /// The default endpoint for the MerchantReviewsService service, which is a host of "merchantapi.googleapis.com"
+ /// and a port of 443.
+ ///
+ public static string DefaultEndpoint { get; } = "merchantapi.googleapis.com:443";
+
+ /// The default MerchantReviewsService scopes.
+ ///
+ /// The default MerchantReviewsService scopes are:
+ /// - https://www.googleapis.com/auth/content
+ ///
+ public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[]
+ {
+ "https://www.googleapis.com/auth/content",
+ });
+
+ /// The service metadata associated with this client type.
+ public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(MerchantReviewsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
+
+ internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
+
+ ///
+ /// Asynchronously creates a using the default credentials, endpoint
+ /// and settings. To specify custom credentials or other settings, use
+ /// .
+ ///
+ ///
+ /// The to use while creating the client.
+ ///
+ /// The task representing the created .
+ public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) =>
+ new MerchantReviewsServiceClientBuilder().BuildAsync(cancellationToken);
+
+ ///
+ /// Synchronously creates a using the default credentials, endpoint
+ /// and settings. To specify custom credentials or other settings, use
+ /// .
+ ///
+ /// The created .
+ public static MerchantReviewsServiceClient Create() => new MerchantReviewsServiceClientBuilder().Build();
+
+ ///
+ /// Creates a which uses the specified call invoker for remote
+ /// operations.
+ ///
+ ///
+ /// The for remote operations. Must not be null.
+ ///
+ /// Optional .
+ /// Optional .
+ /// The created .
+ internal static MerchantReviewsServiceClient Create(grpccore::CallInvoker callInvoker, MerchantReviewsServiceSettings settings = null, mel::ILogger logger = null)
+ {
+ gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
+ grpcinter::Interceptor interceptor = settings?.Interceptor;
+ if (interceptor != null)
+ {
+ callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
+ }
+ MerchantReviewsService.MerchantReviewsServiceClient grpcClient = new MerchantReviewsService.MerchantReviewsServiceClient(callInvoker);
+ return new MerchantReviewsServiceClientImpl(grpcClient, settings, logger);
+ }
+
+ ///
+ /// Shuts down any channels automatically created by and
+ /// . Channels which weren't automatically created are not
+ /// affected.
+ ///
+ ///
+ /// After calling this method, further calls to and
+ /// will create new channels, which could in turn be shut down
+ /// by another call to this method.
+ ///
+ /// A task representing the asynchronous shutdown operation.
+ public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync();
+
+ /// The underlying gRPC MerchantReviewsService client
+ public virtual MerchantReviewsService.MerchantReviewsServiceClient GrpcClient => throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual MerchantReview GetMerchantReview(GetMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(GetMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(GetMerchantReviewRequest request, st::CancellationToken cancellationToken) =>
+ GetMerchantReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual MerchantReview GetMerchantReview(string name, gaxgrpc::CallSettings callSettings = null) =>
+ GetMerchantReview(new GetMerchantReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(string name, gaxgrpc::CallSettings callSettings = null) =>
+ GetMerchantReviewAsync(new GetMerchantReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(string name, st::CancellationToken cancellationToken) =>
+ GetMerchantReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual MerchantReview GetMerchantReview(MerchantReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ GetMerchantReview(new GetMerchantReviewRequest
+ {
+ MerchantReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(MerchantReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ GetMerchantReviewAsync(new GetMerchantReviewRequest
+ {
+ MerchantReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetMerchantReviewAsync(MerchantReviewName name, st::CancellationToken cancellationToken) =>
+ GetMerchantReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListMerchantReviews(ListMerchantReviewsRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListMerchantReviewsAsync(ListMerchantReviewsRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ ///
+ /// Required. The account to list merchant reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListMerchantReviews(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListMerchantReviews(request, callSettings);
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ ///
+ /// Required. The account to list merchant reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListMerchantReviewsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListMerchantReviewsAsync(request, callSettings);
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ ///
+ /// Required. The account to list merchant reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListMerchantReviews(AccountName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListMerchantReviews(request, callSettings);
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ ///
+ /// Required. The account to list merchant reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListMerchantReviewsAsync(AccountName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListMerchantReviewsRequest request = new ListMerchantReviewsRequest
+ {
+ ParentAsAccountName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListMerchantReviewsAsync(request, callSettings);
+ }
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual MerchantReview InsertMerchantReview(InsertMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task InsertMerchantReviewAsync(InsertMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task InsertMerchantReviewAsync(InsertMerchantReviewRequest request, st::CancellationToken cancellationToken) =>
+ InsertMerchantReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteMerchantReview(DeleteMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, st::CancellationToken cancellationToken) =>
+ DeleteMerchantReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteMerchantReview(string name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteMerchantReview(new DeleteMerchantReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(string name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteMerchantReviewAsync(new DeleteMerchantReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(string name, st::CancellationToken cancellationToken) =>
+ DeleteMerchantReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteMerchantReview(MerchantReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteMerchantReview(new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(MerchantReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteMerchantReviewAsync(new DeleteMerchantReviewRequest
+ {
+ MerchantReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes merchant review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteMerchantReviewAsync(MerchantReviewName name, st::CancellationToken cancellationToken) =>
+ DeleteMerchantReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+ }
+
+ /// MerchantReviewsService client wrapper implementation, for convenient use.
+ ///
+ /// Service to manage merchant reviews.
+ ///
+ public sealed partial class MerchantReviewsServiceClientImpl : MerchantReviewsServiceClient
+ {
+ private readonly gaxgrpc::ApiCall _callGetMerchantReview;
+
+ private readonly gaxgrpc::ApiCall _callListMerchantReviews;
+
+ private readonly gaxgrpc::ApiCall _callInsertMerchantReview;
+
+ private readonly gaxgrpc::ApiCall _callDeleteMerchantReview;
+
+ ///
+ /// Constructs a client wrapper for the MerchantReviewsService service, with the specified gRPC client and
+ /// settings.
+ ///
+ /// The underlying gRPC client.
+ ///
+ /// The base used within this client.
+ ///
+ /// Optional to use within this client.
+ public MerchantReviewsServiceClientImpl(MerchantReviewsService.MerchantReviewsServiceClient grpcClient, MerchantReviewsServiceSettings settings, mel::ILogger logger)
+ {
+ GrpcClient = grpcClient;
+ MerchantReviewsServiceSettings effectiveSettings = settings ?? MerchantReviewsServiceSettings.GetDefault();
+ gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options
+ {
+ Settings = effectiveSettings,
+ Logger = logger,
+ });
+ _callGetMerchantReview = clientHelper.BuildApiCall("GetMerchantReview", grpcClient.GetMerchantReviewAsync, grpcClient.GetMerchantReview, effectiveSettings.GetMerchantReviewSettings).WithGoogleRequestParam("name", request => request.Name);
+ Modify_ApiCall(ref _callGetMerchantReview);
+ Modify_GetMerchantReviewApiCall(ref _callGetMerchantReview);
+ _callListMerchantReviews = clientHelper.BuildApiCall("ListMerchantReviews", grpcClient.ListMerchantReviewsAsync, grpcClient.ListMerchantReviews, effectiveSettings.ListMerchantReviewsSettings).WithGoogleRequestParam("parent", request => request.Parent);
+ Modify_ApiCall(ref _callListMerchantReviews);
+ Modify_ListMerchantReviewsApiCall(ref _callListMerchantReviews);
+ _callInsertMerchantReview = clientHelper.BuildApiCall("InsertMerchantReview", grpcClient.InsertMerchantReviewAsync, grpcClient.InsertMerchantReview, effectiveSettings.InsertMerchantReviewSettings).WithGoogleRequestParam("parent", request => request.Parent);
+ Modify_ApiCall(ref _callInsertMerchantReview);
+ Modify_InsertMerchantReviewApiCall(ref _callInsertMerchantReview);
+ _callDeleteMerchantReview = clientHelper.BuildApiCall("DeleteMerchantReview", grpcClient.DeleteMerchantReviewAsync, grpcClient.DeleteMerchantReview, effectiveSettings.DeleteMerchantReviewSettings).WithGoogleRequestParam("name", request => request.Name);
+ Modify_ApiCall(ref _callDeleteMerchantReview);
+ Modify_DeleteMerchantReviewApiCall(ref _callDeleteMerchantReview);
+ OnConstruction(grpcClient, effectiveSettings, clientHelper);
+ }
+
+ partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage;
+
+ partial void Modify_GetMerchantReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_ListMerchantReviewsApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_InsertMerchantReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_DeleteMerchantReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void OnConstruction(MerchantReviewsService.MerchantReviewsServiceClient grpcClient, MerchantReviewsServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
+
+ /// The underlying gRPC MerchantReviewsService client
+ public override MerchantReviewsService.MerchantReviewsServiceClient GrpcClient { get; }
+
+ partial void Modify_GetMerchantReviewRequest(ref GetMerchantReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_ListMerchantReviewsRequest(ref ListMerchantReviewsRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_InsertMerchantReviewRequest(ref InsertMerchantReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_DeleteMerchantReviewRequest(ref DeleteMerchantReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public override MerchantReview GetMerchantReview(GetMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_GetMerchantReviewRequest(ref request, ref callSettings);
+ return _callGetMerchantReview.Sync(request, callSettings);
+ }
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public override stt::Task GetMerchantReviewAsync(GetMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_GetMerchantReviewRequest(ref request, ref callSettings);
+ return _callGetMerchantReview.Async(request, callSettings);
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public override gax::PagedEnumerable ListMerchantReviews(ListMerchantReviewsRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ListMerchantReviewsRequest(ref request, ref callSettings);
+ return new gaxgrpc::GrpcPagedEnumerable(_callListMerchantReviews, request, callSettings);
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public override gax::PagedAsyncEnumerable ListMerchantReviewsAsync(ListMerchantReviewsRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ListMerchantReviewsRequest(ref request, ref callSettings);
+ return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListMerchantReviews, request, callSettings);
+ }
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public override MerchantReview InsertMerchantReview(InsertMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_InsertMerchantReviewRequest(ref request, ref callSettings);
+ return _callInsertMerchantReview.Sync(request, callSettings);
+ }
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public override stt::Task InsertMerchantReviewAsync(InsertMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_InsertMerchantReviewRequest(ref request, ref callSettings);
+ return _callInsertMerchantReview.Async(request, callSettings);
+ }
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public override void DeleteMerchantReview(DeleteMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteMerchantReviewRequest(ref request, ref callSettings);
+ _callDeleteMerchantReview.Sync(request, callSettings);
+ }
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public override stt::Task DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteMerchantReviewRequest(ref request, ref callSettings);
+ return _callDeleteMerchantReview.Async(request, callSettings);
+ }
+ }
+
+ public partial class ListMerchantReviewsRequest : gaxgrpc::IPageRequest
+ {
+ }
+
+ public partial class ListMerchantReviewsResponse : gaxgrpc::IPageResponse
+ {
+ /// Returns an enumerator that iterates through the resources in this response.
+ public scg::IEnumerator GetEnumerator() => MerchantReviews.GetEnumerator();
+
+ sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator();
+ }
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Merchantreviews.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Merchantreviews.g.cs
new file mode 100755
index 000000000000..09e19f73d351
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/Merchantreviews.g.cs
@@ -0,0 +1,1720 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/shopping/merchant/reviews/v1beta/merchantreviews.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Google.Shopping.Merchant.Reviews.V1Beta {
+
+ /// Holder for reflection information generated from google/shopping/merchant/reviews/v1beta/merchantreviews.proto
+ public static partial class MerchantreviewsReflection {
+
+ #region Descriptor
+ /// File descriptor for google/shopping/merchant/reviews/v1beta/merchantreviews.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static MerchantreviewsReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cj1nb29nbGUvc2hvcHBpbmcvbWVyY2hhbnQvcmV2aWV3cy92MWJldGEvbWVy",
+ "Y2hhbnRyZXZpZXdzLnByb3RvEidnb29nbGUuc2hvcHBpbmcubWVyY2hhbnQu",
+ "cmV2aWV3cy52MWJldGEaHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8a",
+ "F2dvb2dsZS9hcGkvY2xpZW50LnByb3RvGh9nb29nbGUvYXBpL2ZpZWxkX2Jl",
+ "aGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jlc291cmNlLnByb3RvGhtnb29n",
+ "bGUvcHJvdG9idWYvZW1wdHkucHJvdG8aRGdvb2dsZS9zaG9wcGluZy9tZXJj",
+ "aGFudC9yZXZpZXdzL3YxYmV0YS9tZXJjaGFudHJldmlld3NfY29tbW9uLnBy",
+ "b3RvGiBnb29nbGUvc2hvcHBpbmcvdHlwZS90eXBlcy5wcm90byJbChhHZXRN",
+ "ZXJjaGFudFJldmlld1JlcXVlc3QSPwoEbmFtZRgBIAEoCUIx4EEC+kErCilt",
+ "ZXJjaGFudGFwaS5nb29nbGVhcGlzLmNvbS9NZXJjaGFudFJldmlldyJeChtE",
+ "ZWxldGVNZXJjaGFudFJldmlld1JlcXVlc3QSPwoEbmFtZRgBIAEoCUIx4EEC",
+ "+kErCiltZXJjaGFudGFwaS5nb29nbGVhcGlzLmNvbS9NZXJjaGFudFJldmll",
+ "dyKQAQoaTGlzdE1lcmNoYW50UmV2aWV3c1JlcXVlc3QSQQoGcGFyZW50GAEg",
+ "ASgJQjHgQQL6QSsSKW1lcmNoYW50YXBpLmdvb2dsZWFwaXMuY29tL01lcmNo",
+ "YW50UmV2aWV3EhYKCXBhZ2Vfc2l6ZRgCIAEoBUID4EEBEhcKCnBhZ2VfdG9r",
+ "ZW4YAyABKAlCA+BBASKjAQobSW5zZXJ0TWVyY2hhbnRSZXZpZXdSZXF1ZXN0",
+ "EhMKBnBhcmVudBgBIAEoCUID4EECElUKD21lcmNoYW50X3JldmlldxgCIAEo",
+ "CzI3Lmdvb2dsZS5zaG9wcGluZy5tZXJjaGFudC5yZXZpZXdzLnYxYmV0YS5N",
+ "ZXJjaGFudFJldmlld0ID4EECEhgKC2RhdGFfc291cmNlGAMgASgJQgPgQQIi",
+ "iQEKG0xpc3RNZXJjaGFudFJldmlld3NSZXNwb25zZRJRChBtZXJjaGFudF9y",
+ "ZXZpZXdzGAEgAygLMjcuZ29vZ2xlLnNob3BwaW5nLm1lcmNoYW50LnJldmll",
+ "d3MudjFiZXRhLk1lcmNoYW50UmV2aWV3EhcKD25leHRfcGFnZV90b2tlbhgC",
+ "IAEoCSLhAwoOTWVyY2hhbnRSZXZpZXcSEQoEbmFtZRgBIAEoCUID4EEIEh8K",
+ "Em1lcmNoYW50X3Jldmlld19pZBgCIAEoCUID4EECEloKCmF0dHJpYnV0ZXMY",
+ "AyABKAsyQS5nb29nbGUuc2hvcHBpbmcubWVyY2hhbnQucmV2aWV3cy52MWJl",
+ "dGEuTWVyY2hhbnRSZXZpZXdBdHRyaWJ1dGVzQgPgQQESRQoRY3VzdG9tX2F0",
+ "dHJpYnV0ZXMYBCADKAsyJS5nb29nbGUuc2hvcHBpbmcudHlwZS5DdXN0b21B",
+ "dHRyaWJ1dGVCA+BBAhIYCgtkYXRhX3NvdXJjZRgFIAEoCUID4EEDEmIKFm1l",
+ "cmNoYW50X3Jldmlld19zdGF0dXMYBiABKAsyPS5nb29nbGUuc2hvcHBpbmcu",
+ "bWVyY2hhbnQucmV2aWV3cy52MWJldGEuTWVyY2hhbnRSZXZpZXdTdGF0dXNC",
+ "A+BBAzp66kF3CiltZXJjaGFudGFwaS5nb29nbGVhcGlzLmNvbS9NZXJjaGFu",
+ "dFJldmlldxIpYWNjb3VudHMve2FjY291bnR9L21lcmNoYW50UmV2aWV3cy97",
+ "bmFtZX0qD21lcmNoYW50UmV2aWV3czIObWVyY2hhbnRSZXZpZXcyyAcKFk1l",
+ "cmNoYW50UmV2aWV3c1NlcnZpY2US0wEKEUdldE1lcmNoYW50UmV2aWV3EkEu",
+ "Z29vZ2xlLnNob3BwaW5nLm1lcmNoYW50LnJldmlld3MudjFiZXRhLkdldE1l",
+ "cmNoYW50UmV2aWV3UmVxdWVzdBo3Lmdvb2dsZS5zaG9wcGluZy5tZXJjaGFu",
+ "dC5yZXZpZXdzLnYxYmV0YS5NZXJjaGFudFJldmlldyJC2kEEbmFtZYLT5JMC",
+ "NRIzL3Jldmlld3MvdjFiZXRhL3tuYW1lPWFjY291bnRzLyovbWVyY2hhbnRS",
+ "ZXZpZXdzLyp9EuYBChNMaXN0TWVyY2hhbnRSZXZpZXdzEkMuZ29vZ2xlLnNo",
+ "b3BwaW5nLm1lcmNoYW50LnJldmlld3MudjFiZXRhLkxpc3RNZXJjaGFudFJl",
+ "dmlld3NSZXF1ZXN0GkQuZ29vZ2xlLnNob3BwaW5nLm1lcmNoYW50LnJldmll",
+ "d3MudjFiZXRhLkxpc3RNZXJjaGFudFJldmlld3NSZXNwb25zZSJE2kEGcGFy",
+ "ZW50gtPkkwI1EjMvcmV2aWV3cy92MWJldGEve3BhcmVudD1hY2NvdW50cy8q",
+ "fS9tZXJjaGFudFJldmlld3MS6gEKFEluc2VydE1lcmNoYW50UmV2aWV3EkQu",
+ "Z29vZ2xlLnNob3BwaW5nLm1lcmNoYW50LnJldmlld3MudjFiZXRhLkluc2Vy",
+ "dE1lcmNoYW50UmV2aWV3UmVxdWVzdBo3Lmdvb2dsZS5zaG9wcGluZy5tZXJj",
+ "aGFudC5yZXZpZXdzLnYxYmV0YS5NZXJjaGFudFJldmlldyJTgtPkkwJNIjov",
+ "cmV2aWV3cy92MWJldGEve3BhcmVudD1hY2NvdW50cy8qfS9tZXJjaGFudFJl",
+ "dmlld3M6aW5zZXJ0Og9tZXJjaGFudF9yZXZpZXcSuAEKFERlbGV0ZU1lcmNo",
+ "YW50UmV2aWV3EkQuZ29vZ2xlLnNob3BwaW5nLm1lcmNoYW50LnJldmlld3Mu",
+ "djFiZXRhLkRlbGV0ZU1lcmNoYW50UmV2aWV3UmVxdWVzdBoWLmdvb2dsZS5w",
+ "cm90b2J1Zi5FbXB0eSJC2kEEbmFtZYLT5JMCNSozL3Jldmlld3MvdjFiZXRh",
+ "L3tuYW1lPWFjY291bnRzLyovbWVyY2hhbnRSZXZpZXdzLyp9GkfKQRptZXJj",
+ "aGFudGFwaS5nb29nbGVhcGlzLmNvbdJBJ2h0dHBzOi8vd3d3Lmdvb2dsZWFw",
+ "aXMuY29tL2F1dGgvY29udGVudELPAgorY29tLmdvb2dsZS5zaG9wcGluZy5t",
+ "ZXJjaGFudC5yZXZpZXdzLnYxYmV0YUIUTWVyY2hhbnRSZXZpZXdzUHJvdG9Q",
+ "AVpLY2xvdWQuZ29vZ2xlLmNvbS9nby9zaG9wcGluZy9tZXJjaGFudC9yZXZp",
+ "ZXdzL2FwaXYxYmV0YS9yZXZpZXdzcGI7cmV2aWV3c3BiqgInR29vZ2xlLlNo",
+ "b3BwaW5nLk1lcmNoYW50LlJldmlld3MuVjFCZXRhygInR29vZ2xlXFNob3Bw",
+ "aW5nXE1lcmNoYW50XFJldmlld3NcVjFiZXRh6gIrR29vZ2xlOjpTaG9wcGlu",
+ "Zzo6TWVyY2hhbnQ6OlJldmlld3M6OlYxYmV0YepBOAoibWVyY2hhbnRhcGku",
+ "Z29vZ2xlYXBpcy5jb20vQWNjb3VudBISYWNjb3VudHMve2FjY291bnR9YgZw",
+ "cm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsCommonReflection.Descriptor, global::Google.Shopping.Type.TypesReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest), global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest.Parser, new[]{ "Name" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest), global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest.Parser, new[]{ "Name" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest), global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest), global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest.Parser, new[]{ "Parent", "MerchantReview", "DataSource" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsResponse), global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsResponse.Parser, new[]{ "MerchantReviews", "NextPageToken" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview), global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview.Parser, new[]{ "Name", "MerchantReviewId", "Attributes", "CustomAttributes", "DataSource", "MerchantReviewStatus" }, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ ///
+ /// Request message for the `GetMerchantReview` method.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class GetMerchantReviewRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMerchantReviewRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetMerchantReviewRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetMerchantReviewRequest(GetMerchantReviewRequest other) : this() {
+ name_ = other.name_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public GetMerchantReviewRequest Clone() {
+ return new GetMerchantReviewRequest(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as GetMerchantReviewRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(GetMerchantReviewRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(GetMerchantReviewRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// Request message for the `DeleteMerchantReview` method.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class DeleteMerchantReviewRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteMerchantReviewRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteMerchantReviewRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteMerchantReviewRequest(DeleteMerchantReviewRequest other) : this() {
+ name_ = other.name_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public DeleteMerchantReviewRequest Clone() {
+ return new DeleteMerchantReviewRequest(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/merchantReviews/{merchantReview}
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteMerchantReviewRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(DeleteMerchantReviewRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(DeleteMerchantReviewRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// Request message for the `ListMerchantsReview` method.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ListMerchantReviewsRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMerchantReviewsRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsRequest(ListMerchantReviewsRequest other) : this() {
+ parent_ = other.parent_;
+ pageSize_ = other.pageSize_;
+ pageToken_ = other.pageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsRequest Clone() {
+ return new ListMerchantReviewsRequest(this);
+ }
+
+ /// Field number for the "parent" field.
+ public const int ParentFieldNumber = 1;
+ private string parent_ = "";
+ ///
+ /// Required. The account to list merchant reviews for.
+ /// Format: accounts/{account}
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Parent {
+ get { return parent_; }
+ set {
+ parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "page_size" field.
+ public const int PageSizeFieldNumber = 2;
+ private int pageSize_;
+ ///
+ /// Optional. The maximum number of merchant reviews to return. The service can
+ /// return fewer than this value. The maximum value is 1000; values above 1000
+ /// are coerced to 1000. If unspecified, the maximum number of reviews is
+ /// returned.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int PageSize {
+ get { return pageSize_; }
+ set {
+ pageSize_ = value;
+ }
+ }
+
+ /// Field number for the "page_token" field.
+ public const int PageTokenFieldNumber = 3;
+ private string pageToken_ = "";
+ ///
+ /// Optional. A page token, received from a previous `ListMerchantReviews`
+ /// call. Provide this to retrieve the subsequent page.
+ ///
+ /// When paginating, all other parameters provided to `ListMerchantReviews`
+ /// must match the call that provided the page token.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string PageToken {
+ get { return pageToken_; }
+ set {
+ pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ListMerchantReviewsRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ListMerchantReviewsRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Parent != other.Parent) return false;
+ if (PageSize != other.PageSize) return false;
+ if (PageToken != other.PageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Parent.Length != 0) hash ^= Parent.GetHashCode();
+ if (PageSize != 0) hash ^= PageSize.GetHashCode();
+ if (PageToken.Length != 0) hash ^= PageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Parent.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Parent);
+ }
+ if (PageSize != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(PageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Parent.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Parent);
+ }
+ if (PageSize != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(PageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Parent.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent);
+ }
+ if (PageSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize);
+ }
+ if (PageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ListMerchantReviewsRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Parent.Length != 0) {
+ Parent = other.Parent;
+ }
+ if (other.PageSize != 0) {
+ PageSize = other.PageSize;
+ }
+ if (other.PageToken.Length != 0) {
+ PageToken = other.PageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Parent = input.ReadString();
+ break;
+ }
+ case 16: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ PageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Parent = input.ReadString();
+ break;
+ }
+ case 16: {
+ PageSize = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ PageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// Request message for the `InsertMerchantReview` method.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class InsertMerchantReviewRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InsertMerchantReviewRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public InsertMerchantReviewRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public InsertMerchantReviewRequest(InsertMerchantReviewRequest other) : this() {
+ parent_ = other.parent_;
+ merchantReview_ = other.merchantReview_ != null ? other.merchantReview_.Clone() : null;
+ dataSource_ = other.dataSource_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public InsertMerchantReviewRequest Clone() {
+ return new InsertMerchantReviewRequest(this);
+ }
+
+ /// Field number for the "parent" field.
+ public const int ParentFieldNumber = 1;
+ private string parent_ = "";
+ ///
+ /// Required. The account where the merchant review will be inserted.
+ /// Format: accounts/{account}
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Parent {
+ get { return parent_; }
+ set {
+ parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "merchant_review" field.
+ public const int MerchantReviewFieldNumber = 2;
+ private global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview merchantReview_;
+ ///
+ /// Required. The merchant review to insert.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview MerchantReview {
+ get { return merchantReview_; }
+ set {
+ merchantReview_ = value;
+ }
+ }
+
+ /// Field number for the "data_source" field.
+ public const int DataSourceFieldNumber = 3;
+ private string dataSource_ = "";
+ ///
+ /// Required. The data source of the
+ /// [merchantreview](https://support.google.com/merchants/answer/7045996?sjid=5253581244217581976-EU)
+ /// Format:
+ /// `accounts/{account}/dataSources/{datasource}`.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string DataSource {
+ get { return dataSource_; }
+ set {
+ dataSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as InsertMerchantReviewRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(InsertMerchantReviewRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Parent != other.Parent) return false;
+ if (!object.Equals(MerchantReview, other.MerchantReview)) return false;
+ if (DataSource != other.DataSource) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Parent.Length != 0) hash ^= Parent.GetHashCode();
+ if (merchantReview_ != null) hash ^= MerchantReview.GetHashCode();
+ if (DataSource.Length != 0) hash ^= DataSource.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Parent.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Parent);
+ }
+ if (merchantReview_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(MerchantReview);
+ }
+ if (DataSource.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(DataSource);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Parent.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Parent);
+ }
+ if (merchantReview_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(MerchantReview);
+ }
+ if (DataSource.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(DataSource);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Parent.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent);
+ }
+ if (merchantReview_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(MerchantReview);
+ }
+ if (DataSource.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DataSource);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(InsertMerchantReviewRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Parent.Length != 0) {
+ Parent = other.Parent;
+ }
+ if (other.merchantReview_ != null) {
+ if (merchantReview_ == null) {
+ MerchantReview = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview();
+ }
+ MerchantReview.MergeFrom(other.MerchantReview);
+ }
+ if (other.DataSource.Length != 0) {
+ DataSource = other.DataSource;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Parent = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (merchantReview_ == null) {
+ MerchantReview = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview();
+ }
+ input.ReadMessage(MerchantReview);
+ break;
+ }
+ case 26: {
+ DataSource = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Parent = input.ReadString();
+ break;
+ }
+ case 18: {
+ if (merchantReview_ == null) {
+ MerchantReview = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview();
+ }
+ input.ReadMessage(MerchantReview);
+ break;
+ }
+ case 26: {
+ DataSource = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// Response message for the `ListMerchantsReview` method.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class ListMerchantReviewsResponse : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMerchantReviewsResponse());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsResponse(ListMerchantReviewsResponse other) : this() {
+ merchantReviews_ = other.merchantReviews_.Clone();
+ nextPageToken_ = other.nextPageToken_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ListMerchantReviewsResponse Clone() {
+ return new ListMerchantReviewsResponse(this);
+ }
+
+ /// Field number for the "merchant_reviews" field.
+ public const int MerchantReviewsFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_merchantReviews_codec
+ = pb::FieldCodec.ForMessage(10, global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview.Parser);
+ private readonly pbc::RepeatedField merchantReviews_ = new pbc::RepeatedField();
+ ///
+ /// The merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField MerchantReviews {
+ get { return merchantReviews_; }
+ }
+
+ /// Field number for the "next_page_token" field.
+ public const int NextPageTokenFieldNumber = 2;
+ private string nextPageToken_ = "";
+ ///
+ /// The token to retrieve the next page of results.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string NextPageToken {
+ get { return nextPageToken_; }
+ set {
+ nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as ListMerchantReviewsResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(ListMerchantReviewsResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!merchantReviews_.Equals(other.merchantReviews_)) return false;
+ if (NextPageToken != other.NextPageToken) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= merchantReviews_.GetHashCode();
+ if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ merchantReviews_.WriteTo(output, _repeated_merchantReviews_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ merchantReviews_.WriteTo(ref output, _repeated_merchantReviews_codec);
+ if (NextPageToken.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += merchantReviews_.CalculateSize(_repeated_merchantReviews_codec);
+ if (NextPageToken.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(ListMerchantReviewsResponse other) {
+ if (other == null) {
+ return;
+ }
+ merchantReviews_.Add(other.merchantReviews_);
+ if (other.NextPageToken.Length != 0) {
+ NextPageToken = other.NextPageToken;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ merchantReviews_.AddEntriesFrom(input, _repeated_merchantReviews_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ merchantReviews_.AddEntriesFrom(ref input, _repeated_merchantReviews_codec);
+ break;
+ }
+ case 18: {
+ NextPageToken = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// A review for a merchant. For more information, see
+ /// [Introduction to Merchant Review
+ /// Feeds](https://developers.google.com/merchant-review-feeds)
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class MerchantReview : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MerchantReview());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReview() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReview(MerchantReview other) : this() {
+ name_ = other.name_;
+ merchantReviewId_ = other.merchantReviewId_;
+ attributes_ = other.attributes_ != null ? other.attributes_.Clone() : null;
+ customAttributes_ = other.customAttributes_.Clone();
+ dataSource_ = other.dataSource_;
+ merchantReviewStatus_ = other.merchantReviewStatus_ != null ? other.merchantReviewStatus_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReview Clone() {
+ return new MerchantReview(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ /// Identifier. The name of the merchant review.
+ /// Format:
+ /// `"{merchantreview.name=accounts/{account}/merchantReviews/{merchantReview}}"`
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "merchant_review_id" field.
+ public const int MerchantReviewIdFieldNumber = 2;
+ private string merchantReviewId_ = "";
+ ///
+ /// Required. The user provided merchant review ID to uniquely identify the
+ /// merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MerchantReviewId {
+ get { return merchantReviewId_; }
+ set {
+ merchantReviewId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "attributes" field.
+ public const int AttributesFieldNumber = 3;
+ private global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes attributes_;
+ ///
+ /// Optional. A list of merchant review attributes.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes Attributes {
+ get { return attributes_; }
+ set {
+ attributes_ = value;
+ }
+ }
+
+ /// Field number for the "custom_attributes" field.
+ public const int CustomAttributesFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_customAttributes_codec
+ = pb::FieldCodec.ForMessage(34, global::Google.Shopping.Type.CustomAttribute.Parser);
+ private readonly pbc::RepeatedField customAttributes_ = new pbc::RepeatedField();
+ ///
+ /// Required. A list of custom (merchant-provided) attributes. It can also be
+ /// used for submitting any attribute of the data specification in its generic
+ /// form (for example,
+ /// `{ "name": "size type", "value": "regular" }`).
+ /// This is useful for submitting attributes not explicitly exposed by the
+ /// API, such as experimental attributes.
+ /// Maximum allowed number of characters for each
+ /// custom attribute is 10240 (represents sum of characters for name and
+ /// value). Maximum 2500 custom attributes can be set per product, with total
+ /// size of 102.4kB. Underscores in custom attribute names are replaced by
+ /// spaces upon insertion.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField CustomAttributes {
+ get { return customAttributes_; }
+ }
+
+ /// Field number for the "data_source" field.
+ public const int DataSourceFieldNumber = 5;
+ private string dataSource_ = "";
+ ///
+ /// Output only. The primary data source of the merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string DataSource {
+ get { return dataSource_; }
+ set {
+ dataSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "merchant_review_status" field.
+ public const int MerchantReviewStatusFieldNumber = 6;
+ private global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus merchantReviewStatus_;
+ ///
+ /// Output only. The status of a merchant review, data validation issues, that
+ /// is, information about a merchant review computed asynchronously.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus MerchantReviewStatus {
+ get { return merchantReviewStatus_; }
+ set {
+ merchantReviewStatus_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as MerchantReview);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(MerchantReview other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ if (MerchantReviewId != other.MerchantReviewId) return false;
+ if (!object.Equals(Attributes, other.Attributes)) return false;
+ if(!customAttributes_.Equals(other.customAttributes_)) return false;
+ if (DataSource != other.DataSource) return false;
+ if (!object.Equals(MerchantReviewStatus, other.MerchantReviewStatus)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (MerchantReviewId.Length != 0) hash ^= MerchantReviewId.GetHashCode();
+ if (attributes_ != null) hash ^= Attributes.GetHashCode();
+ hash ^= customAttributes_.GetHashCode();
+ if (DataSource.Length != 0) hash ^= DataSource.GetHashCode();
+ if (merchantReviewStatus_ != null) hash ^= MerchantReviewStatus.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (MerchantReviewId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(MerchantReviewId);
+ }
+ if (attributes_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Attributes);
+ }
+ customAttributes_.WriteTo(output, _repeated_customAttributes_codec);
+ if (DataSource.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(DataSource);
+ }
+ if (merchantReviewStatus_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(MerchantReviewStatus);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (MerchantReviewId.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(MerchantReviewId);
+ }
+ if (attributes_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(Attributes);
+ }
+ customAttributes_.WriteTo(ref output, _repeated_customAttributes_codec);
+ if (DataSource.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(DataSource);
+ }
+ if (merchantReviewStatus_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(MerchantReviewStatus);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (MerchantReviewId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MerchantReviewId);
+ }
+ if (attributes_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Attributes);
+ }
+ size += customAttributes_.CalculateSize(_repeated_customAttributes_codec);
+ if (DataSource.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DataSource);
+ }
+ if (merchantReviewStatus_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(MerchantReviewStatus);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(MerchantReview other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.MerchantReviewId.Length != 0) {
+ MerchantReviewId = other.MerchantReviewId;
+ }
+ if (other.attributes_ != null) {
+ if (attributes_ == null) {
+ Attributes = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes();
+ }
+ Attributes.MergeFrom(other.Attributes);
+ }
+ customAttributes_.Add(other.customAttributes_);
+ if (other.DataSource.Length != 0) {
+ DataSource = other.DataSource;
+ }
+ if (other.merchantReviewStatus_ != null) {
+ if (merchantReviewStatus_ == null) {
+ MerchantReviewStatus = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus();
+ }
+ MerchantReviewStatus.MergeFrom(other.MerchantReviewStatus);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ MerchantReviewId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (attributes_ == null) {
+ Attributes = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes();
+ }
+ input.ReadMessage(Attributes);
+ break;
+ }
+ case 34: {
+ customAttributes_.AddEntriesFrom(input, _repeated_customAttributes_codec);
+ break;
+ }
+ case 42: {
+ DataSource = input.ReadString();
+ break;
+ }
+ case 50: {
+ if (merchantReviewStatus_ == null) {
+ MerchantReviewStatus = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus();
+ }
+ input.ReadMessage(MerchantReviewStatus);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ MerchantReviewId = input.ReadString();
+ break;
+ }
+ case 26: {
+ if (attributes_ == null) {
+ Attributes = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes();
+ }
+ input.ReadMessage(Attributes);
+ break;
+ }
+ case 34: {
+ customAttributes_.AddEntriesFrom(ref input, _repeated_customAttributes_codec);
+ break;
+ }
+ case 42: {
+ DataSource = input.ReadString();
+ break;
+ }
+ case 50: {
+ if (merchantReviewStatus_ == null) {
+ MerchantReviewStatus = new global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus();
+ }
+ input.ReadMessage(MerchantReviewStatus);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsCommon.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsCommon.g.cs
new file mode 100755
index 000000000000..3264c11080b7
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsCommon.g.cs
@@ -0,0 +1,2191 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/shopping/merchant/reviews/v1beta/merchantreviews_common.proto
+//
+#pragma warning disable 1591, 0612, 3021, 8981
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Google.Shopping.Merchant.Reviews.V1Beta {
+
+ /// Holder for reflection information generated from google/shopping/merchant/reviews/v1beta/merchantreviews_common.proto
+ public static partial class MerchantreviewsCommonReflection {
+
+ #region Descriptor
+ /// File descriptor for google/shopping/merchant/reviews/v1beta/merchantreviews_common.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static MerchantreviewsCommonReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CkRnb29nbGUvc2hvcHBpbmcvbWVyY2hhbnQvcmV2aWV3cy92MWJldGEvbWVy",
+ "Y2hhbnRyZXZpZXdzX2NvbW1vbi5wcm90bxInZ29vZ2xlLnNob3BwaW5nLm1l",
+ "cmNoYW50LnJldmlld3MudjFiZXRhGh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2",
+ "aW9yLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvGiBn",
+ "b29nbGUvc2hvcHBpbmcvdHlwZS90eXBlcy5wcm90byKlCAoYTWVyY2hhbnRS",
+ "ZXZpZXdBdHRyaWJ1dGVzEh0KC21lcmNoYW50X2lkGAEgASgJQgPgQQJIAIgB",
+ "ARInChVtZXJjaGFudF9kaXNwbGF5X25hbWUYAiABKAlCA+BBAUgBiAEBEh8K",
+ "DW1lcmNoYW50X2xpbmsYAyABKAlCA+BBAUgCiAEBEiYKFG1lcmNoYW50X3Jh",
+ "dGluZ19saW5rGAQgASgJQgPgQQFIA4gBARIcCgptaW5fcmF0aW5nGAUgASgD",
+ "QgPgQQFIBIgBARIcCgptYXhfcmF0aW5nGAYgASgDQgPgQQFIBYgBARIYCgZy",
+ "YXRpbmcYByABKAFCA+BBAUgGiAEBEhcKBXRpdGxlGAggASgJQgPgQQFIB4gB",
+ "ARIZCgdjb250ZW50GAkgASgJQgPgQQJICIgBARIdCgtyZXZpZXdlcl9pZBgK",
+ "IAEoCUID4EEBSAmIAQESIwoRcmV2aWV3ZXJfdXNlcm5hbWUYCyABKAlCA+BB",
+ "AUgKiAEBEh4KDGlzX2Fub255bW91cxgMIAEoCEID4EEBSAuIAQESdwoRY29s",
+ "bGVjdGlvbl9tZXRob2QYDSABKA4yUi5nb29nbGUuc2hvcHBpbmcubWVyY2hh",
+ "bnQucmV2aWV3cy52MWJldGEuTWVyY2hhbnRSZXZpZXdBdHRyaWJ1dGVzLkNv",
+ "bGxlY3Rpb25NZXRob2RCA+BBAUgMiAEBEjkKC3Jldmlld190aW1lGA4gASgL",
+ "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EECSA2IAQESIQoPcmV2",
+ "aWV3X2xhbmd1YWdlGA8gASgJQgPgQQJIDogBARIgCg5yZXZpZXdfY291bnRy",
+ "eRgQIAEoCUID4EEBSA+IAQEieQoQQ29sbGVjdGlvbk1ldGhvZBIhCh1DT0xM",
+ "RUNUSU9OX01FVEhPRF9VTlNQRUNJRklFRBAAEhgKFE1FUkNIQU5UX1VOU09M",
+ "SUNJVEVEEAESEQoNUE9JTlRfT0ZfU0FMRRACEhUKEUFGVEVSX0ZVTEZJTExN",
+ "RU5UEANCDgoMX21lcmNoYW50X2lkQhgKFl9tZXJjaGFudF9kaXNwbGF5X25h",
+ "bWVCEAoOX21lcmNoYW50X2xpbmtCFwoVX21lcmNoYW50X3JhdGluZ19saW5r",
+ "Qg0KC19taW5fcmF0aW5nQg0KC19tYXhfcmF0aW5nQgkKB19yYXRpbmdCCAoG",
+ "X3RpdGxlQgoKCF9jb250ZW50Qg4KDF9yZXZpZXdlcl9pZEIUChJfcmV2aWV3",
+ "ZXJfdXNlcm5hbWVCDwoNX2lzX2Fub255bW91c0IUChJfY29sbGVjdGlvbl9t",
+ "ZXRob2RCDgoMX3Jldmlld190aW1lQhIKEF9yZXZpZXdfbGFuZ3VhZ2VCEQoP",
+ "X3Jldmlld19jb3VudHJ5ItgHChRNZXJjaGFudFJldmlld1N0YXR1cxKAAQoU",
+ "ZGVzdGluYXRpb25fc3RhdHVzZXMYAyADKAsyXS5nb29nbGUuc2hvcHBpbmcu",
+ "bWVyY2hhbnQucmV2aWV3cy52MWJldGEuTWVyY2hhbnRSZXZpZXdTdGF0dXMu",
+ "TWVyY2hhbnRSZXZpZXdEZXN0aW5hdGlvblN0YXR1c0ID4EEDEnoKEWl0ZW1f",
+ "bGV2ZWxfaXNzdWVzGAQgAygLMlouZ29vZ2xlLnNob3BwaW5nLm1lcmNoYW50",
+ "LnJldmlld3MudjFiZXRhLk1lcmNoYW50UmV2aWV3U3RhdHVzLk1lcmNoYW50",
+ "UmV2aWV3SXRlbUxldmVsSXNzdWVCA+BBAxI0CgtjcmVhdGVfdGltZRgFIAEo",
+ "CzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxI5ChBsYXN0X3Vw",
+ "ZGF0ZV90aW1lGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID",
+ "4EEDGn4KH01lcmNoYW50UmV2aWV3RGVzdGluYXRpb25TdGF0dXMSWwoRcmVw",
+ "b3J0aW5nX2NvbnRleHQYASABKA4yOy5nb29nbGUuc2hvcHBpbmcudHlwZS5S",
+ "ZXBvcnRpbmdDb250ZXh0LlJlcG9ydGluZ0NvbnRleHRFbnVtQgPgQQMazwMK",
+ "HE1lcmNoYW50UmV2aWV3SXRlbUxldmVsSXNzdWUSEQoEY29kZRgBIAEoCUID",
+ "4EEDEnoKCHNldmVyaXR5GAIgASgOMmMuZ29vZ2xlLnNob3BwaW5nLm1lcmNo",
+ "YW50LnJldmlld3MudjFiZXRhLk1lcmNoYW50UmV2aWV3U3RhdHVzLk1lcmNo",
+ "YW50UmV2aWV3SXRlbUxldmVsSXNzdWUuU2V2ZXJpdHlCA+BBAxIXCgpyZXNv",
+ "bHV0aW9uGAMgASgJQgPgQQMSFgoJYXR0cmlidXRlGAQgASgJQgPgQQMSWwoR",
+ "cmVwb3J0aW5nX2NvbnRleHQYBSABKA4yOy5nb29nbGUuc2hvcHBpbmcudHlw",
+ "ZS5SZXBvcnRpbmdDb250ZXh0LlJlcG9ydGluZ0NvbnRleHRFbnVtQgPgQQMS",
+ "GAoLZGVzY3JpcHRpb24YBiABKAlCA+BBAxITCgZkZXRhaWwYByABKAlCA+BB",
+ "AxIaCg1kb2N1bWVudGF0aW9uGAggASgJQgPgQQMiRwoIU2V2ZXJpdHkSGAoU",
+ "U0VWRVJJVFlfVU5TUEVDSUZJRUQQABIQCgxOT1RfSU1QQUNURUQQARIPCgtE",
+ "SVNBUFBST1ZFRBACQpoCCitjb20uZ29vZ2xlLnNob3BwaW5nLm1lcmNoYW50",
+ "LnJldmlld3MudjFiZXRhQhpNZXJjaGFudFJldmlld3NDb21tb25Qcm90b1AB",
+ "WktjbG91ZC5nb29nbGUuY29tL2dvL3Nob3BwaW5nL21lcmNoYW50L3Jldmll",
+ "d3MvYXBpdjFiZXRhL3Jldmlld3NwYjtyZXZpZXdzcGKqAidHb29nbGUuU2hv",
+ "cHBpbmcuTWVyY2hhbnQuUmV2aWV3cy5WMUJldGHKAidHb29nbGVcU2hvcHBp",
+ "bmdcTWVyY2hhbnRcUmV2aWV3c1xWMWJldGHqAitHb29nbGU6OlNob3BwaW5n",
+ "OjpNZXJjaGFudDo6UmV2aWV3czo6VjFiZXRhYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Shopping.Type.TypesReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes), global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Parser, new[]{ "MerchantId", "MerchantDisplayName", "MerchantLink", "MerchantRatingLink", "MinRating", "MaxRating", "Rating", "Title", "Content", "ReviewerId", "ReviewerUsername", "IsAnonymous", "CollectionMethod", "ReviewTime", "ReviewLanguage", "ReviewCountry" }, new[]{ "MerchantId", "MerchantDisplayName", "MerchantLink", "MerchantRatingLink", "MinRating", "MaxRating", "Rating", "Title", "Content", "ReviewerId", "ReviewerUsername", "IsAnonymous", "CollectionMethod", "ReviewTime", "ReviewLanguage", "ReviewCountry" }, new[]{ typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod) }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus), global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Parser, new[]{ "DestinationStatuses", "ItemLevelIssues", "CreateTime", "LastUpdateTime" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewDestinationStatus), global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewDestinationStatus.Parser, new[]{ "ReportingContext" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue), global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Parser, new[]{ "Code", "Severity", "Resolution", "Attribute", "ReportingContext", "Description", "Detail", "Documentation" }, null, new[]{ typeof(global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity) }, null, null)})
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ ///
+ /// Attributes.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class MerchantReviewAttributes : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MerchantReviewAttributes());
+ private pb::UnknownFieldSet _unknownFields;
+ private int _hasBits0;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsCommonReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewAttributes() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewAttributes(MerchantReviewAttributes other) : this() {
+ _hasBits0 = other._hasBits0;
+ merchantId_ = other.merchantId_;
+ merchantDisplayName_ = other.merchantDisplayName_;
+ merchantLink_ = other.merchantLink_;
+ merchantRatingLink_ = other.merchantRatingLink_;
+ minRating_ = other.minRating_;
+ maxRating_ = other.maxRating_;
+ rating_ = other.rating_;
+ title_ = other.title_;
+ content_ = other.content_;
+ reviewerId_ = other.reviewerId_;
+ reviewerUsername_ = other.reviewerUsername_;
+ isAnonymous_ = other.isAnonymous_;
+ collectionMethod_ = other.collectionMethod_;
+ reviewTime_ = other.reviewTime_ != null ? other.reviewTime_.Clone() : null;
+ reviewLanguage_ = other.reviewLanguage_;
+ reviewCountry_ = other.reviewCountry_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewAttributes Clone() {
+ return new MerchantReviewAttributes(this);
+ }
+
+ /// Field number for the "merchant_id" field.
+ public const int MerchantIdFieldNumber = 1;
+ private readonly static string MerchantIdDefaultValue = "";
+
+ private string merchantId_;
+ ///
+ /// Required. Must be unique and stable across all requests. In other words, if
+ /// a request today and another 90 days ago refer to the same merchant, they
+ /// must have the same id.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MerchantId {
+ get { return merchantId_ ?? MerchantIdDefaultValue; }
+ set {
+ merchantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "merchant_id" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMerchantId {
+ get { return merchantId_ != null; }
+ }
+ /// Clears the value of the "merchant_id" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMerchantId() {
+ merchantId_ = null;
+ }
+
+ /// Field number for the "merchant_display_name" field.
+ public const int MerchantDisplayNameFieldNumber = 2;
+ private readonly static string MerchantDisplayNameDefaultValue = "";
+
+ private string merchantDisplayName_;
+ ///
+ /// Optional. Human-readable display name for the merchant.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MerchantDisplayName {
+ get { return merchantDisplayName_ ?? MerchantDisplayNameDefaultValue; }
+ set {
+ merchantDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "merchant_display_name" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMerchantDisplayName {
+ get { return merchantDisplayName_ != null; }
+ }
+ /// Clears the value of the "merchant_display_name" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMerchantDisplayName() {
+ merchantDisplayName_ = null;
+ }
+
+ /// Field number for the "merchant_link" field.
+ public const int MerchantLinkFieldNumber = 3;
+ private readonly static string MerchantLinkDefaultValue = "";
+
+ private string merchantLink_;
+ ///
+ /// Optional. URL to the merchant's main website. Do not use a redirect URL for
+ /// this value. In other words, the value should point directly to the
+ /// merchant's site.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MerchantLink {
+ get { return merchantLink_ ?? MerchantLinkDefaultValue; }
+ set {
+ merchantLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "merchant_link" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMerchantLink {
+ get { return merchantLink_ != null; }
+ }
+ /// Clears the value of the "merchant_link" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMerchantLink() {
+ merchantLink_ = null;
+ }
+
+ /// Field number for the "merchant_rating_link" field.
+ public const int MerchantRatingLinkFieldNumber = 4;
+ private readonly static string MerchantRatingLinkDefaultValue = "";
+
+ private string merchantRatingLink_;
+ ///
+ /// Optional. URL to the landing page that hosts the reviews for this merchant.
+ /// Do not use a redirect URL.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string MerchantRatingLink {
+ get { return merchantRatingLink_ ?? MerchantRatingLinkDefaultValue; }
+ set {
+ merchantRatingLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "merchant_rating_link" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMerchantRatingLink {
+ get { return merchantRatingLink_ != null; }
+ }
+ /// Clears the value of the "merchant_rating_link" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMerchantRatingLink() {
+ merchantRatingLink_ = null;
+ }
+
+ /// Field number for the "min_rating" field.
+ public const int MinRatingFieldNumber = 5;
+ private readonly static long MinRatingDefaultValue = 0L;
+
+ private long minRating_;
+ ///
+ /// Optional. The minimum possible number for the rating. This should be the
+ /// worst possible rating and should not be a value for no rating.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long MinRating {
+ get { if ((_hasBits0 & 1) != 0) { return minRating_; } else { return MinRatingDefaultValue; } }
+ set {
+ _hasBits0 |= 1;
+ minRating_ = value;
+ }
+ }
+ /// Gets whether the "min_rating" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMinRating {
+ get { return (_hasBits0 & 1) != 0; }
+ }
+ /// Clears the value of the "min_rating" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMinRating() {
+ _hasBits0 &= ~1;
+ }
+
+ /// Field number for the "max_rating" field.
+ public const int MaxRatingFieldNumber = 6;
+ private readonly static long MaxRatingDefaultValue = 0L;
+
+ private long maxRating_;
+ ///
+ /// Optional. The maximum possible number for the rating. The value of the max
+ /// rating must be greater than the value of the min rating.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public long MaxRating {
+ get { if ((_hasBits0 & 2) != 0) { return maxRating_; } else { return MaxRatingDefaultValue; } }
+ set {
+ _hasBits0 |= 2;
+ maxRating_ = value;
+ }
+ }
+ /// Gets whether the "max_rating" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasMaxRating {
+ get { return (_hasBits0 & 2) != 0; }
+ }
+ /// Clears the value of the "max_rating" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearMaxRating() {
+ _hasBits0 &= ~2;
+ }
+
+ /// Field number for the "rating" field.
+ public const int RatingFieldNumber = 7;
+ private readonly static double RatingDefaultValue = 0D;
+
+ private double rating_;
+ ///
+ /// Optional. The reviewer's overall rating of the merchant.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public double Rating {
+ get { if ((_hasBits0 & 4) != 0) { return rating_; } else { return RatingDefaultValue; } }
+ set {
+ _hasBits0 |= 4;
+ rating_ = value;
+ }
+ }
+ /// Gets whether the "rating" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasRating {
+ get { return (_hasBits0 & 4) != 0; }
+ }
+ /// Clears the value of the "rating" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearRating() {
+ _hasBits0 &= ~4;
+ }
+
+ /// Field number for the "title" field.
+ public const int TitleFieldNumber = 8;
+ private readonly static string TitleDefaultValue = "";
+
+ private string title_;
+ ///
+ /// Optional. The title of the review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Title {
+ get { return title_ ?? TitleDefaultValue; }
+ set {
+ title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "title" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasTitle {
+ get { return title_ != null; }
+ }
+ /// Clears the value of the "title" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearTitle() {
+ title_ = null;
+ }
+
+ /// Field number for the "content" field.
+ public const int ContentFieldNumber = 9;
+ private readonly static string ContentDefaultValue = "";
+
+ private string content_;
+ ///
+ /// Required. This should be any freeform text provided by the user and should
+ /// not be truncated. If multiple responses to different questions are
+ /// provided, all responses should be included, with the minimal context for
+ /// the responses to make sense. Context should not be provided if questions
+ /// were left unanswered.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Content {
+ get { return content_ ?? ContentDefaultValue; }
+ set {
+ content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "content" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasContent {
+ get { return content_ != null; }
+ }
+ /// Clears the value of the "content" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearContent() {
+ content_ = null;
+ }
+
+ /// Field number for the "reviewer_id" field.
+ public const int ReviewerIdFieldNumber = 10;
+ private readonly static string ReviewerIdDefaultValue = "";
+
+ private string reviewerId_;
+ ///
+ /// Optional. A permanent, unique identifier for the author of the review in
+ /// the publisher's system.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ReviewerId {
+ get { return reviewerId_ ?? ReviewerIdDefaultValue; }
+ set {
+ reviewerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "reviewer_id" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasReviewerId {
+ get { return reviewerId_ != null; }
+ }
+ /// Clears the value of the "reviewer_id" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearReviewerId() {
+ reviewerId_ = null;
+ }
+
+ /// Field number for the "reviewer_username" field.
+ public const int ReviewerUsernameFieldNumber = 11;
+ private readonly static string ReviewerUsernameDefaultValue = "";
+
+ private string reviewerUsername_;
+ ///
+ /// Optional. Display name of the review author.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ReviewerUsername {
+ get { return reviewerUsername_ ?? ReviewerUsernameDefaultValue; }
+ set {
+ reviewerUsername_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "reviewer_username" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasReviewerUsername {
+ get { return reviewerUsername_ != null; }
+ }
+ /// Clears the value of the "reviewer_username" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearReviewerUsername() {
+ reviewerUsername_ = null;
+ }
+
+ /// Field number for the "is_anonymous" field.
+ public const int IsAnonymousFieldNumber = 12;
+ private readonly static bool IsAnonymousDefaultValue = false;
+
+ private bool isAnonymous_;
+ ///
+ /// Optional. Set to true if the reviewer should remain anonymous.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool IsAnonymous {
+ get { if ((_hasBits0 & 8) != 0) { return isAnonymous_; } else { return IsAnonymousDefaultValue; } }
+ set {
+ _hasBits0 |= 8;
+ isAnonymous_ = value;
+ }
+ }
+ /// Gets whether the "is_anonymous" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasIsAnonymous {
+ get { return (_hasBits0 & 8) != 0; }
+ }
+ /// Clears the value of the "is_anonymous" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearIsAnonymous() {
+ _hasBits0 &= ~8;
+ }
+
+ /// Field number for the "collection_method" field.
+ public const int CollectionMethodFieldNumber = 13;
+ private readonly static global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod CollectionMethodDefaultValue = global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod.Unspecified;
+
+ private global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod collectionMethod_;
+ ///
+ /// Optional. The method used to collect the review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod CollectionMethod {
+ get { if ((_hasBits0 & 16) != 0) { return collectionMethod_; } else { return CollectionMethodDefaultValue; } }
+ set {
+ _hasBits0 |= 16;
+ collectionMethod_ = value;
+ }
+ }
+ /// Gets whether the "collection_method" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasCollectionMethod {
+ get { return (_hasBits0 & 16) != 0; }
+ }
+ /// Clears the value of the "collection_method" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearCollectionMethod() {
+ _hasBits0 &= ~16;
+ }
+
+ /// Field number for the "review_time" field.
+ public const int ReviewTimeFieldNumber = 14;
+ private global::Google.Protobuf.WellKnownTypes.Timestamp reviewTime_;
+ ///
+ /// Required. The timestamp indicating when the review was written.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Protobuf.WellKnownTypes.Timestamp ReviewTime {
+ get { return reviewTime_; }
+ set {
+ reviewTime_ = value;
+ }
+ }
+
+ /// Field number for the "review_language" field.
+ public const int ReviewLanguageFieldNumber = 15;
+ private readonly static string ReviewLanguageDefaultValue = "";
+
+ private string reviewLanguage_;
+ ///
+ /// Required. The language of the review defined by BCP-47 language code.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ReviewLanguage {
+ get { return reviewLanguage_ ?? ReviewLanguageDefaultValue; }
+ set {
+ reviewLanguage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "review_language" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasReviewLanguage {
+ get { return reviewLanguage_ != null; }
+ }
+ /// Clears the value of the "review_language" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearReviewLanguage() {
+ reviewLanguage_ = null;
+ }
+
+ /// Field number for the "review_country" field.
+ public const int ReviewCountryFieldNumber = 16;
+ private readonly static string ReviewCountryDefaultValue = "";
+
+ private string reviewCountry_;
+ ///
+ /// Optional. The country where the reviewer made the order defined by ISO
+ /// 3166-1 Alpha-2 Country Code.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string ReviewCountry {
+ get { return reviewCountry_ ?? ReviewCountryDefaultValue; }
+ set {
+ reviewCountry_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+ /// Gets whether the "review_country" field is set
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool HasReviewCountry {
+ get { return reviewCountry_ != null; }
+ }
+ /// Clears the value of the "review_country" field
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void ClearReviewCountry() {
+ reviewCountry_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as MerchantReviewAttributes);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(MerchantReviewAttributes other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (MerchantId != other.MerchantId) return false;
+ if (MerchantDisplayName != other.MerchantDisplayName) return false;
+ if (MerchantLink != other.MerchantLink) return false;
+ if (MerchantRatingLink != other.MerchantRatingLink) return false;
+ if (MinRating != other.MinRating) return false;
+ if (MaxRating != other.MaxRating) return false;
+ if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Rating, other.Rating)) return false;
+ if (Title != other.Title) return false;
+ if (Content != other.Content) return false;
+ if (ReviewerId != other.ReviewerId) return false;
+ if (ReviewerUsername != other.ReviewerUsername) return false;
+ if (IsAnonymous != other.IsAnonymous) return false;
+ if (CollectionMethod != other.CollectionMethod) return false;
+ if (!object.Equals(ReviewTime, other.ReviewTime)) return false;
+ if (ReviewLanguage != other.ReviewLanguage) return false;
+ if (ReviewCountry != other.ReviewCountry) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (HasMerchantId) hash ^= MerchantId.GetHashCode();
+ if (HasMerchantDisplayName) hash ^= MerchantDisplayName.GetHashCode();
+ if (HasMerchantLink) hash ^= MerchantLink.GetHashCode();
+ if (HasMerchantRatingLink) hash ^= MerchantRatingLink.GetHashCode();
+ if (HasMinRating) hash ^= MinRating.GetHashCode();
+ if (HasMaxRating) hash ^= MaxRating.GetHashCode();
+ if (HasRating) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Rating);
+ if (HasTitle) hash ^= Title.GetHashCode();
+ if (HasContent) hash ^= Content.GetHashCode();
+ if (HasReviewerId) hash ^= ReviewerId.GetHashCode();
+ if (HasReviewerUsername) hash ^= ReviewerUsername.GetHashCode();
+ if (HasIsAnonymous) hash ^= IsAnonymous.GetHashCode();
+ if (HasCollectionMethod) hash ^= CollectionMethod.GetHashCode();
+ if (reviewTime_ != null) hash ^= ReviewTime.GetHashCode();
+ if (HasReviewLanguage) hash ^= ReviewLanguage.GetHashCode();
+ if (HasReviewCountry) hash ^= ReviewCountry.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (HasMerchantId) {
+ output.WriteRawTag(10);
+ output.WriteString(MerchantId);
+ }
+ if (HasMerchantDisplayName) {
+ output.WriteRawTag(18);
+ output.WriteString(MerchantDisplayName);
+ }
+ if (HasMerchantLink) {
+ output.WriteRawTag(26);
+ output.WriteString(MerchantLink);
+ }
+ if (HasMerchantRatingLink) {
+ output.WriteRawTag(34);
+ output.WriteString(MerchantRatingLink);
+ }
+ if (HasMinRating) {
+ output.WriteRawTag(40);
+ output.WriteInt64(MinRating);
+ }
+ if (HasMaxRating) {
+ output.WriteRawTag(48);
+ output.WriteInt64(MaxRating);
+ }
+ if (HasRating) {
+ output.WriteRawTag(57);
+ output.WriteDouble(Rating);
+ }
+ if (HasTitle) {
+ output.WriteRawTag(66);
+ output.WriteString(Title);
+ }
+ if (HasContent) {
+ output.WriteRawTag(74);
+ output.WriteString(Content);
+ }
+ if (HasReviewerId) {
+ output.WriteRawTag(82);
+ output.WriteString(ReviewerId);
+ }
+ if (HasReviewerUsername) {
+ output.WriteRawTag(90);
+ output.WriteString(ReviewerUsername);
+ }
+ if (HasIsAnonymous) {
+ output.WriteRawTag(96);
+ output.WriteBool(IsAnonymous);
+ }
+ if (HasCollectionMethod) {
+ output.WriteRawTag(104);
+ output.WriteEnum((int) CollectionMethod);
+ }
+ if (reviewTime_ != null) {
+ output.WriteRawTag(114);
+ output.WriteMessage(ReviewTime);
+ }
+ if (HasReviewLanguage) {
+ output.WriteRawTag(122);
+ output.WriteString(ReviewLanguage);
+ }
+ if (HasReviewCountry) {
+ output.WriteRawTag(130, 1);
+ output.WriteString(ReviewCountry);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (HasMerchantId) {
+ output.WriteRawTag(10);
+ output.WriteString(MerchantId);
+ }
+ if (HasMerchantDisplayName) {
+ output.WriteRawTag(18);
+ output.WriteString(MerchantDisplayName);
+ }
+ if (HasMerchantLink) {
+ output.WriteRawTag(26);
+ output.WriteString(MerchantLink);
+ }
+ if (HasMerchantRatingLink) {
+ output.WriteRawTag(34);
+ output.WriteString(MerchantRatingLink);
+ }
+ if (HasMinRating) {
+ output.WriteRawTag(40);
+ output.WriteInt64(MinRating);
+ }
+ if (HasMaxRating) {
+ output.WriteRawTag(48);
+ output.WriteInt64(MaxRating);
+ }
+ if (HasRating) {
+ output.WriteRawTag(57);
+ output.WriteDouble(Rating);
+ }
+ if (HasTitle) {
+ output.WriteRawTag(66);
+ output.WriteString(Title);
+ }
+ if (HasContent) {
+ output.WriteRawTag(74);
+ output.WriteString(Content);
+ }
+ if (HasReviewerId) {
+ output.WriteRawTag(82);
+ output.WriteString(ReviewerId);
+ }
+ if (HasReviewerUsername) {
+ output.WriteRawTag(90);
+ output.WriteString(ReviewerUsername);
+ }
+ if (HasIsAnonymous) {
+ output.WriteRawTag(96);
+ output.WriteBool(IsAnonymous);
+ }
+ if (HasCollectionMethod) {
+ output.WriteRawTag(104);
+ output.WriteEnum((int) CollectionMethod);
+ }
+ if (reviewTime_ != null) {
+ output.WriteRawTag(114);
+ output.WriteMessage(ReviewTime);
+ }
+ if (HasReviewLanguage) {
+ output.WriteRawTag(122);
+ output.WriteString(ReviewLanguage);
+ }
+ if (HasReviewCountry) {
+ output.WriteRawTag(130, 1);
+ output.WriteString(ReviewCountry);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (HasMerchantId) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MerchantId);
+ }
+ if (HasMerchantDisplayName) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MerchantDisplayName);
+ }
+ if (HasMerchantLink) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MerchantLink);
+ }
+ if (HasMerchantRatingLink) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(MerchantRatingLink);
+ }
+ if (HasMinRating) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(MinRating);
+ }
+ if (HasMaxRating) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaxRating);
+ }
+ if (HasRating) {
+ size += 1 + 8;
+ }
+ if (HasTitle) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
+ }
+ if (HasContent) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
+ }
+ if (HasReviewerId) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ReviewerId);
+ }
+ if (HasReviewerUsername) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ReviewerUsername);
+ }
+ if (HasIsAnonymous) {
+ size += 1 + 1;
+ }
+ if (HasCollectionMethod) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CollectionMethod);
+ }
+ if (reviewTime_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReviewTime);
+ }
+ if (HasReviewLanguage) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ReviewLanguage);
+ }
+ if (HasReviewCountry) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(ReviewCountry);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(MerchantReviewAttributes other) {
+ if (other == null) {
+ return;
+ }
+ if (other.HasMerchantId) {
+ MerchantId = other.MerchantId;
+ }
+ if (other.HasMerchantDisplayName) {
+ MerchantDisplayName = other.MerchantDisplayName;
+ }
+ if (other.HasMerchantLink) {
+ MerchantLink = other.MerchantLink;
+ }
+ if (other.HasMerchantRatingLink) {
+ MerchantRatingLink = other.MerchantRatingLink;
+ }
+ if (other.HasMinRating) {
+ MinRating = other.MinRating;
+ }
+ if (other.HasMaxRating) {
+ MaxRating = other.MaxRating;
+ }
+ if (other.HasRating) {
+ Rating = other.Rating;
+ }
+ if (other.HasTitle) {
+ Title = other.Title;
+ }
+ if (other.HasContent) {
+ Content = other.Content;
+ }
+ if (other.HasReviewerId) {
+ ReviewerId = other.ReviewerId;
+ }
+ if (other.HasReviewerUsername) {
+ ReviewerUsername = other.ReviewerUsername;
+ }
+ if (other.HasIsAnonymous) {
+ IsAnonymous = other.IsAnonymous;
+ }
+ if (other.HasCollectionMethod) {
+ CollectionMethod = other.CollectionMethod;
+ }
+ if (other.reviewTime_ != null) {
+ if (reviewTime_ == null) {
+ ReviewTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ ReviewTime.MergeFrom(other.ReviewTime);
+ }
+ if (other.HasReviewLanguage) {
+ ReviewLanguage = other.ReviewLanguage;
+ }
+ if (other.HasReviewCountry) {
+ ReviewCountry = other.ReviewCountry;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ MerchantId = input.ReadString();
+ break;
+ }
+ case 18: {
+ MerchantDisplayName = input.ReadString();
+ break;
+ }
+ case 26: {
+ MerchantLink = input.ReadString();
+ break;
+ }
+ case 34: {
+ MerchantRatingLink = input.ReadString();
+ break;
+ }
+ case 40: {
+ MinRating = input.ReadInt64();
+ break;
+ }
+ case 48: {
+ MaxRating = input.ReadInt64();
+ break;
+ }
+ case 57: {
+ Rating = input.ReadDouble();
+ break;
+ }
+ case 66: {
+ Title = input.ReadString();
+ break;
+ }
+ case 74: {
+ Content = input.ReadString();
+ break;
+ }
+ case 82: {
+ ReviewerId = input.ReadString();
+ break;
+ }
+ case 90: {
+ ReviewerUsername = input.ReadString();
+ break;
+ }
+ case 96: {
+ IsAnonymous = input.ReadBool();
+ break;
+ }
+ case 104: {
+ CollectionMethod = (global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod) input.ReadEnum();
+ break;
+ }
+ case 114: {
+ if (reviewTime_ == null) {
+ ReviewTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(ReviewTime);
+ break;
+ }
+ case 122: {
+ ReviewLanguage = input.ReadString();
+ break;
+ }
+ case 130: {
+ ReviewCountry = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ MerchantId = input.ReadString();
+ break;
+ }
+ case 18: {
+ MerchantDisplayName = input.ReadString();
+ break;
+ }
+ case 26: {
+ MerchantLink = input.ReadString();
+ break;
+ }
+ case 34: {
+ MerchantRatingLink = input.ReadString();
+ break;
+ }
+ case 40: {
+ MinRating = input.ReadInt64();
+ break;
+ }
+ case 48: {
+ MaxRating = input.ReadInt64();
+ break;
+ }
+ case 57: {
+ Rating = input.ReadDouble();
+ break;
+ }
+ case 66: {
+ Title = input.ReadString();
+ break;
+ }
+ case 74: {
+ Content = input.ReadString();
+ break;
+ }
+ case 82: {
+ ReviewerId = input.ReadString();
+ break;
+ }
+ case 90: {
+ ReviewerUsername = input.ReadString();
+ break;
+ }
+ case 96: {
+ IsAnonymous = input.ReadBool();
+ break;
+ }
+ case 104: {
+ CollectionMethod = (global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewAttributes.Types.CollectionMethod) input.ReadEnum();
+ break;
+ }
+ case 114: {
+ if (reviewTime_ == null) {
+ ReviewTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(ReviewTime);
+ break;
+ }
+ case 122: {
+ ReviewLanguage = input.ReadString();
+ break;
+ }
+ case 130: {
+ ReviewCountry = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ #region Nested types
+ /// Container for nested types declared in the MerchantReviewAttributes message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static partial class Types {
+ ///
+ /// The method used to collect the review.
+ ///
+ public enum CollectionMethod {
+ ///
+ /// Collection method unspecified.
+ ///
+ [pbr::OriginalName("COLLECTION_METHOD_UNSPECIFIED")] Unspecified = 0,
+ ///
+ /// The user was not responding to a specific solicitation when they
+ /// submitted the review.
+ ///
+ [pbr::OriginalName("MERCHANT_UNSOLICITED")] MerchantUnsolicited = 1,
+ ///
+ /// The user submitted the review in response to a solicitation when the
+ /// user placed an order.
+ ///
+ [pbr::OriginalName("POINT_OF_SALE")] PointOfSale = 2,
+ ///
+ /// The user submitted the review in response to a solicitation after
+ /// fulfillment of the user's order.
+ ///
+ [pbr::OriginalName("AFTER_FULFILLMENT")] AfterFulfillment = 3,
+ }
+
+ }
+ #endregion
+
+ }
+
+ ///
+ /// The status of a merchant review, data validation issues, that is, information
+ /// about a merchant review computed asynchronously.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class MerchantReviewStatus : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MerchantReviewStatus());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsCommonReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewStatus() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewStatus(MerchantReviewStatus other) : this() {
+ destinationStatuses_ = other.destinationStatuses_.Clone();
+ itemLevelIssues_ = other.itemLevelIssues_.Clone();
+ createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null;
+ lastUpdateTime_ = other.lastUpdateTime_ != null ? other.lastUpdateTime_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewStatus Clone() {
+ return new MerchantReviewStatus(this);
+ }
+
+ /// Field number for the "destination_statuses" field.
+ public const int DestinationStatusesFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_destinationStatuses_codec
+ = pb::FieldCodec.ForMessage(26, global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewDestinationStatus.Parser);
+ private readonly pbc::RepeatedField destinationStatuses_ = new pbc::RepeatedField();
+ ///
+ /// Output only. The intended destinations for the merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField DestinationStatuses {
+ get { return destinationStatuses_; }
+ }
+
+ /// Field number for the "item_level_issues" field.
+ public const int ItemLevelIssuesFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_itemLevelIssues_codec
+ = pb::FieldCodec.ForMessage(34, global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Parser);
+ private readonly pbc::RepeatedField itemLevelIssues_ = new pbc::RepeatedField();
+ ///
+ /// Output only. A list of all issues associated with the merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pbc::RepeatedField ItemLevelIssues {
+ get { return itemLevelIssues_; }
+ }
+
+ /// Field number for the "create_time" field.
+ public const int CreateTimeFieldNumber = 5;
+ private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_;
+ ///
+ /// Output only. Date on which the item has been created, in [ISO
+ /// 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime {
+ get { return createTime_; }
+ set {
+ createTime_ = value;
+ }
+ }
+
+ /// Field number for the "last_update_time" field.
+ public const int LastUpdateTimeFieldNumber = 6;
+ private global::Google.Protobuf.WellKnownTypes.Timestamp lastUpdateTime_;
+ ///
+ /// Output only. Date on which the item has been last updated, in [ISO
+ /// 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Protobuf.WellKnownTypes.Timestamp LastUpdateTime {
+ get { return lastUpdateTime_; }
+ set {
+ lastUpdateTime_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as MerchantReviewStatus);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(MerchantReviewStatus other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!destinationStatuses_.Equals(other.destinationStatuses_)) return false;
+ if(!itemLevelIssues_.Equals(other.itemLevelIssues_)) return false;
+ if (!object.Equals(CreateTime, other.CreateTime)) return false;
+ if (!object.Equals(LastUpdateTime, other.LastUpdateTime)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= destinationStatuses_.GetHashCode();
+ hash ^= itemLevelIssues_.GetHashCode();
+ if (createTime_ != null) hash ^= CreateTime.GetHashCode();
+ if (lastUpdateTime_ != null) hash ^= LastUpdateTime.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ destinationStatuses_.WriteTo(output, _repeated_destinationStatuses_codec);
+ itemLevelIssues_.WriteTo(output, _repeated_itemLevelIssues_codec);
+ if (createTime_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(CreateTime);
+ }
+ if (lastUpdateTime_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(LastUpdateTime);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ destinationStatuses_.WriteTo(ref output, _repeated_destinationStatuses_codec);
+ itemLevelIssues_.WriteTo(ref output, _repeated_itemLevelIssues_codec);
+ if (createTime_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(CreateTime);
+ }
+ if (lastUpdateTime_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(LastUpdateTime);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ size += destinationStatuses_.CalculateSize(_repeated_destinationStatuses_codec);
+ size += itemLevelIssues_.CalculateSize(_repeated_itemLevelIssues_codec);
+ if (createTime_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime);
+ }
+ if (lastUpdateTime_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(LastUpdateTime);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(MerchantReviewStatus other) {
+ if (other == null) {
+ return;
+ }
+ destinationStatuses_.Add(other.destinationStatuses_);
+ itemLevelIssues_.Add(other.itemLevelIssues_);
+ if (other.createTime_ != null) {
+ if (createTime_ == null) {
+ CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ CreateTime.MergeFrom(other.CreateTime);
+ }
+ if (other.lastUpdateTime_ != null) {
+ if (lastUpdateTime_ == null) {
+ LastUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ LastUpdateTime.MergeFrom(other.LastUpdateTime);
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 26: {
+ destinationStatuses_.AddEntriesFrom(input, _repeated_destinationStatuses_codec);
+ break;
+ }
+ case 34: {
+ itemLevelIssues_.AddEntriesFrom(input, _repeated_itemLevelIssues_codec);
+ break;
+ }
+ case 42: {
+ if (createTime_ == null) {
+ CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(CreateTime);
+ break;
+ }
+ case 50: {
+ if (lastUpdateTime_ == null) {
+ LastUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(LastUpdateTime);
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 26: {
+ destinationStatuses_.AddEntriesFrom(ref input, _repeated_destinationStatuses_codec);
+ break;
+ }
+ case 34: {
+ itemLevelIssues_.AddEntriesFrom(ref input, _repeated_itemLevelIssues_codec);
+ break;
+ }
+ case 42: {
+ if (createTime_ == null) {
+ CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(CreateTime);
+ break;
+ }
+ case 50: {
+ if (lastUpdateTime_ == null) {
+ LastUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(LastUpdateTime);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ #region Nested types
+ /// Container for nested types declared in the MerchantReviewStatus message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static partial class Types {
+ ///
+ /// The destination status of the merchant review status.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class MerchantReviewDestinationStatus : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MerchantReviewDestinationStatus());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewDestinationStatus() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewDestinationStatus(MerchantReviewDestinationStatus other) : this() {
+ reportingContext_ = other.reportingContext_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewDestinationStatus Clone() {
+ return new MerchantReviewDestinationStatus(this);
+ }
+
+ /// Field number for the "reporting_context" field.
+ public const int ReportingContextFieldNumber = 1;
+ private global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum reportingContext_ = global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified;
+ ///
+ /// Output only. The name of the reporting context.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum ReportingContext {
+ get { return reportingContext_; }
+ set {
+ reportingContext_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as MerchantReviewDestinationStatus);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(MerchantReviewDestinationStatus other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ReportingContext != other.ReportingContext) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) hash ^= ReportingContext.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) ReportingContext);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) ReportingContext);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ReportingContext);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(MerchantReviewDestinationStatus other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ ReportingContext = other.ReportingContext;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ ReportingContext = (global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum) input.ReadEnum();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 8: {
+ ReportingContext = (global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum) input.ReadEnum();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ ///
+ /// The ItemLevelIssue of the merchant review status.
+ ///
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class MerchantReviewItemLevelIssue : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MerchantReviewItemLevelIssue());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Descriptor.NestedTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewItemLevelIssue() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewItemLevelIssue(MerchantReviewItemLevelIssue other) : this() {
+ code_ = other.code_;
+ severity_ = other.severity_;
+ resolution_ = other.resolution_;
+ attribute_ = other.attribute_;
+ reportingContext_ = other.reportingContext_;
+ description_ = other.description_;
+ detail_ = other.detail_;
+ documentation_ = other.documentation_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public MerchantReviewItemLevelIssue Clone() {
+ return new MerchantReviewItemLevelIssue(this);
+ }
+
+ /// Field number for the "code" field.
+ public const int CodeFieldNumber = 1;
+ private string code_ = "";
+ ///
+ /// Output only. The error code of the issue.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Code {
+ get { return code_; }
+ set {
+ code_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "severity" field.
+ public const int SeverityFieldNumber = 2;
+ private global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity severity_ = global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified;
+ ///
+ /// Output only. How this issue affects serving of the merchant review.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity Severity {
+ get { return severity_; }
+ set {
+ severity_ = value;
+ }
+ }
+
+ /// Field number for the "resolution" field.
+ public const int ResolutionFieldNumber = 3;
+ private string resolution_ = "";
+ ///
+ /// Output only. Whether the issue can be resolved by the merchant.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Resolution {
+ get { return resolution_; }
+ set {
+ resolution_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "attribute" field.
+ public const int AttributeFieldNumber = 4;
+ private string attribute_ = "";
+ ///
+ /// Output only. The attribute's name, if the issue is caused by a single
+ /// attribute.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Attribute {
+ get { return attribute_; }
+ set {
+ attribute_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "reporting_context" field.
+ public const int ReportingContextFieldNumber = 5;
+ private global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum reportingContext_ = global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified;
+ ///
+ /// Output only. The reporting context the issue applies to.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum ReportingContext {
+ get { return reportingContext_; }
+ set {
+ reportingContext_ = value;
+ }
+ }
+
+ /// Field number for the "description" field.
+ public const int DescriptionFieldNumber = 6;
+ private string description_ = "";
+ ///
+ /// Output only. A short issue description in English.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Description {
+ get { return description_; }
+ set {
+ description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "detail" field.
+ public const int DetailFieldNumber = 7;
+ private string detail_ = "";
+ ///
+ /// Output only. A detailed issue description in English.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Detail {
+ get { return detail_; }
+ set {
+ detail_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "documentation" field.
+ public const int DocumentationFieldNumber = 8;
+ private string documentation_ = "";
+ ///
+ /// Output only. The URL of a web page to help with resolving this issue.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Documentation {
+ get { return documentation_; }
+ set {
+ documentation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as MerchantReviewItemLevelIssue);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(MerchantReviewItemLevelIssue other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Code != other.Code) return false;
+ if (Severity != other.Severity) return false;
+ if (Resolution != other.Resolution) return false;
+ if (Attribute != other.Attribute) return false;
+ if (ReportingContext != other.ReportingContext) return false;
+ if (Description != other.Description) return false;
+ if (Detail != other.Detail) return false;
+ if (Documentation != other.Documentation) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Code.Length != 0) hash ^= Code.GetHashCode();
+ if (Severity != global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified) hash ^= Severity.GetHashCode();
+ if (Resolution.Length != 0) hash ^= Resolution.GetHashCode();
+ if (Attribute.Length != 0) hash ^= Attribute.GetHashCode();
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) hash ^= ReportingContext.GetHashCode();
+ if (Description.Length != 0) hash ^= Description.GetHashCode();
+ if (Detail.Length != 0) hash ^= Detail.GetHashCode();
+ if (Documentation.Length != 0) hash ^= Documentation.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Code.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Code);
+ }
+ if (Severity != global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified) {
+ output.WriteRawTag(16);
+ output.WriteEnum((int) Severity);
+ }
+ if (Resolution.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Resolution);
+ }
+ if (Attribute.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Attribute);
+ }
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ output.WriteRawTag(40);
+ output.WriteEnum((int) ReportingContext);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(Description);
+ }
+ if (Detail.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Detail);
+ }
+ if (Documentation.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(Documentation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Code.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Code);
+ }
+ if (Severity != global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified) {
+ output.WriteRawTag(16);
+ output.WriteEnum((int) Severity);
+ }
+ if (Resolution.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Resolution);
+ }
+ if (Attribute.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Attribute);
+ }
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ output.WriteRawTag(40);
+ output.WriteEnum((int) ReportingContext);
+ }
+ if (Description.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(Description);
+ }
+ if (Detail.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Detail);
+ }
+ if (Documentation.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(Documentation);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Code.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Code);
+ }
+ if (Severity != global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Severity);
+ }
+ if (Resolution.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Resolution);
+ }
+ if (Attribute.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Attribute);
+ }
+ if (ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ReportingContext);
+ }
+ if (Description.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
+ }
+ if (Detail.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Detail);
+ }
+ if (Documentation.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Documentation);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(MerchantReviewItemLevelIssue other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Code.Length != 0) {
+ Code = other.Code;
+ }
+ if (other.Severity != global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity.Unspecified) {
+ Severity = other.Severity;
+ }
+ if (other.Resolution.Length != 0) {
+ Resolution = other.Resolution;
+ }
+ if (other.Attribute.Length != 0) {
+ Attribute = other.Attribute;
+ }
+ if (other.ReportingContext != global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum.Unspecified) {
+ ReportingContext = other.ReportingContext;
+ }
+ if (other.Description.Length != 0) {
+ Description = other.Description;
+ }
+ if (other.Detail.Length != 0) {
+ Detail = other.Detail;
+ }
+ if (other.Documentation.Length != 0) {
+ Documentation = other.Documentation;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Code = input.ReadString();
+ break;
+ }
+ case 16: {
+ Severity = (global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity) input.ReadEnum();
+ break;
+ }
+ case 26: {
+ Resolution = input.ReadString();
+ break;
+ }
+ case 34: {
+ Attribute = input.ReadString();
+ break;
+ }
+ case 40: {
+ ReportingContext = (global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum) input.ReadEnum();
+ break;
+ }
+ case 50: {
+ Description = input.ReadString();
+ break;
+ }
+ case 58: {
+ Detail = input.ReadString();
+ break;
+ }
+ case 66: {
+ Documentation = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Code = input.ReadString();
+ break;
+ }
+ case 16: {
+ Severity = (global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReviewStatus.Types.MerchantReviewItemLevelIssue.Types.Severity) input.ReadEnum();
+ break;
+ }
+ case 26: {
+ Resolution = input.ReadString();
+ break;
+ }
+ case 34: {
+ Attribute = input.ReadString();
+ break;
+ }
+ case 40: {
+ ReportingContext = (global::Google.Shopping.Type.ReportingContext.Types.ReportingContextEnum) input.ReadEnum();
+ break;
+ }
+ case 50: {
+ Description = input.ReadString();
+ break;
+ }
+ case 58: {
+ Detail = input.ReadString();
+ break;
+ }
+ case 66: {
+ Documentation = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ #region Nested types
+ /// Container for nested types declared in the MerchantReviewItemLevelIssue message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static partial class Types {
+ ///
+ /// How the issue affects the serving of the merchant review.
+ ///
+ public enum Severity {
+ ///
+ /// Not specified.
+ ///
+ [pbr::OriginalName("SEVERITY_UNSPECIFIED")] Unspecified = 0,
+ ///
+ /// This issue represents a warning and does not have a direct affect
+ /// on the merchant review.
+ ///
+ [pbr::OriginalName("NOT_IMPACTED")] NotImpacted = 1,
+ ///
+ /// Issue disapproves the merchant review.
+ ///
+ [pbr::OriginalName("DISAPPROVED")] Disapproved = 2,
+ }
+
+ }
+ #endregion
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsGrpc.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsGrpc.g.cs
new file mode 100755
index 000000000000..cb068d32c607
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsGrpc.g.cs
@@ -0,0 +1,432 @@
+//
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/shopping/merchant/reviews/v1beta/merchantreviews.proto
+//
+// Original file comments:
+// 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
+//
+// http://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.
+//
+#pragma warning disable 0414, 1591, 8981, 0612
+#region Designer generated code
+
+using grpc = global::Grpc.Core;
+
+namespace Google.Shopping.Merchant.Reviews.V1Beta {
+ ///
+ /// Service to manage merchant reviews.
+ ///
+ public static partial class MerchantReviewsService
+ {
+ static readonly string __ServiceName = "google.shopping.merchant.reviews.v1beta.MerchantReviewsService";
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (message is global::Google.Protobuf.IBufferMessage)
+ {
+ context.SetPayloadLength(message.CalculateSize());
+ global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
+ context.Complete();
+ return;
+ }
+ #endif
+ context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static class __Helper_MessageCache
+ {
+ public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage
+ {
+ #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
+ if (__Helper_MessageCache.IsBufferMessage)
+ {
+ return parser.ParseFrom(context.PayloadAsReadOnlySequence());
+ }
+ #endif
+ return parser.ParseFrom(context.PayloadAsNewBuffer());
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_GetMerchantReviewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_MerchantReview = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_ListMerchantReviewsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_ListMerchantReviewsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_InsertMerchantReviewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_shopping_merchant_reviews_v1beta_DeleteMerchantReviewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_google_protobuf_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Protobuf.WellKnownTypes.Empty.Parser));
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_GetMerchantReview = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "GetMerchantReview",
+ __Marshaller_google_shopping_merchant_reviews_v1beta_GetMerchantReviewRequest,
+ __Marshaller_google_shopping_merchant_reviews_v1beta_MerchantReview);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_ListMerchantReviews = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "ListMerchantReviews",
+ __Marshaller_google_shopping_merchant_reviews_v1beta_ListMerchantReviewsRequest,
+ __Marshaller_google_shopping_merchant_reviews_v1beta_ListMerchantReviewsResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_InsertMerchantReview = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "InsertMerchantReview",
+ __Marshaller_google_shopping_merchant_reviews_v1beta_InsertMerchantReviewRequest,
+ __Marshaller_google_shopping_merchant_reviews_v1beta_MerchantReview);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_DeleteMerchantReview = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "DeleteMerchantReview",
+ __Marshaller_google_shopping_merchant_reviews_v1beta_DeleteMerchantReviewRequest,
+ __Marshaller_google_protobuf_Empty);
+
+ /// Service descriptor
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
+ {
+ get { return global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantreviewsReflection.Descriptor.Services[0]; }
+ }
+
+ /// Base class for server-side implementations of MerchantReviewsService
+ [grpc::BindServiceMethod(typeof(MerchantReviewsService), "BindService")]
+ public abstract partial class MerchantReviewsServiceBase
+ {
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task GetMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task ListMerchantReviews(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task InsertMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task DeleteMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ }
+
+ /// Client for MerchantReviewsService
+ public partial class MerchantReviewsServiceClient : grpc::ClientBase
+ {
+ /// Creates a new client for MerchantReviewsService
+ /// The channel to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public MerchantReviewsServiceClient(grpc::ChannelBase channel) : base(channel)
+ {
+ }
+ /// Creates a new client for MerchantReviewsService that uses a custom CallInvoker.
+ /// The callInvoker to use to make remote calls.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public MerchantReviewsServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
+ {
+ }
+ /// Protected parameterless constructor to allow creation of test doubles.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected MerchantReviewsServiceClient() : base()
+ {
+ }
+ /// Protected constructor to allow creation of configured clients.
+ /// The client configuration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected MerchantReviewsServiceClient(ClientBaseConfiguration configuration) : base(configuration)
+ {
+ }
+
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview GetMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetMerchantReview(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview GetMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_GetMerchantReview, null, options, request);
+ }
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return GetMerchantReviewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Gets a merchant review.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall GetMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.GetMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_GetMerchantReview, null, options, request);
+ }
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsResponse ListMerchantReviews(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ListMerchantReviews(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsResponse ListMerchantReviews(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_ListMerchantReviews, null, options, request);
+ }
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ListMerchantReviewsAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return ListMerchantReviewsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Lists merchant reviews.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall ListMerchantReviewsAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.ListMerchantReviewsRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_ListMerchantReviews, null, options, request);
+ }
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview InsertMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return InsertMerchantReview(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Shopping.Merchant.Reviews.V1Beta.MerchantReview InsertMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_InsertMerchantReview, null, options, request);
+ }
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall InsertMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return InsertMerchantReviewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Inserts a review for your Merchant Center account. If the review
+ /// already exists, then the review is replaced with the new instance.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall InsertMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.InsertMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_InsertMerchantReview, null, options, request);
+ }
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return DeleteMerchantReview(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteMerchantReview(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_DeleteMerchantReview, null, options, request);
+ }
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall DeleteMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return DeleteMerchantReviewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Deletes merchant review.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall DeleteMerchantReviewAsync(global::Google.Shopping.Merchant.Reviews.V1Beta.DeleteMerchantReviewRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_DeleteMerchantReview, null, options, request);
+ }
+ /// Creates a new instance of client from given ClientBaseConfiguration.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ protected override MerchantReviewsServiceClient NewInstance(ClientBaseConfiguration configuration)
+ {
+ return new MerchantReviewsServiceClient(configuration);
+ }
+ }
+
+ /// Creates service definition that can be registered with a server
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static grpc::ServerServiceDefinition BindService(MerchantReviewsServiceBase serviceImpl)
+ {
+ return grpc::ServerServiceDefinition.CreateBuilder()
+ .AddMethod(__Method_GetMerchantReview, serviceImpl.GetMerchantReview)
+ .AddMethod(__Method_ListMerchantReviews, serviceImpl.ListMerchantReviews)
+ .AddMethod(__Method_InsertMerchantReview, serviceImpl.InsertMerchantReview)
+ .AddMethod(__Method_DeleteMerchantReview, serviceImpl.DeleteMerchantReview).Build();
+ }
+
+ /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
+ /// Note: this method is part of an experimental API that can change or be removed without any prior notice.
+ /// Service methods will be bound by calling AddMethod on this object.
+ /// An object implementing the server-side handling logic.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public static void BindService(grpc::ServiceBinderBase serviceBinder, MerchantReviewsServiceBase serviceImpl)
+ {
+ serviceBinder.AddMethod(__Method_GetMerchantReview, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetMerchantReview));
+ serviceBinder.AddMethod(__Method_ListMerchantReviews, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListMerchantReviews));
+ serviceBinder.AddMethod(__Method_InsertMerchantReview, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.InsertMerchantReview));
+ serviceBinder.AddMethod(__Method_DeleteMerchantReview, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteMerchantReview));
+ }
+
+ }
+}
+#endregion
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsResourceNames.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsResourceNames.g.cs
new file mode 100755
index 000000000000..b716a9938faf
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/MerchantreviewsResourceNames.g.cs
@@ -0,0 +1,508 @@
+// 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!
+
+#pragma warning disable CS8981
+using gax = Google.Api.Gax;
+using gsmrv = Google.Shopping.Merchant.Reviews.V1Beta;
+using sys = System;
+
+namespace Google.Shopping.Merchant.Reviews.V1Beta
+{
+ /// Resource name for the MerchantReview resource.
+ public sealed partial class MerchantReviewName : gax::IResourceName, sys::IEquatable
+ {
+ /// The possible contents of .
+ public enum ResourceNameType
+ {
+ /// An unparsed resource name.
+ Unparsed = 0,
+
+ /// A resource name with pattern accounts/{account}/merchantReviews/{name}.
+ AccountName = 1,
+ }
+
+ private static gax::PathTemplate s_accountName = new gax::PathTemplate("accounts/{account}/merchantReviews/{name}");
+
+ /// Creates a containing an unparsed resource name.
+ /// The unparsed resource name. Must not be null.
+ ///
+ /// A new instance of containing the provided
+ /// .
+ ///
+ public static MerchantReviewName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) =>
+ new MerchantReviewName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName)));
+
+ ///
+ /// Creates a with the pattern accounts/{account}/merchantReviews/{name}
+ /// .
+ ///
+ /// The Account ID. Must not be null or empty.
+ /// The Name ID. Must not be null or empty.
+ /// A new instance of constructed from the provided ids.
+ public static MerchantReviewName FromAccountName(string accountId, string nameId) =>
+ new MerchantReviewName(ResourceNameType.AccountName, accountId: gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)), nameId: gax::GaxPreconditions.CheckNotNullOrEmpty(nameId, nameof(nameId)));
+
+ ///
+ /// Formats the IDs into the string representation of this with pattern
+ /// accounts/{account}/merchantReviews/{name}.
+ ///
+ /// The Account ID. Must not be null or empty.
+ /// The Name ID. Must not be null or empty.
+ ///
+ /// The string representation of this with pattern
+ /// accounts/{account}/merchantReviews/{name}.
+ ///
+ public static string Format(string accountId, string nameId) => FormatAccountName(accountId, nameId);
+
+ ///
+ /// Formats the IDs into the string representation of this with pattern
+ /// accounts/{account}/merchantReviews/{name}.
+ ///
+ /// The Account ID. Must not be null or empty.
+ /// The Name ID. Must not be null or empty.
+ ///
+ /// The string representation of this with pattern
+ /// accounts/{account}/merchantReviews/{name}.
+ ///
+ public static string FormatAccountName(string accountId, string nameId) =>
+ s_accountName.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)), gax::GaxPreconditions.CheckNotNullOrEmpty(nameId, nameof(nameId)));
+
+ ///
+ /// Parses the given resource name string into a new instance.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ ///
+ /// - accounts/{account}/merchantReviews/{name}
+ ///
+ ///
+ /// The resource name in string form. Must not be null.
+ /// The parsed if successful.
+ public static MerchantReviewName Parse(string merchantReviewName) => Parse(merchantReviewName, false);
+
+ ///
+ /// Parses the given resource name string into a new instance; optionally
+ /// allowing an unparseable resource name.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ ///
+ /// - accounts/{account}/merchantReviews/{name}
+ ///
+ /// Or may be in any format if is true.
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// If true will successfully store an unparseable resource name into the
+ /// property; otherwise will throw an if an unparseable resource name is
+ /// specified.
+ ///
+ /// The parsed if successful.
+ public static MerchantReviewName Parse(string merchantReviewName, bool allowUnparsed) =>
+ TryParse(merchantReviewName, allowUnparsed, out MerchantReviewName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern.");
+
+ ///
+ /// Tries to parse the given resource name string into a new instance.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ ///
+ /// - accounts/{account}/merchantReviews/{name}
+ ///
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// When this method returns, the parsed , or null if parsing failed.
+ ///
+ /// true if the name was parsed successfully; false otherwise.
+ public static bool TryParse(string merchantReviewName, out MerchantReviewName result) =>
+ TryParse(merchantReviewName, false, out result);
+
+ ///
+ /// Tries to parse the given resource name string into a new instance;
+ /// optionally allowing an unparseable resource name.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ ///
+ /// - accounts/{account}/merchantReviews/{name}
+ ///
+ /// Or may be in any format if is true.
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// If true will successfully store an unparseable resource name into the
+ /// property; otherwise will throw an if an unparseable resource name is
+ /// specified.
+ ///
+ ///
+ /// When this method returns, the parsed , or null if parsing failed.
+ ///
+ /// true if the name was parsed successfully; false otherwise.
+ public static bool TryParse(string merchantReviewName, bool allowUnparsed, out MerchantReviewName result)
+ {
+ gax::GaxPreconditions.CheckNotNull(merchantReviewName, nameof(merchantReviewName));
+ gax::TemplatedResourceName resourceName;
+ if (s_accountName.TryParseName(merchantReviewName, out resourceName))
+ {
+ result = FromAccountName(resourceName[0], resourceName[1]);
+ return true;
+ }
+ if (allowUnparsed)
+ {
+ if (gax::UnparsedResourceName.TryParse(merchantReviewName, out gax::UnparsedResourceName unparsedResourceName))
+ {
+ result = FromUnparsed(unparsedResourceName);
+ return true;
+ }
+ }
+ result = null;
+ return false;
+ }
+
+ private MerchantReviewName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string accountId = null, string nameId = null)
+ {
+ Type = type;
+ UnparsedResource = unparsedResourceName;
+ AccountId = accountId;
+ NameId = nameId;
+ }
+
+ ///
+ /// Constructs a new instance of a class from the component parts of pattern
+ /// accounts/{account}/merchantReviews/{name}
+ ///
+ /// The Account ID. Must not be null or empty.
+ /// The Name ID. Must not be null or empty.
+ public MerchantReviewName(string accountId, string nameId) : this(ResourceNameType.AccountName, accountId: gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)), nameId: gax::GaxPreconditions.CheckNotNullOrEmpty(nameId, nameof(nameId)))
+ {
+ }
+
+ /// The of the contained resource name.
+ public ResourceNameType Type { get; }
+
+ ///
+ /// The contained . Only non-null if this instance contains an
+ /// unparsed resource name.
+ ///
+ public gax::UnparsedResourceName UnparsedResource { get; }
+
+ ///
+ /// The Account ID. Will not be null, unless this instance contains an unparsed resource name.
+ ///
+ public string AccountId { get; }
+
+ ///
+ /// The Name ID. Will not be null, unless this instance contains an unparsed resource name.
+ ///
+ public string NameId { get; }
+
+ /// Whether this instance contains a resource name with a known pattern.
+ public bool IsKnownPattern => Type != ResourceNameType.Unparsed;
+
+ /// The string representation of the resource name.
+ /// The string representation of the resource name.
+ public override string ToString()
+ {
+ switch (Type)
+ {
+ case ResourceNameType.Unparsed: return UnparsedResource.ToString();
+ case ResourceNameType.AccountName: return s_accountName.Expand(AccountId, NameId);
+ default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
+ }
+ }
+
+ /// Returns a hash code for this resource name.
+ public override int GetHashCode() => ToString().GetHashCode();
+
+ ///
+ public override bool Equals(object obj) => Equals(obj as MerchantReviewName);
+
+ ///
+ public bool Equals(MerchantReviewName other) => ToString() == other?.ToString();
+
+ /// Determines whether two specified resource names have the same value.
+ /// The first resource name to compare, or null.
+ /// The second resource name to compare, or null.
+ ///
+ /// true if the value of is the same as the value of ; otherwise,
+ /// false.
+ ///
+ public static bool operator ==(MerchantReviewName a, MerchantReviewName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false);
+
+ /// Determines whether two specified resource names have different values.
+ /// The first resource name to compare, or null.
+ /// The second resource name to compare, or null.
+ ///
+ /// true if the value of is different from the value of ; otherwise,
+ /// false.
+ ///
+ public static bool operator !=(MerchantReviewName a, MerchantReviewName b) => !(a == b);
+ }
+
+ /// Resource name for the Account resource.
+ public sealed partial class AccountName : gax::IResourceName, sys::IEquatable
+ {
+ /// The possible contents of .
+ public enum ResourceNameType
+ {
+ /// An unparsed resource name.
+ Unparsed = 0,
+
+ /// A resource name with pattern accounts/{account}.
+ Account = 1,
+ }
+
+ private static gax::PathTemplate s_account = new gax::PathTemplate("accounts/{account}");
+
+ /// Creates a containing an unparsed resource name.
+ /// The unparsed resource name. Must not be null.
+ ///
+ /// A new instance of containing the provided .
+ ///
+ public static AccountName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) =>
+ new AccountName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName)));
+
+ /// Creates a with the pattern accounts/{account}.
+ /// The Account ID. Must not be null or empty.
+ /// A new instance of constructed from the provided ids.
+ public static AccountName FromAccount(string accountId) =>
+ new AccountName(ResourceNameType.Account, accountId: gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)));
+
+ ///
+ /// Formats the IDs into the string representation of this with pattern
+ /// accounts/{account}.
+ ///
+ /// The Account ID. Must not be null or empty.
+ ///
+ /// The string representation of this with pattern accounts/{account}.
+ ///
+ public static string Format(string accountId) => FormatAccount(accountId);
+
+ ///
+ /// Formats the IDs into the string representation of this with pattern
+ /// accounts/{account}.
+ ///
+ /// The Account ID. Must not be null or empty.
+ ///
+ /// The string representation of this with pattern accounts/{account}.
+ ///
+ public static string FormatAccount(string accountId) =>
+ s_account.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)));
+
+ /// Parses the given resource name string into a new instance.
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ /// - accounts/{account}
+ ///
+ /// The resource name in string form. Must not be null.
+ /// The parsed if successful.
+ public static AccountName Parse(string accountName) => Parse(accountName, false);
+
+ ///
+ /// Parses the given resource name string into a new instance; optionally allowing an
+ /// unparseable resource name.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ /// - accounts/{account}
+ /// Or may be in any format if is true.
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// If true will successfully store an unparseable resource name into the
+ /// property; otherwise will throw an if an unparseable resource name is
+ /// specified.
+ ///
+ /// The parsed if successful.
+ public static AccountName Parse(string accountName, bool allowUnparsed) =>
+ TryParse(accountName, allowUnparsed, out AccountName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern.");
+
+ ///
+ /// Tries to parse the given resource name string into a new instance.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ /// - accounts/{account}
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// When this method returns, the parsed , or null if parsing failed.
+ ///
+ /// true if the name was parsed successfully; false otherwise.
+ public static bool TryParse(string accountName, out AccountName result) => TryParse(accountName, false, out result);
+
+ ///
+ /// Tries to parse the given resource name string into a new instance; optionally
+ /// allowing an unparseable resource name.
+ ///
+ ///
+ /// To parse successfully, the resource name must be formatted as one of the following:
+ /// - accounts/{account}
+ /// Or may be in any format if is true.
+ ///
+ /// The resource name in string form. Must not be null.
+ ///
+ /// If true will successfully store an unparseable resource name into the
+ /// property; otherwise will throw an if an unparseable resource name is
+ /// specified.
+ ///
+ ///
+ /// When this method returns, the parsed , or null if parsing failed.
+ ///
+ /// true if the name was parsed successfully; false otherwise.
+ public static bool TryParse(string accountName, bool allowUnparsed, out AccountName result)
+ {
+ gax::GaxPreconditions.CheckNotNull(accountName, nameof(accountName));
+ gax::TemplatedResourceName resourceName;
+ if (s_account.TryParseName(accountName, out resourceName))
+ {
+ result = FromAccount(resourceName[0]);
+ return true;
+ }
+ if (allowUnparsed)
+ {
+ if (gax::UnparsedResourceName.TryParse(accountName, out gax::UnparsedResourceName unparsedResourceName))
+ {
+ result = FromUnparsed(unparsedResourceName);
+ return true;
+ }
+ }
+ result = null;
+ return false;
+ }
+
+ private AccountName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string accountId = null)
+ {
+ Type = type;
+ UnparsedResource = unparsedResourceName;
+ AccountId = accountId;
+ }
+
+ ///
+ /// Constructs a new instance of a class from the component parts of pattern
+ /// accounts/{account}
+ ///
+ /// The Account ID. Must not be null or empty.
+ public AccountName(string accountId) : this(ResourceNameType.Account, accountId: gax::GaxPreconditions.CheckNotNullOrEmpty(accountId, nameof(accountId)))
+ {
+ }
+
+ /// The of the contained resource name.
+ public ResourceNameType Type { get; }
+
+ ///
+ /// The contained . Only non-null if this instance contains an
+ /// unparsed resource name.
+ ///
+ public gax::UnparsedResourceName UnparsedResource { get; }
+
+ ///
+ /// The Account ID. Will not be null, unless this instance contains an unparsed resource name.
+ ///
+ public string AccountId { get; }
+
+ /// Whether this instance contains a resource name with a known pattern.
+ public bool IsKnownPattern => Type != ResourceNameType.Unparsed;
+
+ /// The string representation of the resource name.
+ /// The string representation of the resource name.
+ public override string ToString()
+ {
+ switch (Type)
+ {
+ case ResourceNameType.Unparsed: return UnparsedResource.ToString();
+ case ResourceNameType.Account: return s_account.Expand(AccountId);
+ default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
+ }
+ }
+
+ /// Returns a hash code for this resource name.
+ public override int GetHashCode() => ToString().GetHashCode();
+
+ ///
+ public override bool Equals(object obj) => Equals(obj as AccountName);
+
+ ///
+ public bool Equals(AccountName other) => ToString() == other?.ToString();
+
+ /// Determines whether two specified resource names have the same value.
+ /// The first resource name to compare, or null.
+ /// The second resource name to compare, or null.
+ ///
+ /// true if the value of is the same as the value of ; otherwise,
+ /// false.
+ ///
+ public static bool operator ==(AccountName a, AccountName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false);
+
+ /// Determines whether two specified resource names have different values.
+ /// The first resource name to compare, or null.
+ /// The second resource name to compare, or null.
+ ///
+ /// true if the value of is different from the value of ; otherwise,
+ /// false.
+ ///
+ public static bool operator !=(AccountName a, AccountName b) => !(a == b);
+ }
+
+ public partial class GetMerchantReviewRequest
+ {
+ ///
+ /// -typed view over the resource name property.
+ ///
+ public gsmrv::MerchantReviewName MerchantReviewName
+ {
+ get => string.IsNullOrEmpty(Name) ? null : gsmrv::MerchantReviewName.Parse(Name, allowUnparsed: true);
+ set => Name = value?.ToString() ?? "";
+ }
+ }
+
+ public partial class DeleteMerchantReviewRequest
+ {
+ ///
+ /// -typed view over the resource name property.
+ ///
+ public gsmrv::MerchantReviewName MerchantReviewName
+ {
+ get => string.IsNullOrEmpty(Name) ? null : gsmrv::MerchantReviewName.Parse(Name, allowUnparsed: true);
+ set => Name = value?.ToString() ?? "";
+ }
+ }
+
+ public partial class ListMerchantReviewsRequest
+ {
+ ///
+ /// -typed view over the resource name property.
+ ///
+ public AccountName ParentAsAccountName
+ {
+ get => string.IsNullOrEmpty(Parent) ? null : AccountName.Parse(Parent, allowUnparsed: true);
+ set => Parent = value?.ToString() ?? "";
+ }
+ }
+
+ public partial class MerchantReview
+ {
+ ///
+ /// -typed view over the resource name property.
+ ///
+ public gsmrv::MerchantReviewName MerchantReviewName
+ {
+ get => string.IsNullOrEmpty(Name) ? null : gsmrv::MerchantReviewName.Parse(Name, allowUnparsed: true);
+ set => Name = value?.ToString() ?? "";
+ }
+ }
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/PackageApiMetadata.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/PackageApiMetadata.g.cs
new file mode 100755
index 000000000000..5ec26aed34fa
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/PackageApiMetadata.g.cs
@@ -0,0 +1,39 @@
+// 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!
+
+#pragma warning disable CS8981
+using gaxgrpc = Google.Api.Gax.Grpc;
+using gpr = Google.Protobuf.Reflection;
+using scg = System.Collections.Generic;
+
+namespace Google.Shopping.Merchant.Reviews.V1Beta
+{
+ /// Static class to provide common access to package-wide API metadata.
+ internal static class PackageApiMetadata
+ {
+ /// The for services in this package.
+ internal static gaxgrpc::ApiMetadata ApiMetadata { get; } = new gaxgrpc::ApiMetadata("Google.Shopping.Merchant.Reviews.V1Beta", GetFileDescriptors)
+ .WithRequestNumericEnumJsonEncoding(true);
+
+ private static scg::IEnumerable GetFileDescriptors()
+ {
+ yield return MerchantreviewsReflection.Descriptor;
+ yield return MerchantreviewsCommonReflection.Descriptor;
+ yield return ProductreviewsReflection.Descriptor;
+ yield return ProductreviewsCommonReflection.Descriptor;
+ }
+ }
+}
diff --git a/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/ProductReviewsServiceClient.g.cs b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/ProductReviewsServiceClient.g.cs
new file mode 100755
index 000000000000..79cf0f1d5cf7
--- /dev/null
+++ b/owl-bot-staging/Google.Shopping.Merchant.Reviews.V1Beta/Google.Shopping.Merchant.Reviews.V1Beta/ProductReviewsServiceClient.g.cs
@@ -0,0 +1,858 @@
+// 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!
+
+#pragma warning disable CS8981
+using gax = Google.Api.Gax;
+using gaxgrpc = Google.Api.Gax.Grpc;
+using grpccore = Grpc.Core;
+using grpcinter = Grpc.Core.Interceptors;
+using mel = Microsoft.Extensions.Logging;
+using proto = Google.Protobuf;
+using sc = System.Collections;
+using scg = System.Collections.Generic;
+using sco = System.Collections.ObjectModel;
+using st = System.Threading;
+using stt = System.Threading.Tasks;
+using sys = System;
+using wkt = Google.Protobuf.WellKnownTypes;
+
+namespace Google.Shopping.Merchant.Reviews.V1Beta
+{
+ /// Settings for instances.
+ public sealed partial class ProductReviewsServiceSettings : gaxgrpc::ServiceSettingsBase
+ {
+ /// Get a new instance of the default .
+ /// A new instance of the default .
+ public static ProductReviewsServiceSettings GetDefault() => new ProductReviewsServiceSettings();
+
+ ///
+ /// Constructs a new object with default settings.
+ ///
+ public ProductReviewsServiceSettings()
+ {
+ }
+
+ private ProductReviewsServiceSettings(ProductReviewsServiceSettings existing) : base(existing)
+ {
+ gax::GaxPreconditions.CheckNotNull(existing, nameof(existing));
+ GetProductReviewSettings = existing.GetProductReviewSettings;
+ ListProductReviewsSettings = existing.ListProductReviewsSettings;
+ InsertProductReviewSettings = existing.InsertProductReviewSettings;
+ DeleteProductReviewSettings = existing.DeleteProductReviewSettings;
+ OnCopy(existing);
+ }
+
+ partial void OnCopy(ProductReviewsServiceSettings existing);
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// ProductReviewsServiceClient.GetProductReview and ProductReviewsServiceClient.GetProductReviewAsync
+ /// .
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings GetProductReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// ProductReviewsServiceClient.ListProductReviews and
+ /// ProductReviewsServiceClient.ListProductReviewsAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings ListProductReviewsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// ProductReviewsServiceClient.InsertProductReview and
+ /// ProductReviewsServiceClient.InsertProductReviewAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings InsertProductReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// ProductReviewsServiceClient.DeleteProductReview and
+ /// ProductReviewsServiceClient.DeleteProductReviewAsync.
+ ///
+ ///
+ ///
+ /// - Initial retry delay: 1000 milliseconds.
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds.
+ /// - Maximum attempts: 5
+ /// -
+ /// Retriable status codes: .
+ ///
+ /// - Timeout: 60 seconds.
+ ///
+ ///
+ public gaxgrpc::CallSettings DeleteProductReviewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable)));
+
+ /// Creates a deep clone of this object, with all the same property values.
+ /// A deep clone of this object.
+ public ProductReviewsServiceSettings Clone() => new ProductReviewsServiceSettings(this);
+ }
+
+ ///
+ /// Builder class for to provide simple configuration of credentials,
+ /// endpoint etc.
+ ///
+ public sealed partial class ProductReviewsServiceClientBuilder : gaxgrpc::ClientBuilderBase
+ {
+ /// The settings to use for RPCs, or null for the default settings.
+ public ProductReviewsServiceSettings Settings { get; set; }
+
+ /// Creates a new builder with default settings.
+ public ProductReviewsServiceClientBuilder() : base(ProductReviewsServiceClient.ServiceMetadata)
+ {
+ }
+
+ partial void InterceptBuild(ref ProductReviewsServiceClient client);
+
+ partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task);
+
+ /// Builds the resulting client.
+ public override ProductReviewsServiceClient Build()
+ {
+ ProductReviewsServiceClient client = null;
+ InterceptBuild(ref client);
+ return client ?? BuildImpl();
+ }
+
+ /// Builds the resulting client asynchronously.
+ public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default)
+ {
+ stt::Task task = null;
+ InterceptBuildAsync(cancellationToken, ref task);
+ return task ?? BuildAsyncImpl(cancellationToken);
+ }
+
+ private ProductReviewsServiceClient BuildImpl()
+ {
+ Validate();
+ grpccore::CallInvoker callInvoker = CreateCallInvoker();
+ return ProductReviewsServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger);
+ }
+
+ private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken)
+ {
+ Validate();
+ grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false);
+ return ProductReviewsServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger);
+ }
+
+ /// Returns the channel pool to use when no other options are specified.
+ protected override gaxgrpc::ChannelPool GetChannelPool() => ProductReviewsServiceClient.ChannelPool;
+ }
+
+ /// ProductReviewsService client wrapper, for convenient use.
+ ///
+ /// Service to manage product reviews.
+ ///
+ public abstract partial class ProductReviewsServiceClient
+ {
+ ///
+ /// The default endpoint for the ProductReviewsService service, which is a host of "merchantapi.googleapis.com"
+ /// and a port of 443.
+ ///
+ public static string DefaultEndpoint { get; } = "merchantapi.googleapis.com:443";
+
+ /// The default ProductReviewsService scopes.
+ ///
+ /// The default ProductReviewsService scopes are:
+ /// - https://www.googleapis.com/auth/content
+ ///
+ public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[]
+ {
+ "https://www.googleapis.com/auth/content",
+ });
+
+ /// The service metadata associated with this client type.
+ public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ProductReviewsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
+
+ internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
+
+ ///
+ /// Asynchronously creates a using the default credentials, endpoint
+ /// and settings. To specify custom credentials or other settings, use
+ /// .
+ ///
+ ///
+ /// The to use while creating the client.
+ ///
+ /// The task representing the created .
+ public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) =>
+ new ProductReviewsServiceClientBuilder().BuildAsync(cancellationToken);
+
+ ///
+ /// Synchronously creates a using the default credentials, endpoint
+ /// and settings. To specify custom credentials or other settings, use
+ /// .
+ ///
+ /// The created .
+ public static ProductReviewsServiceClient Create() => new ProductReviewsServiceClientBuilder().Build();
+
+ ///
+ /// Creates a which uses the specified call invoker for remote
+ /// operations.
+ ///
+ ///
+ /// The for remote operations. Must not be null.
+ ///
+ /// Optional .
+ /// Optional .
+ /// The created .
+ internal static ProductReviewsServiceClient Create(grpccore::CallInvoker callInvoker, ProductReviewsServiceSettings settings = null, mel::ILogger logger = null)
+ {
+ gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
+ grpcinter::Interceptor interceptor = settings?.Interceptor;
+ if (interceptor != null)
+ {
+ callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
+ }
+ ProductReviewsService.ProductReviewsServiceClient grpcClient = new ProductReviewsService.ProductReviewsServiceClient(callInvoker);
+ return new ProductReviewsServiceClientImpl(grpcClient, settings, logger);
+ }
+
+ ///
+ /// Shuts down any channels automatically created by and
+ /// . Channels which weren't automatically created are not
+ /// affected.
+ ///
+ ///
+ /// After calling this method, further calls to and
+ /// will create new channels, which could in turn be shut down
+ /// by another call to this method.
+ ///
+ /// A task representing the asynchronous shutdown operation.
+ public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync();
+
+ /// The underlying gRPC ProductReviewsService client
+ public virtual ProductReviewsService.ProductReviewsServiceClient GrpcClient => throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual ProductReview GetProductReview(GetProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(GetProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Gets a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(GetProductReviewRequest request, st::CancellationToken cancellationToken) =>
+ GetProductReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual ProductReview GetProductReview(string name, gaxgrpc::CallSettings callSettings = null) =>
+ GetProductReview(new GetProductReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(string name, gaxgrpc::CallSettings callSettings = null) =>
+ GetProductReviewAsync(new GetProductReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(string name, st::CancellationToken cancellationToken) =>
+ GetProductReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual ProductReview GetProductReview(ProductReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ GetProductReview(new GetProductReviewRequest
+ {
+ ProductReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(ProductReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ GetProductReviewAsync(new GetProductReviewRequest
+ {
+ ProductReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Gets a product review.
+ ///
+ ///
+ /// Required. The ID of the merchant review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task GetProductReviewAsync(ProductReviewName name, st::CancellationToken cancellationToken) =>
+ GetProductReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Lists product reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListProductReviews(ListProductReviewsRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Lists product reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListProductReviewsAsync(ListProductReviewsRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Lists product reviews.
+ ///
+ ///
+ /// Required. The account to list product reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListProductReviews(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListProductReviews(request, callSettings);
+ }
+
+ ///
+ /// Lists product reviews.
+ ///
+ ///
+ /// Required. The account to list product reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListProductReviewsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListProductReviewsAsync(request, callSettings);
+ }
+
+ ///
+ /// Lists product reviews.
+ ///
+ ///
+ /// Required. The account to list product reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public virtual gax::PagedEnumerable ListProductReviews(AccountName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListProductReviews(request, callSettings);
+ }
+
+ ///
+ /// Lists product reviews.
+ ///
+ ///
+ /// Required. The account to list product reviews for.
+ /// Format: accounts/{account}
+ ///
+ ///
+ /// The token returned from the previous request. A value of null or an empty string retrieves the first
+ /// page.
+ ///
+ ///
+ /// The size of page to request. The response will not be larger than this, but may be smaller. A value of
+ /// null or 0 uses a server-defined page size.
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public virtual gax::PagedAsyncEnumerable ListProductReviewsAsync(AccountName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null)
+ {
+ ListProductReviewsRequest request = new ListProductReviewsRequest
+ {
+ ParentAsAccountName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)),
+ };
+ if (pageToken != null)
+ {
+ request.PageToken = pageToken;
+ }
+ if (pageSize != null)
+ {
+ request.PageSize = pageSize.Value;
+ }
+ return ListProductReviewsAsync(request, callSettings);
+ }
+
+ ///
+ /// Inserts a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual ProductReview InsertProductReview(InsertProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Inserts a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task InsertProductReviewAsync(InsertProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Inserts a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task InsertProductReviewAsync(InsertProductReviewRequest request, st::CancellationToken cancellationToken) =>
+ InsertProductReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteProductReview(DeleteProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Deletes a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(DeleteProductReviewRequest request, gaxgrpc::CallSettings callSettings = null) =>
+ throw new sys::NotImplementedException();
+
+ ///
+ /// Deletes a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(DeleteProductReviewRequest request, st::CancellationToken cancellationToken) =>
+ DeleteProductReviewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteProductReview(string name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteProductReview(new DeleteProductReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(string name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteProductReviewAsync(new DeleteProductReviewRequest
+ {
+ Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(string name, st::CancellationToken cancellationToken) =>
+ DeleteProductReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public virtual void DeleteProductReview(ProductReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteProductReview(new DeleteProductReviewRequest
+ {
+ ProductReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(ProductReviewName name, gaxgrpc::CallSettings callSettings = null) =>
+ DeleteProductReviewAsync(new DeleteProductReviewRequest
+ {
+ ProductReviewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
+ }, callSettings);
+
+ ///
+ /// Deletes a product review.
+ ///
+ ///
+ /// Required. The ID of the Product review.
+ /// Format: accounts/{account}/productReviews/{productReview}
+ ///
+ /// A to use for this RPC.
+ /// A Task containing the RPC response.
+ public virtual stt::Task DeleteProductReviewAsync(ProductReviewName name, st::CancellationToken cancellationToken) =>
+ DeleteProductReviewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+ }
+
+ /// ProductReviewsService client wrapper implementation, for convenient use.
+ ///
+ /// Service to manage product reviews.
+ ///
+ public sealed partial class ProductReviewsServiceClientImpl : ProductReviewsServiceClient
+ {
+ private readonly gaxgrpc::ApiCall _callGetProductReview;
+
+ private readonly gaxgrpc::ApiCall _callListProductReviews;
+
+ private readonly gaxgrpc::ApiCall _callInsertProductReview;
+
+ private readonly gaxgrpc::ApiCall _callDeleteProductReview;
+
+ ///
+ /// Constructs a client wrapper for the ProductReviewsService service, with the specified gRPC client and
+ /// settings.
+ ///
+ /// The underlying gRPC client.
+ /// The base used within this client.
+ /// Optional to use within this client.
+ public ProductReviewsServiceClientImpl(ProductReviewsService.ProductReviewsServiceClient grpcClient, ProductReviewsServiceSettings settings, mel::ILogger logger)
+ {
+ GrpcClient = grpcClient;
+ ProductReviewsServiceSettings effectiveSettings = settings ?? ProductReviewsServiceSettings.GetDefault();
+ gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options
+ {
+ Settings = effectiveSettings,
+ Logger = logger,
+ });
+ _callGetProductReview = clientHelper.BuildApiCall("GetProductReview", grpcClient.GetProductReviewAsync, grpcClient.GetProductReview, effectiveSettings.GetProductReviewSettings).WithGoogleRequestParam("name", request => request.Name);
+ Modify_ApiCall(ref _callGetProductReview);
+ Modify_GetProductReviewApiCall(ref _callGetProductReview);
+ _callListProductReviews = clientHelper.BuildApiCall("ListProductReviews", grpcClient.ListProductReviewsAsync, grpcClient.ListProductReviews, effectiveSettings.ListProductReviewsSettings).WithGoogleRequestParam("parent", request => request.Parent);
+ Modify_ApiCall(ref _callListProductReviews);
+ Modify_ListProductReviewsApiCall(ref _callListProductReviews);
+ _callInsertProductReview = clientHelper.BuildApiCall("InsertProductReview", grpcClient.InsertProductReviewAsync, grpcClient.InsertProductReview, effectiveSettings.InsertProductReviewSettings).WithGoogleRequestParam("parent", request => request.Parent);
+ Modify_ApiCall(ref _callInsertProductReview);
+ Modify_InsertProductReviewApiCall(ref _callInsertProductReview);
+ _callDeleteProductReview = clientHelper.BuildApiCall("DeleteProductReview", grpcClient.DeleteProductReviewAsync, grpcClient.DeleteProductReview, effectiveSettings.DeleteProductReviewSettings).WithGoogleRequestParam("name", request => request.Name);
+ Modify_ApiCall(ref _callDeleteProductReview);
+ Modify_DeleteProductReviewApiCall(ref _callDeleteProductReview);
+ OnConstruction(grpcClient, effectiveSettings, clientHelper);
+ }
+
+ partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage;
+
+ partial void Modify_GetProductReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_ListProductReviewsApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_InsertProductReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void Modify_DeleteProductReviewApiCall(ref gaxgrpc::ApiCall call);
+
+ partial void OnConstruction(ProductReviewsService.ProductReviewsServiceClient grpcClient, ProductReviewsServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
+
+ /// The underlying gRPC ProductReviewsService client
+ public override ProductReviewsService.ProductReviewsServiceClient GrpcClient { get; }
+
+ partial void Modify_GetProductReviewRequest(ref GetProductReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_ListProductReviewsRequest(ref ListProductReviewsRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_InsertProductReviewRequest(ref InsertProductReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ partial void Modify_DeleteProductReviewRequest(ref DeleteProductReviewRequest request, ref gaxgrpc::CallSettings settings);
+
+ ///
+ /// Gets a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public override ProductReview GetProductReview(GetProductReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_GetProductReviewRequest(ref request, ref callSettings);
+ return _callGetProductReview.Sync(request, callSettings);
+ }
+
+ ///
+ /// Gets a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public override stt::Task GetProductReviewAsync(GetProductReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_GetProductReviewRequest(ref request, ref callSettings);
+ return _callGetProductReview.Async(request, callSettings);
+ }
+
+ ///
+ /// Lists product reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable sequence of resources.
+ public override gax::PagedEnumerable ListProductReviews(ListProductReviewsRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ListProductReviewsRequest(ref request, ref callSettings);
+ return new gaxgrpc::GrpcPagedEnumerable(_callListProductReviews, request, callSettings);
+ }
+
+ ///
+ /// Lists product reviews.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A pageable asynchronous sequence of resources.
+ public override gax::PagedAsyncEnumerable ListProductReviewsAsync(ListProductReviewsRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ListProductReviewsRequest(ref request, ref callSettings);
+ return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListProductReviews, request, callSettings);
+ }
+
+ ///
+ /// Inserts a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// The RPC response.
+ public override ProductReview InsertProductReview(InsertProductReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_InsertProductReviewRequest(ref request, ref callSettings);
+ return _callInsertProductReview.Sync(request, callSettings);
+ }
+
+ ///
+ /// Inserts a product review.
+ ///
+ /// The request object containing all of the parameters for the API call.
+ /// If not null, applies overrides to this RPC call.
+ /// A Task containing the RPC response.
+ public override stt::Task InsertProductReviewAsync(InsertProductReviewRequest request, gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_InsertProductReviewRequest(ref request, ref callSettings);
+ return _callInsertProductReview.Async(request, callSettings);
+ }
+
+ ///