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.



2914
2915
2916
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2914

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



2905
2906
2907
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2905

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)


2912
2913
2914
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2912

def intent_action
  @intent_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2919
2920
2921
2922
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2919

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