Class: Google::Apis::DfareportingV3_0::AccountPermissionGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_0::AccountPermissionGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_0/classes.rb,
generated/google/apis/dfareporting_v3_0/representations.rb,
generated/google/apis/dfareporting_v3_0/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 ⇒ Fixnum
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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountPermissionGroup
Returns a new instance of AccountPermissionGroup
349 350 351 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this account permission group.
Corresponds to the JSON property id
336 337 338 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 336 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
342 343 344 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 342 def kind @kind end |
#name ⇒ String
Name of this account permission group.
Corresponds to the JSON property name
347 348 349 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 347 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
354 355 356 357 358 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 354 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |