public final class ServicePerimeterConfig extends GeneratedMessageV3 implements ServicePerimeterConfigOrBuilder
ServicePerimeterConfig
specifies a set of Google Cloud resources that
describe specific Service Perimeter configuration.
Protobuf type google.identity.accesscontextmanager.v1.ServicePerimeterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ACCESS_LEVELS_FIELD_NUMBER
public static final int ACCESS_LEVELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EGRESS_POLICIES_FIELD_NUMBER
public static final int EGRESS_POLICIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INGRESS_POLICIES_FIELD_NUMBER
public static final int INGRESS_POLICIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESTRICTED_SERVICES_FIELD_NUMBER
public static final int RESTRICTED_SERVICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VPC_ACCESSIBLE_SERVICES_FIELD_NUMBER
public static final int VPC_ACCESSIBLE_SERVICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ServicePerimeterConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServicePerimeterConfig.Builder newBuilder()
newBuilder(ServicePerimeterConfig prototype)
public static ServicePerimeterConfig.Builder newBuilder(ServicePerimeterConfig prototype)
parseDelimitedFrom(InputStream input)
public static ServicePerimeterConfig parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServicePerimeterConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServicePerimeterConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ServicePerimeterConfig parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ServicePerimeterConfig parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServicePerimeterConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServicePerimeterConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessLevels(int index)
public String getAccessLevels(int index)
A list of AccessLevel
resource names that allow resources within the
ServicePerimeter
to be accessed from the internet. AccessLevels
listed
must be in the same policy as this ServicePerimeter
. Referencing a
nonexistent AccessLevel
is a syntax error. If no AccessLevel
names are
listed, resources within the perimeter can only be accessed via Google
Cloud calls with request origins within the perimeter. Example:
"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"
.
For Service Perimeter Bridge, must be empty.
repeated string access_levels = 2;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The accessLevels at the given index.
|
getAccessLevelsBytes(int index)
public ByteString getAccessLevelsBytes(int index)
A list of AccessLevel
resource names that allow resources within the
ServicePerimeter
to be accessed from the internet. AccessLevels
listed
must be in the same policy as this ServicePerimeter
. Referencing a
nonexistent AccessLevel
is a syntax error. If no AccessLevel
names are
listed, resources within the perimeter can only be accessed via Google
Cloud calls with request origins within the perimeter. Example:
"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"
.
For Service Perimeter Bridge, must be empty.
repeated string access_levels = 2;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the accessLevels at the given index.
|
getAccessLevelsCount()
public int getAccessLevelsCount()
A list of AccessLevel
resource names that allow resources within the
ServicePerimeter
to be accessed from the internet. AccessLevels
listed
must be in the same policy as this ServicePerimeter
. Referencing a
nonexistent AccessLevel
is a syntax error. If no AccessLevel
names are
listed, resources within the perimeter can only be accessed via Google
Cloud calls with request origins within the perimeter. Example:
"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"
.
For Service Perimeter Bridge, must be empty.
repeated string access_levels = 2;
Returns |
---|
Type | Description |
int | The count of accessLevels.
|
getAccessLevelsList()
public ProtocolStringList getAccessLevelsList()
A list of AccessLevel
resource names that allow resources within the
ServicePerimeter
to be accessed from the internet. AccessLevels
listed
must be in the same policy as this ServicePerimeter
. Referencing a
nonexistent AccessLevel
is a syntax error. If no AccessLevel
names are
listed, resources within the perimeter can only be accessed via Google
Cloud calls with request origins within the perimeter. Example:
"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"
.
For Service Perimeter Bridge, must be empty.
repeated string access_levels = 2;
getDefaultInstanceForType()
public ServicePerimeterConfig getDefaultInstanceForType()
getEgressPolicies(int index)
public ServicePerimeterConfig.EgressPolicy getEgressPolicies(int index)
List of [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to apply to the perimeter. A perimeter may have multiple [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy],
each of which is evaluated separately. Access is granted if any
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;
Parameter |
---|
Name | Description |
index | int
|
getEgressPoliciesCount()
public int getEgressPoliciesCount()
List of [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to apply to the perimeter. A perimeter may have multiple [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy],
each of which is evaluated separately. Access is granted if any
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;
Returns |
---|
Type | Description |
int | |
getEgressPoliciesList()
public List<ServicePerimeterConfig.EgressPolicy> getEgressPoliciesList()
List of [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to apply to the perimeter. A perimeter may have multiple [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy],
each of which is evaluated separately. Access is granted if any
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;
getEgressPoliciesOrBuilder(int index)
public ServicePerimeterConfig.EgressPolicyOrBuilder getEgressPoliciesOrBuilder(int index)
List of [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to apply to the perimeter. A perimeter may have multiple [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy],
each of which is evaluated separately. Access is granted if any
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;
Parameter |
---|
Name | Description |
index | int
|
getEgressPoliciesOrBuilderList()
public List<? extends ServicePerimeterConfig.EgressPolicyOrBuilder> getEgressPoliciesOrBuilderList()
List of [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to apply to the perimeter. A perimeter may have multiple [EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy],
each of which is evaluated separately. Access is granted if any
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;
Returns |
---|
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicyOrBuilder> | |
getIngressPolicies(int index)
public ServicePerimeterConfig.IngressPolicy getIngressPolicies(int index)
List of [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply to the perimeter. A perimeter may have multiple [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy],
each of which is evaluated separately. Access is granted if any [Ingress
Policy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;
Parameter |
---|
Name | Description |
index | int
|
getIngressPoliciesCount()
public int getIngressPoliciesCount()
List of [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply to the perimeter. A perimeter may have multiple [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy],
each of which is evaluated separately. Access is granted if any [Ingress
Policy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;
Returns |
---|
Type | Description |
int | |
getIngressPoliciesList()
public List<ServicePerimeterConfig.IngressPolicy> getIngressPoliciesList()
List of [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply to the perimeter. A perimeter may have multiple [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy],
each of which is evaluated separately. Access is granted if any [Ingress
Policy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;
getIngressPoliciesOrBuilder(int index)
public ServicePerimeterConfig.IngressPolicyOrBuilder getIngressPoliciesOrBuilder(int index)
List of [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply to the perimeter. A perimeter may have multiple [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy],
each of which is evaluated separately. Access is granted if any [Ingress
Policy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;
Parameter |
---|
Name | Description |
index | int
|
getIngressPoliciesOrBuilderList()
public List<? extends ServicePerimeterConfig.IngressPolicyOrBuilder> getIngressPoliciesOrBuilderList()
List of [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply to the perimeter. A perimeter may have multiple [IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy],
each of which is evaluated separately. Access is granted if any [Ingress
Policy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
grants it. Must be empty for a perimeter bridge.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;
Returns |
---|
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicyOrBuilder> | |
getParserForType()
public Parser<ServicePerimeterConfig> getParserForType()
Overrides
getResources(int index)
public String getResources(int index)
A list of Google Cloud resources that are inside of the service perimeter.
Currently only projects are allowed. Format: projects/{project_number}
repeated string resources = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The resources at the given index.
|
getResourcesBytes(int index)
public ByteString getResourcesBytes(int index)
A list of Google Cloud resources that are inside of the service perimeter.
Currently only projects are allowed. Format: projects/{project_number}
repeated string resources = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the resources at the given index.
|
getResourcesCount()
public int getResourcesCount()
A list of Google Cloud resources that are inside of the service perimeter.
Currently only projects are allowed. Format: projects/{project_number}
repeated string resources = 1;
Returns |
---|
Type | Description |
int | The count of resources.
|
getResourcesList()
public ProtocolStringList getResourcesList()
A list of Google Cloud resources that are inside of the service perimeter.
Currently only projects are allowed. Format: projects/{project_number}
repeated string resources = 1;
getRestrictedServices(int index)
public String getRestrictedServices(int index)
Google Cloud services that are subject to the Service Perimeter
restrictions. For example, if storage.googleapis.com
is specified, access
to the storage buckets inside the perimeter must meet the perimeter's
access restrictions.
repeated string restricted_services = 4;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The restrictedServices at the given index.
|
getRestrictedServicesBytes(int index)
public ByteString getRestrictedServicesBytes(int index)
Google Cloud services that are subject to the Service Perimeter
restrictions. For example, if storage.googleapis.com
is specified, access
to the storage buckets inside the perimeter must meet the perimeter's
access restrictions.
repeated string restricted_services = 4;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the restrictedServices at the given index.
|
getRestrictedServicesCount()
public int getRestrictedServicesCount()
Google Cloud services that are subject to the Service Perimeter
restrictions. For example, if storage.googleapis.com
is specified, access
to the storage buckets inside the perimeter must meet the perimeter's
access restrictions.
repeated string restricted_services = 4;
Returns |
---|
Type | Description |
int | The count of restrictedServices.
|
getRestrictedServicesList()
public ProtocolStringList getRestrictedServicesList()
Google Cloud services that are subject to the Service Perimeter
restrictions. For example, if storage.googleapis.com
is specified, access
to the storage buckets inside the perimeter must meet the perimeter's
access restrictions.
repeated string restricted_services = 4;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getVpcAccessibleServices()
public ServicePerimeterConfig.VpcAccessibleServices getVpcAccessibleServices()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
getVpcAccessibleServicesOrBuilder()
public ServicePerimeterConfig.VpcAccessibleServicesOrBuilder getVpcAccessibleServicesOrBuilder()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
hasVpcAccessibleServices()
public boolean hasVpcAccessibleServices()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Returns |
---|
Type | Description |
boolean | Whether the vpcAccessibleServices field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServicePerimeterConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServicePerimeterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServicePerimeterConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides