generated/google/apis/chat_v1/representations.rb in google-api-client-0.45.0 vs generated/google/apis/chat_v1/representations.rb in google-api-client-0.45.1
- old
+ new
@@ -164,10 +164,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class SlashCommand
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SlashCommandMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Space
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -226,10 +238,12 @@
class Annotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :length, as: 'length'
+ property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommandMetadata, decorator: Google::Apis::ChatV1::SlashCommandMetadata::Representation
+
property :start_index, as: 'startIndex'
property :type, as: 'type'
property :user_mention, as: 'userMention', class: Google::Apis::ChatV1::UserMentionMetadata, decorator: Google::Apis::ChatV1::UserMentionMetadata::Representation
end
@@ -430,10 +444,12 @@
property :fallback_text, as: 'fallbackText'
property :name, as: 'name'
property :preview_text, as: 'previewText'
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
+ property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
+
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
property :text, as: 'text'
property :thread, as: 'thread', class: Google::Apis::ChatV1::Thread, decorator: Google::Apis::ChatV1::Thread::Representation
@@ -461,9 +477,28 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :header, as: 'header'
collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::WidgetMarkup, decorator: Google::Apis::ChatV1::WidgetMarkup::Representation
+ end
+ end
+
+ class SlashCommand
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :command_id, :numeric_string => true, as: 'commandId'
+ end
+ end
+
+ class SlashCommandMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bot, as: 'bot', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
+
+ property :command_id, :numeric_string => true, as: 'commandId'
+ property :command_name, as: 'commandName'
+ property :triggers_dialog, as: 'triggersDialog'
+ property :type, as: 'type'
end
end
class Space
# @private