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.
1129 1130 1131 |
# File 'lib/google/apis/css_v1/classes.rb', line 1129 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
1121 1122 1123 |
# File 'lib/google/apis/css_v1/classes.rb', line 1121 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
1127 1128 1129 |
# File 'lib/google/apis/css_v1/classes.rb', line 1127 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1134 1135 1136 1137 |
# File 'lib/google/apis/css_v1/classes.rb', line 1134 def update!(**args) @label_ids = args[:label_ids] if args.key?(:label_ids) @parent = args[:parent] if args.key?(:parent) end |