public static final class ServicePerimeterConfig.VpcAccessibleServices extends GeneratedMessageV3 implements ServicePerimeterConfig.VpcAccessibleServicesOrBuilder
Specifies how APIs are allowed to communicate within the Service
Perimeter.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices
Static Fields
ALLOWED_SERVICES_FIELD_NUMBER
public static final int ALLOWED_SERVICES_FIELD_NUMBER
Field Value
ENABLE_RESTRICTION_FIELD_NUMBER
public static final int ENABLE_RESTRICTION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ServicePerimeterConfig.VpcAccessibleServices getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ServicePerimeterConfig.VpcAccessibleServices.Builder newBuilder()
Returns
newBuilder(ServicePerimeterConfig.VpcAccessibleServices prototype)
public static ServicePerimeterConfig.VpcAccessibleServices.Builder newBuilder(ServicePerimeterConfig.VpcAccessibleServices prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ServicePerimeterConfig.VpcAccessibleServices parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.VpcAccessibleServices parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ServicePerimeterConfig.VpcAccessibleServices> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
getDefaultInstanceForType()
public ServicePerimeterConfig.VpcAccessibleServices getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ServicePerimeterConfig.VpcAccessibleServices> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ServicePerimeterConfig.VpcAccessibleServices.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServicePerimeterConfig.VpcAccessibleServices.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ServicePerimeterConfig.VpcAccessibleServices.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions