public final class ReplaceServicePerimetersRequest extends GeneratedMessageV3 implements ReplaceServicePerimetersRequestOrBuilder
A request to replace all existing Service Perimeters in an Access Policy
with the Service Perimeters provided. This is done atomically.
Protobuf type google.identity.accesscontextmanager.v1.ReplaceServicePerimetersRequest
Static Fields
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
SERVICE_PERIMETERS_FIELD_NUMBER
public static final int SERVICE_PERIMETERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReplaceServicePerimetersRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReplaceServicePerimetersRequest.Builder newBuilder()
Returns
newBuilder(ReplaceServicePerimetersRequest prototype)
public static ReplaceServicePerimetersRequest.Builder newBuilder(ReplaceServicePerimetersRequest prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ReplaceServicePerimetersRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReplaceServicePerimetersRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReplaceServicePerimetersRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ReplaceServicePerimetersRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ReplaceServicePerimetersRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReplaceServicePerimetersRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplaceServicePerimetersRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReplaceServicePerimetersRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ReplaceServicePerimetersRequest getDefaultInstanceForType()
Returns
getEtag()
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.
string etag = 3;
Returns
Type | Description |
String | The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
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.
string etag = 3;
Returns
getParent()
public String getParent()
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<ReplaceServicePerimetersRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServicePerimeters(int index)
public ServicePerimeter getServicePerimeters(int index)
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].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getServicePerimetersCount()
public int getServicePerimetersCount()
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].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getServicePerimetersList()
public List<ServicePerimeter> getServicePerimetersList()
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].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getServicePerimetersOrBuilder(int index)
public ServicePerimeterOrBuilder getServicePerimetersOrBuilder(int index)
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].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getServicePerimetersOrBuilderList()
public List<? extends ServicePerimeterOrBuilder> getServicePerimetersOrBuilderList()
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].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReplaceServicePerimetersRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplaceServicePerimetersRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReplaceServicePerimetersRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions