Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#63)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.2

PiperOrigin-RevId: 444333013

Source-Link: googleapis/googleapis@f91b6cf

Source-Link: googleapis/googleapis-gen@16eb360
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTZlYjM2MDk1YzI5NGU3MTJjNzRhMWJmMjM1NTA4MTdiNDIxNzRlNSJ9

* 🦉 Updates from OwlBot post-processor

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 Apr 28, 2022
1 parent e9a2a4c commit 47fd69c
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ async def list_instances(
from google.cloud import filestore_v1
def sample_list_instances():
async def sample_list_instances():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.ListInstancesRequest(
Expand All @@ -266,7 +266,7 @@ def sample_list_instances():
page_result = client.list_instances(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -374,17 +374,17 @@ async def get_instance(
from google.cloud import filestore_v1
def sample_get_instance():
async def sample_get_instance():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.GetInstanceRequest(
name="name_value",
)
# Make the request
response = client.get_instance(request=request)
response = await client.get_instance(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -482,9 +482,9 @@ async def create_instance(
from google.cloud import filestore_v1
def sample_create_instance():
async def sample_create_instance():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.CreateInstanceRequest(
Expand All @@ -497,7 +497,7 @@ def sample_create_instance():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -615,9 +615,9 @@ async def update_instance(
from google.cloud import filestore_v1
def sample_update_instance():
async def sample_update_instance():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.UpdateInstanceRequest(
Expand All @@ -628,7 +628,7 @@ def sample_update_instance():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -741,9 +741,9 @@ async def restore_instance(
from google.cloud import filestore_v1
def sample_restore_instance():
async def sample_restore_instance():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.RestoreInstanceRequest(
Expand All @@ -757,7 +757,7 @@ def sample_restore_instance():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -832,9 +832,9 @@ async def delete_instance(
from google.cloud import filestore_v1
def sample_delete_instance():
async def sample_delete_instance():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.DeleteInstanceRequest(
Expand All @@ -846,7 +846,7 @@ def sample_delete_instance():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -953,9 +953,9 @@ async def list_backups(
from google.cloud import filestore_v1
def sample_list_backups():
async def sample_list_backups():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.ListBackupsRequest(
Expand All @@ -966,7 +966,7 @@ def sample_list_backups():
page_result = client.list_backups(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1073,17 +1073,17 @@ async def get_backup(
from google.cloud import filestore_v1
def sample_get_backup():
async def sample_get_backup():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.GetBackupRequest(
name="name_value",
)
# Make the request
response = client.get_backup(request=request)
response = await client.get_backup(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1177,9 +1177,9 @@ async def create_backup(
from google.cloud import filestore_v1
def sample_create_backup():
async def sample_create_backup():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.CreateBackupRequest(
Expand All @@ -1192,7 +1192,7 @@ def sample_create_backup():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1314,9 +1314,9 @@ async def delete_backup(
from google.cloud import filestore_v1
def sample_delete_backup():
async def sample_delete_backup():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.DeleteBackupRequest(
Expand All @@ -1328,7 +1328,7 @@ def sample_delete_backup():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1435,9 +1435,9 @@ async def update_backup(
from google.cloud import filestore_v1
def sample_update_backup():
async def sample_update_backup():
# Create a client
client = filestore_v1.CloudFilestoreManagerClient()
client = filestore_v1.CloudFilestoreManagerAsyncClient()
# Initialize request argument(s)
request = filestore_v1.UpdateBackupRequest(
Expand All @@ -1448,7 +1448,7 @@ def sample_update_backup():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit 47fd69c

Please sign in to comment.