google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.bigqueryreservation/v1beta1.CapacityCommitment

Explore with Pulumi AI

Creates a new capacity commitment resource. Auto-naming is currently not supported for this resource.

Create CapacityCommitment Resource

new CapacityCommitment(name: string, args?: CapacityCommitmentArgs, opts?: CustomResourceOptions);
@overload
def CapacityCommitment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       capacity_commitment_id: Optional[str] = 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)
@overload
def CapacityCommitment(resource_name: str,
                       args: Optional[CapacityCommitmentArgs] = None,
                       opts: Optional[ResourceOptions] = None)
func NewCapacityCommitment(ctx *Context, name string, args *CapacityCommitmentArgs, opts ...ResourceOption) (*CapacityCommitment, error)
public CapacityCommitment(string name, CapacityCommitmentArgs? args = null, CustomResourceOptions? opts = null)
public CapacityCommitment(String name, CapacityCommitmentArgs args)
public CapacityCommitment(String name, CapacityCommitmentArgs args, CustomResourceOptions options)
type: google-native:bigqueryreservation/v1beta1:CapacityCommitment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CapacityCommitmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CapacityCommitmentArgs
The arguments to resource properties.
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 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.
opts CustomResourceOptions
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.

CapacityCommitment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

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.

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.

Plan Pulumi.GoogleNative.BigQueryReservation.V1Beta1.CapacityCommitmentPlan

Capacity commitment commitment plan.

Project string
RenewalPlan Pulumi.GoogleNative.BigQueryReservation.V1Beta1.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 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.

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.

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 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.

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.

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 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.

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.

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 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.

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.

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 commitments.

slot_count str

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.

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.

plan "COMMITMENT_PLAN_UNSPECIFIED" | "FLEX" | "TRIAL" | "MONTHLY" | "ANNUAL"

Capacity commitment commitment plan.

project String
renewalPlan "COMMITMENT_PLAN_UNSPECIFIED" | "FLEX" | "TRIAL" | "MONTHLY" | "ANNUAL"

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 commitments.

slotCount String

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.V1Beta1.Outputs.StatusResponse

For FAILED commitment plan, provides the reason of failure.

Id string

The provider-assigned unique ID for this managed resource.

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.

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.

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.

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.

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.

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.

Supporting Types

CapacityCommitmentPlan

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

"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.

"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.

"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.

CapacityCommitmentRenewalPlan

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

"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.

"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.

"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.

StatusResponse

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 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