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.



15702
15703
15704
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15702

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)


15700
15701
15702
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15700

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15707
15708
15709
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15707

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