generated/google/apis/chat_v1/representations.rb in google-api-client-0.42.0 vs generated/google/apis/chat_v1/representations.rb in google-api-client-0.42.1
- old
+ new
@@ -38,10 +38,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Attachment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AttachmentDataRef
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Button
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -68,10 +80,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class DriveDataRef
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -209,10 +227,33 @@
property :user_mention, as: 'userMention', class: Google::Apis::ChatV1::UserMentionMetadata, decorator: Google::Apis::ChatV1::UserMentionMetadata::Representation
end
end
+ class Attachment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :attachment_data_ref, as: 'attachmentDataRef', class: Google::Apis::ChatV1::AttachmentDataRef, decorator: Google::Apis::ChatV1::AttachmentDataRef::Representation
+
+ property :content_name, as: 'contentName'
+ property :content_type, as: 'contentType'
+ property :download_uri, as: 'downloadUri'
+ property :drive_data_ref, as: 'driveDataRef', class: Google::Apis::ChatV1::DriveDataRef, decorator: Google::Apis::ChatV1::DriveDataRef::Representation
+
+ property :name, as: 'name'
+ property :source, as: 'source'
+ property :thumbnail_uri, as: 'thumbnailUri'
+ end
+ end
+
+ class AttachmentDataRef
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :resource_name, as: 'resourceName'
+ end
+ end
+
class Button
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_button, as: 'imageButton', class: Google::Apis::ChatV1::ImageButton, decorator: Google::Apis::ChatV1::ImageButton::Representation
@@ -270,10 +311,17 @@
property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
end
end
+ class DriveDataRef
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :drive_file_id, as: 'driveFileId'
+ end
+ end
+
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
@@ -359,9 +407,11 @@
property :action_response, as: 'actionResponse', class: Google::Apis::ChatV1::ActionResponse, decorator: Google::Apis::ChatV1::ActionResponse::Representation
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
property :argument_text, as: 'argumentText'
+ collection :attachment, as: 'attachment', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
+
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
property :create_time, as: 'createTime'
property :fallback_text, as: 'fallbackText'
property :name, as: 'name'