From 41c170792d0bb39fdceddfcee7938ebb06bb4588 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 17 Jan 2024 20:15:10 +0000 Subject: [PATCH] fix!: remove BufferTask method which cannot be called from client libraries PiperOrigin-RevId: 599211253 Source-Link: https://github.com/googleapis/googleapis/commit/1654062e8ac5d9bcddc4792bc85f4193f8d73cb2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2055a533af154dcc263d5c0bcd78af84b44ef332 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuVGFza3MuVjJCZXRhMy8uT3dsQm90LnlhbWwiLCJoIjoiMjA1NWE1MzNhZjE1NGRjYzI2M2Q1YzBiY2Q3OGFmODRiNDRlZjMzMiJ9 --- ...oudTasksClient.BufferTaskAsyncSnippet.g.cs | 49 -- ...t.BufferTaskRequestObjectAsyncSnippet.g.cs | 52 -- ...Client.BufferTaskRequestObjectSnippet.g.cs | 49 -- ...t.BufferTaskResourceNamesAsyncSnippet.g.cs | 49 -- ...Client.BufferTaskResourceNamesSnippet.g.cs | 46 -- .../CloudTasksClient.BufferTaskSnippet.g.cs | 46 -- ...t_metadata_google.cloud.tasks.v2beta3.json | 319 -------- .../CloudTasksClientSnippets.g.cs | 100 --- .../CloudTasksClient.g.cs | 348 --------- .../Cloudtasks.g.cs | 735 +++--------------- .../CloudtasksGrpc.g.cs | 126 +-- .../CloudtasksResourceNames.g.cs | 10 - .../gapic_metadata.json | 6 - 13 files changed, 114 insertions(+), 1821 deletions(-) delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskAsyncSnippet.g.cs delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectAsyncSnippet.g.cs delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectSnippet.g.cs delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesAsyncSnippet.g.cs delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesSnippet.g.cs delete mode 100644 apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskSnippet.g.cs diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskAsyncSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskAsyncSnippet.g.cs deleted file mode 100644 index 07f5d0c5806b..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskAsyncSnippet.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -// 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 - -namespace GoogleCSharpSnippets -{ - // [START cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened] - using Google.Api; - using System.Threading.Tasks; - using gctv = Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTaskAsync - /// - /// 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 BufferTaskAsync() - { - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - string queue = "projects/[PROJECT]/locations/[LOCATION]/queues/[QUEUE]"; - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(queue, taskId, body); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectAsyncSnippet.g.cs deleted file mode 100644 index 30bf77db4ada..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectAsyncSnippet.g.cs +++ /dev/null @@ -1,52 +0,0 @@ -// 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 - -namespace GoogleCSharpSnippets -{ - // [START cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async] - using Google.Api; - using System.Threading.Tasks; - using gctv = Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTaskAsync - /// - /// 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 BufferTaskRequestObjectAsync() - { - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - gctv::BufferTaskRequest request = new gctv::BufferTaskRequest - { - QueueAsQueueName = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"), - TaskId = "", - Body = new HttpBody(), - }; - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(request); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectSnippet.g.cs deleted file mode 100644 index 6fe877990f50..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskRequestObjectSnippet.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -// 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 cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync] - using Google.Api; - using Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTask - /// - /// 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 BufferTaskRequestObject() - { - // Create client - CloudTasksClient cloudTasksClient = CloudTasksClient.Create(); - // Initialize request argument(s) - BufferTaskRequest request = new BufferTaskRequest - { - QueueAsQueueName = QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"), - TaskId = "", - Body = new HttpBody(), - }; - // Make the request - BufferTaskResponse response = cloudTasksClient.BufferTask(request); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesAsyncSnippet.g.cs deleted file mode 100644 index 14e90fe4a973..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesAsyncSnippet.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -// 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 - -namespace GoogleCSharpSnippets -{ - // [START cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened_resourceNames] - using Google.Api; - using System.Threading.Tasks; - using gctv = Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTaskAsync - /// - /// 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 BufferTaskResourceNamesAsync() - { - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - gctv::QueueName queue = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"); - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(queue, taskId, body); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened_resourceNames] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesSnippet.g.cs deleted file mode 100644 index 07771f98b826..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskResourceNamesSnippet.g.cs +++ /dev/null @@ -1,46 +0,0 @@ -// 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 cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened_resourceNames] - using Google.Api; - using Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTask - /// - /// 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 BufferTaskResourceNames() - { - // Create client - CloudTasksClient cloudTasksClient = CloudTasksClient.Create(); - // Initialize request argument(s) - QueueName queue = QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"); - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - BufferTaskResponse response = cloudTasksClient.BufferTask(queue, taskId, body); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened_resourceNames] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskSnippet.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskSnippet.g.cs deleted file mode 100644 index cba1eb166869..000000000000 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.BufferTaskSnippet.g.cs +++ /dev/null @@ -1,46 +0,0 @@ -// 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 cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened] - using Google.Api; - using Google.Cloud.Tasks.V2Beta3; - - public sealed partial class GeneratedCloudTasksClientSnippets - { - /// Snippet for BufferTask - /// - /// 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 BufferTask() - { - // Create client - CloudTasksClient cloudTasksClient = CloudTasksClient.Create(); - // Initialize request argument(s) - string queue = "projects/[PROJECT]/locations/[LOCATION]/queues/[QUEUE]"; - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - BufferTaskResponse response = cloudTasksClient.BufferTask(queue, taskId, body); - } - } - // [END cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened] -} diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/snippet_metadata_google.cloud.tasks.v2beta3.json b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/snippet_metadata_google.cloud.tasks.v2beta3.json index 133530e038d6..345b78f6f7ad 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/snippet_metadata_google.cloud.tasks.v2beta3.json +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/snippet_metadata_google.cloud.tasks.v2beta3.json @@ -4636,325 +4636,6 @@ "type": "SHORT" } ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync", - "title": "BufferTaskRequestObject", - "description": "Snippet for BufferTask", - "file": "CloudTasksClient.BufferTaskRequestObjectSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTask", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTask", - "parameters": [ - { - "type": "Google.Cloud.Tasks.V2Beta3.BufferTaskRequest", - "name": "request" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "Google.Cloud.Tasks.V2Beta3.BufferTaskResponse", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "canonical": true, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 20, - "end": 47, - "type": "FULL" - }, - { - "start": 35, - "end": 45, - "type": "SHORT" - } - ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async", - "title": "BufferTaskRequestObjectAsync", - "description": "Snippet for BufferTaskAsync", - "file": "CloudTasksClient.BufferTaskRequestObjectAsyncSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTaskAsync", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTaskAsync", - "async": true, - "parameters": [ - { - "type": "Google.Cloud.Tasks.V2Beta3.BufferTaskRequest", - "name": "request" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "System.Threading.Tasks.Task", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "canonical": true, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 22, - "end": 50, - "type": "FULL" - }, - { - "start": 38, - "end": 48, - "type": "SHORT" - } - ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened", - "title": "BufferTask", - "description": "Snippet for BufferTask", - "file": "CloudTasksClient.BufferTaskSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTask", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTask", - "parameters": [ - { - "type": "System.String", - "name": "queue" - }, - { - "type": "System.String", - "name": "taskId" - }, - { - "type": "Google.Api.HttpBody", - "name": "body" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "Google.Cloud.Tasks.V2Beta3.BufferTaskResponse", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 20, - "end": 44, - "type": "FULL" - }, - { - "start": 35, - "end": 42, - "type": "SHORT" - } - ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened", - "title": "BufferTaskAsync", - "description": "Snippet for BufferTaskAsync", - "file": "CloudTasksClient.BufferTaskAsyncSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTaskAsync", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTaskAsync", - "async": true, - "parameters": [ - { - "type": "System.String", - "name": "queue" - }, - { - "type": "System.String", - "name": "taskId" - }, - { - "type": "Google.Api.HttpBody", - "name": "body" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "System.Threading.Tasks.Task", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 22, - "end": 47, - "type": "FULL" - }, - { - "start": 38, - "end": 45, - "type": "SHORT" - } - ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_sync_flattened_resourceNames", - "title": "BufferTaskResourceNames", - "description": "Snippet for BufferTask", - "file": "CloudTasksClient.BufferTaskResourceNamesSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTask", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTask", - "parameters": [ - { - "type": "Google.Cloud.Tasks.V2Beta3.QueueName", - "name": "queue" - }, - { - "type": "System.String", - "name": "taskId" - }, - { - "type": "Google.Api.HttpBody", - "name": "body" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "Google.Cloud.Tasks.V2Beta3.BufferTaskResponse", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 20, - "end": 44, - "type": "FULL" - }, - { - "start": 35, - "end": 42, - "type": "SHORT" - } - ] - }, - { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_BufferTask_async_flattened_resourceNames", - "title": "BufferTaskResourceNamesAsync", - "description": "Snippet for BufferTaskAsync", - "file": "CloudTasksClient.BufferTaskResourceNamesAsyncSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "BufferTaskAsync", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient.BufferTaskAsync", - "async": true, - "parameters": [ - { - "type": "Google.Cloud.Tasks.V2Beta3.QueueName", - "name": "queue" - }, - { - "type": "System.String", - "name": "taskId" - }, - { - "type": "Google.Api.HttpBody", - "name": "body" - }, - { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" - } - ], - "resultType": "System.Threading.Tasks.Task", - "client": { - "shortName": "CloudTasksClient", - "fullName": "Google.Cloud.Tasks.V2Beta3.CloudTasksClient" - }, - "method": { - "shortName": "BufferTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.BufferTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } - }, - "origin": "API_DEFINITION", - "segments": [ - { - "start": 22, - "end": 47, - "type": "FULL" - }, - { - "start": 38, - "end": 45, - "type": "SHORT" - } - ] } ] } diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.Snippets/CloudTasksClientSnippets.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.Snippets/CloudTasksClientSnippets.g.cs index 60fac4a0d369..fd40c599dc64 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.Snippets/CloudTasksClientSnippets.g.cs +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.Snippets/CloudTasksClientSnippets.g.cs @@ -18,7 +18,6 @@ namespace GoogleCSharpSnippets { - using Google.Api; using Google.Api.Gax; using Google.Api.Gax.ResourceNames; using Google.Cloud.Iam.V1; @@ -1820,104 +1819,5 @@ public async Task RunTaskResourceNamesAsync() gctv::Task response = await cloudTasksClient.RunTaskAsync(name); // End snippet } - - /// Snippet for BufferTask - public void BufferTaskRequestObject() - { - // Snippet: BufferTask(BufferTaskRequest, CallSettings) - // Create client - gctv::CloudTasksClient cloudTasksClient = gctv::CloudTasksClient.Create(); - // Initialize request argument(s) - gctv::BufferTaskRequest request = new gctv::BufferTaskRequest - { - QueueAsQueueName = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"), - TaskId = "", - Body = new HttpBody(), - }; - // Make the request - gctv::BufferTaskResponse response = cloudTasksClient.BufferTask(request); - // End snippet - } - - /// Snippet for BufferTaskAsync - public async Task BufferTaskRequestObjectAsync() - { - // Snippet: BufferTaskAsync(BufferTaskRequest, CallSettings) - // Additional: BufferTaskAsync(BufferTaskRequest, CancellationToken) - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - gctv::BufferTaskRequest request = new gctv::BufferTaskRequest - { - QueueAsQueueName = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"), - TaskId = "", - Body = new HttpBody(), - }; - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(request); - // End snippet - } - - /// Snippet for BufferTask - public void BufferTask() - { - // Snippet: BufferTask(string, string, HttpBody, CallSettings) - // Create client - gctv::CloudTasksClient cloudTasksClient = gctv::CloudTasksClient.Create(); - // Initialize request argument(s) - string queue = "projects/[PROJECT]/locations/[LOCATION]/queues/[QUEUE]"; - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = cloudTasksClient.BufferTask(queue, taskId, body); - // End snippet - } - - /// Snippet for BufferTaskAsync - public async Task BufferTaskAsync() - { - // Snippet: BufferTaskAsync(string, string, HttpBody, CallSettings) - // Additional: BufferTaskAsync(string, string, HttpBody, CancellationToken) - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - string queue = "projects/[PROJECT]/locations/[LOCATION]/queues/[QUEUE]"; - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(queue, taskId, body); - // End snippet - } - - /// Snippet for BufferTask - public void BufferTaskResourceNames() - { - // Snippet: BufferTask(QueueName, string, HttpBody, CallSettings) - // Create client - gctv::CloudTasksClient cloudTasksClient = gctv::CloudTasksClient.Create(); - // Initialize request argument(s) - gctv::QueueName queue = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"); - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = cloudTasksClient.BufferTask(queue, taskId, body); - // End snippet - } - - /// Snippet for BufferTaskAsync - public async Task BufferTaskResourceNamesAsync() - { - // Snippet: BufferTaskAsync(QueueName, string, HttpBody, CallSettings) - // Additional: BufferTaskAsync(QueueName, string, HttpBody, CancellationToken) - // Create client - gctv::CloudTasksClient cloudTasksClient = await gctv::CloudTasksClient.CreateAsync(); - // Initialize request argument(s) - gctv::QueueName queue = gctv::QueueName.FromProjectLocationQueue("[PROJECT]", "[LOCATION]", "[QUEUE]"); - string taskId = ""; - HttpBody body = new HttpBody(); - // Make the request - gctv::BufferTaskResponse response = await cloudTasksClient.BufferTaskAsync(queue, taskId, body); - // End snippet - } } } diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudTasksClient.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudTasksClient.g.cs index 3758405a9279..df070333383f 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudTasksClient.g.cs +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudTasksClient.g.cs @@ -15,7 +15,6 @@ // Generated code. DO NOT EDIT! #pragma warning disable CS8981 -using ga = Google.Api; using gax = Google.Api.Gax; using gaxgrpc = Google.Api.Gax.Grpc; using gagr = Google.Api.Gax.ResourceNames; @@ -66,7 +65,6 @@ private CloudTasksSettings(CloudTasksSettings existing) : base(existing) CreateTaskSettings = existing.CreateTaskSettings; DeleteTaskSettings = existing.DeleteTaskSettings; RunTaskSettings = existing.RunTaskSettings; - BufferTaskSettings = existing.BufferTaskSettings; LocationsSettings = existing.LocationsSettings; OnCopy(existing); } @@ -337,18 +335,6 @@ private CloudTasksSettings(CloudTasksSettings existing) : base(existing) /// public gaxgrpc::CallSettings RunTaskSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(20000))); - /// - /// for synchronous and asynchronous calls to CloudTasksClient.BufferTask - /// and CloudTasksClient.BufferTaskAsync. - /// - /// - /// - /// This call will not be retried. - /// Timeout: 20 seconds. - /// - /// - public gaxgrpc::CallSettings BufferTaskSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(20000))); - /// /// The settings to use for the associated with the client. /// @@ -3781,287 +3767,6 @@ internal static CloudTasksClient Create(grpccore::CallInvoker callInvoker, Cloud /// A Task containing the RPC response. public virtual stt::Task RunTaskAsync(TaskName name, st::CancellationToken cancellationToken) => RunTaskAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskResponse BufferTask(BufferTaskRequest request, gaxgrpc::CallSettings callSettings = null) => - throw new sys::NotImplementedException(); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskAsync(BufferTaskRequest request, gaxgrpc::CallSettings callSettings = null) => - throw new sys::NotImplementedException(); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskAsync(BufferTaskRequest request, st::CancellationToken cancellationToken) => - BufferTaskAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// If not null, applies overrides to this RPC call. - /// The RPC response. - public virtual BufferTaskResponse BufferTask(string queue, string taskId, ga::HttpBody body, gaxgrpc::CallSettings callSettings = null) => - BufferTask(new BufferTaskRequest - { - Queue = gax::GaxPreconditions.CheckNotNullOrEmpty(queue, nameof(queue)), - TaskId = taskId ?? "", - Body = body, - }, callSettings); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// If not null, applies overrides to this RPC call. - /// A Task containing the RPC response. - public virtual stt::Task BufferTaskAsync(string queue, string taskId, ga::HttpBody body, gaxgrpc::CallSettings callSettings = null) => - BufferTaskAsync(new BufferTaskRequest - { - Queue = gax::GaxPreconditions.CheckNotNullOrEmpty(queue, nameof(queue)), - TaskId = taskId ?? "", - Body = body, - }, callSettings); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// A to use for this RPC. - /// A Task containing the RPC response. - public virtual stt::Task BufferTaskAsync(string queue, string taskId, ga::HttpBody body, st::CancellationToken cancellationToken) => - BufferTaskAsync(queue, taskId, body, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// If not null, applies overrides to this RPC call. - /// The RPC response. - public virtual BufferTaskResponse BufferTask(QueueName queue, string taskId, ga::HttpBody body, gaxgrpc::CallSettings callSettings = null) => - BufferTask(new BufferTaskRequest - { - QueueAsQueueName = gax::GaxPreconditions.CheckNotNull(queue, nameof(queue)), - TaskId = taskId ?? "", - Body = body, - }, callSettings); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// If not null, applies overrides to this RPC call. - /// A Task containing the RPC response. - public virtual stt::Task BufferTaskAsync(QueueName queue, string taskId, ga::HttpBody body, gaxgrpc::CallSettings callSettings = null) => - BufferTaskAsync(new BufferTaskRequest - { - QueueAsQueueName = gax::GaxPreconditions.CheckNotNull(queue, nameof(queue)), - TaskId = taskId ?? "", - Body = body, - }, callSettings); - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - /// A to use for this RPC. - /// A Task containing the RPC response. - public virtual stt::Task BufferTaskAsync(QueueName queue, string taskId, ga::HttpBody body, st::CancellationToken cancellationToken) => - BufferTaskAsync(queue, taskId, body, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); } /// CloudTasks client wrapper implementation, for convenient use. @@ -4103,8 +3808,6 @@ public sealed partial class CloudTasksClientImpl : CloudTasksClient private readonly gaxgrpc::ApiCall _callRunTask; - private readonly gaxgrpc::ApiCall _callBufferTask; - /// /// Constructs a client wrapper for the CloudTasks service, with the specified gRPC client and settings. /// @@ -4165,9 +3868,6 @@ public CloudTasksClientImpl(CloudTasks.CloudTasksClient grpcClient, CloudTasksSe _callRunTask = clientHelper.BuildApiCall("RunTask", grpcClient.RunTaskAsync, grpcClient.RunTask, effectiveSettings.RunTaskSettings).WithGoogleRequestParam("name", request => request.Name); Modify_ApiCall(ref _callRunTask); Modify_RunTaskApiCall(ref _callRunTask); - _callBufferTask = clientHelper.BuildApiCall("BufferTask", grpcClient.BufferTaskAsync, grpcClient.BufferTask, effectiveSettings.BufferTaskSettings).WithGoogleRequestParam("queue", request => request.Queue).WithGoogleRequestParam("task_id", request => request.TaskId); - Modify_ApiCall(ref _callBufferTask); - Modify_BufferTaskApiCall(ref _callBufferTask); OnConstruction(grpcClient, effectiveSettings, clientHelper); } @@ -4205,8 +3905,6 @@ public CloudTasksClientImpl(CloudTasks.CloudTasksClient grpcClient, CloudTasksSe partial void Modify_RunTaskApiCall(ref gaxgrpc::ApiCall call); - partial void Modify_BufferTaskApiCall(ref gaxgrpc::ApiCall call); - partial void OnConstruction(CloudTasks.CloudTasksClient grpcClient, CloudTasksSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); /// The underlying gRPC CloudTasks client @@ -4247,8 +3945,6 @@ public CloudTasksClientImpl(CloudTasks.CloudTasksClient grpcClient, CloudTasksSe partial void Modify_RunTaskRequest(ref RunTaskRequest request, ref gaxgrpc::CallSettings settings); - partial void Modify_BufferTaskRequest(ref BufferTaskRequest request, ref gaxgrpc::CallSettings settings); - /// /// Lists queues. /// @@ -4896,50 +4592,6 @@ public override Task RunTask(RunTaskRequest request, gaxgrpc::CallSettings callS Modify_RunTaskRequest(ref request, ref callSettings); return _callRunTask.Async(request, callSettings); } - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskResponse BufferTask(BufferTaskRequest request, gaxgrpc::CallSettings callSettings = null) - { - Modify_BufferTaskRequest(ref request, ref callSettings); - return _callBufferTask.Sync(request, callSettings); - } - - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskAsync(BufferTaskRequest request, gaxgrpc::CallSettings callSettings = null) - { - Modify_BufferTaskRequest(ref request, ref callSettings); - return _callBufferTask.Async(request, callSettings); - } } public partial class ListQueuesRequest : gaxgrpc::IPageRequest diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/Cloudtasks.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/Cloudtasks.g.cs index a842695bc28b..ef50767ee4ba 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/Cloudtasks.g.cs +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/Cloudtasks.g.cs @@ -27,130 +27,120 @@ public static partial class CloudtasksReflection { "Citnb29nbGUvY2xvdWQvdGFza3MvdjJiZXRhMy9jbG91ZHRhc2tzLnByb3Rv", "Ehpnb29nbGUuY2xvdWQudGFza3MudjJiZXRhMxocZ29vZ2xlL2FwaS9hbm5v", "dGF0aW9ucy5wcm90bxoXZ29vZ2xlL2FwaS9jbGllbnQucHJvdG8aH2dvb2ds", - "ZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aGWdvb2dsZS9hcGkvaHR0cGJv", - "ZHkucHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8aJmdvb2dsZS9j", - "bG91ZC90YXNrcy92MmJldGEzL3F1ZXVlLnByb3RvGiVnb29nbGUvY2xvdWQv", - "dGFza3MvdjJiZXRhMy90YXNrLnByb3RvGh5nb29nbGUvaWFtL3YxL2lhbV9w", - "b2xpY3kucHJvdG8aGmdvb2dsZS9pYW0vdjEvcG9saWN5LnByb3RvGhtnb29n", - "bGUvcHJvdG9idWYvZW1wdHkucHJvdG8aIGdvb2dsZS9wcm90b2J1Zi9maWVs", - "ZF9tYXNrLnByb3RvIrcBChFMaXN0UXVldWVzUmVxdWVzdBI3CgZwYXJlbnQY", - "ASABKAlCJ+BBAvpBIRIfY2xvdWR0YXNrcy5nb29nbGVhcGlzLmNvbS9RdWV1", - "ZRIOCgZmaWx0ZXIYAiABKAkSEQoJcGFnZV9zaXplGAMgASgFEhIKCnBhZ2Vf", - "dG9rZW4YBCABKAkSMgoJcmVhZF9tYXNrGAUgASgLMhouZ29vZ2xlLnByb3Rv", - "YnVmLkZpZWxkTWFza0ID4EEBImAKEkxpc3RRdWV1ZXNSZXNwb25zZRIxCgZx", - "dWV1ZXMYASADKAsyIS5nb29nbGUuY2xvdWQudGFza3MudjJiZXRhMy5RdWV1", - "ZRIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAkifAoPR2V0UXVldWVSZXF1ZXN0", - "EjUKBG5hbWUYASABKAlCJ+BBAvpBIQ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mNsb3VkLnRhc2tzLnYyYmV0YTNCD0Nsb3VkVGFza3NQcm90", + "b1ABWkNjbG91ZC5nb29nbGUuY29tL2dvL2Nsb3VkdGFza3MvYXBpdjJiZXRh", + "My9jbG91ZHRhc2tzcGI7Y2xvdWR0YXNrc3BiogIFVEFTS1NiBnByb3RvMw==")); 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.HttpbodyReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Tasks.V2Beta3.QueueReflection.Descriptor, global::Google.Cloud.Tasks.V2Beta3.TaskReflection.Descriptor, global::Google.Cloud.Iam.V1.IamPolicyReflection.Descriptor, global::Google.Cloud.Iam.V1.PolicyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + 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.Cloud.Tasks.V2Beta3.QueueReflection.Descriptor, global::Google.Cloud.Tasks.V2Beta3.TaskReflection.Descriptor, global::Google.Cloud.Iam.V1.IamPolicyReflection.Descriptor, global::Google.Cloud.Iam.V1.PolicyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.ListQueuesRequest), global::Google.Cloud.Tasks.V2Beta3.ListQueuesRequest.Parser, new[]{ "Parent", "Filter", "PageSize", "PageToken", "ReadMask" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.ListQueuesResponse), global::Google.Cloud.Tasks.V2Beta3.ListQueuesResponse.Parser, new[]{ "Queues", "NextPageToken" }, null, null, null, null), @@ -166,9 +156,7 @@ public static partial class CloudtasksReflection { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.GetTaskRequest), global::Google.Cloud.Tasks.V2Beta3.GetTaskRequest.Parser, new[]{ "Name", "ResponseView" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.CreateTaskRequest), global::Google.Cloud.Tasks.V2Beta3.CreateTaskRequest.Parser, new[]{ "Parent", "Task", "ResponseView" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.DeleteTaskRequest), global::Google.Cloud.Tasks.V2Beta3.DeleteTaskRequest.Parser, new[]{ "Name" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.RunTaskRequest), global::Google.Cloud.Tasks.V2Beta3.RunTaskRequest.Parser, new[]{ "Name", "ResponseView" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest), global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest.Parser, new[]{ "Queue", "TaskId", "Body" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.BufferTaskResponse), global::Google.Cloud.Tasks.V2Beta3.BufferTaskResponse.Parser, new[]{ "Task" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Tasks.V2Beta3.RunTaskRequest), global::Google.Cloud.Tasks.V2Beta3.RunTaskRequest.Parser, new[]{ "Name", "ResponseView" }, null, null, null, null) })); } #endregion @@ -3959,503 +3947,6 @@ public sealed partial class RunTaskRequest : pb::IMessage } - /// - /// Request message for - /// [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask]. - /// - public sealed partial class BufferTaskRequest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BufferTaskRequest()); - 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.Cloud.Tasks.V2Beta3.CloudtasksReflection.Descriptor.MessageTypes[15]; } - } - - [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 BufferTaskRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BufferTaskRequest(BufferTaskRequest other) : this() { - queue_ = other.queue_; - taskId_ = other.taskId_; - body_ = other.body_ != null ? other.body_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BufferTaskRequest Clone() { - return new BufferTaskRequest(this); - } - - /// Field number for the "queue" field. - public const int QueueFieldNumber = 1; - private string queue_ = ""; - /// - /// Required. The parent queue name. For example: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - /// - /// The queue must already exist. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Queue { - get { return queue_; } - set { - queue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "task_id" field. - public const int TaskIdFieldNumber = 2; - private string taskId_ = ""; - /// - /// Optional. Task ID for the task being created. If not provided, a random - /// task ID is assigned to the task. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TaskId { - get { return taskId_; } - set { - taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "body" field. - public const int BodyFieldNumber = 3; - private global::Google.Api.HttpBody body_; - /// - /// Optional. Body of the HTTP request. - /// - /// The body can take any generic value. The value is written to the - /// [HttpRequest][payload] of the [Task]. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Api.HttpBody Body { - get { return body_; } - set { - body_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BufferTaskRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BufferTaskRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Queue != other.Queue) return false; - if (TaskId != other.TaskId) return false; - if (!object.Equals(Body, other.Body)) 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 (Queue.Length != 0) hash ^= Queue.GetHashCode(); - if (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); - if (body_ != null) hash ^= Body.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 (Queue.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Queue); - } - if (TaskId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(TaskId); - } - if (body_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Body); - } - 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 (Queue.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Queue); - } - if (TaskId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(TaskId); - } - if (body_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Body); - } - 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 (Queue.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Queue); - } - if (TaskId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); - } - if (body_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Body); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BufferTaskRequest other) { - if (other == null) { - return; - } - if (other.Queue.Length != 0) { - Queue = other.Queue; - } - if (other.TaskId.Length != 0) { - TaskId = other.TaskId; - } - if (other.body_ != null) { - if (body_ == null) { - Body = new global::Google.Api.HttpBody(); - } - Body.MergeFrom(other.Body); - } - _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: { - Queue = input.ReadString(); - break; - } - case 18: { - TaskId = input.ReadString(); - break; - } - case 26: { - if (body_ == null) { - Body = new global::Google.Api.HttpBody(); - } - input.ReadMessage(Body); - 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: { - Queue = input.ReadString(); - break; - } - case 18: { - TaskId = input.ReadString(); - break; - } - case 26: { - if (body_ == null) { - Body = new global::Google.Api.HttpBody(); - } - input.ReadMessage(Body); - break; - } - } - } - } - #endif - - } - - /// - /// Response message for - /// [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask]. - /// - public sealed partial class BufferTaskResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BufferTaskResponse()); - 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.Cloud.Tasks.V2Beta3.CloudtasksReflection.Descriptor.MessageTypes[16]; } - } - - [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 BufferTaskResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BufferTaskResponse(BufferTaskResponse other) : this() { - task_ = other.task_ != null ? other.task_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BufferTaskResponse Clone() { - return new BufferTaskResponse(this); - } - - /// Field number for the "task" field. - public const int TaskFieldNumber = 1; - private global::Google.Cloud.Tasks.V2Beta3.Task task_; - /// - /// The created task. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.Tasks.V2Beta3.Task Task { - get { return task_; } - set { - task_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BufferTaskResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BufferTaskResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Task, other.Task)) 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 (task_ != null) hash ^= Task.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 (task_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Task); - } - 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 (task_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Task); - } - 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 (task_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Task); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BufferTaskResponse other) { - if (other == null) { - return; - } - if (other.task_ != null) { - if (task_ == null) { - Task = new global::Google.Cloud.Tasks.V2Beta3.Task(); - } - Task.MergeFrom(other.Task); - } - _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: { - if (task_ == null) { - Task = new global::Google.Cloud.Tasks.V2Beta3.Task(); - } - input.ReadMessage(Task); - 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: { - if (task_ == null) { - Task = new global::Google.Cloud.Tasks.V2Beta3.Task(); - } - input.ReadMessage(Task); - break; - } - } - } - } - #endif - - } - #endregion } diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksGrpc.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksGrpc.g.cs index a04ecf69d347..1d58902b8623 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksGrpc.g.cs +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksGrpc.g.cs @@ -110,10 +110,6 @@ static class __Helper_MessageCache static readonly grpc::Marshaller __Marshaller_google_cloud_tasks_v2beta3_DeleteTaskRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Tasks.V2Beta3.DeleteTaskRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_tasks_v2beta3_RunTaskRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Tasks.V2Beta3.RunTaskRequest.Parser)); - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Marshaller __Marshaller_google_cloud_tasks_v2beta3_BufferTaskRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest.Parser)); - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Marshaller __Marshaller_google_cloud_tasks_v2beta3_BufferTaskResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Tasks.V2Beta3.BufferTaskResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_ListQueues = new grpc::Method( @@ -243,14 +239,6 @@ static class __Helper_MessageCache __Marshaller_google_cloud_tasks_v2beta3_RunTaskRequest, __Marshaller_google_cloud_tasks_v2beta3_Task); - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Method __Method_BufferTask = new grpc::Method( - grpc::MethodType.Unary, - __ServiceName, - "BufferTask", - __Marshaller_google_cloud_tasks_v2beta3_BufferTaskRequest, - __Marshaller_google_cloud_tasks_v2beta3_BufferTaskResponse); - /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { @@ -585,28 +573,6 @@ public abstract partial class CloudTasksBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTask(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - } /// Client for CloudTasks @@ -1932,94 +1898,6 @@ protected CloudTasksClient(ClientBaseConfiguration configuration) : base(configu { return CallInvoker.AsyncUnaryCall(__Method_RunTask, null, options, request); } - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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.Cloud.Tasks.V2Beta3.BufferTaskResponse BufferTask(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) - { - return BufferTask(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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.Cloud.Tasks.V2Beta3.BufferTaskResponse BufferTask(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_BufferTask, null, options, request); - } - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskAsync(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) - { - return BufferTaskAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// - /// Creates and buffers a new task without the need to explicitly define a Task - /// message. The queue must have [HTTP - /// target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a - /// custom ID, use the following format and set TASK_ID to your desired ID: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer - /// To create the task with an automatically generated ID, use the following - /// format: - /// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. - /// Note: This feature is in its experimental stage. You must request access to - /// the API through the [Cloud Tasks BufferTask Experiment Signup - /// form](https://forms.gle/X8Zr5hiXH5tTGFqh8). - /// - /// 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 BufferTaskAsync(global::Google.Cloud.Tasks.V2Beta3.BufferTaskRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_BufferTask, null, options, request); - } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override CloudTasksClient NewInstance(ClientBaseConfiguration configuration) @@ -2049,8 +1927,7 @@ protected override CloudTasksClient NewInstance(ClientBaseConfiguration configur .AddMethod(__Method_GetTask, serviceImpl.GetTask) .AddMethod(__Method_CreateTask, serviceImpl.CreateTask) .AddMethod(__Method_DeleteTask, serviceImpl.DeleteTask) - .AddMethod(__Method_RunTask, serviceImpl.RunTask) - .AddMethod(__Method_BufferTask, serviceImpl.BufferTask).Build(); + .AddMethod(__Method_RunTask, serviceImpl.RunTask).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. @@ -2076,7 +1953,6 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, CloudTasks serviceBinder.AddMethod(__Method_CreateTask, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateTask)); serviceBinder.AddMethod(__Method_DeleteTask, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteTask)); serviceBinder.AddMethod(__Method_RunTask, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.RunTask)); - serviceBinder.AddMethod(__Method_BufferTask, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BufferTask)); } } diff --git a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksResourceNames.g.cs b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksResourceNames.g.cs index 6aca37b4fd6a..8eeb907edefe 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksResourceNames.g.cs +++ b/apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3/CloudtasksResourceNames.g.cs @@ -159,14 +159,4 @@ public partial class RunTaskRequest set => Name = value?.ToString() ?? ""; } } - - public partial class BufferTaskRequest - { - /// -typed view over the resource name property. - public QueueName QueueAsQueueName - { - get => string.IsNullOrEmpty(Queue) ? null : QueueName.Parse(Queue, allowUnparsed: true); - set => Queue = value?.ToString() ?? ""; - } - } } diff --git a/apis/Google.Cloud.Tasks.V2Beta3/gapic_metadata.json b/apis/Google.Cloud.Tasks.V2Beta3/gapic_metadata.json index 32e746f2a5ca..603d5d407616 100644 --- a/apis/Google.Cloud.Tasks.V2Beta3/gapic_metadata.json +++ b/apis/Google.Cloud.Tasks.V2Beta3/gapic_metadata.json @@ -10,12 +10,6 @@ "grpc": { "libraryClient": "CloudTasksClient", "rpcs": { - "BufferTask": { - "methods": [ - "BufferTask", - "BufferTaskAsync" - ] - }, "CreateQueue": { "methods": [ "CreateQueue",