# REST Resource: projects.locations.sites

- [Resource: Site](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites#Site)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites#Site.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites#METHODS_SUMMARY)

## Resource: Site

A physical site where hardware will be installed.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "organizationContact": { object (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/OrganizationContact`) }, "googleMapsPinUri": string, "accessTimes": [ { object (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/TimePeriod`) } ], "notes": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Name of the site. Format: `projects/{project}/locations/{location}/sites/{site}` |
| `displayName` | `string` Optional. Display name of this Site. |
| `description` | `string` Optional. Description of this Site. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. Time when this site 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. Time when this site was last 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 associated with this site as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `organizationContact` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/OrganizationContact`)`` Required. Contact information for this site. |
| `googleMapsPinUri` | `string` Required. A URL to the Google Maps address location of the site. An example value is `https://goo.gl/maps/xxxxxxxxx`. |
| `accessTimes[]` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/TimePeriod`)`` Optional. The time periods when the site is accessible. If this field is empty, the site is accessible at all times. |
| `notes` | `string` Optional. Any additional notes for this Site. Please include information about: - security or access restrictions - any regulations affecting the technicians visiting the site - any special process or approval required to move the equipment - whether a representative will be available during site visits |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites/create` | Creates a new site in a given project and location. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites/get` | Gets details of a site. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites/list` | Lists sites in a given project and location. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.sites/patch` | Updates the parameters of a site. |