Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::ReplaceServicePerimetersRequest (v0.4.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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 [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter].

    Format: accessPolicies/{policy_id}

#parent=

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

    Format: accessPolicies/{policy_id}

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

    Format: accessPolicies/{policy_id}

#service_perimeters

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

#service_perimeters=

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