def sample_delete_version(): # Create a client client = dialogflow_v2beta1.VersionsClient() # Initialize request argument(s) request = dialogflow_v2beta1.DeleteVersionRequest(name="name_value", ) # Make the request client.delete_version(request=request)
def sample_update_version(): # Create a client client = dialogflow_v2beta1.VersionsClient() # Initialize request argument(s) request = dialogflow_v2beta1.UpdateVersionRequest() # Make the request response = client.update_version(request=request) # Handle the response print(response)
def sample_create_version(): # Create a client client = dialogflow_v2beta1.VersionsClient() # Initialize request argument(s) request = dialogflow_v2beta1.CreateVersionRequest(parent="parent_value", ) # Make the request response = client.create_version(request=request) # Handle the response print(response)
def sample_get_version(): # Create a client client = dialogflow_v2beta1.VersionsClient() # Initialize request argument(s) request = dialogflow_v2beta1.GetVersionRequest(name="name_value", ) # Make the request response = client.get_version(request=request) # Handle the response print(response)
def sample_list_versions(): # Create a client client = dialogflow_v2beta1.VersionsClient() # Initialize request argument(s) request = dialogflow_v2beta1.ListVersionsRequest(parent="parent_value", ) # Make the request page_result = client.list_versions(request=request) # Handle the response for response in page_result: print(response)