Class: Google::Apis::CloudidentityV1beta1::CustomAttributeValue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb

Overview

Additional custom attribute values may be one of these types

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomAttributeValue

Returns a new instance of CustomAttributeValue.



260
261
262
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 260

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Represents a boolean value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


247
248
249
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 247

def bool_value
  @bool_value
end

#number_valueFloat

Represents a double value. Corresponds to the JSON property numberValue

Returns:

  • (Float)


253
254
255
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 253

def number_value
  @number_value
end

#string_valueString

Represents a string value. Corresponds to the JSON property stringValue

Returns:

  • (String)


258
259
260
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 258

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



265
266
267
268
269
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 265

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