Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageOpenLinkAppUriIntentExtraData

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) ⇒ AppsDynamiteStorageOpenLinkAppUriIntentExtraData

Returns a new instance of AppsDynamiteStorageOpenLinkAppUriIntentExtraData.



3888
3889
3890
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3888

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)


3881
3882
3883
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3881

def key
  @key
end

#valueString

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

Returns:

  • (String)


3886
3887
3888
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3886

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3893
3894
3895
3896
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3893

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