Package cloud.google.com/go/backupdr/apiv1/backupdrpb (v1.3.0)

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",
	}
	BackupPlan_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"INACTIVE":          4,
	}
)

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.

BackupPlanAssociation_State_name, BackupPlanAssociation_State_value

var (
	BackupPlanAssociation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "INACTIVE",
	}
	BackupPlanAssociation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"INACTIVE":          4,
	}
)

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",
	}
	BackupVault_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"ERROR":             4,
	}
)

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",
	}
	Backup_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"ERROR":             4,
	}
)

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",
	}
	Backup_BackupType_value = map[string]int32{
		"BACKUP_TYPE_UNSPECIFIED": 0,
		"SCHEDULED":               1,
		"ON_DEMAND":               2,
	}
)

Enum value maps for Backup_BackupType.

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.

File_google_cloud_backupdr_v1_backupdr_proto

var File_google_cloud_backupdr_v1_backupdr_proto protoreflect.FileDescriptor

File_google_cloud_backupdr_v1_backupplan_proto

var File_google_cloud_backupdr_v1_backupplan_proto protoreflect.FileDescriptor

File_google_cloud_backupdr_v1_backupplanassociation_proto

var File_google_cloud_backupdr_v1_backupplanassociation_proto protoreflect.FileDescriptor

File_google_cloud_backupdr_v1_backupvault_ba_proto

var File_google_cloud_backupdr_v1_backupvault_ba_proto protoreflect.FileDescriptor

File_google_cloud_backupdr_v1_backupvault_gce_proto

var File_google_cloud_backupdr_v1_backupvault_gce_proto protoreflect.FileDescriptor

File_google_cloud_backupdr_v1_backupvault_proto

var File_google_cloud_backupdr_v1_backupvault_proto protoreflect.FileDescriptor

Functions

func RegisterBackupDRServer

func RegisterBackupDRServer(s *grpc.Server, 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() int32

func (*AcceleratorConfig) GetAcceleratorType

func (x *AcceleratorConfig) GetAcceleratorType() string

func (*AcceleratorConfig) ProtoMessage

func (*AcceleratorConfig) ProtoMessage()

func (*AcceleratorConfig) ProtoReflect

func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message

func (*AcceleratorConfig) Reset

func (x *AcceleratorConfig) Reset()

func (*AcceleratorConfig) String

func (x *AcceleratorConfig) String() string

AccessConfig

type AccessConfig struct {
	Type *AccessConfig_AccessType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.backupdr.v1.AccessConfig_AccessType,oneof" json:"type,omitempty"`

	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`

	ExternalIp *string `protobuf:"bytes,3,opt,name=external_ip,json=externalIp,proto3,oneof" json:"external_ip,omitempty"`

	ExternalIpv6 *string `protobuf:"bytes,4,opt,name=external_ipv6,json=externalIpv6,proto3,oneof" json:"external_ipv6,omitempty"`

	ExternalIpv6PrefixLength *int32 "" /* 144 byte string literal not displayed */

	SetPublicPtr *bool `protobuf:"varint,6,opt,name=set_public_ptr,json=setPublicPtr,proto3,oneof" json:"set_public_ptr,omitempty"`

	PublicPtrDomainName *string "" /* 128 byte string literal not displayed */

	NetworkTier *AccessConfig_NetworkTier "" /* 156 byte string literal not displayed */

}

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() string

func (*AccessConfig) GetExternalIpv6

func (x *AccessConfig) GetExternalIpv6() string

func (*AccessConfig) GetExternalIpv6PrefixLength

func (x *AccessConfig) GetExternalIpv6PrefixLength() int32

func (*AccessConfig) GetName

func (x *AccessConfig) GetName() string

func (*AccessConfig) GetNetworkTier

func (x *AccessConfig) GetNetworkTier() AccessConfig_NetworkTier

func (*AccessConfig) GetPublicPtrDomainName

func (x *AccessConfig) GetPublicPtrDomainName() string

func (*AccessConfig) GetSetPublicPtr

func (x *AccessConfig) GetSetPublicPtr() bool

func (*AccessConfig) GetType

func (*AccessConfig) ProtoMessage

func (*AccessConfig) ProtoMessage()

func (*AccessConfig) ProtoReflect

func (x *AccessConfig) ProtoReflect() protoreflect.Message

func (*AccessConfig) Reset

func (x *AccessConfig) Reset()

func (*AccessConfig) String

func (x *AccessConfig) String() string

AccessConfig_AccessType

type AccessConfig_AccessType int32

The 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) Enum

func (AccessConfig_AccessType) EnumDescriptor

func (AccessConfig_AccessType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessConfig_AccessType.Descriptor instead.

func (AccessConfig_AccessType) Number

func (AccessConfig_AccessType) String

func (x AccessConfig_AccessType) String() string

func (AccessConfig_AccessType) Type

AccessConfig_NetworkTier

type AccessConfig_NetworkTier int32

Network 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) Enum

func (AccessConfig_NetworkTier) EnumDescriptor

func (AccessConfig_NetworkTier) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessConfig_NetworkTier.Descriptor instead.

func (AccessConfig_NetworkTier) Number

func (AccessConfig_NetworkTier) String

func (x AccessConfig_NetworkTier) String() string

func (AccessConfig_NetworkTier) Type

AdvancedMachineFeatures

type AdvancedMachineFeatures struct {
	EnableNestedVirtualization *bool "" /* 148 byte string literal not displayed */

	ThreadsPerCore *int32 `protobuf:"varint,2,opt,name=threads_per_core,json=threadsPerCore,proto3,oneof" json:"threads_per_core,omitempty"`

	VisibleCoreCount *int32 `protobuf:"varint,3,opt,name=visible_core_count,json=visibleCoreCount,proto3,oneof" json:"visible_core_count,omitempty"`

	EnableUefiNetworking *bool "" /* 130 byte string literal not displayed */

}

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() bool

func (*AdvancedMachineFeatures) GetEnableUefiNetworking

func (x *AdvancedMachineFeatures) GetEnableUefiNetworking() bool

func (*AdvancedMachineFeatures) GetThreadsPerCore

func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32

func (*AdvancedMachineFeatures) GetVisibleCoreCount

func (x *AdvancedMachineFeatures) GetVisibleCoreCount() int32

func (*AdvancedMachineFeatures) ProtoMessage

func (*AdvancedMachineFeatures) ProtoMessage()

func (*AdvancedMachineFeatures) ProtoReflect

func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message

func (*AdvancedMachineFeatures) Reset

func (x *AdvancedMachineFeatures) Reset()

func (*AdvancedMachineFeatures) String

func (x *AdvancedMachineFeatures) String() string

AliasIpRange

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() string

func (*AliasIpRange) GetSubnetworkRangeName

func (x *AliasIpRange) GetSubnetworkRangeName() string

func (*AliasIpRange) ProtoMessage

func (*AliasIpRange) ProtoMessage()

func (*AliasIpRange) ProtoReflect

func (x *AliasIpRange) ProtoReflect() protoreflect.Message

func (*AliasIpRange) Reset

func (x *AliasIpRange) Reset()

func (*AliasIpRange) String

func (x *AliasIpRange) String() string

AllocationAffinity

type AllocationAffinity struct {
	ConsumeAllocationType *AllocationAffinity_Type "" /* 187 byte string literal not displayed */

	Key *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"`

	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`

}

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_Type

func (*AllocationAffinity) GetKey

func (x *AllocationAffinity) GetKey() string

func (*AllocationAffinity) GetValues

func (x *AllocationAffinity) GetValues() []string

func (*AllocationAffinity) ProtoMessage

func (*AllocationAffinity) ProtoMessage()

func (*AllocationAffinity) ProtoReflect

func (x *AllocationAffinity) ProtoReflect() protoreflect.Message

func (*AllocationAffinity) Reset

func (x *AllocationAffinity) Reset()

func (*AllocationAffinity) String

func (x *AllocationAffinity) String() string

AllocationAffinity_Type

type AllocationAffinity_Type int32

Indicates 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) Enum

func (AllocationAffinity_Type) EnumDescriptor

func (AllocationAffinity_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use AllocationAffinity_Type.Descriptor instead.

func (AllocationAffinity_Type) Number

func (AllocationAffinity_Type) String

func (x AllocationAffinity_Type) String() string

func (AllocationAffinity_Type) Type

AttachedDisk

type AttachedDisk struct {
	InitializeParams *AttachedDisk_InitializeParams `protobuf:"bytes,1,opt,name=initialize_params,json=initializeParams,proto3,oneof" json:"initialize_params,omitempty"`

	DeviceName *string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3,oneof" json:"device_name,omitempty"`

	Kind *string `protobuf:"bytes,5,opt,name=kind,proto3,oneof" json:"kind,omitempty"`

	DiskTypeDeprecated *AttachedDisk_DiskType "" /* 176 byte string literal not displayed */

	Mode *AttachedDisk_DiskMode `protobuf:"varint,7,opt,name=mode,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskMode,oneof" json:"mode,omitempty"`

	Source *string `protobuf:"bytes,8,opt,name=source,proto3,oneof" json:"source,omitempty"`

	Index *int64 `protobuf:"varint,9,opt,name=index,proto3,oneof" json:"index,omitempty"`

	Boot *bool `protobuf:"varint,10,opt,name=boot,proto3,oneof" json:"boot,omitempty"`

	AutoDelete *bool `protobuf:"varint,11,opt,name=auto_delete,json=autoDelete,proto3,oneof" json:"auto_delete,omitempty"`

	License []string `protobuf:"bytes,12,rep,name=license,proto3" json:"license,omitempty"`

	DiskInterface *AttachedDisk_DiskInterface "" /* 165 byte string literal not displayed */

	GuestOsFeature []*GuestOsFeature `protobuf:"bytes,14,rep,name=guest_os_feature,json=guestOsFeature,proto3" json:"guest_os_feature,omitempty"`

	DiskEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,15,opt,name=disk_encryption_key,json=diskEncryptionKey,proto3,oneof" json:"disk_encryption_key,omitempty"`

	DiskSizeGb *int64 `protobuf:"varint,16,opt,name=disk_size_gb,json=diskSizeGb,proto3,oneof" json:"disk_size_gb,omitempty"`

	SavedState *AttachedDisk_DiskSavedState "" /* 157 byte string literal not displayed */

	DiskType *string `protobuf:"bytes,18,opt,name=disk_type,json=diskType,proto3,oneof" json:"disk_type,omitempty"`

	Type *AttachedDisk_DiskType `protobuf:"varint,19,opt,name=type,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskType,oneof" json:"type,omitempty"`

}

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() bool

func (*AttachedDisk) GetBoot

func (x *AttachedDisk) GetBoot() bool

func (*AttachedDisk) GetDeviceName

func (x *AttachedDisk) GetDeviceName() string

func (*AttachedDisk) GetDiskEncryptionKey

func (x *AttachedDisk) GetDiskEncryptionKey() *CustomerEncryptionKey

func (*AttachedDisk) GetDiskInterface

func (x *AttachedDisk) GetDiskInterface() AttachedDisk_DiskInterface

func (*AttachedDisk) GetDiskSizeGb

func (x *AttachedDisk) GetDiskSizeGb() int64

func (*AttachedDisk) GetDiskType

func (x *AttachedDisk) GetDiskType() string

func (*AttachedDisk) GetDiskTypeDeprecated

func (x *AttachedDisk) GetDiskTypeDeprecated() AttachedDisk_DiskType

Deprecated: Marked as deprecated in google/cloud/backupdr/v1/backupvault_gce.proto.

func (*AttachedDisk) GetGuestOsFeature

func (x *AttachedDisk) GetGuestOsFeature() []*GuestOsFeature

func (*AttachedDisk) GetIndex

func (x *AttachedDisk) GetIndex() int64

func (*AttachedDisk) GetInitializeParams

func (x *AttachedDisk) GetInitializeParams() *AttachedDisk_InitializeParams

func (*AttachedDisk) GetKind

func (x *AttachedDisk) GetKind() string

func (*AttachedDisk) GetLicense

func (x *AttachedDisk) GetLicense() []string

func (*AttachedDisk) GetMode

func (x *AttachedDisk) GetMode() AttachedDisk_DiskMode

func (*AttachedDisk) GetSavedState

func (x *AttachedDisk) GetSavedState() AttachedDisk_DiskSavedState

func (*AttachedDisk) GetSource

func (x *AttachedDisk) GetSource() string

func (*AttachedDisk) GetType

func (x *AttachedDisk) GetType() AttachedDisk_DiskType

func (*AttachedDisk) ProtoMessage

func (*AttachedDisk) ProtoMessage()

func (*AttachedDisk) ProtoReflect

func (x *AttachedDisk) ProtoReflect() protoreflect.Message

func (*AttachedDisk) Reset

func (x *AttachedDisk) Reset()

func (*AttachedDisk) String

func (x *AttachedDisk) String() string

AttachedDisk_DiskInterface

type AttachedDisk_DiskInterface int32

List 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) Enum

