Autogenerated update (2020-09-30)
Delete: - apigateway_v1alpha1 - apigateway_v1alpha2 - appsactivity_v1 Update: - books_v1 - cloudidentity_v1 - cloudidentity_v1beta1 - composer_v1beta1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - dialogflow_v3beta1 - memcache_v1beta2 - recommender_v1 - recommender_v1beta1 - youtube_partner_v1
This commit is contained in:
1 parent
a4dd7b62fc
commit
a2ff447d18
45 files changed
+752
-4045
No files matched your search
@@ -5540,6 +5540,25 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for [Documents.BatchUpdateSmartMessagingEntries]
|
||||
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of updated smart message entries.
|
||||
# Corresponds to the JSON property `smartMessagingEntries`
|
||||
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntry>]
|
||||
attr_accessor :smart_messaging_entries
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@smart_messaging_entries = args[:smart_messaging_entries] if args.key?(:smart_messaging_entries)
|
||||
end
|
||||
end
|
||||
|
||||
# Dialogflow contexts are similar to natural language context. If a person says
|
||||
# to you "they are orange", you need context in order to understand what "they"
|
||||
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
||||
@@ -7895,6 +7914,74 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Smart Messaging Entry resource.
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Smart messaging entry info.
|
||||
# Corresponds to the JSON property `messageInfo`
|
||||
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo]
|
||||
attr_accessor :message_info
|
||||
|
||||
# The unique identifier of this message entry. Required for [Documents.
|
||||
# GetSmartMessagingEntry], [Documents.CreateSmartMessagingEntry], [Documents.
|
||||
# UpdateSmartMessagingEntry], and [Documents.DeleteSmartMessagingEntry]. Format:
|
||||
# `projects//knowledgeBases//documents//smartMessagingEntries/`
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. The raw text of the message.
|
||||
# Corresponds to the JSON property `rawText`
|
||||
# @return [String]
|
||||
attr_accessor :raw_text
|
||||
|
||||
# Required. Smart Messaging Entry's enabled/disabled state.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@message_info = args[:message_info] if args.key?(:message_info)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@raw_text = args[:raw_text] if args.key?(:raw_text)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# Smart messaging entry info.
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Method of how the smart messaging entry was created. When the
|
||||
# smart messaging entry was generated from GenerateDocument, the value is
|
||||
# AUTOMATIC; when the entry was manually added through CreateSmartMessagingEntry,
|
||||
# the value is MANUAL.
|
||||
# Corresponds to the JSON property `creationMethod`
|
||||
# @return [String]
|
||||
attr_accessor :creation_method
|
||||
|
||||
# The number of times an entry's message text has been uttered
|
||||
# Corresponds to the JSON property `occurrenceCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :occurrence_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@creation_method = args[:creation_method] if args.key?(:creation_method)
|
||||
@occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count)
|
||||
end
|
||||
end
|
||||
|
||||
# The request message for a webhook call.
|
||||
class GoogleCloudDialogflowV2beta1WebhookRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -862,6 +862,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1Context
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1228,6 +1234,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1WebhookRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2776,6 +2794,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :smart_messaging_entries, as: 'smartMessagingEntries', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntry, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntry::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1Context
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -3415,6 +3441,25 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :message_info, as: 'messageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :raw_text, as: 'rawText'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_method, as: 'creationMethod'
|
||||
property :occurrence_count, as: 'occurrenceCount'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudDialogflowV2beta1WebhookRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user