Constants
BackupDR_ListManagementServers_FullMethodName, BackupDR_GetManagementServer_FullMethodName, BackupDR_CreateManagementServer_FullMethodName, BackupDR_DeleteManagementServer_FullMethodName, BackupDR_CreateBackupVault_FullMethodName, BackupDR_ListBackupVaults_FullMethodName, BackupDR_FetchUsableBackupVaults_FullMethodName, BackupDR_GetBackupVault_FullMethodName, BackupDR_UpdateBackupVault_FullMethodName, BackupDR_DeleteBackupVault_FullMethodName, BackupDR_ListDataSources_FullMethodName, BackupDR_GetDataSource_FullMethodName, BackupDR_UpdateDataSource_FullMethodName, BackupDR_ListBackups_FullMethodName, BackupDR_GetBackup_FullMethodName, BackupDR_UpdateBackup_FullMethodName, BackupDR_DeleteBackup_FullMethodName, BackupDR_RestoreBackup_FullMethodName, BackupDR_CreateBackupPlan_FullMethodName, BackupDR_UpdateBackupPlan_FullMethodName, BackupDR_GetBackupPlan_FullMethodName, BackupDR_ListBackupPlans_FullMethodName, BackupDR_DeleteBackupPlan_FullMethodName, BackupDR_GetBackupPlanRevision_FullMethodName, BackupDR_ListBackupPlanRevisions_FullMethodName, BackupDR_CreateBackupPlanAssociation_FullMethodName, BackupDR_UpdateBackupPlanAssociation_FullMethodName, BackupDR_GetBackupPlanAssociation_FullMethodName, BackupDR_ListBackupPlanAssociations_FullMethodName, BackupDR_FetchBackupPlanAssociationsForResourceType_FullMethodName, BackupDR_DeleteBackupPlanAssociation_FullMethodName, BackupDR_TriggerBackup_FullMethodName, BackupDR_GetDataSourceReference_FullMethodName, BackupDR_FetchDataSourceReferencesForResourceType_FullMethodName, BackupDR_InitializeService_FullMethodName
const (
BackupDR_ListManagementServers_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListManagementServers"
BackupDR_GetManagementServer_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetManagementServer"
BackupDR_CreateManagementServer_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/CreateManagementServer"
BackupDR_DeleteManagementServer_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/DeleteManagementServer"
BackupDR_CreateBackupVault_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/CreateBackupVault"
BackupDR_ListBackupVaults_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListBackupVaults"
BackupDR_FetchUsableBackupVaults_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/FetchUsableBackupVaults"
BackupDR_GetBackupVault_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetBackupVault"
BackupDR_UpdateBackupVault_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/UpdateBackupVault"
BackupDR_DeleteBackupVault_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/DeleteBackupVault"
BackupDR_ListDataSources_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListDataSources"
BackupDR_GetDataSource_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetDataSource"
BackupDR_UpdateDataSource_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/UpdateDataSource"
BackupDR_ListBackups_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListBackups"
BackupDR_GetBackup_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetBackup"
BackupDR_UpdateBackup_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/UpdateBackup"
BackupDR_DeleteBackup_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/DeleteBackup"
BackupDR_RestoreBackup_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/RestoreBackup"
BackupDR_CreateBackupPlan_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/CreateBackupPlan"
BackupDR_UpdateBackupPlan_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/UpdateBackupPlan"
BackupDR_GetBackupPlan_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetBackupPlan"
BackupDR_ListBackupPlans_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListBackupPlans"
BackupDR_DeleteBackupPlan_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/DeleteBackupPlan"
BackupDR_GetBackupPlanRevision_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetBackupPlanRevision"
BackupDR_ListBackupPlanRevisions_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListBackupPlanRevisions"
BackupDR_CreateBackupPlanAssociation_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/CreateBackupPlanAssociation"
BackupDR_UpdateBackupPlanAssociation_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/UpdateBackupPlanAssociation"
BackupDR_GetBackupPlanAssociation_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetBackupPlanAssociation"
BackupDR_ListBackupPlanAssociations_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/ListBackupPlanAssociations"
BackupDR_FetchBackupPlanAssociationsForResourceType_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/FetchBackupPlanAssociationsForResourceType"
BackupDR_DeleteBackupPlanAssociation_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/DeleteBackupPlanAssociation"
BackupDR_TriggerBackup_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/TriggerBackup"
BackupDR_GetDataSourceReference_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/GetDataSourceReference"
BackupDR_FetchDataSourceReferencesForResourceType_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/FetchDataSourceReferencesForResourceType"
BackupDR_InitializeService_FullMethodName = "/google.cloud.backupdr.v1.BackupDR/InitializeService"
)Variables
NetworkConfig_PeeringMode_name, NetworkConfig_PeeringMode_value
var (
NetworkConfig_PeeringMode_name = map[int32]string{
0: "PEERING_MODE_UNSPECIFIED",
1: "PRIVATE_SERVICE_ACCESS",
}
NetworkConfig_PeeringMode_value = map[string]int32{
"PEERING_MODE_UNSPECIFIED": 0,
"PRIVATE_SERVICE_ACCESS": 1,
}
)Enum value maps for NetworkConfig_PeeringMode.
ManagementServer_InstanceType_name, ManagementServer_InstanceType_value
var (
ManagementServer_InstanceType_name = map[int32]string{
0: "INSTANCE_TYPE_UNSPECIFIED",
1: "BACKUP_RESTORE",
}
ManagementServer_InstanceType_value = map[string]int32{
"INSTANCE_TYPE_UNSPECIFIED": 0,
"BACKUP_RESTORE": 1,
}
)Enum value maps for ManagementServer_InstanceType.
ManagementServer_InstanceState_name, ManagementServer_InstanceState_value
var (
ManagementServer_InstanceState_name = map[int32]string{
0: "INSTANCE_STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "UPDATING",
4: "DELETING",
5: "REPAIRING",
6: "MAINTENANCE",
7: "ERROR",
}
ManagementServer_InstanceState_value = map[string]int32{
"INSTANCE_STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"DELETING": 4,
"REPAIRING": 5,
"MAINTENANCE": 6,
"ERROR": 7,
}
)Enum value maps for ManagementServer_InstanceState.
BackupPlan_State_name, BackupPlan_State_value
var (
BackupPlan_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "INACTIVE",
5: "UPDATING",
}
BackupPlan_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"INACTIVE": 4,
"UPDATING": 5,
}
)Enum value maps for BackupPlan_State.
StandardSchedule_RecurrenceType_name, StandardSchedule_RecurrenceType_value
var (
StandardSchedule_RecurrenceType_name = map[int32]string{
0: "RECURRENCE_TYPE_UNSPECIFIED",
1: "HOURLY",
2: "DAILY",
3: "WEEKLY",
4: "MONTHLY",
5: "YEARLY",
}
StandardSchedule_RecurrenceType_value = map[string]int32{
"RECURRENCE_TYPE_UNSPECIFIED": 0,
"HOURLY": 1,
"DAILY": 2,
"WEEKLY": 3,
"MONTHLY": 4,
"YEARLY": 5,
}
)Enum value maps for StandardSchedule_RecurrenceType.
WeekDayOfMonth_WeekOfMonth_name, WeekDayOfMonth_WeekOfMonth_value
var (
WeekDayOfMonth_WeekOfMonth_name = map[int32]string{
0: "WEEK_OF_MONTH_UNSPECIFIED",
1: "FIRST",
2: "SECOND",
3: "THIRD",
4: "FOURTH",
5: "LAST",
}
WeekDayOfMonth_WeekOfMonth_value = map[string]int32{
"WEEK_OF_MONTH_UNSPECIFIED": 0,
"FIRST": 1,
"SECOND": 2,
"THIRD": 3,
"FOURTH": 4,
"LAST": 5,
}
)Enum value maps for WeekDayOfMonth_WeekOfMonth.
BackupPlanRevision_State_name, BackupPlanRevision_State_value
var (
BackupPlanRevision_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "INACTIVE",
}
BackupPlanRevision_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"INACTIVE": 4,
}
)Enum value maps for BackupPlanRevision_State.
BackupPlanAssociation_State_name, BackupPlanAssociation_State_value
var (
BackupPlanAssociation_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "INACTIVE",
5: "UPDATING",
}
BackupPlanAssociation_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"INACTIVE": 4,
"UPDATING": 5,
}
)Enum value maps for BackupPlanAssociation_State.
RuleConfigInfo_LastBackupState_name, RuleConfigInfo_LastBackupState_value
var (
RuleConfigInfo_LastBackupState_name = map[int32]string{
0: "LAST_BACKUP_STATE_UNSPECIFIED",
1: "FIRST_BACKUP_PENDING",
2: "PERMISSION_DENIED",
3: "SUCCEEDED",
4: "FAILED",
}
RuleConfigInfo_LastBackupState_value = map[string]int32{
"LAST_BACKUP_STATE_UNSPECIFIED": 0,
"FIRST_BACKUP_PENDING": 1,
"PERMISSION_DENIED": 2,
"SUCCEEDED": 3,
"FAILED": 4,
}
)Enum value maps for RuleConfigInfo_LastBackupState.
BackupConfigState_name, BackupConfigState_value
var (
BackupConfigState_name = map[int32]string{
0: "BACKUP_CONFIG_STATE_UNSPECIFIED",
1: "ACTIVE",
2: "PASSIVE",
}
BackupConfigState_value = map[string]int32{
"BACKUP_CONFIG_STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"PASSIVE": 2,
}
)Enum value maps for BackupConfigState.
BackupView_name, BackupView_value
var (
BackupView_name = map[int32]string{
0: "BACKUP_VIEW_UNSPECIFIED",
1: "BACKUP_VIEW_BASIC",
2: "BACKUP_VIEW_FULL",
}
BackupView_value = map[string]int32{
"BACKUP_VIEW_UNSPECIFIED": 0,
"BACKUP_VIEW_BASIC": 1,
"BACKUP_VIEW_FULL": 2,
}
)Enum value maps for BackupView.
BackupVaultView_name, BackupVaultView_value
var (
BackupVaultView_name = map[int32]string{
0: "BACKUP_VAULT_VIEW_UNSPECIFIED",
1: "BACKUP_VAULT_VIEW_BASIC",
2: "BACKUP_VAULT_VIEW_FULL",
}
BackupVaultView_value = map[string]int32{
"BACKUP_VAULT_VIEW_UNSPECIFIED": 0,
"BACKUP_VAULT_VIEW_BASIC": 1,
"BACKUP_VAULT_VIEW_FULL": 2,
}
)Enum value maps for BackupVaultView.
BackupVault_State_name, BackupVault_State_value
var (
BackupVault_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
5: "UPDATING",
}
BackupVault_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
"UPDATING": 5,
}
)Enum value maps for BackupVault_State.
BackupVault_AccessRestriction_name, BackupVault_AccessRestriction_value
var (
BackupVault_AccessRestriction_name = map[int32]string{
0: "ACCESS_RESTRICTION_UNSPECIFIED",
1: "WITHIN_PROJECT",
2: "WITHIN_ORGANIZATION",
3: "UNRESTRICTED",
4: "WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA",
}
BackupVault_AccessRestriction_value = map[string]int32{
"ACCESS_RESTRICTION_UNSPECIFIED": 0,
"WITHIN_PROJECT": 1,
"WITHIN_ORGANIZATION": 2,
"UNRESTRICTED": 3,
"WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA": 4,
}
)Enum value maps for BackupVault_AccessRestriction.
DataSource_State_name, DataSource_State_value
var (
DataSource_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
}
DataSource_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
}
)Enum value maps for DataSource_State.
BackupConfigInfo_LastBackupState_name, BackupConfigInfo_LastBackupState_value
var (
BackupConfigInfo_LastBackupState_name = map[int32]string{
0: "LAST_BACKUP_STATE_UNSPECIFIED",
1: "FIRST_BACKUP_PENDING",
2: "SUCCEEDED",
3: "FAILED",
4: "PERMISSION_DENIED",
}
BackupConfigInfo_LastBackupState_value = map[string]int32{
"LAST_BACKUP_STATE_UNSPECIFIED": 0,
"FIRST_BACKUP_PENDING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
"PERMISSION_DENIED": 4,
}
)Enum value maps for BackupConfigInfo_LastBackupState.
Backup_State_name, Backup_State_value
var (
Backup_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
5: "UPLOADING",
}
Backup_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
"UPLOADING": 5,
}
)Enum value maps for Backup_State.
Backup_BackupType_name, Backup_BackupType_value
var (
Backup_BackupType_name = map[int32]string{
0: "BACKUP_TYPE_UNSPECIFIED",
1: "SCHEDULED",
2: "ON_DEMAND",
3: "ON_DEMAND_OPERATIONAL",
}
Backup_BackupType_value = map[string]int32{
"BACKUP_TYPE_UNSPECIFIED": 0,
"SCHEDULED": 1,
"ON_DEMAND": 2,
"ON_DEMAND_OPERATIONAL": 3,
}
)Enum value maps for Backup_BackupType.
CloudSqlInstanceInitializationConfig_Edition_name, CloudSqlInstanceInitializationConfig_Edition_value
var (
CloudSqlInstanceInitializationConfig_Edition_name = map[int32]string{
0: "EDITION_UNSPECIFIED",
1: "ENTERPRISE",
2: "ENTERPRISE_PLUS",
}
CloudSqlInstanceInitializationConfig_Edition_value = map[string]int32{
"EDITION_UNSPECIFIED": 0,
"ENTERPRISE": 1,
"ENTERPRISE_PLUS": 2,
}
)Enum value maps for CloudSqlInstanceInitializationConfig_Edition.
DiskRestoreProperties_AccessMode_name, DiskRestoreProperties_AccessMode_value
var (
DiskRestoreProperties_AccessMode_name = map[int32]string{
0: "READ_WRITE_SINGLE",
1: "READ_WRITE_MANY",
2: "READ_ONLY_MANY",
}
DiskRestoreProperties_AccessMode_value = map[string]int32{
"READ_WRITE_SINGLE": 0,
"READ_WRITE_MANY": 1,
"READ_ONLY_MANY": 2,
}
)Enum value maps for DiskRestoreProperties_AccessMode.
DiskRestoreProperties_Architecture_name, DiskRestoreProperties_Architecture_value
var (
DiskRestoreProperties_Architecture_name = map[int32]string{
0: "ARCHITECTURE_UNSPECIFIED",
1: "X86_64",
2: "ARM64",
}
DiskRestoreProperties_Architecture_value = map[string]int32{
"ARCHITECTURE_UNSPECIFIED": 0,
"X86_64": 1,
"ARM64": 2,
}
)Enum value maps for DiskRestoreProperties_Architecture.
DiskBackupProperties_Architecture_name, DiskBackupProperties_Architecture_value
var (
DiskBackupProperties_Architecture_name = map[int32]string{
0: "ARCHITECTURE_UNSPECIFIED",
1: "X86_64",
2: "ARM64",
}
DiskBackupProperties_Architecture_value = map[string]int32{
"ARCHITECTURE_UNSPECIFIED": 0,
"X86_64": 1,
"ARM64": 2,
}
)Enum value maps for DiskBackupProperties_Architecture.
KeyRevocationActionType_name, KeyRevocationActionType_value
var (
KeyRevocationActionType_name = map[int32]string{
0: "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
1: "NONE",
2: "STOP",
}
KeyRevocationActionType_value = map[string]int32{
"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED": 0,
"NONE": 1,
"STOP": 2,
}
)Enum value maps for KeyRevocationActionType.
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_name, ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_value
var (
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_name = map[int32]string{
0: "INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
1: "INHERIT_FROM_SUBNETWORK",
2: "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE",
3: "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
}
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_value = map[string]int32{
"INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED": 0,
"INHERIT_FROM_SUBNETWORK": 1,
"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE": 2,
"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE": 3,
}
)Enum value maps for ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess.
NetworkInterface_StackType_name, NetworkInterface_StackType_value
var (
NetworkInterface_StackType_name = map[int32]string{
0: "STACK_TYPE_UNSPECIFIED",
1: "IPV4_ONLY",
2: "IPV4_IPV6",
}
NetworkInterface_StackType_value = map[string]int32{
"STACK_TYPE_UNSPECIFIED": 0,
"IPV4_ONLY": 1,
"IPV4_IPV6": 2,
}
)Enum value maps for NetworkInterface_StackType.
NetworkInterface_Ipv6AccessType_name, NetworkInterface_Ipv6AccessType_value
var (
NetworkInterface_Ipv6AccessType_name = map[int32]string{
0: "UNSPECIFIED_IPV6_ACCESS_TYPE",
1: "INTERNAL",
2: "EXTERNAL",
}
NetworkInterface_Ipv6AccessType_value = map[string]int32{
"UNSPECIFIED_IPV6_ACCESS_TYPE": 0,
"INTERNAL": 1,
"EXTERNAL": 2,
}
)Enum value maps for NetworkInterface_Ipv6AccessType.
NetworkInterface_NicType_name, NetworkInterface_NicType_value
var (
NetworkInterface_NicType_name = map[int32]string{
0: "NIC_TYPE_UNSPECIFIED",
1: "VIRTIO_NET",
2: "GVNIC",
}
NetworkInterface_NicType_value = map[string]int32{
"NIC_TYPE_UNSPECIFIED": 0,
"VIRTIO_NET": 1,
"GVNIC": 2,
}
)Enum value maps for NetworkInterface_NicType.
NetworkPerformanceConfig_Tier_name, NetworkPerformanceConfig_Tier_value
var (
NetworkPerformanceConfig_Tier_name = map[int32]string{
0: "TIER_UNSPECIFIED",
1: "DEFAULT",
2: "TIER_1",
}
NetworkPerformanceConfig_Tier_value = map[string]int32{
"TIER_UNSPECIFIED": 0,
"DEFAULT": 1,
"TIER_1": 2,
}
)Enum value maps for NetworkPerformanceConfig_Tier.
AccessConfig_AccessType_name, AccessConfig_AccessType_value
var (
AccessConfig_AccessType_name = map[int32]string{
0: "ACCESS_TYPE_UNSPECIFIED",
1: "ONE_TO_ONE_NAT",
2: "DIRECT_IPV6",
}
AccessConfig_AccessType_value = map[string]int32{
"ACCESS_TYPE_UNSPECIFIED": 0,
"ONE_TO_ONE_NAT": 1,
"DIRECT_IPV6": 2,
}
)Enum value maps for AccessConfig_AccessType.
AccessConfig_NetworkTier_name, AccessConfig_NetworkTier_value
var (
AccessConfig_NetworkTier_name = map[int32]string{
0: "NETWORK_TIER_UNSPECIFIED",
1: "PREMIUM",
2: "STANDARD",
}
AccessConfig_NetworkTier_value = map[string]int32{
"NETWORK_TIER_UNSPECIFIED": 0,
"PREMIUM": 1,
"STANDARD": 2,
}
)Enum value maps for AccessConfig_NetworkTier.
AllocationAffinity_Type_name, AllocationAffinity_Type_value
var (
AllocationAffinity_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "NO_RESERVATION",
2: "ANY_RESERVATION",
3: "SPECIFIC_RESERVATION",
}
AllocationAffinity_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"NO_RESERVATION": 1,
"ANY_RESERVATION": 2,
"SPECIFIC_RESERVATION": 3,
}
)Enum value maps for AllocationAffinity_Type.
Scheduling_OnHostMaintenance_name, Scheduling_OnHostMaintenance_value
var (
Scheduling_OnHostMaintenance_name = map[int32]string{
0: "ON_HOST_MAINTENANCE_UNSPECIFIED",
1: "TERMINATE",
1000: "MIGRATE",
}
Scheduling_OnHostMaintenance_value = map[string]int32{
"ON_HOST_MAINTENANCE_UNSPECIFIED": 0,
"TERMINATE": 1,
"MIGRATE": 1000,
}
)Enum value maps for Scheduling_OnHostMaintenance.
Scheduling_ProvisioningModel_name, Scheduling_ProvisioningModel_value
var (
Scheduling_ProvisioningModel_name = map[int32]string{
0: "PROVISIONING_MODEL_UNSPECIFIED",
1: "STANDARD",
2: "SPOT",
}
Scheduling_ProvisioningModel_value = map[string]int32{
"PROVISIONING_MODEL_UNSPECIFIED": 0,
"STANDARD": 1,
"SPOT": 2,
}
)Enum value maps for Scheduling_ProvisioningModel.
Scheduling_InstanceTerminationAction_name, Scheduling_InstanceTerminationAction_value
var (
Scheduling_InstanceTerminationAction_name = map[int32]string{
0: "INSTANCE_TERMINATION_ACTION_UNSPECIFIED",
1: "DELETE",
2: "STOP",
}
Scheduling_InstanceTerminationAction_value = map[string]int32{
"INSTANCE_TERMINATION_ACTION_UNSPECIFIED": 0,
"DELETE": 1,
"STOP": 2,
}
)Enum value maps for Scheduling_InstanceTerminationAction.
Scheduling_NodeAffinity_Operator_name, Scheduling_NodeAffinity_Operator_value
var (
Scheduling_NodeAffinity_Operator_name = map[int32]string{
0: "OPERATOR_UNSPECIFIED",
1: "IN",
2: "NOT_IN",
}
Scheduling_NodeAffinity_Operator_value = map[string]int32{
"OPERATOR_UNSPECIFIED": 0,
"IN": 1,
"NOT_IN": 2,
}
)Enum value maps for Scheduling_NodeAffinity_Operator.
AttachedDisk_DiskType_name, AttachedDisk_DiskType_value
var (
AttachedDisk_DiskType_name = map[int32]string{
0: "DISK_TYPE_UNSPECIFIED",
1: "SCRATCH",
2: "PERSISTENT",
}
AttachedDisk_DiskType_value = map[string]int32{
"DISK_TYPE_UNSPECIFIED": 0,
"SCRATCH": 1,
"PERSISTENT": 2,
}
)Enum value maps for AttachedDisk_DiskType.
AttachedDisk_DiskMode_name, AttachedDisk_DiskMode_value
var (
AttachedDisk_DiskMode_name = map[int32]string{
0: "DISK_MODE_UNSPECIFIED",
1: "READ_WRITE",
2: "READ_ONLY",
3: "LOCKED",
}
AttachedDisk_DiskMode_value = map[string]int32{
"DISK_MODE_UNSPECIFIED": 0,
"READ_WRITE": 1,
"READ_ONLY": 2,
"LOCKED": 3,
}
)Enum value maps for AttachedDisk_DiskMode.
AttachedDisk_DiskInterface_name, AttachedDisk_DiskInterface_value
var (
AttachedDisk_DiskInterface_name = map[int32]string{
0: "DISK_INTERFACE_UNSPECIFIED",
1: "SCSI",
2: "NVME",
3: "NVDIMM",
4: "ISCSI",
}
AttachedDisk_DiskInterface_value = map[string]int32{
"DISK_INTERFACE_UNSPECIFIED": 0,
"SCSI": 1,
"NVME": 2,
"NVDIMM": 3,
"ISCSI": 4,
}
)Enum value maps for AttachedDisk_DiskInterface.
AttachedDisk_DiskSavedState_name, AttachedDisk_DiskSavedState_value
var (
AttachedDisk_DiskSavedState_name = map[int32]string{
0: "DISK_SAVED_STATE_UNSPECIFIED",
1: "PRESERVED",
}
AttachedDisk_DiskSavedState_value = map[string]int32{
"DISK_SAVED_STATE_UNSPECIFIED": 0,
"PRESERVED": 1,
}
)Enum value maps for AttachedDisk_DiskSavedState.
GuestOsFeature_FeatureType_name, GuestOsFeature_FeatureType_value
var (
GuestOsFeature_FeatureType_name = map[int32]string{
0: "FEATURE_TYPE_UNSPECIFIED",
1: "VIRTIO_SCSI_MULTIQUEUE",
2: "WINDOWS",
3: "MULTI_IP_SUBNET",
4: "UEFI_COMPATIBLE",
5: "SECURE_BOOT",
6: "GVNIC",
7: "SEV_CAPABLE",
8: "BARE_METAL_LINUX_COMPATIBLE",
9: "SUSPEND_RESUME_COMPATIBLE",
10: "SEV_LIVE_MIGRATABLE",
11: "SEV_SNP_CAPABLE",
12: "TDX_CAPABLE",
13: "IDPF",
14: "SEV_LIVE_MIGRATABLE_V2",
}
GuestOsFeature_FeatureType_value = map[string]int32{
"FEATURE_TYPE_UNSPECIFIED": 0,
"VIRTIO_SCSI_MULTIQUEUE": 1,
"WINDOWS": 2,
"MULTI_IP_SUBNET": 3,
"UEFI_COMPATIBLE": 4,
"SECURE_BOOT": 5,
"GVNIC": 6,
"SEV_CAPABLE": 7,
"BARE_METAL_LINUX_COMPATIBLE": 8,
"SUSPEND_RESUME_COMPATIBLE": 9,
"SEV_LIVE_MIGRATABLE": 10,
"SEV_SNP_CAPABLE": 11,
"TDX_CAPABLE": 12,
"IDPF": 13,
"SEV_LIVE_MIGRATABLE_V2": 14,
}
)Enum value maps for GuestOsFeature_FeatureType.
BackupDR_ServiceDesc
var BackupDR_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.backupdr.v1.BackupDR",
HandlerType: (*BackupDRServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListManagementServers",
Handler: _BackupDR_ListManagementServers_Handler,
},
{
MethodName: "GetManagementServer",
Handler: _BackupDR_GetManagementServer_Handler,
},
{
MethodName: "CreateManagementServer",
Handler: _BackupDR_CreateManagementServer_Handler,
},
{
MethodName: "DeleteManagementServer",
Handler: _BackupDR_DeleteManagementServer_Handler,
},
{
MethodName: "CreateBackupVault",
Handler: _BackupDR_CreateBackupVault_Handler,
},
{
MethodName: "ListBackupVaults",
Handler: _BackupDR_ListBackupVaults_Handler,
},
{
MethodName: "FetchUsableBackupVaults",
Handler: _BackupDR_FetchUsableBackupVaults_Handler,
},
{
MethodName: "GetBackupVault",
Handler: _BackupDR_GetBackupVault_Handler,
},
{
MethodName: "UpdateBackupVault",
Handler: _BackupDR_UpdateBackupVault_Handler,
},
{
MethodName: "DeleteBackupVault",
Handler: _BackupDR_DeleteBackupVault_Handler,
},
{
MethodName: "ListDataSources",
Handler: _BackupDR_ListDataSources_Handler,
},
{
MethodName: "GetDataSource",
Handler: _BackupDR_GetDataSource_Handler,
},
{
MethodName: "UpdateDataSource",
Handler: _BackupDR_UpdateDataSource_Handler,
},
{
MethodName: "ListBackups",
Handler: _BackupDR_ListBackups_Handler,
},
{
MethodName: "GetBackup",
Handler: _BackupDR_GetBackup_Handler,
},
{
MethodName: "UpdateBackup",
Handler: _BackupDR_UpdateBackup_Handler,
},
{
MethodName: "DeleteBackup",
Handler: _BackupDR_DeleteBackup_Handler,
},
{
MethodName: "RestoreBackup",
Handler: _BackupDR_RestoreBackup_Handler,
},
{
MethodName: "CreateBackupPlan",
Handler: _BackupDR_CreateBackupPlan_Handler,
},
{
MethodName: "UpdateBackupPlan",
Handler: _BackupDR_UpdateBackupPlan_Handler,
},
{
MethodName: "GetBackupPlan",
Handler: _BackupDR_GetBackupPlan_Handler,
},
{
MethodName: "ListBackupPlans",
Handler: _BackupDR_ListBackupPlans_Handler,
},
{
MethodName: "DeleteBackupPlan",
Handler: _BackupDR_DeleteBackupPlan_Handler,
},
{
MethodName: "GetBackupPlanRevision",
Handler: _BackupDR_GetBackupPlanRevision_Handler,
},
{
MethodName: "ListBackupPlanRevisions",
Handler: _BackupDR_ListBackupPlanRevisions_Handler,
},
{
MethodName: "CreateBackupPlanAssociation",
Handler: _BackupDR_CreateBackupPlanAssociation_Handler,
},
{
MethodName: "UpdateBackupPlanAssociation",
Handler: _BackupDR_UpdateBackupPlanAssociation_Handler,
},
{
MethodName: "GetBackupPlanAssociation",
Handler: _BackupDR_GetBackupPlanAssociation_Handler,
},
{
MethodName: "ListBackupPlanAssociations",
Handler: _BackupDR_ListBackupPlanAssociations_Handler,
},
{
MethodName: "FetchBackupPlanAssociationsForResourceType",
Handler: _BackupDR_FetchBackupPlanAssociationsForResourceType_Handler,
},
{
MethodName: "DeleteBackupPlanAssociation",
Handler: _BackupDR_DeleteBackupPlanAssociation_Handler,
},
{
MethodName: "TriggerBackup",
Handler: _BackupDR_TriggerBackup_Handler,
},
{
MethodName: "GetDataSourceReference",
Handler: _BackupDR_GetDataSourceReference_Handler,
},
{
MethodName: "FetchDataSourceReferencesForResourceType",
Handler: _BackupDR_FetchDataSourceReferencesForResourceType_Handler,
},
{
MethodName: "InitializeService",
Handler: _BackupDR_InitializeService_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/backupdr/v1/backupdr.proto",
}BackupDR_ServiceDesc is the grpc.ServiceDesc for BackupDR service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_backupdr_v1_backupdr_proto
var File_google_cloud_backupdr_v1_backupdr_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupplan_proto
var File_google_cloud_backupdr_v1_backupplan_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupplanassociation_proto
var File_google_cloud_backupdr_v1_backupplanassociation_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupvault_ba_proto
var File_google_cloud_backupdr_v1_backupvault_ba_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupvault_cloudsql_proto
var File_google_cloud_backupdr_v1_backupvault_cloudsql_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupvault_disk_proto
var File_google_cloud_backupdr_v1_backupvault_disk_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupvault_gce_proto
var File_google_cloud_backupdr_v1_backupvault_gce_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_backupvault_proto
var File_google_cloud_backupdr_v1_backupvault_proto protoreflect.FileDescriptorFile_google_cloud_backupdr_v1_datasourcereference_proto
var File_google_cloud_backupdr_v1_datasourcereference_proto protoreflect.FileDescriptorFunctions
func RegisterBackupDRServer
func RegisterBackupDRServer(s grpc.ServiceRegistrar, srv BackupDRServer)AcceleratorConfig
type AcceleratorConfig struct {
// Optional. Full or partial URL of the accelerator type resource to attach to
// this instance.
AcceleratorType *string `protobuf:"bytes,1,opt,name=accelerator_type,json=acceleratorType,proto3,oneof" json:"accelerator_type,omitempty"`
// Optional. The number of the guest accelerator cards exposed to this
// instance.
AcceleratorCount *int32 `protobuf:"varint,2,opt,name=accelerator_count,json=acceleratorCount,proto3,oneof" json:"accelerator_count,omitempty"`
// contains filtered or unexported fields
}A specification of the type and number of accelerator cards attached to the instance.
func (*AcceleratorConfig) Descriptor
func (*AcceleratorConfig) Descriptor() ([]byte, []int)Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.
func (*AcceleratorConfig) GetAcceleratorCount
func (x *AcceleratorConfig) GetAcceleratorCount() int32func (*AcceleratorConfig) GetAcceleratorType
func (x *AcceleratorConfig) GetAcceleratorType() stringfunc (*AcceleratorConfig) ProtoMessage
func (*AcceleratorConfig) ProtoMessage()func (*AcceleratorConfig) ProtoReflect
func (x *AcceleratorConfig) ProtoReflect() protoreflect.Messagefunc (*AcceleratorConfig) Reset
func (x *AcceleratorConfig) Reset()func (*AcceleratorConfig) String
func (x *AcceleratorConfig) String() stringAccessConfig
type AccessConfig struct {
// Optional. In accessConfigs (IPv4), the
// default and only option is ONE_TO_ONE_NAT. In
// ipv6AccessConfigs, the default and only option is
// DIRECT_IPV6.
Type *AccessConfig_AccessType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.backupdr.v1.AccessConfig_AccessType,oneof" json:"type,omitempty"`
// Optional. The name of this access configuration.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. The external IP address of this access configuration.
ExternalIp *string `protobuf:"bytes,3,opt,name=external_ip,json=natIP,proto3,oneof" json:"external_ip,omitempty"`
// Optional. The external IPv6 address of this access configuration.
ExternalIpv6 *string `protobuf:"bytes,4,opt,name=external_ipv6,json=externalIpv6,proto3,oneof" json:"external_ipv6,omitempty"`
// Optional. The prefix length of the external IPv6 range.
ExternalIpv6PrefixLength *int32 `protobuf:"varint,5,opt,name=external_ipv6_prefix_length,json=externalIpv6PrefixLength,proto3,oneof" json:"external_ipv6_prefix_length,omitempty"`
// Optional. Specifies whether a public DNS 'PTR' record should be created to
// map the external IP address of the instance to a DNS domain name.
SetPublicPtr *bool `protobuf:"varint,6,opt,name=set_public_ptr,json=setPublicPtr,proto3,oneof" json:"set_public_ptr,omitempty"`
// Optional. The DNS domain name for the public PTR record.
PublicPtrDomainName *string `protobuf:"bytes,7,opt,name=public_ptr_domain_name,json=publicPtrDomainName,proto3,oneof" json:"public_ptr_domain_name,omitempty"`
// Optional. This signifies the networking tier used for configuring this
// access
NetworkTier *AccessConfig_NetworkTier `protobuf:"varint,8,opt,name=network_tier,json=networkTier,proto3,enum=google.cloud.backupdr.v1.AccessConfig_NetworkTier,oneof" json:"network_tier,omitempty"`
// contains filtered or unexported fields
}An access configuration attached to an instance's network interface. Only one access config per instance is supported.
func (*AccessConfig) Descriptor
func (*AccessConfig) Descriptor() ([]byte, []int)Deprecated: Use AccessConfig.ProtoReflect.Descriptor instead.
func (*AccessConfig) GetExternalIp
func (x *AccessConfig) GetExternalIp() stringfunc (*AccessConfig) GetExternalIpv6
func (x *AccessConfig) GetExternalIpv6() stringfunc (*AccessConfig) GetExternalIpv6PrefixLength
func (x *AccessConfig) GetExternalIpv6PrefixLength() int32func (*AccessConfig) GetName
func (x *AccessConfig) GetName() stringfunc (*AccessConfig) GetNetworkTier
func (x *AccessConfig) GetNetworkTier() AccessConfig_NetworkTierfunc (*AccessConfig) GetPublicPtrDomainName
func (x *AccessConfig) GetPublicPtrDomainName() stringfunc (*AccessConfig) GetSetPublicPtr
func (x *AccessConfig) GetSetPublicPtr() boolfunc (*AccessConfig) GetType
func (x *AccessConfig) GetType() AccessConfig_AccessTypefunc (*AccessConfig) ProtoMessage
func (*AccessConfig) ProtoMessage()func (*AccessConfig) ProtoReflect
func (x *AccessConfig) ProtoReflect() protoreflect.Messagefunc (*AccessConfig) Reset
func (x *AccessConfig) Reset()func (*AccessConfig) String
func (x *AccessConfig) String() stringAccessConfig_AccessType
type AccessConfig_AccessType int32The type of configuration.
AccessConfig_ACCESS_TYPE_UNSPECIFIED, AccessConfig_ONE_TO_ONE_NAT, AccessConfig_DIRECT_IPV6
const (
// Default value. This value is unused.
AccessConfig_ACCESS_TYPE_UNSPECIFIED AccessConfig_AccessType = 0
// ONE_TO_ONE_NAT
AccessConfig_ONE_TO_ONE_NAT AccessConfig_AccessType = 1
// Direct IPv6 access.
AccessConfig_DIRECT_IPV6 AccessConfig_AccessType = 2
)func (AccessConfig_AccessType) Descriptor
func (AccessConfig_AccessType) Descriptor() protoreflect.EnumDescriptorfunc (AccessConfig_AccessType) Enum
func (x AccessConfig_AccessType) Enum() *AccessConfig_AccessTypefunc (AccessConfig_AccessType) EnumDescriptor
func (AccessConfig_AccessType) EnumDescriptor() ([]byte, []int)Deprecated: Use AccessConfig_AccessType.Descriptor instead.
func (AccessConfig_AccessType) Number
func (x AccessConfig_AccessType) Number() protoreflect.EnumNumberfunc (AccessConfig_AccessType) String
func (x AccessConfig_AccessType) String() stringfunc (AccessConfig_AccessType) Type
func (AccessConfig_AccessType) Type() protoreflect.EnumTypeAccessConfig_NetworkTier
type AccessConfig_NetworkTier int32Network tier property used by addresses, instances and forwarding rules.
AccessConfig_NETWORK_TIER_UNSPECIFIED, AccessConfig_PREMIUM, AccessConfig_STANDARD
const (
// Default value. This value is unused.
AccessConfig_NETWORK_TIER_UNSPECIFIED AccessConfig_NetworkTier = 0
// High quality, Google-grade network tier, support for all networking
// products.
AccessConfig_PREMIUM AccessConfig_NetworkTier = 1
// Public internet quality, only limited support for other networking
// products.
AccessConfig_STANDARD AccessConfig_NetworkTier = 2
)func (AccessConfig_NetworkTier) Descriptor
func (AccessConfig_NetworkTier) Descriptor() protoreflect.EnumDescriptorfunc (AccessConfig_NetworkTier) Enum
func (x AccessConfig_NetworkTier) Enum() *AccessConfig_NetworkTierfunc (AccessConfig_NetworkTier) EnumDescriptor
func (AccessConfig_NetworkTier) EnumDescriptor() ([]byte, []int)Deprecated: Use AccessConfig_NetworkTier.Descriptor instead.
func (AccessConfig_NetworkTier) Number
func (x AccessConfig_NetworkTier) Number() protoreflect.EnumNumberfunc (AccessConfig_NetworkTier) String
func (x AccessConfig_NetworkTier) String() stringfunc (AccessConfig_NetworkTier) Type
func (AccessConfig_NetworkTier) Type() protoreflect.EnumTypeAdvancedMachineFeatures
type AdvancedMachineFeatures struct {
// Optional. Whether to enable nested virtualization or not (default is
// false).
EnableNestedVirtualization *bool `protobuf:"varint,1,opt,name=enable_nested_virtualization,json=enableNestedVirtualization,proto3,oneof" json:"enable_nested_virtualization,omitempty"`
// Optional. The number of threads per physical core. To disable simultaneous
// multithreading (SMT) set this to 1. If unset, the maximum number
// of threads supported per core by the underlying processor is
// assumed.
ThreadsPerCore *int32 `protobuf:"varint,2,opt,name=threads_per_core,json=threadsPerCore,proto3,oneof" json:"threads_per_core,omitempty"`
// Optional. The number of physical cores to expose to an instance. Multiply
// by the number of threads per core to compute the total number of virtual
// CPUs to expose to the instance. If unset, the number of cores is
// inferred from the instance's nominal CPU count and the underlying
// platform's SMT width.
VisibleCoreCount *int32 `protobuf:"varint,3,opt,name=visible_core_count,json=visibleCoreCount,proto3,oneof" json:"visible_core_count,omitempty"`
// Optional. Whether to enable UEFI networking for instance creation.
EnableUefiNetworking *bool `protobuf:"varint,4,opt,name=enable_uefi_networking,json=enableUefiNetworking,proto3,oneof" json:"enable_uefi_networking,omitempty"`
// contains filtered or unexported fields
}Specifies options for controlling advanced machine features.
func (*AdvancedMachineFeatures) Descriptor
func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.
func (*AdvancedMachineFeatures) GetEnableNestedVirtualization
func (x *AdvancedMachineFeatures) GetEnableNestedVirtualization() boolfunc (*AdvancedMachineFeatures) GetEnableUefiNetworking
func (x *AdvancedMachineFeatures) GetEnableUefiNetworking() boolfunc (*AdvancedMachineFeatures) GetThreadsPerCore
func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32func (*AdvancedMachineFeatures) GetVisibleCoreCount
func (x *AdvancedMachineFeatures) GetVisibleCoreCount() int32func (*AdvancedMachineFeatures) ProtoMessage
func (*AdvancedMachineFeatures) ProtoMessage()func (*AdvancedMachineFeatures) ProtoReflect
func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Messagefunc (*AdvancedMachineFeatures) Reset
func (x *AdvancedMachineFeatures) Reset()func (*AdvancedMachineFeatures) String
func (x *AdvancedMachineFeatures) String() stringAliasIpRange
type AliasIpRange struct {
// Optional. The IP alias ranges to allocate for this interface.
IpCidrRange *string `protobuf:"bytes,1,opt,name=ip_cidr_range,json=ipCidrRange,proto3,oneof" json:"ip_cidr_range,omitempty"`
// Optional. The name of a subnetwork secondary IP range from which to
// allocate an IP alias range. If not specified, the primary range of the
// subnetwork is used.
SubnetworkRangeName *string `protobuf:"bytes,2,opt,name=subnetwork_range_name,json=subnetworkRangeName,proto3,oneof" json:"subnetwork_range_name,omitempty"`
// contains filtered or unexported fields
}An alias IP range attached to an instance's network interface.
func (*AliasIpRange) Descriptor
func (*AliasIpRange) Descriptor() ([]byte, []int)Deprecated: Use AliasIpRange.ProtoReflect.Descriptor instead.
func (*AliasIpRange) GetIpCidrRange
func (x *AliasIpRange) GetIpCidrRange() stringfunc (*AliasIpRange) GetSubnetworkRangeName
func (x *AliasIpRange) GetSubnetworkRangeName() stringfunc (*AliasIpRange) ProtoMessage
func (*AliasIpRange) ProtoMessage()func (*AliasIpRange) ProtoReflect
func (x *AliasIpRange) ProtoReflect() protoreflect.Messagefunc (*AliasIpRange) Reset
func (x *AliasIpRange) Reset()func (*AliasIpRange) String
func (x *AliasIpRange) String() stringAllocationAffinity
type AllocationAffinity struct {
// Optional. Specifies the type of reservation from which this instance can
// consume
ConsumeAllocationType *AllocationAffinity_Type `protobuf:"varint,1,opt,name=consume_allocation_type,json=consumeReservationType,proto3,enum=google.cloud.backupdr.v1.AllocationAffinity_Type,oneof" json:"consume_allocation_type,omitempty"`
// Optional. Corresponds to the label key of a reservation resource.
Key *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Corresponds to the label values of a reservation resource.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}Specifies the reservations that this instance can consume from.
func (*AllocationAffinity) Descriptor
func (*AllocationAffinity) Descriptor() ([]byte, []int)Deprecated: Use AllocationAffinity.ProtoReflect.Descriptor instead.
func (*AllocationAffinity) GetConsumeAllocationType
func (x *AllocationAffinity) GetConsumeAllocationType() AllocationAffinity_Typefunc (*AllocationAffinity) GetKey
func (x *AllocationAffinity) GetKey() stringfunc (*AllocationAffinity) GetValues
func (x *AllocationAffinity) GetValues() []stringfunc (*AllocationAffinity) ProtoMessage
func (*AllocationAffinity) ProtoMessage()func (*AllocationAffinity) ProtoReflect
func (x *AllocationAffinity) ProtoReflect() protoreflect.Messagefunc (*AllocationAffinity) Reset
func (x *AllocationAffinity) Reset()func (*AllocationAffinity) String
func (x *AllocationAffinity) String() stringAllocationAffinity_Type
type AllocationAffinity_Type int32Indicates whether to consume from a reservation or not.
AllocationAffinity_TYPE_UNSPECIFIED, AllocationAffinity_NO_RESERVATION, AllocationAffinity_ANY_RESERVATION, AllocationAffinity_SPECIFIC_RESERVATION
const (
// Default value. This value is unused.
AllocationAffinity_TYPE_UNSPECIFIED AllocationAffinity_Type = 0
// Do not consume from any allocated capacity.
AllocationAffinity_NO_RESERVATION AllocationAffinity_Type = 1
// Consume any allocation available.
AllocationAffinity_ANY_RESERVATION AllocationAffinity_Type = 2
// Must consume from a specific reservation. Must specify key value fields
// for specifying the reservations.
AllocationAffinity_SPECIFIC_RESERVATION AllocationAffinity_Type = 3
)func (AllocationAffinity_Type) Descriptor
func (AllocationAffinity_Type) Descriptor() protoreflect.EnumDescriptorfunc (AllocationAffinity_Type) Enum
func (x AllocationAffinity_Type) Enum() *AllocationAffinity_Typefunc (AllocationAffinity_Type) EnumDescriptor
func (AllocationAffinity_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use AllocationAffinity_Type.Descriptor instead.
func (AllocationAffinity_Type) Number
func (x AllocationAffinity_Type) Number() protoreflect.EnumNumberfunc (AllocationAffinity_Type) String
func (x AllocationAffinity_Type) String() stringfunc (AllocationAffinity_Type) Type
func (AllocationAffinity_Type) Type() protoreflect.EnumTypeAttachedDisk
type AttachedDisk struct {
// Optional. Specifies the parameters to initialize this disk.
InitializeParams *AttachedDisk_InitializeParams `protobuf:"bytes,1,opt,name=initialize_params,json=initializeParams,proto3,oneof" json:"initialize_params,omitempty"`
// Optional. This is used as an identifier for the disks. This is the unique
// name has to provided to modify disk parameters like disk_name and
// replica_zones (in case of RePDs)
DeviceName *string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3,oneof" json:"device_name,omitempty"`
// Optional. Type of the resource.
Kind *string `protobuf:"bytes,5,opt,name=kind,proto3,oneof" json:"kind,omitempty"`
// Specifies the type of the disk.
//
// Deprecated: Marked as deprecated in google/cloud/backupdr/v1/backupvault_gce.proto.
DiskTypeDeprecated *AttachedDisk_DiskType `protobuf:"varint,6,opt,name=disk_type_deprecated,json=diskTypeDeprecated,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskType,oneof" json:"disk_type_deprecated,omitempty"`
// Optional. The mode in which to attach this disk.
Mode *AttachedDisk_DiskMode `protobuf:"varint,7,opt,name=mode,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskMode,oneof" json:"mode,omitempty"`
// Optional. Specifies a valid partial or full URL to an existing Persistent
// Disk resource.
Source *string `protobuf:"bytes,8,opt,name=source,proto3,oneof" json:"source,omitempty"`
// Optional. A zero-based index to this disk, where 0 is reserved for the
// boot disk.
Index *int64 `protobuf:"varint,9,opt,name=index,proto3,oneof" json:"index,omitempty"`
// Optional. Indicates that this is a boot disk. The virtual machine will use
// the first partition of the disk for its root filesystem.
Boot *bool `protobuf:"varint,10,opt,name=boot,proto3,oneof" json:"boot,omitempty"`
// Optional. Specifies whether the disk will be auto-deleted when the instance
// is deleted (but not when the disk is detached from the instance).
AutoDelete *bool `protobuf:"varint,11,opt,name=auto_delete,json=autoDelete,proto3,oneof" json:"auto_delete,omitempty"`
// Optional. Any valid publicly visible licenses.
License []string `protobuf:"bytes,12,rep,name=license,proto3" json:"license,omitempty"`
// Optional. Specifies the disk interface to use for attaching this disk.
DiskInterface *AttachedDisk_DiskInterface `protobuf:"varint,13,opt,name=disk_interface,json=diskInterface,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskInterface,oneof" json:"disk_interface,omitempty"`
// Optional. A list of features to enable on the guest operating system.
// Applicable only for bootable images.
GuestOsFeature []*GuestOsFeature `protobuf:"bytes,14,rep,name=guest_os_feature,json=guestOsFeature,proto3" json:"guest_os_feature,omitempty"`
// Optional. Encrypts or decrypts a disk using a customer-supplied
// encryption key.
DiskEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,15,opt,name=disk_encryption_key,json=diskEncryptionKey,proto3,oneof" json:"disk_encryption_key,omitempty"`
// Optional. The size of the disk in GB.
DiskSizeGb *int64 `protobuf:"varint,16,opt,name=disk_size_gb,json=diskSizeGb,proto3,oneof" json:"disk_size_gb,omitempty"`
// Optional. Output only. The state of the disk.
SavedState *AttachedDisk_DiskSavedState `protobuf:"varint,17,opt,name=saved_state,json=savedState,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskSavedState,oneof" json:"saved_state,omitempty"`
// Optional. Output only. The URI of the disk type resource. For example:
// projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
DiskType *string `protobuf:"bytes,18,opt,name=disk_type,json=diskType,proto3,oneof" json:"disk_type,omitempty"`
// Optional. Specifies the type of the disk.
Type *AttachedDisk_DiskType `protobuf:"varint,19,opt,name=type,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskType,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}An instance-attached disk resource.
func (*AttachedDisk) Descriptor
func (*AttachedDisk) Descriptor() ([]byte, []int)Deprecated: Use AttachedDisk.ProtoReflect.Descriptor instead.
func (*AttachedDisk) GetAutoDelete
func (x *AttachedDisk) GetAutoDelete() boolfunc (*AttachedDisk) GetBoot
func (x *AttachedDisk) GetBoot() boolfunc (*AttachedDisk) GetDeviceName
func (x *AttachedDisk) GetDeviceName() stringfunc (*AttachedDisk) GetDiskEncryptionKey
func (x *AttachedDisk) GetDiskEncryptionKey() *CustomerEncryptionKeyfunc (*AttachedDisk) GetDiskInterface
func (x *AttachedDisk) GetDiskInterface() AttachedDisk_DiskInterfacefunc (*AttachedDisk) GetDiskSizeGb
func (x *AttachedDisk) GetDiskSizeGb() int64func (*AttachedDisk) GetDiskType
func (x *AttachedDisk) GetDiskType() stringfunc (*AttachedDisk) GetDiskTypeDeprecated
func (x *AttachedDisk) GetDiskTypeDeprecated() AttachedDisk_DiskTypeDeprecated: Marked as deprecated in google/cloud/backupdr/v1/backupvault_gce.proto.
func (*AttachedDisk) GetGuestOsFeature
func (x *AttachedDisk) GetGuestOsFeature() []*GuestOsFeaturefunc (*AttachedDisk) GetIndex
func (x *AttachedDisk) GetIndex() int64func (*AttachedDisk) GetInitializeParams
func (x *AttachedDisk) GetInitializeParams() *AttachedDisk_InitializeParamsfunc (*AttachedDisk) GetKind
func (x *AttachedDisk) GetKind() stringfunc (*AttachedDisk) GetLicense
func (x *AttachedDisk) GetLicense() []stringfunc (*AttachedDisk) GetMode
func (x *AttachedDisk) GetMode() AttachedDisk_DiskModefunc (*AttachedDisk) GetSavedState
func (x *AttachedDisk) GetSavedState() AttachedDisk_DiskSavedStatefunc (*AttachedDisk) GetSource
func (x *AttachedDisk) GetSource() stringfunc (*AttachedDisk) GetType
func (x *AttachedDisk) GetType() AttachedDisk_DiskTypefunc (*AttachedDisk) ProtoMessage
func (*AttachedDisk) ProtoMessage()func (*AttachedDisk) ProtoReflect
func (x *AttachedDisk) ProtoReflect() protoreflect.Messagefunc (*AttachedDisk) Reset
func (x *AttachedDisk) Reset()func (*AttachedDisk) String
func (x *AttachedDisk) String() stringAttachedDisk_DiskInterface
type AttachedDisk_DiskInterface int32List of the Disk Interfaces.
AttachedDisk_DISK_INTERFACE_UNSPECIFIED, AttachedDisk_SCSI, AttachedDisk_NVME, AttachedDisk_NVDIMM, AttachedDisk_ISCSI
const (
// Default value, which is unused.
AttachedDisk_DISK_INTERFACE_UNSPECIFIED AttachedDisk_DiskInterface = 0
// SCSI Disk Interface.
AttachedDisk_SCSI AttachedDisk_DiskInterface = 1
// NVME Disk Interface.
AttachedDisk_NVME AttachedDisk_DiskInterface = 2
// NVDIMM Disk Interface.
AttachedDisk_NVDIMM AttachedDisk_DiskInterface = 3
// ISCSI Disk Interface.
AttachedDisk_ISCSI AttachedDisk_DiskInterface = 4
)func (AttachedDisk_DiskInterface) Descriptor
func (AttachedDisk_DiskInterface) Descriptor() protoreflect.EnumDescriptorfunc (AttachedDisk_DiskInterface) Enum
func (x AttachedDisk_DiskInterface) Enum() *AttachedDisk_DiskInterfacefunc (AttachedDisk_DiskInterface) EnumDescriptor
func (AttachedDisk_DiskInterface) EnumDescriptor() ([]byte, []int)Deprecated: Use AttachedDisk_DiskInterface.Descriptor instead.
func (AttachedDisk_DiskInterface) Number
func (x AttachedDisk_DiskInterface) Number() protoreflect.EnumNumberfunc (AttachedDisk_DiskInterface) String
func (x AttachedDisk_DiskInterface) String() stringfunc (AttachedDisk_DiskInterface) Type
func (AttachedDisk_DiskInterface) Type() protoreflect.EnumTypeAttachedDisk_DiskMode
type AttachedDisk_DiskMode int32List of the Disk Modes.
AttachedDisk_DISK_MODE_UNSPECIFIED, AttachedDisk_READ_WRITE, AttachedDisk_READ_ONLY, AttachedDisk_LOCKED
const (
// Default value, which is unused.
AttachedDisk_DISK_MODE_UNSPECIFIED AttachedDisk_DiskMode = 0
// Attaches this disk in read-write mode. Only one
// virtual machine at a time can be attached to a disk in read-write mode.
AttachedDisk_READ_WRITE AttachedDisk_DiskMode = 1
// Attaches this disk in read-only mode. Multiple virtual machines can use
// a disk in read-only mode at a time.
AttachedDisk_READ_ONLY AttachedDisk_DiskMode = 2
// The disk is locked for administrative reasons. Nobody else
// can use the disk. This mode is used (for example) when taking
// a snapshot of a disk to prevent mounting the disk while it is
// being snapshotted.
AttachedDisk_LOCKED AttachedDisk_DiskMode = 3
)func (AttachedDisk_DiskMode) Descriptor
func (AttachedDisk_DiskMode) Descriptor() protoreflect.EnumDescriptorfunc (AttachedDisk_DiskMode) Enum
func (x AttachedDisk_DiskMode) Enum() *AttachedDisk_DiskModefunc (AttachedDisk_DiskMode) EnumDescriptor
func (AttachedDisk_DiskMode) EnumDescriptor() ([]byte, []int)Deprecated: Use AttachedDisk_DiskMode.Descriptor instead.
func (AttachedDisk_DiskMode) Number
func (x AttachedDisk_DiskMode) Number() protoreflect.EnumNumberfunc (AttachedDisk_DiskMode) String
func (x AttachedDisk_DiskMode) String() stringfunc (AttachedDisk_DiskMode) Type
func (AttachedDisk_DiskMode) Type() protoreflect.EnumTypeAttachedDisk_DiskSavedState
type AttachedDisk_DiskSavedState int32List of the states of the Disk.
AttachedDisk_DISK_SAVED_STATE_UNSPECIFIED, AttachedDisk_PRESERVED
const (
// Default Disk state has not been preserved.
AttachedDisk_DISK_SAVED_STATE_UNSPECIFIED AttachedDisk_DiskSavedState = 0
// Disk state has been preserved.
AttachedDisk_PRESERVED AttachedDisk_DiskSavedState = 1
)func (AttachedDisk_DiskSavedState) Descriptor
func (AttachedDisk_DiskSavedState) Descriptor() protoreflect.EnumDescriptorfunc (AttachedDisk_DiskSavedState) Enum
func (x AttachedDisk_DiskSavedState) Enum() *AttachedDisk_DiskSavedStatefunc (AttachedDisk_DiskSavedState) EnumDescriptor
func (AttachedDisk_DiskSavedState) EnumDescriptor() ([]byte, []int)Deprecated: Use AttachedDisk_DiskSavedState.Descriptor instead.
func (AttachedDisk_DiskSavedState) Number
func (x AttachedDisk_DiskSavedState) Number() protoreflect.EnumNumberfunc (AttachedDisk_DiskSavedState) String
func (x AttachedDisk_DiskSavedState) String() stringfunc (AttachedDisk_DiskSavedState) Type
func (AttachedDisk_DiskSavedState) Type() protoreflect.EnumTypeAttachedDisk_DiskType
type AttachedDisk_DiskType int32List of the Disk Types.
AttachedDisk_DISK_TYPE_UNSPECIFIED, AttachedDisk_SCRATCH, AttachedDisk_PERSISTENT
const (
// Default value, which is unused.
AttachedDisk_DISK_TYPE_UNSPECIFIED AttachedDisk_DiskType = 0
// A scratch disk type.
AttachedDisk_SCRATCH AttachedDisk_DiskType = 1
// A persistent disk type.
AttachedDisk_PERSISTENT AttachedDisk_DiskType = 2
)func (AttachedDisk_DiskType) Descriptor
func (AttachedDisk_DiskType) Descriptor() protoreflect.EnumDescriptorfunc (AttachedDisk_DiskType) Enum
func (x AttachedDisk_DiskType) Enum() *AttachedDisk_DiskTypefunc (AttachedDisk_DiskType) EnumDescriptor
func (AttachedDisk_DiskType) EnumDescriptor() ([]byte, []int)Deprecated: Use AttachedDisk_DiskType.Descriptor instead.
func (AttachedDisk_DiskType) Number
func (x AttachedDisk_DiskType) Number() protoreflect.EnumNumberfunc (AttachedDisk_DiskType) String
func (x AttachedDisk_DiskType) String() stringfunc (AttachedDisk_DiskType) Type
func (AttachedDisk_DiskType) Type() protoreflect.EnumTypeAttachedDisk_InitializeParams
type AttachedDisk_InitializeParams struct {
// Optional. Specifies the disk name. If not specified, the default is to
// use the name of the instance.
DiskName *string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3,oneof" json:"disk_name,omitempty"`
// Optional. URL of the zone where the disk should be created.
// Required for each regional disk associated with the instance.
ReplicaZones []string `protobuf:"bytes,2,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// contains filtered or unexported fields
}Specifies the parameters to initialize this disk.
func (*AttachedDisk_InitializeParams) Descriptor
func (*AttachedDisk_InitializeParams) Descriptor() ([]byte, []int)Deprecated: Use AttachedDisk_InitializeParams.ProtoReflect.Descriptor instead.
func (*AttachedDisk_InitializeParams) GetDiskName
func (x *AttachedDisk_InitializeParams) GetDiskName() stringfunc (*AttachedDisk_InitializeParams) GetReplicaZones
func (x *AttachedDisk_InitializeParams) GetReplicaZones() []stringfunc (*AttachedDisk_InitializeParams) ProtoMessage
func (*AttachedDisk_InitializeParams) ProtoMessage()func (*AttachedDisk_InitializeParams) ProtoReflect
func (x *AttachedDisk_InitializeParams) ProtoReflect() protoreflect.Messagefunc (*AttachedDisk_InitializeParams) Reset
func (x *AttachedDisk_InitializeParams) Reset()func (*AttachedDisk_InitializeParams) String
func (x *AttachedDisk_InitializeParams) String() stringBackup
type Backup struct {
// Output only. Identifier. Name of the backup to create. It must have the
// format`"projects/Message describing a Backup object.
func (*Backup) Descriptor
Deprecated: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupApplianceBackupProperties
func (x *Backup) GetBackupApplianceBackupProperties() *BackupApplianceBackupPropertiesfunc (*Backup) GetBackupApplianceLocks
func (x *Backup) GetBackupApplianceLocks() []*BackupLockfunc (*Backup) GetBackupProperties
func (m *Backup) GetBackupProperties() isBackup_BackupPropertiesfunc (*Backup) GetBackupType
func (x *Backup) GetBackupType() Backup_BackupTypefunc (*Backup) GetCloudSqlInstanceBackupProperties
func (x *Backup) GetCloudSqlInstanceBackupProperties() *CloudSqlInstanceBackupPropertiesfunc (*Backup) GetComputeInstanceBackupProperties
func (x *Backup) GetComputeInstanceBackupProperties() *ComputeInstanceBackupPropertiesfunc (*Backup) GetConsistencyTime
func (x *Backup) GetConsistencyTime() *timestamppb.Timestampfunc (*Backup) GetCreateTime
func (x *Backup) GetCreateTime() *timestamppb.Timestampfunc (*Backup) GetDescription
func (*Backup) GetDiskBackupProperties
func (x *Backup) GetDiskBackupProperties() *DiskBackupPropertiesfunc (*Backup) GetEnforcedRetentionEndTime
func (x *Backup) GetEnforcedRetentionEndTime() *timestamppb.Timestampfunc (*Backup) GetEtag
func (*Backup) GetExpireTime
func (x *Backup) GetExpireTime() *timestamppb.Timestampfunc (*Backup) GetGcpBackupPlanInfo
func (x *Backup) GetGcpBackupPlanInfo() *Backup_GCPBackupPlanInfofunc (*Backup) GetLabels
func (*Backup) GetName
func (*Backup) GetPlanInfo
func (m *Backup) GetPlanInfo() isBackup_PlanInfofunc (*Backup) GetResourceSizeBytes
func (*Backup) GetSatisfiesPzi
func (*Backup) GetSatisfiesPzs
func (*Backup) GetServiceLocks
func (x *Backup) GetServiceLocks() []*BackupLockfunc (*Backup) GetState
func (x *Backup) GetState() Backup_Statefunc (*Backup) GetUpdateTime
func (x *Backup) GetUpdateTime() *timestamppb.Timestampfunc (*Backup) ProtoMessage
func (*Backup) ProtoMessage()func (*Backup) ProtoReflect
func (x *Backup) ProtoReflect() protoreflect.Messagefunc (*Backup) Reset
func (x *Backup) Reset()func (*Backup) String
BackupApplianceBackupConfig
type BackupApplianceBackupConfig struct {
// The name of the backup appliance.
BackupApplianceName string `protobuf:"bytes,1,opt,name=backup_appliance_name,json=backupApplianceName,proto3" json:"backup_appliance_name,omitempty"`
// The ID of the backup appliance.
BackupApplianceId int64 `protobuf:"varint,2,opt,name=backup_appliance_id,json=backupApplianceId,proto3" json:"backup_appliance_id,omitempty"`
// The ID of the SLA of this application.
SlaId int64 `protobuf:"varint,3,opt,name=sla_id,json=slaId,proto3" json:"sla_id,omitempty"`
// The name of the application.
ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
// The name of the host where the application is running.
HostName string `protobuf:"bytes,5,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
// The name of the SLT associated with the application.
SltName string `protobuf:"bytes,6,opt,name=slt_name,json=sltName,proto3" json:"slt_name,omitempty"`
// The name of the SLP associated with the application.
SlpName string `protobuf:"bytes,7,opt,name=slp_name,json=slpName,proto3" json:"slp_name,omitempty"`
// contains filtered or unexported fields
}BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.
func (*BackupApplianceBackupConfig) Descriptor
func (*BackupApplianceBackupConfig) Descriptor() ([]byte, []int)Deprecated: Use BackupApplianceBackupConfig.ProtoReflect.Descriptor instead.
func (*BackupApplianceBackupConfig) GetApplicationName
func (x *BackupApplianceBackupConfig) GetApplicationName() stringfunc (*BackupApplianceBackupConfig) GetBackupApplianceId
func (x *BackupApplianceBackupConfig) GetBackupApplianceId() int64func (*BackupApplianceBackupConfig) GetBackupApplianceName
func (x *BackupApplianceBackupConfig) GetBackupApplianceName() stringfunc (*BackupApplianceBackupConfig) GetHostName
func (x *BackupApplianceBackupConfig) GetHostName() stringfunc (*BackupApplianceBackupConfig) GetSlaId
func (x *BackupApplianceBackupConfig) GetSlaId() int64func (*BackupApplianceBackupConfig) GetSlpName
func (x *BackupApplianceBackupConfig) GetSlpName() stringfunc (*BackupApplianceBackupConfig) GetSltName
func (x *BackupApplianceBackupConfig) GetSltName() stringfunc (*BackupApplianceBackupConfig) ProtoMessage
func (*BackupApplianceBackupConfig) ProtoMessage()func (*BackupApplianceBackupConfig) ProtoReflect
func (x *BackupApplianceBackupConfig) ProtoReflect() protoreflect.Messagefunc (*BackupApplianceBackupConfig) Reset
func (x *BackupApplianceBackupConfig) Reset()func (*BackupApplianceBackupConfig) String
func (x *BackupApplianceBackupConfig) String() stringBackupApplianceBackupProperties
type BackupApplianceBackupProperties struct {
// Output only. The numeric generation ID of the backup (monotonically
// increasing).
GenerationId *int32 `protobuf:"varint,1,opt,name=generation_id,json=generationId,proto3,oneof" json:"generation_id,omitempty"`
// Output only. The time when this backup object was finalized (if none,
// backup is not finalized).
FinalizeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=finalize_time,json=finalizeTime,proto3,oneof" json:"finalize_time,omitempty"`
// Optional. The earliest timestamp of data available in this Backup.
RecoveryRangeStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=recovery_range_start_time,json=recoveryRangeStartTime,proto3,oneof" json:"recovery_range_start_time,omitempty"`
// Optional. The latest timestamp of data available in this Backup.
RecoveryRangeEndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=recovery_range_end_time,json=recoveryRangeEndTime,proto3,oneof" json:"recovery_range_end_time,omitempty"`
// contains filtered or unexported fields
}BackupApplianceBackupProperties represents BackupDR backup appliance's properties.
func (*BackupApplianceBackupProperties) Descriptor
func (*BackupApplianceBackupProperties) Descriptor() ([]byte, []int)Deprecated: Use BackupApplianceBackupProperties.ProtoReflect.Descriptor instead.
func (*BackupApplianceBackupProperties) GetFinalizeTime
func (x *BackupApplianceBackupProperties) GetFinalizeTime() *timestamppb.Timestampfunc (*BackupApplianceBackupProperties) GetGenerationId
func (x *BackupApplianceBackupProperties) GetGenerationId() int32func (*BackupApplianceBackupProperties) GetRecoveryRangeEndTime
func (x *BackupApplianceBackupProperties) GetRecoveryRangeEndTime() *timestamppb.Timestampfunc (*BackupApplianceBackupProperties) GetRecoveryRangeStartTime
func (x *BackupApplianceBackupProperties) GetRecoveryRangeStartTime() *timestamppb.Timestampfunc (*BackupApplianceBackupProperties) ProtoMessage
func (*BackupApplianceBackupProperties) ProtoMessage()func (*BackupApplianceBackupProperties) ProtoReflect
func (x *BackupApplianceBackupProperties) ProtoReflect() protoreflect.Messagefunc (*BackupApplianceBackupProperties) Reset
func (x *BackupApplianceBackupProperties) Reset()func (*BackupApplianceBackupProperties) String
func (x *BackupApplianceBackupProperties) String() stringBackupApplianceLockInfo
type BackupApplianceLockInfo struct {
// Required. The ID of the backup/recovery appliance that created this lock.
BackupApplianceId int64 `protobuf:"varint,1,opt,name=backup_appliance_id,json=backupApplianceId,proto3" json:"backup_appliance_id,omitempty"`
// Required. The name of the backup/recovery appliance that created this lock.
BackupApplianceName string `protobuf:"bytes,2,opt,name=backup_appliance_name,json=backupApplianceName,proto3" json:"backup_appliance_name,omitempty"`
// Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
// value of this string is only meaningful to the client and it is not
// interpreted by the BackupVault service.
LockReason string `protobuf:"bytes,5,opt,name=lock_reason,json=lockReason,proto3" json:"lock_reason,omitempty"`
// The information about this lock.
//
// Types that are assignable to LockSource:
//
// *BackupApplianceLockInfo_JobName
// *BackupApplianceLockInfo_BackupImage
// *BackupApplianceLockInfo_SlaId
LockSource isBackupApplianceLockInfo_LockSource `protobuf_oneof:"lock_source"`
// contains filtered or unexported fields
}BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.
func (*BackupApplianceLockInfo) Descriptor
func (*BackupApplianceLockInfo) Descriptor() ([]byte, []int)Deprecated: Use BackupApplianceLockInfo.ProtoReflect.Descriptor instead.
func (*BackupApplianceLockInfo) GetBackupApplianceId
func (x *BackupApplianceLockInfo) GetBackupApplianceId() int64func (*BackupApplianceLockInfo) GetBackupApplianceName
func (x *BackupApplianceLockInfo) GetBackupApplianceName() stringfunc (*BackupApplianceLockInfo) GetBackupImage
func (x *BackupApplianceLockInfo) GetBackupImage() stringfunc (*BackupApplianceLockInfo) GetJobName
func (x *BackupApplianceLockInfo) GetJobName() stringfunc (*BackupApplianceLockInfo) GetLockReason
func (x *BackupApplianceLockInfo) GetLockReason() stringfunc (*BackupApplianceLockInfo) GetLockSource
func (m *BackupApplianceLockInfo) GetLockSource() isBackupApplianceLockInfo_LockSourcefunc (*BackupApplianceLockInfo) GetSlaId
func (x *BackupApplianceLockInfo) GetSlaId() int64func (*BackupApplianceLockInfo) ProtoMessage
func (*BackupApplianceLockInfo) ProtoMessage()func (*BackupApplianceLockInfo) ProtoReflect
func (x *BackupApplianceLockInfo) ProtoReflect() protoreflect.Messagefunc (*BackupApplianceLockInfo) Reset
func (x *BackupApplianceLockInfo) Reset()func (*BackupApplianceLockInfo) String
func (x *BackupApplianceLockInfo) String() stringBackupApplianceLockInfo_BackupImage
type BackupApplianceLockInfo_BackupImage struct {
// The image name that depends on this Backup.
BackupImage string `protobuf:"bytes,7,opt,name=backup_image,json=backupImage,proto3,oneof"`
}BackupApplianceLockInfo_JobName
type BackupApplianceLockInfo_JobName struct {
// The job name on the backup/recovery appliance that created this lock.
JobName string `protobuf:"bytes,6,opt,name=job_name,json=jobName,proto3,oneof"`
}BackupApplianceLockInfo_SlaId
type BackupApplianceLockInfo_SlaId struct {
// The SLA on the backup/recovery appliance that owns the lock.
SlaId int64 `protobuf:"varint,8,opt,name=sla_id,json=slaId,proto3,oneof"`
}BackupConfigInfo
type BackupConfigInfo struct {
// Output only. The status of the last backup to this BackupVault
LastBackupState BackupConfigInfo_LastBackupState `protobuf:"varint,1,opt,name=last_backup_state,json=lastBackupState,proto3,enum=google.cloud.backupdr.v1.BackupConfigInfo_LastBackupState" json:"last_backup_state,omitempty"`
// Output only. If the last backup were successful, this field has the
// consistency date.
LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_successful_backup_consistency_time,json=lastSuccessfulBackupConsistencyTime,proto3" json:"last_successful_backup_consistency_time,omitempty"`
// Output only. If the last backup failed, this field has the error message.
LastBackupError *status.Status `protobuf:"bytes,3,opt,name=last_backup_error,json=lastBackupError,proto3" json:"last_backup_error,omitempty"`
// Configuration Info has the resource format-specific configuration.
//
// Types that are assignable to BackupConfig:
//
// *BackupConfigInfo_GcpBackupConfig
// *BackupConfigInfo_BackupApplianceBackupConfig
BackupConfig isBackupConfigInfo_BackupConfig `protobuf_oneof:"backup_config"`
// contains filtered or unexported fields
}BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.
func (*BackupConfigInfo) Descriptor
func (*BackupConfigInfo) Descriptor() ([]byte, []int)Deprecated: Use BackupConfigInfo.ProtoReflect.Descriptor instead.
func (*BackupConfigInfo) GetBackupApplianceBackupConfig
func (x *BackupConfigInfo) GetBackupApplianceBackupConfig() *BackupApplianceBackupConfigfunc (*BackupConfigInfo) GetBackupConfig
func (m *BackupConfigInfo) GetBackupConfig() isBackupConfigInfo_BackupConfigfunc (*BackupConfigInfo) GetGcpBackupConfig
func (x *BackupConfigInfo) GetGcpBackupConfig() *GcpBackupConfigfunc (*BackupConfigInfo) GetLastBackupError
func (x *BackupConfigInfo) GetLastBackupError() *status.Statusfunc (*BackupConfigInfo) GetLastBackupState
func (x *BackupConfigInfo) GetLastBackupState() BackupConfigInfo_LastBackupStatefunc (*BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime
func (x *BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestampfunc (*BackupConfigInfo) ProtoMessage
func (*BackupConfigInfo) ProtoMessage()func (*BackupConfigInfo) ProtoReflect
func (x *BackupConfigInfo) ProtoReflect() protoreflect.Messagefunc (*BackupConfigInfo) Reset
func (x *BackupConfigInfo) Reset()func (*BackupConfigInfo) String
func (x *BackupConfigInfo) String() stringBackupConfigInfo_BackupApplianceBackupConfig
type BackupConfigInfo_BackupApplianceBackupConfig struct {
// Configuration for an application backed up by a Backup Appliance.
BackupApplianceBackupConfig *BackupApplianceBackupConfig `protobuf:"bytes,5,opt,name=backup_appliance_backup_config,json=backupApplianceBackupConfig,proto3,oneof"`
}BackupConfigInfo_GcpBackupConfig
type BackupConfigInfo_GcpBackupConfig struct {
// Configuration for a Google Cloud resource.
GcpBackupConfig *GcpBackupConfig `protobuf:"bytes,4,opt,name=gcp_backup_config,json=gcpBackupConfig,proto3,oneof"`
}BackupConfigInfo_LastBackupState
type BackupConfigInfo_LastBackupState int32LastBackupstate tracks whether the last backup was not yet started, successful, failed, or could not be run because of the lack of permissions.
BackupConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED, BackupConfigInfo_FIRST_BACKUP_PENDING, BackupConfigInfo_SUCCEEDED, BackupConfigInfo_FAILED, BackupConfigInfo_PERMISSION_DENIED
const (
// Status not set.
BackupConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED BackupConfigInfo_LastBackupState = 0
// The first backup has not yet completed
BackupConfigInfo_FIRST_BACKUP_PENDING BackupConfigInfo_LastBackupState = 1
// The most recent backup was successful
BackupConfigInfo_SUCCEEDED BackupConfigInfo_LastBackupState = 2
// The most recent backup failed
BackupConfigInfo_FAILED BackupConfigInfo_LastBackupState = 3
// The most recent backup could not be run/failed because of the lack of
// permissions
BackupConfigInfo_PERMISSION_DENIED BackupConfigInfo_LastBackupState = 4
)func (BackupConfigInfo_LastBackupState) Descriptor
func (BackupConfigInfo_LastBackupState) Descriptor() protoreflect.EnumDescriptorfunc (BackupConfigInfo_LastBackupState) Enum
func (x BackupConfigInfo_LastBackupState) Enum() *BackupConfigInfo_LastBackupStatefunc (BackupConfigInfo_LastBackupState) EnumDescriptor
func (BackupConfigInfo_LastBackupState) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupConfigInfo_LastBackupState.Descriptor instead.
func (BackupConfigInfo_LastBackupState) Number
func (x BackupConfigInfo_LastBackupState) Number() protoreflect.EnumNumberfunc (BackupConfigInfo_LastBackupState) String
func (x BackupConfigInfo_LastBackupState) String() stringfunc (BackupConfigInfo_LastBackupState) Type
func (BackupConfigInfo_LastBackupState) Type() protoreflect.EnumTypeBackupConfigState
type BackupConfigState int32Backup configuration state. Is the resource configured for backup?
BackupConfigState_BACKUP_CONFIG_STATE_UNSPECIFIED, BackupConfigState_ACTIVE, BackupConfigState_PASSIVE
const (
// The possible states of backup configuration.
// Status not set.
BackupConfigState_BACKUP_CONFIG_STATE_UNSPECIFIED BackupConfigState = 0
// The data source is actively protected (i.e. there is a
// BackupPlanAssociation or Appliance SLA pointing to it)
BackupConfigState_ACTIVE BackupConfigState = 1
// The data source is no longer protected (but may have backups under it)
BackupConfigState_PASSIVE BackupConfigState = 2
)func (BackupConfigState) Descriptor
func (BackupConfigState) Descriptor() protoreflect.EnumDescriptorfunc (BackupConfigState) Enum
func (x BackupConfigState) Enum() *BackupConfigStatefunc (BackupConfigState) EnumDescriptor
func (BackupConfigState) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupConfigState.Descriptor instead.
func (BackupConfigState) Number
func (x BackupConfigState) Number() protoreflect.EnumNumberfunc (BackupConfigState) String
func (x BackupConfigState) String() stringfunc (BackupConfigState) Type
func (BackupConfigState) Type() protoreflect.EnumTypeBackupDRClient
type BackupDRClient interface {
// Lists ManagementServers in a given project and location.
ListManagementServers(ctx context.Context, in *ListManagementServersRequest, opts ...grpc.CallOption) (*ListManagementServersResponse, error)
// Gets details of a single ManagementServer.
GetManagementServer(ctx context.Context, in *GetManagementServerRequest, opts ...grpc.CallOption) (*ManagementServer, error)
// Creates a new ManagementServer in a given project and location.
CreateManagementServer(ctx context.Context, in *CreateManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ManagementServer.
DeleteManagementServer(ctx context.Context, in *DeleteManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new BackupVault in a given project and location.
CreateBackupVault(ctx context.Context, in *CreateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists BackupVaults in a given project and location.
ListBackupVaults(ctx context.Context, in *ListBackupVaultsRequest, opts ...grpc.CallOption) (*ListBackupVaultsResponse, error)
// FetchUsableBackupVaults lists usable BackupVaults in a given project and
// location. Usable BackupVault are the ones that user has
// backupdr.backupVaults.get permission.
FetchUsableBackupVaults(ctx context.Context, in *FetchUsableBackupVaultsRequest, opts ...grpc.CallOption) (*FetchUsableBackupVaultsResponse, error)
// Gets details of a BackupVault.
GetBackupVault(ctx context.Context, in *GetBackupVaultRequest, opts ...grpc.CallOption) (*BackupVault, error)
// Updates the settings of a BackupVault.
UpdateBackupVault(ctx context.Context, in *UpdateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a BackupVault.
DeleteBackupVault(ctx context.Context, in *DeleteBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists DataSources in a given project and location.
ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error)
// Gets details of a DataSource.
GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
// Updates the settings of a DataSource.
UpdateDataSource(ctx context.Context, in *UpdateDataSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Backups in a given project and location.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Gets details of a Backup.
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Updates the settings of a Backup.
UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a Backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Restore from a Backup
RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Create a BackupPlan
CreateBackupPlan(ctx context.Context, in *CreateBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update a BackupPlan.
UpdateBackupPlan(ctx context.Context, in *UpdateBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlan.
GetBackupPlan(ctx context.Context, in *GetBackupPlanRequest, opts ...grpc.CallOption) (*BackupPlan, error)
// Lists BackupPlans in a given project and location.
ListBackupPlans(ctx context.Context, in *ListBackupPlansRequest, opts ...grpc.CallOption) (*ListBackupPlansResponse, error)
// Deletes a single BackupPlan.
DeleteBackupPlan(ctx context.Context, in *DeleteBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanRevision.
GetBackupPlanRevision(ctx context.Context, in *GetBackupPlanRevisionRequest, opts ...grpc.CallOption) (*BackupPlanRevision, error)
// Lists BackupPlanRevisions in a given project and location.
ListBackupPlanRevisions(ctx context.Context, in *ListBackupPlanRevisionsRequest, opts ...grpc.CallOption) (*ListBackupPlanRevisionsResponse, error)
// Create a BackupPlanAssociation
CreateBackupPlanAssociation(ctx context.Context, in *CreateBackupPlanAssociationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update a BackupPlanAssociation.
UpdateBackupPlanAssociation(ctx context.Context, in *UpdateBackupPlanAssociationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanAssociation.
GetBackupPlanAssociation(ctx context.Context, in *GetBackupPlanAssociationRequest, opts ...grpc.CallOption) (*BackupPlanAssociation, error)
// Lists BackupPlanAssociations in a given project and location.
ListBackupPlanAssociations(ctx context.Context, in *ListBackupPlanAssociationsRequest, opts ...grpc.CallOption) (*ListBackupPlanAssociationsResponse, error)
// List BackupPlanAssociations for a given resource type.
FetchBackupPlanAssociationsForResourceType(ctx context.Context, in *FetchBackupPlanAssociationsForResourceTypeRequest, opts ...grpc.CallOption) (*FetchBackupPlanAssociationsForResourceTypeResponse, error)
// Deletes a single BackupPlanAssociation.
DeleteBackupPlanAssociation(ctx context.Context, in *DeleteBackupPlanAssociationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Triggers a new Backup.
TriggerBackup(ctx context.Context, in *TriggerBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single DataSourceReference.
GetDataSourceReference(ctx context.Context, in *GetDataSourceReferenceRequest, opts ...grpc.CallOption) (*DataSourceReference, error)
// Fetch DataSourceReferences for a given project, location and resource type.
FetchDataSourceReferencesForResourceType(ctx context.Context, in *FetchDataSourceReferencesForResourceTypeRequest, opts ...grpc.CallOption) (*FetchDataSourceReferencesForResourceTypeResponse, error)
// Initializes the service related config for a project.
InitializeService(ctx context.Context, in *InitializeServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}BackupDRClient is the client API for BackupDR service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBackupDRClient
func NewBackupDRClient(cc grpc.ClientConnInterface) BackupDRClientBackupDRServer
type BackupDRServer interface {
// Lists ManagementServers in a given project and location.
ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)
// Gets details of a single ManagementServer.
GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)
// Creates a new ManagementServer in a given project and location.
CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)
// Deletes a single ManagementServer.
DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)
// Creates a new BackupVault in a given project and location.
CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)
// Lists BackupVaults in a given project and location.
ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)
// FetchUsableBackupVaults lists usable BackupVaults in a given project and
// location. Usable BackupVault are the ones that user has
// backupdr.backupVaults.get permission.
FetchUsableBackupVaults(context.Context, *FetchUsableBackupVaultsRequest) (*FetchUsableBackupVaultsResponse, error)
// Gets details of a BackupVault.
GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)
// Updates the settings of a BackupVault.
UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)
// Deletes a BackupVault.
DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)
// Lists DataSources in a given project and location.
ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
// Gets details of a DataSource.
GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
// Updates the settings of a DataSource.
UpdateDataSource(context.Context, *UpdateDataSourceRequest) (*longrunningpb.Operation, error)
// Lists Backups in a given project and location.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Gets details of a Backup.
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Updates the settings of a Backup.
UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
// Deletes a Backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
// Restore from a Backup
RestoreBackup(context.Context, *RestoreBackupRequest) (*longrunningpb.Operation, error)
// Create a BackupPlan
CreateBackupPlan(context.Context, *CreateBackupPlanRequest) (*longrunningpb.Operation, error)
// Update a BackupPlan.
UpdateBackupPlan(context.Context, *UpdateBackupPlanRequest) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlan.
GetBackupPlan(context.Context, *GetBackupPlanRequest) (*BackupPlan, error)
// Lists BackupPlans in a given project and location.
ListBackupPlans(context.Context, *ListBackupPlansRequest) (*ListBackupPlansResponse, error)
// Deletes a single BackupPlan.
DeleteBackupPlan(context.Context, *DeleteBackupPlanRequest) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanRevision.
GetBackupPlanRevision(context.Context, *GetBackupPlanRevisionRequest) (*BackupPlanRevision, error)
// Lists BackupPlanRevisions in a given project and location.
ListBackupPlanRevisions(context.Context, *ListBackupPlanRevisionsRequest) (*ListBackupPlanRevisionsResponse, error)
// Create a BackupPlanAssociation
CreateBackupPlanAssociation(context.Context, *CreateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
// Update a BackupPlanAssociation.
UpdateBackupPlanAssociation(context.Context, *UpdateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanAssociation.
GetBackupPlanAssociation(context.Context, *GetBackupPlanAssociationRequest) (*BackupPlanAssociation, error)
// Lists BackupPlanAssociations in a given project and location.
ListBackupPlanAssociations(context.Context, *ListBackupPlanAssociationsRequest) (*ListBackupPlanAssociationsResponse, error)
// List BackupPlanAssociations for a given resource type.
FetchBackupPlanAssociationsForResourceType(context.Context, *FetchBackupPlanAssociationsForResourceTypeRequest) (*FetchBackupPlanAssociationsForResourceTypeResponse, error)
// Deletes a single BackupPlanAssociation.
DeleteBackupPlanAssociation(context.Context, *DeleteBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
// Triggers a new Backup.
TriggerBackup(context.Context, *TriggerBackupRequest) (*longrunningpb.Operation, error)
// Gets details of a single DataSourceReference.
GetDataSourceReference(context.Context, *GetDataSourceReferenceRequest) (*DataSourceReference, error)
// Fetch DataSourceReferences for a given project, location and resource type.
FetchDataSourceReferencesForResourceType(context.Context, *FetchDataSourceReferencesForResourceTypeRequest) (*FetchDataSourceReferencesForResourceTypeResponse, error)
// Initializes the service related config for a project.
InitializeService(context.Context, *InitializeServiceRequest) (*longrunningpb.Operation, error)
}BackupDRServer is the server API for BackupDR service. All implementations should embed UnimplementedBackupDRServer for forward compatibility
BackupLock
type BackupLock struct {
// Required. The time after which this lock is not considered valid and will
// no longer protect the Backup from deletion.
LockUntilTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=lock_until_time,json=lockUntilTime,proto3" json:"lock_until_time,omitempty"`
// Metadata about the owner and reason for the lock.
//
// Types that are assignable to ClientLockInfo:
//
// *BackupLock_BackupApplianceLockInfo
// *BackupLock_ServiceLockInfo
ClientLockInfo isBackupLock_ClientLockInfo `protobuf_oneof:"ClientLockInfo"`
// contains filtered or unexported fields
}BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
func (*BackupLock) Descriptor
func (*BackupLock) Descriptor() ([]byte, []int)Deprecated: Use BackupLock.ProtoReflect.Descriptor instead.
func (*BackupLock) GetBackupApplianceLockInfo
func (x *BackupLock) GetBackupApplianceLockInfo() *BackupApplianceLockInfofunc (*BackupLock) GetClientLockInfo
func (m *BackupLock) GetClientLockInfo() isBackupLock_ClientLockInfofunc (*BackupLock) GetLockUntilTime
func (x *BackupLock) GetLockUntilTime() *timestamppb.Timestampfunc (*BackupLock) GetServiceLockInfo
func (x *BackupLock) GetServiceLockInfo() *ServiceLockInfofunc (*BackupLock) ProtoMessage
func (*BackupLock) ProtoMessage()func (*BackupLock) ProtoReflect
func (x *BackupLock) ProtoReflect() protoreflect.Messagefunc (*BackupLock) Reset
func (x *BackupLock) Reset()func (*BackupLock) String
func (x *BackupLock) String() stringBackupLock_BackupApplianceLockInfo
type BackupLock_BackupApplianceLockInfo struct {
// If the client is a backup and recovery appliance, this
// contains metadata about why the lock exists.
BackupApplianceLockInfo *BackupApplianceLockInfo `protobuf:"bytes,3,opt,name=backup_appliance_lock_info,json=backupApplianceLockInfo,proto3,oneof"`
}BackupLock_ServiceLockInfo
type BackupLock_ServiceLockInfo struct {
// Output only. Contains metadata about the lock exist for Google Cloud
// native backups.
ServiceLockInfo *ServiceLockInfo `protobuf:"bytes,4,opt,name=service_lock_info,json=serviceLockInfo,proto3,oneof"`
}BackupPlan
type BackupPlan struct {
// Output only. Identifier. The resource name of the `BackupPlan`.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the `BackupPlan` resource.
//
// The description allows for additional details about `BackupPlan` and its
// use cases to be provided. An example description is the following: "This
// is a backup plan that performs a daily backup at 6pm and retains data for 3
// months". The description must be at most 2048 characters.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. This collection of key/value pairs allows for custom labels to be
// supplied by the user. Example, {"tag": "Weekly"}.
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. When the `BackupPlan` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. When the `BackupPlan` was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. The backup rules for this `BackupPlan`. There must be at least
// one `BackupRule` message.
BackupRules []*BackupRule `protobuf:"bytes,6,rep,name=backup_rules,json=backupRules,proto3" json:"backup_rules,omitempty"`
// Output only. The `State` for the `BackupPlan`.
State BackupPlan_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlan_State" json:"state,omitempty"`
// Required. The resource type to which the `BackupPlan` will be applied.
// Examples include, "compute.googleapis.com/Instance",
// "sqladmin.googleapis.com/Instance", "alloydb.googleapis.com/Cluster",
// "compute.googleapis.com/Disk".
ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. `etag` is returned from the service in the response. As a user of
// the service, you may provide an etag value in this field to prevent stale
// resources.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Required. Resource name of backup vault which will be used as storage
// location for backups. Format:
// projects/{project}/locations/{location}/backupVaults/{backupvault}
BackupVault string `protobuf:"bytes,10,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Output only. The Google Cloud Platform Service Account to be used by the
// BackupVault for taking backups. Specify the email address of the Backup
// Vault Service Account.
BackupVaultServiceAccount string `protobuf:"bytes,11,opt,name=backup_vault_service_account,json=backupVaultServiceAccount,proto3" json:"backup_vault_service_account,omitempty"`
// Optional. Applicable only for CloudSQL resource_type.
//
// Configures how long logs will be stored. It is defined in “days”. This
// value should be greater than or equal to minimum enforced log retention
// duration of the backup vault.
LogRetentionDays int64 `protobuf:"varint,12,opt,name=log_retention_days,json=logRetentionDays,proto3" json:"log_retention_days,omitempty"`
// Output only. All resource types to which backupPlan can be applied.
SupportedResourceTypes []string `protobuf:"bytes,13,rep,name=supported_resource_types,json=supportedResourceTypes,proto3" json:"supported_resource_types,omitempty"`
// Output only. The user friendly revision ID of the `BackupPlanRevision`.
//
// Example: v0, v1, v2, etc.
RevisionId string `protobuf:"bytes,14,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// Output only. The resource id of the `BackupPlanRevision`.
//
// Format:
// `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}`
RevisionName string `protobuf:"bytes,15,opt,name=revision_name,json=revisionName,proto3" json:"revision_name,omitempty"`
// contains filtered or unexported fields
}A BackupPlan specifies some common fields, such as description as well
as one or more BackupRule messages. Each BackupRule has a retention
policy and defines a schedule by which the system is to perform backup
workloads.
func (*BackupPlan) Descriptor
func (*BackupPlan) Descriptor() ([]byte, []int)Deprecated: Use BackupPlan.ProtoReflect.Descriptor instead.
func (*BackupPlan) GetBackupRules
func (x *BackupPlan) GetBackupRules() []*BackupRulefunc (*BackupPlan) GetBackupVault
func (x *BackupPlan) GetBackupVault() stringfunc (*BackupPlan) GetBackupVaultServiceAccount
func (x *BackupPlan) GetBackupVaultServiceAccount() stringfunc (*BackupPlan) GetCreateTime
func (x *BackupPlan) GetCreateTime() *timestamppb.Timestampfunc (*BackupPlan) GetDescription
func (x *BackupPlan) GetDescription() stringfunc (*BackupPlan) GetEtag
func (x *BackupPlan) GetEtag() stringfunc (*BackupPlan) GetLabels
func (x *BackupPlan) GetLabels() map[string]stringfunc (*BackupPlan) GetLogRetentionDays
func (x *BackupPlan) GetLogRetentionDays() int64func (*BackupPlan) GetName
func (x *BackupPlan) GetName() stringfunc (*BackupPlan) GetResourceType
func (x *BackupPlan) GetResourceType() stringfunc (*BackupPlan) GetRevisionId
func (x *BackupPlan) GetRevisionId() stringfunc (*BackupPlan) GetRevisionName
func (x *BackupPlan) GetRevisionName() stringfunc (*BackupPlan) GetState
func (x *BackupPlan) GetState() BackupPlan_Statefunc (*BackupPlan) GetSupportedResourceTypes
func (x *BackupPlan) GetSupportedResourceTypes() []stringfunc (*BackupPlan) GetUpdateTime
func (x *BackupPlan) GetUpdateTime() *timestamppb.Timestampfunc (*BackupPlan) ProtoMessage
func (*BackupPlan) ProtoMessage()func (*BackupPlan) ProtoReflect
func (x *BackupPlan) ProtoReflect() protoreflect.Messagefunc (*BackupPlan) Reset
func (x *BackupPlan) Reset()func (*BackupPlan) String
func (x *BackupPlan) String() stringBackupPlanAssociation
type BackupPlanAssociation struct {
// Output only. Identifier. The resource name of BackupPlanAssociation in
// below format Format :
// projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. Resource type of workload on which backupplan is
// applied
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Required. Immutable. Resource name of workload on which the backup plan is
// applied.
//
// The format can either be the resource name (e.g.,
// "projects/my-project/zones/us-central1-a/instances/my-instance") or the
// full resource URI (e.g.,
// "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").
Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
// Required. Resource name of backup plan which needs to be applied on
// workload. Format:
// projects/{project}/locations/{location}/backupPlans/{backupPlanId}
BackupPlan string `protobuf:"bytes,4,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The BackupPlanAssociation resource state.
State BackupPlanAssociation_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlanAssociation_State" json:"state,omitempty"`
// Output only. The config info related to backup rules.
RulesConfigInfo []*RuleConfigInfo `protobuf:"bytes,8,rep,name=rules_config_info,json=rulesConfigInfo,proto3" json:"rules_config_info,omitempty"`
// Output only. Resource name of data source which will be used as storage
// location for backups taken. Format :
// projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
DataSource string `protobuf:"bytes,9,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
// Properties of the protected GCP resource.
//
// Types that are assignable to ResourceProperties:
//
// *BackupPlanAssociation_CloudSqlInstanceBackupPlanAssociationProperties
ResourceProperties isBackupPlanAssociation_ResourceProperties `protobuf_oneof:"resource_properties"`
// Output only. The user friendly revision ID of the `BackupPlanRevision`.
//
// Example: v0, v1, v2, etc.
BackupPlanRevisionId string `protobuf:"bytes,11,opt,name=backup_plan_revision_id,json=backupPlanRevisionId,proto3" json:"backup_plan_revision_id,omitempty"`
// Output only. The resource id of the `BackupPlanRevision`.
//
// Format:
// `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}`
BackupPlanRevisionName string `protobuf:"bytes,12,opt,name=backup_plan_revision_name,json=backupPlanRevisionName,proto3" json:"backup_plan_revision_name,omitempty"`
// contains filtered or unexported fields
}A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
func (*BackupPlanAssociation) Descriptor
func (*BackupPlanAssociation) Descriptor() ([]byte, []int)Deprecated: Use BackupPlanAssociation.ProtoReflect.Descriptor instead.
func (*BackupPlanAssociation) GetBackupPlan
func (x *BackupPlanAssociation) GetBackupPlan() stringfunc (*BackupPlanAssociation) GetBackupPlanRevisionId
func (x *BackupPlanAssociation) GetBackupPlanRevisionId() stringfunc (*BackupPlanAssociation) GetBackupPlanRevisionName
func (x *BackupPlanAssociation) GetBackupPlanRevisionName() stringfunc (*BackupPlanAssociation) GetCloudSqlInstanceBackupPlanAssociationProperties
func (x *BackupPlanAssociation) GetCloudSqlInstanceBackupPlanAssociationProperties() *CloudSqlInstanceBackupPlanAssociationPropertiesfunc (*BackupPlanAssociation) GetCreateTime
func (x *BackupPlanAssociation) GetCreateTime() *timestamppb.Timestampfunc (*BackupPlanAssociation) GetDataSource
func (x *BackupPlanAssociation) GetDataSource() stringfunc (*BackupPlanAssociation) GetName
func (x *BackupPlanAssociation) GetName() stringfunc (*BackupPlanAssociation) GetResource
func (x *BackupPlanAssociation) GetResource() stringfunc (*BackupPlanAssociation) GetResourceProperties
func (m *BackupPlanAssociation) GetResourceProperties() isBackupPlanAssociation_ResourcePropertiesfunc (*BackupPlanAssociation) GetResourceType
func (x *BackupPlanAssociation) GetResourceType() stringfunc (*BackupPlanAssociation) GetRulesConfigInfo
func (x *BackupPlanAssociation) GetRulesConfigInfo() []*RuleConfigInfofunc (*BackupPlanAssociation) GetState
func (x *BackupPlanAssociation) GetState() BackupPlanAssociation_Statefunc (*BackupPlanAssociation) GetUpdateTime
func (x *BackupPlanAssociation) GetUpdateTime() *timestamppb.Timestampfunc (*BackupPlanAssociation) ProtoMessage
func (*BackupPlanAssociation) ProtoMessage()func (*BackupPlanAssociation) ProtoReflect
func (x *BackupPlanAssociation) ProtoReflect() protoreflect.Messagefunc (*BackupPlanAssociation) Reset
func (x *BackupPlanAssociation) Reset()func (*BackupPlanAssociation) String
func (x *BackupPlanAssociation) String() stringBackupPlanAssociation_CloudSqlInstanceBackupPlanAssociationProperties
type BackupPlanAssociation_CloudSqlInstanceBackupPlanAssociationProperties struct {
// Output only. Cloud SQL instance's backup plan association properties.
CloudSqlInstanceBackupPlanAssociationProperties *CloudSqlInstanceBackupPlanAssociationProperties `protobuf:"bytes,10,opt,name=cloud_sql_instance_backup_plan_association_properties,json=cloudSqlInstanceBackupPlanAssociationProperties,proto3,oneof"`
}BackupPlanAssociation_State
type BackupPlanAssociation_State int32Enum for State of BackupPlan Association
BackupPlanAssociation_STATE_UNSPECIFIED, BackupPlanAssociation_CREATING, BackupPlanAssociation_ACTIVE, BackupPlanAssociation_DELETING, BackupPlanAssociation_INACTIVE, BackupPlanAssociation_UPDATING
const (
// State not set.
BackupPlanAssociation_STATE_UNSPECIFIED BackupPlanAssociation_State = 0
// The resource is being created.
BackupPlanAssociation_CREATING BackupPlanAssociation_State = 1
// The resource has been created and is fully usable.
BackupPlanAssociation_ACTIVE BackupPlanAssociation_State = 2
// The resource is being deleted.
BackupPlanAssociation_DELETING BackupPlanAssociation_State = 3
// The resource has been created but is not usable.
BackupPlanAssociation_INACTIVE BackupPlanAssociation_State = 4
// The resource is being updated.
BackupPlanAssociation_UPDATING BackupPlanAssociation_State = 5
)func (BackupPlanAssociation_State) Descriptor
func (BackupPlanAssociation_State) Descriptor() protoreflect.EnumDescriptorfunc (BackupPlanAssociation_State) Enum
func (x BackupPlanAssociation_State) Enum() *BackupPlanAssociation_Statefunc (BackupPlanAssociation_State) EnumDescriptor
func (BackupPlanAssociation_State) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupPlanAssociation_State.Descriptor instead.
func (BackupPlanAssociation_State) Number
func (x BackupPlanAssociation_State) Number() protoreflect.EnumNumberfunc (BackupPlanAssociation_State) String
func (x BackupPlanAssociation_State) String() stringfunc (BackupPlanAssociation_State) Type
func (BackupPlanAssociation_State) Type() protoreflect.EnumTypeBackupPlanRevision
type BackupPlanRevision struct {
// Output only. Identifier. The resource name of the `BackupPlanRevision`.
//
// Format:
// `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The user friendly revision ID of the `BackupPlanRevision`.
//
// Example: v0, v1, v2, etc.
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// Output only. Resource State
State BackupPlanRevision_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlanRevision_State" json:"state,omitempty"`
// The Backup Plan being encompassed by this revision.
BackupPlanSnapshot *BackupPlan `protobuf:"bytes,4,opt,name=backup_plan_snapshot,json=backupPlanSnapshot,proto3" json:"backup_plan_snapshot,omitempty"`
// Output only. The timestamp that the revision was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}BackupPlanRevision represents a snapshot of a BackupPlan at a point in
time.
func (*BackupPlanRevision) Descriptor
func (*BackupPlanRevision) Descriptor() ([]byte, []int)Deprecated: Use BackupPlanRevision.ProtoReflect.Descriptor instead.
func (*BackupPlanRevision) GetBackupPlanSnapshot
func (x *BackupPlanRevision) GetBackupPlanSnapshot() *BackupPlanfunc (*BackupPlanRevision) GetCreateTime
func (x *BackupPlanRevision) GetCreateTime() *timestamppb.Timestampfunc (*BackupPlanRevision) GetName
func (x *BackupPlanRevision) GetName() stringfunc (*BackupPlanRevision) GetRevisionId
func (x *BackupPlanRevision) GetRevisionId() stringfunc (*BackupPlanRevision) GetState
func (x *BackupPlanRevision) GetState() BackupPlanRevision_Statefunc (*BackupPlanRevision) ProtoMessage
func (*BackupPlanRevision) ProtoMessage()func (*BackupPlanRevision) ProtoReflect
func (x *BackupPlanRevision) ProtoReflect() protoreflect.Messagefunc (*BackupPlanRevision) Reset
func (x *BackupPlanRevision) Reset()func (*BackupPlanRevision) String
func (x *BackupPlanRevision) String() stringBackupPlanRevision_State
type BackupPlanRevision_State int32The state of the BackupPlanRevision.
BackupPlanRevision_STATE_UNSPECIFIED, BackupPlanRevision_CREATING, BackupPlanRevision_ACTIVE, BackupPlanRevision_DELETING, BackupPlanRevision_INACTIVE
const (
// State not set.
BackupPlanRevision_STATE_UNSPECIFIED BackupPlanRevision_State = 0
// The resource is being created.
BackupPlanRevision_CREATING BackupPlanRevision_State = 1
// The resource has been created and is fully usable.
BackupPlanRevision_ACTIVE BackupPlanRevision_State = 2
// The resource is being deleted.
BackupPlanRevision_DELETING BackupPlanRevision_State = 3
// The resource has been created but is not usable.
BackupPlanRevision_INACTIVE BackupPlanRevision_State = 4
)func (BackupPlanRevision_State) Descriptor
func (BackupPlanRevision_State) Descriptor() protoreflect.EnumDescriptorfunc (BackupPlanRevision_State) Enum
func (x BackupPlanRevision_State) Enum() *BackupPlanRevision_Statefunc (BackupPlanRevision_State) EnumDescriptor
func (BackupPlanRevision_State) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupPlanRevision_State.Descriptor instead.
func (BackupPlanRevision_State) Number
func (x BackupPlanRevision_State) Number() protoreflect.EnumNumberfunc (BackupPlanRevision_State) String
func (x BackupPlanRevision_State) String() stringfunc (BackupPlanRevision_State) Type
func (BackupPlanRevision_State) Type() protoreflect.EnumTypeBackupPlan_State
type BackupPlan_State int32State enumerates the possible states for a BackupPlan.
BackupPlan_STATE_UNSPECIFIED, BackupPlan_CREATING, BackupPlan_ACTIVE, BackupPlan_DELETING, BackupPlan_INACTIVE, BackupPlan_UPDATING
const (
// State not set.
BackupPlan_STATE_UNSPECIFIED BackupPlan_State = 0
// The resource is being created.
BackupPlan_CREATING BackupPlan_State = 1
// The resource has been created and is fully usable.
BackupPlan_ACTIVE BackupPlan_State = 2
// The resource is being deleted.
BackupPlan_DELETING BackupPlan_State = 3
// The resource has been created but is not usable.
BackupPlan_INACTIVE BackupPlan_State = 4
// The resource is being updated.
BackupPlan_UPDATING BackupPlan_State = 5
)func (BackupPlan_State) Descriptor
func (BackupPlan_State) Descriptor() protoreflect.EnumDescriptorfunc (BackupPlan_State) Enum
func (x BackupPlan_State) Enum() *BackupPlan_Statefunc (BackupPlan_State) EnumDescriptor
func (BackupPlan_State) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupPlan_State.Descriptor instead.
func (BackupPlan_State) Number
func (x BackupPlan_State) Number() protoreflect.EnumNumberfunc (BackupPlan_State) String
func (x BackupPlan_State) String() stringfunc (BackupPlan_State) Type
func (BackupPlan_State) Type() protoreflect.EnumTypeBackupRule
type BackupRule struct {
// Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
// unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
// followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
// /[a-z][a-z0-9-]{,62}/.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Required. Configures the duration for which backup data will be kept. It is
// defined in “days”. The value should be greater than or equal to minimum
// enforced retention of the backup vault.
//
// Minimum value is 1 and maximum value is 36159 for custom retention
// on-demand backup.
// Minimum and maximum values are workload specific for all other rules.
BackupRetentionDays int32 `protobuf:"varint,4,opt,name=backup_retention_days,json=backupRetentionDays,proto3" json:"backup_retention_days,omitempty"`
// The schedule that defines the automated backup workloads for this
// `BackupRule`.
//
// Types that are assignable to BackupScheduleOneof:
//
// *BackupRule_StandardSchedule
BackupScheduleOneof isBackupRule_BackupScheduleOneof `protobuf_oneof:"backup_schedule_oneof"`
// contains filtered or unexported fields
}BackupRule binds the backup schedule to a retention policy.
func (*BackupRule) Descriptor
func (*BackupRule) Descriptor() ([]byte, []int)Deprecated: Use BackupRule.ProtoReflect.Descriptor instead.
func (*BackupRule) GetBackupRetentionDays
func (x *BackupRule) GetBackupRetentionDays() int32func (*BackupRule) GetBackupScheduleOneof
func (m *BackupRule) GetBackupScheduleOneof() isBackupRule_BackupScheduleOneoffunc (*BackupRule) GetRuleId
func (x *BackupRule) GetRuleId() stringfunc (*BackupRule) GetStandardSchedule
func (x *BackupRule) GetStandardSchedule() *StandardSchedulefunc (*BackupRule) ProtoMessage
func (*BackupRule) ProtoMessage()func (*BackupRule) ProtoReflect
func (x *BackupRule) ProtoReflect() protoreflect.Messagefunc (*BackupRule) Reset
func (x *BackupRule) Reset()func (*BackupRule) String
func (x *BackupRule) String() stringBackupRule_StandardSchedule
type BackupRule_StandardSchedule struct {
// Optional. Defines a schedule that runs within the confines of a defined
// window of time.
StandardSchedule *StandardSchedule `protobuf:"bytes,5,opt,name=standard_schedule,json=standardSchedule,proto3,oneof"`
}BackupVault
type BackupVault struct {
// Output only. Identifier. Name of the backup vault to create. It must have
// the
// format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
// `{backupvault}` cannot be changed after creation. It must be between 3-63
// characters long and must be unique within the project and location.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the BackupVault instance (2048 characters or
// less).
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. Resource labels to represent user provided metadata.
// No labels currently defined:
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
// Required. The default and minimum enforced retention for each backup within
// the backup vault. The enforced retention for each backup can be extended.
BackupMinimumEnforcedRetentionDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=backup_minimum_enforced_retention_duration,json=backupMinimumEnforcedRetentionDuration,proto3,oneof" json:"backup_minimum_enforced_retention_duration,omitempty"`
// Output only. Set to true when there are no backups nested under this
// resource.
Deletable *bool `protobuf:"varint,8,opt,name=deletable,proto3,oneof" json:"deletable,omitempty"`
// Optional. Server specified ETag for the backup vault resource to
// prevent simultaneous updates from overwiting each other.
Etag *string `protobuf:"bytes,9,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// Output only. The BackupVault resource instance state.
State BackupVault_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupVault_State" json:"state,omitempty"`
// Optional. Time after which the BackupVault resource is locked.
EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
// Output only. The number of backups in this backup vault.
BackupCount int64 `protobuf:"varint,17,opt,name=backup_count,json=backupCount,proto3" json:"backup_count,omitempty"`
// Output only. Service account used by the BackupVault Service for this
// BackupVault. The user should grant this account permissions in their
// workload project to enable the service to run backups and restores there.
ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Output only. Total size of the storage used by all backup resources.
TotalStoredBytes int64 `protobuf:"varint,19,opt,name=total_stored_bytes,json=totalStoredBytes,proto3" json:"total_stored_bytes,omitempty"`
// Output only. Immutable after resource creation until resource deletion.
Uid string `protobuf:"bytes,21,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. User annotations. See https://google.aip.dev/128#annotations
// Stores small amounts of arbitrary data.
Annotations map[string]string `protobuf:"bytes,22,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Note: This field is added for future use case and will not be
// supported in the current release.
//
// Access restriction for the backup vault.
// Default value is WITHIN_ORGANIZATION if not provided during creation.
AccessRestriction BackupVault_AccessRestriction `protobuf:"varint,24,opt,name=access_restriction,json=accessRestriction,proto3,enum=google.cloud.backupdr.v1.BackupVault_AccessRestriction" json:"access_restriction,omitempty"`
// contains filtered or unexported fields
}Message describing a BackupVault object.
func (*BackupVault) Descriptor
func (*BackupVault) Descriptor() ([]byte, []int)Deprecated: Use BackupVault.ProtoReflect.Descriptor instead.
func (*BackupVault) GetAccessRestriction
func (x *BackupVault) GetAccessRestriction() BackupVault_AccessRestrictionfunc (*BackupVault) GetAnnotations
func (x *BackupVault) GetAnnotations() map[string]stringfunc (*BackupVault) GetBackupCount
func (x *BackupVault) GetBackupCount() int64func (*BackupVault) GetBackupMinimumEnforcedRetentionDuration
func (x *BackupVault) GetBackupMinimumEnforcedRetentionDuration() *durationpb.Durationfunc (*BackupVault) GetCreateTime
func (x *BackupVault) GetCreateTime() *timestamppb.Timestampfunc (*BackupVault) GetDeletable
func (x *BackupVault) GetDeletable() boolfunc (*BackupVault) GetDescription
func (x *BackupVault) GetDescription() stringfunc (*BackupVault) GetEffectiveTime
func (x *BackupVault) GetEffectiveTime() *timestamppb.Timestampfunc (*BackupVault) GetEtag
func (x *BackupVault) GetEtag() stringfunc (*BackupVault) GetLabels
func (x *BackupVault) GetLabels() map[string]stringfunc (*BackupVault) GetName
func (x *BackupVault) GetName() stringfunc (*BackupVault) GetServiceAccount
func (x *BackupVault) GetServiceAccount() stringfunc (*BackupVault) GetState
func (x *BackupVault) GetState() BackupVault_Statefunc (*BackupVault) GetTotalStoredBytes
func (x *BackupVault) GetTotalStoredBytes() int64func (*BackupVault) GetUid
func (x *BackupVault) GetUid() stringfunc (*BackupVault) GetUpdateTime
func (x *BackupVault) GetUpdateTime() *timestamppb.Timestampfunc (*BackupVault) ProtoMessage
func (*BackupVault) ProtoMessage()func (*BackupVault) ProtoReflect
func (x *BackupVault) ProtoReflect() protoreflect.Messagefunc (*BackupVault) Reset
func (x *BackupVault) Reset()func (*BackupVault) String
func (x *BackupVault) String() stringBackupVaultView
type BackupVaultView int32BackupVaultView contains enum options for Partial and Full view.
BackupVaultView_BACKUP_VAULT_VIEW_UNSPECIFIED, BackupVaultView_BACKUP_VAULT_VIEW_BASIC, BackupVaultView_BACKUP_VAULT_VIEW_FULL
const (
// If the value is not set, the default 'FULL' view is used.
BackupVaultView_BACKUP_VAULT_VIEW_UNSPECIFIED BackupVaultView = 0
// Includes basic data about the Backup Vault, but not the full contents.
BackupVaultView_BACKUP_VAULT_VIEW_BASIC BackupVaultView = 1
// Includes all data about the Backup Vault.
// This is the default value (for both ListBackupVaults and GetBackupVault).
BackupVaultView_BACKUP_VAULT_VIEW_FULL BackupVaultView = 2
)func (BackupVaultView) Descriptor
func (BackupVaultView) Descriptor() protoreflect.EnumDescriptorfunc (BackupVaultView) Enum
func (x BackupVaultView) Enum() *BackupVaultViewfunc (BackupVaultView) EnumDescriptor
func (BackupVaultView) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupVaultView.Descriptor instead.
func (BackupVaultView) Number
func (x BackupVaultView) Number() protoreflect.EnumNumberfunc (BackupVaultView) String
func (x BackupVaultView) String() stringfunc (BackupVaultView) Type
func (BackupVaultView) Type() protoreflect.EnumTypeBackupVault_AccessRestriction
type BackupVault_AccessRestriction int32Holds the access restriction for the backup vault.
BackupVault_ACCESS_RESTRICTION_UNSPECIFIED, BackupVault_WITHIN_PROJECT, BackupVault_WITHIN_ORGANIZATION, BackupVault_UNRESTRICTED, BackupVault_WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA
const (
// Access restriction not set. If user does not provide any value or pass
// this value, it will be changed to WITHIN_ORGANIZATION.
BackupVault_ACCESS_RESTRICTION_UNSPECIFIED BackupVault_AccessRestriction = 0
// Access to or from resources outside your current project will be denied.
BackupVault_WITHIN_PROJECT BackupVault_AccessRestriction = 1
// Access to or from resources outside your current organization will be
// denied.
BackupVault_WITHIN_ORGANIZATION BackupVault_AccessRestriction = 2
// No access restriction.
BackupVault_UNRESTRICTED BackupVault_AccessRestriction = 3
// Access to or from resources outside your current organization will be
// denied except for backup appliance.
BackupVault_WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA BackupVault_AccessRestriction = 4
)func (BackupVault_AccessRestriction) Descriptor
func (BackupVault_AccessRestriction) Descriptor() protoreflect.EnumDescriptorfunc (BackupVault_AccessRestriction) Enum
func (x BackupVault_AccessRestriction) Enum() *BackupVault_AccessRestrictionfunc (BackupVault_AccessRestriction) EnumDescriptor
func (BackupVault_AccessRestriction) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupVault_AccessRestriction.Descriptor instead.
func (BackupVault_AccessRestriction) Number
func (x BackupVault_AccessRestriction) Number() protoreflect.EnumNumberfunc (BackupVault_AccessRestriction) String
func (x BackupVault_AccessRestriction) String() stringfunc (BackupVault_AccessRestriction) Type
func (BackupVault_AccessRestriction) Type() protoreflect.EnumTypeBackupVault_State
type BackupVault_State int32Holds the state of the backup vault resource.
BackupVault_STATE_UNSPECIFIED, BackupVault_CREATING, BackupVault_ACTIVE, BackupVault_DELETING, BackupVault_ERROR, BackupVault_UPDATING
const (
// State not set.
BackupVault_STATE_UNSPECIFIED BackupVault_State = 0
// The backup vault is being created.
BackupVault_CREATING BackupVault_State = 1
// The backup vault has been created and is fully usable.
BackupVault_ACTIVE BackupVault_State = 2
// The backup vault is being deleted.
BackupVault_DELETING BackupVault_State = 3
// The backup vault is experiencing an issue and might be unusable.
BackupVault_ERROR BackupVault_State = 4
// The backup vault is being updated.
BackupVault_UPDATING BackupVault_State = 5
)func (BackupVault_State) Descriptor
func (BackupVault_State) Descriptor() protoreflect.EnumDescriptorfunc (BackupVault_State) Enum
func (x BackupVault_State) Enum() *BackupVault_Statefunc (BackupVault_State) EnumDescriptor
func (BackupVault_State) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupVault_State.Descriptor instead.
func (BackupVault_State) Number
func (x BackupVault_State) Number() protoreflect.EnumNumberfunc (BackupVault_State) String
func (x BackupVault_State) String() stringfunc (BackupVault_State) Type
func (BackupVault_State) Type() protoreflect.EnumTypeBackupView
type BackupView int32BackupView contains enum options for Partial and Full view.
BackupView_BACKUP_VIEW_UNSPECIFIED, BackupView_BACKUP_VIEW_BASIC, BackupView_BACKUP_VIEW_FULL
const (
// If the value is not set, the default 'FULL' view is used.
BackupView_BACKUP_VIEW_UNSPECIFIED BackupView = 0
// Includes basic data about the Backup, but not the full contents.
BackupView_BACKUP_VIEW_BASIC BackupView = 1
// Includes all data about the Backup.
// This is the default value (for both ListBackups and GetBackup).
BackupView_BACKUP_VIEW_FULL BackupView = 2
)func (BackupView) Descriptor
func (BackupView) Descriptor() protoreflect.EnumDescriptorfunc (BackupView) Enum
func (x BackupView) Enum() *BackupViewfunc (BackupView) EnumDescriptor
func (BackupView) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupView.Descriptor instead.
func (BackupView) Number
func (x BackupView) Number() protoreflect.EnumNumberfunc (BackupView) String
func (x BackupView) String() stringfunc (BackupView) Type
func (BackupView) Type() protoreflect.EnumTypeBackupWindow
type BackupWindow struct {
// Required. The hour of day (0-23) when the window starts for e.g. if value
// of start hour of day is 6 that mean backup window start at 6:00.
StartHourOfDay int32 `protobuf:"varint,1,opt,name=start_hour_of_day,json=startHourOfDay,proto3" json:"start_hour_of_day,omitempty"`
// Required. The hour of day (1-24) when the window end for e.g. if value of
// end hour of day is 10 that mean backup window end time is 10:00.
//
// End hour of day should be greater than start hour of day.
// 0 <= start_hour_of_day="">< end_hour_of_day=""><= 24="" end="" hour="" of="" day="" is="" not="" include="" in="" backup="" window="" that="" mean="" if="" end_hour_of_day="10" jobs="" should="" start="" before="" 10:00.="" endhourofday="">int32 `protobuf:"varint,2,opt,name=end_hour_of_day,json=endHourOfDay,proto3" json:"end_hour_of_day,omitempty"`
// contains filtered or unexported fields
}BackupWindow defines a window of the day during which backup jobs will run.
func (*BackupWindow) Descriptor
func (*BackupWindow) Descriptor() ([]byte, []int)Deprecated: Use BackupWindow.ProtoReflect.Descriptor instead.
func (*BackupWindow) GetEndHourOfDay
func (x *BackupWindow) GetEndHourOfDay() int32func (*BackupWindow) GetStartHourOfDay
func (x *BackupWindow) GetStartHourOfDay() int32func (*BackupWindow) ProtoMessage
func (*BackupWindow) ProtoMessage()func (*BackupWindow) ProtoReflect
func (x *BackupWindow) ProtoReflect() protoreflect.Messagefunc (*BackupWindow) Reset
func (x *BackupWindow) Reset()func (*BackupWindow) String
func (x *BackupWindow) String() stringBackup_BackupApplianceBackupProperties
type Backup_BackupApplianceBackupProperties struct {
// Output only. Backup Appliance specific backup properties.
BackupApplianceBackupProperties *BackupApplianceBackupProperties `protobuf:"bytes,21,opt,name=backup_appliance_backup_properties,json=backupApplianceBackupProperties,proto3,oneof"`
}Backup_BackupType
type Backup_BackupType int32Type of the backup, scheduled or ondemand.
Backup_BACKUP_TYPE_UNSPECIFIED, Backup_SCHEDULED, Backup_ON_DEMAND, Backup_ON_DEMAND_OPERATIONAL
const (
// Backup type is unspecified.
Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0
// Scheduled backup.
Backup_SCHEDULED Backup_BackupType = 1
// On demand backup.
Backup_ON_DEMAND Backup_BackupType = 2
// Operational backup.
Backup_ON_DEMAND_OPERATIONAL Backup_BackupType = 3
)func (Backup_BackupType) Descriptor
func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptorfunc (Backup_BackupType) Enum
func (x Backup_BackupType) Enum() *Backup_BackupTypefunc (Backup_BackupType) EnumDescriptor
func (Backup_BackupType) EnumDescriptor() ([]byte, []int)Deprecated: Use Backup_BackupType.Descriptor instead.
func (Backup_BackupType) Number
func (x Backup_BackupType) Number() protoreflect.EnumNumberfunc (Backup_BackupType) String
func (x Backup_BackupType) String() stringfunc (Backup_BackupType) Type
func (Backup_BackupType) Type() protoreflect.EnumTypeBackup_CloudSqlInstanceBackupProperties
type Backup_CloudSqlInstanceBackupProperties struct {
// Output only. Cloud SQL specific backup properties.
CloudSqlInstanceBackupProperties *CloudSqlInstanceBackupProperties `protobuf:"bytes,26,opt,name=cloud_sql_instance_backup_properties,json=cloudSqlInstanceBackupProperties,proto3,oneof"`
}Backup_ComputeInstanceBackupProperties
type Backup_ComputeInstanceBackupProperties struct {
// Output only. Compute Engine specific backup properties.
ComputeInstanceBackupProperties *ComputeInstanceBackupProperties `protobuf:"bytes,19,opt,name=compute_instance_backup_properties,json=computeInstanceBackupProperties,proto3,oneof"`
}Backup_DiskBackupProperties
type Backup_DiskBackupProperties struct {
// Output only. Disk specific backup properties.
DiskBackupProperties *DiskBackupProperties `protobuf:"bytes,28,opt,name=disk_backup_properties,json=diskBackupProperties,proto3,oneof"`
}Backup_GCPBackupPlanInfo
type Backup_GCPBackupPlanInfo struct {
// Resource name of backup plan by which workload is protected at the time
// of the backup.
// Format:
// projects/{project}/locations/{location}/backupPlans/{backupPlanId}
BackupPlan string `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// The rule id of the backup plan which triggered this backup in case of
// scheduled backup or used for
BackupPlanRuleId string `protobuf:"bytes,2,opt,name=backup_plan_rule_id,json=backupPlanRuleId,proto3" json:"backup_plan_rule_id,omitempty"`
// Resource name of the backup plan revision which triggered this backup in
// case of scheduled backup or used for on demand backup.
// Format:
// projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
BackupPlanRevisionName string `protobuf:"bytes,3,opt,name=backup_plan_revision_name,json=backupPlanRevisionName,proto3" json:"backup_plan_revision_name,omitempty"`
// The user friendly id of the backup plan revision which triggered this
// backup in case of scheduled backup or used for on demand backup.
BackupPlanRevisionId string `protobuf:"bytes,4,opt,name=backup_plan_revision_id,json=backupPlanRevisionId,proto3" json:"backup_plan_revision_id,omitempty"`
// contains filtered or unexported fields
}GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup.
func (*Backup_GCPBackupPlanInfo) Descriptor
func (*Backup_GCPBackupPlanInfo) Descriptor() ([]byte, []int)Deprecated: Use Backup_GCPBackupPlanInfo.ProtoReflect.Descriptor instead.
func (*Backup_GCPBackupPlanInfo) GetBackupPlan
func (x *Backup_GCPBackupPlanInfo) GetBackupPlan() stringfunc (*Backup_GCPBackupPlanInfo) GetBackupPlanRevisionId
func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRevisionId() stringfunc (*Backup_GCPBackupPlanInfo) GetBackupPlanRevisionName
func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRevisionName() stringfunc (*Backup_GCPBackupPlanInfo) GetBackupPlanRuleId
func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRuleId() stringfunc (*Backup_GCPBackupPlanInfo) ProtoMessage
func (*Backup_GCPBackupPlanInfo) ProtoMessage()func (*Backup_GCPBackupPlanInfo) ProtoReflect
func (x *Backup_GCPBackupPlanInfo) ProtoReflect() protoreflect.Messagefunc (*Backup_GCPBackupPlanInfo) Reset
func (x *Backup_GCPBackupPlanInfo) Reset()func (*Backup_GCPBackupPlanInfo) String
func (x *Backup_GCPBackupPlanInfo) String() stringBackup_GcpBackupPlanInfo
type Backup_GcpBackupPlanInfo struct {
// Output only. Configuration for a Google Cloud resource.
GcpBackupPlanInfo *Backup_GCPBackupPlanInfo `protobuf:"bytes,22,opt,name=gcp_backup_plan_info,json=gcpBackupPlanInfo,proto3,oneof"`
}Backup_State
type Backup_State int32Holds the state of the backup resource.
Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_ACTIVE, Backup_DELETING, Backup_ERROR, Backup_UPLOADING
const (
// State not set.
Backup_STATE_UNSPECIFIED Backup_State = 0
// The backup is being created.
Backup_CREATING Backup_State = 1
// The backup has been created and is fully usable.
Backup_ACTIVE Backup_State = 2
// The backup is being deleted.
Backup_DELETING Backup_State = 3
// The backup is experiencing an issue and might be unusable.
Backup_ERROR Backup_State = 4
// The backup is being uploaded.
Backup_UPLOADING Backup_State = 5
)func (Backup_State) Descriptor
func (Backup_State) Descriptor() protoreflect.EnumDescriptorfunc (Backup_State) Enum
func (x Backup_State) Enum() *Backup_Statefunc (Backup_State) EnumDescriptor
func (Backup_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number
func (x Backup_State) Number() protoreflect.EnumNumberfunc (Backup_State) String
func (x Backup_State) String() stringfunc (Backup_State) Type
func (Backup_State) Type() protoreflect.EnumTypeCloudSqlInstanceBackupPlanAssociationProperties
type CloudSqlInstanceBackupPlanAssociationProperties struct {
// Output only. The time when the instance was created.
InstanceCreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=instance_create_time,json=instanceCreateTime,proto3" json:"instance_create_time,omitempty"`
// contains filtered or unexported fields
}Cloud SQL instance's BPA properties.
func (*CloudSqlInstanceBackupPlanAssociationProperties) Descriptor
func (*CloudSqlInstanceBackupPlanAssociationProperties) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceBackupPlanAssociationProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlInstanceBackupPlanAssociationProperties) GetInstanceCreateTime
func (x *CloudSqlInstanceBackupPlanAssociationProperties) GetInstanceCreateTime() *timestamppb.Timestampfunc (*CloudSqlInstanceBackupPlanAssociationProperties) ProtoMessage
func (*CloudSqlInstanceBackupPlanAssociationProperties) ProtoMessage()func (*CloudSqlInstanceBackupPlanAssociationProperties) ProtoReflect
func (x *CloudSqlInstanceBackupPlanAssociationProperties) ProtoReflect() protoreflect.Messagefunc (*CloudSqlInstanceBackupPlanAssociationProperties) Reset
func (x *CloudSqlInstanceBackupPlanAssociationProperties) Reset()func (*CloudSqlInstanceBackupPlanAssociationProperties) String
func (x *CloudSqlInstanceBackupPlanAssociationProperties) String() stringCloudSqlInstanceBackupProperties
type CloudSqlInstanceBackupProperties struct {
// Output only. The installed database version of the Cloud SQL instance
// when the backup was taken.
DatabaseInstalledVersion string `protobuf:"bytes,2,opt,name=database_installed_version,json=databaseInstalledVersion,proto3" json:"database_installed_version,omitempty"`
// Output only. Whether the backup is a final backup.
FinalBackup bool `protobuf:"varint,3,opt,name=final_backup,json=finalBackup,proto3" json:"final_backup,omitempty"`
// Output only. The source instance of the backup.
// Format:
// projects/{project}/instances/{instance}
SourceInstance string `protobuf:"bytes,4,opt,name=source_instance,json=sourceInstance,proto3" json:"source_instance,omitempty"`
// Output only. The tier (or machine type) for this instance. Example:
// `db-custom-1-3840`
InstanceTier string `protobuf:"bytes,6,opt,name=instance_tier,json=instanceTier,proto3" json:"instance_tier,omitempty"`
// contains filtered or unexported fields
}CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties.
func (*CloudSqlInstanceBackupProperties) Descriptor
func (*CloudSqlInstanceBackupProperties) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceBackupProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlInstanceBackupProperties) GetDatabaseInstalledVersion
func (x *CloudSqlInstanceBackupProperties) GetDatabaseInstalledVersion() stringfunc (*CloudSqlInstanceBackupProperties) GetFinalBackup
func (x *CloudSqlInstanceBackupProperties) GetFinalBackup() boolfunc (*CloudSqlInstanceBackupProperties) GetInstanceTier
func (x *CloudSqlInstanceBackupProperties) GetInstanceTier() stringfunc (*CloudSqlInstanceBackupProperties) GetSourceInstance
func (x *CloudSqlInstanceBackupProperties) GetSourceInstance() stringfunc (*CloudSqlInstanceBackupProperties) ProtoMessage
func (*CloudSqlInstanceBackupProperties) ProtoMessage()func (*CloudSqlInstanceBackupProperties) ProtoReflect
func (x *CloudSqlInstanceBackupProperties) ProtoReflect() protoreflect.Messagefunc (*CloudSqlInstanceBackupProperties) Reset
func (x *CloudSqlInstanceBackupProperties) Reset()func (*CloudSqlInstanceBackupProperties) String
func (x *CloudSqlInstanceBackupProperties) String() stringCloudSqlInstanceDataSourceProperties
type CloudSqlInstanceDataSourceProperties struct {
// Output only. Name of the Cloud SQL instance backed up by the datasource.
// Format:
// projects/{project}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The installed database version of the Cloud SQL instance.
DatabaseInstalledVersion string `protobuf:"bytes,2,opt,name=database_installed_version,json=databaseInstalledVersion,proto3" json:"database_installed_version,omitempty"`
// Output only. The instance creation timestamp.
InstanceCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=instance_create_time,json=instanceCreateTime,proto3" json:"instance_create_time,omitempty"`
// Output only. The tier (or machine type) for this instance. Example:
// `db-custom-1-3840`
InstanceTier string `protobuf:"bytes,5,opt,name=instance_tier,json=instanceTier,proto3" json:"instance_tier,omitempty"`
// contains filtered or unexported fields
}CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL resource that are stored in the DataSource.
func (*CloudSqlInstanceDataSourceProperties) Descriptor
func (*CloudSqlInstanceDataSourceProperties) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceDataSourceProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlInstanceDataSourceProperties) GetDatabaseInstalledVersion
func (x *CloudSqlInstanceDataSourceProperties) GetDatabaseInstalledVersion() stringfunc (*CloudSqlInstanceDataSourceProperties) GetInstanceCreateTime
func (x *CloudSqlInstanceDataSourceProperties) GetInstanceCreateTime() *timestamppb.Timestampfunc (*CloudSqlInstanceDataSourceProperties) GetInstanceTier
func (x *CloudSqlInstanceDataSourceProperties) GetInstanceTier() stringfunc (*CloudSqlInstanceDataSourceProperties) GetName
func (x *CloudSqlInstanceDataSourceProperties) GetName() stringfunc (*CloudSqlInstanceDataSourceProperties) ProtoMessage
func (*CloudSqlInstanceDataSourceProperties) ProtoMessage()func (*CloudSqlInstanceDataSourceProperties) ProtoReflect
func (x *CloudSqlInstanceDataSourceProperties) ProtoReflect() protoreflect.Messagefunc (*CloudSqlInstanceDataSourceProperties) Reset
func (x *CloudSqlInstanceDataSourceProperties) Reset()func (*CloudSqlInstanceDataSourceProperties) String
func (x *CloudSqlInstanceDataSourceProperties) String() stringCloudSqlInstanceDataSourceReferenceProperties
type CloudSqlInstanceDataSourceReferenceProperties struct {
// Output only. Name of the Cloud SQL instance backed up by the datasource.
// Format:
// projects/{project}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The installed database version of the Cloud SQL instance.
DatabaseInstalledVersion string `protobuf:"bytes,2,opt,name=database_installed_version,json=databaseInstalledVersion,proto3" json:"database_installed_version,omitempty"`
// Output only. The instance creation timestamp.
InstanceCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=instance_create_time,json=instanceCreateTime,proto3" json:"instance_create_time,omitempty"`
// Output only. The tier (or machine type) for this instance. Example:
// `db-custom-1-3840`
InstanceTier string `protobuf:"bytes,5,opt,name=instance_tier,json=instanceTier,proto3" json:"instance_tier,omitempty"`
// contains filtered or unexported fields
}CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.
func (*CloudSqlInstanceDataSourceReferenceProperties) Descriptor
func (*CloudSqlInstanceDataSourceReferenceProperties) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceDataSourceReferenceProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlInstanceDataSourceReferenceProperties) GetDatabaseInstalledVersion
func (x *CloudSqlInstanceDataSourceReferenceProperties) GetDatabaseInstalledVersion() stringfunc (*CloudSqlInstanceDataSourceReferenceProperties) GetInstanceCreateTime
func (x *CloudSqlInstanceDataSourceReferenceProperties) GetInstanceCreateTime() *timestamppb.Timestampfunc (*CloudSqlInstanceDataSourceReferenceProperties) GetInstanceTier
func (x *CloudSqlInstanceDataSourceReferenceProperties) GetInstanceTier() stringfunc (*CloudSqlInstanceDataSourceReferenceProperties) GetName
func (x *CloudSqlInstanceDataSourceReferenceProperties) GetName() stringfunc (*CloudSqlInstanceDataSourceReferenceProperties) ProtoMessage
func (*CloudSqlInstanceDataSourceReferenceProperties) ProtoMessage()func (*CloudSqlInstanceDataSourceReferenceProperties) ProtoReflect
func (x *CloudSqlInstanceDataSourceReferenceProperties) ProtoReflect() protoreflect.Messagefunc (*CloudSqlInstanceDataSourceReferenceProperties) Reset
func (x *CloudSqlInstanceDataSourceReferenceProperties) Reset()func (*CloudSqlInstanceDataSourceReferenceProperties) String
func (x *CloudSqlInstanceDataSourceReferenceProperties) String() stringCloudSqlInstanceInitializationConfig
type CloudSqlInstanceInitializationConfig struct {
// Required. The edition of the Cloud SQL instance.
Edition CloudSqlInstanceInitializationConfig_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=google.cloud.backupdr.v1.CloudSqlInstanceInitializationConfig_Edition" json:"edition,omitempty"`
// contains filtered or unexported fields
}CloudSqlInstanceInitializationConfig contains the configuration for initializing a Cloud SQL instance.
func (*CloudSqlInstanceInitializationConfig) Descriptor
func (*CloudSqlInstanceInitializationConfig) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceInitializationConfig.ProtoReflect.Descriptor instead.
func (*CloudSqlInstanceInitializationConfig) GetEdition
func (x *CloudSqlInstanceInitializationConfig) GetEdition() CloudSqlInstanceInitializationConfig_Editionfunc (*CloudSqlInstanceInitializationConfig) ProtoMessage
func (*CloudSqlInstanceInitializationConfig) ProtoMessage()func (*CloudSqlInstanceInitializationConfig) ProtoReflect
func (x *CloudSqlInstanceInitializationConfig) ProtoReflect() protoreflect.Messagefunc (*CloudSqlInstanceInitializationConfig) Reset
func (x *CloudSqlInstanceInitializationConfig) Reset()func (*CloudSqlInstanceInitializationConfig) String
func (x *CloudSqlInstanceInitializationConfig) String() stringCloudSqlInstanceInitializationConfig_Edition
type CloudSqlInstanceInitializationConfig_Edition int32The edition of the Cloud SQL instance. For details, see https://cloud.google.com/sql/docs/editions-intro.
CloudSqlInstanceInitializationConfig_EDITION_UNSPECIFIED, CloudSqlInstanceInitializationConfig_ENTERPRISE, CloudSqlInstanceInitializationConfig_ENTERPRISE_PLUS
const (
// Unspecified edition.
CloudSqlInstanceInitializationConfig_EDITION_UNSPECIFIED CloudSqlInstanceInitializationConfig_Edition = 0
// Enterprise edition.
CloudSqlInstanceInitializationConfig_ENTERPRISE CloudSqlInstanceInitializationConfig_Edition = 1
// Enterprise Plus edition.
CloudSqlInstanceInitializationConfig_ENTERPRISE_PLUS CloudSqlInstanceInitializationConfig_Edition = 2
)func (CloudSqlInstanceInitializationConfig_Edition) Descriptor
func (CloudSqlInstanceInitializationConfig_Edition) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlInstanceInitializationConfig_Edition) Enum
func (x CloudSqlInstanceInitializationConfig_Edition) Enum() *CloudSqlInstanceInitializationConfig_Editionfunc (CloudSqlInstanceInitializationConfig_Edition) EnumDescriptor
func (CloudSqlInstanceInitializationConfig_Edition) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlInstanceInitializationConfig_Edition.Descriptor instead.
func (CloudSqlInstanceInitializationConfig_Edition) Number
func (x CloudSqlInstanceInitializationConfig_Edition) Number() protoreflect.EnumNumberfunc (CloudSqlInstanceInitializationConfig_Edition) String
func (x CloudSqlInstanceInitializationConfig_Edition) String() stringfunc (CloudSqlInstanceInitializationConfig_Edition) Type
func (CloudSqlInstanceInitializationConfig_Edition) Type() protoreflect.EnumTypeComputeInstanceBackupProperties
type ComputeInstanceBackupProperties struct {
// An optional text description for the instances that are created from these
// properties.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// A list of tags to apply to the instances that are created from these
// properties. The tags identify valid sources or targets for network
// firewalls. The setTags method can modify this list of tags. Each tag within
// the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
Tags *Tags `protobuf:"bytes,2,opt,name=tags,proto3,oneof" json:"tags,omitempty"`
// The machine type to use for instances that are created from these
// properties.
MachineType *string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3,oneof" json:"machine_type,omitempty"`
// Enables instances created based on these properties to send packets with
// source IP addresses other than their own and receive packets with
// destination IP addresses other than their own. If these instances will be
// used as an IP gateway or it will be set as the next-hop in a Route
// resource, specify `true`. If unsure, leave this set to `false`. See the
// https://cloud.google.com/vpc/docs/using-routes#canipforward
// documentation for more information.
CanIpForward *bool `protobuf:"varint,4,opt,name=can_ip_forward,json=canIpForward,proto3,oneof" json:"can_ip_forward,omitempty"`
// An array of network access configurations for this interface.
NetworkInterface []*NetworkInterface `protobuf:"bytes,5,rep,name=network_interface,json=networkInterface,proto3" json:"network_interface,omitempty"`
// An array of disks that are associated with the instances that are created
// from these properties.
Disk []*AttachedDisk `protobuf:"bytes,6,rep,name=disk,proto3" json:"disk,omitempty"`
// The metadata key/value pairs to assign to instances that are created from
// these properties. These pairs can consist of custom metadata or predefined
// keys. See https://cloud.google.com/compute/docs/metadata/overview for more
// information.
Metadata *Metadata `protobuf:"bytes,7,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
// A list of service accounts with specified scopes. Access tokens for these
// service accounts are available to the instances that are created from
// these properties. Use metadata queries to obtain the access tokens for
// these instances.
ServiceAccount []*ServiceAccount `protobuf:"bytes,8,rep,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Specifies the scheduling options for the instances that are created from
// these properties.
Scheduling *Scheduling `protobuf:"bytes,9,opt,name=scheduling,proto3,oneof" json:"scheduling,omitempty"`
// A list of guest accelerator cards' type and count to use for instances
// created from these properties.
GuestAccelerator []*AcceleratorConfig `protobuf:"bytes,10,rep,name=guest_accelerator,json=guestAccelerator,proto3" json:"guest_accelerator,omitempty"`
// Minimum cpu/platform to be used by instances. The instance may be
// scheduled on the specified or newer cpu/platform. Applicable values are the
// friendly names of CPU platforms, such as
// `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
// For more information, read
// https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
MinCpuPlatform *string `protobuf:"bytes,11,opt,name=min_cpu_platform,json=minCpuPlatform,proto3,oneof" json:"min_cpu_platform,omitempty"`
// KeyRevocationActionType of the instance. Supported options are "STOP" and
// "NONE". The default value is "NONE" if it is not specified.
KeyRevocationActionType *KeyRevocationActionType `protobuf:"varint,12,opt,name=key_revocation_action_type,json=keyRevocationActionType,proto3,enum=google.cloud.backupdr.v1.KeyRevocationActionType,oneof" json:"key_revocation_action_type,omitempty"`
// The source instance used to create this backup. This can be a partial or
// full URL to the resource. For example, the following are valid values:
//
// -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
// -projects/project/zones/zone/instances/instance
SourceInstance *string `protobuf:"bytes,13,opt,name=source_instance,json=sourceInstance,proto3,oneof" json:"source_instance,omitempty"`
// Labels to apply to instances that are created from these properties.
Labels map[string]string `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}ComputeInstanceBackupProperties represents Compute Engine instance backup properties.
func (*ComputeInstanceBackupProperties) Descriptor
func (*ComputeInstanceBackupProperties) Descriptor() ([]byte, []int)Deprecated: Use ComputeInstanceBackupProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceBackupProperties) GetCanIpForward
func (x *ComputeInstanceBackupProperties) GetCanIpForward() boolfunc (*ComputeInstanceBackupProperties) GetDescription
func (x *ComputeInstanceBackupProperties) GetDescription() stringfunc (*ComputeInstanceBackupProperties) GetDisk
func (x *ComputeInstanceBackupProperties) GetDisk() []*AttachedDiskfunc (*ComputeInstanceBackupProperties) GetGuestAccelerator
func (x *ComputeInstanceBackupProperties) GetGuestAccelerator() []*AcceleratorConfigfunc (*ComputeInstanceBackupProperties) GetKeyRevocationActionType
func (x *ComputeInstanceBackupProperties) GetKeyRevocationActionType() KeyRevocationActionTypefunc (*ComputeInstanceBackupProperties) GetLabels
func (x *ComputeInstanceBackupProperties) GetLabels() map[string]stringfunc (*ComputeInstanceBackupProperties) GetMachineType
func (x *ComputeInstanceBackupProperties) GetMachineType() stringfunc (*ComputeInstanceBackupProperties) GetMetadata
func (x *ComputeInstanceBackupProperties) GetMetadata() *Metadatafunc (*ComputeInstanceBackupProperties) GetMinCpuPlatform
func (x *ComputeInstanceBackupProperties) GetMinCpuPlatform() stringfunc (*ComputeInstanceBackupProperties) GetNetworkInterface
func (x *ComputeInstanceBackupProperties) GetNetworkInterface() []*NetworkInterfacefunc (*ComputeInstanceBackupProperties) GetScheduling
func (x *ComputeInstanceBackupProperties) GetScheduling() *Schedulingfunc (*ComputeInstanceBackupProperties) GetServiceAccount
func (x *ComputeInstanceBackupProperties) GetServiceAccount() []*ServiceAccountfunc (*ComputeInstanceBackupProperties) GetSourceInstance
func (x *ComputeInstanceBackupProperties) GetSourceInstance() stringfunc (*ComputeInstanceBackupProperties) GetTags
func (x *ComputeInstanceBackupProperties) GetTags() *Tagsfunc (*ComputeInstanceBackupProperties) ProtoMessage
func (*ComputeInstanceBackupProperties) ProtoMessage()func (*ComputeInstanceBackupProperties) ProtoReflect
func (x *ComputeInstanceBackupProperties) ProtoReflect() protoreflect.Messagefunc (*ComputeInstanceBackupProperties) Reset
func (x *ComputeInstanceBackupProperties) Reset()func (*ComputeInstanceBackupProperties) String
func (x *ComputeInstanceBackupProperties) String() stringComputeInstanceDataSourceProperties
type ComputeInstanceDataSourceProperties struct {
// Name of the compute instance backed up by the datasource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The description of the Compute Engine instance.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The machine type of the instance.
MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// The total number of disks attached to the Instance.
TotalDiskCount int64 `protobuf:"varint,4,opt,name=total_disk_count,json=totalDiskCount,proto3" json:"total_disk_count,omitempty"`
// The sum of all the disk sizes.
TotalDiskSizeGb int64 `protobuf:"varint,5,opt,name=total_disk_size_gb,json=totalDiskSizeGb,proto3" json:"total_disk_size_gb,omitempty"`
// contains filtered or unexported fields
}ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.
func (*ComputeInstanceDataSourceProperties) Descriptor
func (*ComputeInstanceDataSourceProperties) Descriptor() ([]byte, []int)Deprecated: Use ComputeInstanceDataSourceProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceDataSourceProperties) GetDescription
func (x *ComputeInstanceDataSourceProperties) GetDescription() stringfunc (*ComputeInstanceDataSourceProperties) GetMachineType
func (x *ComputeInstanceDataSourceProperties) GetMachineType() stringfunc (*ComputeInstanceDataSourceProperties) GetName
func (x *ComputeInstanceDataSourceProperties) GetName() stringfunc (*ComputeInstanceDataSourceProperties) GetTotalDiskCount
func (x *ComputeInstanceDataSourceProperties) GetTotalDiskCount() int64func (*ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb
func (x *ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb() int64func (*ComputeInstanceDataSourceProperties) ProtoMessage
func (*ComputeInstanceDataSourceProperties) ProtoMessage()func (*ComputeInstanceDataSourceProperties) ProtoReflect
func (x *ComputeInstanceDataSourceProperties) ProtoReflect() protoreflect.Messagefunc (*ComputeInstanceDataSourceProperties) Reset
func (x *ComputeInstanceDataSourceProperties) Reset()func (*ComputeInstanceDataSourceProperties) String
func (x *ComputeInstanceDataSourceProperties) String() stringComputeInstanceRestoreProperties
type ComputeInstanceRestoreProperties struct {
// Required. Name of the compute instance.
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. Controls for advanced machine-related behavior features.
AdvancedMachineFeatures *AdvancedMachineFeatures `protobuf:"bytes,2,opt,name=advanced_machine_features,json=advancedMachineFeatures,proto3,oneof" json:"advanced_machine_features,omitempty"`
// Optional. Allows this instance to send and receive packets with
// non-matching destination or source IPs.
CanIpForward *bool `protobuf:"varint,3,opt,name=can_ip_forward,json=canIpForward,proto3,oneof" json:"can_ip_forward,omitempty"`
// Optional. Controls Confidential compute options on the instance
ConfidentialInstanceConfig *ConfidentialInstanceConfig `protobuf:"bytes,4,opt,name=confidential_instance_config,json=confidentialInstanceConfig,proto3,oneof" json:"confidential_instance_config,omitempty"`
// Optional. Whether the resource should be protected against deletion.
DeletionProtection *bool `protobuf:"varint,5,opt,name=deletion_protection,json=deletionProtection,proto3,oneof" json:"deletion_protection,omitempty"`
// Optional. An optional description of this resource. Provide this property
// when you create the resource.
Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. Array of disks associated with this instance. Persistent disks
// must be created before you can assign them. Source regional persistent
// disks will be restored with default replica zones if not specified.
Disks []*AttachedDisk `protobuf:"bytes,7,rep,name=disks,proto3" json:"disks,omitempty"`
// Optional. Enables display device for the instance.
DisplayDevice *DisplayDevice `protobuf:"bytes,8,opt,name=display_device,json=displayDevice,proto3,oneof" json:"display_device,omitempty"`
// Optional. A list of the type and count of accelerator cards attached to the
// instance.
GuestAccelerators []*AcceleratorConfig `protobuf:"bytes,9,rep,name=guest_accelerators,json=guestAccelerators,proto3" json:"guest_accelerators,omitempty"`
// Optional. Specifies the hostname of the instance. The specified hostname
// must be RFC1035 compliant. If hostname is not specified, the default
// hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
// DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
// DNS.
Hostname *string `protobuf:"bytes,10,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
// Optional. Encrypts suspended data for an instance with a
// customer-managed encryption key.
InstanceEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,11,opt,name=instance_encryption_key,json=instanceEncryptionKey,proto3,oneof" json:"instance_encryption_key,omitempty"`
// Optional. KeyRevocationActionType of the instance.
KeyRevocationActionType *KeyRevocationActionType `protobuf:"varint,12,opt,name=key_revocation_action_type,json=keyRevocationActionType,proto3,enum=google.cloud.backupdr.v1.KeyRevocationActionType,oneof" json:"key_revocation_action_type,omitempty"`
// Optional. Labels to apply to this instance.
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Full or partial URL of the machine type resource to use for this
// instance.
MachineType *string `protobuf:"bytes,14,opt,name=machine_type,json=machineType,proto3,oneof" json:"machine_type,omitempty"`
// Optional. This includes custom metadata and predefined keys.
Metadata *Metadata `protobuf:"bytes,15,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
// Optional. Minimum CPU platform to use for this instance.
MinCpuPlatform *string `protobuf:"bytes,16,opt,name=min_cpu_platform,json=minCpuPlatform,proto3,oneof" json:"min_cpu_platform,omitempty"`
// Optional. An array of network configurations for this instance. These
// specify how interfaces are configured to interact with other network
// services, such as connecting to the internet. Multiple interfaces are
// supported per instance. Required to restore in different project or region.
NetworkInterfaces []*NetworkInterface `protobuf:"bytes,17,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
// Optional. Configure network performance such as egress bandwidth tier.
NetworkPerformanceConfig *NetworkPerformanceConfig `protobuf:"bytes,18,opt,name=network_performance_config,json=networkPerformanceConfig,proto3,oneof" json:"network_performance_config,omitempty"`
// Input only. Additional params passed with the request, but not persisted
// as part of resource payload.
Params *InstanceParams `protobuf:"bytes,19,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Optional. The private IPv6 google access type for the VM.
// If not specified, use INHERIT_FROM_SUBNETWORK as default.
PrivateIpv6GoogleAccess *ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess `protobuf:"varint,20,opt,name=private_ipv6_google_access,json=privateIpv6GoogleAccess,proto3,enum=google.cloud.backupdr.v1.ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess,oneof" json:"private_ipv6_google_access,omitempty"`
// Optional. Specifies the reservations that this instance can consume from.
AllocationAffinity *AllocationAffinity `protobuf:"bytes,21,opt,name=allocation_affinity,json=reservationAffinity,proto3,oneof" json:"allocation_affinity,omitempty"`
// Optional. Resource policies applied to this instance.
// By default, no resource policies will be applied.
ResourcePolicies []string `protobuf:"bytes,22,rep,name=resource_policies,json=resourcePolicies,proto3" json:"resource_policies,omitempty"`
// Optional. Sets the scheduling options for this instance.
Scheduling *Scheduling `protobuf:"bytes,23,opt,name=scheduling,proto3,oneof" json:"scheduling,omitempty"`
// Optional. A list of service accounts, with their specified scopes,
// authorized for this instance. Only one service account per VM instance is
// supported.
ServiceAccounts []*ServiceAccount `protobuf:"bytes,24,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
// Optional. Tags to apply to this instance. Tags are used to identify valid
// sources or targets for network firewalls and are specified by the client
// during instance creation.
Tags *Tags `protobuf:"bytes,26,opt,name=tags,proto3,oneof" json:"tags,omitempty"`
// contains filtered or unexported fields
}ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.
func (*ComputeInstanceRestoreProperties) Descriptor
func (*ComputeInstanceRestoreProperties) Descriptor() ([]byte, []int)Deprecated: Use ComputeInstanceRestoreProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures
func (x *ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures() *AdvancedMachineFeaturesfunc (*ComputeInstanceRestoreProperties) GetAllocationAffinity
func (x *ComputeInstanceRestoreProperties) GetAllocationAffinity() *AllocationAffinityfunc (*ComputeInstanceRestoreProperties) GetCanIpForward
func (x *ComputeInstanceRestoreProperties) GetCanIpForward() boolfunc (*ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig
func (x *ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig() *ConfidentialInstanceConfigfunc (*ComputeInstanceRestoreProperties) GetDeletionProtection
func (x *ComputeInstanceRestoreProperties) GetDeletionProtection() boolfunc (*ComputeInstanceRestoreProperties) GetDescription
func (x *ComputeInstanceRestoreProperties) GetDescription() stringfunc (*ComputeInstanceRestoreProperties) GetDisks
func (x *ComputeInstanceRestoreProperties) GetDisks() []*AttachedDiskfunc (*ComputeInstanceRestoreProperties) GetDisplayDevice
func (x *ComputeInstanceRestoreProperties) GetDisplayDevice() *DisplayDevicefunc (*ComputeInstanceRestoreProperties) GetGuestAccelerators
func (x *ComputeInstanceRestoreProperties) GetGuestAccelerators() []*AcceleratorConfigfunc (*ComputeInstanceRestoreProperties) GetHostname
func (x *ComputeInstanceRestoreProperties) GetHostname() stringfunc (*ComputeInstanceRestoreProperties) GetInstanceEncryptionKey
func (x *ComputeInstanceRestoreProperties) GetInstanceEncryptionKey() *CustomerEncryptionKeyfunc (*ComputeInstanceRestoreProperties) GetKeyRevocationActionType
func (x *ComputeInstanceRestoreProperties) GetKeyRevocationActionType() KeyRevocationActionTypefunc (*ComputeInstanceRestoreProperties) GetLabels
func (x *ComputeInstanceRestoreProperties) GetLabels() map[string]stringfunc (*ComputeInstanceRestoreProperties) GetMachineType
func (x *ComputeInstanceRestoreProperties) GetMachineType() stringfunc (*ComputeInstanceRestoreProperties) GetMetadata
func (x *ComputeInstanceRestoreProperties) GetMetadata() *Metadatafunc (*ComputeInstanceRestoreProperties) GetMinCpuPlatform
func (x *ComputeInstanceRestoreProperties) GetMinCpuPlatform() stringfunc (*ComputeInstanceRestoreProperties) GetName
func (x *ComputeInstanceRestoreProperties) GetName() stringfunc (*ComputeInstanceRestoreProperties) GetNetworkInterfaces
func (x *ComputeInstanceRestoreProperties) GetNetworkInterfaces() []*NetworkInterfacefunc (*ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig
func (x *ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig() *NetworkPerformanceConfigfunc (*ComputeInstanceRestoreProperties) GetParams
func (x *ComputeInstanceRestoreProperties) GetParams() *InstanceParamsfunc (*ComputeInstanceRestoreProperties) GetPrivateIpv6GoogleAccess
func (x *ComputeInstanceRestoreProperties) GetPrivateIpv6GoogleAccess() ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccessfunc (*ComputeInstanceRestoreProperties) GetResourcePolicies
func (x *ComputeInstanceRestoreProperties) GetResourcePolicies() []stringfunc (*ComputeInstanceRestoreProperties) GetScheduling
func (x *ComputeInstanceRestoreProperties) GetScheduling() *Schedulingfunc (*ComputeInstanceRestoreProperties) GetServiceAccounts
func (x *ComputeInstanceRestoreProperties) GetServiceAccounts() []*ServiceAccountfunc (*ComputeInstanceRestoreProperties) GetTags
func (x *ComputeInstanceRestoreProperties) GetTags() *Tagsfunc (*ComputeInstanceRestoreProperties) ProtoMessage
func (*ComputeInstanceRestoreProperties) ProtoMessage()func (*ComputeInstanceRestoreProperties) ProtoReflect
func (x *ComputeInstanceRestoreProperties) ProtoReflect() protoreflect.Messagefunc (*ComputeInstanceRestoreProperties) Reset
func (x *ComputeInstanceRestoreProperties) Reset()func (*ComputeInstanceRestoreProperties) String
func (x *ComputeInstanceRestoreProperties) String() stringComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess
type ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess int32The private IPv6 google access type for the VMs.
ComputeInstanceRestoreProperties_INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, ComputeInstanceRestoreProperties_INHERIT_FROM_SUBNETWORK, ComputeInstanceRestoreProperties_ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE, ComputeInstanceRestoreProperties_ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE
const (
// Default value. This value is unused.
ComputeInstanceRestoreProperties_INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 0
// Each network interface inherits PrivateIpv6GoogleAccess from its
// subnetwork.
ComputeInstanceRestoreProperties_INHERIT_FROM_SUBNETWORK ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 1
// Outbound private IPv6 access from VMs in this subnet to Google services.
// If specified, the subnetwork who is attached to the instance's default
// network interface will be assigned an internal IPv6 prefix if it doesn't
// have before.
ComputeInstanceRestoreProperties_ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 2
// Bidirectional private IPv6 access to/from Google services. If
// specified, the subnetwork who is attached to the instance's default
// network interface will be assigned an internal IPv6 prefix if it doesn't
// have before.
ComputeInstanceRestoreProperties_ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 3
)func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Descriptor
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Descriptor() protoreflect.EnumDescriptorfunc (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Enum
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Enum() *ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccessfunc (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) EnumDescriptor
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) EnumDescriptor() ([]byte, []int)Deprecated: Use ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess.Descriptor instead.
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Number
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Number() protoreflect.EnumNumberfunc (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) String
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) String() stringfunc (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Type
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Type() protoreflect.EnumTypeComputeInstanceTargetEnvironment
type ComputeInstanceTargetEnvironment struct {
// Required. Target project for the Compute Engine instance.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Required. The zone of the Compute Engine instance.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}ComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore.
func (*ComputeInstanceTargetEnvironment) Descriptor
func (*ComputeInstanceTargetEnvironment) Descriptor() ([]byte, []int)Deprecated: Use ComputeInstanceTargetEnvironment.ProtoReflect.Descriptor instead.
func (*ComputeInstanceTargetEnvironment) GetProject
func (x *ComputeInstanceTargetEnvironment) GetProject() stringfunc (*ComputeInstanceTargetEnvironment) GetZone
func (x *ComputeInstanceTargetEnvironment) GetZone() stringfunc (*ComputeInstanceTargetEnvironment) ProtoMessage
func (*ComputeInstanceTargetEnvironment) ProtoMessage()func (*ComputeInstanceTargetEnvironment) ProtoReflect
func (x *ComputeInstanceTargetEnvironment) ProtoReflect() protoreflect.Messagefunc (*ComputeInstanceTargetEnvironment) Reset
func (x *ComputeInstanceTargetEnvironment) Reset()func (*ComputeInstanceTargetEnvironment) String
func (x *ComputeInstanceTargetEnvironment) String() stringConfidentialInstanceConfig
type ConfidentialInstanceConfig struct {
// Optional. Defines whether the instance should have confidential compute
// enabled.
EnableConfidentialCompute *bool `protobuf:"varint,1,opt,name=enable_confidential_compute,json=enableConfidentialCompute,proto3,oneof" json:"enable_confidential_compute,omitempty"`
// contains filtered or unexported fields
}A set of Confidential Instance options.
func (*ConfidentialInstanceConfig) Descriptor
func (*ConfidentialInstanceConfig) Descriptor() ([]byte, []int)Deprecated: Use ConfidentialInstanceConfig.ProtoReflect.Descriptor instead.
func (*ConfidentialInstanceConfig) GetEnableConfidentialCompute
func (x *ConfidentialInstanceConfig) GetEnableConfidentialCompute() boolfunc (*ConfidentialInstanceConfig) ProtoMessage
func (*ConfidentialInstanceConfig) ProtoMessage()func (*ConfidentialInstanceConfig) ProtoReflect
func (x *ConfidentialInstanceConfig) ProtoReflect() protoreflect.Messagefunc (*ConfidentialInstanceConfig) Reset
func (x *ConfidentialInstanceConfig) Reset()func (*ConfidentialInstanceConfig) String
func (x *ConfidentialInstanceConfig) String() stringCreateBackupPlanAssociationRequest
type CreateBackupPlanAssociationRequest struct {
// Required. The backup plan association project and location in the format
// `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
// map to GCP regions, for example **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the backup plan association to create. The name must
// be unique for the specified project and location.
BackupPlanAssociationId string `protobuf:"bytes,2,opt,name=backup_plan_association_id,json=backupPlanAssociationId,proto3" json:"backup_plan_association_id,omitempty"`
// Required. The resource being created
BackupPlanAssociation *BackupPlanAssociation `protobuf:"bytes,3,opt,name=backup_plan_association,json=backupPlanAssociation,proto3" json:"backup_plan_association,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for creating a backup plan.
func (*CreateBackupPlanAssociationRequest) Descriptor
func (*CreateBackupPlanAssociationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociation
func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociation() *BackupPlanAssociationfunc (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId
func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId() stringfunc (*CreateBackupPlanAssociationRequest) GetParent
func (x *CreateBackupPlanAssociationRequest) GetParent() stringfunc (*CreateBackupPlanAssociationRequest) GetRequestId
func (x *CreateBackupPlanAssociationRequest) GetRequestId() stringfunc (*CreateBackupPlanAssociationRequest) ProtoMessage
func (*CreateBackupPlanAssociationRequest) ProtoMessage()func (*CreateBackupPlanAssociationRequest) ProtoReflect
func (x *CreateBackupPlanAssociationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupPlanAssociationRequest) Reset
func (x *CreateBackupPlanAssociationRequest) Reset()func (*CreateBackupPlanAssociationRequest) String
func (x *CreateBackupPlanAssociationRequest) String() stringCreateBackupPlanRequest
type CreateBackupPlanRequest struct {
// Required. The `BackupPlan` project and location in the format
// `projects/{project}/locations/{location}`. In Cloud BackupDR locations
// map to GCP regions, for example **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the `BackupPlan` to create. The name must be unique
// for the specified project and location.The name must start with a lowercase
// letter followed by up to 62 lowercase letters, numbers, or hyphens.
// Pattern, /[a-z][a-z0-9-]{,62}/.
BackupPlanId string `protobuf:"bytes,2,opt,name=backup_plan_id,json=backupPlanId,proto3" json:"backup_plan_id,omitempty"`
// Required. The `BackupPlan` resource object to create.
BackupPlan *BackupPlan `protobuf:"bytes,3,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request message for creating a BackupPlan.
func (*CreateBackupPlanRequest) Descriptor
func (*CreateBackupPlanRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupPlanRequest) GetBackupPlan
func (x *CreateBackupPlanRequest) GetBackupPlan() *BackupPlanfunc (*CreateBackupPlanRequest) GetBackupPlanId
func (x *CreateBackupPlanRequest) GetBackupPlanId() stringfunc (*CreateBackupPlanRequest) GetParent
func (x *CreateBackupPlanRequest) GetParent() stringfunc (*CreateBackupPlanRequest) GetRequestId
func (x *CreateBackupPlanRequest) GetRequestId() stringfunc (*CreateBackupPlanRequest) ProtoMessage
func (*CreateBackupPlanRequest) ProtoMessage()func (*CreateBackupPlanRequest) ProtoReflect
func (x *CreateBackupPlanRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupPlanRequest) Reset
func (x *CreateBackupPlanRequest) Reset()func (*CreateBackupPlanRequest) String
func (x *CreateBackupPlanRequest) String() stringCreateBackupVaultRequest
type CreateBackupVaultRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the requesting object
// If auto-generating ID server-side, remove this field and
// backup_vault_id from the method_signature of Create RPC
BackupVaultId string `protobuf:"bytes,2,opt,name=backup_vault_id,json=backupVaultId,proto3" json:"backup_vault_id,omitempty"`
// Required. The resource being created
BackupVault *BackupVault `protobuf:"bytes,3,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the request, but do not perform mutations.
// The default is 'false'.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Message for creating a BackupVault.
func (*CreateBackupVaultRequest) Descriptor
func (*CreateBackupVaultRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupVaultRequest) GetBackupVault
func (x *CreateBackupVaultRequest) GetBackupVault() *BackupVaultfunc (*CreateBackupVaultRequest) GetBackupVaultId
func (x *CreateBackupVaultRequest) GetBackupVaultId() stringfunc (*CreateBackupVaultRequest) GetParent
func (x *CreateBackupVaultRequest) GetParent() stringfunc (*CreateBackupVaultRequest) GetRequestId
func (x *CreateBackupVaultRequest) GetRequestId() stringfunc (*CreateBackupVaultRequest) GetValidateOnly
func (x *CreateBackupVaultRequest) GetValidateOnly() boolfunc (*CreateBackupVaultRequest) ProtoMessage
func (*CreateBackupVaultRequest) ProtoMessage()func (*CreateBackupVaultRequest) ProtoReflect
func (x *CreateBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupVaultRequest) Reset
func (x *CreateBackupVaultRequest) Reset()func (*CreateBackupVaultRequest) String
func (x *CreateBackupVaultRequest) String() stringCreateManagementServerRequest
type CreateManagementServerRequest struct {
// Required. The management server project and location in the format
// 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
// locations map to Google Cloud regions, for example **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the management server to create. The name must be
// unique for the specified project and location.
ManagementServerId string `protobuf:"bytes,2,opt,name=management_server_id,json=managementServerId,proto3" json:"management_server_id,omitempty"`
// Required. A [management server
// resource][google.cloud.backupdr.v1.ManagementServer]
ManagementServer *ManagementServer `protobuf:"bytes,3,opt,name=management_server,json=managementServer,proto3" json:"management_server,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for creating a management server instance.
func (*CreateManagementServerRequest) Descriptor
func (*CreateManagementServerRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateManagementServerRequest.ProtoReflect.Descriptor instead.
func (*CreateManagementServerRequest) GetManagementServer
func (x *CreateManagementServerRequest) GetManagementServer() *ManagementServerfunc (*CreateManagementServerRequest) GetManagementServerId
func (x *CreateManagementServerRequest) GetManagementServerId() stringfunc (*CreateManagementServerRequest) GetParent
func (x *CreateManagementServerRequest) GetParent() stringfunc (*CreateManagementServerRequest) GetRequestId
func (x *CreateManagementServerRequest) GetRequestId() stringfunc (*CreateManagementServerRequest) ProtoMessage
func (*CreateManagementServerRequest) ProtoMessage()func (*CreateManagementServerRequest) ProtoReflect
func (x *CreateManagementServerRequest) ProtoReflect() protoreflect.Messagefunc (*CreateManagementServerRequest) Reset
func (x *CreateManagementServerRequest) Reset()func (*CreateManagementServerRequest) String
func (x *CreateManagementServerRequest) String() stringCustomerEncryptionKey
type CustomerEncryptionKey struct {
// The key to use for encryption.
//
// Types that are assignable to Key:
//
// *CustomerEncryptionKey_RawKey
// *CustomerEncryptionKey_RsaEncryptedKey
// *CustomerEncryptionKey_KmsKeyName
Key isCustomerEncryptionKey_Key `protobuf_oneof:"key"`
// Optional. The service account being used for the encryption request for the
// given KMS key. If absent, the Compute Engine default service account is
// used.
KmsKeyServiceAccount *string `protobuf:"bytes,4,opt,name=kms_key_service_account,json=kmsKeyServiceAccount,proto3,oneof" json:"kms_key_service_account,omitempty"`
// contains filtered or unexported fields
}A customer-supplied encryption key.
func (*CustomerEncryptionKey) Descriptor
func (*CustomerEncryptionKey) Descriptor() ([]byte, []int)Deprecated: Use CustomerEncryptionKey.ProtoReflect.Descriptor instead.
func (*CustomerEncryptionKey) GetKey
func (m *CustomerEncryptionKey) GetKey() isCustomerEncryptionKey_Keyfunc (*CustomerEncryptionKey) GetKmsKeyName
func (x *CustomerEncryptionKey) GetKmsKeyName() stringfunc (*CustomerEncryptionKey) GetKmsKeyServiceAccount
func (x *CustomerEncryptionKey) GetKmsKeyServiceAccount() stringfunc (*CustomerEncryptionKey) GetRawKey
func (x *CustomerEncryptionKey) GetRawKey() stringfunc (*CustomerEncryptionKey) GetRsaEncryptedKey
func (x *CustomerEncryptionKey) GetRsaEncryptedKey() stringfunc (*CustomerEncryptionKey) ProtoMessage
func (*CustomerEncryptionKey) ProtoMessage()func (*CustomerEncryptionKey) ProtoReflect
func (x *CustomerEncryptionKey) ProtoReflect() protoreflect.Messagefunc (*CustomerEncryptionKey) Reset
func (x *CustomerEncryptionKey) Reset()func (*CustomerEncryptionKey) String
func (x *CustomerEncryptionKey) String() stringCustomerEncryptionKey_KmsKeyName
type CustomerEncryptionKey_KmsKeyName struct {
// Optional. The name of the encryption key that is stored in Google Cloud
// KMS.
KmsKeyName string `protobuf:"bytes,3,opt,name=kms_key_name,json=kmsKeyName,proto3,oneof"`
}CustomerEncryptionKey_RawKey
type CustomerEncryptionKey_RawKey struct {
// Optional. Specifies a 256-bit customer-supplied
// encryption key.
RawKey string `protobuf:"bytes,1,opt,name=raw_key,json=rawKey,proto3,oneof"`
}CustomerEncryptionKey_RsaEncryptedKey
type CustomerEncryptionKey_RsaEncryptedKey struct {
// Optional. RSA-wrapped 2048-bit
// customer-supplied encryption key to either encrypt or decrypt this
// resource.
RsaEncryptedKey string `protobuf:"bytes,2,opt,name=rsa_encrypted_key,json=rsaEncryptedKey,proto3,oneof"`
}DataSource
type DataSource struct {
// Output only. Identifier. Name of the datasource to create.
// It must have the
// format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
// `{datasource}` cannot be changed after creation. It must be between 3-63
// characters long and must be unique within the backup vault.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The DataSource resource instance state.
State DataSource_State `protobuf:"varint,21,opt,name=state,proto3,enum=google.cloud.backupdr.v1.DataSource_State" json:"state,omitempty"`
// Optional. Resource labels to represent user provided metadata.
// No labels currently defined:
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
// Number of backups in the data source.
BackupCount *int64 `protobuf:"varint,7,opt,name=backup_count,json=backupCount,proto3,oneof" json:"backup_count,omitempty"`
// Server specified ETag for the ManagementServer resource to prevent
// simultaneous updates from overwiting each other.
Etag *string `protobuf:"bytes,14,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// The number of bytes (metadata and data) stored in this datasource.
TotalStoredBytes *int64 `protobuf:"varint,23,opt,name=total_stored_bytes,json=totalStoredBytes,proto3,oneof" json:"total_stored_bytes,omitempty"`
// Output only. The backup configuration state.
ConfigState BackupConfigState `protobuf:"varint,24,opt,name=config_state,json=configState,proto3,enum=google.cloud.backupdr.v1.BackupConfigState" json:"config_state,omitempty"`
// Output only. Details of how the resource is configured for backup.
BackupConfigInfo *BackupConfigInfo `protobuf:"bytes,25,opt,name=backup_config_info,json=backupConfigInfo,proto3" json:"backup_config_info,omitempty"`
// The source resource that is represented by this DataSource. It can be a
// Google Cloud resource, or one backed up by a Backup Appliance.
//
// Types that are assignable to SourceResource:
//
// *DataSource_DataSourceGcpResource
// *DataSource_DataSourceBackupApplianceApplication
SourceResource isDataSource_SourceResource `protobuf_oneof:"source_resource"`
// Output only. This field is set to true if the backup is blocked by vault
// access restriction.
BackupBlockedByVaultAccessRestriction bool `protobuf:"varint,28,opt,name=backup_blocked_by_vault_access_restriction,json=backupBlockedByVaultAccessRestriction,proto3" json:"backup_blocked_by_vault_access_restriction,omitempty"`
// contains filtered or unexported fields
}Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
func (*DataSource) Descriptor
func (*DataSource) Descriptor() ([]byte, []int)Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetBackupBlockedByVaultAccessRestriction
func (x *DataSource) GetBackupBlockedByVaultAccessRestriction() boolfunc (*DataSource) GetBackupConfigInfo
func (x *DataSource) GetBackupConfigInfo() *BackupConfigInfofunc (*DataSource) GetBackupCount
func (x *DataSource) GetBackupCount() int64func (*DataSource) GetConfigState
func (x *DataSource) GetConfigState() BackupConfigStatefunc (*DataSource) GetCreateTime
func (x *DataSource) GetCreateTime() *timestamppb.Timestampfunc (*DataSource) GetDataSourceBackupApplianceApplication
func (x *DataSource) GetDataSourceBackupApplianceApplication() *DataSourceBackupApplianceApplicationfunc (*DataSource) GetDataSourceGcpResource
func (x *DataSource) GetDataSourceGcpResource() *DataSourceGcpResourcefunc (*DataSource) GetEtag
func (x *DataSource) GetEtag() stringfunc (*DataSource) GetLabels
func (x *DataSource) GetLabels() map[string]stringfunc (*DataSource) GetName
func (x *DataSource) GetName() stringfunc (*DataSource) GetSourceResource
func (m *DataSource) GetSourceResource() isDataSource_SourceResourcefunc (*DataSource) GetState
func (x *DataSource) GetState() DataSource_Statefunc (*DataSource) GetTotalStoredBytes
func (x *DataSource) GetTotalStoredBytes() int64func (*DataSource) GetUpdateTime
func (x *DataSource) GetUpdateTime() *timestamppb.Timestampfunc (*DataSource) ProtoMessage
func (*DataSource) ProtoMessage()func (*DataSource) ProtoReflect
func (x *DataSource) ProtoReflect() protoreflect.Messagefunc (*DataSource) Reset
func (x *DataSource) Reset()func (*DataSource) String
func (x *DataSource) String() stringDataSourceBackupApplianceApplication
type DataSourceBackupApplianceApplication struct {
// The name of the Application as known to the Backup Appliance.
ApplicationName string `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
// Appliance name.
BackupAppliance string `protobuf:"bytes,2,opt,name=backup_appliance,json=backupAppliance,proto3" json:"backup_appliance,omitempty"`
// Appliance Id of the Backup Appliance.
ApplianceId int64 `protobuf:"varint,3,opt,name=appliance_id,json=applianceId,proto3" json:"appliance_id,omitempty"`
// The type of the application. e.g. VMBackup
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// The appid field of the application within the Backup Appliance.
ApplicationId int64 `protobuf:"varint,8,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
// Hostname of the host where the application is running.
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
// Hostid of the application host.
HostId int64 `protobuf:"varint,7,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// contains filtered or unexported fields
}BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.
func (*DataSourceBackupApplianceApplication) Descriptor
func (*DataSourceBackupApplianceApplication) Descriptor() ([]byte, []int)Deprecated: Use DataSourceBackupApplianceApplication.ProtoReflect.Descriptor instead.
func (*DataSourceBackupApplianceApplication) GetApplianceId
func (x *DataSourceBackupApplianceApplication) GetApplianceId() int64func (*DataSourceBackupApplianceApplication) GetApplicationId
func (x *DataSourceBackupApplianceApplication) GetApplicationId() int64func (*DataSourceBackupApplianceApplication) GetApplicationName
func (x *DataSourceBackupApplianceApplication) GetApplicationName() stringfunc (*DataSourceBackupApplianceApplication) GetBackupAppliance
func (x *DataSourceBackupApplianceApplication) GetBackupAppliance() stringfunc (*DataSourceBackupApplianceApplication) GetHostId
func (x *DataSourceBackupApplianceApplication) GetHostId() int64func (*DataSourceBackupApplianceApplication) GetHostname
func (x *DataSourceBackupApplianceApplication) GetHostname() stringfunc (*DataSourceBackupApplianceApplication) GetType
func (x *DataSourceBackupApplianceApplication) GetType() stringfunc (*DataSourceBackupApplianceApplication) ProtoMessage
func (*DataSourceBackupApplianceApplication) ProtoMessage()func (*DataSourceBackupApplianceApplication) ProtoReflect
func (x *DataSourceBackupApplianceApplication) ProtoReflect() protoreflect.Messagefunc (*DataSourceBackupApplianceApplication) Reset
func (x *DataSourceBackupApplianceApplication) Reset()func (*DataSourceBackupApplianceApplication) String
func (x *DataSourceBackupApplianceApplication) String() stringDataSourceBackupConfigInfo
type DataSourceBackupConfigInfo struct {
// Output only. The status of the last backup in this DataSource
LastBackupState BackupConfigInfo_LastBackupState `protobuf:"varint,1,opt,name=last_backup_state,json=lastBackupState,proto3,enum=google.cloud.backupdr.v1.BackupConfigInfo_LastBackupState" json:"last_backup_state,omitempty"`
// Output only. Timestamp of the last successful backup to this DataSource.
LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_successful_backup_consistency_time,json=lastSuccessfulBackupConsistencyTime,proto3" json:"last_successful_backup_consistency_time,omitempty"`
// contains filtered or unexported fields
}Information of backup configuration on the DataSource.
func (*DataSourceBackupConfigInfo) Descriptor
func (*DataSourceBackupConfigInfo) Descriptor() ([]byte, []int)Deprecated: Use DataSourceBackupConfigInfo.ProtoReflect.Descriptor instead.
func (*DataSourceBackupConfigInfo) GetLastBackupState
func (x *DataSourceBackupConfigInfo) GetLastBackupState() BackupConfigInfo_LastBackupStatefunc (*DataSourceBackupConfigInfo) GetLastSuccessfulBackupConsistencyTime
func (x *DataSourceBackupConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestampfunc (*DataSourceBackupConfigInfo) ProtoMessage
func (*DataSourceBackupConfigInfo) ProtoMessage()func (*DataSourceBackupConfigInfo) ProtoReflect
func (x *DataSourceBackupConfigInfo) ProtoReflect() protoreflect.Messagefunc (*DataSourceBackupConfigInfo) Reset
func (x *DataSourceBackupConfigInfo) Reset()func (*DataSourceBackupConfigInfo) String
func (x *DataSourceBackupConfigInfo) String() stringDataSourceGcpResource
type DataSourceGcpResource struct {
// Output only. Full resource pathname URL of the source Google Cloud
// resource.
GcpResourcename string `protobuf:"bytes,1,opt,name=gcp_resourcename,json=gcpResourcename,proto3" json:"gcp_resourcename,omitempty"`
// Location of the resource: DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
func (*DataSourceGcpResource) Descriptor
func (*DataSourceGcpResource) Descriptor() ([]byte, []int)Deprecated: Use DataSourceGcpResource.ProtoReflect.Descriptor instead.
func (*DataSourceGcpResource) GetCloudSqlInstanceDatasourceProperties
func (x *DataSourceGcpResource) GetCloudSqlInstanceDatasourceProperties() *CloudSqlInstanceDataSourcePropertiesfunc (*DataSourceGcpResource) GetComputeInstanceDatasourceProperties
func (x *DataSourceGcpResource) GetComputeInstanceDatasourceProperties() *ComputeInstanceDataSourcePropertiesfunc (*DataSourceGcpResource) GetDiskDatasourceProperties
func (x *DataSourceGcpResource) GetDiskDatasourceProperties() *DiskDataSourcePropertiesfunc (*DataSourceGcpResource) GetGcpResourceProperties
func (m *DataSourceGcpResource) GetGcpResourceProperties() isDataSourceGcpResource_GcpResourcePropertiesfunc (*DataSourceGcpResource) GetGcpResourcename
func (x *DataSourceGcpResource) GetGcpResourcename() stringfunc (*DataSourceGcpResource) GetLocation
func (x *DataSourceGcpResource) GetLocation() stringfunc (*DataSourceGcpResource) GetType
func (x *DataSourceGcpResource) GetType() stringfunc (*DataSourceGcpResource) ProtoMessage
func (*DataSourceGcpResource) ProtoMessage()func (*DataSourceGcpResource) ProtoReflect
func (x *DataSourceGcpResource) ProtoReflect() protoreflect.Messagefunc (*DataSourceGcpResource) Reset
func (x *DataSourceGcpResource) Reset()func (*DataSourceGcpResource) String
func (x *DataSourceGcpResource) String() stringDataSourceGcpResourceInfo
type DataSourceGcpResourceInfo struct {
// Output only. The resource name of the GCP resource.
// Ex: projects/{project}/zones/{zone}/instances/{instance}
GcpResourcename string `protobuf:"bytes,1,opt,name=gcp_resourcename,json=gcpResourcename,proto3" json:"gcp_resourcename,omitempty"`
// Output only. The type of the GCP resource.
// Ex: compute.googleapis.com/Instance
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Output only. The location of the GCP resource.
// Ex: The GCP resource that the DataSource is associated with.
func (*DataSourceGcpResourceInfo) Descriptor
func (*DataSourceGcpResourceInfo) Descriptor() ([]byte, []int)Deprecated: Use DataSourceGcpResourceInfo.ProtoReflect.Descriptor instead.
func (*DataSourceGcpResourceInfo) GetCloudSqlInstanceProperties
func (x *DataSourceGcpResourceInfo) GetCloudSqlInstanceProperties() *CloudSqlInstanceDataSourceReferencePropertiesfunc (*DataSourceGcpResourceInfo) GetGcpResourcename
func (x *DataSourceGcpResourceInfo) GetGcpResourcename() stringfunc (*DataSourceGcpResourceInfo) GetLocation
func (x *DataSourceGcpResourceInfo) GetLocation() stringfunc (*DataSourceGcpResourceInfo) GetResourceProperties
func (m *DataSourceGcpResourceInfo) GetResourceProperties() isDataSourceGcpResourceInfo_ResourcePropertiesfunc (*DataSourceGcpResourceInfo) GetType
func (x *DataSourceGcpResourceInfo) GetType() stringfunc (*DataSourceGcpResourceInfo) ProtoMessage
func (*DataSourceGcpResourceInfo) ProtoMessage()func (*DataSourceGcpResourceInfo) ProtoReflect
func (x *DataSourceGcpResourceInfo) ProtoReflect() protoreflect.Messagefunc (*DataSourceGcpResourceInfo) Reset
func (x *DataSourceGcpResourceInfo) Reset()func (*DataSourceGcpResourceInfo) String
func (x *DataSourceGcpResourceInfo) String() stringDataSourceGcpResourceInfo_CloudSqlInstanceProperties
type DataSourceGcpResourceInfo_CloudSqlInstanceProperties struct {
// Output only. The properties of the Cloud SQL instance.
CloudSqlInstanceProperties *CloudSqlInstanceDataSourceReferenceProperties `protobuf:"bytes,4,opt,name=cloud_sql_instance_properties,json=cloudSqlInstanceProperties,proto3,oneof"`
}DataSourceGcpResource_CloudSqlInstanceDatasourceProperties
type DataSourceGcpResource_CloudSqlInstanceDatasourceProperties struct {
// Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud
// SQL Instance properties that are useful at the Datasource level.
CloudSqlInstanceDatasourceProperties *CloudSqlInstanceDataSourceProperties `protobuf:"bytes,5,opt,name=cloud_sql_instance_datasource_properties,json=cloudSqlInstanceDatasourceProperties,proto3,oneof"`
}DataSourceGcpResource_ComputeInstanceDatasourceProperties
type DataSourceGcpResource_ComputeInstanceDatasourceProperties struct {
// ComputeInstanceDataSourceProperties has a subset of Compute Instance
// properties that are useful at the Datasource level.
ComputeInstanceDatasourceProperties *ComputeInstanceDataSourceProperties `protobuf:"bytes,4,opt,name=compute_instance_datasource_properties,json=computeInstanceDatasourceProperties,proto3,oneof"`
}DataSourceGcpResource_DiskDatasourceProperties
type DataSourceGcpResource_DiskDatasourceProperties struct {
// DiskDataSourceProperties has a subset of Disk properties that are useful
// at the Datasource level.
DiskDatasourceProperties *DiskDataSourceProperties `protobuf:"bytes,7,opt,name=disk_datasource_properties,json=diskDatasourceProperties,proto3,oneof"`
}DataSourceReference
type DataSourceReference struct {
// Identifier. The resource name of the DataSourceReference.
// Format:
// projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The resource name of the DataSource.
// Format:
// projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}
DataSource string `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
// Output only. The time when the DataSourceReference was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The backup configuration state of the DataSource.
DataSourceBackupConfigState BackupConfigState `protobuf:"varint,4,opt,name=data_source_backup_config_state,json=dataSourceBackupConfigState,proto3,enum=google.cloud.backupdr.v1.BackupConfigState" json:"data_source_backup_config_state,omitempty"`
// Output only. Number of backups in the DataSource.
DataSourceBackupCount int64 `protobuf:"varint,5,opt,name=data_source_backup_count,json=dataSourceBackupCount,proto3" json:"data_source_backup_count,omitempty"`
// Output only. Information of backup configuration on the DataSource.
DataSourceBackupConfigInfo *DataSourceBackupConfigInfo `protobuf:"bytes,6,opt,name=data_source_backup_config_info,json=dataSourceBackupConfigInfo,proto3" json:"data_source_backup_config_info,omitempty"`
// Output only. The GCP resource that the DataSource is associated with.
DataSourceGcpResourceInfo *DataSourceGcpResourceInfo `protobuf:"bytes,7,opt,name=data_source_gcp_resource_info,json=dataSourceGcpResourceInfo,proto3" json:"data_source_gcp_resource_info,omitempty"`
// contains filtered or unexported fields
}DataSourceReference is a reference to a DataSource resource.
func (*DataSourceReference) Descriptor
func (*DataSourceReference) Descriptor() ([]byte, []int)Deprecated: Use DataSourceReference.ProtoReflect.Descriptor instead.
func (*DataSourceReference) GetCreateTime
func (x *DataSourceReference) GetCreateTime() *timestamppb.Timestampfunc (*DataSourceReference) GetDataSource
func (x *DataSourceReference) GetDataSource() stringfunc (*DataSourceReference) GetDataSourceBackupConfigInfo
func (x *DataSourceReference) GetDataSourceBackupConfigInfo() *DataSourceBackupConfigInfofunc (*DataSourceReference) GetDataSourceBackupConfigState
func (x *DataSourceReference) GetDataSourceBackupConfigState() BackupConfigStatefunc (*DataSourceReference) GetDataSourceBackupCount
func (x *DataSourceReference) GetDataSourceBackupCount() int64func (*DataSourceReference) GetDataSourceGcpResourceInfo
func (x *DataSourceReference) GetDataSourceGcpResourceInfo() *DataSourceGcpResourceInfofunc (*DataSourceReference) GetName
func (x *DataSourceReference) GetName() stringfunc (*DataSourceReference) ProtoMessage
func (*DataSourceReference) ProtoMessage()func (*DataSourceReference) ProtoReflect
func (x *DataSourceReference) ProtoReflect() protoreflect.Messagefunc (*DataSourceReference) Reset
func (x *DataSourceReference) Reset()func (*DataSourceReference) String
func (x *DataSourceReference) String() stringDataSource_DataSourceBackupApplianceApplication
type DataSource_DataSourceBackupApplianceApplication struct {
// The backed up resource is a backup appliance application.
DataSourceBackupApplianceApplication *DataSourceBackupApplianceApplication `protobuf:"bytes,27,opt,name=data_source_backup_appliance_application,json=dataSourceBackupApplianceApplication,proto3,oneof"`
}DataSource_DataSourceGcpResource
type DataSource_DataSourceGcpResource struct {
// The backed up resource is a Google Cloud resource.
// The word 'DataSource' was included in the names to indicate that this is
// the representation of the Google Cloud resource used within the
// DataSource object.
DataSourceGcpResource *DataSourceGcpResource `protobuf:"bytes,26,opt,name=data_source_gcp_resource,json=dataSourceGcpResource,proto3,oneof"`
}DataSource_State
type DataSource_State int32Holds the state of the data source resource.
DataSource_STATE_UNSPECIFIED, DataSource_CREATING, DataSource_ACTIVE, DataSource_DELETING, DataSource_ERROR
const (
// State not set.
DataSource_STATE_UNSPECIFIED DataSource_State = 0
// The data source is being created.
DataSource_CREATING DataSource_State = 1
// The data source has been created and is fully usable.
DataSource_ACTIVE DataSource_State = 2
// The data source is being deleted.
DataSource_DELETING DataSource_State = 3
// The data source is experiencing an issue and might be unusable.
DataSource_ERROR DataSource_State = 4
)func (DataSource_State) Descriptor
func (DataSource_State) Descriptor() protoreflect.EnumDescriptorfunc (DataSource_State) Enum
func (x DataSource_State) Enum() *DataSource_Statefunc (DataSource_State) EnumDescriptor
func (DataSource_State) EnumDescriptor() ([]byte, []int)Deprecated: Use DataSource_State.Descriptor instead.
func (DataSource_State) Number
func (x DataSource_State) Number() protoreflect.EnumNumberfunc (DataSource_State) String
func (x DataSource_State) String() stringfunc (DataSource_State) Type
func (DataSource_State) Type() protoreflect.EnumTypeDeleteBackupPlanAssociationRequest
type DeleteBackupPlanAssociationRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for deleting a backup plan association.
func (*DeleteBackupPlanAssociationRequest) Descriptor
func (*DeleteBackupPlanAssociationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupPlanAssociationRequest) GetName
func (x *DeleteBackupPlanAssociationRequest) GetName() stringfunc (*DeleteBackupPlanAssociationRequest) GetRequestId
func (x *DeleteBackupPlanAssociationRequest) GetRequestId() stringfunc (*DeleteBackupPlanAssociationRequest) ProtoMessage
func (*DeleteBackupPlanAssociationRequest) ProtoMessage()func (*DeleteBackupPlanAssociationRequest) ProtoReflect
func (x *DeleteBackupPlanAssociationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupPlanAssociationRequest) Reset
func (x *DeleteBackupPlanAssociationRequest) Reset()func (*DeleteBackupPlanAssociationRequest) String
func (x *DeleteBackupPlanAssociationRequest) String() stringDeleteBackupPlanRequest
type DeleteBackupPlanRequest struct {
// Required. The resource name of the `BackupPlan` to delete.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request message for deleting a BackupPlan.
func (*DeleteBackupPlanRequest) Descriptor
func (*DeleteBackupPlanRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupPlanRequest) GetName
func (x *DeleteBackupPlanRequest) GetName() stringfunc (*DeleteBackupPlanRequest) GetRequestId
func (x *DeleteBackupPlanRequest) GetRequestId() stringfunc (*DeleteBackupPlanRequest) ProtoMessage
func (*DeleteBackupPlanRequest) ProtoMessage()func (*DeleteBackupPlanRequest) ProtoReflect
func (x *DeleteBackupPlanRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupPlanRequest) Reset
func (x *DeleteBackupPlanRequest) Reset()func (*DeleteBackupPlanRequest) String
func (x *DeleteBackupPlanRequest) String() stringDeleteBackupRequest
type DeleteBackupRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Backup.
func (*DeleteBackupRequest) Descriptor
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName
func (x *DeleteBackupRequest) GetName() stringfunc (*DeleteBackupRequest) GetRequestId
func (x *DeleteBackupRequest) GetRequestId() stringfunc (*DeleteBackupRequest) ProtoMessage
func (*DeleteBackupRequest) ProtoMessage()func (*DeleteBackupRequest) ProtoReflect
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupRequest) Reset
func (x *DeleteBackupRequest) Reset()func (*DeleteBackupRequest) String
func (x *DeleteBackupRequest) String() stringDeleteBackupVaultRequest
type DeleteBackupVaultRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, any data source from this backup vault will also
// be deleted.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// The current etag of the backup vault.
// If an etag is provided and does not match the current etag of the
// connection, deletion will be blocked.
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Only validate the request, but do not perform mutations.
// The default is 'false'.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If true and the BackupVault is not found, the request will
// succeed but no action will be taken.
AllowMissing bool `protobuf:"varint,6,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, backupvault deletion will proceed even if there
// are backup plans referencing the backupvault. The default is 'false'.
IgnoreBackupPlanReferences bool `protobuf:"varint,7,opt,name=ignore_backup_plan_references,json=ignoreBackupPlanReferences,proto3" json:"ignore_backup_plan_references,omitempty"`
// contains filtered or unexported fields
}Message for deleting a BackupVault.
func (*DeleteBackupVaultRequest) Descriptor
func (*DeleteBackupVaultRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupVaultRequest) GetAllowMissing
func (x *DeleteBackupVaultRequest) GetAllowMissing() boolfunc (*DeleteBackupVaultRequest) GetEtag
func (x *DeleteBackupVaultRequest) GetEtag() stringfunc (*DeleteBackupVaultRequest) GetForce
func (x *DeleteBackupVaultRequest) GetForce() boolfunc (*DeleteBackupVaultRequest) GetIgnoreBackupPlanReferences
func (x *DeleteBackupVaultRequest) GetIgnoreBackupPlanReferences() boolfunc (*DeleteBackupVaultRequest) GetName
func (x *DeleteBackupVaultRequest) GetName() stringfunc (*DeleteBackupVaultRequest) GetRequestId
func (x *DeleteBackupVaultRequest) GetRequestId() stringfunc (*DeleteBackupVaultRequest) GetValidateOnly
func (x *DeleteBackupVaultRequest) GetValidateOnly() boolfunc (*DeleteBackupVaultRequest) ProtoMessage
func (*DeleteBackupVaultRequest) ProtoMessage()func (*DeleteBackupVaultRequest) ProtoReflect
func (x *DeleteBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupVaultRequest) Reset
func (x *DeleteBackupVaultRequest) Reset()func (*DeleteBackupVaultRequest) String
func (x *DeleteBackupVaultRequest) String() stringDeleteManagementServerRequest
type DeleteManagementServerRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for deleting a management server instance.
func (*DeleteManagementServerRequest) Descriptor
func (*DeleteManagementServerRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteManagementServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteManagementServerRequest) GetName
func (x *DeleteManagementServerRequest) GetName() stringfunc (*DeleteManagementServerRequest) GetRequestId
func (x *DeleteManagementServerRequest) GetRequestId() stringfunc (*DeleteManagementServerRequest) ProtoMessage
func (*DeleteManagementServerRequest) ProtoMessage()func (*DeleteManagementServerRequest) ProtoReflect
func (x *DeleteManagementServerRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteManagementServerRequest) Reset
func (x *DeleteManagementServerRequest) Reset()func (*DeleteManagementServerRequest) String
func (x *DeleteManagementServerRequest) String() stringDiskBackupProperties
type DiskBackupProperties struct {
// A description of the source disk.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// A list of publicly available licenses that are applicable to this backup.
// This is applicable if the original image had licenses attached, e.g.
// Windows image.
Licenses []string `protobuf:"bytes,2,rep,name=licenses,proto3" json:"licenses,omitempty"`
// A list of guest OS features that are applicable to this backup.
GuestOsFeature []*GuestOsFeature `protobuf:"bytes,3,rep,name=guest_os_feature,json=guestOsFeature,proto3" json:"guest_os_feature,omitempty"`
// The architecture of the source disk. Valid values are
// ARM64 or X86_64.
Architecture *DiskBackupProperties_Architecture `protobuf:"varint,4,opt,name=architecture,proto3,enum=google.cloud.backupdr.v1.DiskBackupProperties_Architecture,oneof" json:"architecture,omitempty"`
// The URL of the type of the disk.
Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"`
// Size(in GB) of the source disk.
SizeGb *int64 `protobuf:"varint,6,opt,name=size_gb,json=sizeGb,proto3,oneof" json:"size_gb,omitempty"`
// Region and zone are mutually exclusive fields.
// The URL of the region of the source disk.
Region *string `protobuf:"bytes,7,opt,name=region,proto3,oneof" json:"region,omitempty"`
// The URL of the Zone where the source disk.
Zone *string `protobuf:"bytes,8,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
// The URL of the Zones where the source disk should be replicated.
ReplicaZones []string `protobuf:"bytes,9,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// The source disk used to create this backup.
SourceDisk *string `protobuf:"bytes,10,opt,name=source_disk,json=sourceDisk,proto3,oneof" json:"source_disk,omitempty"`
// contains filtered or unexported fields
}DiskBackupProperties represents the properties of a Disk backup.
func (*DiskBackupProperties) Descriptor
func (*DiskBackupProperties) Descriptor() ([]byte, []int)Deprecated: Use DiskBackupProperties.ProtoReflect.Descriptor instead.
func (*DiskBackupProperties) GetArchitecture
func (x *DiskBackupProperties) GetArchitecture() DiskBackupProperties_Architecturefunc (*DiskBackupProperties) GetDescription
func (x *DiskBackupProperties) GetDescription() stringfunc (*DiskBackupProperties) GetGuestOsFeature
func (x *DiskBackupProperties) GetGuestOsFeature() []*GuestOsFeaturefunc (*DiskBackupProperties) GetLicenses
func (x *DiskBackupProperties) GetLicenses() []stringfunc (*DiskBackupProperties) GetRegion
func (x *DiskBackupProperties) GetRegion() stringfunc (*DiskBackupProperties) GetReplicaZones
func (x *DiskBackupProperties) GetReplicaZones() []stringfunc (*DiskBackupProperties) GetSizeGb
func (x *DiskBackupProperties) GetSizeGb() int64func (*DiskBackupProperties) GetSourceDisk
func (x *DiskBackupProperties) GetSourceDisk() stringfunc (*DiskBackupProperties) GetType
func (x *DiskBackupProperties) GetType() stringfunc (*DiskBackupProperties) GetZone
func (x *DiskBackupProperties) GetZone() stringfunc (*DiskBackupProperties) ProtoMessage
func (*DiskBackupProperties) ProtoMessage()func (*DiskBackupProperties) ProtoReflect
func (x *DiskBackupProperties) ProtoReflect() protoreflect.Messagefunc (*DiskBackupProperties) Reset
func (x *DiskBackupProperties) Reset()func (*DiskBackupProperties) String
func (x *DiskBackupProperties) String() stringDiskBackupProperties_Architecture
type DiskBackupProperties_Architecture int32Architecture of the source disk.
DiskBackupProperties_ARCHITECTURE_UNSPECIFIED, DiskBackupProperties_X86_64, DiskBackupProperties_ARM64
const (
// Default value. This value is unused.
DiskBackupProperties_ARCHITECTURE_UNSPECIFIED DiskBackupProperties_Architecture = 0
// Disks with architecture X86_64
DiskBackupProperties_X86_64 DiskBackupProperties_Architecture = 1
// Disks with architecture ARM64
DiskBackupProperties_ARM64 DiskBackupProperties_Architecture = 2
)func (DiskBackupProperties_Architecture) Descriptor
func (DiskBackupProperties_Architecture) Descriptor() protoreflect.EnumDescriptorfunc (DiskBackupProperties_Architecture) Enum
func (x DiskBackupProperties_Architecture) Enum() *DiskBackupProperties_Architecturefunc (DiskBackupProperties_Architecture) EnumDescriptor
func (DiskBackupProperties_Architecture) EnumDescriptor() ([]byte, []int)Deprecated: Use DiskBackupProperties_Architecture.Descriptor instead.
func (DiskBackupProperties_Architecture) Number
func (x DiskBackupProperties_Architecture) Number() protoreflect.EnumNumberfunc (DiskBackupProperties_Architecture) String
func (x DiskBackupProperties_Architecture) String() stringfunc (DiskBackupProperties_Architecture) Type
func (DiskBackupProperties_Architecture) Type() protoreflect.EnumTypeDiskDataSourceProperties
type DiskDataSourceProperties struct {
// Name of the disk backed up by the datasource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The description of the disk.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The type of the disk.
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// The size of the disk in GB.
SizeGb int64 `protobuf:"varint,4,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}DiskDataSourceProperties represents the properties of a Disk resource that are stored in the DataSource. .
func (*DiskDataSourceProperties) Descriptor
func (*DiskDataSourceProperties) Descriptor() ([]byte, []int)Deprecated: Use DiskDataSourceProperties.ProtoReflect.Descriptor instead.
func (*DiskDataSourceProperties) GetDescription
func (x *DiskDataSourceProperties) GetDescription() stringfunc (*DiskDataSourceProperties) GetName
func (x *DiskDataSourceProperties) GetName() stringfunc (*DiskDataSourceProperties) GetSizeGb
func (x *DiskDataSourceProperties) GetSizeGb() int64func (*DiskDataSourceProperties) GetType
func (x *DiskDataSourceProperties) GetType() stringfunc (*DiskDataSourceProperties) ProtoMessage
func (*DiskDataSourceProperties) ProtoMessage()func (*DiskDataSourceProperties) ProtoReflect
func (x *DiskDataSourceProperties) ProtoReflect() protoreflect.Messagefunc (*DiskDataSourceProperties) Reset
func (x *DiskDataSourceProperties) Reset()func (*DiskDataSourceProperties) String
func (x *DiskDataSourceProperties) String() stringDiskRestoreProperties
type DiskRestoreProperties struct {
// Required. Name of the disk.
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. An optional description of this resource. Provide this property
// when you create the resource.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Required. The size of the disk in GB.
SizeGb *int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3,oneof" json:"size_gb,omitempty"`
// Optional. A list of publicly available licenses that are applicable to this
// backup. This is applicable if the original image had licenses attached,
// e.g. Windows image
Licenses []string `protobuf:"bytes,4,rep,name=licenses,proto3" json:"licenses,omitempty"`
// Optional. A list of features to enable in the guest operating system. This
// is applicable only for bootable images.
GuestOsFeature []*GuestOsFeature `protobuf:"bytes,5,rep,name=guest_os_feature,json=guestOsFeature,proto3" json:"guest_os_feature,omitempty"`
// Optional. Encrypts the disk using a
// customer-supplied encryption key or a customer-managed encryption key.
DiskEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,6,opt,name=disk_encryption_key,json=diskEncryptionKey,proto3,oneof" json:"disk_encryption_key,omitempty"`
// Optional. Physical block size of the persistent disk, in bytes.
// If not present in a request, a default value is used.
// Currently, the supported size is 4096.
PhysicalBlockSizeBytes *int64 `protobuf:"varint,7,opt,name=physical_block_size_bytes,json=physicalBlockSizeBytes,proto3,oneof" json:"physical_block_size_bytes,omitempty"`
// Optional. Indicates how many IOPS to provision for the disk. This sets the
// number of I/O operations per second that the disk can handle.
ProvisionedIops *int64 `protobuf:"varint,8,opt,name=provisioned_iops,json=provisionedIops,proto3,oneof" json:"provisioned_iops,omitempty"`
// Optional. Indicates how much throughput to provision for the disk. This
// sets the number of throughput MB per second that the disk can handle.
ProvisionedThroughput *int64 `protobuf:"varint,9,opt,name=provisioned_throughput,json=provisionedThroughput,proto3,oneof" json:"provisioned_throughput,omitempty"`
// Optional. Indicates whether this disk is using confidential compute mode.
// Encryption with a Cloud KMS key is required to enable this option.
EnableConfidentialCompute *bool `protobuf:"varint,10,opt,name=enable_confidential_compute,json=enableConfidentialCompute,proto3,oneof" json:"enable_confidential_compute,omitempty"`
// Optional. The storage pool in which the new disk is created. You can
// provide this as a partial or full URL to the resource.
StoragePool *string `protobuf:"bytes,11,opt,name=storage_pool,json=storagePool,proto3,oneof" json:"storage_pool,omitempty"`
// Optional. The access mode of the disk.
AccessMode *DiskRestoreProperties_AccessMode `protobuf:"varint,12,opt,name=access_mode,json=accessMode,proto3,enum=google.cloud.backupdr.v1.DiskRestoreProperties_AccessMode,oneof" json:"access_mode,omitempty"`
// Optional. The architecture of the source disk. Valid values are
// ARM64 or X86_64.
Architecture *DiskRestoreProperties_Architecture `protobuf:"varint,14,opt,name=architecture,proto3,enum=google.cloud.backupdr.v1.DiskRestoreProperties_Architecture,oneof" json:"architecture,omitempty"`
// Optional. Resource policies applied to this disk.
ResourcePolicy []string `protobuf:"bytes,15,rep,name=resource_policy,json=resourcePolicy,proto3" json:"resource_policy,omitempty"`
// Required. URL of the disk type resource describing which disk type to use
// to create the disk.
Type *string `protobuf:"bytes,16,opt,name=type,proto3,oneof" json:"type,omitempty"`
// Optional. Labels to apply to this disk. These can be modified later using
// setLabels method. Label values can be empty.
Labels map[string]string `protobuf:"bytes,17,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Resource manager tags to be bound to the disk.
ResourceManagerTags map[string]string `protobuf:"bytes,18,rep,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}DiskRestoreProperties represents the properties of a Disk restore.
func (*DiskRestoreProperties) Descriptor
func (*DiskRestoreProperties) Descriptor() ([]byte, []int)Deprecated: Use DiskRestoreProperties.ProtoReflect.Descriptor instead.
func (*DiskRestoreProperties) GetAccessMode
func (x *DiskRestoreProperties) GetAccessMode() DiskRestoreProperties_AccessModefunc (*DiskRestoreProperties) GetArchitecture
func (x *DiskRestoreProperties) GetArchitecture() DiskRestoreProperties_Architecturefunc (*DiskRestoreProperties) GetDescription
func (x *DiskRestoreProperties) GetDescription() stringfunc (*DiskRestoreProperties) GetDiskEncryptionKey
func (x *DiskRestoreProperties) GetDiskEncryptionKey() *CustomerEncryptionKeyfunc (*DiskRestoreProperties) GetEnableConfidentialCompute
func (x *DiskRestoreProperties) GetEnableConfidentialCompute() boolfunc (*DiskRestoreProperties) GetGuestOsFeature
func (x *DiskRestoreProperties) GetGuestOsFeature() []*GuestOsFeaturefunc (*DiskRestoreProperties) GetLabels
func (x *DiskRestoreProperties) GetLabels() map[string]stringfunc (*DiskRestoreProperties) GetLicenses
func (x *DiskRestoreProperties) GetLicenses() []stringfunc (*DiskRestoreProperties) GetName
func (x *DiskRestoreProperties) GetName() stringfunc (*DiskRestoreProperties) GetPhysicalBlockSizeBytes
func (x *DiskRestoreProperties) GetPhysicalBlockSizeBytes() int64func (*DiskRestoreProperties) GetProvisionedIops
func (x *DiskRestoreProperties) GetProvisionedIops() int64func (*DiskRestoreProperties) GetProvisionedThroughput
func (x *DiskRestoreProperties) GetProvisionedThroughput() int64func (*DiskRestoreProperties) GetResourceManagerTags
func (x *DiskRestoreProperties) GetResourceManagerTags() map[string]stringfunc (*DiskRestoreProperties) GetResourcePolicy
func (x *DiskRestoreProperties) GetResourcePolicy() []stringfunc (*DiskRestoreProperties) GetSizeGb
func (x *DiskRestoreProperties) GetSizeGb() int64func (*DiskRestoreProperties) GetStoragePool
func (x *DiskRestoreProperties) GetStoragePool() stringfunc (*DiskRestoreProperties) GetType
func (x *DiskRestoreProperties) GetType() stringfunc (*DiskRestoreProperties) ProtoMessage
func (*DiskRestoreProperties) ProtoMessage()func (*DiskRestoreProperties) ProtoReflect
func (x *DiskRestoreProperties) ProtoReflect() protoreflect.Messagefunc (*DiskRestoreProperties) Reset
func (x *DiskRestoreProperties) Reset()func (*DiskRestoreProperties) String
func (x *DiskRestoreProperties) String() stringDiskRestoreProperties_AccessMode
type DiskRestoreProperties_AccessMode int32The supported access modes of the disk.
DiskRestoreProperties_READ_WRITE_SINGLE, DiskRestoreProperties_READ_WRITE_MANY, DiskRestoreProperties_READ_ONLY_MANY
const (
// The default AccessMode, means the disk can be attached to single instance
// in RW mode.
DiskRestoreProperties_READ_WRITE_SINGLE DiskRestoreProperties_AccessMode = 0
// The AccessMode means the disk can be attached to multiple instances in RW
// mode.
DiskRestoreProperties_READ_WRITE_MANY DiskRestoreProperties_AccessMode = 1
// The AccessMode means the disk can be attached to multiple instances in RO
// mode.
DiskRestoreProperties_READ_ONLY_MANY DiskRestoreProperties_AccessMode = 2
)func (DiskRestoreProperties_AccessMode) Descriptor
func (DiskRestoreProperties_AccessMode) Descriptor() protoreflect.EnumDescriptorfunc (DiskRestoreProperties_AccessMode) Enum
func (x DiskRestoreProperties_AccessMode) Enum() *DiskRestoreProperties_AccessModefunc (DiskRestoreProperties_AccessMode) EnumDescriptor
func (DiskRestoreProperties_AccessMode) EnumDescriptor() ([]byte, []int)Deprecated: Use DiskRestoreProperties_AccessMode.Descriptor instead.
func (DiskRestoreProperties_AccessMode) Number
func (x DiskRestoreProperties_AccessMode) Number() protoreflect.EnumNumberfunc (DiskRestoreProperties_AccessMode) String
func (x DiskRestoreProperties_AccessMode) String() stringfunc (DiskRestoreProperties_AccessMode) Type
func (DiskRestoreProperties_AccessMode) Type() protoreflect.EnumTypeDiskRestoreProperties_Architecture
type DiskRestoreProperties_Architecture int32Architecture of the source disk.
DiskRestoreProperties_ARCHITECTURE_UNSPECIFIED, DiskRestoreProperties_X86_64, DiskRestoreProperties_ARM64
const (
// Default value. This value is unused.
DiskRestoreProperties_ARCHITECTURE_UNSPECIFIED DiskRestoreProperties_Architecture = 0
// Disks with architecture X86_64
DiskRestoreProperties_X86_64 DiskRestoreProperties_Architecture = 1
// Disks with architecture ARM64
DiskRestoreProperties_ARM64 DiskRestoreProperties_Architecture = 2
)func (DiskRestoreProperties_Architecture) Descriptor
func (DiskRestoreProperties_Architecture) Descriptor() protoreflect.EnumDescriptorfunc (DiskRestoreProperties_Architecture) Enum
func (x DiskRestoreProperties_Architecture) Enum() *DiskRestoreProperties_Architecturefunc (DiskRestoreProperties_Architecture) EnumDescriptor
func (DiskRestoreProperties_Architecture) EnumDescriptor() ([]byte, []int)Deprecated: Use DiskRestoreProperties_Architecture.Descriptor instead.
func (DiskRestoreProperties_Architecture) Number
func (x DiskRestoreProperties_Architecture) Number() protoreflect.EnumNumberfunc (DiskRestoreProperties_Architecture) String
func (x DiskRestoreProperties_Architecture) String() stringfunc (DiskRestoreProperties_Architecture) Type
func (DiskRestoreProperties_Architecture) Type() protoreflect.EnumTypeDiskTargetEnvironment
type DiskTargetEnvironment struct {
// Required. Target project for the disk.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Required. Target zone for the disk.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}DiskTargetEnvironment represents the target environment for the disk.
func (*DiskTargetEnvironment) Descriptor
func (*DiskTargetEnvironment) Descriptor() ([]byte, []int)Deprecated: Use DiskTargetEnvironment.ProtoReflect.Descriptor instead.
func (*DiskTargetEnvironment) GetProject
func (x *DiskTargetEnvironment) GetProject() stringfunc (*DiskTargetEnvironment) GetZone
func (x *DiskTargetEnvironment) GetZone() stringfunc (*DiskTargetEnvironment) ProtoMessage
func (*DiskTargetEnvironment) ProtoMessage()func (*DiskTargetEnvironment) ProtoReflect
func (x *DiskTargetEnvironment) ProtoReflect() protoreflect.Messagefunc (*DiskTargetEnvironment) Reset
func (x *DiskTargetEnvironment) Reset()func (*DiskTargetEnvironment) String
func (x *DiskTargetEnvironment) String() stringDisplayDevice
type DisplayDevice struct {
// Optional. Enables display for the Compute Engine VM
EnableDisplay *bool `protobuf:"varint,1,opt,name=enable_display,json=enableDisplay,proto3,oneof" json:"enable_display,omitempty"`
// contains filtered or unexported fields
}A set of Display Device options
func (*DisplayDevice) Descriptor
func (*DisplayDevice) Descriptor() ([]byte, []int)Deprecated: Use DisplayDevice.ProtoReflect.Descriptor instead.
func (*DisplayDevice) GetEnableDisplay
func (x *DisplayDevice) GetEnableDisplay() boolfunc (*DisplayDevice) ProtoMessage
func (*DisplayDevice) ProtoMessage()func (*DisplayDevice) ProtoReflect
func (x *DisplayDevice) ProtoReflect() protoreflect.Messagefunc (*DisplayDevice) Reset
func (x *DisplayDevice) Reset()func (*DisplayDevice) String
func (x *DisplayDevice) String() stringEntry
type Entry struct {
// Optional. Key for the metadata entry.
Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Value for the metadata entry. These are free-form strings, and
// only have meaning as interpreted by the image running in the instance. The
// only restriction placed on values is that their size must be less than
// or equal to 262144 bytes (256 KiB).
Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
// contains filtered or unexported fields
}A key/value pair to be used for storing metadata.
func (*Entry) Descriptor
Deprecated: Use Entry.ProtoReflect.Descriptor instead.
func (*Entry) GetKey
func (*Entry) GetValue
func (*Entry) ProtoMessage
func (*Entry) ProtoMessage()func (*Entry) ProtoReflect
func (x *Entry) ProtoReflect() protoreflect.Messagefunc (*Entry) Reset
func (x *Entry) Reset()func (*Entry) String
FetchBackupPlanAssociationsForResourceTypeRequest
type FetchBackupPlanAssociationsForResourceTypeRequest struct {
// Required. The parent resource name.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The type of the GCP resource.
// Ex: sql.googleapis.com/Instance
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. The maximum number of BackupPlanAssociations to return. The
// service may return fewer than this value. If unspecified, at most 50
// BackupPlanAssociations will be returned. The maximum value is 100; values
// above 100 will be coerced to 100.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous call of
// `FetchBackupPlanAssociationsForResourceType`.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `FetchBackupPlanAssociationsForResourceType` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter expression that filters the results fetched in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. Supported
// fields:
// * resource
// * backup_plan
// * state
// * data_source
// * cloud_sql_instance_backup_plan_association_properties.instance_create_time
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. A comma-separated list of fields to order by, sorted in ascending
// order. Use "desc" after a field name for descending.
//
// Supported fields:
// * name
OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request for the FetchBackupPlanAssociationsForResourceType method.
func (*FetchBackupPlanAssociationsForResourceTypeRequest) Descriptor
func (*FetchBackupPlanAssociationsForResourceTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchBackupPlanAssociationsForResourceTypeRequest.ProtoReflect.Descriptor instead.
func (*FetchBackupPlanAssociationsForResourceTypeRequest) GetFilter
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetFilter() stringfunc (*FetchBackupPlanAssociationsForResourceTypeRequest) GetOrderBy
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetOrderBy() stringfunc (*FetchBackupPlanAssociationsForResourceTypeRequest) GetPageSize
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetPageSize() int32func (*FetchBackupPlanAssociationsForResourceTypeRequest) GetPageToken
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetPageToken() stringfunc (*FetchBackupPlanAssociationsForResourceTypeRequest) GetParent
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetParent() stringfunc (*FetchBackupPlanAssociationsForResourceTypeRequest) GetResourceType
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) GetResourceType() stringfunc (*FetchBackupPlanAssociationsForResourceTypeRequest) ProtoMessage
func (*FetchBackupPlanAssociationsForResourceTypeRequest) ProtoMessage()func (*FetchBackupPlanAssociationsForResourceTypeRequest) ProtoReflect
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) ProtoReflect() protoreflect.Messagefunc (*FetchBackupPlanAssociationsForResourceTypeRequest) Reset
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) Reset()func (*FetchBackupPlanAssociationsForResourceTypeRequest) String
func (x *FetchBackupPlanAssociationsForResourceTypeRequest) String() stringFetchBackupPlanAssociationsForResourceTypeResponse
type FetchBackupPlanAssociationsForResourceTypeResponse struct {
// Output only. The BackupPlanAssociations from the specified parent.
BackupPlanAssociations []*BackupPlanAssociation `protobuf:"bytes,1,rep,name=backup_plan_associations,json=backupPlanAssociations,proto3" json:"backup_plan_associations,omitempty"`
// Output only. A token, which can be sent as `page_token` to retrieve the
// next page. If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response for the FetchBackupPlanAssociationsForResourceType method.
func (*FetchBackupPlanAssociationsForResourceTypeResponse) Descriptor
func (*FetchBackupPlanAssociationsForResourceTypeResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchBackupPlanAssociationsForResourceTypeResponse.ProtoReflect.Descriptor instead.
func (*FetchBackupPlanAssociationsForResourceTypeResponse) GetBackupPlanAssociations
func (x *FetchBackupPlanAssociationsForResourceTypeResponse) GetBackupPlanAssociations() []*BackupPlanAssociationfunc (*FetchBackupPlanAssociationsForResourceTypeResponse) GetNextPageToken
func (x *FetchBackupPlanAssociationsForResourceTypeResponse) GetNextPageToken() stringfunc (*FetchBackupPlanAssociationsForResourceTypeResponse) ProtoMessage
func (*FetchBackupPlanAssociationsForResourceTypeResponse) ProtoMessage()func (*FetchBackupPlanAssociationsForResourceTypeResponse) ProtoReflect
func (x *FetchBackupPlanAssociationsForResourceTypeResponse) ProtoReflect() protoreflect.Messagefunc (*FetchBackupPlanAssociationsForResourceTypeResponse) Reset
func (x *FetchBackupPlanAssociationsForResourceTypeResponse) Reset()func (*FetchBackupPlanAssociationsForResourceTypeResponse) String
func (x *FetchBackupPlanAssociationsForResourceTypeResponse) String() stringFetchDataSourceReferencesForResourceTypeRequest
type FetchDataSourceReferencesForResourceTypeRequest struct {
// Required. The parent resource name.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The type of the GCP resource.
// Ex: sql.googleapis.com/Instance
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. The maximum number of DataSourceReferences to return. The service
// may return fewer than this value. If unspecified, at most 50
// DataSourceReferences will be returned. The maximum value is 100; values
// above 100 will be coerced to 100.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous call of
// `FetchDataSourceReferencesForResourceType`.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `FetchDataSourceReferencesForResourceType` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter expression that filters the results fetched in the
// response. The expression must specify the field name, a comparison
// operator, and the value that you want to use for filtering. Supported
// fields:
// * data_source
// * data_source_gcp_resource_info.gcp_resourcename
// * data_source_backup_config_state
// * data_source_backup_count
// * data_source_backup_config_info.last_backup_state
// * data_source_gcp_resource_info.gcp_resourcename
// * data_source_gcp_resource_info.type
// * data_source_gcp_resource_info.location
// * data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. A comma-separated list of fields to order by, sorted in ascending
// order. Use "desc" after a field name for descending.
//
// Supported fields:
// * name
OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request for the FetchDataSourceReferencesForResourceType method.
func (*FetchDataSourceReferencesForResourceTypeRequest) Descriptor
func (*FetchDataSourceReferencesForResourceTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchDataSourceReferencesForResourceTypeRequest.ProtoReflect.Descriptor instead.
func (*FetchDataSourceReferencesForResourceTypeRequest) GetFilter
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetFilter() stringfunc (*FetchDataSourceReferencesForResourceTypeRequest) GetOrderBy
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetOrderBy() stringfunc (*FetchDataSourceReferencesForResourceTypeRequest) GetPageSize
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetPageSize() int32func (*FetchDataSourceReferencesForResourceTypeRequest) GetPageToken
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetPageToken() stringfunc (*FetchDataSourceReferencesForResourceTypeRequest) GetParent
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetParent() stringfunc (*FetchDataSourceReferencesForResourceTypeRequest) GetResourceType
func (x *FetchDataSourceReferencesForResourceTypeRequest) GetResourceType() stringfunc (*FetchDataSourceReferencesForResourceTypeRequest) ProtoMessage
func (*FetchDataSourceReferencesForResourceTypeRequest) ProtoMessage()func (*FetchDataSourceReferencesForResourceTypeRequest) ProtoReflect
func (x *FetchDataSourceReferencesForResourceTypeRequest) ProtoReflect() protoreflect.Messagefunc (*FetchDataSourceReferencesForResourceTypeRequest) Reset
func (x *FetchDataSourceReferencesForResourceTypeRequest) Reset()func (*FetchDataSourceReferencesForResourceTypeRequest) String
func (x *FetchDataSourceReferencesForResourceTypeRequest) String() stringFetchDataSourceReferencesForResourceTypeResponse
type FetchDataSourceReferencesForResourceTypeResponse struct {
// The DataSourceReferences from the specified parent.
DataSourceReferences []*DataSourceReference `protobuf:"bytes,1,rep,name=data_source_references,json=dataSourceReferences,proto3" json:"data_source_references,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response for the FetchDataSourceReferencesForResourceType method.
func (*FetchDataSourceReferencesForResourceTypeResponse) Descriptor
func (*FetchDataSourceReferencesForResourceTypeResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchDataSourceReferencesForResourceTypeResponse.ProtoReflect.Descriptor instead.
func (*FetchDataSourceReferencesForResourceTypeResponse) GetDataSourceReferences
func (x *FetchDataSourceReferencesForResourceTypeResponse) GetDataSourceReferences() []*DataSourceReferencefunc (*FetchDataSourceReferencesForResourceTypeResponse) GetNextPageToken
func (x *FetchDataSourceReferencesForResourceTypeResponse) GetNextPageToken() stringfunc (*FetchDataSourceReferencesForResourceTypeResponse) ProtoMessage
func (*FetchDataSourceReferencesForResourceTypeResponse) ProtoMessage()func (*FetchDataSourceReferencesForResourceTypeResponse) ProtoReflect
func (x *FetchDataSourceReferencesForResourceTypeResponse) ProtoReflect() protoreflect.Messagefunc (*FetchDataSourceReferencesForResourceTypeResponse) Reset
func (x *FetchDataSourceReferencesForResourceTypeResponse) Reset()func (*FetchDataSourceReferencesForResourceTypeResponse) String
func (x *FetchDataSourceReferencesForResourceTypeResponse) String() stringFetchUsableBackupVaultsRequest
type FetchUsableBackupVaultsRequest struct {
// Required. The project and location for which to retrieve backupvault stores
// information, in the format 'projects/{project_id}/locations/{location}'. In
// Cloud Backup and DR, locations map to Google Cloud regions, for example
// **us-central1**.
// To retrieve backupvault stores for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request message for fetching usable BackupVaults.
func (*FetchUsableBackupVaultsRequest) Descriptor
func (*FetchUsableBackupVaultsRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchUsableBackupVaultsRequest.ProtoReflect.Descriptor instead.
func (*FetchUsableBackupVaultsRequest) GetFilter
func (x *FetchUsableBackupVaultsRequest) GetFilter() stringfunc (*FetchUsableBackupVaultsRequest) GetOrderBy
func (x *FetchUsableBackupVaultsRequest) GetOrderBy() stringfunc (*FetchUsableBackupVaultsRequest) GetPageSize
func (x *FetchUsableBackupVaultsRequest) GetPageSize() int32func (*FetchUsableBackupVaultsRequest) GetPageToken
func (x *FetchUsableBackupVaultsRequest) GetPageToken() stringfunc (*FetchUsableBackupVaultsRequest) GetParent
func (x *FetchUsableBackupVaultsRequest) GetParent() stringfunc (*FetchUsableBackupVaultsRequest) ProtoMessage
func (*FetchUsableBackupVaultsRequest) ProtoMessage()func (*FetchUsableBackupVaultsRequest) ProtoReflect
func (x *FetchUsableBackupVaultsRequest) ProtoReflect() protoreflect.Messagefunc (*FetchUsableBackupVaultsRequest) Reset
func (x *FetchUsableBackupVaultsRequest) Reset()func (*FetchUsableBackupVaultsRequest) String
func (x *FetchUsableBackupVaultsRequest) String() stringFetchUsableBackupVaultsResponse
type FetchUsableBackupVaultsResponse struct {
// The list of BackupVault instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup vaults in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
BackupVaults []*BackupVault `protobuf:"bytes,1,rep,name=backup_vaults,json=backupVaults,proto3" json:"backup_vaults,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for fetching usable BackupVaults.
func (*FetchUsableBackupVaultsResponse) Descriptor
func (*FetchUsableBackupVaultsResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchUsableBackupVaultsResponse.ProtoReflect.Descriptor instead.
func (*FetchUsableBackupVaultsResponse) GetBackupVaults
func (x *FetchUsableBackupVaultsResponse) GetBackupVaults() []*BackupVaultfunc (*FetchUsableBackupVaultsResponse) GetNextPageToken
func (x *FetchUsableBackupVaultsResponse) GetNextPageToken() stringfunc (*FetchUsableBackupVaultsResponse) GetUnreachable
func (x *FetchUsableBackupVaultsResponse) GetUnreachable() []stringfunc (*FetchUsableBackupVaultsResponse) ProtoMessage
func (*FetchUsableBackupVaultsResponse) ProtoMessage()func (*FetchUsableBackupVaultsResponse) ProtoReflect
func (x *FetchUsableBackupVaultsResponse) ProtoReflect() protoreflect.Messagefunc (*FetchUsableBackupVaultsResponse) Reset
func (x *FetchUsableBackupVaultsResponse) Reset()func (*FetchUsableBackupVaultsResponse) String
func (x *FetchUsableBackupVaultsResponse) String() stringGcpBackupConfig
type GcpBackupConfig struct {
// The name of the backup plan.
BackupPlan string `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// The description of the backup plan.
BackupPlanDescription string `protobuf:"bytes,2,opt,name=backup_plan_description,json=backupPlanDescription,proto3" json:"backup_plan_description,omitempty"`
// The name of the backup plan association.
BackupPlanAssociation string `protobuf:"bytes,3,opt,name=backup_plan_association,json=backupPlanAssociation,proto3" json:"backup_plan_association,omitempty"`
// The names of the backup plan rules which point to this backupvault
BackupPlanRules []string `protobuf:"bytes,4,rep,name=backup_plan_rules,json=backupPlanRules,proto3" json:"backup_plan_rules,omitempty"`
// The name of the backup plan revision.
BackupPlanRevisionName string `protobuf:"bytes,5,opt,name=backup_plan_revision_name,json=backupPlanRevisionName,proto3" json:"backup_plan_revision_name,omitempty"`
// The user friendly id of the backup plan revision.
// E.g. v0, v1 etc.
BackupPlanRevisionId string `protobuf:"bytes,6,opt,name=backup_plan_revision_id,json=backupPlanRevisionId,proto3" json:"backup_plan_revision_id,omitempty"`
// contains filtered or unexported fields
}GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.
func (*GcpBackupConfig) Descriptor
func (*GcpBackupConfig) Descriptor() ([]byte, []int)Deprecated: Use GcpBackupConfig.ProtoReflect.Descriptor instead.
func (*GcpBackupConfig) GetBackupPlan
func (x *GcpBackupConfig) GetBackupPlan() stringfunc (*GcpBackupConfig) GetBackupPlanAssociation
func (x *GcpBackupConfig) GetBackupPlanAssociation() stringfunc (*GcpBackupConfig) GetBackupPlanDescription
func (x *GcpBackupConfig) GetBackupPlanDescription() stringfunc (*GcpBackupConfig) GetBackupPlanRevisionId
func (x *GcpBackupConfig) GetBackupPlanRevisionId() stringfunc (*GcpBackupConfig) GetBackupPlanRevisionName
func (x *GcpBackupConfig) GetBackupPlanRevisionName() stringfunc (*GcpBackupConfig) GetBackupPlanRules
func (x *GcpBackupConfig) GetBackupPlanRules() []stringfunc (*GcpBackupConfig) ProtoMessage
func (*GcpBackupConfig) ProtoMessage()func (*GcpBackupConfig) ProtoReflect
func (x *GcpBackupConfig) ProtoReflect() protoreflect.Messagefunc (*GcpBackupConfig) Reset
func (x *GcpBackupConfig) Reset()func (*GcpBackupConfig) String
func (x *GcpBackupConfig) String() stringGcpResource
type GcpResource struct {
// Name of the Google Cloud resource.
GcpResourcename string `protobuf:"bytes,1,opt,name=gcp_resourcename,json=gcpResourcename,proto3" json:"gcp_resourcename,omitempty"`
// Location of the resource: Minimum details to identify a Google Cloud resource
func (*GcpResource) Descriptor
func (*GcpResource) Descriptor() ([]byte, []int)Deprecated: Use GcpResource.ProtoReflect.Descriptor instead.
func (*GcpResource) GetGcpResourcename
func (x *GcpResource) GetGcpResourcename() stringfunc (*GcpResource) GetLocation
func (x *GcpResource) GetLocation() stringfunc (*GcpResource) GetType
func (x *GcpResource) GetType() stringfunc (*GcpResource) ProtoMessage
func (*GcpResource) ProtoMessage()func (*GcpResource) ProtoReflect
func (x *GcpResource) ProtoReflect() protoreflect.Messagefunc (*GcpResource) Reset
func (x *GcpResource) Reset()func (*GcpResource) String
func (x *GcpResource) String() stringGetBackupPlanAssociationRequest
type GetBackupPlanAssociationRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for getting a BackupPlanAssociation resource.
func (*GetBackupPlanAssociationRequest) Descriptor
func (*GetBackupPlanAssociationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPlanAssociationRequest) GetName
func (x *GetBackupPlanAssociationRequest) GetName() stringfunc (*GetBackupPlanAssociationRequest) ProtoMessage
func (*GetBackupPlanAssociationRequest) ProtoMessage()func (*GetBackupPlanAssociationRequest) ProtoReflect
func (x *GetBackupPlanAssociationRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupPlanAssociationRequest) Reset
func (x *GetBackupPlanAssociationRequest) Reset()func (*GetBackupPlanAssociationRequest) String
func (x *GetBackupPlanAssociationRequest) String() stringGetBackupPlanRequest
type GetBackupPlanRequest struct {
// Required. The resource name of the `BackupPlan` to retrieve.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for getting a BackupPlan.
func (*GetBackupPlanRequest) Descriptor
func (*GetBackupPlanRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPlanRequest) GetName
func (x *GetBackupPlanRequest) GetName() stringfunc (*GetBackupPlanRequest) ProtoMessage
func (*GetBackupPlanRequest) ProtoMessage()func (*GetBackupPlanRequest) ProtoReflect
func (x *GetBackupPlanRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupPlanRequest) Reset
func (x *GetBackupPlanRequest) Reset()func (*GetBackupPlanRequest) String
func (x *GetBackupPlanRequest) String() stringGetBackupPlanRevisionRequest
type GetBackupPlanRevisionRequest struct {
// Required. The resource name of the `BackupPlanRevision` to retrieve.
//
// Format:
// `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for getting a BackupPlanRevision.
func (*GetBackupPlanRevisionRequest) Descriptor
func (*GetBackupPlanRevisionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupPlanRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPlanRevisionRequest) GetName
func (x *GetBackupPlanRevisionRequest) GetName() stringfunc (*GetBackupPlanRevisionRequest) ProtoMessage
func (*GetBackupPlanRevisionRequest) ProtoMessage()func (*GetBackupPlanRevisionRequest) ProtoReflect
func (x *GetBackupPlanRevisionRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupPlanRevisionRequest) Reset
func (x *GetBackupPlanRevisionRequest) Reset()func (*GetBackupPlanRevisionRequest) String
func (x *GetBackupPlanRevisionRequest) String() stringGetBackupRequest
type GetBackupRequest struct {
// Required. Name of the data source resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// resource.
View BackupView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for getting a Backup.
func (*GetBackupRequest) Descriptor
func (*GetBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName
func (x *GetBackupRequest) GetName() stringfunc (*GetBackupRequest) GetView
func (x *GetBackupRequest) GetView() BackupViewfunc (*GetBackupRequest) ProtoMessage
func (*GetBackupRequest) ProtoMessage()func (*GetBackupRequest) ProtoReflect
func (x *GetBackupRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupRequest) Reset
func (x *GetBackupRequest) Reset()func (*GetBackupRequest) String
func (x *GetBackupRequest) String() stringGetBackupVaultRequest
type GetBackupVaultRequest struct {
// Required. Name of the backupvault store resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// Vault
View BackupVaultView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupVaultView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for getting a BackupVault.
func (*GetBackupVaultRequest) Descriptor
func (*GetBackupVaultRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*GetBackupVaultRequest) GetName
func (x *GetBackupVaultRequest) GetName() stringfunc (*GetBackupVaultRequest) GetView
func (x *GetBackupVaultRequest) GetView() BackupVaultViewfunc (*GetBackupVaultRequest) ProtoMessage
func (*GetBackupVaultRequest) ProtoMessage()func (*GetBackupVaultRequest) ProtoReflect
func (x *GetBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupVaultRequest) Reset
func (x *GetBackupVaultRequest) Reset()func (*GetBackupVaultRequest) String
func (x *GetBackupVaultRequest) String() stringGetDataSourceReferenceRequest
type GetDataSourceReferenceRequest struct {
// Required. The name of the DataSourceReference to retrieve.
// Format:
// projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for the GetDataSourceReference method.
func (*GetDataSourceReferenceRequest) Descriptor
func (*GetDataSourceReferenceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataSourceReferenceRequest.ProtoReflect.Descriptor instead.
func (*GetDataSourceReferenceRequest) GetName
func (x *GetDataSourceReferenceRequest) GetName() stringfunc (*GetDataSourceReferenceRequest) ProtoMessage
func (*GetDataSourceReferenceRequest) ProtoMessage()func (*GetDataSourceReferenceRequest) ProtoReflect
func (x *GetDataSourceReferenceRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataSourceReferenceRequest) Reset
func (x *GetDataSourceReferenceRequest) Reset()func (*GetDataSourceReferenceRequest) String
func (x *GetDataSourceReferenceRequest) String() stringGetDataSourceRequest
type GetDataSourceRequest struct {
// Required. Name of the data source resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for getting a DataSource instance.
func (*GetDataSourceRequest) Descriptor
func (*GetDataSourceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataSourceRequest.ProtoReflect.Descriptor instead.
func (*GetDataSourceRequest) GetName
func (x *GetDataSourceRequest) GetName() stringfunc (*GetDataSourceRequest) ProtoMessage
func (*GetDataSourceRequest) ProtoMessage()func (*GetDataSourceRequest) ProtoReflect
func (x *GetDataSourceRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataSourceRequest) Reset
func (x *GetDataSourceRequest) Reset()func (*GetDataSourceRequest) String
func (x *GetDataSourceRequest) String() stringGetManagementServerRequest
type GetManagementServerRequest struct {
// Required. Name of the management server resource name, in the format
// 'projects/{project_id}/locations/{location}/managementServers/{resource_name}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for getting a management server instance.
func (*GetManagementServerRequest) Descriptor
func (*GetManagementServerRequest) Descriptor() ([]byte, []int)Deprecated: Use GetManagementServerRequest.ProtoReflect.Descriptor instead.
func (*GetManagementServerRequest) GetName
func (x *GetManagementServerRequest) GetName() stringfunc (*GetManagementServerRequest) ProtoMessage
func (*GetManagementServerRequest) ProtoMessage()func (*GetManagementServerRequest) ProtoReflect
func (x *GetManagementServerRequest) ProtoReflect() protoreflect.Messagefunc (*GetManagementServerRequest) Reset
func (x *GetManagementServerRequest) Reset()func (*GetManagementServerRequest) String
func (x *GetManagementServerRequest) String() stringGuestOsFeature
type GuestOsFeature struct {
// The ID of a supported feature.
Type *GuestOsFeature_FeatureType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.backupdr.v1.GuestOsFeature_FeatureType,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}Feature type of the Guest OS.
func (*GuestOsFeature) Descriptor
func (*GuestOsFeature) Descriptor() ([]byte, []int)Deprecated: Use GuestOsFeature.ProtoReflect.Descriptor instead.
func (*GuestOsFeature) GetType
func (x *GuestOsFeature) GetType() GuestOsFeature_FeatureTypefunc (*GuestOsFeature) ProtoMessage
func (*GuestOsFeature) ProtoMessage()func (*GuestOsFeature) ProtoReflect
func (x *GuestOsFeature) ProtoReflect() protoreflect.Messagefunc (*GuestOsFeature) Reset
func (x *GuestOsFeature) Reset()func (*GuestOsFeature) String
func (x *GuestOsFeature) String() stringGuestOsFeature_FeatureType
type GuestOsFeature_FeatureType int32List of the Feature Types.
GuestOsFeature_FEATURE_TYPE_UNSPECIFIED, GuestOsFeature_VIRTIO_SCSI_MULTIQUEUE, GuestOsFeature_WINDOWS, GuestOsFeature_MULTI_IP_SUBNET, GuestOsFeature_UEFI_COMPATIBLE, GuestOsFeature_SECURE_BOOT, GuestOsFeature_GVNIC, GuestOsFeature_SEV_CAPABLE, GuestOsFeature_BARE_METAL_LINUX_COMPATIBLE, GuestOsFeature_SUSPEND_RESUME_COMPATIBLE, GuestOsFeature_SEV_LIVE_MIGRATABLE, GuestOsFeature_SEV_SNP_CAPABLE, GuestOsFeature_TDX_CAPABLE, GuestOsFeature_IDPF, GuestOsFeature_SEV_LIVE_MIGRATABLE_V2
const (
// Default value, which is unused.
GuestOsFeature_FEATURE_TYPE_UNSPECIFIED GuestOsFeature_FeatureType = 0
// VIRTIO_SCSI_MULTIQUEUE feature type.
GuestOsFeature_VIRTIO_SCSI_MULTIQUEUE GuestOsFeature_FeatureType = 1
// WINDOWS feature type.
GuestOsFeature_WINDOWS GuestOsFeature_FeatureType = 2
// MULTI_IP_SUBNET feature type.
GuestOsFeature_MULTI_IP_SUBNET GuestOsFeature_FeatureType = 3
// UEFI_COMPATIBLE feature type.
GuestOsFeature_UEFI_COMPATIBLE GuestOsFeature_FeatureType = 4
// SECURE_BOOT feature type.
GuestOsFeature_SECURE_BOOT GuestOsFeature_FeatureType = 5
// GVNIC feature type.
GuestOsFeature_GVNIC GuestOsFeature_FeatureType = 6
// SEV_CAPABLE feature type.
GuestOsFeature_SEV_CAPABLE GuestOsFeature_FeatureType = 7
// BARE_METAL_LINUX_COMPATIBLE feature type.
GuestOsFeature_BARE_METAL_LINUX_COMPATIBLE GuestOsFeature_FeatureType = 8
// SUSPEND_RESUME_COMPATIBLE feature type.
GuestOsFeature_SUSPEND_RESUME_COMPATIBLE GuestOsFeature_FeatureType = 9
// SEV_LIVE_MIGRATABLE feature type.
GuestOsFeature_SEV_LIVE_MIGRATABLE GuestOsFeature_FeatureType = 10
// SEV_SNP_CAPABLE feature type.
GuestOsFeature_SEV_SNP_CAPABLE GuestOsFeature_FeatureType = 11
// TDX_CAPABLE feature type.
GuestOsFeature_TDX_CAPABLE GuestOsFeature_FeatureType = 12
// IDPF feature type.
GuestOsFeature_IDPF GuestOsFeature_FeatureType = 13
// SEV_LIVE_MIGRATABLE_V2 feature type.
GuestOsFeature_SEV_LIVE_MIGRATABLE_V2 GuestOsFeature_FeatureType = 14
)func (GuestOsFeature_FeatureType) Descriptor
func (GuestOsFeature_FeatureType) Descriptor() protoreflect.EnumDescriptorfunc (GuestOsFeature_FeatureType) Enum
func (x GuestOsFeature_FeatureType) Enum() *GuestOsFeature_FeatureTypefunc (GuestOsFeature_FeatureType) EnumDescriptor
func (GuestOsFeature_FeatureType) EnumDescriptor() ([]byte, []int)Deprecated: Use GuestOsFeature_FeatureType.Descriptor instead.
func (GuestOsFeature_FeatureType) Number
func (x GuestOsFeature_FeatureType) Number() protoreflect.EnumNumberfunc (GuestOsFeature_FeatureType) String
func (x GuestOsFeature_FeatureType) String() stringfunc (GuestOsFeature_FeatureType) Type
func (GuestOsFeature_FeatureType) Type() protoreflect.EnumTypeInitializeServiceRequest
type InitializeServiceRequest struct {
// Required. The resource name of the serviceConfig used to initialize the
// service. Format:
// `projects/{project_id}/locations/{location}/serviceConfig`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The resource type to which the default service config will be
// applied. Examples include, "compute.googleapis.com/Instance" and
// "storage.googleapis.com/Bucket".
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The configuration for initializing the resource.
//
// Types that are assignable to InitializationConfig:
//
// *InitializeServiceRequest_CloudSqlInstanceInitializationConfig
InitializationConfig isInitializeServiceRequest_InitializationConfig `protobuf_oneof:"initialization_config"`
// contains filtered or unexported fields
}Request message for initializing the service.
func (*InitializeServiceRequest) Descriptor
func (*InitializeServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use InitializeServiceRequest.ProtoReflect.Descriptor instead.
func (*InitializeServiceRequest) GetCloudSqlInstanceInitializationConfig
func (x *InitializeServiceRequest) GetCloudSqlInstanceInitializationConfig() *CloudSqlInstanceInitializationConfigfunc (*InitializeServiceRequest) GetInitializationConfig
func (m *InitializeServiceRequest) GetInitializationConfig() isInitializeServiceRequest_InitializationConfigfunc (*InitializeServiceRequest) GetName
func (x *InitializeServiceRequest) GetName() stringfunc (*InitializeServiceRequest) GetRequestId
func (x *InitializeServiceRequest) GetRequestId() stringfunc (*InitializeServiceRequest) GetResourceType
func (x *InitializeServiceRequest) GetResourceType() stringfunc (*InitializeServiceRequest) ProtoMessage
func (*InitializeServiceRequest) ProtoMessage()func (*InitializeServiceRequest) ProtoReflect
func (x *InitializeServiceRequest) ProtoReflect() protoreflect.Messagefunc (*InitializeServiceRequest) Reset
func (x *InitializeServiceRequest) Reset()func (*InitializeServiceRequest) String
func (x *InitializeServiceRequest) String() stringInitializeServiceRequest_CloudSqlInstanceInitializationConfig
type InitializeServiceRequest_CloudSqlInstanceInitializationConfig struct {
// Optional. The configuration for initializing a Cloud SQL instance.
CloudSqlInstanceInitializationConfig *CloudSqlInstanceInitializationConfig `protobuf:"bytes,4,opt,name=cloud_sql_instance_initialization_config,json=cloudSqlInstanceInitializationConfig,proto3,oneof"`
}InitializeServiceResponse
type InitializeServiceResponse struct {
// The resource name of the default `BackupVault` created.
// Format:
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
BackupVaultName string `protobuf:"bytes,1,opt,name=backup_vault_name,json=backupVaultName,proto3" json:"backup_vault_name,omitempty"`
// The resource name of the default `BackupPlan` created.
// Format:
// `projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.
BackupPlanName string `protobuf:"bytes,2,opt,name=backup_plan_name,json=backupPlanName,proto3" json:"backup_plan_name,omitempty"`
// contains filtered or unexported fields
}Response message for initializing the service.
func (*InitializeServiceResponse) Descriptor
func (*InitializeServiceResponse) Descriptor() ([]byte, []int)Deprecated: Use InitializeServiceResponse.ProtoReflect.Descriptor instead.
func (*InitializeServiceResponse) GetBackupPlanName
func (x *InitializeServiceResponse) GetBackupPlanName() stringfunc (*InitializeServiceResponse) GetBackupVaultName
func (x *InitializeServiceResponse) GetBackupVaultName() stringfunc (*InitializeServiceResponse) ProtoMessage
func (*InitializeServiceResponse) ProtoMessage()func (*InitializeServiceResponse) ProtoReflect
func (x *InitializeServiceResponse) ProtoReflect() protoreflect.Messagefunc (*InitializeServiceResponse) Reset
func (x *InitializeServiceResponse) Reset()func (*InitializeServiceResponse) String
func (x *InitializeServiceResponse) String() stringInstanceParams
type InstanceParams struct {
// Optional. Resource manager tags to be bound to the instance.
ResourceManagerTags map[string]string `protobuf:"bytes,1,rep,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Additional instance params.
func (*InstanceParams) Descriptor
func (*InstanceParams) Descriptor() ([]byte, []int)Deprecated: Use InstanceParams.ProtoReflect.Descriptor instead.
func (*InstanceParams) GetResourceManagerTags
func (x *InstanceParams) GetResourceManagerTags() map[string]stringfunc (*InstanceParams) ProtoMessage
func (*InstanceParams) ProtoMessage()func (*InstanceParams) ProtoReflect
func (x *InstanceParams) ProtoReflect() protoreflect.Messagefunc (*InstanceParams) Reset
func (x *InstanceParams) Reset()func (*InstanceParams) String
func (x *InstanceParams) String() stringKeyRevocationActionType
type KeyRevocationActionType int32Specifies whether the virtual machine instance will be shut down on key revocation. It is currently used in instance, instance properties and GMI protos
KeyRevocationActionType_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED, KeyRevocationActionType_NONE, KeyRevocationActionType_STOP
const (
// Default value. This value is unused.
KeyRevocationActionType_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED KeyRevocationActionType = 0
// Indicates user chose no operation.
KeyRevocationActionType_NONE KeyRevocationActionType = 1
// Indicates user chose to opt for VM shutdown on key revocation.
KeyRevocationActionType_STOP KeyRevocationActionType = 2
)func (KeyRevocationActionType) Descriptor
func (KeyRevocationActionType) Descriptor() protoreflect.EnumDescriptorfunc (KeyRevocationActionType) Enum
func (x KeyRevocationActionType) Enum() *KeyRevocationActionTypefunc (KeyRevocationActionType) EnumDescriptor
func (KeyRevocationActionType) EnumDescriptor() ([]byte, []int)Deprecated: Use KeyRevocationActionType.Descriptor instead.
func (KeyRevocationActionType) Number
func (x KeyRevocationActionType) Number() protoreflect.EnumNumberfunc (KeyRevocationActionType) String
func (x KeyRevocationActionType) String() stringfunc (KeyRevocationActionType) Type
func (KeyRevocationActionType) Type() protoreflect.EnumTypeListBackupPlanAssociationsRequest
type ListBackupPlanAssociationsRequest struct {
// Required. The project and location for which to retrieve backup Plan
// Associations information, in the format
// `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations
// map to GCP regions, for example **us-central1**. To retrieve backup plan
// associations for all locations, use "-" for the
// `{location}` value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for List BackupPlanAssociation
func (*ListBackupPlanAssociationsRequest) Descriptor
func (*ListBackupPlanAssociationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlanAssociationsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPlanAssociationsRequest) GetFilter
func (x *ListBackupPlanAssociationsRequest) GetFilter() stringfunc (*ListBackupPlanAssociationsRequest) GetPageSize
func (x *ListBackupPlanAssociationsRequest) GetPageSize() int32func (*ListBackupPlanAssociationsRequest) GetPageToken
func (x *ListBackupPlanAssociationsRequest) GetPageToken() stringfunc (*ListBackupPlanAssociationsRequest) GetParent
func (x *ListBackupPlanAssociationsRequest) GetParent() stringfunc (*ListBackupPlanAssociationsRequest) ProtoMessage
func (*ListBackupPlanAssociationsRequest) ProtoMessage()func (*ListBackupPlanAssociationsRequest) ProtoReflect
func (x *ListBackupPlanAssociationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlanAssociationsRequest) Reset
func (x *ListBackupPlanAssociationsRequest) Reset()func (*ListBackupPlanAssociationsRequest) String
func (x *ListBackupPlanAssociationsRequest) String() stringListBackupPlanAssociationsResponse
type ListBackupPlanAssociationsResponse struct {
// The list of Backup Plan Associations in the project for the specified
// location.
//
// If the `{location}` value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup plan associations in reachable
// locations and the 'unreachable' field will be populated with a list of
// unreachable locations.
BackupPlanAssociations []*BackupPlanAssociation `protobuf:"bytes,1,rep,name=backup_plan_associations,json=backupPlanAssociations,proto3" json:"backup_plan_associations,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for List BackupPlanAssociation
func (*ListBackupPlanAssociationsResponse) Descriptor
func (*ListBackupPlanAssociationsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlanAssociationsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPlanAssociationsResponse) GetBackupPlanAssociations
func (x *ListBackupPlanAssociationsResponse) GetBackupPlanAssociations() []*BackupPlanAssociationfunc (*ListBackupPlanAssociationsResponse) GetNextPageToken
func (x *ListBackupPlanAssociationsResponse) GetNextPageToken() stringfunc (*ListBackupPlanAssociationsResponse) GetUnreachable
func (x *ListBackupPlanAssociationsResponse) GetUnreachable() []stringfunc (*ListBackupPlanAssociationsResponse) ProtoMessage
func (*ListBackupPlanAssociationsResponse) ProtoMessage()func (*ListBackupPlanAssociationsResponse) ProtoReflect
func (x *ListBackupPlanAssociationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlanAssociationsResponse) Reset
func (x *ListBackupPlanAssociationsResponse) Reset()func (*ListBackupPlanAssociationsResponse) String
func (x *ListBackupPlanAssociationsResponse) String() stringListBackupPlanRevisionsRequest
type ListBackupPlanRevisionsRequest struct {
// Required. The project and location for which to retrieve
// `BackupPlanRevisions` information. Format:
// `projects/{project}/locations/{location}/backupPlans/{backup_plan}`. In
// Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `BackupPlans` to return in a single
// response. If not specified, a default value will be chosen by the service.
// Note that the response may include a partial list and a caller should
// only rely on the response's
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// to determine if there are more instances left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value of
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// received from a previous `ListBackupPlans` call.
// Provide this to retrieve the subsequent page in a multi-page list of
// results. When paginating, all other parameters provided to
// `ListBackupPlans` must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}The request message for getting a list of BackupPlanRevision.
func (*ListBackupPlanRevisionsRequest) Descriptor
func (*ListBackupPlanRevisionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlanRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPlanRevisionsRequest) GetPageSize
func (x *ListBackupPlanRevisionsRequest) GetPageSize() int32func (*ListBackupPlanRevisionsRequest) GetPageToken
func (x *ListBackupPlanRevisionsRequest) GetPageToken() stringfunc (*ListBackupPlanRevisionsRequest) GetParent
func (x *ListBackupPlanRevisionsRequest) GetParent() stringfunc (*ListBackupPlanRevisionsRequest) ProtoMessage
func (*ListBackupPlanRevisionsRequest) ProtoMessage()func (*ListBackupPlanRevisionsRequest) ProtoReflect
func (x *ListBackupPlanRevisionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlanRevisionsRequest) Reset
func (x *ListBackupPlanRevisionsRequest) Reset()func (*ListBackupPlanRevisionsRequest) String
func (x *ListBackupPlanRevisionsRequest) String() stringListBackupPlanRevisionsResponse
type ListBackupPlanRevisionsResponse struct {
// The list of `BackupPlanRevisions` in the project for the specified
// location.
//
// If the `{location}` value in the request is "-", the response contains a
// list of resources from all locations. In case any location is unreachable,
// the response will only return backup plans in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
BackupPlanRevisions []*BackupPlanRevision `protobuf:"bytes,1,rep,name=backup_plan_revisions,json=backupPlanRevisions,proto3" json:"backup_plan_revisions,omitempty"`
// A token which may be sent as
// [page_token][google.cloud.backupdr.v1.ListBackupPlanRevisionsRequest.page_token]
// in a subsequent `ListBackupPlanRevisions` call to retrieve the next page of
// results. If this field is omitted or empty, then there are no more results
// to return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response message for getting a list of BackupPlanRevision.
func (*ListBackupPlanRevisionsResponse) Descriptor
func (*ListBackupPlanRevisionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlanRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPlanRevisionsResponse) GetBackupPlanRevisions
func (x *ListBackupPlanRevisionsResponse) GetBackupPlanRevisions() []*BackupPlanRevisionfunc (*ListBackupPlanRevisionsResponse) GetNextPageToken
func (x *ListBackupPlanRevisionsResponse) GetNextPageToken() stringfunc (*ListBackupPlanRevisionsResponse) GetUnreachable
func (x *ListBackupPlanRevisionsResponse) GetUnreachable() []stringfunc (*ListBackupPlanRevisionsResponse) ProtoMessage
func (*ListBackupPlanRevisionsResponse) ProtoMessage()func (*ListBackupPlanRevisionsResponse) ProtoReflect
func (x *ListBackupPlanRevisionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlanRevisionsResponse) Reset
func (x *ListBackupPlanRevisionsResponse) Reset()func (*ListBackupPlanRevisionsResponse) String
func (x *ListBackupPlanRevisionsResponse) String() stringListBackupPlansRequest
type ListBackupPlansRequest struct {
// Required. The project and location for which to retrieve `BackupPlans`
// information. Format: `projects/{project}/locations/{location}`. In Cloud
// BackupDR, locations map to GCP regions, for e.g. **us-central1**. To
// retrieve backup plans for all locations, use "-" for the
// `{location}` value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `BackupPlans` to return in a single
// response. If not specified, a default value will be chosen by the service.
// Note that the response may include a partial list and a caller should
// only rely on the response's
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// to determine if there are more instances left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value of
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// received from a previous `ListBackupPlans` call.
// Provide this to retrieve the subsequent page in a multi-page list of
// results. When paginating, all other parameters provided to
// `ListBackupPlans` must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Field match expression used to filter the results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field by which to sort the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request message for getting a list BackupPlan.
func (*ListBackupPlansRequest) Descriptor
func (*ListBackupPlansRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlansRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPlansRequest) GetFilter
func (x *ListBackupPlansRequest) GetFilter() stringfunc (*ListBackupPlansRequest) GetOrderBy
func (x *ListBackupPlansRequest) GetOrderBy() stringfunc (*ListBackupPlansRequest) GetPageSize
func (x *ListBackupPlansRequest) GetPageSize() int32func (*ListBackupPlansRequest) GetPageToken
func (x *ListBackupPlansRequest) GetPageToken() stringfunc (*ListBackupPlansRequest) GetParent
func (x *ListBackupPlansRequest) GetParent() stringfunc (*ListBackupPlansRequest) ProtoMessage
func (*ListBackupPlansRequest) ProtoMessage()func (*ListBackupPlansRequest) ProtoReflect
func (x *ListBackupPlansRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlansRequest) Reset
func (x *ListBackupPlansRequest) Reset()func (*ListBackupPlansRequest) String
func (x *ListBackupPlansRequest) String() stringListBackupPlansResponse
type ListBackupPlansResponse struct {
// The list of `BackupPlans` in the project for the specified
// location.
//
// If the `{location}` value in the request is "-", the response contains a
// list of resources from all locations. In case any location is unreachable,
// the response will only return backup plans in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
// BackupPlan
BackupPlans []*BackupPlan `protobuf:"bytes,1,rep,name=backup_plans,json=backupPlans,proto3" json:"backup_plans,omitempty"`
// A token which may be sent as
// [page_token][google.cloud.backupdr.v1.ListBackupPlansRequest.page_token] in
// a subsequent `ListBackupPlans` call to retrieve the next page of results.
// If this field is omitted or empty, then there are no more results to
// return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response message for getting a list of BackupPlan.
func (*ListBackupPlansResponse) Descriptor
func (*ListBackupPlansResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupPlansResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPlansResponse) GetBackupPlans
func (x *ListBackupPlansResponse) GetBackupPlans() []*BackupPlanfunc (*ListBackupPlansResponse) GetNextPageToken
func (x *ListBackupPlansResponse) GetNextPageToken() stringfunc (*ListBackupPlansResponse) GetUnreachable
func (x *ListBackupPlansResponse) GetUnreachable() []stringfunc (*ListBackupPlansResponse) ProtoMessage
func (*ListBackupPlansResponse) ProtoMessage()func (*ListBackupPlansResponse) ProtoReflect
func (x *ListBackupPlansResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupPlansResponse) Reset
func (x *ListBackupPlansResponse) Reset()func (*ListBackupPlansResponse) String
func (x *ListBackupPlansResponse) String() stringListBackupVaultsRequest
type ListBackupVaultsRequest struct {
// Required. The project and location for which to retrieve backupvault stores
// information, in the format 'projects/{project_id}/locations/{location}'. In
// Cloud Backup and DR, locations map to Google Cloud regions, for example
// **us-central1**.
// To retrieve backupvault stores for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// Vault.
View BackupVaultView `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupVaultView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for listing backupvault stores.
func (*ListBackupVaultsRequest) Descriptor
func (*ListBackupVaultsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupVaultsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsRequest) GetFilter
func (x *ListBackupVaultsRequest) GetFilter() stringfunc (*ListBackupVaultsRequest) GetOrderBy
func (x *ListBackupVaultsRequest) GetOrderBy() stringfunc (*ListBackupVaultsRequest) GetPageSize
func (x *ListBackupVaultsRequest) GetPageSize() int32func (*ListBackupVaultsRequest) GetPageToken
func (x *ListBackupVaultsRequest) GetPageToken() stringfunc (*ListBackupVaultsRequest) GetParent
func (x *ListBackupVaultsRequest) GetParent() stringfunc (*ListBackupVaultsRequest) GetView
func (x *ListBackupVaultsRequest) GetView() BackupVaultViewfunc (*ListBackupVaultsRequest) ProtoMessage
func (*ListBackupVaultsRequest) ProtoMessage()func (*ListBackupVaultsRequest) ProtoReflect
func (x *ListBackupVaultsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupVaultsRequest) Reset
func (x *ListBackupVaultsRequest) Reset()func (*ListBackupVaultsRequest) String
func (x *ListBackupVaultsRequest) String() stringListBackupVaultsResponse
type ListBackupVaultsResponse struct {
// The list of BackupVault instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup vaults in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
BackupVaults []*BackupVault `protobuf:"bytes,1,rep,name=backup_vaults,json=backupVaults,proto3" json:"backup_vaults,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for listing BackupVaults.
func (*ListBackupVaultsResponse) Descriptor
func (*ListBackupVaultsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupVaultsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsResponse) GetBackupVaults
func (x *ListBackupVaultsResponse) GetBackupVaults() []*BackupVaultfunc (*ListBackupVaultsResponse) GetNextPageToken
func (x *ListBackupVaultsResponse) GetNextPageToken() stringfunc (*ListBackupVaultsResponse) GetUnreachable
func (x *ListBackupVaultsResponse) GetUnreachable() []stringfunc (*ListBackupVaultsResponse) ProtoMessage
func (*ListBackupVaultsResponse) ProtoMessage()func (*ListBackupVaultsResponse) ProtoReflect
func (x *ListBackupVaultsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupVaultsResponse) Reset
func (x *ListBackupVaultsResponse) Reset()func (*ListBackupVaultsResponse) String
func (x *ListBackupVaultsResponse) String() stringListBackupsRequest
type ListBackupsRequest struct {
// Required. The project and location for which to retrieve backup
// information, in the format
// 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
// locations map to Google Cloud regions, for example **us-central1**.
// To retrieve data sources for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// resource.
View BackupView `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for listing Backups.
func (*ListBackupsRequest) Descriptor
func (*ListBackupsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetFilter
func (x *ListBackupsRequest) GetFilter() stringfunc (*ListBackupsRequest) GetOrderBy
func (x *ListBackupsRequest) GetOrderBy() stringfunc (*ListBackupsRequest) GetPageSize
func (x *ListBackupsRequest) GetPageSize() int32func (*ListBackupsRequest) GetPageToken
func (x *ListBackupsRequest) GetPageToken() stringfunc (*ListBackupsRequest) GetParent
func (x *ListBackupsRequest) GetParent() stringfunc (*ListBackupsRequest) GetView
func (x *ListBackupsRequest) GetView() BackupViewfunc (*ListBackupsRequest) ProtoMessage
func (*ListBackupsRequest) ProtoMessage()func (*ListBackupsRequest) ProtoReflect
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupsRequest) Reset
func (x *ListBackupsRequest) Reset()func (*ListBackupsRequest) String
func (x *ListBackupsRequest) String() stringListBackupsResponse
type ListBackupsResponse struct {
// The list of Backup instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return data sources in reachable locations
// and the 'unreachable' field will be populated with a list of unreachable
// locations.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for listing Backups.
func (*ListBackupsResponse) Descriptor
func (*ListBackupsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups
func (x *ListBackupsResponse) GetBackups() []*Backupfunc (*ListBackupsResponse) GetNextPageToken
func (x *ListBackupsResponse) GetNextPageToken() stringfunc (*ListBackupsResponse) GetUnreachable
func (x *ListBackupsResponse) GetUnreachable() []stringfunc (*ListBackupsResponse) ProtoMessage
func (*ListBackupsResponse) ProtoMessage()func (*ListBackupsResponse) ProtoReflect
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupsResponse) Reset
func (x *ListBackupsResponse) Reset()func (*ListBackupsResponse) String
func (x *ListBackupsResponse) String() stringListDataSourcesRequest
type ListDataSourcesRequest struct {
// Required. The project and location for which to retrieve data
// sources information, in the format
// 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
// locations map to Google Cloud regions, for example **us-central1**.
// To retrieve data sources for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request message for listing DataSources.
func (*ListDataSourcesRequest) Descriptor
func (*ListDataSourcesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataSourcesRequest.ProtoReflect.Descriptor instead.
func (*ListDataSourcesRequest) GetFilter
func (x *ListDataSourcesRequest) GetFilter() stringfunc (*ListDataSourcesRequest) GetOrderBy
func (x *ListDataSourcesRequest) GetOrderBy() stringfunc (*ListDataSourcesRequest) GetPageSize
func (x *ListDataSourcesRequest) GetPageSize() int32func (*ListDataSourcesRequest) GetPageToken
func (x *ListDataSourcesRequest) GetPageToken() stringfunc (*ListDataSourcesRequest) GetParent
func (x *ListDataSourcesRequest) GetParent() stringfunc (*ListDataSourcesRequest) ProtoMessage
func (*ListDataSourcesRequest) ProtoMessage()func (*ListDataSourcesRequest) ProtoReflect
func (x *ListDataSourcesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataSourcesRequest) Reset
func (x *ListDataSourcesRequest) Reset()func (*ListDataSourcesRequest) String
func (x *ListDataSourcesRequest) String() stringListDataSourcesResponse
type ListDataSourcesResponse struct {
// The list of DataSource instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return data sources in reachable locations
// and the 'unreachable' field will be populated with a list of unreachable
// locations.
DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for listing DataSources.
func (*ListDataSourcesResponse) Descriptor
func (*ListDataSourcesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataSourcesResponse.ProtoReflect.Descriptor instead.
func (*ListDataSourcesResponse) GetDataSources
func (x *ListDataSourcesResponse) GetDataSources() []*DataSourcefunc (*ListDataSourcesResponse) GetNextPageToken
func (x *ListDataSourcesResponse) GetNextPageToken() stringfunc (*ListDataSourcesResponse) GetUnreachable
func (x *ListDataSourcesResponse) GetUnreachable() []stringfunc (*ListDataSourcesResponse) ProtoMessage
func (*ListDataSourcesResponse) ProtoMessage()func (*ListDataSourcesResponse) ProtoReflect
func (x *ListDataSourcesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataSourcesResponse) Reset
func (x *ListDataSourcesResponse) Reset()func (*ListDataSourcesResponse) String
func (x *ListDataSourcesResponse) String() stringListManagementServersRequest
type ListManagementServersRequest struct {
// Required. The project and location for which to retrieve management servers
// information, in the format 'projects/{project_id}/locations/{location}'. In
// Cloud BackupDR, locations map to Google Cloud regions, for example
// **us-central1**. To retrieve management servers for all locations, use "-"
// for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter *string `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy *string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Request message for listing management servers.
func (*ListManagementServersRequest) Descriptor
func (*ListManagementServersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListManagementServersRequest.ProtoReflect.Descriptor instead.
func (*ListManagementServersRequest) GetFilter
func (x *ListManagementServersRequest) GetFilter() stringfunc (*ListManagementServersRequest) GetOrderBy
func (x *ListManagementServersRequest) GetOrderBy() stringfunc (*ListManagementServersRequest) GetPageSize
func (x *ListManagementServersRequest) GetPageSize() int32func (*ListManagementServersRequest) GetPageToken
func (x *ListManagementServersRequest) GetPageToken() stringfunc (*ListManagementServersRequest) GetParent
func (x *ListManagementServersRequest) GetParent() stringfunc (*ListManagementServersRequest) ProtoMessage
func (*ListManagementServersRequest) ProtoMessage()func (*ListManagementServersRequest) ProtoReflect
func (x *ListManagementServersRequest) ProtoReflect() protoreflect.Messagefunc (*ListManagementServersRequest) Reset
func (x *ListManagementServersRequest) Reset()func (*ListManagementServersRequest) String
func (x *ListManagementServersRequest) String() stringListManagementServersResponse
type ListManagementServersResponse struct {
// The list of ManagementServer instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return management servers in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
ManagementServers []*ManagementServer `protobuf:"bytes,1,rep,name=management_servers,json=managementServers,proto3" json:"management_servers,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response message for listing management servers.
func (*ListManagementServersResponse) Descriptor
func (*ListManagementServersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListManagementServersResponse.ProtoReflect.Descriptor instead.
func (*ListManagementServersResponse) GetManagementServers
func (x *ListManagementServersResponse) GetManagementServers() []*ManagementServerfunc (*ListManagementServersResponse) GetNextPageToken
func (x *ListManagementServersResponse) GetNextPageToken() stringfunc (*ListManagementServersResponse) GetUnreachable
func (x *ListManagementServersResponse) GetUnreachable() []stringfunc (*ListManagementServersResponse) ProtoMessage
func (*ListManagementServersResponse) ProtoMessage()func (*ListManagementServersResponse) ProtoReflect
func (x *ListManagementServersResponse) ProtoReflect() protoreflect.Messagefunc (*ListManagementServersResponse) Reset
func (x *ListManagementServersResponse) Reset()func (*ListManagementServersResponse) String
func (x *ListManagementServersResponse) String() stringManagementServer
type ManagementServer struct {
// Output only. Identifier. The resource name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the ManagementServer instance (2048 characters
// or less).
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Resource labels to represent user provided metadata.
// Labels currently defined:
// 1. migrate_from_go=ManagementServer describes a single BackupDR ManagementServer instance.
func (*ManagementServer) Descriptor
func (*ManagementServer) Descriptor() ([]byte, []int)Deprecated: Use ManagementServer.ProtoReflect.Descriptor instead.
func (*ManagementServer) GetBaProxyUri
func (x *ManagementServer) GetBaProxyUri() []stringfunc (*ManagementServer) GetCreateTime
func (x *ManagementServer) GetCreateTime() *timestamppb.Timestampfunc (*ManagementServer) GetDescription
func (x *ManagementServer) GetDescription() stringfunc (*ManagementServer) GetEtag
func (x *ManagementServer) GetEtag() stringfunc (*ManagementServer) GetLabels
func (x *ManagementServer) GetLabels() map[string]stringfunc (*ManagementServer) GetManagementUri
func (x *ManagementServer) GetManagementUri() *ManagementURIfunc (*ManagementServer) GetName
func (x *ManagementServer) GetName() stringfunc (*ManagementServer) GetNetworks
func (x *ManagementServer) GetNetworks() []*NetworkConfigfunc (*ManagementServer) GetOauth2ClientId
func (x *ManagementServer) GetOauth2ClientId() stringfunc (*ManagementServer) GetSatisfiesPzi
func (x *ManagementServer) GetSatisfiesPzi() boolfunc (*ManagementServer) GetSatisfiesPzs
func (x *ManagementServer) GetSatisfiesPzs() *wrapperspb.BoolValuefunc (*ManagementServer) GetState
func (x *ManagementServer) GetState() ManagementServer_InstanceStatefunc (*ManagementServer) GetType
func (x *ManagementServer) GetType() ManagementServer_InstanceTypefunc (*ManagementServer) GetUpdateTime
func (x *ManagementServer) GetUpdateTime() *timestamppb.Timestampfunc (*ManagementServer) GetWorkforceIdentityBasedManagementUri
func (x *ManagementServer) GetWorkforceIdentityBasedManagementUri() *WorkforceIdentityBasedManagementURIfunc (*ManagementServer) GetWorkforceIdentityBasedOauth2ClientId
func (x *ManagementServer) GetWorkforceIdentityBasedOauth2ClientId() *WorkforceIdentityBasedOAuth2ClientIDfunc (*ManagementServer) ProtoMessage
func (*ManagementServer) ProtoMessage()func (*ManagementServer) ProtoReflect
func (x *ManagementServer) ProtoReflect() protoreflect.Messagefunc (*ManagementServer) Reset
func (x *ManagementServer) Reset()func (*ManagementServer) String
func (x *ManagementServer) String() stringManagementServer_InstanceState
type ManagementServer_InstanceState int32State of Management server instance.
ManagementServer_INSTANCE_STATE_UNSPECIFIED, ManagementServer_CREATING, ManagementServer_READY, ManagementServer_UPDATING, ManagementServer_DELETING, ManagementServer_REPAIRING, ManagementServer_MAINTENANCE, ManagementServer_ERROR
const (
// State not set.
ManagementServer_INSTANCE_STATE_UNSPECIFIED ManagementServer_InstanceState = 0
// The instance is being created.
ManagementServer_CREATING ManagementServer_InstanceState = 1
// The instance has been created and is fully usable.
ManagementServer_READY ManagementServer_InstanceState = 2
// The instance configuration is being updated. Certain kinds of updates
// may cause the instance to become unusable while the update is in
// progress.
ManagementServer_UPDATING ManagementServer_InstanceState = 3
// The instance is being deleted.
ManagementServer_DELETING ManagementServer_InstanceState = 4
// The instance is being repaired and may be unstable.
ManagementServer_REPAIRING ManagementServer_InstanceState = 5
// Maintenance is being performed on this instance.
ManagementServer_MAINTENANCE ManagementServer_InstanceState = 6
// The instance is experiencing an issue and might be unusable. You can get
// further details from the statusMessage field of Instance resource.
ManagementServer_ERROR ManagementServer_InstanceState = 7
)func (ManagementServer_InstanceState) Descriptor
func (ManagementServer_InstanceState) Descriptor() protoreflect.EnumDescriptorfunc (ManagementServer_InstanceState) Enum
func (x ManagementServer_InstanceState) Enum() *ManagementServer_InstanceStatefunc (ManagementServer_InstanceState) EnumDescriptor
func (ManagementServer_InstanceState) EnumDescriptor() ([]byte, []int)Deprecated: Use ManagementServer_InstanceState.Descriptor instead.
func (ManagementServer_InstanceState) Number
func (x ManagementServer_InstanceState) Number() protoreflect.EnumNumberfunc (ManagementServer_InstanceState) String
func (x ManagementServer_InstanceState) String() stringfunc (ManagementServer_InstanceState) Type
func (ManagementServer_InstanceState) Type() protoreflect.EnumTypeManagementServer_InstanceType
type ManagementServer_InstanceType int32Type of backup service resource.
ManagementServer_INSTANCE_TYPE_UNSPECIFIED, ManagementServer_BACKUP_RESTORE
const (
// Instance type is not mentioned.
ManagementServer_INSTANCE_TYPE_UNSPECIFIED ManagementServer_InstanceType = 0
// Instance for backup and restore management (i.e., AGM).
ManagementServer_BACKUP_RESTORE ManagementServer_InstanceType = 1
)func (ManagementServer_InstanceType) Descriptor
func (ManagementServer_InstanceType) Descriptor() protoreflect.EnumDescriptorfunc (ManagementServer_InstanceType) Enum
func (x ManagementServer_InstanceType) Enum() *ManagementServer_InstanceTypefunc (ManagementServer_InstanceType) EnumDescriptor
func (ManagementServer_InstanceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ManagementServer_InstanceType.Descriptor instead.
func (ManagementServer_InstanceType) Number
func (x ManagementServer_InstanceType) Number() protoreflect.EnumNumberfunc (ManagementServer_InstanceType) String
func (x ManagementServer_InstanceType) String() stringfunc (ManagementServer_InstanceType) Type
func (ManagementServer_InstanceType) Type() protoreflect.EnumTypeManagementURI
type ManagementURI struct {
// Output only. The ManagementServer AGM/RD WebUI URL.
WebUi string `protobuf:"bytes,1,opt,name=web_ui,json=webUi,proto3" json:"web_ui,omitempty"`
// Output only. The ManagementServer AGM/RD API URL.
Api string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
// contains filtered or unexported fields
}ManagementURI for the Management Server resource.
func (*ManagementURI) Descriptor
func (*ManagementURI) Descriptor() ([]byte, []int)Deprecated: Use ManagementURI.ProtoReflect.Descriptor instead.
func (*ManagementURI) GetApi
func (x *ManagementURI) GetApi() stringfunc (*ManagementURI) GetWebUi
func (x *ManagementURI) GetWebUi() stringfunc (*ManagementURI) ProtoMessage
func (*ManagementURI) ProtoMessage()func (*ManagementURI) ProtoReflect
func (x *ManagementURI) ProtoReflect() protoreflect.Messagefunc (*ManagementURI) Reset
func (x *ManagementURI) Reset()func (*ManagementURI) String
func (x *ManagementURI) String() stringMetadata
type Metadata struct {
// Optional. Array of key/value pairs. The total size of all keys and values
// must be less than 512 KB.
Items []*Entry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}A metadata key/value entry.
func (*Metadata) Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (*Metadata) GetItems
func (*Metadata) ProtoMessage
func (*Metadata) ProtoMessage()func (*Metadata) ProtoReflect
func (x *Metadata) ProtoReflect() protoreflect.Messagefunc (*Metadata) Reset
func (x *Metadata) Reset()func (*Metadata) String
NetworkConfig
type NetworkConfig struct {
// Optional. The resource name of the Google Compute Engine VPC network to
// which the ManagementServer instance is connected.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Optional. The network connect mode of the ManagementServer instance. For
// this version, only PRIVATE_SERVICE_ACCESS is supported.
PeeringMode NetworkConfig_PeeringMode `protobuf:"varint,2,opt,name=peering_mode,json=peeringMode,proto3,enum=google.cloud.backupdr.v1.NetworkConfig_PeeringMode" json:"peering_mode,omitempty"`
// contains filtered or unexported fields
}Network configuration for ManagementServer instance.
func (*NetworkConfig) Descriptor
func (*NetworkConfig) Descriptor() ([]byte, []int)Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetNetwork
func (x *NetworkConfig) GetNetwork() stringfunc (*NetworkConfig) GetPeeringMode
func (x *NetworkConfig) GetPeeringMode() NetworkConfig_PeeringModefunc (*NetworkConfig) ProtoMessage
func (*NetworkConfig) ProtoMessage()func (*NetworkConfig) ProtoReflect
func (x *NetworkConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkConfig) Reset
func (x *NetworkConfig) Reset()func (*NetworkConfig) String
func (x *NetworkConfig) String() stringNetworkConfig_PeeringMode
type NetworkConfig_PeeringMode int32VPC peering modes supported by Cloud BackupDR.
NetworkConfig_PEERING_MODE_UNSPECIFIED, NetworkConfig_PRIVATE_SERVICE_ACCESS
const (
// Peering mode not set.
NetworkConfig_PEERING_MODE_UNSPECIFIED NetworkConfig_PeeringMode = 0
// Connect using Private Service Access to the Management Server. Private
// services access provides an IP address range for multiple Google Cloud
// services, including Cloud BackupDR.
NetworkConfig_PRIVATE_SERVICE_ACCESS NetworkConfig_PeeringMode = 1
)func (NetworkConfig_PeeringMode) Descriptor
func (NetworkConfig_PeeringMode) Descriptor() protoreflect.EnumDescriptorfunc (NetworkConfig_PeeringMode) Enum
func (x NetworkConfig_PeeringMode) Enum() *NetworkConfig_PeeringModefunc (NetworkConfig_PeeringMode) EnumDescriptor
func (NetworkConfig_PeeringMode) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkConfig_PeeringMode.Descriptor instead.
func (NetworkConfig_PeeringMode) Number
func (x NetworkConfig_PeeringMode) Number() protoreflect.EnumNumberfunc (NetworkConfig_PeeringMode) String
func (x NetworkConfig_PeeringMode) String() stringfunc (NetworkConfig_PeeringMode) Type
func (NetworkConfig_PeeringMode) Type() protoreflect.EnumTypeNetworkInterface
type NetworkInterface struct {
// Optional. URL of the VPC network resource for this instance.
Network *string `protobuf:"bytes,1,opt,name=network,proto3,oneof" json:"network,omitempty"`
// Optional. The URL of the Subnetwork resource for this instance.
Subnetwork *string `protobuf:"bytes,2,opt,name=subnetwork,proto3,oneof" json:"subnetwork,omitempty"`
// Optional. An IPv4 internal IP address to assign to the instance for this
// network interface. If not specified by the user, an unused internal IP is
// assigned by the system.
IpAddress *string `protobuf:"bytes,3,opt,name=ip_address,json=networkIP,proto3,oneof" json:"ip_address,omitempty"`
// Optional. An IPv6 internal network address for this network interface. To
// use a static internal IP address, it must be unused and in the same region
// as the instance's zone. If not specified, Google Cloud will automatically
// assign an internal IPv6 address from the instance's subnetwork.
Ipv6Address *string `protobuf:"bytes,4,opt,name=ipv6_address,json=ipv6Address,proto3,oneof" json:"ipv6_address,omitempty"`
// Optional. The prefix length of the primary internal IPv6 range.
InternalIpv6PrefixLength *int32 `protobuf:"varint,5,opt,name=internal_ipv6_prefix_length,json=internalIpv6PrefixLength,proto3,oneof" json:"internal_ipv6_prefix_length,omitempty"`
// Output only. [Output Only] The name of the network interface, which is
// generated by the server.
Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. An array of configurations for this interface. Currently, only
// one access config,ONE_TO_ONE_NAT is supported. If there are no
// accessConfigs specified, then this instance will have
// no external internet access.
AccessConfigs []*AccessConfig `protobuf:"bytes,7,rep,name=access_configs,json=accessConfigs,proto3" json:"access_configs,omitempty"`
// Optional. An array of IPv6 access configurations for this interface.
// Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there
// is no ipv6AccessConfig specified, then this instance will
// have no external IPv6 Internet access.
Ipv6AccessConfigs []*AccessConfig `protobuf:"bytes,8,rep,name=ipv6_access_configs,json=ipv6AccessConfigs,proto3" json:"ipv6_access_configs,omitempty"`
// Optional. An array of alias IP ranges for this network interface.
// You can only specify this field for network interfaces in VPC networks.
AliasIpRanges []*AliasIpRange `protobuf:"bytes,9,rep,name=alias_ip_ranges,json=aliasIpRanges,proto3" json:"alias_ip_ranges,omitempty"`
// The stack type for this network interface.
StackType *NetworkInterface_StackType `protobuf:"varint,10,opt,name=stack_type,json=stackType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_StackType,oneof" json:"stack_type,omitempty"`
// Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the
// IP can be accessed from the Internet. This field is always inherited from
// its subnetwork.
Ipv6AccessType *NetworkInterface_Ipv6AccessType `protobuf:"varint,11,opt,name=ipv6_access_type,json=ipv6AccessType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_Ipv6AccessType,oneof" json:"ipv6_access_type,omitempty"`
// Optional. The networking queue count that's specified by users for the
// network interface. Both Rx and Tx queues will be set to this number. It'll
// be empty if not specified by the users.
QueueCount *int32 `protobuf:"varint,12,opt,name=queue_count,json=queueCount,proto3,oneof" json:"queue_count,omitempty"`
// Optional. The type of vNIC to be used on this interface. This may be gVNIC
// or VirtioNet.
NicType *NetworkInterface_NicType `protobuf:"varint,13,opt,name=nic_type,json=nicType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_NicType,oneof" json:"nic_type,omitempty"`
// Optional. The URL of the network attachment that this interface should
// connect to in the following format:
// projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
NetworkAttachment *string `protobuf:"bytes,14,opt,name=network_attachment,json=networkAttachment,proto3,oneof" json:"network_attachment,omitempty"`
// contains filtered or unexported fields
}A network interface resource attached to an instance. s
func (*NetworkInterface) Descriptor
func (*NetworkInterface) Descriptor() ([]byte, []int)Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.
func (*NetworkInterface) GetAccessConfigs
func (x *NetworkInterface) GetAccessConfigs() []*AccessConfigfunc (*NetworkInterface) GetAliasIpRanges
func (x *NetworkInterface) GetAliasIpRanges() []*AliasIpRangefunc (*NetworkInterface) GetInternalIpv6PrefixLength
func (x *NetworkInterface) GetInternalIpv6PrefixLength() int32func (*NetworkInterface) GetIpAddress
func (x *NetworkInterface) GetIpAddress() stringfunc (*NetworkInterface) GetIpv6AccessConfigs
func (x *NetworkInterface) GetIpv6AccessConfigs() []*AccessConfigfunc (*NetworkInterface) GetIpv6AccessType
func (x *NetworkInterface) GetIpv6AccessType() NetworkInterface_Ipv6AccessTypefunc (*NetworkInterface) GetIpv6Address
func (x *NetworkInterface) GetIpv6Address() stringfunc (*NetworkInterface) GetName
func (x *NetworkInterface) GetName() stringfunc (*NetworkInterface) GetNetwork
func (x *NetworkInterface) GetNetwork() stringfunc (*NetworkInterface) GetNetworkAttachment
func (x *NetworkInterface) GetNetworkAttachment() stringfunc (*NetworkInterface) GetNicType
func (x *NetworkInterface) GetNicType() NetworkInterface_NicTypefunc (*NetworkInterface) GetQueueCount
func (x *NetworkInterface) GetQueueCount() int32func (*NetworkInterface) GetStackType
func (x *NetworkInterface) GetStackType() NetworkInterface_StackTypefunc (*NetworkInterface) GetSubnetwork
func (x *NetworkInterface) GetSubnetwork() stringfunc (*NetworkInterface) ProtoMessage
func (*NetworkInterface) ProtoMessage()func (*NetworkInterface) ProtoReflect
func (x *NetworkInterface) ProtoReflect() protoreflect.Messagefunc (*NetworkInterface) Reset
func (x *NetworkInterface) Reset()func (*NetworkInterface) String
func (x *NetworkInterface) String() stringNetworkInterface_Ipv6AccessType
type NetworkInterface_Ipv6AccessType int32IPv6 access type for this network interface.
NetworkInterface_UNSPECIFIED_IPV6_ACCESS_TYPE, NetworkInterface_INTERNAL, NetworkInterface_EXTERNAL
const (
// IPv6 access type not set. Means this network interface hasn't been
// turned on IPv6 yet.
NetworkInterface_UNSPECIFIED_IPV6_ACCESS_TYPE NetworkInterface_Ipv6AccessType = 0
// This network interface can have internal IPv6.
NetworkInterface_INTERNAL NetworkInterface_Ipv6AccessType = 1
// This network interface can have external IPv6.
NetworkInterface_EXTERNAL NetworkInterface_Ipv6AccessType = 2
)func (NetworkInterface_Ipv6AccessType) Descriptor
func (NetworkInterface_Ipv6AccessType) Descriptor() protoreflect.EnumDescriptorfunc (NetworkInterface_Ipv6AccessType) Enum
func (x NetworkInterface_Ipv6AccessType) Enum() *NetworkInterface_Ipv6AccessTypefunc (NetworkInterface_Ipv6AccessType) EnumDescriptor
func (NetworkInterface_Ipv6AccessType) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkInterface_Ipv6AccessType.Descriptor instead.
func (NetworkInterface_Ipv6AccessType) Number
func (x NetworkInterface_Ipv6AccessType) Number() protoreflect.EnumNumberfunc (NetworkInterface_Ipv6AccessType) String
func (x NetworkInterface_Ipv6AccessType) String() stringfunc (NetworkInterface_Ipv6AccessType) Type
func (NetworkInterface_Ipv6AccessType) Type() protoreflect.EnumTypeNetworkInterface_NicType
type NetworkInterface_NicType int32Nic type for this network interface.
NetworkInterface_NIC_TYPE_UNSPECIFIED, NetworkInterface_VIRTIO_NET, NetworkInterface_GVNIC
const (
// Default should be NIC_TYPE_UNSPECIFIED.
NetworkInterface_NIC_TYPE_UNSPECIFIED NetworkInterface_NicType = 0
// VIRTIO
NetworkInterface_VIRTIO_NET NetworkInterface_NicType = 1
// GVNIC
NetworkInterface_GVNIC NetworkInterface_NicType = 2
)func (NetworkInterface_NicType) Descriptor
func (NetworkInterface_NicType) Descriptor() protoreflect.EnumDescriptorfunc (NetworkInterface_NicType) Enum
func (x NetworkInterface_NicType) Enum() *NetworkInterface_NicTypefunc (NetworkInterface_NicType) EnumDescriptor
func (NetworkInterface_NicType) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkInterface_NicType.Descriptor instead.
func (NetworkInterface_NicType) Number
func (x NetworkInterface_NicType) Number() protoreflect.EnumNumberfunc (NetworkInterface_NicType) String
func (x NetworkInterface_NicType) String() stringfunc (NetworkInterface_NicType) Type
func (NetworkInterface_NicType) Type() protoreflect.EnumTypeNetworkInterface_StackType
type NetworkInterface_StackType int32Stack type for this network interface.
NetworkInterface_STACK_TYPE_UNSPECIFIED, NetworkInterface_IPV4_ONLY, NetworkInterface_IPV4_IPV6
const (
// Default should be STACK_TYPE_UNSPECIFIED.
NetworkInterface_STACK_TYPE_UNSPECIFIED NetworkInterface_StackType = 0
// The network interface will be assigned IPv4 address.
NetworkInterface_IPV4_ONLY NetworkInterface_StackType = 1
// The network interface can have both IPv4 and IPv6 addresses.
NetworkInterface_IPV4_IPV6 NetworkInterface_StackType = 2
)func (NetworkInterface_StackType) Descriptor
func (NetworkInterface_StackType) Descriptor() protoreflect.EnumDescriptorfunc (NetworkInterface_StackType) Enum
func (x NetworkInterface_StackType) Enum() *NetworkInterface_StackTypefunc (NetworkInterface_StackType) EnumDescriptor
func (NetworkInterface_StackType) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkInterface_StackType.Descriptor instead.
func (NetworkInterface_StackType) Number
func (x NetworkInterface_StackType) Number() protoreflect.EnumNumberfunc (NetworkInterface_StackType) String
func (x NetworkInterface_StackType) String() stringfunc (NetworkInterface_StackType) Type
func (NetworkInterface_StackType) Type() protoreflect.EnumTypeNetworkPerformanceConfig
type NetworkPerformanceConfig struct {
// Optional. The tier of the total egress bandwidth.
TotalEgressBandwidthTier *NetworkPerformanceConfig_Tier `protobuf:"varint,1,opt,name=total_egress_bandwidth_tier,json=totalEgressBandwidthTier,proto3,enum=google.cloud.backupdr.v1.NetworkPerformanceConfig_Tier,oneof" json:"total_egress_bandwidth_tier,omitempty"`
// contains filtered or unexported fields
}Network performance configuration.
func (*NetworkPerformanceConfig) Descriptor
func (*NetworkPerformanceConfig) Descriptor() ([]byte, []int)Deprecated: Use NetworkPerformanceConfig.ProtoReflect.Descriptor instead.
func (*NetworkPerformanceConfig) GetTotalEgressBandwidthTier
func (x *NetworkPerformanceConfig) GetTotalEgressBandwidthTier() NetworkPerformanceConfig_Tierfunc (*NetworkPerformanceConfig) ProtoMessage
func (*NetworkPerformanceConfig) ProtoMessage()func (*NetworkPerformanceConfig) ProtoReflect
func (x *NetworkPerformanceConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkPerformanceConfig) Reset
func (x *NetworkPerformanceConfig) Reset()func (*NetworkPerformanceConfig) String
func (x *NetworkPerformanceConfig) String() stringNetworkPerformanceConfig_Tier
type NetworkPerformanceConfig_Tier int32Network performance tier.
NetworkPerformanceConfig_TIER_UNSPECIFIED, NetworkPerformanceConfig_DEFAULT, NetworkPerformanceConfig_TIER_1
const (
// This value is unused.
NetworkPerformanceConfig_TIER_UNSPECIFIED NetworkPerformanceConfig_Tier = 0
// Default network performance config.
NetworkPerformanceConfig_DEFAULT NetworkPerformanceConfig_Tier = 1
// Tier 1 network performance config.
NetworkPerformanceConfig_TIER_1 NetworkPerformanceConfig_Tier = 2
)func (NetworkPerformanceConfig_Tier) Descriptor
func (NetworkPerformanceConfig_Tier) Descriptor() protoreflect.EnumDescriptorfunc (NetworkPerformanceConfig_Tier) Enum
func (x NetworkPerformanceConfig_Tier) Enum() *NetworkPerformanceConfig_Tierfunc (NetworkPerformanceConfig_Tier) EnumDescriptor
func (NetworkPerformanceConfig_Tier) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkPerformanceConfig_Tier.Descriptor instead.
func (NetworkPerformanceConfig_Tier) Number
func (x NetworkPerformanceConfig_Tier) Number() protoreflect.EnumNumberfunc (NetworkPerformanceConfig_Tier) String
func (x NetworkPerformanceConfig_Tier) String() stringfunc (NetworkPerformanceConfig_Tier) Type
func (NetworkPerformanceConfig_Tier) Type() protoreflect.EnumTypeOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to 'Code.CANCELLED'.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// Output only. AdditionalInfo contains additional Info related to backup plan
// association resource.
AdditionalInfo map[string]string `protobuf:"bytes,8,rep,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetAdditionalInfo
func (x *OperationMetadata) GetAdditionalInfo() map[string]stringfunc (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringRegionDiskTargetEnvironment
type RegionDiskTargetEnvironment struct {
// Required. Target project for the disk.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Required. Target region for the disk.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// Required. Target URLs of the replica zones for the disk.
ReplicaZones []string `protobuf:"bytes,3,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// contains filtered or unexported fields
}RegionDiskTargetEnvironment represents the target environment for the disk.
func (*RegionDiskTargetEnvironment) Descriptor
func (*RegionDiskTargetEnvironment) Descriptor() ([]byte, []int)Deprecated: Use RegionDiskTargetEnvironment.ProtoReflect.Descriptor instead.
func (*RegionDiskTargetEnvironment) GetProject
func (x *RegionDiskTargetEnvironment) GetProject() stringfunc (*RegionDiskTargetEnvironment) GetRegion
func (x *RegionDiskTargetEnvironment) GetRegion() stringfunc (*RegionDiskTargetEnvironment) GetReplicaZones
func (x *RegionDiskTargetEnvironment) GetReplicaZones() []stringfunc (*RegionDiskTargetEnvironment) ProtoMessage
func (*RegionDiskTargetEnvironment) ProtoMessage()func (*RegionDiskTargetEnvironment) ProtoReflect
func (x *RegionDiskTargetEnvironment) ProtoReflect() protoreflect.Messagefunc (*RegionDiskTargetEnvironment) Reset
func (x *RegionDiskTargetEnvironment) Reset()func (*RegionDiskTargetEnvironment) String
func (x *RegionDiskTargetEnvironment) String() stringRestoreBackupRequest
type RestoreBackupRequest struct {
// Required. The resource name of the Backup instance, in the format
// 'projects/*/locations/*/backupVaults/*/dataSources/*/backups/'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The target environment for the restore operation.
//
// Types that are assignable to TargetEnvironment:
//
// *RestoreBackupRequest_ComputeInstanceTargetEnvironment
// *RestoreBackupRequest_DiskTargetEnvironment
// *RestoreBackupRequest_RegionDiskTargetEnvironment
TargetEnvironment isRestoreBackupRequest_TargetEnvironment `protobuf_oneof:"target_environment"`
// The property overrides for the instance being restored.
//
// Types that are assignable to InstanceProperties:
//
// *RestoreBackupRequest_ComputeInstanceRestoreProperties
// *RestoreBackupRequest_DiskRestoreProperties
InstanceProperties isRestoreBackupRequest_InstanceProperties `protobuf_oneof:"instance_properties"`
// contains filtered or unexported fields
}Request message for restoring from a Backup.
func (*RestoreBackupRequest) Descriptor
func (*RestoreBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreBackupRequest) GetComputeInstanceRestoreProperties
func (x *RestoreBackupRequest) GetComputeInstanceRestoreProperties() *ComputeInstanceRestorePropertiesfunc (*RestoreBackupRequest) GetComputeInstanceTargetEnvironment
func (x *RestoreBackupRequest) GetComputeInstanceTargetEnvironment() *ComputeInstanceTargetEnvironmentfunc (*RestoreBackupRequest) GetDiskRestoreProperties
func (x *RestoreBackupRequest) GetDiskRestoreProperties() *DiskRestorePropertiesfunc (*RestoreBackupRequest) GetDiskTargetEnvironment
func (x *RestoreBackupRequest) GetDiskTargetEnvironment() *DiskTargetEnvironmentfunc (*RestoreBackupRequest) GetInstanceProperties
func (m *RestoreBackupRequest) GetInstanceProperties() isRestoreBackupRequest_InstancePropertiesfunc (*RestoreBackupRequest) GetName
func (x *RestoreBackupRequest) GetName() stringfunc (*RestoreBackupRequest) GetRegionDiskTargetEnvironment
func (x *RestoreBackupRequest) GetRegionDiskTargetEnvironment() *RegionDiskTargetEnvironmentfunc (*RestoreBackupRequest) GetRequestId
func (x *RestoreBackupRequest) GetRequestId() stringfunc (*RestoreBackupRequest) GetTargetEnvironment
func (m *RestoreBackupRequest) GetTargetEnvironment() isRestoreBackupRequest_TargetEnvironmentfunc (*RestoreBackupRequest) ProtoMessage
func (*RestoreBackupRequest) ProtoMessage()func (*RestoreBackupRequest) ProtoReflect
func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Messagefunc (*RestoreBackupRequest) Reset
func (x *RestoreBackupRequest) Reset()func (*RestoreBackupRequest) String
func (x *RestoreBackupRequest) String() stringRestoreBackupRequest_ComputeInstanceRestoreProperties
type RestoreBackupRequest_ComputeInstanceRestoreProperties struct {
// Compute Engine instance properties to be overridden during restore.
ComputeInstanceRestoreProperties *ComputeInstanceRestoreProperties `protobuf:"bytes,4,opt,name=compute_instance_restore_properties,json=computeInstanceRestoreProperties,proto3,oneof"`
}RestoreBackupRequest_ComputeInstanceTargetEnvironment
type RestoreBackupRequest_ComputeInstanceTargetEnvironment struct {
// Compute Engine target environment to be used during restore.
ComputeInstanceTargetEnvironment *ComputeInstanceTargetEnvironment `protobuf:"bytes,3,opt,name=compute_instance_target_environment,json=computeInstanceTargetEnvironment,proto3,oneof"`
}RestoreBackupRequest_DiskRestoreProperties
type RestoreBackupRequest_DiskRestoreProperties struct {
// Disk properties to be overridden during restore.
DiskRestoreProperties *DiskRestoreProperties `protobuf:"bytes,7,opt,name=disk_restore_properties,json=diskRestoreProperties,proto3,oneof"`
}RestoreBackupRequest_DiskTargetEnvironment
type RestoreBackupRequest_DiskTargetEnvironment struct {
// Disk target environment to be used during restore.
DiskTargetEnvironment *DiskTargetEnvironment `protobuf:"bytes,5,opt,name=disk_target_environment,json=diskTargetEnvironment,proto3,oneof"`
}RestoreBackupRequest_RegionDiskTargetEnvironment
type RestoreBackupRequest_RegionDiskTargetEnvironment struct {
// Region disk target environment to be used during restore.
RegionDiskTargetEnvironment *RegionDiskTargetEnvironment `protobuf:"bytes,6,opt,name=region_disk_target_environment,json=regionDiskTargetEnvironment,proto3,oneof"`
}RestoreBackupResponse
type RestoreBackupResponse struct {
// Details of the target resource created/modified as part of restore.
TargetResource *TargetResource `protobuf:"bytes,1,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
// contains filtered or unexported fields
}Response message for restoring from a Backup.
func (*RestoreBackupResponse) Descriptor
func (*RestoreBackupResponse) Descriptor() ([]byte, []int)Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) GetTargetResource
func (x *RestoreBackupResponse) GetTargetResource() *TargetResourcefunc (*RestoreBackupResponse) ProtoMessage
func (*RestoreBackupResponse) ProtoMessage()func (*RestoreBackupResponse) ProtoReflect
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Messagefunc (*RestoreBackupResponse) Reset
func (x *RestoreBackupResponse) Reset()func (*RestoreBackupResponse) String
func (x *RestoreBackupResponse) String() stringRuleConfigInfo
type RuleConfigInfo struct {
// Output only. Backup Rule id fetched from backup plan.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Output only. The last backup state for rule.
LastBackupState RuleConfigInfo_LastBackupState `protobuf:"varint,3,opt,name=last_backup_state,json=lastBackupState,proto3,enum=google.cloud.backupdr.v1.RuleConfigInfo_LastBackupState" json:"last_backup_state,omitempty"`
// Output only. google.rpc.Status object to store the last backup error.
LastBackupError *status.Status `protobuf:"bytes,4,opt,name=last_backup_error,json=lastBackupError,proto3" json:"last_backup_error,omitempty"`
// Output only. The point in time when the last successful backup was captured
// from the source.
LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_successful_backup_consistency_time,json=lastSuccessfulBackupConsistencyTime,proto3" json:"last_successful_backup_consistency_time,omitempty"`
// contains filtered or unexported fields
}Message for rules config info.
func (*RuleConfigInfo) Descriptor
func (*RuleConfigInfo) Descriptor() ([]byte, []int)Deprecated: Use RuleConfigInfo.ProtoReflect.Descriptor instead.
func (*RuleConfigInfo) GetLastBackupError
func (x *RuleConfigInfo) GetLastBackupError() *status.Statusfunc (*RuleConfigInfo) GetLastBackupState
func (x *RuleConfigInfo) GetLastBackupState() RuleConfigInfo_LastBackupStatefunc (*RuleConfigInfo) GetLastSuccessfulBackupConsistencyTime
func (x *RuleConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestampfunc (*RuleConfigInfo) GetRuleId
func (x *RuleConfigInfo) GetRuleId() stringfunc (*RuleConfigInfo) ProtoMessage
func (*RuleConfigInfo) ProtoMessage()func (*RuleConfigInfo) ProtoReflect
func (x *RuleConfigInfo) ProtoReflect() protoreflect.Messagefunc (*RuleConfigInfo) Reset
func (x *RuleConfigInfo) Reset()func (*RuleConfigInfo) String
func (x *RuleConfigInfo) String() stringRuleConfigInfo_LastBackupState
type RuleConfigInfo_LastBackupState int32Enum for LastBackupState
RuleConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED, RuleConfigInfo_FIRST_BACKUP_PENDING, RuleConfigInfo_PERMISSION_DENIED, RuleConfigInfo_SUCCEEDED, RuleConfigInfo_FAILED
const (
// State not set.
RuleConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED RuleConfigInfo_LastBackupState = 0
// The first backup is pending.
RuleConfigInfo_FIRST_BACKUP_PENDING RuleConfigInfo_LastBackupState = 1
// The most recent backup could not be run/failed because of the lack of
// permissions.
RuleConfigInfo_PERMISSION_DENIED RuleConfigInfo_LastBackupState = 2
// The last backup operation succeeded.
RuleConfigInfo_SUCCEEDED RuleConfigInfo_LastBackupState = 3
// The last backup operation failed.
RuleConfigInfo_FAILED RuleConfigInfo_LastBackupState = 4
)func (RuleConfigInfo_LastBackupState) Descriptor
func (RuleConfigInfo_LastBackupState) Descriptor() protoreflect.EnumDescriptorfunc (RuleConfigInfo_LastBackupState) Enum
func (x RuleConfigInfo_LastBackupState) Enum() *RuleConfigInfo_LastBackupStatefunc (RuleConfigInfo_LastBackupState) EnumDescriptor
func (RuleConfigInfo_LastBackupState) EnumDescriptor() ([]byte, []int)Deprecated: Use RuleConfigInfo_LastBackupState.Descriptor instead.
func (RuleConfigInfo_LastBackupState) Number
func (x RuleConfigInfo_LastBackupState) Number() protoreflect.EnumNumberfunc (RuleConfigInfo_LastBackupState) String
func (x RuleConfigInfo_LastBackupState) String() stringfunc (RuleConfigInfo_LastBackupState) Type
func (RuleConfigInfo_LastBackupState) Type() protoreflect.EnumTypeScheduling
type Scheduling struct {
// Optional. Defines the maintenance behavior for this instance.
OnHostMaintenance *Scheduling_OnHostMaintenance `protobuf:"varint,1,opt,name=on_host_maintenance,json=onHostMaintenance,proto3,enum=google.cloud.backupdr.v1.Scheduling_OnHostMaintenance,oneof" json:"on_host_maintenance,omitempty"`
// Optional. Specifies whether the instance should be automatically restarted
// if it is terminated by Compute Engine (not terminated by a user).
AutomaticRestart *bool `protobuf:"varint,2,opt,name=automatic_restart,json=automaticRestart,proto3,oneof" json:"automatic_restart,omitempty"`
// Optional. Defines whether the instance is preemptible.
Preemptible *bool `protobuf:"varint,3,opt,name=preemptible,proto3,oneof" json:"preemptible,omitempty"`
// Optional. A set of node affinity and anti-affinity configurations.
// Overrides reservationAffinity.
NodeAffinities []*Scheduling_NodeAffinity `protobuf:"bytes,4,rep,name=node_affinities,json=nodeAffinities,proto3" json:"node_affinities,omitempty"`
// Optional. The minimum number of virtual CPUs this instance will consume
// when running on a sole-tenant node.
MinNodeCpus *int32 `protobuf:"varint,5,opt,name=min_node_cpus,json=minNodeCpus,proto3,oneof" json:"min_node_cpus,omitempty"`
// Optional. Specifies the provisioning model of the instance.
ProvisioningModel *Scheduling_ProvisioningModel `protobuf:"varint,6,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.backupdr.v1.Scheduling_ProvisioningModel,oneof" json:"provisioning_model,omitempty"`
// Optional. Specifies the termination action for the instance.
InstanceTerminationAction *Scheduling_InstanceTerminationAction `protobuf:"varint,7,opt,name=instance_termination_action,json=instanceTerminationAction,proto3,enum=google.cloud.backupdr.v1.Scheduling_InstanceTerminationAction,oneof" json:"instance_termination_action,omitempty"`
// Optional. Specifies the maximum amount of time a Local Ssd Vm should wait
// while recovery of the Local Ssd state is attempted. Its value should be in
// between 0 and 168 hours with hour granularity and the default value being 1
// hour.
LocalSsdRecoveryTimeout *SchedulingDuration `protobuf:"bytes,10,opt,name=local_ssd_recovery_timeout,json=localSsdRecoveryTimeout,proto3,oneof" json:"local_ssd_recovery_timeout,omitempty"`
// contains filtered or unexported fields
}Sets the scheduling options for an Instance.
func (*Scheduling) Descriptor
func (*Scheduling) Descriptor() ([]byte, []int)Deprecated: Use Scheduling.ProtoReflect.Descriptor instead.
func (*Scheduling) GetAutomaticRestart
func (x *Scheduling) GetAutomaticRestart() boolfunc (*Scheduling) GetInstanceTerminationAction
func (x *Scheduling) GetInstanceTerminationAction() Scheduling_InstanceTerminationActionfunc (*Scheduling) GetLocalSsdRecoveryTimeout
func (x *Scheduling) GetLocalSsdRecoveryTimeout() *SchedulingDurationfunc (*Scheduling) GetMinNodeCpus
func (x *Scheduling) GetMinNodeCpus() int32func (*Scheduling) GetNodeAffinities
func (x *Scheduling) GetNodeAffinities() []*Scheduling_NodeAffinityfunc (*Scheduling) GetOnHostMaintenance
func (x *Scheduling) GetOnHostMaintenance() Scheduling_OnHostMaintenancefunc (*Scheduling) GetPreemptible
func (x *Scheduling) GetPreemptible() boolfunc (*Scheduling) GetProvisioningModel
func (x *Scheduling) GetProvisioningModel() Scheduling_ProvisioningModelfunc (*Scheduling) ProtoMessage
func (*Scheduling) ProtoMessage()func (*Scheduling) ProtoReflect
func (x *Scheduling) ProtoReflect() protoreflect.Messagefunc (*Scheduling) Reset
func (x *Scheduling) Reset()func (*Scheduling) String
func (x *Scheduling) String() stringSchedulingDuration
type SchedulingDuration struct {
// Optional. Span of time at a resolution of a second.
Seconds *int64 `protobuf:"varint,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"`
// Optional. Span of time that's a fraction of a second at nanosecond
// resolution.
Nanos *int32 `protobuf:"varint,2,opt,name=nanos,proto3,oneof" json:"nanos,omitempty"`
// contains filtered or unexported fields
}A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
func (*SchedulingDuration) Descriptor
func (*SchedulingDuration) Descriptor() ([]byte, []int)Deprecated: Use SchedulingDuration.ProtoReflect.Descriptor instead.
func (*SchedulingDuration) GetNanos
func (x *SchedulingDuration) GetNanos() int32func (*SchedulingDuration) GetSeconds
func (x *SchedulingDuration) GetSeconds() int64func (*SchedulingDuration) ProtoMessage
func (*SchedulingDuration) ProtoMessage()func (*SchedulingDuration) ProtoReflect
func (x *SchedulingDuration) ProtoReflect() protoreflect.Messagefunc (*SchedulingDuration) Reset
func (x *SchedulingDuration) Reset()func (*SchedulingDuration) String
func (x *SchedulingDuration) String() stringScheduling_InstanceTerminationAction
type Scheduling_InstanceTerminationAction int32Defines the supported termination actions for an instance.
Scheduling_INSTANCE_TERMINATION_ACTION_UNSPECIFIED, Scheduling_DELETE, Scheduling_STOP
const (
// Default value. This value is unused.
Scheduling_INSTANCE_TERMINATION_ACTION_UNSPECIFIED Scheduling_InstanceTerminationAction = 0
// Delete the VM.
Scheduling_DELETE Scheduling_InstanceTerminationAction = 1
// Stop the VM without storing in-memory content. default action.
Scheduling_STOP Scheduling_InstanceTerminationAction = 2
)func (Scheduling_InstanceTerminationAction) Descriptor
func (Scheduling_InstanceTerminationAction) Descriptor() protoreflect.EnumDescriptorfunc (Scheduling_InstanceTerminationAction) Enum
func (x Scheduling_InstanceTerminationAction) Enum() *Scheduling_InstanceTerminationActionfunc (Scheduling_InstanceTerminationAction) EnumDescriptor
func (Scheduling_InstanceTerminationAction) EnumDescriptor() ([]byte, []int)Deprecated: Use Scheduling_InstanceTerminationAction.Descriptor instead.
func (Scheduling_InstanceTerminationAction) Number
func (x Scheduling_InstanceTerminationAction) Number() protoreflect.EnumNumberfunc (Scheduling_InstanceTerminationAction) String
func (x Scheduling_InstanceTerminationAction) String() stringfunc (Scheduling_InstanceTerminationAction) Type
func (Scheduling_InstanceTerminationAction) Type() protoreflect.EnumTypeScheduling_NodeAffinity
type Scheduling_NodeAffinity struct {
// Optional. Corresponds to the label key of Node resource.
Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Defines the operation of node selection.
Operator *Scheduling_NodeAffinity_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=google.cloud.backupdr.v1.Scheduling_NodeAffinity_Operator,oneof" json:"operator,omitempty"`
// Optional. Corresponds to the label values of Node resource.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
func (*Scheduling_NodeAffinity) Descriptor
func (*Scheduling_NodeAffinity) Descriptor() ([]byte, []int)Deprecated: Use Scheduling_NodeAffinity.ProtoReflect.Descriptor instead.
func (*Scheduling_NodeAffinity) GetKey
func (x *Scheduling_NodeAffinity) GetKey() stringfunc (*Scheduling_NodeAffinity) GetOperator
func (x *Scheduling_NodeAffinity) GetOperator() Scheduling_NodeAffinity_Operatorfunc (*Scheduling_NodeAffinity) GetValues
func (x *Scheduling_NodeAffinity) GetValues() []stringfunc (*Scheduling_NodeAffinity) ProtoMessage
func (*Scheduling_NodeAffinity) ProtoMessage()func (*Scheduling_NodeAffinity) ProtoReflect
func (x *Scheduling_NodeAffinity) ProtoReflect() protoreflect.Messagefunc (*Scheduling_NodeAffinity) Reset
func (x *Scheduling_NodeAffinity) Reset()func (*Scheduling_NodeAffinity) String
func (x *Scheduling_NodeAffinity) String() stringScheduling_NodeAffinity_Operator
type Scheduling_NodeAffinity_Operator int32Defines the type of node selections.
Scheduling_NodeAffinity_OPERATOR_UNSPECIFIED, Scheduling_NodeAffinity_IN, Scheduling_NodeAffinity_NOT_IN
const (
// Default value. This value is unused.
Scheduling_NodeAffinity_OPERATOR_UNSPECIFIED Scheduling_NodeAffinity_Operator = 0
// Requires Compute Engine to seek for matched nodes.
Scheduling_NodeAffinity_IN Scheduling_NodeAffinity_Operator = 1
// Requires Compute Engine to avoid certain nodes.
Scheduling_NodeAffinity_NOT_IN Scheduling_NodeAffinity_Operator = 2
)func (Scheduling_NodeAffinity_Operator) Descriptor
func (Scheduling_NodeAffinity_Operator) Descriptor() protoreflect.EnumDescriptorfunc (Scheduling_NodeAffinity_Operator) Enum
func (x Scheduling_NodeAffinity_Operator) Enum() *Scheduling_NodeAffinity_Operatorfunc (Scheduling_NodeAffinity_Operator) EnumDescriptor
func (Scheduling_NodeAffinity_Operator) EnumDescriptor() ([]byte, []int)Deprecated: Use Scheduling_NodeAffinity_Operator.Descriptor instead.
func (Scheduling_NodeAffinity_Operator) Number
func (x Scheduling_NodeAffinity_Operator) Number() protoreflect.EnumNumberfunc (Scheduling_NodeAffinity_Operator) String
func (x Scheduling_NodeAffinity_Operator) String() stringfunc (Scheduling_NodeAffinity_Operator) Type
func (Scheduling_NodeAffinity_Operator) Type() protoreflect.EnumTypeScheduling_OnHostMaintenance
type Scheduling_OnHostMaintenance int32Defines the maintenance behavior for this instance=
Scheduling_ON_HOST_MAINTENANCE_UNSPECIFIED, Scheduling_TERMINATE, Scheduling_MIGRATE
const (
// Default value. This value is unused.
Scheduling_ON_HOST_MAINTENANCE_UNSPECIFIED Scheduling_OnHostMaintenance = 0
// Tells Compute Engine to terminate and (optionally) restart the instance
// away from the maintenance activity.
Scheduling_TERMINATE Scheduling_OnHostMaintenance = 1
// Default, Allows Compute Engine to automatically migrate instances
// out of the way of maintenance events.
Scheduling_MIGRATE Scheduling_OnHostMaintenance = 1000
)func (Scheduling_OnHostMaintenance) Descriptor
func (Scheduling_OnHostMaintenance) Descriptor() protoreflect.EnumDescriptorfunc (Scheduling_OnHostMaintenance) Enum
func (x Scheduling_OnHostMaintenance) Enum() *Scheduling_OnHostMaintenancefunc (Scheduling_OnHostMaintenance) EnumDescriptor
func (Scheduling_OnHostMaintenance) EnumDescriptor() ([]byte, []int)Deprecated: Use Scheduling_OnHostMaintenance.Descriptor instead.
func (Scheduling_OnHostMaintenance) Number
func (x Scheduling_OnHostMaintenance) Number() protoreflect.EnumNumberfunc (Scheduling_OnHostMaintenance) String
func (x Scheduling_OnHostMaintenance) String() stringfunc (Scheduling_OnHostMaintenance) Type
func (Scheduling_OnHostMaintenance) Type() protoreflect.EnumTypeScheduling_ProvisioningModel
type Scheduling_ProvisioningModel int32Defines the provisioning model for an instance.
Scheduling_PROVISIONING_MODEL_UNSPECIFIED, Scheduling_STANDARD, Scheduling_SPOT
const (
// Default value. This value is not used.
Scheduling_PROVISIONING_MODEL_UNSPECIFIED Scheduling_ProvisioningModel = 0
// Standard provisioning with user controlled runtime, no discounts.
Scheduling_STANDARD Scheduling_ProvisioningModel = 1
// Heavily discounted, no guaranteed runtime.
Scheduling_SPOT Scheduling_ProvisioningModel = 2
)func (Scheduling_ProvisioningModel) Descriptor
func (Scheduling_ProvisioningModel) Descriptor() protoreflect.EnumDescriptorfunc (Scheduling_ProvisioningModel) Enum
func (x Scheduling_ProvisioningModel) Enum() *Scheduling_ProvisioningModelfunc (Scheduling_ProvisioningModel) EnumDescriptor
func (Scheduling_ProvisioningModel) EnumDescriptor() ([]byte, []int)Deprecated: Use Scheduling_ProvisioningModel.Descriptor instead.
func (Scheduling_ProvisioningModel) Number
func (x Scheduling_ProvisioningModel) Number() protoreflect.EnumNumberfunc (Scheduling_ProvisioningModel) String
func (x Scheduling_ProvisioningModel) String() stringfunc (Scheduling_ProvisioningModel) Type
func (Scheduling_ProvisioningModel) Type() protoreflect.EnumTypeServiceAccount
type ServiceAccount struct {
// Optional. Email address of the service account.
Email *string `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
// Optional. The list of scopes to be made available for this service account.
Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}A service account.
func (*ServiceAccount) Descriptor
func (*ServiceAccount) Descriptor() ([]byte, []int)Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.
func (*ServiceAccount) GetEmail
func (x *ServiceAccount) GetEmail() stringfunc (*ServiceAccount) GetScopes
func (x *ServiceAccount) GetScopes() []stringfunc (*ServiceAccount) ProtoMessage
func (*ServiceAccount) ProtoMessage()func (*ServiceAccount) ProtoReflect
func (x *ServiceAccount) ProtoReflect() protoreflect.Messagefunc (*ServiceAccount) Reset
func (x *ServiceAccount) Reset()func (*ServiceAccount) String
func (x *ServiceAccount) String() stringServiceLockInfo
type ServiceLockInfo struct {
// Output only. The name of the operation that created this lock.
// The lock will automatically be released when the operation completes.
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
// contains filtered or unexported fields
}ServiceLockInfo represents the details of a lock taken by the service on a Backup resource.
func (*ServiceLockInfo) Descriptor
func (*ServiceLockInfo) Descriptor() ([]byte, []int)Deprecated: Use ServiceLockInfo.ProtoReflect.Descriptor instead.
func (*ServiceLockInfo) GetOperation
func (x *ServiceLockInfo) GetOperation() stringfunc (*ServiceLockInfo) ProtoMessage
func (*ServiceLockInfo) ProtoMessage()func (*ServiceLockInfo) ProtoReflect
func (x *ServiceLockInfo) ProtoReflect() protoreflect.Messagefunc (*ServiceLockInfo) Reset
func (x *ServiceLockInfo) Reset()func (*ServiceLockInfo) String
func (x *ServiceLockInfo) String() stringStandardSchedule
type StandardSchedule struct {
// Required. Specifies the `RecurrenceType` for the schedule.
RecurrenceType StandardSchedule_RecurrenceType `protobuf:"varint,1,opt,name=recurrence_type,json=recurrenceType,proto3,enum=google.cloud.backupdr.v1.StandardSchedule_RecurrenceType" json:"recurrence_type,omitempty"`
// Optional. Specifies frequency for hourly backups. A hourly frequency of 2
// means jobs will run every 2 hours from start time till end time defined.
//
// This is required for `recurrence_type`, `HOURLY` and is not applicable
// otherwise. A validation error will occur if a value is supplied and
// `recurrence_type` is not `HOURLY`.
//
// Value of hourly frequency should be between 4 and 23.
//
// Reason for limit : We found that there is bandwidth limitation of 3GB/S for
// GMI while taking a backup and 5GB/S while doing a restore. Given the amount
// of parallel backups and restore we are targeting, this will potentially
// take the backup time to mins and hours (in worst case scenario).
HourlyFrequency int32 `protobuf:"varint,2,opt,name=hourly_frequency,json=hourlyFrequency,proto3" json:"hourly_frequency,omitempty"`
// Optional. Specifies days of week like, MONDAY or TUESDAY, on which jobs
// will run.
//
// This is required for `recurrence_type`, `WEEKLY` and is not applicable
// otherwise. A validation error will occur if a value is supplied and
// `recurrence_type` is not `WEEKLY`.
DaysOfWeek []dayofweek.DayOfWeek `protobuf:"varint,3,rep,packed,name=days_of_week,json=daysOfWeek,proto3,enum=google.type.DayOfWeek" json:"days_of_week,omitempty"`
// Optional. Specifies days of months like 1, 5, or 14 on which jobs will run.
//
// Values for `days_of_month` are only applicable for `recurrence_type`,
// `MONTHLY` and `YEARLY`. A validation error will occur if other values are
// supplied.
DaysOfMonth []int32 `protobuf:"varint,4,rep,packed,name=days_of_month,json=daysOfMonth,proto3" json:"days_of_month,omitempty"`
// Optional. Specifies a week day of the month like, FIRST SUNDAY or LAST
// MONDAY, on which jobs will run. This will be specified by two fields in
// `WeekDayOfMonth`, one for the day, e.g. `MONDAY`, and one for the week,
// e.g. `LAST`.
//
// This field is only applicable for `recurrence_type`, `MONTHLY` and
// `YEARLY`. A validation error will occur if other values are supplied.
WeekDayOfMonth *WeekDayOfMonth `protobuf:"bytes,5,opt,name=week_day_of_month,json=weekDayOfMonth,proto3" json:"week_day_of_month,omitempty"`
// Optional. Specifies the months of year, like `FEBRUARY` and/or `MAY`, on
// which jobs will run.
//
// This field is only applicable when `recurrence_type` is `YEARLY`. A
// validation error will occur if other values are supplied.
Months []month.Month `protobuf:"varint,6,rep,packed,name=months,proto3,enum=google.type.Month" json:"months,omitempty"`
// Required. A BackupWindow defines the window of day during which backup jobs
// will run. Jobs are queued at the beginning of the window and will be marked
// as `NOT_RUN` if they do not start by the end of the window.
//
// Note: running jobs will not be cancelled at the end of the window.
BackupWindow *BackupWindow `protobuf:"bytes,7,opt,name=backup_window,json=backupWindow,proto3" json:"backup_window,omitempty"`
// Required. The time zone to be used when interpreting the schedule.
// The value of this field must be a time zone name from the IANA tz database.
// See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the
// list of valid timezone names. For e.g., Europe/Paris.
TimeZone string `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// contains filtered or unexported fields
}StandardSchedule defines a schedule that run within the confines of a
defined window of days. We can define recurrence type for schedule as
HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY.
func (*StandardSchedule) Descriptor
func (*StandardSchedule) Descriptor() ([]byte, []int)Deprecated: Use StandardSchedule.ProtoReflect.Descriptor instead.
func (*StandardSchedule) GetBackupWindow
func (x *StandardSchedule) GetBackupWindow() *BackupWindowfunc (*StandardSchedule) GetDaysOfMonth
func (x *StandardSchedule) GetDaysOfMonth() []int32func (*StandardSchedule) GetDaysOfWeek
func (x *StandardSchedule) GetDaysOfWeek() []dayofweek.DayOfWeekfunc (*StandardSchedule) GetHourlyFrequency
func (x *StandardSchedule) GetHourlyFrequency() int32func (*StandardSchedule) GetMonths
func (x *StandardSchedule) GetMonths() []month.Monthfunc (*StandardSchedule) GetRecurrenceType
func (x *StandardSchedule) GetRecurrenceType() StandardSchedule_RecurrenceTypefunc (*StandardSchedule) GetTimeZone
func (x *StandardSchedule) GetTimeZone() stringfunc (*StandardSchedule) GetWeekDayOfMonth
func (x *StandardSchedule) GetWeekDayOfMonth() *WeekDayOfMonthfunc (*StandardSchedule) ProtoMessage
func (*StandardSchedule) ProtoMessage()func (*StandardSchedule) ProtoReflect
func (x *StandardSchedule) ProtoReflect() protoreflect.Messagefunc (*StandardSchedule) Reset
func (x *StandardSchedule) Reset()func (*StandardSchedule) String
func (x *StandardSchedule) String() stringStandardSchedule_RecurrenceType
type StandardSchedule_RecurrenceType int32RecurrenceTypes enumerates the applicable periodicity for the schedule.
StandardSchedule_RECURRENCE_TYPE_UNSPECIFIED, StandardSchedule_HOURLY, StandardSchedule_DAILY, StandardSchedule_WEEKLY, StandardSchedule_MONTHLY, StandardSchedule_YEARLY
const (
// recurrence type not set
StandardSchedule_RECURRENCE_TYPE_UNSPECIFIED StandardSchedule_RecurrenceType = 0
// The `BackupRule` is to be applied hourly.
StandardSchedule_HOURLY StandardSchedule_RecurrenceType = 1
// The `BackupRule` is to be applied daily.
StandardSchedule_DAILY StandardSchedule_RecurrenceType = 2
// The `BackupRule` is to be applied weekly.
StandardSchedule_WEEKLY StandardSchedule_RecurrenceType = 3
// The `BackupRule` is to be applied monthly.
StandardSchedule_MONTHLY StandardSchedule_RecurrenceType = 4
// The `BackupRule` is to be applied yearly.
StandardSchedule_YEARLY StandardSchedule_RecurrenceType = 5
)func (StandardSchedule_RecurrenceType) Descriptor
func (StandardSchedule_RecurrenceType) Descriptor() protoreflect.EnumDescriptorfunc (StandardSchedule_RecurrenceType) Enum
func (x StandardSchedule_RecurrenceType) Enum() *StandardSchedule_RecurrenceTypefunc (StandardSchedule_RecurrenceType) EnumDescriptor
func (StandardSchedule_RecurrenceType) EnumDescriptor() ([]byte, []int)Deprecated: Use StandardSchedule_RecurrenceType.Descriptor instead.
func (StandardSchedule_RecurrenceType) Number
func (x StandardSchedule_RecurrenceType) Number() protoreflect.EnumNumberfunc (StandardSchedule_RecurrenceType) String
func (x StandardSchedule_RecurrenceType) String() stringfunc (StandardSchedule_RecurrenceType) Type
func (StandardSchedule_RecurrenceType) Type() protoreflect.EnumTypeTags
type Tags struct {
// Optional. An array of tags. Each tag must be 1-63 characters long, and
// comply with RFC1035.
Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}A set of instance tags.
func (*Tags) Descriptor
Deprecated: Use Tags.ProtoReflect.Descriptor instead.
func (*Tags) GetItems
func (*Tags) ProtoMessage
func (*Tags) ProtoMessage()func (*Tags) ProtoReflect
func (x *Tags) ProtoReflect() protoreflect.Messagefunc (*Tags) Reset
func (x *Tags) Reset()func (*Tags) String
TargetResource
type TargetResource struct {
// Minimum details to identify the restored resource.
//
// Types that are assignable to TargetResourceInfo:
//
// *TargetResource_GcpResource
TargetResourceInfo isTargetResource_TargetResourceInfo `protobuf_oneof:"target_resource_info"`
// contains filtered or unexported fields
}Details of the target resource created/modified as part of restore.
func (*TargetResource) Descriptor
func (*TargetResource) Descriptor() ([]byte, []int)Deprecated: Use TargetResource.ProtoReflect.Descriptor instead.
func (*TargetResource) GetGcpResource
func (x *TargetResource) GetGcpResource() *GcpResourcefunc (*TargetResource) GetTargetResourceInfo
func (m *TargetResource) GetTargetResourceInfo() isTargetResource_TargetResourceInfofunc (*TargetResource) ProtoMessage
func (*TargetResource) ProtoMessage()func (*TargetResource) ProtoReflect
func (x *TargetResource) ProtoReflect() protoreflect.Messagefunc (*TargetResource) Reset
func (x *TargetResource) Reset()func (*TargetResource) String
func (x *TargetResource) String() stringTargetResource_GcpResource
type TargetResource_GcpResource struct {
// Details of the native Google Cloud resource created as part of restore.
GcpResource *GcpResource `protobuf:"bytes,1,opt,name=gcp_resource,json=gcpResource,proto3,oneof"`
}TriggerBackupRequest
type TriggerBackupRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. backup rule_id for which a backup needs to be triggered.
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for triggering a backup.
func (*TriggerBackupRequest) Descriptor
func (*TriggerBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use TriggerBackupRequest.ProtoReflect.Descriptor instead.
func (*TriggerBackupRequest) GetName
func (x *TriggerBackupRequest) GetName() stringfunc (*TriggerBackupRequest) GetRequestId
func (x *TriggerBackupRequest) GetRequestId() stringfunc (*TriggerBackupRequest) GetRuleId
func (x *TriggerBackupRequest) GetRuleId() stringfunc (*TriggerBackupRequest) ProtoMessage
func (*TriggerBackupRequest) ProtoMessage()func (*TriggerBackupRequest) ProtoReflect
func (x *TriggerBackupRequest) ProtoReflect() protoreflect.Messagefunc (*TriggerBackupRequest) Reset
func (x *TriggerBackupRequest) Reset()func (*TriggerBackupRequest) String
func (x *TriggerBackupRequest) String() stringUnimplementedBackupDRServer
type UnimplementedBackupDRServer struct {
}UnimplementedBackupDRServer should be embedded to have forward compatible implementations.
func (UnimplementedBackupDRServer) CreateBackupPlan
func (UnimplementedBackupDRServer) CreateBackupPlan(context.Context, *CreateBackupPlanRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) CreateBackupPlanAssociation
func (UnimplementedBackupDRServer) CreateBackupPlanAssociation(context.Context, *CreateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) CreateBackupVault
func (UnimplementedBackupDRServer) CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) CreateManagementServer
func (UnimplementedBackupDRServer) CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) DeleteBackup
func (UnimplementedBackupDRServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) DeleteBackupPlan
func (UnimplementedBackupDRServer) DeleteBackupPlan(context.Context, *DeleteBackupPlanRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) DeleteBackupPlanAssociation
func (UnimplementedBackupDRServer) DeleteBackupPlanAssociation(context.Context, *DeleteBackupPlanAssociationRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) DeleteBackupVault
func (UnimplementedBackupDRServer) DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) DeleteManagementServer
func (UnimplementedBackupDRServer) DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) FetchBackupPlanAssociationsForResourceType
func (UnimplementedBackupDRServer) FetchBackupPlanAssociationsForResourceType(context.Context, *FetchBackupPlanAssociationsForResourceTypeRequest) (*FetchBackupPlanAssociationsForResourceTypeResponse, error)func (UnimplementedBackupDRServer) FetchDataSourceReferencesForResourceType
func (UnimplementedBackupDRServer) FetchDataSourceReferencesForResourceType(context.Context, *FetchDataSourceReferencesForResourceTypeRequest) (*FetchDataSourceReferencesForResourceTypeResponse, error)func (UnimplementedBackupDRServer) FetchUsableBackupVaults
func (UnimplementedBackupDRServer) FetchUsableBackupVaults(context.Context, *FetchUsableBackupVaultsRequest) (*FetchUsableBackupVaultsResponse, error)func (UnimplementedBackupDRServer) GetBackup
func (UnimplementedBackupDRServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)func (UnimplementedBackupDRServer) GetBackupPlan
func (UnimplementedBackupDRServer) GetBackupPlan(context.Context, *GetBackupPlanRequest) (*BackupPlan, error)func (UnimplementedBackupDRServer) GetBackupPlanAssociation
func (UnimplementedBackupDRServer) GetBackupPlanAssociation(context.Context, *GetBackupPlanAssociationRequest) (*BackupPlanAssociation, error)func (UnimplementedBackupDRServer) GetBackupPlanRevision
func (UnimplementedBackupDRServer) GetBackupPlanRevision(context.Context, *GetBackupPlanRevisionRequest) (*BackupPlanRevision, error)func (UnimplementedBackupDRServer) GetBackupVault
func (UnimplementedBackupDRServer) GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)func (UnimplementedBackupDRServer) GetDataSource
func (UnimplementedBackupDRServer) GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)func (UnimplementedBackupDRServer) GetDataSourceReference
func (UnimplementedBackupDRServer) GetDataSourceReference(context.Context, *GetDataSourceReferenceRequest) (*DataSourceReference, error)func (UnimplementedBackupDRServer) GetManagementServer
func (UnimplementedBackupDRServer) GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)func (UnimplementedBackupDRServer) InitializeService
func (UnimplementedBackupDRServer) InitializeService(context.Context, *InitializeServiceRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) ListBackupPlanAssociations
func (UnimplementedBackupDRServer) ListBackupPlanAssociations(context.Context, *ListBackupPlanAssociationsRequest) (*ListBackupPlanAssociationsResponse, error)func (UnimplementedBackupDRServer) ListBackupPlanRevisions
func (UnimplementedBackupDRServer) ListBackupPlanRevisions(context.Context, *ListBackupPlanRevisionsRequest) (*ListBackupPlanRevisionsResponse, error)func (UnimplementedBackupDRServer) ListBackupPlans
func (UnimplementedBackupDRServer) ListBackupPlans(context.Context, *ListBackupPlansRequest) (*ListBackupPlansResponse, error)func (UnimplementedBackupDRServer) ListBackupVaults
func (UnimplementedBackupDRServer) ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)func (UnimplementedBackupDRServer) ListBackups
func (UnimplementedBackupDRServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)func (UnimplementedBackupDRServer) ListDataSources
func (UnimplementedBackupDRServer) ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)func (UnimplementedBackupDRServer) ListManagementServers
func (UnimplementedBackupDRServer) ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)func (UnimplementedBackupDRServer) RestoreBackup
func (UnimplementedBackupDRServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) TriggerBackup
func (UnimplementedBackupDRServer) TriggerBackup(context.Context, *TriggerBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) UpdateBackup
func (UnimplementedBackupDRServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) UpdateBackupPlan
func (UnimplementedBackupDRServer) UpdateBackupPlan(context.Context, *UpdateBackupPlanRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) UpdateBackupPlanAssociation
func (UnimplementedBackupDRServer) UpdateBackupPlanAssociation(context.Context, *UpdateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) UpdateBackupVault
func (UnimplementedBackupDRServer) UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)func (UnimplementedBackupDRServer) UpdateDataSource
func (UnimplementedBackupDRServer) UpdateDataSource(context.Context, *UpdateDataSourceRequest) (*longrunningpb.Operation, error)UnsafeBackupDRServer
type UnsafeBackupDRServer interface {
// contains filtered or unexported methods
}UnsafeBackupDRServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupDRServer will result in compilation errors.
UpdateBackupPlanAssociationRequest
type UpdateBackupPlanAssociationRequest struct {
// Required. The resource being updated
BackupPlanAssociation *BackupPlanAssociation `protobuf:"bytes,1,opt,name=backup_plan_association,json=backupPlanAssociation,proto3" json:"backup_plan_association,omitempty"`
// Required. The list of fields to update.
// Field mask is used to specify the fields to be overwritten in the
// BackupPlanAssociation resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
// Currently backup_plan_association.backup_plan is the only supported field.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for updating a backup plan association.
func (*UpdateBackupPlanAssociationRequest) Descriptor
func (*UpdateBackupPlanAssociationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupPlanAssociationRequest) GetBackupPlanAssociation
func (x *UpdateBackupPlanAssociationRequest) GetBackupPlanAssociation() *BackupPlanAssociationfunc (*UpdateBackupPlanAssociationRequest) GetRequestId
func (x *UpdateBackupPlanAssociationRequest) GetRequestId() stringfunc (*UpdateBackupPlanAssociationRequest) GetUpdateMask
func (x *UpdateBackupPlanAssociationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupPlanAssociationRequest) ProtoMessage
func (*UpdateBackupPlanAssociationRequest) ProtoMessage()func (*UpdateBackupPlanAssociationRequest) ProtoReflect
func (x *UpdateBackupPlanAssociationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupPlanAssociationRequest) Reset
func (x *UpdateBackupPlanAssociationRequest) Reset()func (*UpdateBackupPlanAssociationRequest) String
func (x *UpdateBackupPlanAssociationRequest) String() stringUpdateBackupPlanRequest
type UpdateBackupPlanRequest struct {
// Required. The resource being updated
BackupPlan *BackupPlan `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// Required. The list of fields to update.
// Field mask is used to specify the fields to be overwritten in the
// BackupPlan resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
// Currently, these fields are supported in update: description, schedules,
// retention period, adding and removing Backup Rules.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for updating a backup plan.
func (*UpdateBackupPlanRequest) Descriptor
func (*UpdateBackupPlanRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupPlanRequest) GetBackupPlan
func (x *UpdateBackupPlanRequest) GetBackupPlan() *BackupPlanfunc (*UpdateBackupPlanRequest) GetRequestId
func (x *UpdateBackupPlanRequest) GetRequestId() stringfunc (*UpdateBackupPlanRequest) GetUpdateMask
func (x *UpdateBackupPlanRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupPlanRequest) ProtoMessage
func (*UpdateBackupPlanRequest) ProtoMessage()func (*UpdateBackupPlanRequest) ProtoReflect
func (x *UpdateBackupPlanRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupPlanRequest) Reset
func (x *UpdateBackupPlanRequest) Reset()func (*UpdateBackupPlanRequest) String
func (x *UpdateBackupPlanRequest) String() stringUpdateBackupRequest
type UpdateBackupRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Backup resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for updating a Backup.
func (*UpdateBackupRequest) Descriptor
func (*UpdateBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupRequest) GetBackup
func (x *UpdateBackupRequest) GetBackup() *Backupfunc (*UpdateBackupRequest) GetRequestId
func (x *UpdateBackupRequest) GetRequestId() stringfunc (*UpdateBackupRequest) GetUpdateMask
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupRequest) ProtoMessage
func (*UpdateBackupRequest) ProtoMessage()func (*UpdateBackupRequest) ProtoReflect
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupRequest) Reset
func (x *UpdateBackupRequest) Reset()func (*UpdateBackupRequest) String
func (x *UpdateBackupRequest) String() stringUpdateBackupVaultRequest
type UpdateBackupVaultRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// BackupVault resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
BackupVault *BackupVault `protobuf:"bytes,2,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the request, but do not perform mutations.
// The default is 'false'.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set to true, will not check plan duration against backup vault
// enforcement duration.
Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
// Optional. If set to true, we will force update access restriction even if
// some non compliant data sources are present. The default is 'false'.
ForceUpdateAccessRestriction bool `protobuf:"varint,6,opt,name=force_update_access_restriction,json=forceUpdateAccessRestriction,proto3" json:"force_update_access_restriction,omitempty"`
// contains filtered or unexported fields
}Request message for updating a BackupVault.
func (*UpdateBackupVaultRequest) Descriptor
func (*UpdateBackupVaultRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupVaultRequest) GetBackupVault
func (x *UpdateBackupVaultRequest) GetBackupVault() *BackupVaultfunc (*UpdateBackupVaultRequest) GetForce
func (x *UpdateBackupVaultRequest) GetForce() boolfunc (*UpdateBackupVaultRequest) GetForceUpdateAccessRestriction
func (x *UpdateBackupVaultRequest) GetForceUpdateAccessRestriction() boolfunc (*UpdateBackupVaultRequest) GetRequestId
func (x *UpdateBackupVaultRequest) GetRequestId() stringfunc (*UpdateBackupVaultRequest) GetUpdateMask
func (x *UpdateBackupVaultRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupVaultRequest) GetValidateOnly
func (x *UpdateBackupVaultRequest) GetValidateOnly() boolfunc (*UpdateBackupVaultRequest) ProtoMessage
func (*UpdateBackupVaultRequest) ProtoMessage()func (*UpdateBackupVaultRequest) ProtoReflect
func (x *UpdateBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupVaultRequest) Reset
func (x *UpdateBackupVaultRequest) Reset()func (*UpdateBackupVaultRequest) String
func (x *UpdateBackupVaultRequest) String() stringUpdateDataSourceRequest
type UpdateDataSourceRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// DataSource resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
DataSource *DataSource `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Enable upsert.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}Request message for updating a data source instance.
func (*UpdateDataSourceRequest) Descriptor
func (*UpdateDataSourceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDataSourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataSourceRequest) GetAllowMissing
func (x *UpdateDataSourceRequest) GetAllowMissing() boolfunc (*UpdateDataSourceRequest) GetDataSource
func (x *UpdateDataSourceRequest) GetDataSource() *DataSourcefunc (*UpdateDataSourceRequest) GetRequestId
func (x *UpdateDataSourceRequest) GetRequestId() stringfunc (*UpdateDataSourceRequest) GetUpdateMask
func (x *UpdateDataSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDataSourceRequest) ProtoMessage
func (*UpdateDataSourceRequest) ProtoMessage()func (*UpdateDataSourceRequest) ProtoReflect
func (x *UpdateDataSourceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDataSourceRequest) Reset
func (x *UpdateDataSourceRequest) Reset()func (*UpdateDataSourceRequest) String
func (x *UpdateDataSourceRequest) String() stringWeekDayOfMonth
type WeekDayOfMonth struct {
// Required. Specifies the week of the month.
WeekOfMonth WeekDayOfMonth_WeekOfMonth `protobuf:"varint,1,opt,name=week_of_month,json=weekOfMonth,proto3,enum=google.cloud.backupdr.v1.WeekDayOfMonth_WeekOfMonth" json:"week_of_month,omitempty"`
// Required. Specifies the day of the week.
DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
// contains filtered or unexported fields
}WeekDayOfMonth defines the week day of the month on which the backups will
run. The message combines a WeekOfMonth and DayOfWeek to produce values
like FIRST/MONDAY or LAST/FRIDAY.
func (*WeekDayOfMonth) Descriptor
func (*WeekDayOfMonth) Descriptor() ([]byte, []int)Deprecated: Use WeekDayOfMonth.ProtoReflect.Descriptor instead.
func (*WeekDayOfMonth) GetDayOfWeek
func (x *WeekDayOfMonth) GetDayOfWeek() dayofweek.DayOfWeekfunc (*WeekDayOfMonth) GetWeekOfMonth
func (x *WeekDayOfMonth) GetWeekOfMonth() WeekDayOfMonth_WeekOfMonthfunc (*WeekDayOfMonth) ProtoMessage
func (*WeekDayOfMonth) ProtoMessage()func (*WeekDayOfMonth) ProtoReflect
func (x *WeekDayOfMonth) ProtoReflect() protoreflect.Messagefunc (*WeekDayOfMonth) Reset
func (x *WeekDayOfMonth) Reset()func (*WeekDayOfMonth) String
func (x *WeekDayOfMonth) String() stringWeekDayOfMonth_WeekOfMonth
type WeekDayOfMonth_WeekOfMonth int32WeekOfMonth enumerates possible weeks in the month, e.g. the first,
third, or last week of the month.
WeekDayOfMonth_WEEK_OF_MONTH_UNSPECIFIED, WeekDayOfMonth_FIRST, WeekDayOfMonth_SECOND, WeekDayOfMonth_THIRD, WeekDayOfMonth_FOURTH, WeekDayOfMonth_LAST
const (
// The zero value. Do not use.
WeekDayOfMonth_WEEK_OF_MONTH_UNSPECIFIED WeekDayOfMonth_WeekOfMonth = 0
// The first week of the month.
WeekDayOfMonth_FIRST WeekDayOfMonth_WeekOfMonth = 1
// The second week of the month.
WeekDayOfMonth_SECOND WeekDayOfMonth_WeekOfMonth = 2
// The third week of the month.
WeekDayOfMonth_THIRD WeekDayOfMonth_WeekOfMonth = 3
// The fourth week of the month.
WeekDayOfMonth_FOURTH WeekDayOfMonth_WeekOfMonth = 4
// The last week of the month.
WeekDayOfMonth_LAST WeekDayOfMonth_WeekOfMonth = 5
)func (WeekDayOfMonth_WeekOfMonth) Descriptor
func (WeekDayOfMonth_WeekOfMonth) Descriptor() protoreflect.EnumDescriptorfunc (WeekDayOfMonth_WeekOfMonth) Enum
func (x WeekDayOfMonth_WeekOfMonth) Enum() *WeekDayOfMonth_WeekOfMonthfunc (WeekDayOfMonth_WeekOfMonth) EnumDescriptor
func (WeekDayOfMonth_WeekOfMonth) EnumDescriptor() ([]byte, []int)Deprecated: Use WeekDayOfMonth_WeekOfMonth.Descriptor instead.
func (WeekDayOfMonth_WeekOfMonth) Number
func (x WeekDayOfMonth_WeekOfMonth) Number() protoreflect.EnumNumberfunc (WeekDayOfMonth_WeekOfMonth) String
func (x WeekDayOfMonth_WeekOfMonth) String() stringfunc (WeekDayOfMonth_WeekOfMonth) Type
func (WeekDayOfMonth_WeekOfMonth) Type() protoreflect.EnumTypeWorkforceIdentityBasedManagementURI
type WorkforceIdentityBasedManagementURI struct {
// Output only. First party Management URI for Google Identities.
FirstPartyManagementUri string `protobuf:"bytes,1,opt,name=first_party_management_uri,json=firstPartyManagementUri,proto3" json:"first_party_management_uri,omitempty"`
// Output only. Third party Management URI for External Identity Providers.
ThirdPartyManagementUri string `protobuf:"bytes,2,opt,name=third_party_management_uri,json=thirdPartyManagementUri,proto3" json:"third_party_management_uri,omitempty"`
// contains filtered or unexported fields
}ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
func (*WorkforceIdentityBasedManagementURI) Descriptor
func (*WorkforceIdentityBasedManagementURI) Descriptor() ([]byte, []int)Deprecated: Use WorkforceIdentityBasedManagementURI.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri
func (x *WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri() stringfunc (*WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri
func (x *WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri() stringfunc (*WorkforceIdentityBasedManagementURI) ProtoMessage
func (*WorkforceIdentityBasedManagementURI) ProtoMessage()func (*WorkforceIdentityBasedManagementURI) ProtoReflect
func (x *WorkforceIdentityBasedManagementURI) ProtoReflect() protoreflect.Messagefunc (*WorkforceIdentityBasedManagementURI) Reset
func (x *WorkforceIdentityBasedManagementURI) Reset()func (*WorkforceIdentityBasedManagementURI) String
func (x *WorkforceIdentityBasedManagementURI) String() stringWorkforceIdentityBasedOAuth2ClientID
type WorkforceIdentityBasedOAuth2ClientID struct {
// Output only. First party OAuth Client ID for Google Identities.
FirstPartyOauth2ClientId string `protobuf:"bytes,1,opt,name=first_party_oauth2_client_id,json=firstPartyOauth2ClientId,proto3" json:"first_party_oauth2_client_id,omitempty"`
// Output only. Third party OAuth Client ID for External Identity Providers.
ThirdPartyOauth2ClientId string `protobuf:"bytes,2,opt,name=third_party_oauth2_client_id,json=thirdPartyOauth2ClientId,proto3" json:"third_party_oauth2_client_id,omitempty"`
// contains filtered or unexported fields
}OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor() ([]byte, []int)Deprecated: Use WorkforceIdentityBasedOAuth2ClientID.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId
func (x *WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId() stringfunc (*WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId
func (x *WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId() stringfunc (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage()func (*WorkforceIdentityBasedOAuth2ClientID) ProtoReflect
func (x *WorkforceIdentityBasedOAuth2ClientID) ProtoReflect() protoreflect.Messagefunc (*WorkforceIdentityBasedOAuth2ClientID) Reset
func (x *WorkforceIdentityBasedOAuth2ClientID) Reset()func (*WorkforceIdentityBasedOAuth2ClientID) String
func (x *WorkforceIdentityBasedOAuth2ClientID) String() string