Class: Google::Apis::DfareportingV3_3::AccountPermissionGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountPermissionGroup

Returns a new instance of AccountPermissionGroup.



350
351
352
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 350

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idFixnum

ID of this account permission group. Corresponds to the JSON property id

Returns:

  • (Fixnum)


337
338
339
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 337

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#accountPermissionGroup". Corresponds to the JSON property kind

Returns:

  • (String)


343
344
345
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 343

def kind
  @kind
end

#nameString

Name of this account permission group. Corresponds to the JSON property name

Returns:

  • (String)


348
349
350
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 348

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



355
356
357
358
359
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 355

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