Resource: Service
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: - |
parent |
The resource name of the consumer. A valid name would be: - |
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. |
monitoredResources[] |
Defines the monitored resources used by this service. This is required by the |
monitoring |
Monitoring configuration. This should not include the 'producerDestinations' field. |
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. |
Methods |
|
---|---|
(deprecated) |
Enables multiple services on a project. |
(deprecated) |
Disables a service so that it can no longer be used with a project. |
(deprecated) |
Enables a service so that it can be used with a project. |
|
Generates service identity for service. |
(deprecated) |
Returns the service configuration and enabled state for a given service. |
(deprecated) |
Lists all services available to the specified project, and the current state of those services with respect to the project. |