From cf15d65f89777a7ba29935f9e035e3bbb7a5b576 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 20:29:09 -0400 Subject: [PATCH] chore: use gapic-generator-python 0.65.1 (#256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: use gapic-generator-python 0.65.1 PiperOrigin-RevId: 441524537 Source-Link: https://github.com/googleapis/googleapis/commit/2a273915b3f70fe86c9d2a75470a0b83e48d0abf Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab6756a48c89b5bcb9fb73443cb8e55d574f4643 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../reservation_service/async_client.py | 45 +- .../services/reservation_service/client.py | 57 +- .../reservation_service/transports/base.py | 30 +- ...ppet_metadata_bigquery reservation_v1.json | 1788 ++++++++++++++++- 4 files changed, 1765 insertions(+), 155 deletions(-) diff --git a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py index c635b24b8b7b..ea65319dacf3 100644 --- a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py +++ b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py @@ -369,7 +369,6 @@ async def list_reservations( r"""Lists all the reservations for the project in the specified location. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -442,7 +441,8 @@ def sample_list_reservations(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -556,7 +556,8 @@ def sample_get_reservation(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -594,7 +595,6 @@ async def delete_reservation( ``google.rpc.Code.FAILED_PRECONDITION`` when reservation has assignments. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -655,7 +655,8 @@ def sample_delete_reservation(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -910,7 +911,6 @@ async def list_capacity_commitments( r"""Lists all the capacity commitments for the admin project. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -983,7 +983,8 @@ def sample_list_capacity_commitments(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -1109,7 +1110,8 @@ def sample_get_capacity_commitment(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -1147,7 +1149,6 @@ async def delete_capacity_commitment( commitment before its commitment_end_time will fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1208,7 +1209,8 @@ def sample_delete_capacity_commitment(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -1249,7 +1251,6 @@ async def update_capacity_commitment( period will fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1376,7 +1377,6 @@ async def split_capacity_commitment( and 8000. Then, you delete the first one after the commitment end time passes. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1491,7 +1491,6 @@ async def merge_capacity_commitments( fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1650,7 +1649,6 @@ async def create_assignment( Returns ``google.rpc.Code.INVALID_ARGUMENT`` when location of the assignment does not match location of the reservation. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1778,7 +1776,6 @@ async def list_assignments( **Note** "-" cannot be used for projects nor locations. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1856,7 +1853,8 @@ def sample_list_assignments(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -1916,7 +1914,6 @@ async def delete_assignment( ``project1`` will still use ``res1`` while queries from ``project2`` will switch to use on-demand mode. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -1978,7 +1975,8 @@ def sample_delete_assignment(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -2036,7 +2034,6 @@ async def search_assignments( **Note** "-" cannot be used for projects nor locations. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -2131,7 +2128,8 @@ def sample_search_assignments(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -2199,7 +2197,6 @@ async def search_all_assignments( 3. Parent here is ``projects/*/locations/*``, instead of ``projects/*/locations/*reservations/*``. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -2330,7 +2327,6 @@ async def move_assignment( that ensures an assignee always has an associated reservation. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -2445,7 +2441,6 @@ async def update_assignment( Only the ``priority`` field can be updated. - .. code-block:: python from google.cloud import bigquery_reservation_v1 @@ -2617,7 +2612,8 @@ def sample_get_bi_reservation(): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -2661,7 +2657,6 @@ async def update_bi_reservation( greater than 0. In order to release BI capacity reservation size must be set to 0. - .. code-block:: python from google.cloud import bigquery_reservation_v1 diff --git a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/client.py b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/client.py index e448d29d8169..f71ce439fd58 100644 --- a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/client.py +++ b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/client.py @@ -531,7 +531,7 @@ def create_reservation( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_create_reservation(): # Create a client @@ -646,10 +646,9 @@ def list_reservations( r"""Lists all the reservations for the project in the specified location. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_list_reservations(): # Create a client @@ -757,7 +756,7 @@ def get_reservation( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_get_reservation(): # Create a client @@ -853,10 +852,9 @@ def delete_reservation( ``google.rpc.Code.FAILED_PRECONDITION`` when reservation has assignments. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_delete_reservation(): # Create a client @@ -941,7 +939,7 @@ def update_reservation( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_update_reservation(): # Create a client @@ -1045,7 +1043,7 @@ def create_capacity_commitment( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_create_capacity_commitment(): # Create a client @@ -1162,10 +1160,9 @@ def list_capacity_commitments( r"""Lists all the capacity commitments for the admin project. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_list_capacity_commitments(): # Create a client @@ -1275,7 +1272,7 @@ def get_capacity_commitment( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_get_capacity_commitment(): # Create a client @@ -1383,10 +1380,9 @@ def delete_capacity_commitment( commitment before its commitment_end_time will fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_delete_capacity_commitment(): # Create a client @@ -1478,10 +1474,9 @@ def update_capacity_commitment( period will fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_update_capacity_commitment(): # Create a client @@ -1607,10 +1602,9 @@ def split_capacity_commitment( and 8000. Then, you delete the first one after the commitment end time passes. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_split_capacity_commitment(): # Create a client @@ -1724,10 +1718,9 @@ def merge_capacity_commitments( fail with the error code ``google.rpc.Code.FAILED_PRECONDITION``. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_merge_capacity_commitments(): # Create a client @@ -1885,10 +1878,9 @@ def create_assignment( Returns ``google.rpc.Code.INVALID_ARGUMENT`` when location of the assignment does not match location of the reservation. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_create_assignment(): # Create a client @@ -2013,10 +2005,9 @@ def list_assignments( **Note** "-" cannot be used for projects nor locations. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_list_assignments(): # Create a client @@ -2142,10 +2133,9 @@ def delete_assignment( ``project1`` will still use ``res1`` while queries from ``project2`` will switch to use on-demand mode. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_delete_assignment(): # Create a client @@ -2253,10 +2243,9 @@ def search_assignments( **Note** "-" cannot be used for projects nor locations. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_search_assignments(): # Create a client @@ -2407,10 +2396,9 @@ def search_all_assignments( 3. Parent here is ``projects/*/locations/*``, instead of ``projects/*/locations/*reservations/*``. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_search_all_assignments(): # Create a client @@ -2538,10 +2526,9 @@ def move_assignment( that ensures an assignee always has an associated reservation. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_move_assignment(): # Create a client @@ -2653,10 +2640,9 @@ def update_assignment( Only the ``priority`` field can be updated. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_update_assignment(): # Create a client @@ -2760,7 +2746,7 @@ def get_bi_reservation( .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_get_bi_reservation(): # Create a client @@ -2860,10 +2846,9 @@ def update_bi_reservation( greater than 0. In order to release BI capacity reservation size must be set to 0. - .. code-block:: python - from google.cloud import bigquery_reservation_v1 + from google.cloud import bigquery_reservation_v1 def sample_update_bi_reservation(): # Create a client diff --git a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/transports/base.py b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/transports/base.py index e3d0214a817f..cf10f5649870 100644 --- a/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/transports/base.py +++ b/packages/google-cloud-bigquery-reservation/google/cloud/bigquery_reservation_v1/services/reservation_service/transports/base.py @@ -138,7 +138,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -152,7 +153,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -166,7 +168,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -190,7 +193,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -204,7 +208,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -218,7 +223,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -252,7 +258,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -266,7 +273,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -280,7 +288,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), @@ -309,7 +318,8 @@ def _prep_wrapped_messages(self, client_info): maximum=60.0, multiplier=1.3, predicate=retries.if_exception_type( - core_exceptions.GoogleAPICallError, + core_exceptions.DeadlineExceeded, + core_exceptions.ServiceUnavailable, ), deadline=300.0, ), diff --git a/packages/google-cloud-bigquery-reservation/samples/generated_samples/snippet_metadata_bigquery reservation_v1.json b/packages/google-cloud-bigquery-reservation/samples/generated_samples/snippet_metadata_bigquery reservation_v1.json index 4d9a8e74040e..a42c51908c5d 100644 --- a/packages/google-cloud-bigquery-reservation/samples/generated_samples/snippet_metadata_bigquery reservation_v1.json +++ b/packages/google-cloud-bigquery-reservation/samples/generated_samples/snippet_metadata_bigquery reservation_v1.json @@ -1,16 +1,65 @@ { + "clientLibrary": { + "apis": [ + { + "id": "google.cloud.bigquery.reservation.v1", + "version": "v1" + } + ], + "language": "PYTHON", + "name": "google-cloud-bigquery-reservation" + }, "snippets": [ { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.create_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateAssignmentRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "assignment", + "type": "google.cloud.bigquery_reservation_v1.types.Assignment" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "create_assignment" }, + "description": "Sample for CreateAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_create_assignment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateAssignment_async", "segments": [ { @@ -43,18 +92,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_assignment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.create_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateAssignmentRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "assignment", + "type": "google.cloud.bigquery_reservation_v1.types.Assignment" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "create_assignment" }, + "description": "Sample for CreateAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_create_assignment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateAssignment_sync", "segments": [ { @@ -87,19 +176,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_assignment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.create_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateCapacityCommitmentRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "capacity_commitment", + "type": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "create_capacity_commitment" }, + "description": "Sample for CreateCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_create_capacity_commitment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateCapacityCommitment_async", "segments": [ { @@ -132,18 +261,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_capacity_commitment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.create_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateCapacityCommitmentRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "capacity_commitment", + "type": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "create_capacity_commitment" }, + "description": "Sample for CreateCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_create_capacity_commitment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateCapacityCommitment_sync", "segments": [ { @@ -176,19 +345,63 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_capacity_commitment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.create_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateReservationRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "reservation", + "type": "google.cloud.bigquery_reservation_v1.types.Reservation" + }, + { + "name": "reservation_id", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "create_reservation" }, + "description": "Sample for CreateReservation", "file": "bigqueryreservation_v1_generated_reservation_service_create_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservation_async", "segments": [ { @@ -221,18 +434,62 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.create_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "CreateReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.CreateReservationRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "reservation", + "type": "google.cloud.bigquery_reservation_v1.types.Reservation" + }, + { + "name": "reservation_id", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "create_reservation" }, + "description": "Sample for CreateReservation", "file": "bigqueryreservation_v1_generated_reservation_service_create_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservation_sync", "segments": [ { @@ -265,19 +522,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_create_reservation_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.delete_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteAssignmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_assignment" }, + "description": "Sample for DeleteAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_delete_assignment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteAssignment_async", "segments": [ { @@ -308,18 +600,53 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_assignment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.delete_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteAssignmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_assignment" }, + "description": "Sample for DeleteAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_delete_assignment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteAssignment_sync", "segments": [ { @@ -350,19 +677,54 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_assignment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.delete_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_capacity_commitment" }, + "description": "Sample for DeleteCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_delete_capacity_commitment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteCapacityCommitment_async", "segments": [ { @@ -393,18 +755,53 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_capacity_commitment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.delete_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_capacity_commitment" }, + "description": "Sample for DeleteCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_delete_capacity_commitment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteCapacityCommitment_sync", "segments": [ { @@ -435,19 +832,54 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_capacity_commitment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.delete_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_reservation" }, + "description": "Sample for DeleteReservation", "file": "bigqueryreservation_v1_generated_reservation_service_delete_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservation_async", "segments": [ { @@ -478,18 +910,53 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.delete_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "DeleteReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.DeleteReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "shortName": "delete_reservation" }, + "description": "Sample for DeleteReservation", "file": "bigqueryreservation_v1_generated_reservation_service_delete_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservation_sync", "segments": [ { @@ -520,19 +987,55 @@ "end": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_delete_reservation_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.get_bi_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetBiReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetBiReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetBiReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.BiReservation", + "shortName": "get_bi_reservation" }, + "description": "Sample for GetBiReservation", "file": "bigqueryreservation_v1_generated_reservation_service_get_bi_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetBiReservation_async", "segments": [ { @@ -565,18 +1068,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_bi_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.get_bi_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetBiReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetBiReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetBiReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.BiReservation", + "shortName": "get_bi_reservation" }, + "description": "Sample for GetBiReservation", "file": "bigqueryreservation_v1_generated_reservation_service_get_bi_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetBiReservation_sync", "segments": [ { @@ -609,19 +1148,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_bi_reservation_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.get_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "get_capacity_commitment" }, + "description": "Sample for GetCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_get_capacity_commitment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetCapacityCommitment_async", "segments": [ { @@ -654,18 +1229,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_capacity_commitment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.get_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "get_capacity_commitment" }, + "description": "Sample for GetCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_get_capacity_commitment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetCapacityCommitment_sync", "segments": [ { @@ -698,19 +1309,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_capacity_commitment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.get_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "get_reservation" }, + "description": "Sample for GetReservation", "file": "bigqueryreservation_v1_generated_reservation_service_get_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservation_async", "segments": [ { @@ -743,18 +1390,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.get_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "GetReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.GetReservationRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "get_reservation" }, + "description": "Sample for GetReservation", "file": "bigqueryreservation_v1_generated_reservation_service_get_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservation_sync", "segments": [ { @@ -787,19 +1470,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_get_reservation_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.list_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListAssignmentsAsyncPager", + "shortName": "list_assignments" }, + "description": "Sample for ListAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_list_assignments_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListAssignments_async", "segments": [ { @@ -832,18 +1551,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_assignments_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.list_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListAssignmentsPager", + "shortName": "list_assignments" }, + "description": "Sample for ListAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_list_assignments_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListAssignments_sync", "segments": [ { @@ -876,19 +1631,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_assignments_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.list_capacity_commitments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListCapacityCommitments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListCapacityCommitmentsAsyncPager", + "shortName": "list_capacity_commitments" }, + "description": "Sample for ListCapacityCommitments", "file": "bigqueryreservation_v1_generated_reservation_service_list_capacity_commitments_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListCapacityCommitments_async", "segments": [ { @@ -921,18 +1712,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_capacity_commitments_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.list_capacity_commitments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListCapacityCommitments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListCapacityCommitmentsPager", + "shortName": "list_capacity_commitments" }, + "description": "Sample for ListCapacityCommitments", "file": "bigqueryreservation_v1_generated_reservation_service_list_capacity_commitments_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListCapacityCommitments_sync", "segments": [ { @@ -965,19 +1792,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_capacity_commitments_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.list_reservations", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservations", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListReservations" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListReservationsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListReservationsAsyncPager", + "shortName": "list_reservations" }, + "description": "Sample for ListReservations", "file": "bigqueryreservation_v1_generated_reservation_service_list_reservations_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservations_async", "segments": [ { @@ -1010,18 +1873,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_reservations_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.list_reservations", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservations", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "ListReservations" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.ListReservationsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.ListReservationsPager", + "shortName": "list_reservations" }, + "description": "Sample for ListReservations", "file": "bigqueryreservation_v1_generated_reservation_service_list_reservations_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservations_sync", "segments": [ { @@ -1054,19 +1953,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_list_reservations_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.merge_capacity_commitments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "MergeCapacityCommitments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.MergeCapacityCommitmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "capacity_commitment_ids", + "type": "Sequence[str]" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "merge_capacity_commitments" }, + "description": "Sample for MergeCapacityCommitments", "file": "bigqueryreservation_v1_generated_reservation_service_merge_capacity_commitments_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_MergeCapacityCommitments_async", "segments": [ { @@ -1099,18 +2038,58 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_merge_capacity_commitments_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.merge_capacity_commitments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "MergeCapacityCommitments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.MergeCapacityCommitmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "capacity_commitment_ids", + "type": "Sequence[str]" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "merge_capacity_commitments" }, + "description": "Sample for MergeCapacityCommitments", "file": "bigqueryreservation_v1_generated_reservation_service_merge_capacity_commitments_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_MergeCapacityCommitments_sync", "segments": [ { @@ -1143,19 +2122,59 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_merge_capacity_commitments_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.move_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "MoveAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.MoveAssignmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "destination_id", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "move_assignment" }, + "description": "Sample for MoveAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_move_assignment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_MoveAssignment_async", "segments": [ { @@ -1188,18 +2207,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_move_assignment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.move_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "MoveAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.MoveAssignmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "destination_id", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "move_assignment" }, + "description": "Sample for MoveAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_move_assignment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_MoveAssignment_sync", "segments": [ { @@ -1232,19 +2291,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_move_assignment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.search_all_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SearchAllAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SearchAllAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "query", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.SearchAllAssignmentsAsyncPager", + "shortName": "search_all_assignments" }, + "description": "Sample for SearchAllAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_search_all_assignments_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAllAssignments_async", "segments": [ { @@ -1277,18 +2376,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_search_all_assignments_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.search_all_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SearchAllAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SearchAllAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "query", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.SearchAllAssignmentsPager", + "shortName": "search_all_assignments" }, + "description": "Sample for SearchAllAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_search_all_assignments_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAllAssignments_sync", "segments": [ { @@ -1321,19 +2460,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_search_all_assignments_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.search_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SearchAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SearchAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "query", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.SearchAssignmentsAsyncPager", + "shortName": "search_assignments" }, + "description": "Sample for SearchAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_search_assignments_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAssignments_async", "segments": [ { @@ -1366,18 +2545,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_search_assignments_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.search_assignments", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SearchAssignments" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SearchAssignmentsRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "query", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.services.reservation_service.pagers.SearchAssignmentsPager", + "shortName": "search_assignments" }, + "description": "Sample for SearchAssignments", "file": "bigqueryreservation_v1_generated_reservation_service_search_assignments_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAssignments_sync", "segments": [ { @@ -1410,19 +2629,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_search_assignments_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.split_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SplitCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SplitCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "slot_count", + "type": "int" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.SplitCapacityCommitmentResponse", + "shortName": "split_capacity_commitment" }, + "description": "Sample for SplitCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_split_capacity_commitment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SplitCapacityCommitment_async", "segments": [ { @@ -1455,18 +2714,58 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_split_capacity_commitment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.split_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "SplitCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.SplitCapacityCommitmentRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "slot_count", + "type": "int" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.SplitCapacityCommitmentResponse", + "shortName": "split_capacity_commitment" }, + "description": "Sample for SplitCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_split_capacity_commitment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_SplitCapacityCommitment_sync", "segments": [ { @@ -1499,19 +2798,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_split_capacity_commitment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.update_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateAssignmentRequest" + }, + { + "name": "assignment", + "type": "google.cloud.bigquery_reservation_v1.types.Assignment" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "update_assignment" }, + "description": "Sample for UpdateAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_update_assignment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateAssignment_async", "segments": [ { @@ -1544,18 +2883,58 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_assignment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.update_assignment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateAssignment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateAssignmentRequest" + }, + { + "name": "assignment", + "type": "google.cloud.bigquery_reservation_v1.types.Assignment" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Assignment", + "shortName": "update_assignment" }, + "description": "Sample for UpdateAssignment", "file": "bigqueryreservation_v1_generated_reservation_service_update_assignment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateAssignment_sync", "segments": [ { @@ -1588,19 +2967,59 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_assignment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.update_bi_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateBiReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateBiReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateBiReservationRequest" + }, + { + "name": "bi_reservation", + "type": "google.cloud.bigquery_reservation_v1.types.BiReservation" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.BiReservation", + "shortName": "update_bi_reservation" }, + "description": "Sample for UpdateBiReservation", "file": "bigqueryreservation_v1_generated_reservation_service_update_bi_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateBiReservation_async", "segments": [ { @@ -1633,18 +3052,58 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_bi_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.update_bi_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateBiReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateBiReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateBiReservationRequest" + }, + { + "name": "bi_reservation", + "type": "google.cloud.bigquery_reservation_v1.types.BiReservation" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.BiReservation", + "shortName": "update_bi_reservation" }, + "description": "Sample for UpdateBiReservation", "file": "bigqueryreservation_v1_generated_reservation_service_update_bi_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateBiReservation_sync", "segments": [ { @@ -1677,19 +3136,59 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_bi_reservation_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.update_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateCapacityCommitmentRequest" + }, + { + "name": "capacity_commitment", + "type": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "update_capacity_commitment" }, + "description": "Sample for UpdateCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_update_capacity_commitment_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateCapacityCommitment_async", "segments": [ { @@ -1722,18 +3221,58 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_capacity_commitment_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.update_capacity_commitment", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateCapacityCommitment" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateCapacityCommitmentRequest" + }, + { + "name": "capacity_commitment", + "type": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.CapacityCommitment", + "shortName": "update_capacity_commitment" }, + "description": "Sample for UpdateCapacityCommitment", "file": "bigqueryreservation_v1_generated_reservation_service_update_capacity_commitment_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateCapacityCommitment_sync", "segments": [ { @@ -1766,19 +3305,59 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_capacity_commitment_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient", + "shortName": "ReservationServiceAsyncClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceAsyncClient.update_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateReservationRequest" + }, + { + "name": "reservation", + "type": "google.cloud.bigquery_reservation_v1.types.Reservation" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "update_reservation" }, + "description": "Sample for UpdateReservation", "file": "bigqueryreservation_v1_generated_reservation_service_update_reservation_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateReservation_async", "segments": [ { @@ -1811,18 +3390,58 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_reservation_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient", + "shortName": "ReservationServiceClient" + }, + "fullName": "google.cloud.bigquery_reservation_v1.ReservationServiceClient.update_reservation", "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation", "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", "shortName": "ReservationService" }, "shortName": "UpdateReservation" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.bigquery_reservation_v1.types.UpdateReservationRequest" + }, + { + "name": "reservation", + "type": "google.cloud.bigquery_reservation_v1.types.Reservation" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.bigquery_reservation_v1.types.Reservation", + "shortName": "update_reservation" }, + "description": "Sample for UpdateReservation", "file": "bigqueryreservation_v1_generated_reservation_service_update_reservation_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateReservation_sync", "segments": [ { @@ -1855,7 +3474,8 @@ "start": 41, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "bigqueryreservation_v1_generated_reservation_service_update_reservation_sync.py" } ] }