Class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1AppUri
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
Represents the platform specific uri/intent to open for each client.
Instance Attribute Summary collapse
-
#android_intent ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Intent
Android intent.
-
#companion_uri ⇒ String
A companion uri string to be opened in the chat companion window.
-
#ios_uri ⇒ String
A uri string to be opened in the corresponding iOS hosting app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1AppUri
constructor
A new instance of GoogleAppsCardV1AppUri.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1AppUri
Returns a new instance of GoogleAppsCardV1AppUri.
956 957 958 |
# File 'lib/google/apis/chat_v1/classes.rb', line 956 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_intent ⇒ Google::Apis::ChatV1::GoogleAppsCardV1Intent
Android intent.
Corresponds to the JSON property androidIntent
944 945 946 |
# File 'lib/google/apis/chat_v1/classes.rb', line 944 def android_intent @android_intent end |
#companion_uri ⇒ String
A companion uri string to be opened in the chat companion window. on the web.
Corresponds to the JSON property companionUri
949 950 951 |
# File 'lib/google/apis/chat_v1/classes.rb', line 949 def companion_uri @companion_uri end |
#ios_uri ⇒ String
A uri string to be opened in the corresponding iOS hosting app.
Corresponds to the JSON property iosUri
954 955 956 |
# File 'lib/google/apis/chat_v1/classes.rb', line 954 def ios_uri @ios_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
961 962 963 964 965 |
# File 'lib/google/apis/chat_v1/classes.rb', line 961 def update!(**args) @android_intent = args[:android_intent] if args.key?(:android_intent) @companion_uri = args[:companion_uri] if args.key?(:companion_uri) @ios_uri = args[:ios_uri] if args.key?(:ios_uri) end |