services
Creates, updates, deletes, gets or lists a services
resource.
Overview
Name | services |
Type | Resource |
Id | google.serviceusage.services |
Fields
Name | Datatype | Description |
---|---|---|
services | array | The requested Service states. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
batch_get | SELECT | parent, parentType | Returns the service configurations and enabled states for a given list of services. |
get | SELECT | name | Returns the service configuration and enabled state for a given service. |
batch_enable | EXEC | parent, parentType | Enable multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. To enable a single service, use the EnableService method instead. |
disable | EXEC | name | Disable a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a FAILED_PRECONDITION status if the target service is not currently enabled. |
SELECT
examples
Returns the service configuration and enabled state for a given service.
SELECT
services
FROM google.serviceusage.services
WHERE name = '{{ name }}';