# REST Resource: projects.locations.reusableConfigs

- [Resource: ReusableConfig](https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig)
  - [JSON representation](https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#METHODS_SUMMARY)

## Resource: ReusableConfig

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig` refers to a managed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/ReusableConfigValues`. Those, in turn, are used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

| JSON representation ||
|---|---|
| ``` { "name": string, "values": { object (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/ReusableConfigValues`) }, "description": string, "createTime": string, "updateTime": string, "labels": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource path for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig` in the format `projects/*/locations/*/reusableConfigs/*`. |
| `values` | ``object (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/ReusableConfigValues`)`` Required. The config values. |
| `description` | `string` Optional. A human-readable description of scenarios these ReusableConfigValues may be compatible with. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig` was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `updateTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig` was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `labels` | `map (key: string, value: string)` Optional. Labels with user-defined metadata. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs/get` | Returns a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig`. |
| ### `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs/getIamPolicy` | Gets the access control policy for a resource. |
| ### `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs/list` | Lists `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs#ReusableConfig`. |
| ### `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs/setIamPolicy` | Sets the access control policy on the specified resource. |
| ### `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.reusableConfigs/testIamPermissions` | Returns permissions that a caller has on the specified resource. |