Skip to content

Commit

Permalink
chore: edit generated snippet formatting (#106)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.63.2
docs: add generated snippets

PiperOrigin-RevId: 427792504

Source-Link: googleapis/googleapis@55b9e1e

Source-Link: googleapis/googleapis-gen@bf4e86b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 11, 2022
1 parent 12f6f12 commit a64ca77
Show file tree
Hide file tree
Showing 85 changed files with 416 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def sample_get_application():
# Make the request
response = client.get_application(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -307,6 +307,8 @@ def sample_create_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -387,6 +389,8 @@ def sample_update_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -477,6 +481,8 @@ def sample_repair_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def sample_get_application():
# Make the request
response = client.get_application(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -495,6 +495,8 @@ def sample_create_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -577,6 +579,8 @@ def sample_update_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -669,6 +673,8 @@ def sample_repair_application():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ def sample_list_authorized_certificates():
# Make the request
page_result = client.list_authorized_certificates(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -310,7 +312,7 @@ def sample_get_authorized_certificate():
# Make the request
response = client.get_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -380,7 +382,7 @@ def sample_create_authorized_certificate():
# Make the request
response = client.create_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -456,7 +458,7 @@ def sample_update_authorized_certificate():
# Make the request
response = client.update_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -524,7 +526,7 @@ def sample_delete_authorized_certificate():
)
# Make the request
response = client.delete_authorized_certificate(request=request)
client.delete_authorized_certificate(request=request)
Args:
request (Union[google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest, dict]):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ def sample_list_authorized_certificates():
# Make the request
page_result = client.list_authorized_certificates(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -497,7 +499,7 @@ def sample_get_authorized_certificate():
# Make the request
response = client.get_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -571,7 +573,7 @@ def sample_create_authorized_certificate():
# Make the request
response = client.create_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -651,7 +653,7 @@ def sample_update_authorized_certificate():
# Make the request
response = client.update_authorized_certificate(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -723,7 +725,7 @@ def sample_delete_authorized_certificate():
)
# Make the request
response = client.delete_authorized_certificate(request=request)
client.delete_authorized_certificate(request=request)
Args:
request (Union[google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest, dict]):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ def sample_list_authorized_domains():
# Make the request
page_result = client.list_authorized_domains(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ def sample_list_authorized_domains():
# Make the request
page_result = client.list_authorized_domains(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ def sample_list_domain_mappings():
# Make the request
page_result = client.list_domain_mappings(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -304,7 +306,7 @@ def sample_get_domain_mapping():
# Make the request
response = client.get_domain_mapping(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -378,6 +380,8 @@ def sample_create_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -463,6 +467,8 @@ def sample_update_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -546,6 +552,8 @@ def sample_delete_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ def sample_list_domain_mappings():
# Make the request
page_result = client.list_domain_mappings(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -490,7 +492,7 @@ def sample_get_domain_mapping():
# Make the request
response = client.get_domain_mapping(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -566,6 +568,8 @@ def sample_create_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -653,6 +657,8 @@ def sample_update_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -738,6 +744,8 @@ def sample_delete_domain_mapping():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ def sample_list_ingress_rules():
# Make the request
page_result = client.list_ingress_rules(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -310,7 +312,7 @@ def sample_batch_update_ingress_rules():
# Make the request
response = client.batch_update_ingress_rules(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -375,7 +377,7 @@ def sample_create_ingress_rule():
# Make the request
response = client.create_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -444,7 +446,7 @@ def sample_get_ingress_rule():
# Make the request
response = client.get_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -513,7 +515,7 @@ def sample_update_ingress_rule():
# Make the request
response = client.update_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -580,7 +582,7 @@ def sample_delete_ingress_rule():
)
# Make the request
response = client.delete_ingress_rule(request=request)
client.delete_ingress_rule(request=request)
Args:
request (Union[google.cloud.appengine_admin_v1.types.DeleteIngressRuleRequest, dict]):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ def sample_list_ingress_rules():
# Make the request
page_result = client.list_ingress_rules(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down Expand Up @@ -502,7 +504,7 @@ def sample_batch_update_ingress_rules():
# Make the request
response = client.batch_update_ingress_rules(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -571,7 +573,7 @@ def sample_create_ingress_rule():
# Make the request
response = client.create_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -642,7 +644,7 @@ def sample_get_ingress_rule():
# Make the request
response = client.get_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -713,7 +715,7 @@ def sample_update_ingress_rule():
# Make the request
response = client.update_ingress_rule(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -782,7 +784,7 @@ def sample_delete_ingress_rule():
)
# Make the request
response = client.delete_ingress_rule(request=request)
client.delete_ingress_rule(request=request)
Args:
request (Union[google.cloud.appengine_admin_v1.types.DeleteIngressRuleRequest, dict]):
Expand Down
Loading

0 comments on commit a64ca77

Please sign in to comment.