func (AttachedDisk_DiskInterface) EnumDescriptor

func (AttachedDisk_DiskInterface) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttachedDisk_DiskInterface.Descriptor instead.

func (AttachedDisk_DiskInterface) Number

func (AttachedDisk_DiskInterface) String

func (AttachedDisk_DiskInterface) Type

AttachedDisk_DiskMode

type AttachedDisk_DiskMode int32

List 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) Enum

func (AttachedDisk_DiskMode) EnumDescriptor

func (AttachedDisk_DiskMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttachedDisk_DiskMode.Descriptor instead.

func (AttachedDisk_DiskMode) Number

func (AttachedDisk_DiskMode) String

func (x AttachedDisk_DiskMode) String() string

func (AttachedDisk_DiskMode) Type

AttachedDisk_DiskSavedState

type AttachedDisk_DiskSavedState int32

List 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) Enum

func (AttachedDisk_DiskSavedState) EnumDescriptor

func (AttachedDisk_DiskSavedState) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttachedDisk_DiskSavedState.Descriptor instead.

func (AttachedDisk_DiskSavedState) Number

func (AttachedDisk_DiskSavedState) String

func (AttachedDisk_DiskSavedState) Type

AttachedDisk_DiskType

type AttachedDisk_DiskType int32

List 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) Enum

func (AttachedDisk_DiskType) EnumDescriptor

