public static final class ServicePerimeterConfig.VpcAccessibleServices.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.VpcAccessibleServices.Builder> implements ServicePerimeterConfig.VpcAccessibleServicesOrBuilder
Specifies how APIs are allowed to communicate within the Service
Perimeter.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAllowedServices(Iterable<String> values)
public ServicePerimeterConfig.VpcAccessibleServices.Builder addAllAllowedServices(Iterable<String> values)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameter |
---|
Name | Description |
values | Iterable<String>
The allowedServices to add.
|
addAllowedServices(String value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder addAllowedServices(String value)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameter |
---|
Name | Description |
value | String
The allowedServices to add.
|
addAllowedServicesBytes(ByteString value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder addAllowedServicesBytes(ByteString value)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the allowedServices to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServicePerimeterConfig.VpcAccessibleServices build()
buildPartial()
public ServicePerimeterConfig.VpcAccessibleServices buildPartial()
clear()
public ServicePerimeterConfig.VpcAccessibleServices.Builder clear()
Overrides
clearAllowedServices()
public ServicePerimeterConfig.VpcAccessibleServices.Builder clearAllowedServices()
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
clearEnableRestriction()
public ServicePerimeterConfig.VpcAccessibleServices.Builder clearEnableRestriction()
Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
bool enable_restriction = 1;
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.VpcAccessibleServices.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.VpcAccessibleServices.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ServicePerimeterConfig.VpcAccessibleServices.Builder clone()
Overrides
getAllowedServices(int index)
public String getAllowedServices(int index)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The allowedServices at the given index.
|
getAllowedServicesBytes(int index)
public ByteString getAllowedServicesBytes(int index)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the allowedServices at the given index.
|
getAllowedServicesCount()
public int getAllowedServicesCount()
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Returns |
---|
Type | Description |
int | The count of allowedServices.
|
getAllowedServicesList()
public ProtocolStringList getAllowedServicesList()
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
getDefaultInstanceForType()
public ServicePerimeterConfig.VpcAccessibleServices getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableRestriction()
public boolean getEnableRestriction()
Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
bool enable_restriction = 1;
Returns |
---|
Type | Description |
boolean | The enableRestriction.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServicePerimeterConfig.VpcAccessibleServices other)
public ServicePerimeterConfig.VpcAccessibleServices.Builder mergeFrom(ServicePerimeterConfig.VpcAccessibleServices other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.VpcAccessibleServices.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServicePerimeterConfig.VpcAccessibleServices.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.VpcAccessibleServices.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllowedServices(int index, String value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder setAllowedServices(int index, String value)
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
repeated string allowed_services = 2;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The allowedServices to set.
|
setEnableRestriction(boolean value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder setEnableRestriction(boolean value)
Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
bool enable_restriction = 1;
Parameter |
---|
Name | Description |
value | boolean
The enableRestriction to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.VpcAccessibleServices.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.VpcAccessibleServices.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides