class Google::Apis::IamV1::Permission
A permission which can be included by a role.
Attributes
The service API associated with the permission is not enabled. Corresponds to the JSON property `apiDisabled` @return [Boolean]
The service API associated with the permission is not enabled. Corresponds to the JSON property `apiDisabled` @return [Boolean]
The current custom role support level. Corresponds to the JSON property `customRolesSupportLevel` @return [String]
A brief description of what this Permission
is used for. This permission can ONLY be used in predefined roles. Corresponds to the JSON property `description` @return [String]
The name of this Permission
. Corresponds to the JSON property `name` @return [String]
Corresponds to the JSON property `onlyInPredefinedRoles` @return [Boolean]
Corresponds to the JSON property `onlyInPredefinedRoles` @return [Boolean]
The preferred name for this permission. If present, then this permission is an alias of, and equivalent to, the listed primary_permission. Corresponds to the JSON property `primaryPermission` @return [String]
The current launch stage of the permission. Corresponds to the JSON property `stage` @return [String]
The title of this Permission
. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/iam_v1/classes.rb, line 934 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/iam_v1/classes.rb, line 939 def update!(**args) @api_disabled = args[:api_disabled] if args.key?(:api_disabled) @custom_roles_support_level = args[:custom_roles_support_level] if args.key?(:custom_roles_support_level) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @only_in_predefined_roles = args[:only_in_predefined_roles] if args.key?(:only_in_predefined_roles) @primary_permission = args[:primary_permission] if args.key?(:primary_permission) @stage = args[:stage] if args.key?(:stage) @title = args[:title] if args.key?(:title) end