- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- Tier
- Details
- Type
- Try it!
Get the Subscription resource.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the subscription to retrieve. Format: organizations/{organization}/subscription |
Request body
The request body must be empty.
Response body
Resource capturing the state of an organization's subscription.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "name": string, "tier": enum ( |
Fields | |
---|---|
name |
The resource name of the subscription. Format: organizations/{organization}/subscription |
tier |
The tier of SCC features this organization currently has access to. |
details |
The details of the most recent active subscription. If there has never been a subscription this will be empty. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Tier
Possible tiers of a subscription.
Enums | |
---|---|
TIER_UNSPECIFIED |
Default value. This value is unused. |
STANDARD |
The standard tier. |
PREMIUM |
The premium tier. |
ENTERPRISE |
The enterprise tier. |
ENTERPRISE_MC |
The enterprise MC tier. |
Details
Details of a subscription.
JSON representation |
---|
{
"startTime": string,
"endTime": string,
"type": enum ( |
Fields | |
---|---|
start |
The time the subscription has or will start. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
The time the subscription has or will end. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
type |
The type of subscription |
Type
Possible types of a subscription.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Default value. This value is unused. |
STANDARD |
The standard subscription. |
TRIAL |
The trial subscription. |
ALPHA |
The alpha subscription. |
DEMO |
The demo subscription for channel partners. |
PAY_AS_YOU_GO |
Pay-as-you-go subscription. |