class Google::Apis::ContentV2_1::AccountLabel
Label assigned by CSS domain or CSS group to one of its sub-accounts.
Attributes
account_id[RW]
Immutable. The ID of account this label belongs to. Corresponds to the JSON property `accountId` @return [Fixnum]
description[RW]
The description of this label. Corresponds to the JSON property `description` @return [String]
label_id[RW]
Output only. The ID of the label. Corresponds to the JSON property `labelId` @return [Fixnum]
label_type[RW]
Output only. The type of this label. Corresponds to the JSON property `labelType` @return [String]
name[RW]
The display name of this label. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 408 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 413 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @description = args[:description] if args.key?(:description) @label_id = args[:label_id] if args.key?(:label_id) @label_type = args[:label_type] if args.key?(:label_type) @name = args[:name] if args.key?(:name) end