diff --git a/google/cloud/iam_credentials_v1/services/iam_credentials/async_client.py b/google/cloud/iam_credentials_v1/services/iam_credentials/async_client.py index dd2890b..1242be3 100644 --- a/google/cloud/iam_credentials_v1/services/iam_credentials/async_client.py +++ b/google/cloud/iam_credentials_v1/services/iam_credentials/async_client.py @@ -230,6 +230,27 @@ async def generate_access_token( r"""Generates an OAuth 2.0 access token for a service account. + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_generate_access_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateAccessTokenRequest( + name="name_value", + scope=['scope_value_1', 'scope_value_2'], + ) + + # Make the request + response = client.generate_access_token(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.GenerateAccessTokenRequest, dict]): The request object. @@ -362,6 +383,27 @@ async def generate_id_token( r"""Generates an OpenID Connect ID token for a service account. + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_generate_id_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateIdTokenRequest( + name="name_value", + audience="audience_value", + ) + + # Make the request + response = client.generate_id_token(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.GenerateIdTokenRequest, dict]): The request object. @@ -487,6 +529,27 @@ async def sign_blob( r"""Signs a blob using a service account's system-managed private key. + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_sign_blob(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignBlobRequest( + name="name_value", + payload=b'payload_blob', + ) + + # Make the request + response = client.sign_blob(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.SignBlobRequest, dict]): The request object. @@ -599,6 +662,27 @@ async def sign_jwt( r"""Signs a JWT using a service account's system-managed private key. + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_sign_jwt(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignJwtRequest( + name="name_value", + payload="payload_value", + ) + + # Make the request + response = client.sign_jwt(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.SignJwtRequest, dict]): The request object. diff --git a/google/cloud/iam_credentials_v1/services/iam_credentials/client.py b/google/cloud/iam_credentials_v1/services/iam_credentials/client.py index ebd7f3e..c007f5e 100644 --- a/google/cloud/iam_credentials_v1/services/iam_credentials/client.py +++ b/google/cloud/iam_credentials_v1/services/iam_credentials/client.py @@ -425,6 +425,28 @@ def generate_access_token( r"""Generates an OAuth 2.0 access token for a service account. + + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_generate_access_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateAccessTokenRequest( + name="name_value", + scope=['scope_value_1', 'scope_value_2'], + ) + + # Make the request + response = client.generate_access_token(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.GenerateAccessTokenRequest, dict]): The request object. @@ -547,6 +569,28 @@ def generate_id_token( r"""Generates an OpenID Connect ID token for a service account. + + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_generate_id_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateIdTokenRequest( + name="name_value", + audience="audience_value", + ) + + # Make the request + response = client.generate_id_token(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.GenerateIdTokenRequest, dict]): The request object. @@ -662,6 +706,28 @@ def sign_blob( r"""Signs a blob using a service account's system-managed private key. + + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_sign_blob(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignBlobRequest( + name="name_value", + payload=b'payload_blob', + ) + + # Make the request + response = client.sign_blob(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.SignBlobRequest, dict]): The request object. @@ -764,6 +830,28 @@ def sign_jwt( r"""Signs a JWT using a service account's system-managed private key. + + + .. code-block:: + + from google.cloud import iam_credentials_v1 + + def sample_sign_jwt(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignJwtRequest( + name="name_value", + payload="payload_value", + ) + + # Make the request + response = client.sign_jwt(request=request) + + # Handle the response + print(response) + Args: request (Union[google.cloud.iam_credentials_v1.types.SignJwtRequest, dict]): The request object. diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_async.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_async.py new file mode 100644 index 0000000..3a8c72b --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_async.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for GenerateAccessToken +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_async] +from google.cloud import iam_credentials_v1 + + +async def sample_generate_access_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsAsyncClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateAccessTokenRequest( + name="name_value", + scope=['scope_value_1', 'scope_value_2'], + ) + + # Make the request + response = await client.generate_access_token(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_async] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_sync.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_sync.py new file mode 100644 index 0000000..3dfa783 --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_sync.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for GenerateAccessToken +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_sync] +from google.cloud import iam_credentials_v1 + + +def sample_generate_access_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateAccessTokenRequest( + name="name_value", + scope=['scope_value_1', 'scope_value_2'], + ) + + # Make the request + response = client.generate_access_token(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_sync] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_async.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_async.py new file mode 100644 index 0000000..73ffc39 --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_async.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for GenerateIdToken +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_async] +from google.cloud import iam_credentials_v1 + + +async def sample_generate_id_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsAsyncClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateIdTokenRequest( + name="name_value", + audience="audience_value", + ) + + # Make the request + response = await client.generate_id_token(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_async] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_sync.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_sync.py new file mode 100644 index 0000000..6ab1eff --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_sync.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for GenerateIdToken +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_sync] +from google.cloud import iam_credentials_v1 + + +def sample_generate_id_token(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.GenerateIdTokenRequest( + name="name_value", + audience="audience_value", + ) + + # Make the request + response = client.generate_id_token(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_sync] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_async.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_async.py new file mode 100644 index 0000000..886500b --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_async.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for SignBlob +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_async] +from google.cloud import iam_credentials_v1 + + +async def sample_sign_blob(): + # Create a client + client = iam_credentials_v1.IAMCredentialsAsyncClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignBlobRequest( + name="name_value", + payload=b'payload_blob', + ) + + # Make the request + response = await client.sign_blob(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_async] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_sync.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_sync.py new file mode 100644 index 0000000..a32c069 --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_sync.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for SignBlob +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_sync] +from google.cloud import iam_credentials_v1 + + +def sample_sign_blob(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignBlobRequest( + name="name_value", + payload=b'payload_blob', + ) + + # Make the request + response = client.sign_blob(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_sync] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_async.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_async.py new file mode 100644 index 0000000..abd82aa --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_async.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for SignJwt +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_async] +from google.cloud import iam_credentials_v1 + + +async def sample_sign_jwt(): + # Create a client + client = iam_credentials_v1.IAMCredentialsAsyncClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignJwtRequest( + name="name_value", + payload="payload_value", + ) + + # Make the request + response = await client.sign_jwt(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_async] diff --git a/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_sync.py b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_sync.py new file mode 100644 index 0000000..e690519 --- /dev/null +++ b/samples/generated_samples/iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_sync.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Generated code. DO NOT EDIT! +# +# Snippet for SignJwt +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-cloud-iam + + +# [START iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_sync] +from google.cloud import iam_credentials_v1 + + +def sample_sign_jwt(): + # Create a client + client = iam_credentials_v1.IAMCredentialsClient() + + # Initialize request argument(s) + request = iam_credentials_v1.SignJwtRequest( + name="name_value", + payload="payload_value", + ) + + # Make the request + response = client.sign_jwt(request=request) + + # Handle the response + print(response) + +# [END iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_sync] diff --git a/samples/generated_samples/snippet_metadata_iam credentials_v1.json b/samples/generated_samples/snippet_metadata_iam credentials_v1.json new file mode 100644 index 0000000..ddbec65 --- /dev/null +++ b/samples/generated_samples/snippet_metadata_iam credentials_v1.json @@ -0,0 +1,360 @@ +{ + "snippets": [ + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "GenerateAccessToken" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_async.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_async", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "GenerateAccessToken" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_access_token_sync.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateAccessToken_sync", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "GenerateIdToken" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_async.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_async", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "GenerateIdToken" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_generate_id_token_sync.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_GenerateIdToken_sync", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "SignBlob" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_async.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_async", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "SignBlob" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_blob_sync.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignBlob_sync", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "SignJwt" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_async.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_async", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "IAMCredentials" + }, + "shortName": "SignJwt" + } + }, + "file": "iamcredentials_generated_iam_credentials_v1_iam_credentials_sign_jwt_sync.py", + "regionTag": "iamcredentials_generated_iam_credentials_v1_IAMCredentials_SignJwt_sync", + "segments": [ + { + "end": 45, + "start": 27, + "type": "FULL" + }, + { + "end": 45, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 39, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 42, + "start": 40, + "type": "REQUEST_EXECUTION" + }, + { + "end": 46, + "start": 43, + "type": "RESPONSE_HANDLING" + } + ] + } + ] +}