func (AttachedDisk_DiskType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttachedDisk_DiskType.Descriptor instead.

func (AttachedDisk_DiskType) Number

func (AttachedDisk_DiskType) String

func (x AttachedDisk_DiskType) String() string

func (AttachedDisk_DiskType) Type

AttachedDisk_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() string

func (*AttachedDisk_InitializeParams) GetReplicaZones

func (x *AttachedDisk_InitializeParams) GetReplicaZones() []string

func (*AttachedDisk_InitializeParams) ProtoMessage

func (*AttachedDisk_InitializeParams) ProtoMessage()

func (*AttachedDisk_InitializeParams) ProtoReflect

func (*AttachedDisk_InitializeParams) Reset

func (x *AttachedDisk_InitializeParams) Reset()

func (*AttachedDisk_InitializeParams) String

Backup

type Backup struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	EnforcedRetentionEndTime *timestamppb.Timestamp "" /* 143 byte string literal not displayed */

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3,oneof" json:"expire_time,omitempty"`

	ConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=consistency_time,json=consistencyTime,proto3,oneof" json:"consistency_time,omitempty"`

	Etag *string `protobuf:"bytes,11,opt,name=etag,proto3,oneof" json:"etag,omitempty"`

	State Backup_State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.backupdr.v1.Backup_State" json:"state,omitempty"`

	ServiceLocks []*BackupLock `protobuf:"bytes,17,rep,name=service_locks,json=serviceLocks,proto3" json:"service_locks,omitempty"`

	BackupApplianceLocks []*BackupLock `protobuf:"bytes,18,rep,name=backup_appliance_locks,json=backupApplianceLocks,proto3" json:"backup_appliance_locks,omitempty"`

	BackupProperties isBackup_BackupProperties `protobuf_oneof:"backup_properties"`

	BackupType Backup_BackupType "" /* 141 byte string literal not displayed */

	PlanInfo isBackup_PlanInfo `protobuf_oneof:"plan_info"`

	ResourceSizeBytes int64 `protobuf:"varint,23,opt,name=resource_size_bytes,json=resourceSizeBytes,proto3" json:"resource_size_bytes,omitempty"`

}

Message describing a Backup object.

func (*Backup) Descriptor

func (*Backup) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetBackupApplianceBackupProperties

func (x *Backup) GetBackupApplianceBackupProperties() *BackupApplianceBackupProperties

func (*Backup) GetBackupApplianceLocks

func (x *Backup) GetBackupApplianceLocks() []*BackupLock

func (*Backup) GetBackupProperties

func (m *Backup) GetBackupProperties() isBackup_BackupProperties

func (*Backup) GetBackupType

func (x *Backup) GetBackupType() Backup_BackupType

func (*Backup) GetComputeInstanceBackupProperties

func (x *Backup) GetComputeInstanceBackupProperties() *ComputeInstanceBackupProperties

func (*Backup) GetConsistencyTime

func (x *Backup) GetConsistencyTime() *timestamppb.Timestamp

func (*Backup) GetCreateTime

func (x *Backup) GetCreateTime() *timestamppb.Timestamp

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetEnforcedRetentionEndTime

func (x *Backup) GetEnforcedRetentionEndTime() *timestamppb.Timestamp

func (*Backup) GetEtag

func (x *Backup) GetEtag() string

func (*Backup) GetExpireTime

func (x *Backup) GetExpireTime() *timestamppb.Timestamp

func (*Backup) GetGcpBackupPlanInfo

func (x *Backup) GetGcpBackupPlanInfo() *Backup_GCPBackupPlanInfo

func (*Backup) GetLabels

func (x *Backup) GetLabels() map[string]string

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) GetPlanInfo

func (m *Backup) GetPlanInfo() isBackup_PlanInfo

func (*Backup) GetResourceSizeBytes

func (x *Backup) GetResourceSizeBytes() int64

func (*Backup) GetServiceLocks

func (x *Backup) GetServiceLocks() []*BackupLock

func (*Backup) GetState

func (x *Backup) GetState() Backup_State

func (*Backup) GetUpdateTime

func (x *Backup) GetUpdateTime() *timestamppb.Timestamp

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

func (x *Backup) ProtoReflect() protoreflect.Message

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() 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() string

func (*BackupApplianceBackupConfig) GetBackupApplianceId

func (x *BackupApplianceBackupConfig) GetBackupApplianceId() int64

func (*BackupApplianceBackupConfig) GetBackupApplianceName

func (x *BackupApplianceBackupConfig) GetBackupApplianceName() string

func (*BackupApplianceBackupConfig) GetHostName

func (x *BackupApplianceBackupConfig) GetHostName() string

func (*BackupApplianceBackupConfig) GetSlaId

func (x *BackupApplianceBackupConfig) GetSlaId() int64

func (*BackupApplianceBackupConfig) GetSlpName

func (x *BackupApplianceBackupConfig) GetSlpName() string

func (*BackupApplianceBackupConfig) GetSltName

func (x *BackupApplianceBackupConfig) GetSltName() string

func (*BackupApplianceBackupConfig) ProtoMessage

func (*BackupApplianceBackupConfig) ProtoMessage()

func (*BackupApplianceBackupConfig) ProtoReflect

func (*BackupApplianceBackupConfig) Reset

func (x *BackupApplianceBackupConfig) Reset()

func (*BackupApplianceBackupConfig) String

func (x *BackupApplianceBackupConfig) String() string

BackupApplianceBackupProperties

type BackupApplianceBackupProperties struct {
	GenerationId *int32 `protobuf:"varint,1,opt,name=generation_id,json=generationId,proto3,oneof" json:"generation_id,omitempty"`

	FinalizeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=finalize_time,json=finalizeTime,proto3,oneof" json:"finalize_time,omitempty"`

	RecoveryRangeStartTime *timestamppb.Timestamp "" /* 137 byte string literal not displayed */

	RecoveryRangeEndTime *timestamppb.Timestamp "" /* 131 byte string literal not displayed */

}

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 (*BackupApplianceBackupProperties) GetGenerationId

func (x *BackupApplianceBackupProperties) GetGenerationId() int32

func (*BackupApplianceBackupProperties) GetRecoveryRangeEndTime

func (x *BackupApplianceBackupProperties) GetRecoveryRangeEndTime() *timestamppb.Timestamp

func (*BackupApplianceBackupProperties) GetRecoveryRangeStartTime

func (x *BackupApplianceBackupProperties) GetRecoveryRangeStartTime() *timestamppb.Timestamp

func (*BackupApplianceBackupProperties) ProtoMessage

func (*BackupApplianceBackupProperties) ProtoMessage()

func (*BackupApplianceBackupProperties) ProtoReflect

func (*BackupApplianceBackupProperties) Reset

func (*BackupApplianceBackupProperties) String

BackupApplianceLockInfo

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() int64

func (*BackupApplianceLockInfo) GetBackupApplianceName

func (x *BackupApplianceLockInfo) GetBackupApplianceName() string

func (*BackupApplianceLockInfo) GetBackupImage

func (x *BackupApplianceLockInfo) GetBackupImage() string

func (*BackupApplianceLockInfo) GetJobName

func (x *BackupApplianceLockInfo) GetJobName() string

func (*BackupApplianceLockInfo) GetLockReason

func (x *BackupApplianceLockInfo) GetLockReason() string

func (*BackupApplianceLockInfo) GetLockSource

func (m *BackupApplianceLockInfo) GetLockSource() isBackupApplianceLockInfo_LockSource

func (*BackupApplianceLockInfo) GetSlaId

func (x *BackupApplianceLockInfo) GetSlaId() int64

func (*BackupApplianceLockInfo) ProtoMessage

func (*BackupApplianceLockInfo) ProtoMessage()

func (*BackupApplianceLockInfo) ProtoReflect

func (x *BackupApplianceLockInfo) ProtoReflect() protoreflect.Message

func (*BackupApplianceLockInfo) Reset

func (x *BackupApplianceLockInfo) Reset()

func (*BackupApplianceLockInfo) String

func (x *BackupApplianceLockInfo) String() string

BackupApplianceLockInfo_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 {
	LastBackupState BackupConfigInfo_LastBackupState "" /* 172 byte string literal not displayed */

	LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp "" /* 172 byte string literal not displayed */

	LastBackupError *status.Status `protobuf:"bytes,3,opt,name=last_backup_error,json=lastBackupError,proto3" json:"last_backup_error,omitempty"`

	BackupConfig isBackupConfigInfo_BackupConfig `protobuf_oneof:"backup_config"`

}

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() *BackupApplianceBackupConfig

func (*BackupConfigInfo) GetBackupConfig

func (m *BackupConfigInfo) GetBackupConfig() isBackupConfigInfo_BackupConfig

func (*BackupConfigInfo) GetGcpBackupConfig

func (x *BackupConfigInfo) GetGcpBackupConfig() *GcpBackupConfig

func (*BackupConfigInfo) GetLastBackupError

func (x *BackupConfigInfo) GetLastBackupError() *status.Status

func (*BackupConfigInfo) GetLastBackupState

func (x *BackupConfigInfo) GetLastBackupState() BackupConfigInfo_LastBackupState

func (*BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime

func (x *BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestamp

func (*BackupConfigInfo) ProtoMessage

func (*BackupConfigInfo) ProtoMessage()

func (*BackupConfigInfo) ProtoReflect

func (x *BackupConfigInfo) ProtoReflect() protoreflect.Message

func (*BackupConfigInfo) Reset

func (x *BackupConfigInfo) Reset()

func (*BackupConfigInfo) String

func (x *BackupConfigInfo) String() string

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

LastBackupstate 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) Enum

func (BackupConfigInfo_LastBackupState) EnumDescriptor

func (BackupConfigInfo_LastBackupState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupConfigInfo_LastBackupState.Descriptor instead.

func (BackupConfigInfo_LastBackupState) Number

func (BackupConfigInfo_LastBackupState) String

func (BackupConfigInfo_LastBackupState) Type

BackupConfigState

type BackupConfigState int32

Backup 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) Enum

func (BackupConfigState) EnumDescriptor

func (BackupConfigState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupConfigState.Descriptor instead.

func (BackupConfigState) Number

func (BackupConfigState) String

func (x BackupConfigState) String() string

func (BackupConfigState) Type

BackupDRClient

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)
	// 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)
	// Create a BackupPlanAssociation
	CreateBackupPlanAssociation(ctx context.Context, in *CreateBackupPlanAssociationRequest, 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)
	// 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)
	// 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupDRClient

func NewBackupDRClient(cc grpc.ClientConnInterface) BackupDRClient

BackupDRServer

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)
	// 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)
	// Create a BackupPlanAssociation
	CreateBackupPlanAssociation(context.Context, *CreateBackupPlanAssociationRequest) (*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)
	// Deletes a single BackupPlanAssociation.
	DeleteBackupPlanAssociation(context.Context, *DeleteBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
	// Triggers a new Backup.
	TriggerBackup(context.Context, *TriggerBackupRequest) (*longrunningpb.Operation, error)
	// Initializes the service related config for a project.
	InitializeService(context.Context, *InitializeServiceRequest) (*longrunningpb.Operation, error)
}

BackupDRServer is the server API for BackupDR service.

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() *BackupApplianceLockInfo

func (*BackupLock) GetClientLockInfo

func (m *BackupLock) GetClientLockInfo() isBackupLock_ClientLockInfo

func (*BackupLock) GetLockUntilTime

func (x *BackupLock) GetLockUntilTime() *timestamppb.Timestamp

func (*BackupLock) GetServiceLockInfo

func (x *BackupLock) GetServiceLockInfo() *ServiceLockInfo

func (*BackupLock) ProtoMessage

func (*BackupLock) ProtoMessage()

func (*BackupLock) ProtoReflect

func (x *BackupLock) ProtoReflect() protoreflect.Message

func (*BackupLock) Reset

func (x *BackupLock) Reset()

func (*BackupLock) String

func (x *BackupLock) String() string

BackupLock_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 {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	BackupRules []*BackupRule `protobuf:"bytes,6,rep,name=backup_rules,json=backupRules,proto3" json:"backup_rules,omitempty"`

	State BackupPlan_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlan_State" json:"state,omitempty"`

	ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`

	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`

	BackupVault string `protobuf:"bytes,10,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`

	BackupVaultServiceAccount string "" /* 141 byte string literal not displayed */

}

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() []*BackupRule

func (*BackupPlan) GetBackupVault

func (x *BackupPlan) GetBackupVault() string

func (*BackupPlan) GetBackupVaultServiceAccount

func (x *BackupPlan) GetBackupVaultServiceAccount() string

func (*BackupPlan) GetCreateTime

func (x *BackupPlan) GetCreateTime() *timestamppb.Timestamp

func (*BackupPlan) GetDescription

func (x *BackupPlan) GetDescription() string

func (*BackupPlan) GetEtag

func (x *BackupPlan) GetEtag() string

func (*BackupPlan) GetLabels

func (x *BackupPlan) GetLabels() map[string]string

func (*BackupPlan) GetName

func (x *BackupPlan) GetName() string

func (*BackupPlan) GetResourceType

func (x *BackupPlan) GetResourceType() string

func (*BackupPlan) GetState

func (x *BackupPlan) GetState() BackupPlan_State

func (*BackupPlan) GetUpdateTime

func (x *BackupPlan) GetUpdateTime() *timestamppb.Timestamp

func (*BackupPlan) ProtoMessage

func (*BackupPlan) ProtoMessage()

func (*BackupPlan) ProtoReflect

func (x *BackupPlan) ProtoReflect() protoreflect.Message

func (*BackupPlan) Reset

func (x *BackupPlan) Reset()

func (*BackupPlan) String

func (x *BackupPlan) String() string

BackupPlanAssociation

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 backupplan is
	// applied
	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"`
	// 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() string

func (*BackupPlanAssociation) GetCreateTime

func (x *BackupPlanAssociation) GetCreateTime() *timestamppb.Timestamp

func (*BackupPlanAssociation) GetDataSource

func (x *BackupPlanAssociation) GetDataSource() string

func (*BackupPlanAssociation) GetName

func (x *BackupPlanAssociation) GetName() string

func (*BackupPlanAssociation) GetResource

func (x *BackupPlanAssociation) GetResource() string

func (*BackupPlanAssociation) GetResourceType

func (x *BackupPlanAssociation) GetResourceType() string

func (*BackupPlanAssociation) GetRulesConfigInfo

func (x *BackupPlanAssociation) GetRulesConfigInfo() []*RuleConfigInfo

func (*BackupPlanAssociation) GetState

func (*BackupPlanAssociation) GetUpdateTime

func (x *BackupPlanAssociation) GetUpdateTime() *timestamppb.Timestamp

