Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::ReplaceAccessLevelsRequest (v0.8.0)

Reference documentation and code samples for the Access Context Manager V1 API class Google::Identity::AccessContextManager::V1::ReplaceAccessLevelsRequest.

A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_levels

def access_levels() -> ::Array<::Google::Identity::AccessContextManager::V1::AccessLevel>
Returns
  • (::Array<::Google::Identity::AccessContextManager::V1::AccessLevel>) — Required. The desired [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] that should replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy].

#access_levels=

def access_levels=(value) -> ::Array<::Google::Identity::AccessContextManager::V1::AccessLevel>
Parameter
  • value (::Array<::Google::Identity::AccessContextManager::V1::AccessLevel>) — Required. The desired [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] that should replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy].
Returns
  • (::Array<::Google::Identity::AccessContextManager::V1::AccessLevel>) — Required. The desired [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] that should replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy].

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The etag for the version of the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The etag for the version of the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided.
Returns
  • (::String) — Optional. The etag for the version of the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Resource name for the access policy which owns these [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel].

    Format: accessPolicies/{policy_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name for the access policy which owns these [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel].

    Format: accessPolicies/{policy_id}

Returns
  • (::String) — Required. Resource name for the access policy which owns these [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel].

    Format: accessPolicies/{policy_id}