class Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel

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

basic[RW]

`BasicLevel` is an `AccessLevel` using a set of recommended features. Corresponds to the JSON property `basic` @return [Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1BasicLevel]

custom[RW]

`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::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]

description[RW]

Description of the `AccessLevel` and its use. Does not affect behavior. Corresponds to the JSON property `description` @return [String]

name[RW]

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]

title[RW]

Human readable title. Must be unique within the Policy. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 1104
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 1109
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