Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOpenLinkAppUriIntent

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Android intent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedOpenLinkAppUriIntent

Returns a new instance of AppsDynamiteSharedOpenLinkAppUriIntent.



2874
2875
2876
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2874

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#extra_dataArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedOpenLinkAppUriIntentExtraData>

A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data. Corresponds to the JSON property extraData



2865
2866
2867
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2865

def extra_data
  @extra_data
end

#intent_actionString

An android intent action string for the @link android.content.Intent object. For example: for the view intent action type, a valid value will be android. content.Intent.ACTION_VIEW. Corresponds to the JSON property intentAction

Returns:

  • (String)


2872
2873
2874
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2872

def intent_action
  @intent_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2879
2880
2881
2882
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2879

def update!(**args)
  @extra_data = args[:extra_data] if args.key?(:extra_data)
  @intent_action = args[:intent_action] if args.key?(:intent_action)
end