Class: Google::Apis::DfareportingV4::UserRolePermissionGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::UserRolePermissionGroup
- 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
-
#id ⇒ Fixnum
ID of this user role permission.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this user role permission group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserRolePermissionGroup
constructor
A new instance of UserRolePermissionGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserRolePermissionGroup
Returns a new instance of UserRolePermissionGroup.
13076 13077 13078 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this user role permission.
Corresponds to the JSON property id
13063 13064 13065 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13063 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#userRolePermissionGroup".
Corresponds to the JSON property kind
13069 13070 13071 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13069 def kind @kind end |
#name ⇒ String
Name of this user role permission group.
Corresponds to the JSON property name
13074 13075 13076 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13074 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13081 13082 13083 13084 13085 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13081 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 |