public static final class ServicePerimeterConfig.ApiOperation extends GeneratedMessageV3 implements ServicePerimeterConfig.ApiOperationOrBuilder
Identification for an API Operation.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation
Static Fields
METHOD_SELECTORS_FIELD_NUMBER
public static final int METHOD_SELECTORS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ServicePerimeterConfig.ApiOperation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServicePerimeterConfig.ApiOperation.Builder newBuilder()
newBuilder(ServicePerimeterConfig.ApiOperation prototype)
public static ServicePerimeterConfig.ApiOperation.Builder newBuilder(ServicePerimeterConfig.ApiOperation prototype)
parseDelimitedFrom(InputStream input)
public static ServicePerimeterConfig.ApiOperation parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServicePerimeterConfig.ApiOperation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServicePerimeterConfig.ApiOperation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ServicePerimeterConfig.ApiOperation parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ServicePerimeterConfig.ApiOperation parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServicePerimeterConfig.ApiOperation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.ApiOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServicePerimeterConfig.ApiOperation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.ApiOperation getDefaultInstanceForType()
getMethodSelectors(int index)
public ServicePerimeterConfig.MethodSelector getMethodSelectors(int index)
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;
Parameter |
---|
Name | Description |
index | int
|
getMethodSelectorsCount()
public int getMethodSelectorsCount()
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;
Returns |
---|
Type | Description |
int | |
getMethodSelectorsList()
public List<ServicePerimeterConfig.MethodSelector> getMethodSelectorsList()
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;
getMethodSelectorsOrBuilder(int index)
public ServicePerimeterConfig.MethodSelectorOrBuilder getMethodSelectorsOrBuilder(int index)
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;
Parameter |
---|
Name | Description |
index | int
|
getMethodSelectorsOrBuilderList()
public List<? extends ServicePerimeterConfig.MethodSelectorOrBuilder> getMethodSelectorsOrBuilderList()
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;
Returns |
---|
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelectorOrBuilder> | |
getParserForType()
public Parser<ServicePerimeterConfig.ApiOperation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getServiceName()
public String getServiceName()
The name of the API whose methods or permissions the [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
or [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
want to allow. A single [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
with service_name
field set to *
will allow all methods AND
permissions for all services.
string service_name = 1;
Returns |
---|
Type | Description |
String | The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
The name of the API whose methods or permissions the [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
or [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
want to allow. A single [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
with service_name
field set to *
will allow all methods AND
permissions for all services.
string service_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for serviceName.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServicePerimeterConfig.ApiOperation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServicePerimeterConfig.ApiOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServicePerimeterConfig.ApiOperation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides