Class: Google::Apis::DfareportingV2_1::UserRolePermissionGroup

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

Overview

Represents a grouping of related user role permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UserRolePermissionGroup

Returns a new instance of UserRolePermissionGroup.



10673
10674
10675
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10673

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


10660
10661
10662
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10660

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)


10666
10667
10668
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10666

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


10671
10672
10673
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10671

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10678
10679
10680
10681
10682
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10678

def update!(**args)
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @name = args[:name] unless args[:name].nil?
end