Class: Google::Apis::CssV1::UpdateAccountLabelsRequest
- Inherits:
-
Object
- Object
- Google::Apis::CssV1::UpdateAccountLabelsRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/css_v1/classes.rb,
lib/google/apis/css_v1/representations.rb,
lib/google/apis/css_v1/representations.rb
Overview
The request message for the UpdateLabels method.
Instance Attribute Summary collapse
-
#label_ids ⇒ Array<Fixnum>
The list of label IDs to overwrite the existing account label IDs.
-
#parent ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateAccountLabelsRequest
constructor
A new instance of UpdateAccountLabelsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateAccountLabelsRequest
Returns a new instance of UpdateAccountLabelsRequest.
1128 1129 1130 |
# File 'lib/google/apis/css_v1/classes.rb', line 1128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_ids ⇒ Array<Fixnum>
The list of label IDs to overwrite the existing account label IDs. If the list
is empty, all currently assigned label IDs will be deleted.
Corresponds to the JSON property labelIds
1120 1121 1122 |
# File 'lib/google/apis/css_v1/classes.rb', line 1120 def label_ids @label_ids end |
#parent ⇒ String
Optional. Only required when updating MC account labels. The CSS domain that
is the parent resource of the MC account. Format: accounts/account
Corresponds to the JSON property parent
1126 1127 1128 |
# File 'lib/google/apis/css_v1/classes.rb', line 1126 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1133 1134 1135 1136 |
# File 'lib/google/apis/css_v1/classes.rb', line 1133 def update!(**args) @label_ids = args[:label_ids] if args.key?(:label_ids) @parent = args[:parent] if args.key?(:parent) end |