blob: 248e77b10330b4ef8a2b1517fa801afb0ee1e092 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/dialogflow/cx/apiv3beta1",
"version": "1.50.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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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\n[training\ndocumentation](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": 53,
"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": 51,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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": 53,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_GetGenerativeSettings_sync",
"title": "dialogflow GetGenerativeSettings Sample",
"description": "GetGenerativeSettings gets the generative settings for the agent.",
"file": "AgentsClient/GetGenerativeSettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetGenerativeSettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetGenerativeSettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetGenerativeSettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.GenerativeSettings",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "GetGenerativeSettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](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\n[training\ndocumentation](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": 56,
"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\n[training\ndocumentation](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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Agents_UpdateGenerativeSettings_sync",
"title": "dialogflow UpdateGenerativeSettings Sample",
"description": "UpdateGenerativeSettings updates the generative settings for the agent.",
"file": "AgentsClient/UpdateGenerativeSettings/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateGenerativeSettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.UpdateGenerativeSettings",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateGenerativeSettingsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.GenerativeSettings",
"client": {
"shortName": "AgentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient"
},
"method": {
"shortName": "UpdateGenerativeSettings",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings",
"service": {
"shortName": "Agents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Agents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_sync",
"title": "dialogflow GetDeployment Sample",
"description": "GetDeployment retrieves the specified\n[Deployment][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_sync",
"title": "dialogflow ListDeployments Sample",
"description": "ListDeployments returns the list of all deployments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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\n[training\ndocumentation](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": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_EntityTypes_ExportEntityTypes_sync",
"title": "dialogflow ExportEntityTypes Sample",
"description": "ExportEntityTypes exports the selected entity types.",
"file": "EntityTypesClient/ExportEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ExportEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportEntityTypesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "ExportEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_EntityTypes_ImportEntityTypes_sync",
"title": "dialogflow ImportEntityTypes Sample",
"description": "ImportEntityTypes imports the specified entitytypes into the agent.",
"file": "EntityTypesClient/ImportEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ImportEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ImportEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportEntityTypesOperation",
"client": {
"shortName": "EntityTypesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient"
},
"method": {
"shortName": "ImportEntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes",
"service": {
"shortName": "EntityTypes",
"fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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\n[training\ndocumentation](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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_sync",
"title": "dialogflow CreateEnvironment Sample",
"description": "CreateEnvironment creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in\nthe specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.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": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_sync",
"title": "dialogflow DeleteEnvironment Sample",
"description": "DeleteEnvironment deletes the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_sync",
"title": "dialogflow DeployFlow Sample",
"description": "DeployFlow deploys a flow to the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]\n- `response`: \n[DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_sync",
"title": "dialogflow GetEnvironment Sample",
"description": "GetEnvironment retrieves the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_sync",
"title": "dialogflow ListEnvironments Sample",
"description": "ListEnvironments returns the list of all environments in the specified\n[Agent][google.cloud.dialogflow.cx.v3beta1.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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_sync",
"title": "dialogflow LookupEnvironmentHistory Sample",
"description": "LookupEnvironmentHistory looks up the history of the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_sync",
"title": "dialogflow RunContinuousTest Sample",
"description": "RunContinuousTest kicks off a continuous test under the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]\n- `response`: \n[RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_sync",
"title": "dialogflow UpdateEnvironment Sample",
"description": "UpdateEnvironment updates the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.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": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ExamplesClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_CreateExample_sync",
"title": "dialogflow CreateExample Sample",
"description": "CreateExample creates an example in the specified playbook.",
"file": "ExamplesClient/CreateExample/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.CreateExample",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateExampleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Example",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "CreateExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample",
"service": {
"shortName": "Examples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_DeleteExample_sync",
"title": "dialogflow DeleteExample Sample",
"description": "DeleteExample deletes the specified example.",
"file": "ExamplesClient/DeleteExample/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.DeleteExample",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteExampleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "DeleteExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample",
"service": {
"shortName": "Examples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_GetExample_sync",
"title": "dialogflow GetExample Sample",
"description": "GetExample retrieves the specified example.",
"file": "ExamplesClient/GetExample/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetExample",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetExampleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Example",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "GetExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample",
"service": {
"shortName": "Examples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ExamplesClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ExamplesClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_ListExamples_sync",
"title": "dialogflow ListExamples Sample",
"description": "ListExamples returns a list of examples in the specified playbook.",
"file": "ExamplesClient/ListExamples/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListExamples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListExamples",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListExamplesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExampleIterator",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "ListExamples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples",
"service": {
"shortName": "Examples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ExamplesClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ExamplesClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Examples_UpdateExample_sync",
"title": "dialogflow UpdateExample Sample",
"description": "UpdateExample update the specified example.",
"file": "ExamplesClient/UpdateExample/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.UpdateExample",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateExampleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Example",
"client": {
"shortName": "ExamplesClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient"
},
"method": {
"shortName": "UpdateExample",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample",
"service": {
"shortName": "Examples",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Examples"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_sync",
"title": "dialogflow CreateExperiment Sample",
"description": "CreateExperiment creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in\nthe specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_sync",
"title": "dialogflow DeleteExperiment Sample",
"description": "DeleteExperiment deletes the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.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": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_sync",
"title": "dialogflow GetExperiment Sample",
"description": "GetExperiment retrieves the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_sync",
"title": "dialogflow ListExperiments Sample",
"description": "ListExperiments returns the list of all experiments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_sync",
"title": "dialogflow StartExperiment Sample",
"description": "StartExperiment starts the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment 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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_sync",
"title": "dialogflow StopExperiment Sample",
"description": "StopExperiment stops the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment 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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_sync",
"title": "dialogflow UpdateExperiment Sample",
"description": "UpdateExperiment updates the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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\n[training\ndocumentation](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": 53,
"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": 51,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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": 53,
"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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse]\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](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": 58,
"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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](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\n[training\ndocumentation](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": 56,
"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\n[training\ndocumentation](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": 53,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "GeneratorsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_CreateGenerator_sync",
"title": "dialogflow CreateGenerator Sample",
"description": "CreateGenerator creates a generator in the specified agent.",
"file": "GeneratorsClient/CreateGenerator/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.CreateGenerator",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateGeneratorRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Generator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "CreateGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator",
"service": {
"shortName": "Generators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_DeleteGenerator_sync",
"title": "dialogflow DeleteGenerator Sample",
"description": "DeleteGenerator deletes the specified generators.",
"file": "GeneratorsClient/DeleteGenerator/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.DeleteGenerator",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteGeneratorRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "DeleteGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator",
"service": {
"shortName": "Generators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_GetGenerator_sync",
"title": "dialogflow GetGenerator Sample",
"description": "GetGenerator retrieves the specified generator.",
"file": "GeneratorsClient/GetGenerator/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetGenerator",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetGeneratorRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Generator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "GetGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator",
"service": {
"shortName": "Generators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "GeneratorsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "GeneratorsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_ListGenerators_sync",
"title": "dialogflow ListGenerators Sample",
"description": "ListGenerators returns the list of all generators in the specified agent.",
"file": "GeneratorsClient/ListGenerators/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListGenerators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListGenerators",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListGeneratorsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "GeneratorIterator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "ListGenerators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators",
"service": {
"shortName": "Generators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "GeneratorsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "GeneratorsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Generators_UpdateGenerator_sync",
"title": "dialogflow UpdateGenerator Sample",
"description": "UpdateGenerator update the specified generator.",
"file": "GeneratorsClient/UpdateGenerator/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.UpdateGenerator",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateGeneratorRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Generator",
"client": {
"shortName": "GeneratorsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient"
},
"method": {
"shortName": "UpdateGenerator",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator",
"service": {
"shortName": "Generators",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Generators"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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\n[training\ndocumentation](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": 53,
"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\n[training\ndocumentation](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": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Intents_ExportIntents_sync",
"title": "dialogflow ExportIntents Sample",
"description": "ExportIntents exports the selected intents.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata]\n- `response`: \n[ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse]",
"file": "IntentsClient/ExportIntents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportIntents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ExportIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportIntentsOperation",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "ExportIntents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Intents_ImportIntents_sync",
"title": "dialogflow ImportIntents Sample",
"description": "ImportIntents imports the specified intents into the agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata]\n- `response`: \n[ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse]",
"file": "IntentsClient/ImportIntents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportIntents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ImportIntents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ImportIntentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ImportIntentsOperation",
"client": {
"shortName": "IntentsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient"
},
"method": {
"shortName": "ImportIntents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents",
"service": {
"shortName": "Intents",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Intents"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"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": 60,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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\n[training\ndocumentation](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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 60,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "PlaybooksClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybook_sync",
"title": "dialogflow CreatePlaybook Sample",
"description": "CreatePlaybook creates a playbook in a specified agent.",
"file": "PlaybooksClient/CreatePlaybook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreatePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CreatePlaybook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreatePlaybookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Playbook",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "CreatePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybookVersion_sync",
"title": "dialogflow CreatePlaybookVersion Sample",
"description": "CreatePlaybookVersion creates a version for the specified Playbook.",
"file": "PlaybooksClient/CreatePlaybookVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreatePlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CreatePlaybookVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreatePlaybookVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.PlaybookVersion",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "CreatePlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybook_sync",
"title": "dialogflow DeletePlaybook Sample",
"description": "DeletePlaybook deletes a specified playbook.",
"file": "PlaybooksClient/DeletePlaybook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeletePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.DeletePlaybook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeletePlaybookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "DeletePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybookVersion_sync",
"title": "dialogflow DeletePlaybookVersion Sample",
"description": "DeletePlaybookVersion deletes the specified version of the Playbook.",
"file": "PlaybooksClient/DeletePlaybookVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeletePlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.DeletePlaybookVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeletePlaybookVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "DeletePlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "PlaybooksClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "PlaybooksClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybook_sync",
"title": "dialogflow GetPlaybook Sample",
"description": "GetPlaybook retrieves the specified Playbook.",
"file": "PlaybooksClient/GetPlaybook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetPlaybook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetPlaybookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Playbook",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "GetPlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybookVersion_sync",
"title": "dialogflow GetPlaybookVersion Sample",
"description": "GetPlaybookVersion retrieves the specified version of the Playbook.",
"file": "PlaybooksClient/GetPlaybookVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetPlaybookVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetPlaybookVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.PlaybookVersion",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "GetPlaybookVersion",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "PlaybooksClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "PlaybooksClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybookVersions_sync",
"title": "dialogflow ListPlaybookVersions Sample",
"description": "ListPlaybookVersions lists versions for the specified Playbook.",
"file": "PlaybooksClient/ListPlaybookVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListPlaybookVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListPlaybookVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListPlaybookVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "PlaybookVersionIterator",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "ListPlaybookVersions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybooks_sync",
"title": "dialogflow ListPlaybooks Sample",
"description": "ListPlaybooks returns a list of playbooks in the specified agent.",
"file": "PlaybooksClient/ListPlaybooks/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListPlaybooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListPlaybooks",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListPlaybooksRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "PlaybookIterator",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "ListPlaybooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Playbooks_UpdatePlaybook_sync",
"title": "dialogflow UpdatePlaybook Sample",
"description": "UpdatePlaybook updates the specified Playbook.",
"file": "PlaybooksClient/UpdatePlaybook/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdatePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.UpdatePlaybook",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdatePlaybookRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Playbook",
"client": {
"shortName": "PlaybooksClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient"
},
"method": {
"shortName": "UpdatePlaybook",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook",
"service": {
"shortName": "Playbooks",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_sync",
"title": "dialogflow DeleteSecuritySettings Sample",
"description": "DeleteSecuritySettings deletes the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_sync",
"title": "dialogflow GetSecuritySettings Sample",
"description": "GetSecuritySettings retrieves the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_sync",
"title": "dialogflow UpdateSecuritySettings Sample",
"description": "UpdateSecuritySettings updates the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 60,
"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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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](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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_sync",
"title": "dialogflow FulfillIntent Sample",
"description": "FulfillIntent fulfills a matched intent returned by\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].\nMust be called after\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],\nwith input from\n[MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].\nOtherwise, 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": 53,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 53,
"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](https: //cloud.google.com/dialogflow/cx/docs/concept/version).\n\n\nThis method is not supported for the REST transport.",
"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"
}
],
"resultType": "cxpb.Sessions_StreamingDetectIntentClient",
"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": 69,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Sessions_SubmitAnswerFeedback_sync",
"title": "dialogflow SubmitAnswerFeedback Sample",
"description": "SubmitAnswerFeedback updates the feedback received from the user for a single turn of the bot\nresponse.",
"file": "SessionsClient/SubmitAnswerFeedback/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SubmitAnswerFeedback",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.SubmitAnswerFeedback",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.SubmitAnswerFeedbackRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.AnswerFeedback",
"client": {
"shortName": "SessionsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient"
},
"method": {
"shortName": "SubmitAnswerFeedback",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback",
"service": {
"shortName": "Sessions",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 51,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata]\n- `response`: \n[BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata]\n- `response`: \n[ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 53,
"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": 53,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata]\n- `response`: \n[ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_sync",
"title": "dialogflow ListTestCaseResults Sample",
"description": "ListTestCaseResults fetches the list of run results for the given test case. A maximum of 100\nresults are kept for each 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": 60,
"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": 60,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata]\n- `response`: \n[RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.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": 58,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_CancelOperation_sync",
"title": "dialogflow CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ToolsClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_CreateTool_sync",
"title": "dialogflow CreateTool Sample",
"description": "CreateTool creates a [Tool][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified\nagent.",
"file": "ToolsClient/CreateTool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.CreateTool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.CreateToolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Tool",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "CreateTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_DeleteTool_sync",
"title": "dialogflow DeleteTool Sample",
"description": "DeleteTool deletes a specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].",
"file": "ToolsClient/DeleteTool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.DeleteTool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.DeleteToolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "DeleteTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_ExportTools_sync",
"title": "dialogflow ExportTools Sample",
"description": "ExportTools exports the selected tools.",
"file": "ToolsClient/ExportTools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportTools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ExportTools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ExportToolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ExportToolsOperation",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "ExportTools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_GetLocation_sync",
"title": "dialogflow GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ToolsClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_GetOperation_sync",
"title": "dialogflow GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ToolsClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_GetTool_sync",
"title": "dialogflow GetTool Sample",
"description": "GetTool retrieves the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].",
"file": "ToolsClient/GetTool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetTool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.GetToolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Tool",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "GetTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_ListLocations_sync",
"title": "dialogflow ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ToolsClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_ListOperations_sync",
"title": "dialogflow ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ToolsClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_ListTools_sync",
"title": "dialogflow ListTools Sample",
"description": "ListTools returns a list of [Tools][google.cloud.dialogflow.cx.v3beta1.Tool] in the\nspecified agent.",
"file": "ToolsClient/ListTools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListTools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.ListToolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ToolIterator",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "ListTools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Tools_UpdateTool_sync",
"title": "dialogflow UpdateTool Sample",
"description": "UpdateTool update the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].",
"file": "ToolsClient/UpdateTool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.UpdateTool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "cxpb.UpdateToolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*cxpb.Tool",
"client": {
"shortName": "ToolsClient",
"fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient"
},
"method": {
"shortName": "UpdateTool",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool",
"service": {
"shortName": "Tools",
"fullName": "google.cloud.dialogflow.cx.v3beta1.Tools"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync",
"title": "dialogflow CreateTransitionRouteGroup Sample",
"description": "CreateTransitionRouteGroup creates an\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]\nin the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync",
"title": "dialogflow DeleteTransitionRouteGroup Sample",
"description": "DeleteTransitionRouteGroup deletes the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync",
"title": "dialogflow GetTransitionRouteGroup Sample",
"description": "GetTransitionRouteGroup retrieves the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync",
"title": "dialogflow UpdateTransitionRouteGroup Sample",
"description": "UpdateTransitionRouteGroup updates the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_sync",
"title": "dialogflow CreateVersion Sample",
"description": "CreateVersion creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the\nspecified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata]\n- `response`: [Version][google.cloud.dialogflow.cx.v3beta1.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": 58,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_sync",
"title": "dialogflow DeleteVersion Sample",
"description": "DeleteVersion deletes the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_sync",
"title": "dialogflow GetVersion Sample",
"description": "GetVersion retrieves the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_sync",
"title": "dialogflow ListVersions Sample",
"description": "ListVersions returns the list of all versions in the specified\n[Flow][google.cloud.dialogflow.cx.v3beta1.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": 60,
"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](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](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": 56,
"type": "FULL"
}
]
},
{
"regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_sync",
"title": "dialogflow UpdateVersion Sample",
"description": "UpdateVersion updates the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.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": 53,
"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.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"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": 53,
"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": 51,
"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.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"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": 53,
"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.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"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": 60,
"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": 53,
"type": "FULL"
}
]
}
]
}