Class: Google::Apis::DfareportingV2_3::UserRolePermissionGroup

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



10742
10743
10744
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10742

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


10729
10730
10731
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10729

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)


10735
10736
10737
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10735

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


10740
10741
10742
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10740

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10747
10748
10749
10750
10751
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10747

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