Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1CustomAttributeValue

Returns a new instance of GoogleAppsCloudidentityDevicesV1CustomAttributeValue.



1068
1069
1070
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1068

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)


1055
1056
1057
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1055

def bool_value
  @bool_value
end

#number_valueFloat

Represents a double value. Corresponds to the JSON property numberValue

Returns:

  • (Float)


1061
1062
1063
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1061

def number_value
  @number_value
end

#string_valueString

Represents a string value. Corresponds to the JSON property stringValue

Returns:

  • (String)


1066
1067
1068
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1066

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1073
1074
1075
1076
1077
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1073

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