Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

chore: Bump gapic-generator-python version to 1.3.0 #179

Merged
merged 2 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@ async def get_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_get_policy():
Expand Down Expand Up @@ -362,6 +369,13 @@ async def update_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_update_policy():
Expand Down Expand Up @@ -486,6 +500,13 @@ async def create_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_create_attestor():
Expand Down Expand Up @@ -615,6 +636,13 @@ async def get_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_get_attestor():
Expand Down Expand Up @@ -726,6 +754,13 @@ async def update_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_update_attestor():
Expand Down Expand Up @@ -843,6 +878,13 @@ async def list_attestors(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_list_attestors():
Expand Down Expand Up @@ -967,6 +1009,13 @@ async def delete_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_delete_attestor():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,13 @@ def get_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_get_policy():
Expand Down Expand Up @@ -578,6 +585,13 @@ def update_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_update_policy():
Expand Down Expand Up @@ -692,6 +706,13 @@ def create_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_create_attestor():
Expand Down Expand Up @@ -821,6 +842,13 @@ def get_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_get_attestor():
Expand Down Expand Up @@ -922,6 +950,13 @@ def update_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_update_attestor():
Expand Down Expand Up @@ -1029,6 +1064,13 @@ def list_attestors(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_list_attestors():
Expand Down Expand Up @@ -1143,6 +1185,13 @@ def delete_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_delete_attestor():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@ async def get_system_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_get_system_policy():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,13 @@ def get_system_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_get_system_policy():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,13 @@ async def validate_attestation_occurrence(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

async def sample_validate_attestation_occurrence():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,13 @@ def validate_attestation_occurrence(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1

def sample_validate_attestation_occurrence():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ async def get_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_get_policy():
Expand Down Expand Up @@ -372,6 +379,13 @@ async def update_policy(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_update_policy():
Expand Down Expand Up @@ -498,6 +512,13 @@ async def create_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_create_attestor():
Expand Down Expand Up @@ -627,6 +648,13 @@ async def get_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_get_attestor():
Expand Down Expand Up @@ -738,6 +766,13 @@ async def update_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_update_attestor():
Expand Down Expand Up @@ -856,6 +891,13 @@ async def list_attestors(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_list_attestors():
Expand Down Expand Up @@ -980,6 +1022,13 @@ async def delete_attestor(

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import binaryauthorization_v1beta1

async def sample_delete_attestor():
Expand Down
Loading