Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOpenLinkAppUriIntentExtraData

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

Extra data for an android intent. Valid keys are defined in the hosting app contract.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedOpenLinkAppUriIntentExtraData

Returns a new instance of AppsDynamiteSharedOpenLinkAppUriIntentExtraData.



2900
2901
2902
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2900

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

Instance Attribute Details

#keyString

A key for the intent extra data. Corresponds to the JSON property key

Returns:

  • (String)


2893
2894
2895
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2893

def key
  @key
end

#valueString

Value for the given extra data key. Corresponds to the JSON property value

Returns:

  • (String)


2898
2899
2900
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2898

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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