Class: Google::Apis::CloudsearchV1::PrefWritten

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

PREF_WRITTEN

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrefWritten

Returns a new instance of PrefWritten.



15625
15626
15627
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15625

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

Instance Attribute Details

#valueString

Corresponds to the JSON property value NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


15623
15624
15625
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15623

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15630
15631
15632
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15630

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