Class: Google::Apis::DfareportingV2_6::UserRolePermission
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::UserRolePermission
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb
Overview
Contains properties of a user role permission.
Instance Attribute Summary collapse
-
#availability ⇒ String
Levels of availability for a user role permission.
-
#id ⇒ String
ID of this user role permission.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this user role permission.
-
#permission_group_id ⇒ String
ID of the permission group that this user role permission belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserRolePermission
constructor
A new instance of UserRolePermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserRolePermission
Returns a new instance of UserRolePermission.
11454 11455 11456 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availability ⇒ String
Levels of availability for a user role permission.
Corresponds to the JSON property availability
11431 11432 11433 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11431 def availability @availability end |
#id ⇒ String
ID of this user role permission.
Corresponds to the JSON property id
11436 11437 11438 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11436 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#userRolePermission".
Corresponds to the JSON property kind
11442 11443 11444 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11442 def kind @kind end |
#name ⇒ String
Name of this user role permission.
Corresponds to the JSON property name
11447 11448 11449 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11447 def name @name end |
#permission_group_id ⇒ String
ID of the permission group that this user role permission belongs to.
Corresponds to the JSON property permissionGroupId
11452 11453 11454 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11452 def @permission_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11459 11460 11461 11462 11463 11464 11465 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11459 def update!(**args) @availability = args[:availability] if args.key?(:availability) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @permission_group_id = args[:permission_group_id] if args.key?(:permission_group_id) end |