diff --git a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/async_client.py b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/async_client.py index 8e6aa92e1a07..47e920025bcf 100644 --- a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/async_client.py +++ b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/async_client.py @@ -250,6 +250,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) Args: @@ -366,7 +368,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -470,7 +472,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) Args: request (Union[google.cloud.assuredworkloads_v1.types.DeleteWorkloadRequest, dict]): @@ -552,7 +554,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -645,6 +647,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/client.py b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/client.py index 1c7e833d5726..67f7951af348 100644 --- a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/client.py +++ b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1/services/assured_workloads_service/client.py @@ -443,6 +443,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) Args: @@ -560,7 +562,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -665,7 +667,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) Args: request (Union[google.cloud.assuredworkloads_v1.types.DeleteWorkloadRequest, dict]): @@ -748,7 +750,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -842,6 +844,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/async_client.py b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/async_client.py index ae892083352b..6d7cad74f98b 100644 --- a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/async_client.py +++ b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/async_client.py @@ -251,6 +251,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) Args: @@ -366,7 +368,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -470,7 +472,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) Args: request (Union[google.cloud.assuredworkloads_v1beta1.types.DeleteWorkloadRequest, dict]): @@ -561,7 +563,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -663,6 +665,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/client.py b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/client.py index 3d871cb80722..b8a709d11740 100644 --- a/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/client.py +++ b/packages/google-cloud-assured-workloads/google/cloud/assuredworkloads_v1beta1/services/assured_workloads_service/client.py @@ -444,6 +444,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) Args: @@ -560,7 +562,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -665,7 +667,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) Args: request (Union[google.cloud.assuredworkloads_v1beta1.types.DeleteWorkloadRequest, dict]): @@ -748,7 +750,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) Args: @@ -842,6 +844,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_async.py index fbccc5242a0b..e45a601cbb87 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_async.py @@ -48,6 +48,8 @@ async def sample_create_workload(): print("Waiting for operation to complete...") response = await operation.result() + + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_sync.py index 63eb6f676b66..be83cfc70bbb 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_create_workload_sync.py @@ -48,6 +48,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_async.py index 45f4e075dbb9..35ec6d7c2fd4 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_async.py @@ -37,7 +37,7 @@ async def sample_delete_workload(): ) # Make the request - response = await client.delete_workload(request=request) + await client.delete_workload(request=request) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_sync.py index 5edc3ca4d68c..3918ab7886d6 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_delete_workload_sync.py @@ -37,7 +37,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_async.py index 29e68b3ef51b..b16dcae2cff1 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_async.py @@ -39,7 +39,7 @@ async def sample_get_workload(): # Make the request response = await client.get_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_sync.py index df3e094585a4..29f98f02f719 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_get_workload_sync.py @@ -39,7 +39,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_async.py index 87fcce9a002b..1a49642e1657 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_async.py @@ -38,6 +38,8 @@ async def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response async for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_sync.py index 971d7e212260..eff361eece78 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_list_workloads_sync.py @@ -38,6 +38,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_async.py index 103cf09cd4a9..43b5748a8a1a 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_async.py @@ -44,7 +44,7 @@ async def sample_update_workload(): # Make the request response = await client.update_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_sync.py index 1a3bf3a73e84..eae1ebb91ed7 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1_assured_workloads_service_update_workload_sync.py @@ -44,7 +44,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_async.py index d7fc29d0b73b..c8045b1a3677 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_async.py @@ -47,6 +47,8 @@ async def sample_create_workload(): print("Waiting for operation to complete...") response = await operation.result() + + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_sync.py index 297db07a2107..494313993e93 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_create_workload_sync.py @@ -47,6 +47,8 @@ def sample_create_workload(): print("Waiting for operation to complete...") response = operation.result() + + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_async.py index bff963144f2f..d7e2122408af 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_async.py @@ -37,7 +37,7 @@ async def sample_delete_workload(): ) # Make the request - response = await client.delete_workload(request=request) + await client.delete_workload(request=request) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_sync.py index 4bef60f39c59..7751f14feb38 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_delete_workload_sync.py @@ -37,7 +37,7 @@ def sample_delete_workload(): ) # Make the request - response = client.delete_workload(request=request) + client.delete_workload(request=request) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_async.py index 36b779e941af..2674a6fdda71 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_async.py @@ -39,7 +39,7 @@ async def sample_get_workload(): # Make the request response = await client.get_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_GetWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_sync.py index 0391982892dd..7cfa2f66a39c 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_get_workload_sync.py @@ -39,7 +39,7 @@ def sample_get_workload(): # Make the request response = client.get_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_GetWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_async.py index 79e0d7445fde..fa374ba99436 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_async.py @@ -38,6 +38,8 @@ async def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response async for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_sync.py index cbae948f3c6f..243460f715b6 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_list_workloads_sync.py @@ -38,6 +38,8 @@ def sample_list_workloads(): # Make the request page_result = client.list_workloads(request=request) + + # Handle the response for response in page_result: print(response) diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_async.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_async.py index d2dfe8ced3bc..993b15286bc7 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_async.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_async.py @@ -43,7 +43,7 @@ async def sample_update_workload(): # Make the request response = await client.update_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_UpdateWorkload_async] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_sync.py b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_sync.py index 97c7876e9097..b56f7e7a4fe5 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_sync.py +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/assuredworkloads_generated_assuredworkloads_v1beta1_assured_workloads_service_update_workload_sync.py @@ -43,7 +43,7 @@ def sample_update_workload(): # Make the request response = client.update_workload(request=request) - # Handle response + # Handle the response print(response) # [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_UpdateWorkload_sync] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1.json b/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1.json index c698d0a61e18..c5d72c40009a 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1.json +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1.json @@ -14,12 +14,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_async", "segments": [ { - "end": 52, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 54, "start": 27, "type": "SHORT" }, @@ -34,11 +34,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 51, "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 53, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ] @@ -56,12 +58,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_sync", "segments": [ { - "end": 52, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 54, "start": 27, "type": "SHORT" }, @@ -76,11 +78,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 51, "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 53, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ] @@ -273,12 +277,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_async", "segments": [ { - "end": 43, + "end": 45, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 45, "start": 27, "type": "SHORT" }, @@ -293,11 +297,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 41, "start": 39, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 46, + "start": 42, "type": "RESPONSE_HANDLING" } ] @@ -315,12 +321,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_sync", "segments": [ { - "end": 43, + "end": 45, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 45, "start": 27, "type": "SHORT" }, @@ -335,11 +341,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 41, "start": 39, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 46, + "start": 42, "type": "RESPONSE_HANDLING" } ] diff --git a/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1beta1.json b/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1beta1.json index 1e3da918e9e9..cd0cbfad2a67 100644 --- a/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1beta1.json +++ b/packages/google-cloud-assured-workloads/samples/generated_samples/snippet_metadata_assuredworkloads_v1beta1.json @@ -14,12 +14,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_async", "segments": [ { - "end": 51, + "end": 53, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 53, "start": 27, "type": "SHORT" }, @@ -34,11 +34,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 50, "start": 44, "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 54, + "start": 51, "type": "RESPONSE_HANDLING" } ] @@ -56,12 +58,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_sync", "segments": [ { - "end": 51, + "end": 53, "start": 27, "type": "FULL" }, { - "end": 51, + "end": 53, "start": 27, "type": "SHORT" }, @@ -76,11 +78,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 50, "start": 44, "type": "REQUEST_EXECUTION" }, { - "end": 52, + "end": 54, + "start": 51, "type": "RESPONSE_HANDLING" } ] @@ -273,12 +277,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_ListWorkloads_async", "segments": [ { - "end": 43, + "end": 45, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 45, "start": 27, "type": "SHORT" }, @@ -293,11 +297,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 41, "start": 39, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 46, + "start": 42, "type": "RESPONSE_HANDLING" } ] @@ -315,12 +321,12 @@ "regionTag": "assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_ListWorkloads_sync", "segments": [ { - "end": 43, + "end": 45, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 45, "start": 27, "type": "SHORT" }, @@ -335,11 +341,13 @@ "type": "REQUEST_INITIALIZATION" }, { + "end": 41, "start": 39, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 46, + "start": 42, "type": "RESPONSE_HANDLING" } ]