Skip to content

Commit

Permalink
feat(v3): added audio_export_settings (#300)
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

* feat: added audio_export_settings

PiperOrigin-RevId: 444644952

Source-Link: googleapis/googleapis@4bd299a

Source-Link: googleapis/googleapis-gen@cd15ee9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2QxNWVlOWI5NWZlYjY1YmQ5ZmQzMTE2MGM3ZDVmM2NiZGIzNWQ0MCJ9

* 🦉 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 53a5296 commit cc8e117
Show file tree
Hide file tree
Showing 65 changed files with 1,459 additions and 1,388 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ async def list_agents(
from google.cloud import dialogflowcx_v3
def sample_list_agents():
async def sample_list_agents():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ListAgentsRequest(
Expand All @@ -247,7 +247,7 @@ def sample_list_agents():
page_result = client.list_agents(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -342,17 +342,17 @@ async def get_agent(
from google.cloud import dialogflowcx_v3
def sample_get_agent():
async def sample_get_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.GetAgentRequest(
name="name_value",
)
# Make the request
response = client.get_agent(request=request)
response = await client.get_agent(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -454,9 +454,9 @@ async def create_agent(
from google.cloud import dialogflowcx_v3
def sample_create_agent():
async def sample_create_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
agent = dialogflowcx_v3.Agent()
Expand All @@ -470,7 +470,7 @@ def sample_create_agent():
)
# Make the request
response = client.create_agent(request=request)
response = await client.create_agent(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -579,9 +579,9 @@ async def update_agent(
from google.cloud import dialogflowcx_v3
def sample_update_agent():
async def sample_update_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
agent = dialogflowcx_v3.Agent()
Expand All @@ -594,7 +594,7 @@ def sample_update_agent():
)
# Make the request
response = client.update_agent(request=request)
response = await client.update_agent(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -701,17 +701,17 @@ async def delete_agent(
from google.cloud import dialogflowcx_v3
def sample_delete_agent():
async def sample_delete_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.DeleteAgentRequest(
name="name_value",
)
# Make the request
client.delete_agent(request=request)
await client.delete_agent(request=request)
Args:
request (Union[google.cloud.dialogflowcx_v3.types.DeleteAgentRequest, dict]):
Expand Down Expand Up @@ -793,9 +793,9 @@ async def export_agent(
from google.cloud import dialogflowcx_v3
def sample_export_agent():
async def sample_export_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ExportAgentRequest(
Expand All @@ -807,7 +807,7 @@ def sample_export_agent():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -900,9 +900,9 @@ async def restore_agent(
from google.cloud import dialogflowcx_v3
def sample_restore_agent():
async def sample_restore_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.RestoreAgentRequest(
Expand All @@ -915,7 +915,7 @@ def sample_restore_agent():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1002,17 +1002,17 @@ async def validate_agent(
from google.cloud import dialogflowcx_v3
def sample_validate_agent():
async def sample_validate_agent():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ValidateAgentRequest(
name="name_value",
)
# Make the request
response = client.validate_agent(request=request)
response = await client.validate_agent(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1077,17 +1077,17 @@ async def get_agent_validation_result(
from google.cloud import dialogflowcx_v3
def sample_get_agent_validation_result():
async def sample_get_agent_validation_result():
# Create a client
client = dialogflowcx_v3.AgentsClient()
client = dialogflowcx_v3.AgentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.GetAgentValidationResultRequest(
name="name_value",
)
# Make the request
response = client.get_agent_validation_result(request=request)
response = await client.get_agent_validation_result(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ async def list_changelogs(
from google.cloud import dialogflowcx_v3
def sample_list_changelogs():
async def sample_list_changelogs():
# Create a client
client = dialogflowcx_v3.ChangelogsClient()
client = dialogflowcx_v3.ChangelogsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ListChangelogsRequest(
Expand All @@ -227,7 +227,7 @@ def sample_list_changelogs():
page_result = client.list_changelogs(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -322,17 +322,17 @@ async def get_changelog(
from google.cloud import dialogflowcx_v3
def sample_get_changelog():
async def sample_get_changelog():
# Create a client
client = dialogflowcx_v3.ChangelogsClient()
client = dialogflowcx_v3.ChangelogsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.GetChangelogRequest(
name="name_value",
)
# Make the request
response = client.get_changelog(request=request)
response = await client.get_changelog(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ async def list_deployments(
from google.cloud import dialogflowcx_v3
def sample_list_deployments():
async def sample_list_deployments():
# Create a client
client = dialogflowcx_v3.DeploymentsClient()
client = dialogflowcx_v3.DeploymentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ListDeploymentsRequest(
Expand All @@ -238,7 +238,7 @@ def sample_list_deployments():
page_result = client.list_deployments(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -336,17 +336,17 @@ async def get_deployment(
from google.cloud import dialogflowcx_v3
def sample_get_deployment():
async def sample_get_deployment():
# Create a client
client = dialogflowcx_v3.DeploymentsClient()
client = dialogflowcx_v3.DeploymentsAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.GetDeploymentRequest(
name="name_value",
)
# Make the request
response = client.get_deployment(request=request)
response = await client.get_deployment(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ async def list_entity_types(
from google.cloud import dialogflowcx_v3
def sample_list_entity_types():
async def sample_list_entity_types():
# Create a client
client = dialogflowcx_v3.EntityTypesClient()
client = dialogflowcx_v3.EntityTypesAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.ListEntityTypesRequest(
Expand All @@ -231,7 +231,7 @@ def sample_list_entity_types():
page_result = client.list_entity_types(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -327,17 +327,17 @@ async def get_entity_type(
from google.cloud import dialogflowcx_v3
def sample_get_entity_type():
async def sample_get_entity_type():
# Create a client
client = dialogflowcx_v3.EntityTypesClient()
client = dialogflowcx_v3.EntityTypesAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.GetEntityTypeRequest(
name="name_value",
)
# Make the request
response = client.get_entity_type(request=request)
response = await client.get_entity_type(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -459,9 +459,9 @@ async def create_entity_type(
from google.cloud import dialogflowcx_v3
def sample_create_entity_type():
async def sample_create_entity_type():
# Create a client
client = dialogflowcx_v3.EntityTypesClient()
client = dialogflowcx_v3.EntityTypesAsyncClient()
# Initialize request argument(s)
entity_type = dialogflowcx_v3.EntityType()
Expand All @@ -474,7 +474,7 @@ def sample_create_entity_type():
)
# Make the request
response = client.create_entity_type(request=request)
response = await client.create_entity_type(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -603,9 +603,9 @@ async def update_entity_type(
from google.cloud import dialogflowcx_v3
def sample_update_entity_type():
async def sample_update_entity_type():
# Create a client
client = dialogflowcx_v3.EntityTypesClient()
client = dialogflowcx_v3.EntityTypesAsyncClient()
# Initialize request argument(s)
entity_type = dialogflowcx_v3.EntityType()
Expand All @@ -617,7 +617,7 @@ def sample_update_entity_type():
)
# Make the request
response = client.update_entity_type(request=request)
response = await client.update_entity_type(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -747,17 +747,17 @@ async def delete_entity_type(
from google.cloud import dialogflowcx_v3
def sample_delete_entity_type():
async def sample_delete_entity_type():
# Create a client
client = dialogflowcx_v3.EntityTypesClient()
client = dialogflowcx_v3.EntityTypesAsyncClient()
# Initialize request argument(s)
request = dialogflowcx_v3.DeleteEntityTypeRequest(
name="name_value",
)
# Make the request
client.delete_entity_type(request=request)
await client.delete_entity_type(request=request)
Args:
request (Union[google.cloud.dialogflowcx_v3.types.DeleteEntityTypeRequest, dict]):
Expand Down
Loading

0 comments on commit cc8e117

Please sign in to comment.