- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.5
- 1.3.1
- 1.2.10
public static final class ServicePerimeterConfig.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.Builder> implements ServicePerimeterConfigOrBuilder
ServicePerimeterConfig
specifies a set of Google Cloud resources that
describe specific Service Perimeter configuration.
Protobuf type google.identity.accesscontextmanager.v1.ServicePerimeterConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServicePerimeterConfig.BuilderImplements
ServicePerimeterConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAccessLevels(String value)
public ServicePerimeterConfig.Builder addAccessLevels(String value)
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 |
value | String The accessLevels to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addAccessLevelsBytes(ByteString value)
public ServicePerimeterConfig.Builder addAccessLevelsBytes(ByteString value)
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 |
value | ByteString The bytes of the accessLevels to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addAllAccessLevels(Iterable<String> values)
public ServicePerimeterConfig.Builder addAllAccessLevels(Iterable<String> values)
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 |
values | Iterable<String> The accessLevels to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addAllEgressPolicies(Iterable<? extends ServicePerimeterConfig.EgressPolicy> values)
public ServicePerimeterConfig.Builder addAllEgressPolicies(Iterable<? extends ServicePerimeterConfig.EgressPolicy> values)
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 |
values | Iterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy> |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addAllIngressPolicies(Iterable<? extends ServicePerimeterConfig.IngressPolicy> values)
public ServicePerimeterConfig.Builder addAllIngressPolicies(Iterable<? extends ServicePerimeterConfig.IngressPolicy> values)
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 |
values | Iterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy> |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addAllResources(Iterable<String> values)
public ServicePerimeterConfig.Builder addAllResources(Iterable<String> values)
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 |
values | Iterable<String> The resources to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addAllRestrictedServices(Iterable<String> values)
public ServicePerimeterConfig.Builder addAllRestrictedServices(Iterable<String> values)
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 |
values | Iterable<String> The restrictedServices to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addEgressPolicies(ServicePerimeterConfig.EgressPolicy value)
public ServicePerimeterConfig.Builder addEgressPolicies(ServicePerimeterConfig.EgressPolicy value)
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 |
value | ServicePerimeterConfig.EgressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addEgressPolicies(ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder addEgressPolicies(ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
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 |
builderForValue | ServicePerimeterConfig.EgressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)
public ServicePerimeterConfig.Builder addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServicePerimeterConfig.EgressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServicePerimeterConfig.EgressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addEgressPoliciesBuilder()
public ServicePerimeterConfig.EgressPolicy.Builder addEgressPoliciesBuilder()
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 |
ServicePerimeterConfig.EgressPolicy.Builder |
addEgressPoliciesBuilder(int index)
public ServicePerimeterConfig.EgressPolicy.Builder addEgressPoliciesBuilder(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.EgressPolicy.Builder |
addIngressPolicies(ServicePerimeterConfig.IngressPolicy value)
public ServicePerimeterConfig.Builder addIngressPolicies(ServicePerimeterConfig.IngressPolicy value)
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 |
value | ServicePerimeterConfig.IngressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addIngressPolicies(ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder addIngressPolicies(ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
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 |
builderForValue | ServicePerimeterConfig.IngressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)
public ServicePerimeterConfig.Builder addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServicePerimeterConfig.IngressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServicePerimeterConfig.IngressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addIngressPoliciesBuilder()
public ServicePerimeterConfig.IngressPolicy.Builder addIngressPoliciesBuilder()
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 |
ServicePerimeterConfig.IngressPolicy.Builder |
addIngressPoliciesBuilder(int index)
public ServicePerimeterConfig.IngressPolicy.Builder addIngressPoliciesBuilder(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.IngressPolicy.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
addResources(String value)
public ServicePerimeterConfig.Builder addResources(String value)
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 |
value | String The resources to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addResourcesBytes(ByteString value)
public ServicePerimeterConfig.Builder addResourcesBytes(ByteString value)
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 |
value | ByteString The bytes of the resources to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addRestrictedServices(String value)
public ServicePerimeterConfig.Builder addRestrictedServices(String value)
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 |
value | String The restrictedServices to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
addRestrictedServicesBytes(ByteString value)
public ServicePerimeterConfig.Builder addRestrictedServicesBytes(ByteString value)
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 |
value | ByteString The bytes of the restrictedServices to add. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
build()
public ServicePerimeterConfig build()
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig |
buildPartial()
public ServicePerimeterConfig buildPartial()
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig |
clear()
public ServicePerimeterConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
clearAccessLevels()
public ServicePerimeterConfig.Builder clearAccessLevels()
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 |
ServicePerimeterConfig.Builder | This builder for chaining. |
clearEgressPolicies()
public ServicePerimeterConfig.Builder clearEgressPolicies()
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 |
ServicePerimeterConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
clearIngressPolicies()
public ServicePerimeterConfig.Builder clearIngressPolicies()
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 |
ServicePerimeterConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
clearResources()
public ServicePerimeterConfig.Builder clearResources()
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 |
ServicePerimeterConfig.Builder | This builder for chaining. |
clearRestrictedServices()
public ServicePerimeterConfig.Builder clearRestrictedServices()
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 |
ServicePerimeterConfig.Builder | This builder for chaining. |
clearVpcAccessibleServices()
public ServicePerimeterConfig.Builder clearVpcAccessibleServices()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
clone()
public ServicePerimeterConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the accessLevels. |
getDefaultInstanceForType()
public ServicePerimeterConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.EgressPolicy |
getEgressPoliciesBuilder(int index)
public ServicePerimeterConfig.EgressPolicy.Builder getEgressPoliciesBuilder(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.EgressPolicy.Builder |
getEgressPoliciesBuilderList()
public List<ServicePerimeterConfig.EgressPolicy.Builder> getEgressPoliciesBuilderList()
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<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<EgressPolicy> |
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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.EgressPolicyOrBuilder |
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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.IngressPolicy |
getIngressPoliciesBuilder(int index)
public ServicePerimeterConfig.IngressPolicy.Builder getIngressPoliciesBuilder(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.IngressPolicy.Builder |
getIngressPoliciesBuilderList()
public List<ServicePerimeterConfig.IngressPolicy.Builder> getIngressPoliciesBuilderList()
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<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<IngressPolicy> |
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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.IngressPolicyOrBuilder |
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> |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the resources. |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the restrictedServices. |
getVpcAccessibleServices()
public ServicePerimeterConfig.VpcAccessibleServices getVpcAccessibleServices()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.VpcAccessibleServices | The vpcAccessibleServices. |
getVpcAccessibleServicesBuilder()
public ServicePerimeterConfig.VpcAccessibleServices.Builder getVpcAccessibleServicesBuilder()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.VpcAccessibleServices.Builder |
getVpcAccessibleServicesOrBuilder()
public ServicePerimeterConfig.VpcAccessibleServicesOrBuilder getVpcAccessibleServicesOrBuilder()
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.VpcAccessibleServicesOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ServicePerimeterConfig other)
public ServicePerimeterConfig.Builder mergeFrom(ServicePerimeterConfig other)
Parameter | |
---|---|
Name | Description |
other | ServicePerimeterConfig |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServicePerimeterConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
mergeVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)
public ServicePerimeterConfig.Builder mergeVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Parameter | |
---|---|
Name | Description |
value | ServicePerimeterConfig.VpcAccessibleServices |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
removeEgressPolicies(int index)
public ServicePerimeterConfig.Builder removeEgressPolicies(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
removeIngressPolicies(int index)
public ServicePerimeterConfig.Builder removeIngressPolicies(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 |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setAccessLevels(int index, String value)
public ServicePerimeterConfig.Builder setAccessLevels(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The accessLevels to set. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)
public ServicePerimeterConfig.Builder setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServicePerimeterConfig.EgressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServicePerimeterConfig.EgressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)
public ServicePerimeterConfig.Builder setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServicePerimeterConfig.IngressPolicy |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
public ServicePerimeterConfig.Builder setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServicePerimeterConfig.IngressPolicy.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setResources(int index, String value)
public ServicePerimeterConfig.Builder setResources(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The resources to set. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
setRestrictedServices(int index, String value)
public ServicePerimeterConfig.Builder setRestrictedServices(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The restrictedServices to set. |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)
public ServicePerimeterConfig.Builder setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Parameter | |
---|---|
Name | Description |
value | ServicePerimeterConfig.VpcAccessibleServices |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |
setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices.Builder builderForValue)
public ServicePerimeterConfig.Builder setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices.Builder builderForValue)
Configuration for APIs allowed within Perimeter.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | ServicePerimeterConfig.VpcAccessibleServices.Builder |
Returns | |
---|---|
Type | Description |
ServicePerimeterConfig.Builder |