class Google::Apis::ContentV2_1::CustomAttribute
Attributes
group_values[RW]
Subattributes within this attribute group. Exactly one of value or groupValues must be provided. Corresponds to the JSON property `groupValues` @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
name[RW]
The name of the attribute. Underscores will be replaced by spaces upon insertion. Corresponds to the JSON property `name` @return [String]
value[RW]
The value of the attribute. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 2183 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 2188 def update!(**args) @group_values = args[:group_values] if args.key?(:group_values) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end