Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.spanner/v1.Backup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 string
- The unique name of the resource.
- args BackupArgs
- 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 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 string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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
The Backup resource accepts the following input properties:
- Backup
Id string - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - Encryption
Config stringEncryption Type - Required. The encryption type of the backup.
- Instance
Id 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/
. - Encryption
Config stringKms Key Name - 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 formprojects//locations//keyRings//cryptoKeys/
. - Expire
Time 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 formprojects//instances/
. - Project string
- Version
Time string - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
- Backup
Id string - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - Encryption
Config stringEncryption Type - Required. The encryption type of the backup.
- Instance
Id 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/
. - Encryption
Config stringKms Key Name - 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 formprojects//locations//keyRings//cryptoKeys/
. - Expire
Time 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 formprojects//instances/
. - Project string
- Version
Time string - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
- backup
Id String - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - encryption
Config StringEncryption Type - Required. The encryption type of the backup.
- instance
Id 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/
. - encryption
Config StringKms Key Name - 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 formprojects//locations//keyRings//cryptoKeys/
. - expire
Time 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 formprojects//instances/
. - project String
- version
Time String - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
- backup
Id string - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - encryption
Config stringEncryption Type - Required. The encryption type of the backup.
- instance
Id 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/
. - encryption
Config stringKms Key Name - 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 formprojects//locations//keyRings//cryptoKeys/
. - expire
Time 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 formprojects//instances/
. - project string
- version
Time string - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
- backup_
id str - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - encryption_
config_ strencryption_ type - Required. The encryption type of the backup.
- instance_
id 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_ strkms_ key_ name - 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 formprojects//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 formprojects//instances/
. - project str
- version_
time str - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
- backup
Id String - Required. The id of the backup to be created. The
backup_id
appended toparent
forms the full backup name of the formprojects//instances//backups/
. - encryption
Config StringEncryption Type - Required. The encryption type of the backup.
- instance
Id 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/
. - encryption
Config StringKms Key Name - 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 formprojects//locations//keyRings//cryptoKeys/
. - expire
Time 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 formprojects//instances/
. - project String
- version
Time String - The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time
. Ifversion_time
is not specified, the system will setversion_time
to thecreate_time
of the backup.
Outputs
All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:
- Create
Time string - The time the CreateBackup request is received. If the request does not specify
version_time
, theversion_time
of the backup will be equivalent to thecreate_time
. - Database
Dialect string - The database dialect information for the backup.
- Encryption
Info Pulumi.Google Native. Spanner. V1. Outputs. Encryption Info Response - The encryption information for the backup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Expire stringTime - 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 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. - Referencing
Databases 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 theREADY
state, the reference to the backup is removed. - Size
Bytes string - Size of the backup in bytes.
- State string
- The current state of the backup.
- Create
Time string - The time the CreateBackup request is received. If the request does not specify
version_time
, theversion_time
of the backup will be equivalent to thecreate_time
. - Database
Dialect string - The database dialect information for the backup.
- Encryption
Info EncryptionInfo Response - The encryption information for the backup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Expire stringTime - 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 []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. - Referencing
Databases []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 theREADY
state, the reference to the backup is removed. - Size
Bytes string - Size of the backup in bytes.
- State string
- The current state of the backup.
- create
Time String - The time the CreateBackup request is received. If the request does not specify
version_time
, theversion_time
of the backup will be equivalent to thecreate_time
. - database
Dialect String - The database dialect information for the backup.
- encryption
Info EncryptionInfo Response - The encryption information for the backup.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Expire StringTime - 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 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. - referencing
Databases 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 theREADY
state, the reference to the backup is removed. - size
Bytes String - Size of the backup in bytes.
- state String
- The current state of the backup.
- create
Time string - The time the CreateBackup request is received. If the request does not specify
version_time
, theversion_time
of the backup will be equivalent to thecreate_time
. - database
Dialect string - The database dialect information for the backup.
- encryption
Info EncryptionInfo Response - The encryption information for the backup.
- id string
- The provider-assigned unique ID for this managed resource.
- max
Expire stringTime - 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 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. - referencing
Databases 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 theREADY
state, the reference to the backup is removed. - size
Bytes 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
, theversion_time
of the backup will be equivalent to thecreate_time
. - database_
dialect str - The database dialect information for the backup.
- encryption_
info EncryptionInfo Response - The encryption information for the backup.
- id str
- The provider-assigned unique ID for this managed resource.
- max_
expire_ strtime - 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 theREADY
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.
- create
Time String - The time the CreateBackup request is received. If the request does not specify
version_time
, theversion_time
of the backup will be equivalent to thecreate_time
. - database
Dialect String - The database dialect information for the backup.
- encryption
Info Property Map - The encryption information for the backup.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Expire StringTime - 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 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. - referencing
Databases 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 theREADY
state, the reference to the backup is removed. - size
Bytes String - Size of the backup in bytes.
- state String
- The current state of the backup.
Supporting Types
EncryptionInfoResponse, EncryptionInfoResponseArgs
- Encryption
Status Pulumi.Google Native. Spanner. V1. Inputs. Status Response - 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 string - The type of encryption.
- Kms
Key stringVersion - A Cloud KMS key version that is being used to protect the database or backup.
- Encryption
Status 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 string - The type of encryption.
- Kms
Key stringVersion - A Cloud KMS key version that is being used to protect the database or backup.
- encryption
Status 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 String - The type of encryption.
- kms
Key StringVersion - A Cloud KMS key version that is being used to protect the database or backup.
- encryption
Status 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 string - The type of encryption.
- kms
Key stringVersion - A Cloud KMS key version that is being used to protect the database or backup.
- encryption_
status 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 str - The type of encryption.
- kms_
key_ strversion - A Cloud KMS key version that is being used to protect the database or backup.
- encryption
Status 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.
- encryption
Type String - The type of encryption.
- kms
Key StringVersion - A Cloud KMS key version that is being used to protect the database or backup.
StatusResponse, StatusResponseArgs
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.