Class: Google::Apis::MybusinessbusinessinformationV1::RepeatedEnumAttributeValue
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessbusinessinformationV1::RepeatedEnumAttributeValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb
Overview
Values for an attribute with a value_type
of REPEATED_ENUM. This consists of
two lists of value IDs: those that are set (true) and those that are unset (
false). Values absent are considered unknown. At least one value must be
specified.
Instance Attribute Summary collapse
-
#set_values ⇒ Array<String>
Enum values that are set.
-
#unset_values ⇒ Array<String>
Enum values that are unset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepeatedEnumAttributeValue
constructor
A new instance of RepeatedEnumAttributeValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepeatedEnumAttributeValue
Returns a new instance of RepeatedEnumAttributeValue.
1465 1466 1467 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#set_values ⇒ Array<String>
Enum values that are set.
Corresponds to the JSON property setValues
1458 1459 1460 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1458 def set_values @set_values end |
#unset_values ⇒ Array<String>
Enum values that are unset.
Corresponds to the JSON property unsetValues
1463 1464 1465 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1463 def unset_values @unset_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1470 1471 1472 1473 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1470 def update!(**args) @set_values = args[:set_values] if args.key?(:set_values) @unset_values = args[:unset_values] if args.key?(:unset_values) end |