- 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 | |
|---|---|
startTime |
The time the subscription has or will start. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
The time the subscription has or will end. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |