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.



2903
2904
2905
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2903

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)


2896
2897
2898
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2896

def key
  @key
end

#valueString

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

Returns:

  • (String)


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

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2908
2909
2910
2911
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2908

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