- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
Project ID for this request. |
previewFeature |
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": { "description": string, "releaseStatus": { "stage": enum, "updateDate": { "year": integer, "month": integer, "day": integer } } }, "selfLink": string, "rolloutOperation": { "rolloutInput": { "retryUuid": string, // Union field |
Fields | |
---|---|
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
name |
Name of the feature. |
description |
[Output Only] Description of the feature. |
activationStatus |
Specifies whether the feature is enabled or disabled. |
status |
[Output only] Status of the feature. |
status.description |
[Output Only] The description of the feature. |
status.releaseStatus |
|
status.releaseStatus.stage |
[Output Only] The stage of the feature. |
status.releaseStatus.updateDate |
Output only. The last date when a feature transitioned between ReleaseStatuses. |
status.releaseStatus.updateDate.year |
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
status.releaseStatus.updateDate.month |
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 |
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. |
selfLink |
[Output Only] Server-defined URL for the resource. |
rolloutOperation |
Rollout operation of the feature. |
rolloutOperation.rolloutInput |
|
rolloutOperation.rolloutInput.name |
The name of the rollout plan Ex. organizations/ |
rolloutOperation.rolloutInput.predefinedRolloutPlan |
Predefined rollout plan. |
rolloutOperation.rolloutInput.retryUuid |
The UUID of the retry action. Only needed if this is a retry for an existing rollout. This can be used after the user canceled a rollout and want to retry it with no changes. |
rolloutOperation.rolloutStatus |
|
rolloutOperation.rolloutStatus.ongoingRollouts[] |
Output only. The ongoing rollout resources. There can be multiple ongoing rollouts for a resource. |
rolloutOperation.rolloutStatus.ongoingRollouts[].rollout |
The name of the rollout Ex. organizations/ |
rolloutOperation.rolloutStatus.ongoingRollouts[].rolloutPlan |
The name of the rollout plan Ex. organizations/ |
rolloutOperation.rolloutStatus.ongoingRollouts[].status |
The status of the rollout. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.description |
[Output Only] The description of the feature. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus |
|
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus.stage |
[Output Only] The stage of the feature. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus.updateDate |
Output only. The last date when a feature transitioned between ReleaseStatuses. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus.updateDate.year |
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus.updateDate.month |
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. |
rolloutOperation.rolloutStatus.ongoingRollouts[].status.releaseStatus.updateDate.day |
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.rolloutStatus.previousRollout |
Output only. The last completed rollout resource. This field will not be populated until the first rollout is completed. |
rolloutOperation.rolloutStatus.previousRollout.rollout |
The name of the rollout Ex. organizations/ |
rolloutOperation.rolloutStatus.previousRollout.rolloutPlan |
The name of the rollout plan Ex. organizations/ |
rolloutOperation.rolloutStatus.previousRollout.status |
The status of the rollout. |
rolloutOperation.rolloutStatus.previousRollout.status.description |
[Output Only] The description of the feature. |
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus |
|
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus.stage |
[Output Only] The stage of the feature. |
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus.updateDate |
Output only. The last date when a feature transitioned between ReleaseStatuses. |
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus.updateDate.year |
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus.updateDate.month |
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. |
rolloutOperation.rolloutStatus.previousRollout.status.releaseStatus.updateDate.day |
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. |
kind |
[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.