public final class ServicePerimeter extends GeneratedMessageV3 implements ServicePerimeterOrBuilder
`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeter| Modifier and Type | Class and Description |
|---|---|
static class |
ServicePerimeter.Builder
`ServicePerimeter` describes a set of Google Cloud resources which can freely
import and export data amongst themselves, but not export outside of the
`ServicePerimeter`.
|
static class |
ServicePerimeter.PerimeterType
Specifies the type of the Perimeter.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PERIMETER_TYPE_FIELD_NUMBER |
static int |
SPEC_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
USE_EXPLICIT_DRY_RUN_SPEC_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int PERIMETER_TYPE_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
public static final int USE_EXPLICIT_DRY_RUN_SPEC_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
Required. Resource name for the ServicePerimeter. The `short_name`
component must begin with a letter and only include alphanumeric and '_'.
Format:
`accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`
string name = 1;getName in interface ServicePerimeterOrBuilderpublic ByteString getNameBytes()
Required. Resource name for the ServicePerimeter. The `short_name`
component must begin with a letter and only include alphanumeric and '_'.
Format:
`accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`
string name = 1;getNameBytes in interface ServicePerimeterOrBuilderpublic String getTitle()
Human readable title. Must be unique within the Policy.
string title = 2;getTitle in interface ServicePerimeterOrBuilderpublic ByteString getTitleBytes()
Human readable title. Must be unique within the Policy.
string title = 2;getTitleBytes in interface ServicePerimeterOrBuilderpublic String getDescription()
Description of the `ServicePerimeter` and its use. Does not affect behavior.
string description = 3;getDescription in interface ServicePerimeterOrBuilderpublic ByteString getDescriptionBytes()
Description of the `ServicePerimeter` and its use. Does not affect behavior.
string description = 3;getDescriptionBytes in interface ServicePerimeterOrBuilderpublic boolean hasCreateTime()
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface ServicePerimeterOrBuilderpublic Timestamp getCreateTime()
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface ServicePerimeterOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface ServicePerimeterOrBuilderpublic boolean hasUpdateTime()
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;hasUpdateTime in interface ServicePerimeterOrBuilderpublic Timestamp getUpdateTime()
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;getUpdateTime in interface ServicePerimeterOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;getUpdateTimeOrBuilder in interface ServicePerimeterOrBuilderpublic int getPerimeterTypeValue()
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.
.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;
getPerimeterTypeValue in interface ServicePerimeterOrBuilderpublic ServicePerimeter.PerimeterType getPerimeterType()
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.
.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;
getPerimeterType in interface ServicePerimeterOrBuilderpublic boolean hasStatus()
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;hasStatus in interface ServicePerimeterOrBuilderpublic ServicePerimeterConfig getStatus()
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;getStatus in interface ServicePerimeterOrBuilderpublic ServicePerimeterConfigOrBuilder getStatusOrBuilder()
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;getStatusOrBuilder in interface ServicePerimeterOrBuilderpublic boolean hasSpec()
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;hasSpec in interface ServicePerimeterOrBuilderpublic ServicePerimeterConfig getSpec()
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;getSpec in interface ServicePerimeterOrBuilderpublic ServicePerimeterConfigOrBuilder getSpecOrBuilder()
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;getSpecOrBuilder in interface ServicePerimeterOrBuilderpublic boolean getUseExplicitDryRunSpec()
Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
exists for all Service Perimeters, and that spec is identical to the
status for those Service Perimeters. When this flag is set, it inhibits the
generation of the implicit spec, thereby allowing the user to explicitly
provide a configuration ("spec") to use in a dry-run version of the Service
Perimeter. This allows the user to test changes to the enforced config
("status") without actually enforcing them. This testing is done through
analyzing the differences between currently enforced and suggested
restrictions. use_explicit_dry_run_spec must bet set to True if any of the
fields in the spec are set to non-default values.
bool use_explicit_dry_run_spec = 9;getUseExplicitDryRunSpec in interface ServicePerimeterOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ServicePerimeter parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeter parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServicePerimeter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServicePerimeter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServicePerimeter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServicePerimeter parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ServicePerimeter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServicePerimeter.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ServicePerimeter.Builder newBuilder()
public static ServicePerimeter.Builder newBuilder(ServicePerimeter prototype)
public ServicePerimeter.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ServicePerimeter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ServicePerimeter getDefaultInstance()
public static Parser<ServicePerimeter> parser()
public Parser<ServicePerimeter> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ServicePerimeter getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.