Method: imageFamilyViews.get

Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/zones/{zone}/imageFamilyViews/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

zone

string

The name of the zone for this request.

resourceId

string

Name of the image family to search for.

Request body

The request body must be empty.

Response body

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

JSON representation
{
  "image": {
    "id": string,
    "creationTimestamp": string,
    "name": string,
    "description": string,
    "sourceType": enum,
    "rawDisk": {
      "source": string,
      "sha1Checksum": string,
      "containerType": enum
    },
    "deprecated": {
      "state": enum,
      "replacement": string,
      "deprecated": string,
      "obsolete": string,
      "deleted": string,
      "stateOverride": {
        "locationRolloutPolicies": {
          string: string,
          ...
        },
        "defaultRolloutTime": string
      }
    },
    "status": enum,
    "archiveSizeBytes": string,
    "diskSizeGb": string,
    "sourceDisk": string,
    "sourceDiskId": string,
    "licenses": [
      string
    ],
    "family": string,
    "imageEncryptionKey": {
      "sha256": string,
      "kmsKeyServiceAccount": string,

      
      "rawKey": string,
      "rsaEncryptedKey": string,
      "kmsKeyName": string
      
    },
    "sourceDiskEncryptionKey": {
      "sha256": string,
      "kmsKeyServiceAccount": string,

      
      "rawKey": string,
      "rsaEncryptedKey": string,
      "kmsKeyName": string
      
    },
    "selfLink": string,
    "labels": {
      string: string,
      ...
    },
    "labelFingerprint": string,
    "guestOsFeatures": [
      {
        "type": enum
      }
    ],
    "licenseCodes": [
      string
    ],
    "sourceImage": string,
    "sourceImageId": string,
    "sourceImageEncryptionKey": {
      "sha256": string,
      "kmsKeyServiceAccount": string,

      
      "rawKey": string,
      "rsaEncryptedKey": string,
      "kmsKeyName": string
      
    },
    "sourceSnapshot": string,
    "sourceSnapshotId": string,
    "sourceSnapshotEncryptionKey": {
      "sha256": string,
      "kmsKeyServiceAccount": string,

      
      "rawKey": string,
      "rsaEncryptedKey": string,
      "kmsKeyName":