class Google::Apis::CloudsearchV1::NamedProperty

A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`.

Attributes

boolean_value[RW]

Corresponds to the JSON property `booleanValue` @return [Boolean]

boolean_value?[RW]

Corresponds to the JSON property `booleanValue` @return [Boolean]

date_values[RW]

List of date values. Corresponds to the JSON property `dateValues` @return [Google::Apis::CloudsearchV1::DateValues]

double_values[RW]

List of double values. Corresponds to the JSON property `doubleValues` @return [Google::Apis::CloudsearchV1::DoubleValues]

enum_values[RW]

List of enum values. Corresponds to the JSON property `enumValues` @return [Google::Apis::CloudsearchV1::EnumValues]

html_values[RW]

List of html values. Corresponds to the JSON property `htmlValues` @return [Google::Apis::CloudsearchV1::HtmlValues]

integer_values[RW]

List of integer values. Corresponds to the JSON property `integerValues` @return [Google::Apis::CloudsearchV1::IntegerValues]

name[RW]

The name of the property. This name should correspond to the name of the property that was registered for object definition in the schema. The maximum allowable length for this property is 256 characters. Corresponds to the JSON property `name` @return [String]

object_values[RW]

List of object values. Corresponds to the JSON property `objectValues` @return [Google::Apis::CloudsearchV1::ObjectValues]

text_values[RW]

List of text values. Corresponds to the JSON property `textValues` @return [Google::Apis::CloudsearchV1::TextValues]

timestamp_values[RW]

List of timestamp values. Corresponds to the JSON property `timestampValues` @return [Google::Apis::CloudsearchV1::TimestampValues]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2534
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 2539
def update!(**args)
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
  @date_values = args[:date_values] if args.key?(:date_values)
  @double_values = args[:double_values] if args.key?(:double_values)
  @enum_values = args[:enum_values] if args.key?(:enum_values)
  @html_values = args[:html_values] if args.key?(:html_values)
  @integer_values = args[:integer_values] if args.key?(:integer_values)
  @name = args[:name] if args.key?(:name)
  @object_values = args[:object_values] if args.key?(:object_values)
  @text_values = args[:text_values] if args.key?(:text_values)
  @timestamp_values = args[:timestamp_values] if args.key?(:timestamp_values)
end