lib/google/apis/chat_v1/representations.rb in google-apis-chat_v1-0.36.0 vs lib/google/apis/chat_v1/representations.rb in google-apis-chat_v1-0.37.0
- old
+ new
@@ -158,10 +158,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleAppsCardV1AppUri
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleAppsCardV1BorderStyle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -218,10 +224,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleAppsCardV1ExtraData
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleAppsCardV1Grid
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -254,10 +266,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleAppsCardV1Intent
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleAppsCardV1OnClick
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -713,10 +731,20 @@
property :key, as: 'key'
property :value, as: 'value'
end
end
+ class GoogleAppsCardV1AppUri
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :android_intent, as: 'androidIntent', class: Google::Apis::ChatV1::GoogleAppsCardV1Intent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Intent::Representation
+
+ property :companion_uri, as: 'companionUri'
+ property :ios_uri, as: 'iosUri'
+ end
+ end
+
class GoogleAppsCardV1BorderStyle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :corner_radius, as: 'cornerRadius'
property :stroke_color, as: 'strokeColor', class: Google::Apis::ChatV1::Color, decorator: Google::Apis::ChatV1::Color::Representation
@@ -835,10 +863,18 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
+ class GoogleAppsCardV1ExtraData
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :key, as: 'key'
+ property :value, as: 'value'
+ end
+ end
+
class GoogleAppsCardV1Grid
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :border_style, as: 'borderStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle::Representation
@@ -902,10 +938,19 @@
property :aspect_ratio, as: 'aspectRatio'
property :type, as: 'type'
end
end
+ class GoogleAppsCardV1Intent
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :extra_data, as: 'extraData', class: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData::Representation
+
+ property :intent_action, as: 'intentAction'
+ end
+ end
+
class GoogleAppsCardV1OnClick
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
@@ -919,9 +964,11 @@
end
class GoogleAppsCardV1OpenLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :app_uri, as: 'appUri', class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri, decorator: Google::Apis::ChatV1::GoogleAppsCardV1AppUri::Representation
+
property :on_close, as: 'onClose'
property :open_as, as: 'openAs'
property :url, as: 'url'
end
end