Class: Google::Apis::DfareportingV4::UserRolePermissionGroup

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

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.



13070
13071
13072
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13070

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


13057
13058
13059
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13057

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)


13063
13064
13065
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13063

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


13068
13069
13070
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13068

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13075
13076
13077
13078
13079
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13075

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