public static final class ServicePerimeter.Builder extends GeneratedMessageV3.Builder<ServicePerimeter.Builder> 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.ServicePerimetergetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ServicePerimeter build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ServicePerimeter buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ServicePerimeter.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder mergeFrom(ServicePerimeter other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public ServicePerimeter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ServicePerimeter.Builder>IOExceptionpublic 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 ServicePerimeter.Builder setName(String value)
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;value - The name to set.public ServicePerimeter.Builder clearName()
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;public ServicePerimeter.Builder setNameBytes(ByteString value)
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;value - The bytes for name to set.public 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 ServicePerimeter.Builder setTitle(String value)
Human readable title. Must be unique within the Policy.
string title = 2;value - The title to set.public ServicePerimeter.Builder clearTitle()
Human readable title. Must be unique within the Policy.
string title = 2;public ServicePerimeter.Builder setTitleBytes(ByteString value)
Human readable title. Must be unique within the Policy.
string title = 2;value - The bytes for title to set.public 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 ServicePerimeter.Builder setDescription(String value)
Description of the `ServicePerimeter` and its use. Does not affect behavior.
string description = 3;value - The description to set.public ServicePerimeter.Builder clearDescription()
Description of the `ServicePerimeter` and its use. Does not affect behavior.
string description = 3;public ServicePerimeter.Builder setDescriptionBytes(ByteString value)
Description of the `ServicePerimeter` and its use. Does not affect behavior.
string description = 3;value - The bytes for description to set.public 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 ServicePerimeter.Builder setCreateTime(Timestamp value)
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;public ServicePerimeter.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;public ServicePerimeter.Builder mergeCreateTime(Timestamp value)
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;public ServicePerimeter.Builder clearCreateTime()
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the `ServicePerimeter` was created in UTC.
.google.protobuf.Timestamp create_time = 4;public 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 ServicePerimeter.Builder setUpdateTime(Timestamp value)
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;public ServicePerimeter.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;public ServicePerimeter.Builder mergeUpdateTime(Timestamp value)
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;public ServicePerimeter.Builder clearUpdateTime()
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time the `ServicePerimeter` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;public 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.Builder setPerimeterTypeValue(int value)
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;
value - The enum numeric value on the wire for perimeterType to set.public 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 ServicePerimeter.Builder setPerimeterType(ServicePerimeter.PerimeterType value)
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;
value - The perimeterType to set.public ServicePerimeter.Builder clearPerimeterType()
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;
public 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 ServicePerimeter.Builder setStatus(ServicePerimeterConfig value)
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;public ServicePerimeter.Builder setStatus(ServicePerimeterConfig.Builder builderForValue)
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;public ServicePerimeter.Builder mergeStatus(ServicePerimeterConfig value)
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;public ServicePerimeter.Builder clearStatus()
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;public ServicePerimeterConfig.Builder getStatusBuilder()
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;public 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 ServicePerimeter.Builder setSpec(ServicePerimeterConfig value)
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;public ServicePerimeter.Builder setSpec(ServicePerimeterConfig.Builder builderForValue)
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;public ServicePerimeter.Builder mergeSpec(ServicePerimeterConfig value)
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;public ServicePerimeter.Builder clearSpec()
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;public ServicePerimeterConfig.Builder getSpecBuilder()
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;public 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 ServicePerimeter.Builder setUseExplicitDryRunSpec(boolean value)
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;value - The useExplicitDryRunSpec to set.public ServicePerimeter.Builder clearUseExplicitDryRunSpec()
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;public final ServicePerimeter.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>public final ServicePerimeter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ServicePerimeter.Builder>Copyright © 2021 Google LLC. All rights reserved.