func (*BackupPlanAssociation) ProtoMessage

func (*BackupPlanAssociation) ProtoMessage()

func (*BackupPlanAssociation) ProtoReflect

func (x *BackupPlanAssociation) ProtoReflect() protoreflect.Message

func (*BackupPlanAssociation) Reset

func (x *BackupPlanAssociation) Reset()

func (*BackupPlanAssociation) String

func (x *BackupPlanAssociation) String() string

BackupPlanAssociation_State

type BackupPlanAssociation_State int32

Enum for State of BackupPlan Association

BackupPlanAssociation_STATE_UNSPECIFIED, BackupPlanAssociation_CREATING, BackupPlanAssociation_ACTIVE, BackupPlanAssociation_DELETING, BackupPlanAssociation_INACTIVE

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
)

func (BackupPlanAssociation_State) Descriptor

func (BackupPlanAssociation_State) Enum

func (BackupPlanAssociation_State) EnumDescriptor

func (BackupPlanAssociation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupPlanAssociation_State.Descriptor instead.

func (BackupPlanAssociation_State) Number

func (BackupPlanAssociation_State) String

func (BackupPlanAssociation_State) Type

BackupPlan_State

type BackupPlan_State int32

State enumerates the possible states for a BackupPlan.

BackupPlan_STATE_UNSPECIFIED, BackupPlan_CREATING, BackupPlan_ACTIVE, BackupPlan_DELETING, BackupPlan_INACTIVE

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
)

func (BackupPlan_State) Descriptor

func (BackupPlan_State) Enum

func (BackupPlan_State) EnumDescriptor

