Class: Google::Apis::DfareportingV2_1::AccountPermissionGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::AccountPermissionGroup
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
Instance Attribute Summary collapse
-
#id ⇒ String
ID of this account permission group.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this account permission group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountPermissionGroup
constructor
A new instance of AccountPermissionGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountPermissionGroup
Returns a new instance of AccountPermissionGroup
339 340 341 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this account permission group.
Corresponds to the JSON property id
326 327 328 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 326 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#accountPermissionGroup".
Corresponds to the JSON property kind
332 333 334 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 332 def kind @kind end |
#name ⇒ String
Name of this account permission group.
Corresponds to the JSON property name
337 338 339 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 337 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
344 345 346 347 348 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 344 def update!(**args) @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? end |