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.



3511
3512
3513
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3511

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)


3504
3505
3506
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3504

def key
  @key
end

#valueString

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

Returns:

  • (String)


3509
3510
3511
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3509

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3516
3517
3518
3519
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3516

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