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

chore: use gapic-generator-python 0.63.4 #105

Merged
merged 3 commits into from
Feb 25, 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 @@ -226,7 +226,7 @@ async def allocate_quota(
functionality.


.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,7 @@ def allocate_quota(
functionality.



.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ async def check(
`Cloud IAM <https://cloud.google.com/iam>`__.


.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down Expand Up @@ -321,7 +321,7 @@ async def report(
`Google Cloud IAM <https://cloud.google.com/iam>`__.


.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,7 @@ def check(
`Cloud IAM <https://cloud.google.com/iam>`__.



.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down Expand Up @@ -499,8 +498,7 @@ def report(
`Google Cloud IAM <https://cloud.google.com/iam>`__.



.. code-block::
.. code-block:: python

from google.cloud import servicecontrol_v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_async]
# [START servicecontrol_v1_generated_QuotaController_AllocateQuota_async]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ async def sample_allocate_quota():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_async]
# [END servicecontrol_v1_generated_QuotaController_AllocateQuota_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_sync]
# [START servicecontrol_v1_generated_QuotaController_AllocateQuota_sync]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ def sample_allocate_quota():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_sync]
# [END servicecontrol_v1_generated_QuotaController_AllocateQuota_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_ServiceController_Check_async]
# [START servicecontrol_v1_generated_ServiceController_Check_async]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ async def sample_check():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_ServiceController_Check_async]
# [END servicecontrol_v1_generated_ServiceController_Check_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_ServiceController_Check_sync]
# [START servicecontrol_v1_generated_ServiceController_Check_sync]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ def sample_check():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_ServiceController_Check_sync]
# [END servicecontrol_v1_generated_ServiceController_Check_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_ServiceController_Report_async]
# [START servicecontrol_v1_generated_ServiceController_Report_async]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ async def sample_report():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_ServiceController_Report_async]
# [END servicecontrol_v1_generated_ServiceController_Report_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-service-control


# [START servicecontrol_generated_servicecontrol_v1_ServiceController_Report_sync]
# [START servicecontrol_v1_generated_ServiceController_Report_sync]
from google.cloud import servicecontrol_v1


Expand All @@ -41,4 +41,4 @@ def sample_report():
# Handle the response
print(response)

# [END servicecontrol_generated_servicecontrol_v1_ServiceController_Report_sync]
# [END servicecontrol_v1_generated_ServiceController_Report_sync]
24 changes: 12 additions & 12 deletions samples/generated_samples/snippet_metadata_servicecontrol_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"shortName": "AllocateQuota"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_quota_controller_allocate_quota_async.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_async",
"file": "servicecontrol_v1_generated_quota_controller_allocate_quota_async.py",
"regionTag": "servicecontrol_v1_generated_QuotaController_AllocateQuota_async",
"segments": [
{
"end": 43,
Expand Down Expand Up @@ -54,8 +54,8 @@
"shortName": "AllocateQuota"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_quota_controller_allocate_quota_sync.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_QuotaController_AllocateQuota_sync",
"file": "servicecontrol_v1_generated_quota_controller_allocate_quota_sync.py",
"regionTag": "servicecontrol_v1_generated_QuotaController_AllocateQuota_sync",
"segments": [
{
"end": 43,
Expand Down Expand Up @@ -99,8 +99,8 @@
"shortName": "Check"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_service_controller_check_async.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_ServiceController_Check_async",
"file": "servicecontrol_v1_generated_service_controller_check_async.py",
"regionTag": "servicecontrol_v1_generated_ServiceController_Check_async",
"segments": [
{
"end": 43,
Expand Down Expand Up @@ -143,8 +143,8 @@
"shortName": "Check"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_service_controller_check_sync.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_ServiceController_Check_sync",
"file": "servicecontrol_v1_generated_service_controller_check_sync.py",
"regionTag": "servicecontrol_v1_generated_ServiceController_Check_sync",
"segments": [
{
"end": 43,
Expand Down Expand Up @@ -188,8 +188,8 @@
"shortName": "Report"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_service_controller_report_async.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_ServiceController_Report_async",
"file": "servicecontrol_v1_generated_service_controller_report_async.py",
"regionTag": "servicecontrol_v1_generated_ServiceController_Report_async",
"segments": [
{
"end": 43,
Expand Down Expand Up @@ -232,8 +232,8 @@
"shortName": "Report"
}
},
"file": "servicecontrol_generated_servicecontrol_v1_service_controller_report_sync.py",
"regionTag": "servicecontrol_generated_servicecontrol_v1_ServiceController_Report_sync",
"file": "servicecontrol_v1_generated_service_controller_report_sync.py",
"regionTag": "servicecontrol_v1_generated_ServiceController_Report_sync",
"segments": [
{
"end": 43,
Expand Down