2017-11-17 00:36:40 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module DialogflowV2beta1
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2BatchUpdateIntentsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2Context
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2EntityType
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2EntityTypeEntity
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2EventInput
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2ExportAgentResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2Intent
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentFollowupIntentInfo
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessage
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCard
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageCard
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageCarouselSelect
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageImage
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageListSelect
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageListSelectItem
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageQuickReplies
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageSimpleResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageSimpleResponses
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageSuggestion
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageSuggestions
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentMessageText
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentParameter
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentTrainingPhrase
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2IntentTrainingPhrasePart
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2QueryResult
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2WebhookRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2WebhookResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1Agent
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1Context
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1DetectIntentResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityType
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityTypeBatch
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityTypeEntity
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EventInput
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ExportAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ExportAgentResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ImportAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1Intent
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentBatch
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessage
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCard
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCard
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageListSelect
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSuggestion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSuggestions
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageText
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentParameter
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1ListContextsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1ListEntityTypesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1ListIntentsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1QueryInput
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1QueryParameters
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1QueryResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1RestoreAgentRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1SearchAgentsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1TextInput
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1WebhookResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleLongrunningOperation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleProtobufEmpty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleRpcStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleTypeLatLng
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityType::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2BatchUpdateIntentsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2Context
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lifespan_count, as: 'lifespanCount'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2EntityType
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :auto_expansion_mode, as: 'autoExpansionMode'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2EntityTypeEntity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :synonyms, as: 'synonyms'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2EventInput
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2ExportAgentResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :agent_content, :base64 => true, as: 'agentContent'
|
|
|
|
property :agent_uri, as: 'agentUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2Intent
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
collection :default_response_platforms, as: 'defaultResponsePlatforms'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :events, as: 'events'
|
|
|
|
collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
|
|
|
|
|
|
|
|
collection :input_context_names, as: 'inputContextNames'
|
|
|
|
property :is_fallback, as: 'isFallback'
|
|
|
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
|
|
|
|
2018-02-09 00:35:28 +00:00
|
|
|
property :ml_disabled, as: 'mlDisabled'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context::Representation
|
|
|
|
|
|
|
|
collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentParameter, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentParameter::Representation
|
|
|
|
|
|
|
|
property :parent_followup_intent_name, as: 'parentFollowupIntentName'
|
|
|
|
property :priority, as: 'priority'
|
|
|
|
property :reset_contexts, as: 'resetContexts'
|
|
|
|
property :root_followup_intent_name, as: 'rootFollowupIntentName'
|
|
|
|
collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrase, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrase::Representation
|
|
|
|
|
|
|
|
property :webhook_state, as: 'webhookState'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentFollowupIntentInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :followup_intent_name, as: 'followupIntentName'
|
|
|
|
property :parent_followup_intent_name, as: 'parentFollowupIntentName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard::Representation
|
|
|
|
|
|
|
|
property :card, as: 'card', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard::Representation
|
|
|
|
|
|
|
|
property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelect::Representation
|
|
|
|
|
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation
|
|
|
|
|
|
|
|
property :link_out_suggestion, as: 'linkOutSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion::Representation
|
|
|
|
|
|
|
|
property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect::Representation
|
|
|
|
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :platform, as: 'platform'
|
|
|
|
property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageQuickReplies::Representation
|
|
|
|
|
|
|
|
property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponses::Representation
|
|
|
|
|
|
|
|
property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCard
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton::Representation
|
|
|
|
|
|
|
|
property :formatted_text, as: 'formattedText'
|
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation
|
|
|
|
|
|
|
|
property :subtitle, as: 'subtitle'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCardButton
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageCard
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCardButton, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCardButton::Representation
|
|
|
|
|
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
property :subtitle, as: 'subtitle'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageCardButton
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :postback, as: 'postback'
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageCarouselSelect
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation
|
|
|
|
|
|
|
|
property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageImage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :accessibility_text, as: 'accessibilityText'
|
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :destination_name, as: 'destinationName'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageListSelect
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageListSelectItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation
|
|
|
|
|
|
|
|
property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageQuickReplies
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :quick_replies, as: 'quickReplies'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
collection :synonyms, as: 'synonyms'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageSimpleResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_text, as: 'displayText'
|
|
|
|
property :ssml, as: 'ssml'
|
|
|
|
property :text_to_speech, as: 'textToSpeech'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageSimpleResponses
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageSuggestion
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageSuggestions
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestion::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentMessageText
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentParameter
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default_value, as: 'defaultValue'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :entity_type_display_name, as: 'entityTypeDisplayName'
|
|
|
|
property :is_list, as: 'isList'
|
|
|
|
property :mandatory, as: 'mandatory'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :prompts, as: 'prompts'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentTrainingPhrase
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :parts, as: 'parts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrasePart::Representation
|
|
|
|
|
|
|
|
property :times_added_count, as: 'timesAddedCount'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2IntentTrainingPhrasePart
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alias, as: 'alias'
|
|
|
|
property :entity_type, as: 'entityType'
|
|
|
|
property :text, as: 'text'
|
|
|
|
property :user_defined, as: 'userDefined'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :source, as: 'source'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2QueryResult
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
|
|
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
|
|
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
|
|
|
|
|
|
|
property :fulfillment_text, as: 'fulfillmentText'
|
|
|
|
property :intent, as: 'intent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent::Representation
|
|
|
|
|
|
|
|
property :intent_detection_confidence, as: 'intentDetectionConfidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context::Representation
|
|
|
|
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
property :query_text, as: 'queryText'
|
|
|
|
property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
|
|
|
|
hash :webhook_payload, as: 'webhookPayload'
|
|
|
|
property :webhook_source, as: 'webhookSource'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2WebhookRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :original_detect_intent_request, as: 'originalDetectIntentRequest', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest::Representation
|
|
|
|
|
|
|
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2QueryResult::Representation
|
|
|
|
|
|
|
|
property :response_id, as: 'responseId'
|
|
|
|
property :session, as: 'session'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2WebhookResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :followup_event_input, as: 'followupEventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EventInput::Representation
|
|
|
|
|
|
|
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
|
|
|
|
|
|
|
property :fulfillment_text, as: 'fulfillmentText'
|
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context::Representation
|
|
|
|
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :source, as: 'source'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudDialogflowV2beta1Agent
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :avatar_uri, as: 'avatarUri'
|
|
|
|
property :classification_threshold, as: 'classificationThreshold'
|
|
|
|
property :default_language_code, as: 'defaultLanguageCode'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :enable_logging, as: 'enableLogging'
|
|
|
|
property :match_mode, as: 'matchMode'
|
|
|
|
property :parent, as: 'parent'
|
|
|
|
collection :supported_language_codes, as: 'supportedLanguageCodes'
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entity_values, as: 'entityValues'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entity_type_names, as: 'entityTypeNames'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :update_mask, as: 'updateMask'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :entity_type_batch_inline, as: 'entityTypeBatchInline', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeBatch, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeBatch::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :entity_type_batch_uri, as: 'entityTypeBatchUri'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :update_mask, as: 'updateMask'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :intent_batch_inline, as: 'intentBatchInline', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentBatch, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentBatch::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :intent_batch_uri, as: 'intentBatchUri'
|
|
|
|
property :intent_view, as: 'intentView'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :update_mask, as: 'updateMask'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1Context
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lifespan_count, as: 'lifespanCount'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :input_audio, :base64 => true, as: 'inputAudio'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1DetectIntentResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :response_id, as: 'responseId'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :webhook_status, as: 'webhookStatus', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityType
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :auto_expansion_mode, as: 'autoExpansionMode'
|
|
|
|
property :display_name, as: 'displayName'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityTypeBatch
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EntityTypeEntity
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :synonyms, as: 'synonyms'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1EventInput
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ExportAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :agent_uri, as: 'agentUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ExportAgentResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :agent_content, :base64 => true, as: 'agentContent'
|
|
|
|
property :agent_uri, as: 'agentUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ImportAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :agent_content, :base64 => true, as: 'agentContent'
|
|
|
|
property :agent_uri, as: 'agentUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :audio_encoding, as: 'audioEncoding'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
collection :phrase_hints, as: 'phraseHints'
|
|
|
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1Intent
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
collection :default_response_platforms, as: 'defaultResponsePlatforms'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
collection :events, as: 'events'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
collection :input_context_names, as: 'inputContextNames'
|
|
|
|
property :is_fallback, as: 'isFallback'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-03-02 00:35:48 +00:00
|
|
|
property :ml_disabled, as: 'mlDisabled'
|
2017-11-17 00:36:40 +00:00
|
|
|
property :ml_enabled, as: 'mlEnabled'
|
|
|
|
property :name, as: 'name'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :parent_followup_intent_name, as: 'parentFollowupIntentName'
|
|
|
|
property :priority, as: 'priority'
|
|
|
|
property :reset_contexts, as: 'resetContexts'
|
|
|
|
property :root_followup_intent_name, as: 'rootFollowupIntentName'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrase, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrase::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :webhook_state, as: 'webhookState'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentBatch
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :followup_intent_name, as: 'followupIntentName'
|
|
|
|
property :parent_followup_intent_name, as: 'parentFollowupIntentName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessage
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :card, as: 'card', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCard::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :link_out_suggestion, as: 'linkOutSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :platform, as: 'platform'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCard
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :formatted_text, as: 'formattedText'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :subtitle, as: 'subtitle'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCard
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCardButton, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCardButton::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
property :subtitle, as: 'subtitle'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCardButton
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :postback, as: 'postback'
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageImage
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-10 00:35:52 +00:00
|
|
|
property :accessibility_text, as: 'accessibilityText'
|
2017-11-17 00:36:40 +00:00
|
|
|
property :image_uri, as: 'imageUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :destination_name, as: 'destinationName'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageListSelect
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :quick_replies, as: 'quickReplies'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
collection :synonyms, as: 'synonyms'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_text, as: 'displayText'
|
|
|
|
property :ssml, as: 'ssml'
|
|
|
|
property :text_to_speech, as: 'textToSpeech'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSuggestion
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageSuggestions
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestion::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentMessageText
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentParameter
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default_value, as: 'defaultValue'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :entity_type_display_name, as: 'entityTypeDisplayName'
|
|
|
|
property :is_list, as: 'isList'
|
|
|
|
property :mandatory, as: 'mandatory'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :prompts, as: 'prompts'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :parts, as: 'parts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :times_added_count, as: 'timesAddedCount'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alias, as: 'alias'
|
|
|
|
property :entity_type, as: 'entityType'
|
|
|
|
property :text, as: 'text'
|
|
|
|
property :user_defined, as: 'userDefined'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ListContextsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :contexts, as: 'contexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ListEntityTypesResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ListIntentsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :source, as: 'source'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1QueryInput
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :audio_config, as: 'audioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :event, as: 'event', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1QueryParameters
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :contexts, as: 'contexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV2beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV2beta1::GoogleTypeLatLng::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :reset_contexts, as: 'resetContexts'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1QueryResult
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
|
|
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :fulfillment_text, as: 'fulfillmentText'
|
2018-01-31 00:35:39 +00:00
|
|
|
property :intent, as: 'intent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :intent_detection_confidence, as: 'intentDetectionConfidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
hash :parameters, as: 'parameters'
|
|
|
|
property :query_text, as: 'queryText'
|
|
|
|
property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
|
|
|
|
hash :webhook_payload, as: 'webhookPayload'
|
|
|
|
property :webhook_source, as: 'webhookSource'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1RestoreAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :agent_content, :base64 => true, as: 'agentContent'
|
|
|
|
property :agent_uri, as: 'agentUri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1SearchAgentsResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :agents, as: 'agents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :entity_override_mode, as: 'entityOverrideMode'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1TextInput
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :original_detect_intent_request, as: 'originalDetectIntentRequest', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :response_id, as: 'responseId'
|
|
|
|
property :session, as: 'session'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
class GoogleCloudDialogflowV2beta1WebhookResponse
|
2017-11-17 00:36:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-31 00:35:39 +00:00
|
|
|
property :followup_event_input, as: 'followupEventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
property :fulfillment_text, as: 'fulfillmentText'
|
2018-01-31 00:35:39 +00:00
|
|
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2017-11-17 00:36:40 +00:00
|
|
|
|
|
|
|
hash :payload, as: 'payload'
|
|
|
|
property :source, as: 'source'
|
|
|
|
end
|
|
|
|
end
|
2018-01-31 00:35:39 +00:00
|
|
|
|
|
|
|
class GoogleLongrunningOperation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :done, as: 'done'
|
|
|
|
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
|
|
|
|
|
|
|
hash :metadata, as: 'metadata'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :response, as: 'response'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleProtobufEmpty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleRpcStatus
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleTypeLatLng
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :latitude, as: 'latitude'
|
|
|
|
property :longitude, as: 'longitude'
|
|
|
|
end
|
|
|
|
end
|
2017-11-17 00:36:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|