- Resource: CapacityPlan
- DemandMetadata
- DemandPreference
- Value
- ServiceDemand
- ResourceDemand
- ResourceContainer
- Type
- ResourceIdentifier
- ResourceAttribute
- ResourceValue
- Unit
- LocationIdentifier
- LocationLevel
- LinkedLocation
- State
- User
- DemandValues
- DemandValue
- TimeValue
- ChildResourceDemand
- Methods
Resource: CapacityPlan
A plan for additional capacity needed by a Google Cloud Platform project. This is synonymous with CapacityDemand, CapacityRequest, and CapacityDemandRequest.
JSON representation |
---|
{ "name" : string , "capacityDemandMetadata" : { object ( |
Fields | |
---|---|
name
|
Identifier. The name of the capacity plan. Format: projects/{project}/capacityPlans/{capacityPlanId} |
capacityDemandMetadata
|
Optional. The metadata associated with a capacity demand. |
serviceDemands[]
|
Required. The capacity demand associated with a service. |
reporter
|
Output only. User who created the capacity plan. |
state
|
Output only. State of the plan. |
createTime
|
Output only. Timestamp when the plan was created. 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: |
updateTime
|
Output only. Timestamp when the plan was last updated. 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: |
description
|
Optional. Description of the plan. |
title
|
Optional. Title of the plan. |
DemandMetadata
The metadata associated with a capacity demand.
JSON representation |
---|
{
"demandPreferences"
:
[
{
object (
|
Fields | |
---|---|
demandPreferences[]
|
Optional. The preferences associated with a capacity demand. |
DemandPreference
Preference associated with a request, such as flexibility with alternate resource type.
JSON representation |
---|
{
"preferenceId"
:
string
,
"value"
:
{
object (
|
Fields | |
---|---|
preferenceId
|
Output only. The preference id. |
value
|
Required. The value of demand preference. |
Value
JSON representation |
---|
{ // Union field |
Union field value
.
value
can be only one of the following:
int64Value
string ( int64
format)
stringValue
string
doubleValue
number
boolValue
boolean
ServiceDemand
Capacity demand for a service.
JSON representation |
---|
{ "service" : string , "demandMetadata" : { object ( |
Fields | |
---|---|
service
|
Required. Name of the service. |
demandMetadata
|
Optional. The metadata associated with a service demand. |
resourceDemands[]
|
Required. The demand associated with the resources. |
ResourceDemand
Capacity demand for a resource.
JSON representation |
---|
{ "id" : string , "resourceContainer" : { object ( |
Fields | |
---|---|
id
|
Output only. Identifier of resource demand. |
resourceContainer
|
Required. The resource container associated with the demand. |
resourceId
|
Required. Identifier of resource. |
locationId
|
Required. Identifier of location. |
state
|
Output only. State of the resource demand. |
reporter
|
Output only. User who reported the demand. |
createTime
|
Output only. Timestamp when the demand was created. 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: |
updateTime
|
Output only. Timestamp when the demand was last updated. 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: |
demandValues
|
Required. The demand values associated with the resource. |
demandMetadata
|
Optional. The metadata associated with the demand. |
childResourceDemands[]
|
Optional. The child resource demands associated with the resource. |
ResourceContainer
The resource container of Google Cloud Platform hierarchy such as a project.
JSON representation |
---|
{
"type"
:
enum (
|
Fields | |
---|---|
type
|
|
id
|
Required. Identifier of the resource container. For example, project number for project type. |
Type
Enums | |
---|---|
TYPE_UNSPECIFIED
|
|
PROJECT
|
|
FOLDER
|
|
ORG
|
ResourceIdentifier
The identifier for a Google Cloud Platform resource.
JSON representation |
---|
{
"serviceName"
:
string
,
"resourceName"
:
string
,
"resourceAttributes"
:
[
{
object (
|
Fields | |
---|---|
serviceName
|
|
resourceName
|
|
resourceAttributes[]
|
|
ResourceAttribute
An attribute of a Google Cloud Platform resource.
JSON representation |
---|
{
"key"
:
string
,
"value"
:
{
object (
|
Fields | |
---|---|
key
|
|
value
|
|
ResourceValue
JSON representation |
---|
{ "unit" : enum ( |
Fields | |
---|---|
unit
|
|
value
|
|
Unit
Enums | |
---|---|
UNIT_UNSPECIFIED
|
|
UNIT_COUNT
|
|
KB
|
Kilobytes (10^3 bytes) |
GB
|
Gigabytes (10^9 bytes) |
TB
|
Terabytes (10^12 bytes) |
MIB
|
Mebibytes (2^20 bytes) |
GIB
|
Gibibytes (2^30 bytes) |
TIB
|
Tebibytes (2^40 bytes) |
QPS
|
Queries per second |
MB
|
Megabytes (10^6 bytes) |
PIB
|
Pebibytes (2^50 bytes) |
TBPS
|
Terabits (10^12 bits) per second |
GBPS_BITS
|
|
GIB_BITS
|
|
MBPS_BITS
|
|
MBPS_BYTES
|
|
TBPS_BITS
|
|
TBPS_BYTES
|
|
KOPS
|
LocationIdentifier
Identifier for a Google Cloud Platform location.
JSON representation |
---|
{ "locationLevel" : enum ( |
Fields | |
---|---|
locationLevel
|
The location level such as a region. |
source
|
Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source. |
linkedLocations[]
|
Optional. Other linked locations. |
LocationLevel
The level of the Google Cloud Platform location.
Enums | |
---|---|
LOCATION_LEVEL_UNSPECIFIED
|
Location level is unspecified. |
REGION
|
Cloud region. |
ZONE
|
Cloud zone. |
GLOBAL
|
Globally. |
METRO
|
A metro. |
DUAL_REGION
|
Dual region pair. |
MULTI_REGION
|
Multiple regions. |
LinkedLocation
JSON representation |
---|
{
"locationLevel"
:
enum (
|
Fields | |
---|---|
locationLevel
|
The location level such as a region. |
location
|
Required. The linked cloud location. |
label
|
|
State
The state of a capacity demand.
Enums | |
---|---|
STATE_UNSPECIFIED
|
The state is unspecified. |
PENDING_REVIEW
|
The demand is pending review. |
IN_REVIEW
|
The demand is in review. |
APPROVED_PROVISIONAL
|
The demand is provisionally approved. |
OBSOLETE
|
The demand is obsolete. |
CANNOT_BE_FULFILLED
|
The demand cannot be fulfilled. |
ON_HOLD_CONTACT_SALES
|
The demand is on hold, contact sales. |
IN_FULFILLMENT
|
The demand is in fulfillment. |
User
A user who created or updated a capacity demand.
JSON representation |
---|
{ "email" : string } |
Fields | |
---|---|
email
|
Required. Email of the user. |
DemandValues
The capacity demand values for a resource.
JSON representation |
---|
{
"values"
:
[
{
object (
|
Fields | |
---|---|
values[]
|
Required. The demand values. |
DemandValue
Capacity demand value for a single resource attribute such as CPU count, vertex AI peak QPM, etc.
JSON representation |
---|
{ "name" : string , "timeValues" : [ { object ( |
Fields | |
---|---|
name
|
Required. The name of the demand value such as CPU count. |
timeValues[]
|
Required. The demand values at different time points. |
unit
|
Required. Unit of measurement. |
TimeValue
Capacity demand value for a single time point.
JSON representation |
---|
{ "time" : string , "value" : number } |
Fields | |
---|---|
time
|
Required. The time point. If this demand value is non-temporal, set time to -1. 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: |
value
|
Required. The demand value at the time point. |
ChildResourceDemand
Capacity demand for a child resource such as shapes.
JSON representation |
---|
{ "resourceId" : { object ( |
Fields | |
---|---|
resourceId
|
Required. Identifier of resource. |
demandValues
|
Required. The demand values associated with the child resource. |
demandMetadata
|
Optional. The metadata associated with the child resource demand. |
Methods |
|
---|---|
|
Returns information about the capacity plan. |
|
Returns a list of the capacity plans that are in the parent parameter and match your specified filters. |