Creates a new capacity commitment resource.
Auto-naming is currently not supported for this resource.
Create CapacityCommitment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def CapacityCommitment(resource_name: str,
args: Optional[CapacityCommitmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CapacityCommitment(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_commitment_id: Optional[str] = None,
edition: Optional[CapacityCommitmentEdition] = None,
enforce_single_admin_project_per_org: Optional[bool] = None,
location: Optional[str] = None,
multi_region_auxiliary: Optional[bool] = None,
plan: Optional[CapacityCommitmentPlan] = None,
project: Optional[str] = None,
renewal_plan: Optional[CapacityCommitmentRenewalPlan] = None,
slot_count: Optional[str] = None)
type: google-native:bigqueryreservation/v1:CapacityCommitment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_bigqueryreservation_v1_capacity_commitment" "name" {
# resource properties
}
Parameters
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
CapacityCommitmentArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
CapacityCommitmentArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var capacityCommitmentResource = new GoogleNative.BigQueryReservation.V1.CapacityCommitment("capacityCommitmentResource", new()
{
CapacityCommitmentId = "string",
Edition = GoogleNative.BigQueryReservation.V1.CapacityCommitmentEdition.EditionUnspecified,
EnforceSingleAdminProjectPerOrg = false,
Location = "string",
MultiRegionAuxiliary = false,
Plan = GoogleNative.BigQueryReservation.V1.CapacityCommitmentPlan.CommitmentPlanUnspecified,
Project = "string",
RenewalPlan = GoogleNative.BigQueryReservation.V1.CapacityCommitmentRenewalPlan.CommitmentPlanUnspecified,
SlotCount = "string",
});
example, err := bigqueryreservation.NewCapacityCommitment(ctx, "capacityCommitmentResource", &bigqueryreservation.CapacityCommitmentArgs{
CapacityCommitmentId: pulumi.String("string"),
Edition: bigqueryreservation.CapacityCommitmentEditionEditionUnspecified,
EnforceSingleAdminProjectPerOrg: pulumi.Bool(false),
Location: pulumi.String("string"),
MultiRegionAuxiliary: pulumi.Bool(false),
Plan: bigqueryreservation.CapacityCommitmentPlanCommitmentPlanUnspecified,
Project: pulumi.String("string"),
RenewalPlan: bigqueryreservation.CapacityCommitmentRenewalPlanCommitmentPlanUnspecified,
SlotCount: pulumi.String("string"),
})
resource "google-native_bigqueryreservation_v1_capacity_commitment" "capacityCommitmentResource" {
lifecycle {
create_before_destroy = true
}
capacity_commitment_id = "string"
edition = "EDITION_UNSPECIFIED"
enforce_single_admin_project_per_org = false
location = "string"
multi_region_auxiliary = false
plan = "COMMITMENT_PLAN_UNSPECIFIED"
project = "string"
renewal_plan = "COMMITMENT_PLAN_UNSPECIFIED"
slot_count = "string"
}
var capacityCommitmentResource = new com.pulumi.googlenative.bigqueryreservation_v1.CapacityCommitment("capacityCommitmentResource", com.pulumi.googlenative.bigqueryreservation_v1.CapacityCommitmentArgs.builder()
.capacityCommitmentId("string")
.edition(com.pulumi.googlenative.bigqueryreservation_v1.enums.CapacityCommitmentEdition.EditionUnspecified)
.enforceSingleAdminProjectPerOrg(false)
.location("string")
.multiRegionAuxiliary(false)
.plan(com.pulumi.googlenative.bigqueryreservation_v1.enums.CapacityCommitmentPlan.CommitmentPlanUnspecified)
.project("string")
.renewalPlan(com.pulumi.googlenative.bigqueryreservation_v1.enums.CapacityCommitmentRenewalPlan.CommitmentPlanUnspecified)
.slotCount("string")
.build());
capacity_commitment_resource = google_native.bigqueryreservation.v1.CapacityCommitment("capacityCommitmentResource",
capacity_commitment_id="string",
edition=google_native.bigqueryreservation.v1.CapacityCommitmentEdition.EDITION_UNSPECIFIED,
enforce_single_admin_project_per_org=False,
location="string",
multi_region_auxiliary=False,
plan=google_native.bigqueryreservation.v1.CapacityCommitmentPlan.COMMITMENT_PLAN_UNSPECIFIED,
project="string",
renewal_plan=google_native.bigqueryreservation.v1.CapacityCommitmentRenewalPlan.COMMITMENT_PLAN_UNSPECIFIED,
slot_count="string")
const capacityCommitmentResource = new google_native.bigqueryreservation.v1.CapacityCommitment("capacityCommitmentResource", {
capacityCommitmentId: "string",
edition: google_native.bigqueryreservation.v1.CapacityCommitmentEdition.EditionUnspecified,
enforceSingleAdminProjectPerOrg: false,
location: "string",
multiRegionAuxiliary: false,
plan: google_native.bigqueryreservation.v1.CapacityCommitmentPlan.CommitmentPlanUnspecified,
project: "string",
renewalPlan: google_native.bigqueryreservation.v1.CapacityCommitmentRenewalPlan.CommitmentPlanUnspecified,
slotCount: "string",
});
type: google-native:bigqueryreservation/v1:CapacityCommitment
properties:
capacityCommitmentId: string
edition: EDITION_UNSPECIFIED
enforceSingleAdminProjectPerOrg: false
location: string
multiRegionAuxiliary: false
plan: COMMITMENT_PLAN_UNSPECIFIED
project: string
renewalPlan: COMMITMENT_PLAN_UNSPECIFIED
slotCount: string
CapacityCommitment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CapacityCommitment resource accepts the following input properties:
- CapacityCommitmentId
string
- The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- Edition
CapacityCommitmentEdition
- Edition of the capacity commitment.
- EnforceSingleAdminProjectPerOrg
bool
- If true, fail the request if another project in the organization has a capacity commitment.
- Location
string
- MultiRegionAuxiliary
bool
- Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- Plan
CapacityCommitmentPlan
- Capacity commitment commitment plan.
- Project
string
- RenewalPlan
CapacityCommitmentRenewalPlan
- The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- SlotCount
string
- Number of slots in this commitment.
- capacityCommitmentId
String
- The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
CapacityCommitmentEdition
- Edition of the capacity commitment.
- enforceSingleAdminProjectPerOrg
Boolean
- If true, fail the request if another project in the organization has a capacity commitment.
- location
String
- multiRegionAuxiliary
Boolean
- Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
CapacityCommitmentPlan
- Capacity commitment commitment plan.
- project
String
- renewalPlan
CapacityCommitmentRenewalPlan
- The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slotCount
String
- Number of slots in this commitment.
- capacityCommitmentId
string
- The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
CapacityCommitmentEdition
- Edition of the capacity commitment.
- enforceSingleAdminProjectPerOrg
boolean
- If true, fail the request if another project in the organization has a capacity commitment.
- location
string
- multiRegionAuxiliary
boolean
- Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
CapacityCommitmentPlan
- Capacity commitment commitment plan.
- project
string
- renewalPlan
CapacityCommitmentRenewalPlan
- The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slotCount
string
- Number of slots in this commitment.
- capacity_commitment_id
str
- The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
CapacityCommitmentEdition
- Edition of the capacity commitment.
- enforce_single_admin_project_per_org
bool
- If true, fail the request if another project in the organization has a capacity commitment.
- location
str
- multi_region_auxiliary
bool
- Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
CapacityCommitmentPlan
- Capacity commitment commitment plan.
- project
str
- renewal_plan
CapacityCommitmentRenewalPlan
- The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slot_count
str
- Number of slots in this commitment.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityCommitment resource produces the following output properties:
- CommitmentEndTime
string
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- CommitmentStartTime
string
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- FailureStatus
Pulumi.GoogleNative.BigQueryReservation.V1.Outputs.StatusResponse
- For FAILED commitment plan, provides the reason of failure.
- Id
string
- The provider-assigned unique ID for this managed resource.
- IsFlatRate
bool
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- Name
string
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - State
string
- State of the commitment.
- CommitmentEndTime
string
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- CommitmentStartTime
string
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- FailureStatus
StatusResponse
- For FAILED commitment plan, provides the reason of failure.
- Id
string
- The provider-assigned unique ID for this managed resource.
- IsFlatRate
bool
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- Name
string
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - State
string
- State of the commitment.
- commitment_end_time
string
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment_start_time
string
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure_status
object
- For FAILED commitment plan, provides the reason of failure.
- id
string
- The provider-assigned unique ID for this managed resource.
- is_flat_rate
bool
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- name
string
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - state
string
- State of the commitment.
- commitmentEndTime
String
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitmentStartTime
String
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failureStatus
StatusResponse
- For FAILED commitment plan, provides the reason of failure.
- id
String
- The provider-assigned unique ID for this managed resource.
- isFlatRate
Boolean
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- name
String
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - state
String
- State of the commitment.
- commitmentEndTime
string
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitmentStartTime
string
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failureStatus
StatusResponse
- For FAILED commitment plan, provides the reason of failure.
- id
string
- The provider-assigned unique ID for this managed resource.
- isFlatRate
boolean
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- name
string
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - state
string
- State of the commitment.
- commitment_end_time
str
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment_start_time
str
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure_status
StatusResponse
- For FAILED commitment plan, provides the reason of failure.
- id
str
- The provider-assigned unique ID for this managed resource.
- is_flat_rate
bool
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- name
str
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - state
str
- State of the commitment.
- commitmentEndTime
String
- The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitmentStartTime
String
- The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failureStatus
Property Map
- For FAILED commitment plan, provides the reason of failure.
- id
String
- The provider-assigned unique ID for this managed resource.
- isFlatRate
Boolean
- If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
- name
String
- The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. - state
String
- State of the commitment.
Look up Existing CapacityCommitment Resource
Get an existing CapacityCommitment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetCapacityCommitment(ctx *Context, name string, id IDInput, state *CapacityCommitmentState, opts ...ResourceOption) (*CapacityCommitment, error)
public static CapacityCommitment get(String name, Output<String> id, CustomResourceOptions options)
resources: existingCapacityCommitment: type: google-native:bigqueryreservation/v1:CapacityCommitment get: id: ${id}
import {
to = google-native_bigqueryreservation_v1_capacity_commitment.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
CapacityCommitmentState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CapacityCommitmentEdition
Edition of the capacity commitment.
| Name | Value | Description |
|---|
| EditionUnspecified | EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
| Standard | STANDARD | Standard edition. |
| Enterprise | ENTERPRISE | Enterprise edition. |
| EnterprisePlus | ENTERPRISE_PLUS | Enterprise plus edition. |
| Name | Value | Description |
|---|
| CapacityCommitmentEditionEditionUnspecified | EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
| CapacityCommitmentEditionStandard | STANDARD | Standard edition. |
| CapacityCommitmentEditionEnterprise | ENTERPRISE | Enterprise edition. |
| CapacityCommitmentEditionEnterprisePlus | ENTERPRISE_PLUS | Enterprise plus edition. |
| Value | Description |
|---|
EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
STANDARD | Standard edition. |
ENTERPRISE | Enterprise edition. |
ENTERPRISE_PLUS | Enterprise plus edition. |
| Name | Value | Description |
|---|
| EditionUnspecified | EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
| Standard | STANDARD | Standard edition. |
| Enterprise | ENTERPRISE | Enterprise edition. |
| EnterprisePlus | ENTERPRISE_PLUS | Enterprise plus edition. |
| Name | Value | Description |
|---|
| EditionUnspecified | EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
| Standard | STANDARD | Standard edition. |
| Enterprise | ENTERPRISE | Enterprise edition. |
| EnterprisePlus | ENTERPRISE_PLUS | Enterprise plus edition. |
| Name | Value | Description |
|---|
| EDITION_UNSPECIFIED | EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
| STANDARD | STANDARD | Standard edition. |
| ENTERPRISE | ENTERPRISE | Enterprise edition. |
| ENTERPRISE_PLUS | ENTERPRISE_PLUS | Enterprise plus edition. |
| Value | Description |
|---|
EDITION_UNSPECIFIED | Default value, which will be treated as ENTERPRISE. |
STANDARD | Standard edition. |
ENTERPRISE | Enterprise edition. |
ENTERPRISE_PLUS | Enterprise plus edition. |
CapacityCommitmentPlan
Capacity commitment commitment plan.
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CapacityCommitmentPlanCommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| CapacityCommitmentPlanFlex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| CapacityCommitmentPlanFlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentPlanTrial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| CapacityCommitmentPlanMonthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| CapacityCommitmentPlanMonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentPlanAnnual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| CapacityCommitmentPlanAnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentPlanThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| CapacityCommitmentPlanNone | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Value | Description |
|---|
COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| COMMITMENT_PLAN_UNSPECIFIED | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| FLEX | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FLEX_FLAT_RATE | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| TRIAL | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| MONTHLY | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MONTHLY_FLAT_RATE | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| ANNUAL | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| ANNUAL_FLAT_RATE | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| THREE_YEAR | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| NONE | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Value | Description |
|---|
COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
CapacityCommitmentRenewalPlan
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CapacityCommitmentRenewalPlanCommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| CapacityCommitmentRenewalPlanFlex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| CapacityCommitmentRenewalPlanFlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentRenewalPlanTrial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| CapacityCommitmentRenewalPlanMonthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| CapacityCommitmentRenewalPlanMonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentRenewalPlanAnnual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| CapacityCommitmentRenewalPlanAnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| CapacityCommitmentRenewalPlanThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| CapacityCommitmentRenewalPlanNone | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Value | Description |
|---|
COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| CommitmentPlanUnspecified | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| Flex | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FlexFlatRate | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| Trial | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| Monthly | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MonthlyFlatRate | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| Annual | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| AnnualFlatRate | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| ThreeYear | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| None | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Name | Value | Description |
|---|
| COMMITMENT_PLAN_UNSPECIFIED | COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
| FLEX | FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| FLEX_FLAT_RATE | FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
| TRIAL | TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| MONTHLY | MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| MONTHLY_FLAT_RATE | MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| ANNUAL | ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| ANNUAL_FLAT_RATE | ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| THREE_YEAR | THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| NONE | NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| Value | Description |
|---|
COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. |
FLEX | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
TRIAL | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends. |
MONTHLY | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
ANNUAL | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
THREE_YEAR | 3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
NONE | Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
StatusResponse
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
- Code
int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<ImmutableDictionary<string, string>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code
int
- The status code, which should be an enum value of google.rpc.Code.
- Details
[]map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
number
- The status code, which should be an enum value of google.rpc.Code.
- details
list(map(string))
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
Integer
- The status code, which should be an enum value of google.rpc.Code.
- details
List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
number
- The status code, which should be an enum value of google.rpc.Code.
- details
{[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
int
- The status code, which should be an enum value of google.rpc.Code.
- details
Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
Number
- The status code, which should be an enum value of google.rpc.Code.
- details
List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0