class Google::Apis::AccesscontextmanagerV1::AccessLevel
An `AccessLevel` is a label that can be applied to requests to Google
Cloud services, along with a list of requirements necessary for the label to be applied.
Attributes
`BasicLevel` is an `AccessLevel` using a set of recommended features. Corresponds to the JSON property `basic` @return [Google::Apis::AccesscontextmanagerV1::BasicLevel]
`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: github.com/google/cel-spec Corresponds to the JSON property `custom` @return [Google::Apis::AccesscontextmanagerV1::CustomLevel]
Description of the `AccessLevel` and its use. Does not affect behavior. Corresponds to the JSON property `description` @return [String]
Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: ` accessPolicies/`access_policy`/accessLevels/`access_level“. The maximum length of the `access_level` component is 50 characters. Corresponds to the JSON property `name` @return [String]
Human readable title. Must be unique within the Policy. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/accesscontextmanager_v1/classes.rb, line 74 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/accesscontextmanager_v1/classes.rb, line 79 def update!(**args) @basic = args[:basic] if args.key?(:basic) @custom = args[:custom] if args.key?(:custom) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end