Method: previewFeatures.get

Returns the details of the given PreviewFeature.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/global/previewFeatures/{previewFeature}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

previewFeature

string

Name of the PreviewFeature for this request.

Request body

The request body must be empty.

Response body

Represents a single Google Compute Engine preview feature.

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

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "activationStatus": enum,
  "status": {
    "helpLink": string,
    "description": string,
    "releaseStatus": {
      "stage": enum,
      "updateDate": {
        "year": integer,
        "month": integer,
        "day": integer
      }
    }
  },
  "selfLink": string,
  "rolloutOperation": {
    "rolloutInput": {

      // Union field rollout_plan can be only one of the following:
      "name": string,
      "predefinedRolloutPlan": enum
      // End of list of possible types for union field rollout_plan.
    }
  },
  "kind": string
}
Fields
id

string (uint64 format)

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

name

string

Name of the feature.

description

string

[Output Only] Description of the feature.

activationStatus

enum

Specifies whether the feature is enabled or disabled.

status

object

[Output only] Status of the feature.

status.helpLink

string

[Output Only] Link to the public documentation for the feature.

status.description

string

[Output Only] The description of the feature.

status.releaseStatus

object

status.releaseStatus.stage

enum

[Output Only] The stage of the feature.

status.releaseStatus.updateDate

object

Output only. The last date when a feature transitioned between ReleaseStatuses.

status.releaseStatus.updateDate.year

integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

status.releaseStatus.updateDate.month

integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

status.releaseStatus.updateDate.day

integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

rolloutOperation

object

Rollout operation of the feature.

rolloutOperation.rolloutInput

object

Input only. The input for the rollout operation.

rolloutOperation.rolloutInput.name

string

The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.

rolloutOperation.rolloutInput.predefinedRolloutPlan

enum

Predefined rollout plan.

kind

string

[Output only] The type of the feature. Always "compute#previewFeature" for preview features.

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.previewFeatures.get

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