1. Packages
  2. Google Cloud Native
  3. API Docs
  4. spanner
  5. spanner/v1
  6. Backup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.spanner/v1.Backup

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Starts creating a new Cloud Spanner Backup. The returned backup long-running operation will have a name of the format projects//instances//backups//operations/ and can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. There can be only one pending backup creation per database. Backup creation of different databases can run concurrently.

Create Backup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Backup(name: string, args: BackupArgs, opts?: CustomResourceOptions);
@overload
def Backup(resource_name: str,
           args: BackupArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Backup(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           backup_id: Optional[str] = None,
           encryption_config_encryption_type: Optional[str] = None,
           instance_id: Optional[str] = None,
           database: Optional[str] = None,
           encryption_config_kms_key_name: Optional[str] = None,
           expire_time: Optional[str] = None,
           name: Optional[str] = None,
           project: Optional[str] = None,
           version_time: Optional[str] = None)
func NewBackup(ctx *Context, name string, args BackupArgs, opts ...ResourceOption) (*Backup, error)
public Backup(string name, BackupArgs args, CustomResourceOptions? opts = null)
public Backup(String name, BackupArgs args)
public Backup(String name, BackupArgs args, CustomResourceOptions options)
type: google-native:spanner/v1:Backup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BackupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BackupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BackupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BackupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BackupArgs
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 examplebackupResourceResourceFromSpannerv1 = new GoogleNative.Spanner.V1.Backup("examplebackupResourceResourceFromSpannerv1", new()
{
    BackupId = "string",
    EncryptionConfigEncryptionType = "string",
    InstanceId = "string",
    Database = "string",
    EncryptionConfigKmsKeyName = "string",
    ExpireTime = "string",
    Name = "string",
    Project = "string",
    VersionTime = "string",
});
Copy
example, err := spanner.NewBackup(ctx, "examplebackupResourceResourceFromSpannerv1", &spanner.BackupArgs{
	BackupId:                       pulumi.String("string"),
	EncryptionConfigEncryptionType: pulumi.String("string"),
	InstanceId:                     pulumi.String("string"),
	Database:                       pulumi.String("string"),
	EncryptionConfigKmsKeyName:     pulumi.String("string"),
	ExpireTime:                     pulumi.String("string"),
	Name:                           pulumi.String("string"),
	Project:                        pulumi.String("string"),
	VersionTime:                    pulumi.String("string"),
})
Copy
var examplebackupResourceResourceFromSpannerv1 = new Backup("examplebackupResourceResourceFromSpannerv1", BackupArgs.builder()
    .backupId("string")
    .encryptionConfigEncryptionType("string")
    .instanceId("string")
    .database("string")
    .encryptionConfigKmsKeyName("string")
    .expireTime("string")
    .name("string")
    .project("string")
    .versionTime("string")
    .build());
Copy
examplebackup_resource_resource_from_spannerv1 = google_native.spanner.v1.Backup("examplebackupResourceResourceFromSpannerv1",
    backup_id="string",
    encryption_config_encryption_type="string",
    instance_id="string",
    database="string",
    encryption_config_kms_key_name="string",
    expire_time="string",
    name="string",
    project="string",
    version_time="string")
Copy
const examplebackupResourceResourceFromSpannerv1 = new google_native.spanner.v1.Backup("examplebackupResourceResourceFromSpannerv1", {
    backupId: "string",
    encryptionConfigEncryptionType: "string",
    instanceId: "string",
    database: "string",
    encryptionConfigKmsKeyName: "string",
    expireTime: "string",
    name: "string",
    project: "string",
    versionTime: "string",
});
Copy
type: google-native:spanner/v1:Backup
properties:
    backupId: string
    database: string
    encryptionConfigEncryptionType: string
    encryptionConfigKmsKeyName: string
    expireTime: string
    instanceId: string
    name: string
    project: string
    versionTime: string
Copy

Backup Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Backup resource accepts the following input properties:

BackupId
This property is required.
Changes to this property will trigger replacement.
string
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
EncryptionConfigEncryptionType
This property is required.
Changes to this property will trigger replacement.
string
Required. The encryption type of the backup.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
Database string
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
EncryptionConfigKmsKeyName string
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
ExpireTime string
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
Name string
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
Project Changes to this property will trigger replacement. string
VersionTime string
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.
BackupId
This property is required.
Changes to this property will trigger replacement.
string
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
EncryptionConfigEncryptionType
This property is required.
Changes to this property will trigger replacement.
string
Required. The encryption type of the backup.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
Database string
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
EncryptionConfigKmsKeyName string
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
ExpireTime string
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
Name string
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
Project Changes to this property will trigger replacement. string
VersionTime string
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.
backupId
This property is required.
Changes to this property will trigger replacement.
String
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
encryptionConfigEncryptionType
This property is required.
Changes to this property will trigger replacement.
String
Required. The encryption type of the backup.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
database String
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
encryptionConfigKmsKeyName String
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
expireTime String
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
name String
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
project Changes to this property will trigger replacement. String
versionTime String
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.
backupId
This property is required.
Changes to this property will trigger replacement.
string
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
encryptionConfigEncryptionType
This property is required.
Changes to this property will trigger replacement.
string
Required. The encryption type of the backup.
instanceId
This property is required.
Changes to this property will trigger replacement.
string
database string
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
encryptionConfigKmsKeyName string
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
expireTime string
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
name string
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
project Changes to this property will trigger replacement. string
versionTime string
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.
backup_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
encryption_config_encryption_type
This property is required.
Changes to this property will trigger replacement.
str
Required. The encryption type of the backup.
instance_id
This property is required.
Changes to this property will trigger replacement.
str
database str
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
encryption_config_kms_key_name str
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
expire_time str
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
name str
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
project Changes to this property will trigger replacement. str
version_time str
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.
backupId
This property is required.
Changes to this property will trigger replacement.
String
Required. The id of the backup to be created. The backup_id appended to parent forms the full backup name of the form projects//instances//backups/.
encryptionConfigEncryptionType
This property is required.
Changes to this property will trigger replacement.
String
Required. The encryption type of the backup.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
database String
Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects//instances//databases/.
encryptionConfigKmsKeyName String
Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects//locations//keyRings//cryptoKeys/.
expireTime String
Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the expire_time has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.
name String
Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.
project Changes to this property will trigger replacement. String
versionTime String
The backup will contain an externally consistent copy of the database at the timestamp specified by version_time. If version_time is not specified, the system will set version_time to the create_time of the backup.

Outputs

All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:

CreateTime string
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
DatabaseDialect string
The database dialect information for the backup.
EncryptionInfo Pulumi.GoogleNative.Spanner.V1.Outputs.EncryptionInfoResponse
The encryption information for the backup.
Id string
The provider-assigned unique ID for this managed resource.
MaxExpireTime string
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
ReferencingBackups List<string>
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
ReferencingDatabases List<string>
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
SizeBytes string
Size of the backup in bytes.
State string
The current state of the backup.
CreateTime string
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
DatabaseDialect string
The database dialect information for the backup.
EncryptionInfo EncryptionInfoResponse
The encryption information for the backup.
Id string
The provider-assigned unique ID for this managed resource.
MaxExpireTime string
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
ReferencingBackups []string
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
ReferencingDatabases []string
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
SizeBytes string
Size of the backup in bytes.
State string
The current state of the backup.
createTime String
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
databaseDialect String
The database dialect information for the backup.
encryptionInfo EncryptionInfoResponse
The encryption information for the backup.
id String
The provider-assigned unique ID for this managed resource.
maxExpireTime String
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
referencingBackups List<String>
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
referencingDatabases List<String>
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
sizeBytes String
Size of the backup in bytes.
state String
The current state of the backup.
createTime string
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
databaseDialect string
The database dialect information for the backup.
encryptionInfo EncryptionInfoResponse
The encryption information for the backup.
id string
The provider-assigned unique ID for this managed resource.
maxExpireTime string
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
referencingBackups string[]
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
referencingDatabases string[]
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
sizeBytes string
Size of the backup in bytes.
state string
The current state of the backup.
create_time str
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
database_dialect str
The database dialect information for the backup.
encryption_info EncryptionInfoResponse
The encryption information for the backup.
id str
The provider-assigned unique ID for this managed resource.
max_expire_time str
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
referencing_backups Sequence[str]
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
referencing_databases Sequence[str]
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
size_bytes str
Size of the backup in bytes.
state str
The current state of the backup.
createTime String
The time the CreateBackup request is received. If the request does not specify version_time, the version_time of the backup will be equivalent to the create_time.
databaseDialect String
The database dialect information for the backup.
encryptionInfo Property Map
The encryption information for the backup.
id String
The provider-assigned unique ID for this managed resource.
maxExpireTime String
The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than Backup.max_expire_time.
referencingBackups List<String>
The names of the destination backups being created by copying this source backup. The backup names are of the form projects//instances//backups/. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.
referencingDatabases List<String>
The names of the restored databases that reference the backup. The database names are of the form projects//instances//databases/. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the READY state, the reference to the backup is removed.
sizeBytes String
Size of the backup in bytes.
state String
The current state of the backup.

Supporting Types

EncryptionInfoResponse
, EncryptionInfoResponseArgs

EncryptionStatus This property is required. Pulumi.GoogleNative.Spanner.V1.Inputs.StatusResponse
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
EncryptionType This property is required. string
The type of encryption.
KmsKeyVersion This property is required. string
A Cloud KMS key version that is being used to protect the database or backup.
EncryptionStatus This property is required. StatusResponse
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
EncryptionType This property is required. string
The type of encryption.
KmsKeyVersion This property is required. string
A Cloud KMS key version that is being used to protect the database or backup.
encryptionStatus This property is required. StatusResponse
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
encryptionType This property is required. String
The type of encryption.
kmsKeyVersion This property is required. String
A Cloud KMS key version that is being used to protect the database or backup.
encryptionStatus This property is required. StatusResponse
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
encryptionType This property is required. string
The type of encryption.
kmsKeyVersion This property is required. string
A Cloud KMS key version that is being used to protect the database or backup.
encryption_status This property is required. StatusResponse
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
encryption_type This property is required. str
The type of encryption.
kms_key_version This property is required. str
A Cloud KMS key version that is being used to protect the database or backup.
encryptionStatus This property is required. Property Map
If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
encryptionType This property is required. String
The type of encryption.
kmsKeyVersion This property is required. String
A Cloud KMS key version that is being used to protect the database or backup.

StatusResponse
, StatusResponseArgs

Code This property is required. int
The status code, which should be an enum value of google.rpc.Code.
Details This property is required. 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 This property is required. 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 This property is required. int
The status code, which should be an enum value of google.rpc.Code.
Details This property is required. []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 This property is required. 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 This property is required. Integer
The status code, which should be an enum value of google.rpc.Code.
details This property is required. 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 This property is required. 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 This property is required. number
The status code, which should be an enum value of google.rpc.Code.
details This property is required. {[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 This property is required. 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 This property is required. int
The status code, which should be an enum value of google.rpc.Code.
details This property is required. 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 This property is required. 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 This property is required. Number
The status code, which should be an enum value of google.rpc.Code.
details This property is required. 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 This property is required. 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

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi