A service that is available for use by the consumer.
JSON representation | |
---|---|
{ "name": string, "parent": string, "config": { object( |
Fields | |
---|---|
name |
The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com |
parent |
The resource name of the consumer. A valid name would be: - projects/123 |
config |
The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the |
state |
Whether or not the service has been enabled for use by the consumer. |
ServiceConfig
The configuration of the service.
JSON representation | |
---|---|
{ "name": string, "title": string, "apis": [ { object( |
Fields | |
---|---|
name |
The DNS address at which this service is available. An example DNS address would be: |
title |
The product title for this service. |
apis[] |
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces. |
documentation |
Additional API documentation. Contains only the summary and the documentation URL. |
quota |
Quota configuration. |
authentication |
Auth configuration. Contains only the OAuth rules. |
usage |
Configuration controlling usage of this service. |
endpoints[] |
Configuration for network endpoints. Contains only the names and aliases of the endpoints. |
State
Whether or not a service has been enabled for use by a consumer.
Enums | |
---|---|
STATE_UNSPECIFIED |
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. |
DISABLED |
The service cannot be used by this consumer. It has either been explicitly disabled, or has never been enabled. |
ENABLED |
The service has been explicitly enabled for use by this consumer. |