Class: Google::Apis::DfareportingV3_5::UserRolePermissionGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb

Overview

Represents a grouping of related user role permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserRolePermissionGroup

Returns a new instance of UserRolePermissionGroup.



12509
12510
12511
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12509

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

Instance Attribute Details

#idFixnum

ID of this user role permission. Corresponds to the JSON property id

Returns:

  • (Fixnum)


12496
12497
12498
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12496

def id
  @id
end

#kindString

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

Returns:

  • (String)


12502
12503
12504
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12502

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


12507
12508
12509
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12507

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12514
12515
12516
12517
12518
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12514

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