Method: instantSnapshotGroups.get

returns the specified InstantSnapshotGroup resource in the specified zone.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}

The URL uses gRPC Transcoding syntax. To know more about valid error responses that can be thrown by this HTTP request, please refer to the service error catalog

Path parameters

Parameters
project

string

Project ID for this request.

zone

string

The name of the zone for this request.

instantSnapshotGroup

string

Name of the InstantSnapshotGroup resource to return.

Request body

The request body must be empty.

Response body

Represents an InstantSnapshotGroup resource.

An instant snapshot group is a set of instant snapshots that represents a point in time state of a consistency group.

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "name": string,
  "description": string,
  "id": string,
  "status": enum,
  "resourceStatus": {
    "consistencyMembershipResolutionTime": string,
    "sourceInfo": {
      "consistencyGroup": string,
      "consistencyGroupId": string
    }
  },
  "creationTimestamp": string,
  "zone": string,
  "region": string,
  "selfLink": string,
  "selfLinkWithId": string,
  "sourceConsistencyGroup": string
}
Fields
kind

string

Output only. Type of the resource. Always compute#instantSnapshotGroup for InstantSnapshotGroup resources.

name

string

Identifier. Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

description

string

Optional. An optional description of this resource. Provide this property when you create the resource.

id

string (uint64 format)

Output only. The unique identifier for the resource. This identifier is defined by the server.

status

enum

Output only.

resourceStatus

object

resourceStatus.consistencyMembershipResolutionTime

string (Timestamp format)

Output only.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

resourceStatus.sourceInfo

object

Output only.

resourceStatus.sourceInfo.consistencyGroup

string

resourceStatus.sourceInfo.consistencyGroupId

string

creationTimestamp

string

Output only. Creation timestamp in RFC3339 text format.

zone

string

Output only. URL of the zone where the instant snapshot group resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

region

string

Output only. URL of the region where the instant snapshot group resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

sourceConsistencyGroup

string

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/compute.readonly
  • https://www.googleapis.com/auth/compute
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:

  • compute.instantSnapshotGroups.get

To find predefined roles that contain those permissions, see Compute Engine IAM Roles.