# Google Cloud Service Control V1 Client - Class ConsumerType (2.2.0)

2.2.0 (latest) 2.1.1 2.0.4 1.4.4 1.3.0 1.2.1 1.1.1 1.0.6 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](https://cloud.google.com/resource-manager/).

Protobuf type `google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType`

## Namespace

Google \\ Cloud \\ ServiceControl \\ V1 \\ CheckResponse \\ ConsumerInfo

## Methods

### 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;`