Class: Google::Apis::DfareportingV3_1::UserRolePermissionGroup

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

Overview

Represents a grouping of related user role 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) ⇒ UserRolePermissionGroup

Returns a new instance of UserRolePermissionGroup



12019
12020
12021
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12019

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


12006
12007
12008
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12006

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)


12012
12013
12014
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12012

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


12017
12018
12019
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12017

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12024
12025
12026
12027
12028
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12024

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