Class: Google::Apis::DfareportingV3_3::UserRolePermission
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_3::UserRolePermission
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/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 ⇒ Fixnum
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 ⇒ Fixnum
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.
12040 12041 12042 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12040 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
12017 12018 12019 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12017 def availability @availability end |
#id ⇒ Fixnum
ID of this user role permission.
Corresponds to the JSON property id
12022 12023 12024 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12022 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
12028 12029 12030 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12028 def kind @kind end |
#name ⇒ String
Name of this user role permission.
Corresponds to the JSON property name
12033 12034 12035 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12033 def name @name end |
#permission_group_id ⇒ Fixnum
ID of the permission group that this user role permission belongs to.
Corresponds to the JSON property permissionGroupId
12038 12039 12040 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12038 def @permission_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12045 12046 12047 12048 12049 12050 12051 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 12045 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 |