# Class Service (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.5 1.9.0 1.7.2 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.1 0.2.2 0.1.0

    Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A service that is available for use by the consumer.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com |
| `parent` | `str` The resource name of the consumer. A valid name would be: - projects/123 |
| `config` | `https://docs.cloud.google.com/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ServiceConfig` The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.State` Whether or not the service has been enabled for use by the consumer. |