class Google::Apis::AccesscontextmanagerV1::ReplaceServicePerimetersRequest

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

Attributes

etag[RW]

Optional. The etag for the version of the Access Policy 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. Corresponds to the JSON property `etag` @return [String]

service_perimeters[RW]

Required. The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Corresponds to the JSON property `servicePerimeters` @return [Array<Google::Apis::AccesscontextmanagerV1::ServicePerimeter>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/accesscontextmanager_v1/classes.rb, line 1146
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @service_perimeters = args[:service_perimeters] if args.key?(:service_perimeters)
end