Class: Google::Apis::DfareportingV4::AccountPermissionGroup

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

Constructor Details

#initialize(**args) ⇒ AccountPermissionGroup

Returns a new instance of AccountPermissionGroup.



294
295
296
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 294

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


281
282
283
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 281

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)


287
288
289
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 287

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


292
293
294
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 292

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



299
300
301
302
303
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 299

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