blob: 7261b3d766a22c8d8dddd671dcbb0bb6c043a7a4 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/dialogflow/cx/apiv3beta1",
"version": "1.15.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.dialogflow.cx.v3beta1",
"version": "v3beta1"
}
]
},
"snippets": [
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CancelOperation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_CreateAgent_sync",
"title": "dialogflow CreateAgent Sample",
"description": "CreateAgent creates an agent in the specified location.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "AgentsClient/CreateAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.CreateAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Agent",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "CreateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.AgentsClient.DeleteAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "DeleteAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_ExportAgent_sync",
"title": "dialogflow ExportAgent Sample",
"description": "ExportAgent exports the specified agent to a binary file.\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: 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.cx.v3beta1.AgentsClient.ExportAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "ExportAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.AgentsClient.GetAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Agent",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "GetAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_GetAgentValidationResult_sync",
"title": "dialogflow GetAgentValidationResult Sample",
"description": "GetAgentValidationResult gets the latest agent validation result. Agent validation is performed\nwhen ValidateAgent is called.",
"file": "AgentsClient/GetAgentValidationResult/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAgentValidationResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetAgentValidationResult",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetAgentValidationResultRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.AgentValidationResult",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "GetAgentValidationResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetLocation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetOperation",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_ListAgents_sync",
"title": "dialogflow ListAgents Sample",
"description": "ListAgents returns the list of all agents in the specified location.",
"file": "AgentsClient/ListAgents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAgents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ListAgents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListAgentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AgentIterator",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "ListAgents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListLocations",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListOperations",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_RestoreAgent_sync",
"title": "dialogflow RestoreAgent Sample",
"description": "RestoreAgent restores the specified agent from a binary file.\n\nReplaces the current agent with a new one. Note that all existing resources\nin agent (e.g. intents, entity types, flows) will be removed.\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: 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 a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "AgentsClient/RestoreAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RestoreAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.RestoreAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.RestoreAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RestoreAgentOperation",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "RestoreAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_UpdateAgent_sync",
"title": "dialogflow UpdateAgent Sample",
"description": "UpdateAgent updates the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "AgentsClient/UpdateAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.UpdateAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Agent",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "UpdateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_ValidateAgent_sync",
"title": "dialogflow ValidateAgent Sample",
"description": "ValidateAgent validates the specified agent and creates or updates validation results.\nThe agent in draft version is validated. Please call this API after the\ntraining is completed to get the complete validation results.",
"file": "AgentsClient/ValidateAgent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ValidateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ValidateAgent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ValidateAgentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.AgentValidationResult",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "ValidateAgent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ChangelogsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.CancelOperation",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_GetChangelog_sync",
"title": "dialogflow GetChangelog Sample",
"description": "GetChangelog retrieves the specified Changelog.",
"file": "ChangelogsClient/GetChangelog/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetChangelog",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetChangelog",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetChangelogRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Changelog",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "GetChangelog",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ChangelogsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetLocation",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ChangelogsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetOperation",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_ListChangelogs_sync",
"title": "dialogflow ListChangelogs Sample",
"description": "ListChangelogs returns the list of Changelogs.",
"file": "ChangelogsClient/ListChangelogs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListChangelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListChangelogs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListChangelogsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ChangelogIterator",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "ListChangelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ChangelogsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListLocations",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Changelogs_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ChangelogsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ChangelogsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListOperations",
"service": {
"shortName": "Changelogs",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.CancelOperation",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_sync",
"title": "dialogflow GetDeployment Sample",
"description": "GetDeployment retrieves the specified Deployment.",
"file": "DeploymentsClient/GetDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDeployment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Deployment",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "GetDeployment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "DeploymentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetLocation",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetOperation",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_sync",
"title": "dialogflow ListDeployments Sample",
"description": "ListDeployments returns the list of all deployments in the specified Environment.",
"file": "DeploymentsClient/ListDeployments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDeployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListDeployments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListDeploymentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeploymentIterator",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "ListDeployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "DeploymentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListLocations",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "DeploymentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "DeploymentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListOperations",
"service": {
"shortName": "Deployments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CancelOperation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_EntityTypes_CreateEntityType_sync",
"title": "dialogflow CreateEntityType Sample",
"description": "CreateEntityType creates an entity type in the specified agent.",
"file": "EntityTypesClient/CreateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.CreateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_EntityTypes_DeleteEntityType_sync",
"title": "dialogflow DeleteEntityType Sample",
"description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "EntityTypesClient/DeleteEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.DeleteEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.EntityTypesClient.GetEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "GetEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetLocation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetOperation",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.EntityTypesClient.ListEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EntityTypeIterator",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "ListEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListLocations",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListOperations",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_EntityTypes_UpdateEntityType_sync",
"title": "dialogflow UpdateEntityType Sample",
"description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "EntityTypesClient/UpdateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.UpdateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.EntityType",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CancelOperation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_sync",
"title": "dialogflow CreateEnvironment Sample",
"description": "CreateEnvironment creates an Environment in the specified Agent.\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: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: Environment",
"file": "EnvironmentsClient/CreateEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.CreateEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateEnvironmentOperation",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "CreateEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_sync",
"title": "dialogflow DeleteEnvironment Sample",
"description": "DeleteEnvironment deletes the specified Environment.",
"file": "EnvironmentsClient/DeleteEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.DeleteEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "DeleteEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_sync",
"title": "dialogflow DeployFlow Sample",
"description": "DeployFlow deploys a flow to the specified Environment.\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: DeployFlowMetadata\n\n\tresponse: DeployFlowResponse",
"file": "EnvironmentsClient/DeployFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeployFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.DeployFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeployFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeployFlowOperation",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "DeployFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_sync",
"title": "dialogflow GetEnvironment Sample",
"description": "GetEnvironment retrieves the specified Environment.",
"file": "EnvironmentsClient/GetEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.GetEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Environment",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetLocation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetOperation",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_ListContinuousTestResults_sync",
"title": "dialogflow ListContinuousTestResults Sample",
"description": "ListContinuousTestResults fetches a list of continuous test results for a given environment.",
"file": "EnvironmentsClient/ListContinuousTestResults/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListContinuousTestResults",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListContinuousTestResults",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListContinuousTestResultsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ContinuousTestResultIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListContinuousTestResults",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_sync",
"title": "dialogflow ListEnvironments Sample",
"description": "ListEnvironments returns the list of all environments in the specified Agent.",
"file": "EnvironmentsClient/ListEnvironments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListEnvironments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListEnvironments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListEnvironmentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EnvironmentIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListEnvironments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListLocations",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListOperations",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_sync",
"title": "dialogflow LookupEnvironmentHistory Sample",
"description": "LookupEnvironmentHistory looks up the history of the specified Environment.",
"file": "EnvironmentsClient/LookupEnvironmentHistory/main.go",
"language": "GO",
"clientMethod": {
"shortName": "LookupEnvironmentHistory",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.LookupEnvironmentHistory",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.LookupEnvironmentHistoryRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "EnvironmentIterator",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "LookupEnvironmentHistory",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_sync",
"title": "dialogflow RunContinuousTest Sample",
"description": "RunContinuousTest kicks off a continuous test under the specified Environment.\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: RunContinuousTestMetadata\n\n\tresponse: RunContinuousTestResponse",
"file": "EnvironmentsClient/RunContinuousTest/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RunContinuousTest",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.RunContinuousTest",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.RunContinuousTestRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RunContinuousTestOperation",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "RunContinuousTest",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_sync",
"title": "dialogflow UpdateEnvironment Sample",
"description": "UpdateEnvironment updates the specified Environment.\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: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: Environment",
"file": "EnvironmentsClient/UpdateEnvironment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.UpdateEnvironment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateEnvironmentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateEnvironmentOperation",
"client": {
"shortName": "EnvironmentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient"
},
"method": {
"shortName": "UpdateEnvironment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment",
"service": {
"shortName": "Environments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Environments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ExperimentsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CancelOperation",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_sync",
"title": "dialogflow CreateExperiment Sample",
"description": "CreateExperiment creates an Experiment in the specified Environment.",
"file": "ExperimentsClient/CreateExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.CreateExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Experiment",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "CreateExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_sync",
"title": "dialogflow DeleteExperiment Sample",
"description": "DeleteExperiment deletes the specified Experiment.",
"file": "ExperimentsClient/DeleteExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.DeleteExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "DeleteExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_sync",
"title": "dialogflow GetExperiment Sample",
"description": "GetExperiment retrieves the specified Experiment.",
"file": "ExperimentsClient/GetExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Experiment",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "GetExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ExperimentsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetLocation",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ExperimentsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetOperation",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_sync",
"title": "dialogflow ListExperiments Sample",
"description": "ListExperiments returns the list of all experiments in the specified Environment.",
"file": "ExperimentsClient/ListExperiments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListExperiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListExperiments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListExperimentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExperimentIterator",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "ListExperiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ExperimentsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListLocations",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ExperimentsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListOperations",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_sync",
"title": "dialogflow StartExperiment Sample",
"description": "StartExperiment starts the specified Experiment. This rpc only changes the state of\nexperiment from PENDING to RUNNING.",
"file": "ExperimentsClient/StartExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StartExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.StartExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.StartExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Experiment",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "StartExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_sync",
"title": "dialogflow StopExperiment Sample",
"description": "StopExperiment stops the specified Experiment. This rpc only changes the state of\nexperiment from RUNNING to DONE.",
"file": "ExperimentsClient/StopExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StopExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.StopExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.StopExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Experiment",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "StopExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_sync",
"title": "dialogflow UpdateExperiment Sample",
"description": "UpdateExperiment updates the specified Experiment.",
"file": "ExperimentsClient/UpdateExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.UpdateExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Experiment",
"client": {
"shortName": "ExperimentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient"
},
"method": {
"shortName": "UpdateExperiment",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment",
"service": {
"shortName": "Experiments",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FlowsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CancelOperation",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_CreateFlow_sync",
"title": "dialogflow CreateFlow Sample",
"description": "CreateFlow creates a flow in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "FlowsClient/CreateFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.CreateFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Flow",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "CreateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_DeleteFlow_sync",
"title": "dialogflow DeleteFlow Sample",
"description": "DeleteFlow deletes a specified flow.",
"file": "FlowsClient/DeleteFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.DeleteFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "DeleteFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ExportFlow_sync",
"title": "dialogflow ExportFlow Sample",
"description": "ExportFlow exports the specified flow to a binary file.\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: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: ExportFlowResponse\n\nNote that resources (e.g. intents, entities, webhooks) that the flow\nreferences will also be exported.",
"file": "FlowsClient/ExportFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ExportFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportFlowOperation",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ExportFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_GetFlow_sync",
"title": "dialogflow GetFlow Sample",
"description": "GetFlow retrieves the specified flow.",
"file": "FlowsClient/GetFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Flow",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "GetFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_GetFlowValidationResult_sync",
"title": "dialogflow GetFlowValidationResult Sample",
"description": "GetFlowValidationResult gets the latest flow validation result. Flow validation is performed\nwhen ValidateFlow is called.",
"file": "FlowsClient/GetFlowValidationResult/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFlowValidationResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetFlowValidationResult",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetFlowValidationResultRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.FlowValidationResult",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "GetFlowValidationResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FlowsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetLocation",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FlowsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetOperation",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ImportFlow_sync",
"title": "dialogflow ImportFlow Sample",
"description": "ImportFlow imports the specified flow to the specified agent from a binary file.\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: An empty Struct\n\tmessage (at https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n\n\tresponse: ImportFlowResponse\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "FlowsClient/ImportFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ImportFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ImportFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportFlowOperation",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ImportFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ListFlows_sync",
"title": "dialogflow ListFlows Sample",
"description": "ListFlows returns the list of all flows in the specified agent.",
"file": "FlowsClient/ListFlows/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFlows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListFlows",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListFlowsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FlowIterator",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ListFlows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FlowsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListLocations",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FlowsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListOperations",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_TrainFlow_sync",
"title": "dialogflow TrainFlow Sample",
"description": "TrainFlow trains the specified flow. Note that only the flow in ‘draft’ environment\nis trained.\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: 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 a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "FlowsClient/TrainFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TrainFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.TrainFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.TrainFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "TrainFlowOperation",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "TrainFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_UpdateFlow_sync",
"title": "dialogflow UpdateFlow Sample",
"description": "UpdateFlow updates the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "FlowsClient/UpdateFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.UpdateFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Flow",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "UpdateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Flows_ValidateFlow_sync",
"title": "dialogflow ValidateFlow Sample",
"description": "ValidateFlow validates the specified flow and creates or updates validation results.\nPlease call this API after the training is completed to get the complete\nvalidation results.",
"file": "FlowsClient/ValidateFlow/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ValidateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ValidateFlow",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ValidateFlowRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.FlowValidationResult",
"client": {
"shortName": "FlowsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient"
},
"method": {
"shortName": "ValidateFlow",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow",
"service": {
"shortName": "Flows",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Flows"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CancelOperation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Intents_CreateIntent_sync",
"title": "dialogflow CreateIntent Sample",
"description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "IntentsClient/CreateIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.CreateIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "CreateIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Intents_DeleteIntent_sync",
"title": "dialogflow DeleteIntent Sample",
"description": "DeleteIntent deletes the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "IntentsClient/DeleteIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.DeleteIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "DeleteIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.IntentsClient.GetIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "GetIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetLocation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetOperation",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.IntentsClient.ListIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "IntentIterator",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "ListIntents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListLocations",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListOperations",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Intents_UpdateIntent_sync",
"title": "dialogflow UpdateIntent Sample",
"description": "UpdateIntent updates the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "IntentsClient/UpdateIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.UpdateIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Intent",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "UpdateIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "PagesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CancelOperation",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_CreatePage_sync",
"title": "dialogflow CreatePage Sample",
"description": "CreatePage creates a page in the specified flow.",
"file": "PagesClient/CreatePage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreatePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.CreatePage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreatePageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Page",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "CreatePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_DeletePage_sync",
"title": "dialogflow DeletePage Sample",
"description": "DeletePage deletes the specified page.",
"file": "PagesClient/DeletePage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeletePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.DeletePage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeletePageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "DeletePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "PagesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetLocation",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "PagesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetOperation",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_GetPage_sync",
"title": "dialogflow GetPage Sample",
"description": "GetPage retrieves the specified page.",
"file": "PagesClient/GetPage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetPage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetPageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Page",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "GetPage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "PagesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListLocations",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "PagesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListOperations",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_ListPages_sync",
"title": "dialogflow ListPages Sample",
"description": "ListPages returns the list of all pages in the specified flow.",
"file": "PagesClient/ListPages/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListPages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListPages",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListPagesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "PageIterator",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "ListPages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Pages_UpdatePage_sync",
"title": "dialogflow UpdatePage Sample",
"description": "UpdatePage updates the specified page.",
"file": "PagesClient/UpdatePage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdatePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.UpdatePage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdatePageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Page",
"client": {
"shortName": "PagesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient"
},
"method": {
"shortName": "UpdatePage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage",
"service": {
"shortName": "Pages",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Pages"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "SecuritySettingsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CancelOperation",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CreateSecuritySettings_sync",
"title": "dialogflow CreateSecuritySettings Sample",
"description": "CreateSecuritySettings create security settings in the specified location.",
"file": "SecuritySettingsClient/CreateSecuritySettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.CreateSecuritySettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateSecuritySettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SecuritySettings",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "CreateSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_sync",
"title": "dialogflow DeleteSecuritySettings Sample",
"description": "DeleteSecuritySettings deletes the specified SecuritySettings.",
"file": "SecuritySettingsClient/DeleteSecuritySettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.DeleteSecuritySettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteSecuritySettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "DeleteSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "SecuritySettingsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetLocation",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "SecuritySettingsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetOperation",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_sync",
"title": "dialogflow GetSecuritySettings Sample",
"description": "GetSecuritySettings retrieves the specified SecuritySettings.\nThe returned settings may be stale by up to 1 minute.",
"file": "SecuritySettingsClient/GetSecuritySettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetSecuritySettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetSecuritySettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SecuritySettings",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "GetSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "SecuritySettingsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListLocations",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "SecuritySettingsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListOperations",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListSecuritySettings_sync",
"title": "dialogflow ListSecuritySettings Sample",
"description": "ListSecuritySettings returns the list of all security settings in the specified location.",
"file": "SecuritySettingsClient/ListSecuritySettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListSecuritySettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListSecuritySettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SecuritySettingsIterator",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "ListSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_sync",
"title": "dialogflow UpdateSecuritySettings Sample",
"description": "UpdateSecuritySettings updates the specified SecuritySettings.",
"file": "SecuritySettingsClient/UpdateSecuritySettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.UpdateSecuritySettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateSecuritySettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SecuritySettings",
"client": {
"shortName": "SecuritySettingsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient"
},
"method": {
"shortName": "UpdateSecuritySettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings",
"service": {
"shortName": "SecuritySettingsService",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CancelOperation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync",
"title": "dialogflow CreateSessionEntityType Sample",
"description": "CreateSessionEntityType creates a session entity type.",
"file": "SessionEntityTypesClient/CreateSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.CreateSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "CreateSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync",
"title": "dialogflow DeleteSessionEntityType Sample",
"description": "DeleteSessionEntityType deletes the specified session entity type.",
"file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.DeleteSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "DeleteSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetLocation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetOperation",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetSessionEntityType_sync",
"title": "dialogflow GetSessionEntityType Sample",
"description": "GetSessionEntityType retrieves the specified session entity type.",
"file": "SessionEntityTypesClient/GetSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.GetSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "GetSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListLocations",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListOperations",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync",
"title": "dialogflow ListSessionEntityTypes Sample",
"description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.",
"file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.ListSessionEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListSessionEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SessionEntityTypeIterator",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "ListSessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync",
"title": "dialogflow UpdateSessionEntityType Sample",
"description": "UpdateSessionEntityType updates the specified session entity type.",
"file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.UpdateSessionEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateSessionEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.SessionEntityType",
"client": {
"shortName": "SessionEntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient"
},
"method": {
"shortName": "UpdateSessionEntityType",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType",
"service": {
"shortName": "SessionEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.CancelOperation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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 session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee Versions and\nenvironments (at https: //cloud.google.com/dialogflow/cx/docs/concept/version).",
"file": "SessionsClient/DetectIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DetectIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.DetectIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DetectIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.DetectIntentResponse",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "DetectIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_sync",
"title": "dialogflow FulfillIntent Sample",
"description": "FulfillIntent fulfills a matched intent returned by MatchIntent.\nMust be called after MatchIntent, with input from\nMatchIntentResponse. Otherwise, the behavior is undefined.",
"file": "SessionsClient/FulfillIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "FulfillIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.FulfillIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.FulfillIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.FulfillIntentResponse",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "FulfillIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.GetLocation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.GetOperation",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ListLocations",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ListOperations",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Sessions_MatchIntent_sync",
"title": "dialogflow MatchIntent Sample",
"description": "MatchIntent returns preliminary intent match results, doesn’t change the session\nstatus.",
"file": "SessionsClient/MatchIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "MatchIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.MatchIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.MatchIntentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.MatchIntentResponse",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "MatchIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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\nNote: Always use agent versions for production traffic.\nSee Versions and\nenvironments (at https: //cloud.google.com/dialogflow/cx/docs/concept/version).",
"file": "SessionsClient/StreamingDetectIntent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingDetectIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.StreamingDetectIntent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "StreamingDetectIntent",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 68,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_BatchDeleteTestCases_sync",
"title": "dialogflow BatchDeleteTestCases Sample",
"description": "BatchDeleteTestCases batch deletes test cases.",
"file": "TestCasesClient/BatchDeleteTestCases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchDeleteTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.BatchDeleteTestCases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.BatchDeleteTestCasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "BatchDeleteTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_BatchRunTestCases_sync",
"title": "dialogflow BatchRunTestCases Sample",
"description": "BatchRunTestCases kicks off a batch run of test cases.\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: BatchRunTestCasesMetadata\n\n\tresponse: BatchRunTestCasesResponse",
"file": "TestCasesClient/BatchRunTestCases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchRunTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.BatchRunTestCases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.BatchRunTestCasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchRunTestCasesOperation",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "BatchRunTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_CalculateCoverage_sync",
"title": "dialogflow CalculateCoverage Sample",
"description": "CalculateCoverage calculates the test coverage for an agent.",
"file": "TestCasesClient/CalculateCoverage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CalculateCoverage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CalculateCoverage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CalculateCoverageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.CalculateCoverageResponse",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "CalculateCoverage",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "TestCasesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CancelOperation",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_CreateTestCase_sync",
"title": "dialogflow CreateTestCase Sample",
"description": "CreateTestCase creates a test case for the given agent.",
"file": "TestCasesClient/CreateTestCase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CreateTestCase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateTestCaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TestCase",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "CreateTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ExportTestCases_sync",
"title": "dialogflow ExportTestCases Sample",
"description": "ExportTestCases exports the test cases under the agent to a Cloud Storage bucket or a local\nfile. Filter can be applied to export a subset of test cases.\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: ExportTestCasesMetadata\n\n\tresponse: ExportTestCasesResponse",
"file": "TestCasesClient/ExportTestCases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ExportTestCases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportTestCasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportTestCasesOperation",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ExportTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "TestCasesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetLocation",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "TestCasesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetOperation",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCase_sync",
"title": "dialogflow GetTestCase Sample",
"description": "GetTestCase gets a test case.",
"file": "TestCasesClient/GetTestCase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetTestCase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetTestCaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TestCase",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "GetTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCaseResult_sync",
"title": "dialogflow GetTestCaseResult Sample",
"description": "GetTestCaseResult gets a test case result.",
"file": "TestCasesClient/GetTestCaseResult/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTestCaseResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetTestCaseResult",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetTestCaseResultRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TestCaseResult",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "GetTestCaseResult",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ImportTestCases_sync",
"title": "dialogflow ImportTestCases Sample",
"description": "ImportTestCases imports the test cases from a Cloud Storage bucket or a local file. It\nalways creates new test cases and won’t overwrite any existing ones. The\nprovided ID in the imported test case is neglected.\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: ImportTestCasesMetadata\n\n\tresponse: ImportTestCasesResponse",
"file": "TestCasesClient/ImportTestCases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ImportTestCases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ImportTestCasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportTestCasesOperation",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ImportTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "TestCasesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListLocations",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "TestCasesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListOperations",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_sync",
"title": "dialogflow ListTestCaseResults Sample",
"description": "ListTestCaseResults fetches a list of results for a given test case.",
"file": "TestCasesClient/ListTestCaseResults/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTestCaseResults",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListTestCaseResults",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListTestCaseResultsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "TestCaseResultIterator",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ListTestCaseResults",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCases_sync",
"title": "dialogflow ListTestCases Sample",
"description": "ListTestCases fetches a list of test cases for a given agent.",
"file": "TestCasesClient/ListTestCases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListTestCases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListTestCasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "TestCaseIterator",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "ListTestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_RunTestCase_sync",
"title": "dialogflow RunTestCase Sample",
"description": "RunTestCase kicks off a test case run.\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: RunTestCaseMetadata\n\n\tresponse: RunTestCaseResponse",
"file": "TestCasesClient/RunTestCase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RunTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.RunTestCase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.RunTestCaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RunTestCaseOperation",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "RunTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_UpdateTestCase_sync",
"title": "dialogflow UpdateTestCase Sample",
"description": "UpdateTestCase updates the specified test case.",
"file": "TestCasesClient/UpdateTestCase/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.UpdateTestCase",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateTestCaseRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TestCase",
"client": {
"shortName": "TestCasesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient"
},
"method": {
"shortName": "UpdateTestCase",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase",
"service": {
"shortName": "TestCases",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "TransitionRouteGroupsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CancelOperation",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync",
"title": "dialogflow CreateTransitionRouteGroup Sample",
"description": "CreateTransitionRouteGroup creates an TransitionRouteGroup in the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "TransitionRouteGroupsClient/CreateTransitionRouteGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.CreateTransitionRouteGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateTransitionRouteGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TransitionRouteGroup",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "CreateTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync",
"title": "dialogflow DeleteTransitionRouteGroup Sample",
"description": "DeleteTransitionRouteGroup deletes the specified TransitionRouteGroup.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "TransitionRouteGroupsClient/DeleteTransitionRouteGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.DeleteTransitionRouteGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteTransitionRouteGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "DeleteTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "TransitionRouteGroupsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetLocation",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "TransitionRouteGroupsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetOperation",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync",
"title": "dialogflow GetTransitionRouteGroup Sample",
"description": "GetTransitionRouteGroup retrieves the specified TransitionRouteGroup.",
"file": "TransitionRouteGroupsClient/GetTransitionRouteGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetTransitionRouteGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetTransitionRouteGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TransitionRouteGroup",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "GetTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "TransitionRouteGroupsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListLocations",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "TransitionRouteGroupsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListOperations",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListTransitionRouteGroups_sync",
"title": "dialogflow ListTransitionRouteGroups Sample",
"description": "ListTransitionRouteGroups returns the list of all transition route groups in the specified flow.",
"file": "TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListTransitionRouteGroups",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListTransitionRouteGroupsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "TransitionRouteGroupIterator",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "ListTransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync",
"title": "dialogflow UpdateTransitionRouteGroup Sample",
"description": "UpdateTransitionRouteGroup updates the specified TransitionRouteGroup.\n\nNote: You should always train a flow prior to sending it queries. See the\ntraining\ndocumentation (at https: //cloud.google.com/dialogflow/cx/docs/concept/training).",
"file": "TransitionRouteGroupsClient/UpdateTransitionRouteGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.UpdateTransitionRouteGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateTransitionRouteGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.TransitionRouteGroup",
"client": {
"shortName": "TransitionRouteGroupsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient"
},
"method": {
"shortName": "UpdateTransitionRouteGroup",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup",
"service": {
"shortName": "TransitionRouteGroups",
"fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CancelOperation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_CompareVersions_sync",
"title": "dialogflow CompareVersions Sample",
"description": "CompareVersions compares the specified base version with target version.",
"file": "VersionsClient/CompareVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CompareVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.CompareVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CompareVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.CompareVersionsResponse",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "CompareVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_sync",
"title": "dialogflow CreateVersion Sample",
"description": "CreateVersion creates a Version in the specified Flow.\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: CreateVersionOperationMetadata\n\n\tresponse: Version",
"file": "VersionsClient/CreateVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.CreateVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateVersionOperation",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "CreateVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_sync",
"title": "dialogflow DeleteVersion Sample",
"description": "DeleteVersion deletes the specified Version.",
"file": "VersionsClient/DeleteVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.DeleteVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "DeleteVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetLocation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetOperation",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_sync",
"title": "dialogflow GetVersion Sample",
"description": "GetVersion retrieves the specified Version.",
"file": "VersionsClient/GetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.GetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Version",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "GetVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListLocations",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_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.cx.v3beta1.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.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListOperations",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_sync",
"title": "dialogflow ListVersions Sample",
"description": "ListVersions returns the list of all versions in the specified Flow.",
"file": "VersionsClient/ListVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.ListVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "VersionIterator",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "ListVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_LoadVersion_sync",
"title": "dialogflow LoadVersion Sample",
"description": "LoadVersion loads resources in the specified version to the draft flow.\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: 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": "VersionsClient/LoadVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "LoadVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.LoadVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.LoadVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LoadVersionOperation",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "LoadVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_sync",
"title": "dialogflow UpdateVersion Sample",
"description": "UpdateVersion updates the specified Version.",
"file": "VersionsClient/UpdateVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.UpdateVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Version",
"client": {
"shortName": "VersionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient"
},
"method": {
"shortName": "UpdateVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion",
"service": {
"shortName": "Versions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Versions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "WebhooksClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CancelOperation",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_CreateWebhook_sync",
"title": "dialogflow CreateWebhook Sample",
"description": "CreateWebhook creates a webhook in the specified agent.",
"file": "WebhooksClient/CreateWebhook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.CreateWebhook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateWebhookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Webhook",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "CreateWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_DeleteWebhook_sync",
"title": "dialogflow DeleteWebhook Sample",
"description": "DeleteWebhook deletes the specified webhook.",
"file": "WebhooksClient/DeleteWebhook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.DeleteWebhook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteWebhookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "DeleteWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "WebhooksClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetLocation",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "WebhooksClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetOperation",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_GetWebhook_sync",
"title": "dialogflow GetWebhook Sample",
"description": "GetWebhook retrieves the specified webhook.",
"file": "WebhooksClient/GetWebhook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetWebhook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetWebhookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Webhook",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "GetWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "WebhooksClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListLocations",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "WebhooksClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListOperations",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_ListWebhooks_sync",
"title": "dialogflow ListWebhooks Sample",
"description": "ListWebhooks returns the list of all webhooks in the specified agent.",
"file": "WebhooksClient/ListWebhooks/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListWebhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListWebhooks",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListWebhooksRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "WebhookIterator",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "ListWebhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Webhooks_UpdateWebhook_sync",
"title": "dialogflow UpdateWebhook Sample",
"description": "UpdateWebhook updates the specified webhook.",
"file": "WebhooksClient/UpdateWebhook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.UpdateWebhook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateWebhookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "cxpb.Webhook",
"client": {
"shortName": "WebhooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient"
},
"method": {
"shortName": "UpdateWebhook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook",
"service": {
"shortName": "Webhooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
}
]
}