Google Cloud Service Usage V1 Client - Class State (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Service Usage V1 Client class State.

Whether or not a service has been enabled for use by a consumer.

Protobuf type google.api.serviceusage.v1.State

Namespace

Google \ Cloud \ ServiceUsage \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The default value, which indicates that the enabled state of the service is unspecified or not meaningful. Currently, all consumers other than projects (such as folders and organizations) are always in this state.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

DISABLED

Value: 1

The service cannot be used by this consumer. It has either been explicitly disabled, or has never been enabled.

Generated from protobuf enum DISABLED = 1;

ENABLED

Value: 2

The service has been explicitly enabled for use by this consumer.

Generated from protobuf enum ENABLED = 2;