dialogflow
Version:
Dialogflow API client for Node.js
1,110 lines (1,109 loc) • 322 kB
JSON
{
"nested": {
"google": {
"nested": {
"cloud": {
"nested": {
"dialogflow": {
"nested": {
"v2": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Google.Cloud.Dialogflow.V2",
"go_package": "google.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow",
"java_multiple_files": true,
"java_outer_classname": "SessionProto",
"java_package": "com.google.cloud.dialogflow.v2",
"objc_class_prefix": "DF",
"(google.api.resource_definition).type": "dialogflow.googleapis.com/Session",
"(google.api.resource_definition).pattern": "projects/{project}/agent/sessions/{session}"
},
"nested": {
"Agents": {
"options": {
"(google.api.default_host)": "dialogflow.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
},
"methods": {
"GetAgent": {
"requestType": "GetAgentRequest",
"responseType": "Agent",
"options": {
"(google.api.http).get": "/v2/{parent=projects/*}/agent",
"(google.api.method_signature)": "parent"
}
},
"SetAgent": {
"requestType": "SetAgentRequest",
"responseType": "Agent",
"options": {
"(google.api.http).post": "/v2/{agent.parent=projects/*}/agent",
"(google.api.http).body": "agent",
"(google.api.method_signature)": "agent"
}
},
"DeleteAgent": {
"requestType": "DeleteAgentRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v2/{parent=projects/*}/agent",
"(google.api.method_signature)": "parent"
}
},
"SearchAgents": {
"requestType": "SearchAgentsRequest",
"responseType": "SearchAgentsResponse",
"options": {
"(google.api.http).get": "/v2/{parent=projects/*}/agent:search",
"(google.api.method_signature)": "parent"
}
},
"TrainAgent": {
"requestType": "TrainAgentRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*}/agent:train",
"(google.api.http).body": "*",
"(google.api.method_signature)": "parent",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"ExportAgent": {
"requestType": "ExportAgentRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*}/agent:export",
"(google.api.http).body": "*",
"(google.api.method_signature)": "parent",
"(google.longrunning.operation_info).response_type": "google.cloud.dialogflow.v2.ExportAgentResponse",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"ImportAgent": {
"requestType": "ImportAgentRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*}/agent:import",
"(google.api.http).body": "*",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"RestoreAgent": {
"requestType": "RestoreAgentRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*}/agent:restore",
"(google.api.http).body": "*",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
}
}
},
"Agent": {
"options": {
"(google.api.resource).type": "dialogflow.googleapis.com/Agent",
"(google.api.resource).pattern": "projects/{project}/agent"
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"displayName": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"defaultLanguageCode": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"supportedLanguageCodes": {
"rule": "repeated",
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"timeZone": {
"type": "string",
"id": 5,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"description": {
"type": "string",
"id": 6,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"avatarUri": {
"type": "string",
"id": 7,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"enableLogging": {
"type": "bool",
"id": 8,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"matchMode": {
"type": "MatchMode",
"id": 9,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"classificationThreshold": {
"type": "float",
"id": 10,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"apiVersion": {
"type": "ApiVersion",
"id": 14,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"tier": {
"type": "Tier",
"id": 15,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"MatchMode": {
"values": {
"MATCH_MODE_UNSPECIFIED": 0,
"MATCH_MODE_HYBRID": 1,
"MATCH_MODE_ML_ONLY": 2
}
},
"ApiVersion": {
"values": {
"API_VERSION_UNSPECIFIED": 0,
"API_VERSION_V1": 1,
"API_VERSION_V2": 2,
"API_VERSION_V2_BETA_1": 3
}
},
"Tier": {
"values": {
"TIER_UNSPECIFIED": 0,
"TIER_STANDARD": 1,
"TIER_ENTERPRISE": 2,
"TIER_ENTERPRISE_PLUS": 3
}
}
}
},
"GetAgentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
}
}
},
"SetAgentRequest": {
"fields": {
"agent": {
"type": "Agent",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"DeleteAgentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
}
}
},
"SearchAgentsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"pageSize": {
"type": "int32",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"SearchAgentsResponse": {
"fields": {
"agents": {
"rule": "repeated",
"type": "Agent",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"TrainAgentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
}
}
},
"ExportAgentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"agentUri": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"ExportAgentResponse": {
"oneofs": {
"agent": {
"oneof": [
"agentUri",
"agentContent"
]
}
},
"fields": {
"agentUri": {
"type": "string",
"id": 1
},
"agentContent": {
"type": "bytes",
"id": 2
}
}
},
"ImportAgentRequest": {
"oneofs": {
"agent": {
"oneof": [
"agentUri",
"agentContent"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"agentUri": {
"type": "string",
"id": 2
},
"agentContent": {
"type": "bytes",
"id": 3
}
}
},
"RestoreAgentRequest": {
"oneofs": {
"agent": {
"oneof": [
"agentUri",
"agentContent"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"agentUri": {
"type": "string",
"id": 2
},
"agentContent": {
"type": "bytes",
"id": 3
}
}
},
"Contexts": {
"options": {
"(google.api.default_host)": "dialogflow.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
},
"methods": {
"ListContexts": {
"requestType": "ListContextsRequest",
"responseType": "ListContextsResponse",
"options": {
"(google.api.http).get": "/v2/{parent=projects/*/agent/sessions/*}/contexts",
"(google.api.method_signature)": "parent"
}
},
"GetContext": {
"requestType": "GetContextRequest",
"responseType": "Context",
"options": {
"(google.api.http).get": "/v2/{name=projects/*/agent/sessions/*/contexts/*}"
}
},
"CreateContext": {
"requestType": "CreateContextRequest",
"responseType": "Context",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent/sessions/*}/contexts",
"(google.api.http).body": "context"
}
},
"UpdateContext": {
"requestType": "UpdateContextRequest",
"responseType": "Context",
"options": {
"(google.api.http).patch": "/v2/{context.name=projects/*/agent/sessions/*/contexts/*}",
"(google.api.http).body": "context"
}
},
"DeleteContext": {
"requestType": "DeleteContextRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v2/{name=projects/*/agent/sessions/*/contexts/*}"
}
},
"DeleteAllContexts": {
"requestType": "DeleteAllContextsRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v2/{parent=projects/*/agent/sessions/*}/contexts"
}
}
}
},
"Context": {
"options": {
"(google.api.resource).type": "dialogflow.googleapis.com/Context",
"(google.api.resource).pattern": "projects/{project}/agent/sessions/{session}/contexts/{context}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"lifespanCount": {
"type": "int32",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"parameters": {
"type": "google.protobuf.Struct",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListContextsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListContextsResponse": {
"fields": {
"contexts": {
"rule": "repeated",
"type": "Context",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"GetContextRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Context"
}
}
}
},
"CreateContextRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"context": {
"type": "Context",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"UpdateContextRequest": {
"fields": {
"context": {
"type": "Context",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"DeleteContextRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Context"
}
}
}
},
"DeleteAllContextsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"EntityTypes": {
"options": {
"(google.api.default_host)": "dialogflow.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
},
"methods": {
"ListEntityTypes": {
"requestType": "ListEntityTypesRequest",
"responseType": "ListEntityTypesResponse",
"options": {
"(google.api.http).get": "/v2/{parent=projects/*/agent}/entityTypes",
"(google.api.method_signature)": "parent,language_code"
}
},
"GetEntityType": {
"requestType": "GetEntityTypeRequest",
"responseType": "EntityType",
"options": {
"(google.api.http).get": "/v2/{name=projects/*/agent/entityTypes/*}",
"(google.api.method_signature)": "name,language_code"
}
},
"CreateEntityType": {
"requestType": "CreateEntityTypeRequest",
"responseType": "EntityType",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent}/entityTypes",
"(google.api.http).body": "entity_type",
"(google.api.method_signature)": "parent,entity_type,language_code"
}
},
"UpdateEntityType": {
"requestType": "UpdateEntityTypeRequest",
"responseType": "EntityType",
"options": {
"(google.api.http).patch": "/v2/{entity_type.name=projects/*/agent/entityTypes/*}",
"(google.api.http).body": "entity_type",
"(google.api.method_signature)": "entity_type,language_code"
}
},
"DeleteEntityType": {
"requestType": "DeleteEntityTypeRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v2/{name=projects/*/agent/entityTypes/*}",
"(google.api.method_signature)": "name"
}
},
"BatchUpdateEntityTypes": {
"requestType": "BatchUpdateEntityTypesRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent}/entityTypes:batchUpdate",
"(google.api.http).body": "*",
"(google.longrunning.operation_info).response_type": "google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"BatchDeleteEntityTypes": {
"requestType": "BatchDeleteEntityTypesRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent}/entityTypes:batchDelete",
"(google.api.http).body": "*",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"BatchCreateEntities": {
"requestType": "BatchCreateEntitiesRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate",
"(google.api.http).body": "*",
"(google.api.method_signature)": "parent,entities,language_code",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"BatchUpdateEntities": {
"requestType": "BatchUpdateEntitiesRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate",
"(google.api.http).body": "*",
"(google.api.method_signature)": "parent,entities,language_code",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
},
"BatchDeleteEntities": {
"requestType": "BatchDeleteEntitiesRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete",
"(google.api.http).body": "*",
"(google.api.method_signature)": "parent,entity_values,language_code",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.protobuf.Struct"
}
}
}
},
"EntityType": {
"options": {
"(google.api.resource).type": "dialogflow.googleapis.com/EntityType",
"(google.api.resource).pattern": "projects/{project}/agent/entityTypes/{entity_type}"
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"displayName": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"kind": {
"type": "Kind",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"autoExpansionMode": {
"type": "AutoExpansionMode",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"entities": {
"rule": "repeated",
"type": "Entity",
"id": 6,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"enableFuzzyExtraction": {
"type": "bool",
"id": 7,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"Entity": {
"fields": {
"value": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"synonyms": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"Kind": {
"values": {
"KIND_UNSPECIFIED": 0,
"KIND_MAP": 1,
"KIND_LIST": 2,
"KIND_REGEXP": 3
}
},
"AutoExpansionMode": {
"values": {
"AUTO_EXPANSION_MODE_UNSPECIFIED": 0,
"AUTO_EXPANSION_MODE_DEFAULT": 1
}
}
}
},
"ListEntityTypesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Agent"
}
},
"languageCode": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageSize": {
"type": "int32",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListEntityTypesResponse": {
"fields": {
"entityTypes": {
"rule": "repeated",
"type": "EntityType",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"GetEntityTypeRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/EntityType"
}
},
"languageCode": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"CreateEntityTypeRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Agent"
}
},
"entityType": {
"type": "EntityType",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageCode": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"UpdateEntityTypeRequest": {
"fields": {
"entityType": {
"type": "EntityType",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageCode": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"DeleteEntityTypeRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/EntityType"
}
}
}
},
"BatchUpdateEntityTypesRequest": {
"oneofs": {
"entityTypeBatch": {
"oneof": [
"entityTypeBatchUri",
"entityTypeBatchInline"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Agent"
}
},
"entityTypeBatchUri": {
"type": "string",
"id": 2
},
"entityTypeBatchInline": {
"type": "EntityTypeBatch",
"id": 3
},
"languageCode": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"BatchUpdateEntityTypesResponse": {
"fields": {
"entityTypes": {
"rule": "repeated",
"type": "EntityType",
"id": 1
}
}
},
"BatchDeleteEntityTypesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/Agent"
}
},
"entityTypeNames": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"BatchCreateEntitiesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/EntityType"
}
},
"entities": {
"rule": "repeated",
"type": "EntityType.Entity",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageCode": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"BatchUpdateEntitiesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/EntityType"
}
},
"entities": {
"rule": "repeated",
"type": "EntityType.Entity",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageCode": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"BatchDeleteEntitiesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "dialogflow.googleapis.com/EntityType"
}
},
"entityValues": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageCode": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"EntityTypeBatch": {
"fields": {
"entityTypes": {
"rule": "repeated",
"type": "EntityType",
"id": 1
}
}
},
"Intents": {
"options": {
"(google.api.default_host)": "dialogflow.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
},
"methods": {
"ListIntents": {
"requestType": "ListIntentsRequest",
"responseType": "ListIntentsResponse",
"options": {
"(google.api.http).get": "/v2/{parent=projects/*/agent}/intents",
"(google.api.method_signature)": "parent,language_code"
}
},
"GetIntent": {
"requestType": "GetIntentRequest",
"responseType": "Intent",
"options": {
"(google.api.http).get": "/v2/{name=projects/*/agent/intents/*}",
"(google.api.method_signature)": "name,language_code"
}
},
"CreateIntent": {
"requestType": "CreateIntentRequest",
"responseType": "Intent",
"options": {
"(google.api.http).post": "/v2/{parent=projects/*/agent}/intents",
"(google.api.http).body": "intent",