Reference documentation and code samples for the Google Cloud Service Control V1 Client class ConsumerType.
The type of the consumer as defined in Google Resource Manager.
Protobuf type google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType
Namespace
Google \ Cloud \ ServiceControl \ V1 \ CheckResponse \ ConsumerInfoMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
CONSUMER_TYPE_UNSPECIFIED
Value: 0
This is never used.
Generated from protobuf enum CONSUMER_TYPE_UNSPECIFIED = 0;
PROJECT
Value: 1
The consumer is a Google Cloud Project.
Generated from protobuf enum PROJECT = 1;
FOLDER
Value: 2
The consumer is a Google Cloud Folder.
Generated from protobuf enum FOLDER = 2;
ORGANIZATION
Value: 3
The consumer is a Google Cloud Organization.
Generated from protobuf enum ORGANIZATION = 3;
SERVICE_SPECIFIC
Value: 4
Service-specific resource container which is defined by the service producer to offer their users the ability to manage service control functionalities at a finer level of granularity than the PROJECT.
Generated from protobuf enum SERVICE_SPECIFIC = 4;