Class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_intentGoogle::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_uriString

A companion uri string to be opened in the chat companion window. on the web. Corresponds to the JSON property companionUri

Returns:

  • (String)


949
950
951
# File 'lib/google/apis/chat_v1/classes.rb', line 949

def companion_uri
  @companion_uri
end

#ios_uriString

A uri string to be opened in the corresponding iOS hosting app. Corresponds to the JSON property iosUri

Returns:

  • (String)


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