Class: Google::Apis::DfareportingV2_1::UserRolePermission
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::UserRolePermission
- 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
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::Hashable
Constructor Details
#initialize(**args) ⇒ UserRolePermission
Returns a new instance of UserRolePermission.
10639 10640 10641 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10639 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
10616 10617 10618 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10616 def availability @availability end |
#id ⇒ String
ID of this user role permission.
Corresponds to the JSON property id
10621 10622 10623 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10621 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
10627 10628 10629 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10627 def kind @kind end |
#name ⇒ String
Name of this user role permission.
Corresponds to the JSON property name
10632 10633 10634 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10632 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
10637 10638 10639 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10637 def @permission_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10644 10645 10646 10647 10648 10649 10650 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10644 def update!(**args) @availability = args[:availability] unless args[:availability].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @permission_group_id = args[:permission_group_id] unless args[:permission_group_id].nil? end |