Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#30)
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 27, 2022
1 parent 90abc9f commit 1a1dc85
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 115 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ async def create_channel(
from google.cloud.video import live_stream_v1
def sample_create_channel():
async def sample_create_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.CreateChannelRequest(
Expand All @@ -253,7 +253,7 @@ def sample_create_channel():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -372,9 +372,9 @@ async def list_channels(
from google.cloud.video import live_stream_v1
def sample_list_channels():
async def sample_list_channels():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.ListChannelsRequest(
Expand All @@ -385,7 +385,7 @@ def sample_list_channels():
page_result = client.list_channels(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -489,17 +489,17 @@ async def get_channel(
from google.cloud.video import live_stream_v1
def sample_get_channel():
async def sample_get_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.GetChannelRequest(
name="name_value",
)
# Make the request
response = client.get_channel(request=request)
response = await client.get_channel(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -600,9 +600,9 @@ async def delete_channel(
from google.cloud.video import live_stream_v1
def sample_delete_channel():
async def sample_delete_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.DeleteChannelRequest(
Expand All @@ -614,7 +614,7 @@ def sample_delete_channel():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -722,9 +722,9 @@ async def update_channel(
from google.cloud.video import live_stream_v1
def sample_update_channel():
async def sample_update_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.UpdateChannelRequest(
Expand All @@ -735,7 +735,7 @@ def sample_update_channel():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -859,9 +859,9 @@ async def start_channel(
from google.cloud.video import live_stream_v1
def sample_start_channel():
async def sample_start_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.StartChannelRequest(
Expand All @@ -873,7 +873,7 @@ def sample_start_channel():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -973,9 +973,9 @@ async def stop_channel(
from google.cloud.video import live_stream_v1
def sample_stop_channel():
async def sample_stop_channel():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.StopChannelRequest(
Expand All @@ -987,7 +987,7 @@ def sample_stop_channel():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1088,9 +1088,9 @@ async def create_input(
from google.cloud.video import live_stream_v1
def sample_create_input():
async def sample_create_input():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.CreateInputRequest(
Expand All @@ -1103,7 +1103,7 @@ def sample_create_input():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1217,9 +1217,9 @@ async def list_inputs(
from google.cloud.video import live_stream_v1
def sample_list_inputs():
async def sample_list_inputs():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.ListInputsRequest(
Expand All @@ -1230,7 +1230,7 @@ def sample_list_inputs():
page_result = client.list_inputs(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1334,17 +1334,17 @@ async def get_input(
from google.cloud.video import live_stream_v1
def sample_get_input():
async def sample_get_input():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.GetInputRequest(
name="name_value",
)
# Make the request
response = client.get_input(request=request)
response = await client.get_input(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1440,9 +1440,9 @@ async def delete_input(
from google.cloud.video import live_stream_v1
def sample_delete_input():
async def sample_delete_input():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.DeleteInputRequest(
Expand All @@ -1454,7 +1454,7 @@ def sample_delete_input():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1562,9 +1562,9 @@ async def update_input(
from google.cloud.video import live_stream_v1
def sample_update_input():
async def sample_update_input():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.UpdateInputRequest(
Expand All @@ -1575,7 +1575,7 @@ def sample_update_input():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1692,9 +1692,9 @@ async def create_event(
from google.cloud.video import live_stream_v1
def sample_create_event():
async def sample_create_event():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.CreateEventRequest(
Expand All @@ -1703,7 +1703,7 @@ def sample_create_event():
)
# Make the request
response = client.create_event(request=request)
response = await client.create_event(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1811,9 +1811,9 @@ async def list_events(
from google.cloud.video import live_stream_v1
def sample_list_events():
async def sample_list_events():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.ListEventsRequest(
Expand All @@ -1824,7 +1824,7 @@ def sample_list_events():
page_result = client.list_events(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1929,17 +1929,17 @@ async def get_event(
from google.cloud.video import live_stream_v1
def sample_get_event():
async def sample_get_event():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.GetEventRequest(
name="name_value",
)
# Make the request
response = client.get_event(request=request)
response = await client.get_event(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -2036,17 +2036,17 @@ async def delete_event(
from google.cloud.video import live_stream_v1
def sample_delete_event():
async def sample_delete_event():
# Create a client
client = live_stream_v1.LivestreamServiceClient()
client = live_stream_v1.LivestreamServiceAsyncClient()
# Initialize request argument(s)
request = live_stream_v1.DeleteEventRequest(
name="name_value",
)
# Make the request
client.delete_event(request=request)
await client.delete_event(request=request)
Args:
request (Union[google.cloud.video.live_stream_v1.types.DeleteEventRequest, dict]):
Expand Down
Loading

0 comments on commit 1a1dc85

Please sign in to comment.