func (BackupPlan_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupPlan_State.Descriptor instead.

func (BackupPlan_State) Number

func (BackupPlan_State) String

func (x BackupPlan_State) String() string

func (BackupPlan_State) Type

BackupRule

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 90 for hourly backups.
	// Minimum value is 1 and maximum value is 90 for daily backups.
	// Minimum value is 7 and maximum value is 186 for weekly backups.
	// Minimum value is 30 and maximum value is 732 for monthly backups.
	// Minimum value is 365 and maximum value is 36159 for yearly backups.
	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() int32

func (*BackupRule) GetBackupScheduleOneof

func (m *BackupRule) GetBackupScheduleOneof() isBackupRule_BackupScheduleOneof

func (*BackupRule) GetRuleId

func (x *BackupRule) GetRuleId() string

func (*BackupRule) GetStandardSchedule

func (x *BackupRule) GetStandardSchedule() *StandardSchedule

func (*BackupRule) ProtoMessage

func (*BackupRule) ProtoMessage()

func (*BackupRule) ProtoReflect

func (x *BackupRule) ProtoReflect() protoreflect.Message

func (*BackupRule) Reset

func (x *BackupRule) Reset()

func (*BackupRule) String

func (x *BackupRule) String() string

BackupRule_StandardSchedule

type BackupRule_StandardSchedule struct {
	// Required. 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 {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`

	BackupMinimumEnforcedRetentionDuration *durationpb.Duration "" /* 188 byte string literal not displayed */

	Deletable *bool `protobuf:"varint,8,opt,name=deletable,proto3,oneof" json:"deletable,omitempty"`

	Etag *string `protobuf:"bytes,9,opt,name=etag,proto3,oneof" json:"etag,omitempty"`

	State BackupVault_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupVault_State" json:"state,omitempty"`

	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`

	BackupCount int64 `protobuf:"varint,17,opt,name=backup_count,json=backupCount,proto3" json:"backup_count,omitempty"`

	ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	TotalStoredBytes int64 `protobuf:"varint,19,opt,name=total_stored_bytes,json=totalStoredBytes,proto3" json:"total_stored_bytes,omitempty"`

	Uid string `protobuf:"bytes,21,opt,name=uid,proto3" json:"uid,omitempty"`

	Annotations map[string]string "" /* 164 byte string literal not displayed */

	AccessRestriction BackupVault_AccessRestriction "" /* 174 byte string literal not displayed */

}

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_AccessRestriction

func (*BackupVault) GetAnnotations

func (x *BackupVault) GetAnnotations() map[string]string

func (*BackupVault) GetBackupCount

func (x *BackupVault) GetBackupCount() int64

func (*BackupVault) GetBackupMinimumEnforcedRetentionDuration

func (x *BackupVault) GetBackupMinimumEnforcedRetentionDuration() *durationpb.Duration

func (*BackupVault) GetCreateTime

func (x *BackupVault) GetCreateTime() *timestamppb.Timestamp

func (*BackupVault) GetDeletable

func (x *BackupVault) GetDeletable() bool

func (*BackupVault) GetDescription

func (x *BackupVault) GetDescription() string

func (*BackupVault) GetEffectiveTime

func (x *BackupVault) GetEffectiveTime() *timestamppb.Timestamp

func (*BackupVault) GetEtag

func (x *BackupVault) GetEtag() string

func (*BackupVault) GetLabels

func (x *BackupVault) GetLabels() map[string]string

func (*BackupVault) GetName

func (x *BackupVault) GetName() string

func (*BackupVault) GetServiceAccount

func (x *BackupVault) GetServiceAccount() string

func (*BackupVault) GetState

func (x *BackupVault) GetState() BackupVault_State

func (*BackupVault) GetTotalStoredBytes

func (x *BackupVault) GetTotalStoredBytes() int64

func (*BackupVault) GetUid

func (x *BackupVault) GetUid() string

func (*BackupVault) GetUpdateTime

func (x *BackupVault) GetUpdateTime() *timestamppb.Timestamp

func (*BackupVault) ProtoMessage

func (*BackupVault) ProtoMessage()

func (*BackupVault) ProtoReflect

func (x *BackupVault) ProtoReflect() protoreflect.Message

func (*BackupVault) Reset

func (x *BackupVault) Reset()

func (*BackupVault) String

func (x *BackupVault) String() string

BackupVaultView

type BackupVaultView int32

BackupVaultView 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) Enum

func (x BackupVaultView) Enum() *BackupVaultView

func (BackupVaultView) EnumDescriptor

func (BackupVaultView) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupVaultView.Descriptor instead.

func (BackupVaultView) Number

func (BackupVaultView) String

func (x BackupVaultView) String() string

func (BackupVaultView) Type

BackupVault_AccessRestriction

type BackupVault_AccessRestriction int32

Holds 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) Enum

func (BackupVault_AccessRestriction) EnumDescriptor

func (BackupVault_AccessRestriction) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupVault_AccessRestriction.Descriptor instead.

func (BackupVault_AccessRestriction) Number

func (BackupVault_AccessRestriction) String

func (BackupVault_AccessRestriction) Type

BackupVault_State

type BackupVault_State int32

Holds the state of the backup vault resource.

BackupVault_STATE_UNSPECIFIED, BackupVault_CREATING, BackupVault_ACTIVE, BackupVault_DELETING, BackupVault_ERROR

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
)

func (BackupVault_State) Descriptor

func (BackupVault_State) Enum

func (BackupVault_State) EnumDescriptor

func (BackupVault_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupVault_State.Descriptor instead.

func (BackupVault_State) Number

func (BackupVault_State) String

func (x BackupVault_State) String() string

func (BackupVault_State) Type

BackupView

type BackupView int32

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

func (BackupView) Enum

func (x BackupView) Enum() *BackupView

func (BackupView) EnumDescriptor

func (BackupView) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupView.Descriptor instead.

func (BackupView) Number

func (x BackupView) Number() protoreflect.EnumNumber

func (BackupView) String

func (x BackupView) String() string

func (BackupView) Type

BackupWindow

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() int32

func (*BackupWindow) GetStartHourOfDay

func (x *BackupWindow) GetStartHourOfDay() int32

func (*BackupWindow) ProtoMessage

func (*BackupWindow) ProtoMessage()

func (*BackupWindow) ProtoReflect

func (x *BackupWindow) ProtoReflect() protoreflect.Message

func (*BackupWindow) Reset

func (x *BackupWindow) Reset()

func (*BackupWindow) String

func (x *BackupWindow) String() string

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

Type of the backup, scheduled or ondemand.

Backup_BACKUP_TYPE_UNSPECIFIED, Backup_SCHEDULED, Backup_ON_DEMAND

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
)

func (Backup_BackupType) Descriptor

func (Backup_BackupType) Enum

func (Backup_BackupType) EnumDescriptor

func (Backup_BackupType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backup_BackupType.Descriptor instead.

func (Backup_BackupType) Number

func (Backup_BackupType) String

func (x Backup_BackupType) String() string

func (Backup_BackupType) Type

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_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"`
	// 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() string

func (*Backup_GCPBackupPlanInfo) GetBackupPlanRuleId

func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRuleId() string

func (*Backup_GCPBackupPlanInfo) ProtoMessage

func (*Backup_GCPBackupPlanInfo) ProtoMessage()

func (*Backup_GCPBackupPlanInfo) ProtoReflect

func (x *Backup_GCPBackupPlanInfo) ProtoReflect() protoreflect.Message

func (*Backup_GCPBackupPlanInfo) Reset

func (x *Backup_GCPBackupPlanInfo) Reset()

func (*Backup_GCPBackupPlanInfo) String

func (x *Backup_GCPBackupPlanInfo) String() string

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

Holds the state of the backup resource.

Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_ACTIVE, Backup_DELETING, Backup_ERROR

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
)

func (Backup_State) Descriptor

func (Backup_State) Enum

func (x Backup_State) Enum() *Backup_State

func (Backup_State) EnumDescriptor

func (Backup_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number

func (Backup_State) String

func (x Backup_State) String() string

func (Backup_State) Type

ComputeInstanceBackupProperties

type ComputeInstanceBackupProperties struct {
	Description