- 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" : { "helpLink" : string , "description" : string , "releaseStatus" : { "stage" : enum , "updateDate" : { "year" : integer , "month" : integer , "day" : integer } } } , "selfLink" : string , "rolloutOperation" : { "rolloutInput" : { // 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.helpLink
|
[Output Only] Link to the public documentation for 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
|
Input only. The input for the rollout operation. |
rolloutOperation.rolloutInput.name
|
The name of the rollout plan Ex. organizations/ |
rolloutOperation.rolloutInput.predefinedRolloutPlan
|
Predefined rollout plan. |
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 .