blob: d3354efbdd3f5cf07a71fdce48aa17ba2f67f358 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/dialogflow/apiv2beta1",
"version": "1.15.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.dialogflow.v2beta1",
"version": "v2beta1"
}
]
},
"snippets": [
{
"regionTag": "dialogflow_v2beta1_generated_Agents_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "AgentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.CancelOperation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_DeleteAgent_sync",
"title": "dialogflow DeleteAgent Sample",
"description": "DeleteAgent deletes the specified agent.",
"file": "AgentsClient/DeleteAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.DeleteAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "DeleteAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_ExportAgent_sync",
"title": "dialogflow ExportAgent Sample",
"description": "ExportAgent exports the specified agent to a ZIP file.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: ExportAgentResponse",
"file": "AgentsClient/ExportAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ExportAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ExportAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "ExportAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_GetAgent_sync",
"title": "dialogflow GetAgent Sample",
"description": "GetAgent retrieves the specified agent.",
"file": "AgentsClient/GetAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Agent",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "GetAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "AgentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.GetLocation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "AgentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.GetOperation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_GetValidationResult_sync",
"title": "dialogflow GetValidationResult Sample",
"description": "GetValidationResult gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.",
"file": "AgentsClient/GetValidationResult/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetValidationResult",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetValidationResult",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetValidationResultRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.ValidationResult",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "GetValidationResult",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_ImportAgent_sync",
"title": "dialogflow ImportAgent Sample",
"description": "ImportAgent imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from ImportAgentRequest. After the import, the imported draft\nagent will be trained automatically (unless disabled in agent settings).\nHowever, once the import is done, training may not be completed yet. Please\ncall TrainAgent and wait for the operation it returns in order to train\nexplicitly.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when importing is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "AgentsClient/ImportAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ImportAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ImportAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "ImportAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "AgentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.ListLocations",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "AgentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.ListOperations",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_RestoreAgent_sync",
"title": "dialogflow RestoreAgent Sample",
"description": "RestoreAgent restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call TrainAgent and wait for the operation it\nreturns in order to train explicitly.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when restoring is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "AgentsClient/RestoreAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RestoreAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.RestoreAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.RestoreAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RestoreAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "RestoreAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_SearchAgents_sync",
"title": "dialogflow SearchAgents Sample",
"description": "SearchAgents returns the list of agents.\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id “-”.\nRefer to List\nSub-Collections (at https: //cloud.google.com/apis/design/design_patterns#list_sub-collections).",
"file": "AgentsClient/SearchAgents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchAgents",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.SearchAgents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SearchAgentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AgentIterator",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "SearchAgents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_SetAgent_sync",
"title": "dialogflow SetAgent Sample",
"description": "SetAgent creates/updates the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "AgentsClient/SetAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.SetAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SetAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Agent",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "SetAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Agents_TrainAgent_sync",
"title": "dialogflow TrainAgent Sample",
"description": "TrainAgent trains the specified agent.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "AgentsClient/TrainAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TrainAgent",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.TrainAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.TrainAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "TrainAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AgentsClient"
},
"method": {
"shortName": "TrainAgent",
"fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.v2beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "AnswerRecordsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.CancelOperation",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetAnswerRecord_sync",
"title": "dialogflow GetAnswerRecord Sample",
"description": "GetAnswerRecord deprecated.\nRetrieves a specific answer record.\n\nDeprecated: GetAnswerRecord may be removed in a future version.",
"file": "AnswerRecordsClient/GetAnswerRecord/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAnswerRecord",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetAnswerRecord",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetAnswerRecordRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.AnswerRecord",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "GetAnswerRecord",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "AnswerRecordsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetLocation",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "AnswerRecordsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetOperation",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListAnswerRecords_sync",
"title": "dialogflow ListAnswerRecords Sample",
"description": "ListAnswerRecords returns the list of all answer records in the specified project in reverse\nchronological order.",
"file": "AnswerRecordsClient/ListAnswerRecords/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListAnswerRecords",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListAnswerRecordsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AnswerRecordIterator",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "ListAnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "AnswerRecordsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListLocations",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "AnswerRecordsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListOperations",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_AnswerRecords_UpdateAnswerRecord_sync",
"title": "dialogflow UpdateAnswerRecord Sample",
"description": "UpdateAnswerRecord updates the specified answer record.",
"file": "AnswerRecordsClient/UpdateAnswerRecord/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAnswerRecord",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.UpdateAnswerRecord",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateAnswerRecordRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.AnswerRecord",
"client": {
"shortName": "AnswerRecordsClient",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient"
},
"method": {
"shortName": "UpdateAnswerRecord",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord",
"service": {
"shortName": "AnswerRecords",
"fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ContextsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.CancelOperation",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_CreateContext_sync",
"title": "dialogflow CreateContext Sample",
"description": "CreateContext creates a context.\n\nIf the specified context already exists, overrides the context.",
"file": "ContextsClient/CreateContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateContext",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.CreateContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Context",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "CreateContext",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteAllContexts_sync",
"title": "dialogflow DeleteAllContexts Sample",
"description": "DeleteAllContexts deletes all active contexts in the specified session.",
"file": "ContextsClient/DeleteAllContexts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteAllContexts",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.DeleteAllContexts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteAllContextsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "DeleteAllContexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteContext_sync",
"title": "dialogflow DeleteContext Sample",
"description": "DeleteContext deletes the specified context.",
"file": "ContextsClient/DeleteContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteContext",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.DeleteContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "DeleteContext",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_GetContext_sync",
"title": "dialogflow GetContext Sample",
"description": "GetContext retrieves the specified context.",
"file": "ContextsClient/GetContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetContext",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Context",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "GetContext",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ContextsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetLocation",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ContextsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetOperation",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_ListContexts_sync",
"title": "dialogflow ListContexts Sample",
"description": "ListContexts returns the list of all contexts in the specified session.",
"file": "ContextsClient/ListContexts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListContexts",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListContexts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListContextsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ContextIterator",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "ListContexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ContextsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListLocations",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ContextsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListOperations",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Contexts_UpdateContext_sync",
"title": "dialogflow UpdateContext Sample",
"description": "UpdateContext updates the specified context.",
"file": "ContextsClient/UpdateContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateContext",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.UpdateContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Context",
"client": {
"shortName": "ContextsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ContextsClient"
},
"method": {
"shortName": "UpdateContext",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext",
"service": {
"shortName": "Contexts",
"fullName": "google.cloud.dialogflow.v2beta1.Contexts"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ConversationProfilesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CancelOperation",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ClearSuggestionFeatureConfig_sync",
"title": "dialogflow ClearSuggestionFeatureConfig Sample",
"description": "ClearSuggestionFeatureConfig clears a suggestion feature from a conversation profile for the given\nparticipant role.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: ClearSuggestionFeatureConfigOperationMetadata\n\n\tresponse: ConversationProfile",
"file": "ConversationProfilesClient/ClearSuggestionFeatureConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ClearSuggestionFeatureConfig",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ClearSuggestionFeatureConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ClearSuggestionFeatureConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ClearSuggestionFeatureConfigOperation",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "ClearSuggestionFeatureConfig",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CreateConversationProfile_sync",
"title": "dialogflow CreateConversationProfile Sample",
"description": "CreateConversationProfile creates a conversation profile in the specified project.\n\nConversationProfile.CreateTime and ConversationProfile.UpdateTime\naren’t populated in the response. You can retrieve them via\nGetConversationProfile API.",
"file": "ConversationProfilesClient/CreateConversationProfile/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.CreateConversationProfile",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateConversationProfileRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.ConversationProfile",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "CreateConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_DeleteConversationProfile_sync",
"title": "dialogflow DeleteConversationProfile Sample",
"description": "DeleteConversationProfile deletes the specified conversation profile.",
"file": "ConversationProfilesClient/DeleteConversationProfile/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.DeleteConversationProfile",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteConversationProfileRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "DeleteConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetConversationProfile_sync",
"title": "dialogflow GetConversationProfile Sample",
"description": "GetConversationProfile retrieves the specified conversation profile.",
"file": "ConversationProfilesClient/GetConversationProfile/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetConversationProfile",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetConversationProfileRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.ConversationProfile",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "GetConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ConversationProfilesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetLocation",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ConversationProfilesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetOperation",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListConversationProfiles_sync",
"title": "dialogflow ListConversationProfiles Sample",
"description": "ListConversationProfiles returns the list of all conversation profiles in the specified project.",
"file": "ConversationProfilesClient/ListConversationProfiles/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListConversationProfiles",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListConversationProfilesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ConversationProfileIterator",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "ListConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ConversationProfilesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListLocations",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ConversationProfilesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListOperations",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_SetSuggestionFeatureConfig_sync",
"title": "dialogflow SetSuggestionFeatureConfig Sample",
"description": "SetSuggestionFeatureConfig adds or updates a suggestion feature in a conversation profile.\nIf the conversation profile contains the type of suggestion feature for\nthe participant role, it will update it. Otherwise it will insert the\nsuggestion feature.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: SetSuggestionFeatureConfigOperationMetadata\n\n\tresponse: ConversationProfile\n\nIf a long running operation to add or update suggestion feature\nconfig for the same conversation profile, participant role and suggestion\nfeature type exists, please cancel the existing long running operation\nbefore sending such request, otherwise the request will be rejected.",
"file": "ConversationProfilesClient/SetSuggestionFeatureConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetSuggestionFeatureConfig",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.SetSuggestionFeatureConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SetSuggestionFeatureConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SetSuggestionFeatureConfigOperation",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "SetSuggestionFeatureConfig",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_UpdateConversationProfile_sync",
"title": "dialogflow UpdateConversationProfile Sample",
"description": "UpdateConversationProfile updates the specified conversation profile.\n\nConversationProfile.CreateTime and ConversationProfile.UpdateTime\naren’t populated in the response. You can retrieve them via\nGetConversationProfile API.",
"file": "ConversationProfilesClient/UpdateConversationProfile/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.UpdateConversationProfile",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateConversationProfileRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.ConversationProfile",
"client": {
"shortName": "ConversationProfilesClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient"
},
"method": {
"shortName": "UpdateConversationProfile",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile",
"service": {
"shortName": "ConversationProfiles",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_BatchCreateMessages_sync",
"title": "dialogflow BatchCreateMessages Sample",
"description": "BatchCreateMessages batch ingests messages to conversation. Customers can use this RPC to\ningest historical messages to conversation.",
"file": "ConversationsClient/BatchCreateMessages/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCreateMessages",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.BatchCreateMessages",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchCreateMessagesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.BatchCreateMessagesResponse",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "BatchCreateMessages",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ConversationsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.CancelOperation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_CompleteConversation_sync",
"title": "dialogflow CompleteConversation Sample",
"description": "CompleteConversation completes the specified conversation. Finished conversations are purged\nfrom the database after 30 days.",
"file": "ConversationsClient/CompleteConversation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CompleteConversation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CompleteConversation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CompleteConversationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Conversation",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "CompleteConversation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_CreateConversation_sync",
"title": "dialogflow CreateConversation Sample",
"description": "CreateConversation creates a new conversation. Conversations are auto-completed after 24\nhours.\n\nConversation Lifecycle: \nThere are two stages during a conversation: Automated Agent Stage and\nAssist Stage.\n\nFor Automated Agent Stage, there will be a dialogflow agent responding to\nuser queries.\n\nFor Assist Stage, there’s no dialogflow agent responding to user queries.\nBut we will provide suggestions which are generated from conversation.\n\nIf Conversation.conversation_profile is configured for a dialogflow\nagent, conversation will start from Automated Agent Stage, otherwise, it\nwill start from Assist Stage. And during Automated Agent Stage, once an\nIntent with Intent.live_agent_handoff is triggered, conversation\nwill transfer to Assist Stage.",
"file": "ConversationsClient/CreateConversation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateConversation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CreateConversation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateConversationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Conversation",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "CreateConversation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_GetConversation_sync",
"title": "dialogflow GetConversation Sample",
"description": "GetConversation retrieves the specific conversation.",
"file": "ConversationsClient/GetConversation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetConversation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetConversation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetConversationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Conversation",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "GetConversation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ConversationsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetLocation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ConversationsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetOperation",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_ListConversations_sync",
"title": "dialogflow ListConversations Sample",
"description": "ListConversations returns the list of all conversations in the specified project.",
"file": "ConversationsClient/ListConversations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListConversations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListConversations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListConversationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ConversationIterator",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "ListConversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ConversationsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListLocations",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_ListMessages_sync",
"title": "dialogflow ListMessages Sample",
"description": "ListMessages lists messages that belong to a given conversation.\nmessages are ordered by create_time in descending order. To fetch\nupdates without duplication, send request with filter\ncreate_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.",
"file": "ConversationsClient/ListMessages/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListMessages",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListMessages",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListMessagesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "MessageIterator",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "ListMessages",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Conversations_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ConversationsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ConversationsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListOperations",
"service": {
"shortName": "Conversations",
"fullName": "google.cloud.dialogflow.v2beta1.Conversations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "DocumentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.CancelOperation",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_CreateDocument_sync",
"title": "dialogflow CreateDocument Sample",
"description": "CreateDocument creates a new document.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: KnowledgeOperationMetadata\n\n\tresponse: Document\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/CreateDocument/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDocument",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.CreateDocument",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateDocumentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateDocumentOperation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "CreateDocument",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_DeleteDocument_sync",
"title": "dialogflow DeleteDocument Sample",
"description": "DeleteDocument deletes the specified document.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: KnowledgeOperationMetadata\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/DeleteDocument/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDocument",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.DeleteDocument",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteDocumentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteDocumentOperation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "DeleteDocument",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_GetDocument_sync",
"title": "dialogflow GetDocument Sample",
"description": "GetDocument retrieves the specified document.\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/GetDocument/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDocument",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetDocument",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetDocumentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Document",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "GetDocument",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "DocumentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.GetLocation",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "DocumentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.GetOperation",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_ImportDocuments_sync",
"title": "dialogflow ImportDocuments Sample",
"description": "ImportDocuments create documents by importing data from external sources.\nDialogflow supports up to 350 documents in each request. If you try to\nimport more, Dialogflow will return an error.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: KnowledgeOperationMetadata\n\n\tresponse: ImportDocumentsResponse",
"file": "DocumentsClient/ImportDocuments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportDocuments",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ImportDocuments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ImportDocumentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportDocumentsOperation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "ImportDocuments",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_ListDocuments_sync",
"title": "dialogflow ListDocuments Sample",
"description": "ListDocuments returns the list of all documents of the knowledge base.\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/ListDocuments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDocuments",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListDocuments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListDocumentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DocumentIterator",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "ListDocuments",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "DocumentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.ListLocations",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "DocumentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.ListOperations",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_ReloadDocument_sync",
"title": "dialogflow ReloadDocument Sample",
"description": "ReloadDocument reloads the specified document from its specified source, content_uri or\ncontent. The previously loaded content of the document will be deleted.\nNote: Even when the content of the document has not changed, there still\nmay be side effects because of internal implementation changes.\nNote: If the document source is Google Cloud Storage URI, its metadata will\nbe replaced with the custom metadata from Google Cloud Storage if the\nimport_gcs_custom_metadata field is set to true in the request.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: KnowledgeOperationMetadata\n\n\tresponse: Document\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/ReloadDocument/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReloadDocument",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ReloadDocument",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ReloadDocumentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ReloadDocumentOperation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "ReloadDocument",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Documents_UpdateDocument_sync",
"title": "dialogflow UpdateDocument Sample",
"description": "UpdateDocument updates the specified document.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: KnowledgeOperationMetadata\n\n\tresponse: Document\n\nNote: The projects.agent.knowledgeBases.documents resource is deprecated;\nonly use projects.knowledgeBases.documents.",
"file": "DocumentsClient/UpdateDocument/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateDocument",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.UpdateDocument",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateDocumentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateDocumentOperation",
"client": {
"shortName": "DocumentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient"
},
"method": {
"shortName": "UpdateDocument",
"fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument",
"service": {
"shortName": "Documents",
"fullName": "google.cloud.dialogflow.v2beta1.Documents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchCreateEntities_sync",
"title": "dialogflow BatchCreateEntities Sample",
"description": "BatchCreateEntities creates multiple new entities in the specified entity type.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/BatchCreateEntities/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCreateEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchCreateEntities",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchCreateEntitiesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchCreateEntitiesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "BatchCreateEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntities_sync",
"title": "dialogflow BatchDeleteEntities Sample",
"description": "BatchDeleteEntities deletes entities in the specified entity type.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/BatchDeleteEntities/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchDeleteEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchDeleteEntities",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchDeleteEntitiesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchDeleteEntitiesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "BatchDeleteEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntityTypes_sync",
"title": "dialogflow BatchDeleteEntityTypes Sample",
"description": "BatchDeleteEntityTypes deletes entity types in the specified agent.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/BatchDeleteEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchDeleteEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchDeleteEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchDeleteEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchDeleteEntityTypesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "BatchDeleteEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntities_sync",
"title": "dialogflow BatchUpdateEntities Sample",
"description": "BatchUpdateEntities updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren’t explicitly\nspecified in the request.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)",
"file": "EntityTypesClient/BatchUpdateEntities/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchUpdateEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchUpdateEntities",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchUpdateEntitiesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchUpdateEntitiesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "BatchUpdateEntities",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntityTypes_sync",
"title": "dialogflow BatchUpdateEntityTypes Sample",
"description": "BatchUpdateEntityTypes updates/Creates multiple entity types in the specified agent.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: BatchUpdateEntityTypesResponse\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/BatchUpdateEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchUpdateEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchUpdateEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchUpdateEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchUpdateEntityTypesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "BatchUpdateEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "EntityTypesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CancelOperation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_CreateEntityType_sync",
"title": "dialogflow CreateEntityType Sample",
"description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/CreateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.CreateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_DeleteEntityType_sync",
"title": "dialogflow DeleteEntityType Sample",
"description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/DeleteEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.DeleteEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetEntityType_sync",
"title": "dialogflow GetEntityType Sample",
"description": "GetEntityType retrieves the specified entity type.",
"file": "EntityTypesClient/GetEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "GetEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "EntityTypesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetLocation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "EntityTypesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetOperation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListEntityTypes_sync",
"title": "dialogflow ListEntityTypes Sample",
"description": "ListEntityTypes returns the list of all entity types in the specified agent.",
"file": "EntityTypesClient/ListEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EntityTypeIterator",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "ListEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "EntityTypesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListLocations",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "EntityTypesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListOperations",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_EntityTypes_UpdateEntityType_sync",
"title": "dialogflow UpdateEntityType Sample",
"description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "EntityTypesClient/UpdateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.UpdateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient"
},
"method": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "EnvironmentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.CancelOperation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_CreateEnvironment_sync",
"title": "dialogflow CreateEnvironment Sample",
"description": "CreateEnvironment creates an agent environment.",
"file": "EnvironmentsClient/CreateEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.CreateEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Environment",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "CreateEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_DeleteEnvironment_sync",
"title": "dialogflow DeleteEnvironment Sample",
"description": "DeleteEnvironment deletes the specified agent environment.",
"file": "EnvironmentsClient/DeleteEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.DeleteEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "DeleteEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironment_sync",
"title": "dialogflow GetEnvironment Sample",
"description": "GetEnvironment retrieves the specified agent environment.",
"file": "EnvironmentsClient/GetEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Environment",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironmentHistory_sync",
"title": "dialogflow GetEnvironmentHistory Sample",
"description": "GetEnvironmentHistory gets the history of the specified environment.",
"file": "EnvironmentsClient/GetEnvironmentHistory/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEnvironmentHistory",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetEnvironmentHistory",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetEnvironmentHistoryRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EnvironmentHistory_EntryIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetEnvironmentHistory",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "EnvironmentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.GetLocation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "EnvironmentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.GetOperation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_ListEnvironments_sync",
"title": "dialogflow ListEnvironments Sample",
"description": "ListEnvironments returns the list of all non-draft environments of the specified agent.",
"file": "EnvironmentsClient/ListEnvironments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListEnvironments",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListEnvironments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListEnvironmentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EnvironmentIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListEnvironments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "EnvironmentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.ListLocations",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "EnvironmentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.ListOperations",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Environments_UpdateEnvironment_sync",
"title": "dialogflow UpdateEnvironment Sample",
"description": "UpdateEnvironment updates the specified agent environment.\n\nThis method allows you to deploy new agent versions into the environment.\nWhen an environment is pointed to a new agent version by setting\nenvironment.agent_version, the environment is temporarily set to the\nLOADING state. During that time, the environment keeps on serving the\nprevious version of the agent. After the new agent version is done loading,\nthe environment is set back to the RUNNING state.\nYou can use “-” as Environment ID in environment name to update version\nin “draft” environment. WARNING: this will negate all recent changes to\ndraft and can’t be undone. You may want to save the draft to a version\nbefore calling this function.",
"file": "EnvironmentsClient/UpdateEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.UpdateEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Environment",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient"
},
"method": {
"shortName": "UpdateEnvironment",
"fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.v2beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FulfillmentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.CancelOperation",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetFulfillment_sync",
"title": "dialogflow GetFulfillment Sample",
"description": "GetFulfillment retrieves the fulfillment.",
"file": "FulfillmentsClient/GetFulfillment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFulfillment",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetFulfillment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetFulfillmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Fulfillment",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "GetFulfillment",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FulfillmentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetLocation",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FulfillmentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetOperation",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FulfillmentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.ListLocations",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FulfillmentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.ListOperations",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Fulfillments_UpdateFulfillment_sync",
"title": "dialogflow UpdateFulfillment Sample",
"description": "UpdateFulfillment updates the fulfillment.",
"file": "FulfillmentsClient/UpdateFulfillment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFulfillment",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.UpdateFulfillment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateFulfillmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Fulfillment",
"client": {
"shortName": "FulfillmentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient"
},
"method": {
"shortName": "UpdateFulfillment",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment",
"service": {
"shortName": "Fulfillments",
"fullName": "google.cloud.dialogflow.v2beta1.Fulfillments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_BatchDeleteIntents_sync",
"title": "dialogflow BatchDeleteIntents Sample",
"description": "BatchDeleteIntents deletes intents in the specified agent.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: An Empty\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "IntentsClient/BatchDeleteIntents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchDeleteIntents",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.BatchDeleteIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchDeleteIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchDeleteIntentsOperation",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "BatchDeleteIntents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_BatchUpdateIntents_sync",
"title": "dialogflow BatchUpdateIntents Sample",
"description": "BatchUpdateIntents updates/Creates multiple intents in the specified agent.\n\nThis method is a long-running\noperation (at https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned Operation type has the following method-specific fields: \n\n\tmetadata: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: BatchUpdateIntentsResponse\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "IntentsClient/BatchUpdateIntents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchUpdateIntents",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.BatchUpdateIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.BatchUpdateIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchUpdateIntentsOperation",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "BatchUpdateIntents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "IntentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.CancelOperation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_CreateIntent_sync",
"title": "dialogflow CreateIntent Sample",
"description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "IntentsClient/CreateIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateIntent",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.CreateIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "CreateIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_DeleteIntent_sync",
"title": "dialogflow DeleteIntent Sample",
"description": "DeleteIntent deletes the specified intent and its direct or indirect followup intents.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "IntentsClient/DeleteIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteIntent",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.DeleteIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "DeleteIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_GetIntent_sync",
"title": "dialogflow GetIntent Sample",
"description": "GetIntent retrieves the specified intent.",
"file": "IntentsClient/GetIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIntent",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "GetIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "IntentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.GetLocation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "IntentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.GetOperation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_ListIntents_sync",
"title": "dialogflow ListIntents Sample",
"description": "ListIntents returns the list of all intents in the specified agent.",
"file": "IntentsClient/ListIntents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListIntents",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "IntentIterator",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "ListIntents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "IntentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.ListLocations",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "IntentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.ListOperations",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Intents_UpdateIntent_sync",
"title": "dialogflow UpdateIntent Sample",
"description": "UpdateIntent updates the specified intent.\n\nNote: You should always train an agent prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/es/docs/training).",
"file": "IntentsClient/UpdateIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateIntent",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.UpdateIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.v2beta1.IntentsClient"
},
"method": {
"shortName": "UpdateIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.v2beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "KnowledgeBasesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CancelOperation",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CreateKnowledgeBase_sync",
"title": "dialogflow CreateKnowledgeBase Sample",
"description": "CreateKnowledgeBase creates a knowledge base.\n\nNote: The projects.agent.knowledgeBases resource is deprecated;\nonly use projects.knowledgeBases.",
"file": "KnowledgeBasesClient/CreateKnowledgeBase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.CreateKnowledgeBase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateKnowledgeBaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.KnowledgeBase",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "CreateKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_DeleteKnowledgeBase_sync",
"title": "dialogflow DeleteKnowledgeBase Sample",
"description": "DeleteKnowledgeBase deletes the specified knowledge base.\n\nNote: The projects.agent.knowledgeBases resource is deprecated;\nonly use projects.knowledgeBases.",
"file": "KnowledgeBasesClient/DeleteKnowledgeBase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.DeleteKnowledgeBase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteKnowledgeBaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "DeleteKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetKnowledgeBase_sync",
"title": "dialogflow GetKnowledgeBase Sample",
"description": "GetKnowledgeBase retrieves the specified knowledge base.\n\nNote: The projects.agent.knowledgeBases resource is deprecated;\nonly use projects.knowledgeBases.",
"file": "KnowledgeBasesClient/GetKnowledgeBase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetKnowledgeBase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetKnowledgeBaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.KnowledgeBase",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "GetKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "KnowledgeBasesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetLocation",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "KnowledgeBasesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetOperation",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListKnowledgeBases_sync",
"title": "dialogflow ListKnowledgeBases Sample",
"description": "ListKnowledgeBases returns the list of all knowledge bases of the specified agent.\n\nNote: The projects.agent.knowledgeBases resource is deprecated;\nonly use projects.knowledgeBases.",
"file": "KnowledgeBasesClient/ListKnowledgeBases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListKnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListKnowledgeBases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListKnowledgeBasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "KnowledgeBaseIterator",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "ListKnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "KnowledgeBasesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListLocations",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "KnowledgeBasesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListOperations",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_UpdateKnowledgeBase_sync",
"title": "dialogflow UpdateKnowledgeBase Sample",
"description": "UpdateKnowledgeBase updates the specified knowledge base.\n\nNote: The projects.agent.knowledgeBases resource is deprecated;\nonly use projects.knowledgeBases.",
"file": "KnowledgeBasesClient/UpdateKnowledgeBase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.UpdateKnowledgeBase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateKnowledgeBaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.KnowledgeBase",
"client": {
"shortName": "KnowledgeBasesClient",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient"
},
"method": {
"shortName": "UpdateKnowledgeBase",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase",
"service": {
"shortName": "KnowledgeBases",
"fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_AnalyzeContent_sync",
"title": "dialogflow AnalyzeContent Sample",
"description": "AnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See Versions and\nenvironments (at https: //cloud.google.com/dialogflow/es/docs/agents-versions).",
"file": "ParticipantsClient/AnalyzeContent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "AnalyzeContent",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.AnalyzeContent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.AnalyzeContentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.AnalyzeContentResponse",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "AnalyzeContent",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ParticipantsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.CancelOperation",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_CompileSuggestion_sync",
"title": "dialogflow CompileSuggestion Sample",
"description": "CompileSuggestion deprecated. use SuggestArticles and SuggestFaqAnswers instead.\n\nGets suggestions for a participant based on specific historical\nmessages.\n\nNote that ListSuggestions will only list the auto-generated\nsuggestions, while CompileSuggestion will try to compile suggestion\nbased on the provided conversation context in the real time.\n\nDeprecated: CompileSuggestion may be removed in a future version.",
"file": "ParticipantsClient/CompileSuggestion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CompileSuggestion",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CompileSuggestion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CompileSuggestionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.CompileSuggestionResponse",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "CompileSuggestion",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_CreateParticipant_sync",
"title": "dialogflow CreateParticipant Sample",
"description": "CreateParticipant creates a new participant in a conversation.",
"file": "ParticipantsClient/CreateParticipant/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CreateParticipant",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateParticipantRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Participant",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "CreateParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ParticipantsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.GetLocation",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ParticipantsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.GetOperation",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_GetParticipant_sync",
"title": "dialogflow GetParticipant Sample",
"description": "GetParticipant retrieves a conversation participant.",
"file": "ParticipantsClient/GetParticipant/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetParticipant",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetParticipantRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Participant",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "GetParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ParticipantsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.ListLocations",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ParticipantsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.ListOperations",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_ListParticipants_sync",
"title": "dialogflow ListParticipants Sample",
"description": "ListParticipants returns the list of all participants in the specified conversation.",
"file": "ParticipantsClient/ListParticipants/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListParticipants",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListParticipants",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListParticipantsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ParticipantIterator",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "ListParticipants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_ListSuggestions_sync",
"title": "dialogflow ListSuggestions Sample",
"description": "ListSuggestions deprecated: Use inline suggestion, event based suggestion or\nSuggestion* API instead.\nSee [HumanAgentAssistantConfig.name (at http: //HumanAgentAssistantConfig.name)][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name (at http: //google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name)] for more\ndetails.\nRemoval Date: 2020-09-01.\n\nRetrieves suggestions for live agents.\n\nThis method should be used by human agent client software to fetch auto\ngenerated suggestions in real-time, while the conversation with an end user\nis in progress. The functionality is implemented in terms of the\nlist\npagination (at https: //cloud.google.com/apis/design/design_patterns#list_pagination)\ndesign pattern. The client app should use the next_page_token field\nto fetch the next batch of suggestions. suggestions are sorted by\ncreate_time in descending order.\nTo fetch latest suggestion, just set page_size to 1.\nTo fetch new suggestions without duplication, send request with filter\ncreate_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.\n\nDeprecated: ListSuggestions may be removed in a future version.",
"file": "ParticipantsClient/ListSuggestions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSuggestions",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListSuggestions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListSuggestionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SuggestionIterator",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "ListSuggestions",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_StreamingAnalyzeContent_sync",
"title": "dialogflow StreamingAnalyzeContent Sample",
"description": "StreamingAnalyzeContent adds a text (e.g., chat) or audio (e.g., phone recording) message from a\nparticipant into the conversation.\nNote: This method is only available through the gRPC API (not REST).\n\nThe top-level message sent to the client by the server is\nStreamingAnalyzeContentResponse. Multiple response messages can be\nreturned in order. The first one or more messages contain the\nrecognition_result field. Each result represents a more complete\ntranscript of what the user said. The next message contains the\nreply_text field, and potentially the reply_audio and/or the\nautomated_agent_reply fields.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See Versions and\nenvironments (at https: //cloud.google.com/dialogflow/es/docs/agents-versions).",
"file": "ParticipantsClient/StreamingAnalyzeContent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingAnalyzeContent",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.StreamingAnalyzeContent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "StreamingAnalyzeContent",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 68,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_SuggestArticles_sync",
"title": "dialogflow SuggestArticles Sample",
"description": "SuggestArticles gets suggested articles for a participant based on specific historical\nmessages.\n\nNote that ListSuggestions will only list the auto-generated\nsuggestions, while CompileSuggestion will try to compile suggestion\nbased on the provided conversation context in the real time.",
"file": "ParticipantsClient/SuggestArticles/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SuggestArticles",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestArticles",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SuggestArticlesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SuggestArticlesResponse",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "SuggestArticles",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_SuggestFaqAnswers_sync",
"title": "dialogflow SuggestFaqAnswers Sample",
"description": "SuggestFaqAnswers gets suggested faq answers for a participant based on specific historical\nmessages.",
"file": "ParticipantsClient/SuggestFaqAnswers/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SuggestFaqAnswers",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestFaqAnswers",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SuggestFaqAnswersRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SuggestFaqAnswersResponse",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "SuggestFaqAnswers",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_SuggestSmartReplies_sync",
"title": "dialogflow SuggestSmartReplies Sample",
"description": "SuggestSmartReplies gets smart replies for a participant based on specific historical\nmessages.",
"file": "ParticipantsClient/SuggestSmartReplies/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SuggestSmartReplies",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestSmartReplies",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.SuggestSmartRepliesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SuggestSmartRepliesResponse",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "SuggestSmartReplies",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Participants_UpdateParticipant_sync",
"title": "dialogflow UpdateParticipant Sample",
"description": "UpdateParticipant updates the specified participant.",
"file": "ParticipantsClient/UpdateParticipant/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.UpdateParticipant",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateParticipantRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Participant",
"client": {
"shortName": "ParticipantsClient",
"fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient"
},
"method": {
"shortName": "UpdateParticipant",
"fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant",
"service": {
"shortName": "Participants",
"fullName": "google.cloud.dialogflow.v2beta1.Participants"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "SessionEntityTypesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CancelOperation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync",
"title": "dialogflow CreateSessionEntityType Sample",
"description": "CreateSessionEntityType creates a session entity type.\n\nIf the specified session entity type already exists, overrides the\nsession entity type.\n\nThis method doesn’t work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.",
"file": "SessionEntityTypesClient/CreateSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.CreateSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "CreateSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync",
"title": "dialogflow DeleteSessionEntityType Sample",
"description": "DeleteSessionEntityType deletes the specified session entity type.\n\nThis method doesn’t work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.",
"file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.DeleteSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "DeleteSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "SessionEntityTypesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetLocation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "SessionEntityTypesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetOperation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetSessionEntityType_sync",
"title": "dialogflow GetSessionEntityType Sample",
"description": "GetSessionEntityType retrieves the specified session entity type.\n\nThis method doesn’t work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.",
"file": "SessionEntityTypesClient/GetSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "SessionEntityTypesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListLocations",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "SessionEntityTypesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListOperations",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync",
"title": "dialogflow ListSessionEntityTypes Sample",
"description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.\n\nThis method doesn’t work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.",
"file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListSessionEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListSessionEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SessionEntityTypeIterator",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListSessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync",
"title": "dialogflow UpdateSessionEntityType Sample",
"description": "UpdateSessionEntityType updates the specified session entity type.\n\nThis method doesn’t work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.",
"file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.UpdateSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "UpdateSessionEntityType",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "SessionsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.CancelOperation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_DetectIntent_sync",
"title": "dialogflow DetectIntent Sample",
"description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.\n\nIf you might use\nAgent Assist (at https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\nAnalyzeContent\ninstead of DetectIntent. AnalyzeContent has additional\nfunctionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee Versions and\nenvironments (at https: //cloud.google.com/dialogflow/es/docs/agents-versions).",
"file": "SessionsClient/DetectIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DetectIntent",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.DetectIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DetectIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.DetectIntentResponse",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "DetectIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "SessionsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.GetLocation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "SessionsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.GetOperation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "SessionsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.ListLocations",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "SessionsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.ListOperations",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Sessions_StreamingDetectIntent_sync",
"title": "dialogflow StreamingDetectIntent Sample",
"description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nIf you might use\nAgent Assist (at https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\nStreamingAnalyzeContent\ninstead of StreamingDetectIntent. StreamingAnalyzeContent has\nadditional functionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee Versions and\nenvironments (at https: //cloud.google.com/dialogflow/es/docs/agents-versions).",
"file": "SessionsClient/StreamingDetectIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingDetectIntent",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.StreamingDetectIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.SessionsClient"
},
"method": {
"shortName": "StreamingDetectIntent",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.v2beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 68,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "VersionsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.CancelOperation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_CreateVersion_sync",
"title": "dialogflow CreateVersion Sample",
"description": "CreateVersion creates an agent version.\n\nThe new version points to the agent instance in the “default” environment.",
"file": "VersionsClient/CreateVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateVersion",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.CreateVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.CreateVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Version",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "CreateVersion",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_DeleteVersion_sync",
"title": "dialogflow DeleteVersion Sample",
"description": "DeleteVersion delete the specified agent version.",
"file": "VersionsClient/DeleteVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteVersion",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.DeleteVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.DeleteVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "DeleteVersion",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "VersionsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.GetLocation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "VersionsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.GetOperation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_GetVersion_sync",
"title": "dialogflow GetVersion Sample",
"description": "GetVersion retrieves the specified agent version.",
"file": "VersionsClient/GetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetVersion",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.GetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Version",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "GetVersion",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "VersionsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.ListLocations",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "VersionsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.ListOperations",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_ListVersions_sync",
"title": "dialogflow ListVersions Sample",
"description": "ListVersions returns the list of all versions of the specified agent.",
"file": "VersionsClient/ListVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListVersions",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.ListVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "VersionIterator",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "ListVersions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v2beta1_generated_Versions_UpdateVersion_sync",
"title": "dialogflow UpdateVersion Sample",
"description": "UpdateVersion updates the specified agent version.\n\nNote that this method does not allow you to update the state of the agent\nthe given version points to. It allows you to update only mutable\nproperties of the version resource.",
"file": "VersionsClient/UpdateVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateVersion",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.UpdateVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "dialogflowpb.UpdateVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "dialogflowpb.Version",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.v2beta1.VersionsClient"
},
"method": {
"shortName": "UpdateVersion",
"fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.v2beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
}
]
}