backupdrpb

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

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

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

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

View Source
var (
	BackupVault_AccessRestriction_name = map[int32]string{
		0: "ACCESS_RESTRICTION_UNSPECIFIED",
		1: "WITHIN_PROJECT",
		2: "WITHIN_ORGANIZATION",
		3: "UNRESTRICTED",
	}
	BackupVault_AccessRestriction_value = map[string]int32{
		"ACCESS_RESTRICTION_UNSPECIFIED": 0,
		"WITHIN_PROJECT":                 1,
		"WITHIN_ORGANIZATION":            2,
		"UNRESTRICTED":                   3,
	}
)

Enum value maps for BackupVault_AccessRestriction.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

View Source
var File_google_cloud_backupdr_v1_backupdr_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_backupdr_v1_backupplan_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_backupdr_v1_backupplanassociation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_backupdr_v1_backupvault_ba_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_backupdr_v1_backupvault_gce_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_backupdr_v1_backupvault_proto protoreflect.FileDescriptor

Functions

func RegisterBackupDRServer

func RegisterBackupDRServer(s *grpc.Server, srv BackupDRServer)

Types

type AcceleratorConfig added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.

func (*AcceleratorConfig) GetAcceleratorCount added in v1.2.0

func (x *AcceleratorConfig) GetAcceleratorCount() int32

func (*AcceleratorConfig) GetAcceleratorType added in v1.2.0

func (x *AcceleratorConfig) GetAcceleratorType() string

func (*AcceleratorConfig) ProtoMessage added in v1.2.0

func (*AcceleratorConfig) ProtoMessage()

func (*AcceleratorConfig) ProtoReflect added in v1.2.0

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

func (*AcceleratorConfig) Reset added in v1.2.0

func (x *AcceleratorConfig) Reset()

func (*AcceleratorConfig) String added in v1.2.0

func (x *AcceleratorConfig) String() string

type AccessConfig added in v1.2.0

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=externalIp,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 `` /* 144-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	// Optional. This signifies the networking tier used for configuring this
	// access
	NetworkTier *AccessConfig_NetworkTier `` /* 156-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use AccessConfig.ProtoReflect.Descriptor instead.

func (*AccessConfig) GetExternalIp added in v1.2.0

func (x *AccessConfig) GetExternalIp() string

func (*AccessConfig) GetExternalIpv6 added in v1.2.0

func (x *AccessConfig) GetExternalIpv6() string

func (*AccessConfig) GetExternalIpv6PrefixLength added in v1.2.0

func (x *AccessConfig) GetExternalIpv6PrefixLength() int32

func (*AccessConfig) GetName added in v1.2.0

func (x *AccessConfig) GetName() string

func (*AccessConfig) GetNetworkTier added in v1.2.0

func (x *AccessConfig) GetNetworkTier() AccessConfig_NetworkTier

func (*AccessConfig) GetPublicPtrDomainName added in v1.2.0

func (x *AccessConfig) GetPublicPtrDomainName() string

func (*AccessConfig) GetSetPublicPtr added in v1.2.0

func (x *AccessConfig) GetSetPublicPtr() bool

func (*AccessConfig) GetType added in v1.2.0

func (*AccessConfig) ProtoMessage added in v1.2.0

func (*AccessConfig) ProtoMessage()

func (*AccessConfig) ProtoReflect added in v1.2.0

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

func (*AccessConfig) Reset added in v1.2.0

func (x *AccessConfig) Reset()

func (*AccessConfig) String added in v1.2.0

func (x *AccessConfig) String() string

type AccessConfig_AccessType added in v1.2.0

type AccessConfig_AccessType int32

The type of configuration.

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 added in v1.2.0

func (AccessConfig_AccessType) Enum added in v1.2.0

func (AccessConfig_AccessType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AccessConfig_AccessType.Descriptor instead.

func (AccessConfig_AccessType) Number added in v1.2.0

func (AccessConfig_AccessType) String added in v1.2.0

func (x AccessConfig_AccessType) String() string

func (AccessConfig_AccessType) Type added in v1.2.0

type AccessConfig_NetworkTier added in v1.2.0

type AccessConfig_NetworkTier int32

Network tier property used by addresses, instances and forwarding rules.

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 added in v1.2.0

func (AccessConfig_NetworkTier) Enum added in v1.2.0

func (AccessConfig_NetworkTier) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AccessConfig_NetworkTier.Descriptor instead.

func (AccessConfig_NetworkTier) Number added in v1.2.0

func (AccessConfig_NetworkTier) String added in v1.2.0

func (x AccessConfig_NetworkTier) String() string

func (AccessConfig_NetworkTier) Type added in v1.2.0

type AdvancedMachineFeatures added in v1.2.0

type AdvancedMachineFeatures struct {

	// Optional. Whether to enable nested virtualization or not (default is
	// false).
	EnableNestedVirtualization *bool `` /* 148-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies options for controlling advanced machine features.

func (*AdvancedMachineFeatures) Descriptor deprecated added in v1.2.0

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

Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.

func (*AdvancedMachineFeatures) GetEnableNestedVirtualization added in v1.2.0

func (x *AdvancedMachineFeatures) GetEnableNestedVirtualization() bool

func (*AdvancedMachineFeatures) GetEnableUefiNetworking added in v1.2.0

func (x *AdvancedMachineFeatures) GetEnableUefiNetworking() bool

func (*AdvancedMachineFeatures) GetThreadsPerCore added in v1.2.0

func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32

func (*AdvancedMachineFeatures) GetVisibleCoreCount added in v1.2.0

func (x *AdvancedMachineFeatures) GetVisibleCoreCount() int32

func (*AdvancedMachineFeatures) ProtoMessage added in v1.2.0

func (*AdvancedMachineFeatures) ProtoMessage()

func (*AdvancedMachineFeatures) ProtoReflect added in v1.2.0

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

func (*AdvancedMachineFeatures) Reset added in v1.2.0

func (x *AdvancedMachineFeatures) Reset()

func (*AdvancedMachineFeatures) String added in v1.2.0

func (x *AdvancedMachineFeatures) String() string

type AliasIpRange added in v1.2.0

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 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

An alias IP range attached to an instance's network interface.

func (*AliasIpRange) Descriptor deprecated added in v1.2.0

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

Deprecated: Use AliasIpRange.ProtoReflect.Descriptor instead.

func (*AliasIpRange) GetIpCidrRange added in v1.2.0

func (x *AliasIpRange) GetIpCidrRange() string

func (*AliasIpRange) GetSubnetworkRangeName added in v1.2.0

func (x *AliasIpRange) GetSubnetworkRangeName() string

func (*AliasIpRange) ProtoMessage added in v1.2.0

func (*AliasIpRange) ProtoMessage()

func (*AliasIpRange) ProtoReflect added in v1.2.0

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

func (*AliasIpRange) Reset added in v1.2.0

func (x *AliasIpRange) Reset()

func (*AliasIpRange) String added in v1.2.0

func (x *AliasIpRange) String() string

type AllocationAffinity added in v1.2.0

type AllocationAffinity struct {

	// Optional. Specifies the type of reservation from which this instance can
	// consume
	ConsumeAllocationType *AllocationAffinity_Type `` /* 187-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use AllocationAffinity.ProtoReflect.Descriptor instead.

func (*AllocationAffinity) GetConsumeAllocationType added in v1.2.0

func (x *AllocationAffinity) GetConsumeAllocationType() AllocationAffinity_Type

func (*AllocationAffinity) GetKey added in v1.2.0

func (x *AllocationAffinity) GetKey() string

func (*AllocationAffinity) GetValues added in v1.2.0

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

func (*AllocationAffinity) ProtoMessage added in v1.2.0

func (*AllocationAffinity) ProtoMessage()

func (*AllocationAffinity) ProtoReflect added in v1.2.0

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

func (*AllocationAffinity) Reset added in v1.2.0

func (x *AllocationAffinity) Reset()

func (*AllocationAffinity) String added in v1.2.0

func (x *AllocationAffinity) String() string

type AllocationAffinity_Type added in v1.2.0

type AllocationAffinity_Type int32

Indicates whether to consume from a reservation or not.

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 added in v1.2.0

func (AllocationAffinity_Type) Enum added in v1.2.0

func (AllocationAffinity_Type) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AllocationAffinity_Type.Descriptor instead.

func (AllocationAffinity_Type) Number added in v1.2.0

func (AllocationAffinity_Type) String added in v1.2.0

func (x AllocationAffinity_Type) String() string

func (AllocationAffinity_Type) Type added in v1.2.0

type AttachedDisk added in v1.2.0

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 `` /* 176-byte string literal not displayed */
	// 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 `` /* 165-byte string literal not displayed */
	// 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 `` /* 157-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk.ProtoReflect.Descriptor instead.

func (*AttachedDisk) GetAutoDelete added in v1.2.0

func (x *AttachedDisk) GetAutoDelete() bool

func (*AttachedDisk) GetBoot added in v1.2.0

func (x *AttachedDisk) GetBoot() bool

func (*AttachedDisk) GetDeviceName added in v1.2.0

func (x *AttachedDisk) GetDeviceName() string

func (*AttachedDisk) GetDiskEncryptionKey added in v1.2.0

func (x *AttachedDisk) GetDiskEncryptionKey() *CustomerEncryptionKey

func (*AttachedDisk) GetDiskInterface added in v1.2.0

func (x *AttachedDisk) GetDiskInterface() AttachedDisk_DiskInterface

func (*AttachedDisk) GetDiskSizeGb added in v1.2.0

func (x *AttachedDisk) GetDiskSizeGb() int64

func (*AttachedDisk) GetDiskType added in v1.2.0

func (x *AttachedDisk) GetDiskType() string

func (*AttachedDisk) GetDiskTypeDeprecated deprecated added in v1.2.0

func (x *AttachedDisk) GetDiskTypeDeprecated() AttachedDisk_DiskType

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

func (*AttachedDisk) GetGuestOsFeature added in v1.2.0

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

func (*AttachedDisk) GetIndex added in v1.2.0

func (x *AttachedDisk) GetIndex() int64

func (*AttachedDisk) GetInitializeParams added in v1.2.0

func (x *AttachedDisk) GetInitializeParams() *AttachedDisk_InitializeParams

func (*AttachedDisk) GetKind added in v1.2.0

func (x *AttachedDisk) GetKind() string

func (*AttachedDisk) GetLicense added in v1.2.0

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

func (*AttachedDisk) GetMode added in v1.2.0

func (x *AttachedDisk) GetMode() AttachedDisk_DiskMode

func (*AttachedDisk) GetSavedState added in v1.2.0

func (x *AttachedDisk) GetSavedState() AttachedDisk_DiskSavedState

func (*AttachedDisk) GetSource added in v1.2.0

func (x *AttachedDisk) GetSource() string

func (*AttachedDisk) GetType added in v1.2.0

func (x *AttachedDisk) GetType() AttachedDisk_DiskType

func (*AttachedDisk) ProtoMessage added in v1.2.0

func (*AttachedDisk) ProtoMessage()

func (*AttachedDisk) ProtoReflect added in v1.2.0

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

func (*AttachedDisk) Reset added in v1.2.0

func (x *AttachedDisk) Reset()

func (*AttachedDisk) String added in v1.2.0

func (x *AttachedDisk) String() string

type AttachedDisk_DiskInterface added in v1.2.0

type AttachedDisk_DiskInterface int32

List of the Disk Interfaces.

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 added in v1.2.0

func (AttachedDisk_DiskInterface) Enum added in v1.2.0

func (AttachedDisk_DiskInterface) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk_DiskInterface.Descriptor instead.

func (AttachedDisk_DiskInterface) Number added in v1.2.0

func (AttachedDisk_DiskInterface) String added in v1.2.0

func (AttachedDisk_DiskInterface) Type added in v1.2.0

type AttachedDisk_DiskMode added in v1.2.0

type AttachedDisk_DiskMode int32

List of the Disk Modes.

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 added in v1.2.0

func (AttachedDisk_DiskMode) Enum added in v1.2.0

func (AttachedDisk_DiskMode) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk_DiskMode.Descriptor instead.

func (AttachedDisk_DiskMode) Number added in v1.2.0

func (AttachedDisk_DiskMode) String added in v1.2.0

func (x AttachedDisk_DiskMode) String() string

func (AttachedDisk_DiskMode) Type added in v1.2.0

type AttachedDisk_DiskSavedState added in v1.2.0

type AttachedDisk_DiskSavedState int32

List of the states of the Disk.

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 added in v1.2.0

func (AttachedDisk_DiskSavedState) Enum added in v1.2.0

func (AttachedDisk_DiskSavedState) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk_DiskSavedState.Descriptor instead.

func (AttachedDisk_DiskSavedState) Number added in v1.2.0

func (AttachedDisk_DiskSavedState) String added in v1.2.0

func (AttachedDisk_DiskSavedState) Type added in v1.2.0

type AttachedDisk_DiskType added in v1.2.0

type AttachedDisk_DiskType int32

List of the Disk Types.

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 added in v1.2.0

func (AttachedDisk_DiskType) Enum added in v1.2.0

func (AttachedDisk_DiskType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk_DiskType.Descriptor instead.

func (AttachedDisk_DiskType) Number added in v1.2.0

func (AttachedDisk_DiskType) String added in v1.2.0

func (x AttachedDisk_DiskType) String() string

func (AttachedDisk_DiskType) Type added in v1.2.0

type AttachedDisk_InitializeParams added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use AttachedDisk_InitializeParams.ProtoReflect.Descriptor instead.

func (*AttachedDisk_InitializeParams) GetDiskName added in v1.2.0

func (x *AttachedDisk_InitializeParams) GetDiskName() string

func (*AttachedDisk_InitializeParams) GetReplicaZones added in v1.2.0

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

func (*AttachedDisk_InitializeParams) ProtoMessage added in v1.2.0

func (*AttachedDisk_InitializeParams) ProtoMessage()

func (*AttachedDisk_InitializeParams) ProtoReflect added in v1.2.0

func (*AttachedDisk_InitializeParams) Reset added in v1.2.0

func (x *AttachedDisk_InitializeParams) Reset()

func (*AttachedDisk_InitializeParams) String added in v1.2.0

type Backup added in v1.2.0

type Backup struct {

	// Output only. Identifier. Name of the backup to create. It must have the
	// format`"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}"`.
	// `{backup}` cannot be changed after creation. It must be between 3-63
	// characters long and must be unique within the datasource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The description of the Backup instance (2048 characters or
	// less).
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Output only. The time when the instance was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,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,4,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
	// Optional. Resource labels to represent user provided metadata.
	// No labels currently defined.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. The backup can not be deleted before this time.
	EnforcedRetentionEndTime *timestamppb.Timestamp `` /* 143-byte string literal not displayed */
	// Optional. When this backup is automatically expired.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3,oneof" json:"expire_time,omitempty"`
	// Output only. The point in time when this backup was captured from the
	// source.
	ConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=consistency_time,json=consistencyTime,proto3,oneof" json:"consistency_time,omitempty"`
	// Optional. Server specified ETag to prevent updates from overwriting each
	// other.
	Etag *string `protobuf:"bytes,11,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
	// Output only. The Backup resource instance state.
	State Backup_State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.backupdr.v1.Backup_State" json:"state,omitempty"`
	// Output only. The list of BackupLocks taken by the service to prevent the
	// deletion of the backup.
	ServiceLocks []*BackupLock `protobuf:"bytes,17,rep,name=service_locks,json=serviceLocks,proto3" json:"service_locks,omitempty"`
	// Optional. The list of BackupLocks taken by the accessor Backup Appliance.
	BackupApplianceLocks []*BackupLock `protobuf:"bytes,18,rep,name=backup_appliance_locks,json=backupApplianceLocks,proto3" json:"backup_appliance_locks,omitempty"`
	// Workload specific backup properties.
	//
	// Types that are assignable to BackupProperties:
	//
	//	*Backup_ComputeInstanceBackupProperties
	//	*Backup_BackupApplianceBackupProperties
	BackupProperties isBackup_BackupProperties `protobuf_oneof:"backup_properties"`
	// Output only. Type of the backup, unspecified, scheduled or ondemand.
	BackupType Backup_BackupType `` /* 141-byte string literal not displayed */
	// Configuration Info has the resource format-specific configuration.
	//
	// Types that are assignable to PlanInfo:
	//
	//	*Backup_GcpBackupPlanInfo
	PlanInfo isBackup_PlanInfo `protobuf_oneof:"plan_info"`
	// Output only. source resource size in bytes at the time of the backup.
	ResourceSizeBytes int64 `protobuf:"varint,23,opt,name=resource_size_bytes,json=resourceSizeBytes,proto3" json:"resource_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

Message describing a Backup object.

func (*Backup) Descriptor deprecated added in v1.2.0

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetBackupApplianceBackupProperties added in v1.2.0

func (x *Backup) GetBackupApplianceBackupProperties() *BackupApplianceBackupProperties

func (*Backup) GetBackupApplianceLocks added in v1.2.0

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

func (*Backup) GetBackupProperties added in v1.2.0

func (m *Backup) GetBackupProperties() isBackup_BackupProperties

func (*Backup) GetBackupType added in v1.2.0

func (x *Backup) GetBackupType() Backup_BackupType

func (*Backup) GetComputeInstanceBackupProperties added in v1.2.0

func (x *Backup) GetComputeInstanceBackupProperties() *ComputeInstanceBackupProperties

func (*Backup) GetConsistencyTime added in v1.2.0

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

func (*Backup) GetCreateTime added in v1.2.0

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

func (*Backup) GetDescription added in v1.2.0

func (x *Backup) GetDescription() string

func (*Backup) GetEnforcedRetentionEndTime added in v1.2.0

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

func (*Backup) GetEtag added in v1.2.0

func (x *Backup) GetEtag() string

func (*Backup) GetExpireTime added in v1.2.0

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

func (*Backup) GetGcpBackupPlanInfo added in v1.2.0

func (x *Backup) GetGcpBackupPlanInfo() *Backup_GCPBackupPlanInfo

func (*Backup) GetLabels added in v1.2.0

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

func (*Backup) GetName added in v1.2.0

func (x *Backup) GetName() string

func (*Backup) GetPlanInfo added in v1.2.0

func (m *Backup) GetPlanInfo() isBackup_PlanInfo

func (*Backup) GetResourceSizeBytes added in v1.2.0

func (x *Backup) GetResourceSizeBytes() int64

func (*Backup) GetServiceLocks added in v1.2.0

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

func (*Backup) GetState added in v1.2.0

func (x *Backup) GetState() Backup_State

func (*Backup) GetUpdateTime added in v1.2.0

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

func (*Backup) ProtoMessage added in v1.2.0

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect added in v1.2.0

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

func (*Backup) Reset added in v1.2.0

func (x *Backup) Reset()

func (*Backup) String added in v1.2.0

func (x *Backup) String() string

type BackupApplianceBackupConfig added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use BackupApplianceBackupConfig.ProtoReflect.Descriptor instead.

func (*BackupApplianceBackupConfig) GetApplicationName added in v1.2.0

func (x *BackupApplianceBackupConfig) GetApplicationName() string

func (*BackupApplianceBackupConfig) GetBackupApplianceId added in v1.2.0

func (x *BackupApplianceBackupConfig) GetBackupApplianceId() int64

func (*BackupApplianceBackupConfig) GetBackupApplianceName added in v1.2.0

func (x *BackupApplianceBackupConfig) GetBackupApplianceName() string

func (*BackupApplianceBackupConfig) GetHostName added in v1.2.0

func (x *BackupApplianceBackupConfig) GetHostName() string

func (*BackupApplianceBackupConfig) GetSlaId added in v1.2.0

func (x *BackupApplianceBackupConfig) GetSlaId() int64

func (*BackupApplianceBackupConfig) GetSlpName added in v1.2.0

func (x *BackupApplianceBackupConfig) GetSlpName() string

func (*BackupApplianceBackupConfig) GetSltName added in v1.2.0

func (x *BackupApplianceBackupConfig) GetSltName() string

func (*BackupApplianceBackupConfig) ProtoMessage added in v1.2.0

func (*BackupApplianceBackupConfig) ProtoMessage()

func (*BackupApplianceBackupConfig) ProtoReflect added in v1.2.0

func (*BackupApplianceBackupConfig) Reset added in v1.2.0

func (x *BackupApplianceBackupConfig) Reset()

func (*BackupApplianceBackupConfig) String added in v1.2.0

func (x *BackupApplianceBackupConfig) String() string

type BackupApplianceBackupProperties added in v1.2.0

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 `` /* 137-byte string literal not displayed */
	// Optional. The latest timestamp of data available in this Backup.
	RecoveryRangeEndTime *timestamppb.Timestamp `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

BackupApplianceBackupProperties represents BackupDR backup appliance's properties.

func (*BackupApplianceBackupProperties) Descriptor deprecated added in v1.2.0

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

Deprecated: Use BackupApplianceBackupProperties.ProtoReflect.Descriptor instead.

func (*BackupApplianceBackupProperties) GetFinalizeTime added in v1.2.0

func (*BackupApplianceBackupProperties) GetGenerationId added in v1.2.0

func (x *BackupApplianceBackupProperties) GetGenerationId() int32

func (*BackupApplianceBackupProperties) GetRecoveryRangeEndTime added in v1.2.0

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

func (*BackupApplianceBackupProperties) GetRecoveryRangeStartTime added in v1.2.0

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

func (*BackupApplianceBackupProperties) ProtoMessage added in v1.2.0

func (*BackupApplianceBackupProperties) ProtoMessage()

func (*BackupApplianceBackupProperties) ProtoReflect added in v1.2.0

func (*BackupApplianceBackupProperties) Reset added in v1.2.0

func (*BackupApplianceBackupProperties) String added in v1.2.0

type BackupApplianceLockInfo added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use BackupApplianceLockInfo.ProtoReflect.Descriptor instead.

func (*BackupApplianceLockInfo) GetBackupApplianceId added in v1.2.0

func (x *BackupApplianceLockInfo) GetBackupApplianceId() int64

func (*BackupApplianceLockInfo) GetBackupApplianceName added in v1.2.0

func (x *BackupApplianceLockInfo) GetBackupApplianceName() string

func (*BackupApplianceLockInfo) GetBackupImage added in v1.2.0

func (x *BackupApplianceLockInfo) GetBackupImage() string

func (*BackupApplianceLockInfo) GetJobName added in v1.2.0

func (x *BackupApplianceLockInfo) GetJobName() string

func (*BackupApplianceLockInfo) GetLockReason added in v1.2.0

func (x *BackupApplianceLockInfo) GetLockReason() string

func (*BackupApplianceLockInfo) GetLockSource added in v1.2.0

func (m *BackupApplianceLockInfo) GetLockSource() isBackupApplianceLockInfo_LockSource

func (*BackupApplianceLockInfo) GetSlaId added in v1.2.0

func (x *BackupApplianceLockInfo) GetSlaId() int64

func (*BackupApplianceLockInfo) ProtoMessage added in v1.2.0

func (*BackupApplianceLockInfo) ProtoMessage()

func (*BackupApplianceLockInfo) ProtoReflect added in v1.2.0

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

func (*BackupApplianceLockInfo) Reset added in v1.2.0

func (x *BackupApplianceLockInfo) Reset()

func (*BackupApplianceLockInfo) String added in v1.2.0

func (x *BackupApplianceLockInfo) String() string

type BackupApplianceLockInfo_BackupImage added in v1.2.0

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"`
}

type BackupApplianceLockInfo_JobName added in v1.2.0

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"`
}

type BackupApplianceLockInfo_SlaId added in v1.2.0

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"`
}

type BackupConfigInfo added in v1.2.0

type BackupConfigInfo struct {

	// Output only. The status of the last backup to this BackupVault
	LastBackupState BackupConfigInfo_LastBackupState `` /* 172-byte string literal not displayed */
	// Output only. If the last backup were successful, this field has the
	// consistency date.
	LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `` /* 172-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use BackupConfigInfo.ProtoReflect.Descriptor instead.

func (*BackupConfigInfo) GetBackupApplianceBackupConfig added in v1.2.0

func (x *BackupConfigInfo) GetBackupApplianceBackupConfig() *BackupApplianceBackupConfig

func (*BackupConfigInfo) GetBackupConfig added in v1.2.0

func (m *BackupConfigInfo) GetBackupConfig() isBackupConfigInfo_BackupConfig

func (*BackupConfigInfo) GetGcpBackupConfig added in v1.2.0

func (x *BackupConfigInfo) GetGcpBackupConfig() *GcpBackupConfig

func (*BackupConfigInfo) GetLastBackupError added in v1.2.0

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

func (*BackupConfigInfo) GetLastBackupState added in v1.2.0

func (x *BackupConfigInfo) GetLastBackupState() BackupConfigInfo_LastBackupState

func (*BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime added in v1.2.0

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

func (*BackupConfigInfo) ProtoMessage added in v1.2.0

func (*BackupConfigInfo) ProtoMessage()

func (*BackupConfigInfo) ProtoReflect added in v1.2.0

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

func (*BackupConfigInfo) Reset added in v1.2.0

func (x *BackupConfigInfo) Reset()

func (*BackupConfigInfo) String added in v1.2.0

func (x *BackupConfigInfo) String() string

type BackupConfigInfo_BackupApplianceBackupConfig added in v1.2.0

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"`
}

type BackupConfigInfo_GcpBackupConfig added in v1.2.0

type BackupConfigInfo_GcpBackupConfig struct {
	// Configuration for a Google Cloud resource.
	GcpBackupConfig *GcpBackupConfig `protobuf:"bytes,4,opt,name=gcp_backup_config,json=gcpBackupConfig,proto3,oneof"`
}

type BackupConfigInfo_LastBackupState added in v1.2.0

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.

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 added in v1.2.0

func (BackupConfigInfo_LastBackupState) Enum added in v1.2.0

func (BackupConfigInfo_LastBackupState) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupConfigInfo_LastBackupState.Descriptor instead.

func (BackupConfigInfo_LastBackupState) Number added in v1.2.0

func (BackupConfigInfo_LastBackupState) String added in v1.2.0

func (BackupConfigInfo_LastBackupState) Type added in v1.2.0

type BackupConfigState added in v1.2.0

type BackupConfigState int32

Backup configuration state. Is the resource configured for backup?

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 added in v1.2.0

func (BackupConfigState) Enum added in v1.2.0

func (BackupConfigState) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupConfigState.Descriptor instead.

func (BackupConfigState) Number added in v1.2.0

func (BackupConfigState) String added in v1.2.0

func (x BackupConfigState) String() string

func (BackupConfigState) Type added in v1.2.0

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

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

type 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)
}

BackupDRServer is the server API for BackupDR service.

type BackupLock added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use BackupLock.ProtoReflect.Descriptor instead.

func (*BackupLock) GetBackupApplianceLockInfo added in v1.2.0

func (x *BackupLock) GetBackupApplianceLockInfo() *BackupApplianceLockInfo

func (*BackupLock) GetClientLockInfo added in v1.2.0

func (m *BackupLock) GetClientLockInfo() isBackupLock_ClientLockInfo

func (*BackupLock) GetLockUntilTime added in v1.2.0

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

func (*BackupLock) GetServiceLockInfo added in v1.2.0

func (x *BackupLock) GetServiceLockInfo() *ServiceLockInfo

func (*BackupLock) ProtoMessage added in v1.2.0

func (*BackupLock) ProtoMessage()

func (*BackupLock) ProtoReflect added in v1.2.0

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

func (*BackupLock) Reset added in v1.2.0

func (x *BackupLock) Reset()

func (*BackupLock) String added in v1.2.0

func (x *BackupLock) String() string

type BackupLock_BackupApplianceLockInfo added in v1.2.0

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"`
}

type BackupLock_ServiceLockInfo added in v1.2.0

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"`
}

type BackupPlan added in v1.2.0

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 `` /* 153-byte string literal not displayed */
	// 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" and
	// "storage.googleapis.com/Bucket".
	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 `` /* 141-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use BackupPlan.ProtoReflect.Descriptor instead.

func (*BackupPlan) GetBackupRules added in v1.2.0

func (x *BackupPlan) GetBackupRules() []*BackupRule

func (*BackupPlan) GetBackupVault added in v1.2.0

func (x *BackupPlan) GetBackupVault() string

func (*BackupPlan) GetBackupVaultServiceAccount added in v1.2.0

func (x *BackupPlan) GetBackupVaultServiceAccount() string

func (*BackupPlan) GetCreateTime added in v1.2.0

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

func (*BackupPlan) GetDescription added in v1.2.0

func (x *BackupPlan) GetDescription() string

func (*BackupPlan) GetEtag added in v1.2.0

func (x *BackupPlan) GetEtag() string

func (*BackupPlan) GetLabels added in v1.2.0

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

func (*BackupPlan) GetName added in v1.2.0

func (x *BackupPlan) GetName() string

func (*BackupPlan) GetResourceType added in v1.2.0

func (x *BackupPlan) GetResourceType() string

func (*BackupPlan) GetState added in v1.2.0

func (x *BackupPlan) GetState() BackupPlan_State

func (*BackupPlan) GetUpdateTime added in v1.2.0

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

func (*BackupPlan) ProtoMessage added in v1.2.0

func (*BackupPlan) ProtoMessage()

func (*BackupPlan) ProtoReflect added in v1.2.0

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

func (*BackupPlan) Reset added in v1.2.0

func (x *BackupPlan) Reset()

func (*BackupPlan) String added in v1.2.0

func (x *BackupPlan) String() string

type BackupPlanAssociation added in v1.2.0

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"`
	// Optional. 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. 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 deprecated added in v1.2.0

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

Deprecated: Use BackupPlanAssociation.ProtoReflect.Descriptor instead.

func (*BackupPlanAssociation) GetBackupPlan added in v1.2.0

func (x *BackupPlanAssociation) GetBackupPlan() string

func (*BackupPlanAssociation) GetCreateTime added in v1.2.0

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

func (*BackupPlanAssociation) GetDataSource added in v1.2.0

func (x *BackupPlanAssociation) GetDataSource() string

func (*BackupPlanAssociation) GetName added in v1.2.0

func (x *BackupPlanAssociation) GetName() string

func (*BackupPlanAssociation) GetResource added in v1.2.0

func (x *BackupPlanAssociation) GetResource() string

func (*BackupPlanAssociation) GetResourceType added in v1.2.0

func (x *BackupPlanAssociation) GetResourceType() string

func (*BackupPlanAssociation) GetRulesConfigInfo added in v1.2.0

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

func (*BackupPlanAssociation) GetState added in v1.2.0

func (*BackupPlanAssociation) GetUpdateTime added in v1.2.0

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

func (*BackupPlanAssociation) ProtoMessage added in v1.2.0

func (*BackupPlanAssociation) ProtoMessage()

func (*BackupPlanAssociation) ProtoReflect added in v1.2.0

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

func (*BackupPlanAssociation) Reset added in v1.2.0

func (x *BackupPlanAssociation) Reset()

func (*BackupPlanAssociation) String added in v1.2.0

func (x *BackupPlanAssociation) String() string

type BackupPlanAssociation_State added in v1.2.0

type BackupPlanAssociation_State int32

Enum for State of BackupPlan Association

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 added in v1.2.0

func (BackupPlanAssociation_State) Enum added in v1.2.0

func (BackupPlanAssociation_State) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupPlanAssociation_State.Descriptor instead.

func (BackupPlanAssociation_State) Number added in v1.2.0

func (BackupPlanAssociation_State) String added in v1.2.0

func (BackupPlanAssociation_State) Type added in v1.2.0

type BackupPlan_State added in v1.2.0

type BackupPlan_State int32

`State` enumerates the possible states for a `BackupPlan`.

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 added in v1.2.0

func (BackupPlan_State) Enum added in v1.2.0

func (BackupPlan_State) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupPlan_State.Descriptor instead.

func (BackupPlan_State) Number added in v1.2.0

func (BackupPlan_State) String added in v1.2.0

func (x BackupPlan_State) String() string

func (BackupPlan_State) Type added in v1.2.0

type BackupRule added in v1.2.0

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.
	BackupRetentionDays int32 `protobuf:"varint,4,opt,name=backup_retention_days,json=backupRetentionDays,proto3" json:"backup_retention_days,omitempty"`
	// Required.
	//
	// 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 deprecated added in v1.2.0

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

Deprecated: Use BackupRule.ProtoReflect.Descriptor instead.

func (*BackupRule) GetBackupRetentionDays added in v1.2.0

func (x *BackupRule) GetBackupRetentionDays() int32

func (*BackupRule) GetBackupScheduleOneof added in v1.2.0

func (m *BackupRule) GetBackupScheduleOneof() isBackupRule_BackupScheduleOneof

func (*BackupRule) GetRuleId added in v1.2.0

func (x *BackupRule) GetRuleId() string

func (*BackupRule) GetStandardSchedule added in v1.2.0

func (x *BackupRule) GetStandardSchedule() *StandardSchedule

func (*BackupRule) ProtoMessage added in v1.2.0

func (*BackupRule) ProtoMessage()

func (*BackupRule) ProtoReflect added in v1.2.0

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

func (*BackupRule) Reset added in v1.2.0

func (x *BackupRule) Reset()

func (*BackupRule) String added in v1.2.0

func (x *BackupRule) String() string

type BackupRule_StandardSchedule added in v1.2.0

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"`
}

type BackupVault added in v1.2.0

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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 188-byte string literal not displayed */
	// 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. 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 `` /* 164-byte string literal not displayed */
	// Optional. Note: This field is added for future use case and will not be
	// supported in the current release.
	//
	// Optional.
	//
	// Access restriction for the backup vault.
	// Default value is WITHIN_ORGANIZATION if not provided during creation.
	AccessRestriction BackupVault_AccessRestriction `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message describing a BackupVault object.

func (*BackupVault) Descriptor deprecated added in v1.2.0

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

Deprecated: Use BackupVault.ProtoReflect.Descriptor instead.

func (*BackupVault) GetAccessRestriction added in v1.2.0

func (x *BackupVault) GetAccessRestriction() BackupVault_AccessRestriction

func (*BackupVault) GetAnnotations added in v1.2.0

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

func (*BackupVault) GetBackupCount added in v1.2.0

func (x *BackupVault) GetBackupCount() int64

func (*BackupVault) GetBackupMinimumEnforcedRetentionDuration added in v1.2.0

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

func (*BackupVault) GetCreateTime added in v1.2.0

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

func (*BackupVault) GetDeletable added in v1.2.0

func (x *BackupVault) GetDeletable() bool

func (*BackupVault) GetDescription added in v1.2.0

func (x *BackupVault) GetDescription() string

func (*BackupVault) GetEffectiveTime added in v1.2.0

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

func (*BackupVault) GetEtag added in v1.2.0

func (x *BackupVault) GetEtag() string

func (*BackupVault) GetLabels added in v1.2.0

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

func (*BackupVault) GetName added in v1.2.0

func (x *BackupVault) GetName() string

func (*BackupVault) GetServiceAccount added in v1.2.0

func (x *BackupVault) GetServiceAccount() string

func (*BackupVault) GetState added in v1.2.0

func (x *BackupVault) GetState() BackupVault_State

func (*BackupVault) GetTotalStoredBytes added in v1.2.0

func (x *BackupVault) GetTotalStoredBytes() int64

func (*BackupVault) GetUid added in v1.2.0

func (x *BackupVault) GetUid() string

func (*BackupVault) GetUpdateTime added in v1.2.0

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

func (*BackupVault) ProtoMessage added in v1.2.0

func (*BackupVault) ProtoMessage()

func (*BackupVault) ProtoReflect added in v1.2.0

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

func (*BackupVault) Reset added in v1.2.0

func (x *BackupVault) Reset()

func (*BackupVault) String added in v1.2.0

func (x *BackupVault) String() string

type BackupVaultView added in v1.2.0

type BackupVaultView int32

BackupVaultView contains enum options for Partial and Full view.

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 added in v1.2.0

func (BackupVaultView) Enum added in v1.2.0

func (x BackupVaultView) Enum() *BackupVaultView

func (BackupVaultView) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupVaultView.Descriptor instead.

func (BackupVaultView) Number added in v1.2.0

func (BackupVaultView) String added in v1.2.0

func (x BackupVaultView) String() string

func (BackupVaultView) Type added in v1.2.0

type BackupVault_AccessRestriction added in v1.2.0

type BackupVault_AccessRestriction int32

Holds the access restriction for the backup vault.

const (
	// Access restriction not set.
	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
)

func (BackupVault_AccessRestriction) Descriptor added in v1.2.0

func (BackupVault_AccessRestriction) Enum added in v1.2.0

func (BackupVault_AccessRestriction) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupVault_AccessRestriction.Descriptor instead.

func (BackupVault_AccessRestriction) Number added in v1.2.0

func (BackupVault_AccessRestriction) String added in v1.2.0

func (BackupVault_AccessRestriction) Type added in v1.2.0

type BackupVault_State added in v1.2.0

type BackupVault_State int32

Holds the state of the backup vault resource.

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 added in v1.2.0

func (BackupVault_State) Enum added in v1.2.0

func (BackupVault_State) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupVault_State.Descriptor instead.

func (BackupVault_State) Number added in v1.2.0

func (BackupVault_State) String added in v1.2.0

func (x BackupVault_State) String() string

func (BackupVault_State) Type added in v1.2.0

type BackupView added in v1.2.0

type BackupView int32

BackupView contains enum options for Partial and Full view.

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 added in v1.2.0

func (BackupView) Descriptor() protoreflect.EnumDescriptor

func (BackupView) Enum added in v1.2.0

func (x BackupView) Enum() *BackupView

func (BackupView) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use BackupView.Descriptor instead.

func (BackupView) Number added in v1.2.0

func (x BackupView) Number() protoreflect.EnumNumber

func (BackupView) String added in v1.2.0

func (x BackupView) String() string

func (BackupView) Type added in v1.2.0

type BackupWindow added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use BackupWindow.ProtoReflect.Descriptor instead.

func (*BackupWindow) GetEndHourOfDay added in v1.2.0

func (x *BackupWindow) GetEndHourOfDay() int32

func (*BackupWindow) GetStartHourOfDay added in v1.2.0

func (x *BackupWindow) GetStartHourOfDay() int32

func (*BackupWindow) ProtoMessage added in v1.2.0

func (*BackupWindow) ProtoMessage()

func (*BackupWindow) ProtoReflect added in v1.2.0

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

func (*BackupWindow) Reset added in v1.2.0

func (x *BackupWindow) Reset()

func (*BackupWindow) String added in v1.2.0

func (x *BackupWindow) String() string

type Backup_BackupApplianceBackupProperties added in v1.2.0

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"`
}

type Backup_BackupType added in v1.2.0

type Backup_BackupType int32

Type of the backup, scheduled or ondemand.

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 added in v1.2.0

func (Backup_BackupType) Enum added in v1.2.0

func (Backup_BackupType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Backup_BackupType.Descriptor instead.

func (Backup_BackupType) Number added in v1.2.0

func (Backup_BackupType) String added in v1.2.0

func (x Backup_BackupType) String() string

func (Backup_BackupType) Type added in v1.2.0

type Backup_ComputeInstanceBackupProperties added in v1.2.0

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"`
}

type Backup_GCPBackupPlanInfo added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use Backup_GCPBackupPlanInfo.ProtoReflect.Descriptor instead.

func (*Backup_GCPBackupPlanInfo) GetBackupPlan added in v1.2.0

func (x *Backup_GCPBackupPlanInfo) GetBackupPlan() string

func (*Backup_GCPBackupPlanInfo) GetBackupPlanRuleId added in v1.2.0

func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRuleId() string

func (*Backup_GCPBackupPlanInfo) ProtoMessage added in v1.2.0

func (*Backup_GCPBackupPlanInfo) ProtoMessage()

func (*Backup_GCPBackupPlanInfo) ProtoReflect added in v1.2.0

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

func (*Backup_GCPBackupPlanInfo) Reset added in v1.2.0

func (x *Backup_GCPBackupPlanInfo) Reset()

func (*Backup_GCPBackupPlanInfo) String added in v1.2.0

func (x *Backup_GCPBackupPlanInfo) String() string

type Backup_GcpBackupPlanInfo added in v1.2.0

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"`
}

type Backup_State added in v1.2.0

type Backup_State int32

Holds the state of the backup resource.

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 added in v1.2.0

func (Backup_State) Enum added in v1.2.0

func (x Backup_State) Enum() *Backup_State

func (Backup_State) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number added in v1.2.0

func (Backup_State) String added in v1.2.0

func (x Backup_State) String() string

func (Backup_State) Type added in v1.2.0

type ComputeInstanceBackupProperties added in v1.2.0

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 `` /* 196-byte string literal not displayed */
	// 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 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

ComputeInstanceBackupProperties represents Compute Engine instance backup properties.

func (*ComputeInstanceBackupProperties) Descriptor deprecated added in v1.2.0

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

Deprecated: Use ComputeInstanceBackupProperties.ProtoReflect.Descriptor instead.

func (*ComputeInstanceBackupProperties) GetCanIpForward added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetCanIpForward() bool

func (*ComputeInstanceBackupProperties) GetDescription added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetDescription() string

func (*ComputeInstanceBackupProperties) GetDisk added in v1.2.0

func (*ComputeInstanceBackupProperties) GetGuestAccelerator added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetGuestAccelerator() []*AcceleratorConfig

func (*ComputeInstanceBackupProperties) GetKeyRevocationActionType added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetKeyRevocationActionType() KeyRevocationActionType

func (*ComputeInstanceBackupProperties) GetLabels added in v1.2.0

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

func (*ComputeInstanceBackupProperties) GetMachineType added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetMachineType() string

func (*ComputeInstanceBackupProperties) GetMetadata added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetMetadata() *Metadata

func (*ComputeInstanceBackupProperties) GetMinCpuPlatform added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetMinCpuPlatform() string

func (*ComputeInstanceBackupProperties) GetNetworkInterface added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetNetworkInterface() []*NetworkInterface

func (*ComputeInstanceBackupProperties) GetScheduling added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetScheduling() *Scheduling

func (*ComputeInstanceBackupProperties) GetServiceAccount added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetServiceAccount() []*ServiceAccount

func (*ComputeInstanceBackupProperties) GetSourceInstance added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetSourceInstance() string

func (*ComputeInstanceBackupProperties) GetTags added in v1.2.0

func (x *ComputeInstanceBackupProperties) GetTags() *Tags

func (*ComputeInstanceBackupProperties) ProtoMessage added in v1.2.0

func (*ComputeInstanceBackupProperties) ProtoMessage()

func (*ComputeInstanceBackupProperties) ProtoReflect added in v1.2.0

func (*ComputeInstanceBackupProperties) Reset added in v1.2.0

func (*ComputeInstanceBackupProperties) String added in v1.2.0

type ComputeInstanceDataSourceProperties added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ComputeInstanceDataSourceProperties.ProtoReflect.Descriptor instead.

func (*ComputeInstanceDataSourceProperties) GetDescription added in v1.2.0

func (x *ComputeInstanceDataSourceProperties) GetDescription() string

func (*ComputeInstanceDataSourceProperties) GetMachineType added in v1.2.0

func (x *ComputeInstanceDataSourceProperties) GetMachineType() string

func (*ComputeInstanceDataSourceProperties) GetName added in v1.2.0

func (*ComputeInstanceDataSourceProperties) GetTotalDiskCount added in v1.2.0

func (x *ComputeInstanceDataSourceProperties) GetTotalDiskCount() int64

func (*ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb added in v1.2.0

func (x *ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb() int64

func (*ComputeInstanceDataSourceProperties) ProtoMessage added in v1.2.0

func (*ComputeInstanceDataSourceProperties) ProtoMessage()

func (*ComputeInstanceDataSourceProperties) ProtoReflect added in v1.2.0

func (*ComputeInstanceDataSourceProperties) Reset added in v1.2.0

func (*ComputeInstanceDataSourceProperties) String added in v1.2.0

type ComputeInstanceRestoreProperties added in v1.2.0

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 `` /* 138-byte string literal not displayed */
	// 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 `` /* 147-byte string literal not displayed */
	// 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.
	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 `` /* 133-byte string literal not displayed */
	// Optional. KeyRevocationActionType of the instance.
	KeyRevocationActionType *KeyRevocationActionType `` /* 196-byte string literal not displayed */
	// Optional. Labels to apply to this instance.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// 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.
	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 `` /* 142-byte string literal not displayed */
	// 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 `` /* 237-byte string literal not displayed */
	// Optional. Specifies the reservations that this instance can consume from.
	AllocationAffinity *AllocationAffinity `protobuf:"bytes,21,opt,name=allocation_affinity,json=allocationAffinity,proto3,oneof" json:"allocation_affinity,omitempty"`
	// Optional. Resource policies applied to this instance.
	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 deprecated added in v1.2.0

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

Deprecated: Use ComputeInstanceRestoreProperties.ProtoReflect.Descriptor instead.

func (*ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures() *AdvancedMachineFeatures

func (*ComputeInstanceRestoreProperties) GetAllocationAffinity added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetAllocationAffinity() *AllocationAffinity

func (*ComputeInstanceRestoreProperties) GetCanIpForward added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetCanIpForward() bool

func (*ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig() *ConfidentialInstanceConfig

func (*ComputeInstanceRestoreProperties) GetDeletionProtection added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetDeletionProtection() bool

func (*ComputeInstanceRestoreProperties) GetDescription added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetDescription() string

func (*ComputeInstanceRestoreProperties) GetDisks added in v1.2.0

func (*ComputeInstanceRestoreProperties) GetDisplayDevice added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetDisplayDevice() *DisplayDevice

func (*ComputeInstanceRestoreProperties) GetGuestAccelerators added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetGuestAccelerators() []*AcceleratorConfig

func (*ComputeInstanceRestoreProperties) GetHostname added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetHostname() string

func (*ComputeInstanceRestoreProperties) GetInstanceEncryptionKey added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetInstanceEncryptionKey() *CustomerEncryptionKey

func (*ComputeInstanceRestoreProperties) GetKeyRevocationActionType added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetKeyRevocationActionType() KeyRevocationActionType

func (*ComputeInstanceRestoreProperties) GetLabels added in v1.2.0

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

func (*ComputeInstanceRestoreProperties) GetMachineType added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetMachineType() string

func (*ComputeInstanceRestoreProperties) GetMetadata added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetMetadata() *Metadata

func (*ComputeInstanceRestoreProperties) GetMinCpuPlatform added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetMinCpuPlatform() string

func (*ComputeInstanceRestoreProperties) GetName added in v1.2.0

func (*ComputeInstanceRestoreProperties) GetNetworkInterfaces added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetNetworkInterfaces() []*NetworkInterface

func (*ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig() *NetworkPerformanceConfig

func (*ComputeInstanceRestoreProperties) GetParams added in v1.2.0

func (*ComputeInstanceRestoreProperties) GetPrivateIpv6GoogleAccess added in v1.2.0

func (*ComputeInstanceRestoreProperties) GetResourcePolicies added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetResourcePolicies() []string

func (*ComputeInstanceRestoreProperties) GetScheduling added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetScheduling() *Scheduling

func (*ComputeInstanceRestoreProperties) GetServiceAccounts added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetServiceAccounts() []*ServiceAccount

func (*ComputeInstanceRestoreProperties) GetTags added in v1.2.0

func (x *ComputeInstanceRestoreProperties) GetTags() *Tags

func (*ComputeInstanceRestoreProperties) ProtoMessage added in v1.2.0

func (*ComputeInstanceRestoreProperties) ProtoMessage()

func (*ComputeInstanceRestoreProperties) ProtoReflect added in v1.2.0

func (*ComputeInstanceRestoreProperties) Reset added in v1.2.0

func (*ComputeInstanceRestoreProperties) String added in v1.2.0

type ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess added in v1.2.0

type ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess int32

The private IPv6 google access type for the VMs.

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 added in v1.2.0

func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Enum added in v1.2.0

func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) EnumDescriptor deprecated added in v1.2.0

Deprecated: Use ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess.Descriptor instead.

func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Number added in v1.2.0

func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) String added in v1.2.0

func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Type added in v1.2.0

type ComputeInstanceTargetEnvironment added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ComputeInstanceTargetEnvironment.ProtoReflect.Descriptor instead.

func (*ComputeInstanceTargetEnvironment) GetProject added in v1.2.0

func (x *ComputeInstanceTargetEnvironment) GetProject() string

func (*ComputeInstanceTargetEnvironment) GetZone added in v1.2.0

func (*ComputeInstanceTargetEnvironment) ProtoMessage added in v1.2.0

func (*ComputeInstanceTargetEnvironment) ProtoMessage()

func (*ComputeInstanceTargetEnvironment) ProtoReflect added in v1.2.0

func (*ComputeInstanceTargetEnvironment) Reset added in v1.2.0

func (*ComputeInstanceTargetEnvironment) String added in v1.2.0

type ConfidentialInstanceConfig added in v1.2.0

type ConfidentialInstanceConfig struct {

	// Optional. Defines whether the instance should have confidential compute
	// enabled.
	EnableConfidentialCompute *bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of Confidential Instance options.

func (*ConfidentialInstanceConfig) Descriptor deprecated added in v1.2.0

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

Deprecated: Use ConfidentialInstanceConfig.ProtoReflect.Descriptor instead.

func (*ConfidentialInstanceConfig) GetEnableConfidentialCompute added in v1.2.0

func (x *ConfidentialInstanceConfig) GetEnableConfidentialCompute() bool

func (*ConfidentialInstanceConfig) ProtoMessage added in v1.2.0

func (*ConfidentialInstanceConfig) ProtoMessage()

func (*ConfidentialInstanceConfig) ProtoReflect added in v1.2.0

func (*ConfidentialInstanceConfig) Reset added in v1.2.0

func (x *ConfidentialInstanceConfig) Reset()

func (*ConfidentialInstanceConfig) String added in v1.2.0

func (x *ConfidentialInstanceConfig) String() string

type CreateBackupPlanAssociationRequest added in v1.2.0

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 `` /* 134-byte string literal not displayed */
	// Required. The resource being created
	BackupPlanAssociation *BackupPlanAssociation `` /* 126-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use CreateBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociation added in v1.2.0

func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociation() *BackupPlanAssociation

func (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId added in v1.2.0

func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId() string

func (*CreateBackupPlanAssociationRequest) GetParent added in v1.2.0

func (*CreateBackupPlanAssociationRequest) GetRequestId added in v1.2.0

func (x *CreateBackupPlanAssociationRequest) GetRequestId() string

func (*CreateBackupPlanAssociationRequest) ProtoMessage added in v1.2.0

func (*CreateBackupPlanAssociationRequest) ProtoMessage()

func (*CreateBackupPlanAssociationRequest) ProtoReflect added in v1.2.0

func (*CreateBackupPlanAssociationRequest) Reset added in v1.2.0

func (*CreateBackupPlanAssociationRequest) String added in v1.2.0

type CreateBackupPlanRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use CreateBackupPlanRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupPlanRequest) GetBackupPlan added in v1.2.0

func (x *CreateBackupPlanRequest) GetBackupPlan() *BackupPlan

func (*CreateBackupPlanRequest) GetBackupPlanId added in v1.2.0

func (x *CreateBackupPlanRequest) GetBackupPlanId() string

func (*CreateBackupPlanRequest) GetParent added in v1.2.0

func (x *CreateBackupPlanRequest) GetParent() string

func (*CreateBackupPlanRequest) GetRequestId added in v1.2.0

func (x *CreateBackupPlanRequest) GetRequestId() string

func (*CreateBackupPlanRequest) ProtoMessage added in v1.2.0

func (*CreateBackupPlanRequest) ProtoMessage()

func (*CreateBackupPlanRequest) ProtoReflect added in v1.2.0

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

func (*CreateBackupPlanRequest) Reset added in v1.2.0

func (x *CreateBackupPlanRequest) Reset()

func (*CreateBackupPlanRequest) String added in v1.2.0

func (x *CreateBackupPlanRequest) String() string

type CreateBackupVaultRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use CreateBackupVaultRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupVaultRequest) GetBackupVault added in v1.2.0

func (x *CreateBackupVaultRequest) GetBackupVault() *BackupVault

func (*CreateBackupVaultRequest) GetBackupVaultId added in v1.2.0

func (x *CreateBackupVaultRequest) GetBackupVaultId() string

func (*CreateBackupVaultRequest) GetParent added in v1.2.0

func (x *CreateBackupVaultRequest) GetParent() string

func (*CreateBackupVaultRequest) GetRequestId added in v1.2.0

func (x *CreateBackupVaultRequest) GetRequestId() string

func (*CreateBackupVaultRequest) GetValidateOnly added in v1.2.0

func (x *CreateBackupVaultRequest) GetValidateOnly() bool

func (*CreateBackupVaultRequest) ProtoMessage added in v1.2.0

func (*CreateBackupVaultRequest) ProtoMessage()

func (*CreateBackupVaultRequest) ProtoReflect added in v1.2.0

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

func (*CreateBackupVaultRequest) Reset added in v1.2.0

func (x *CreateBackupVaultRequest) Reset()

func (*CreateBackupVaultRequest) String added in v1.2.0

func (x *CreateBackupVaultRequest) String() string

type CreateManagementServerRequest

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 deprecated

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

Deprecated: Use CreateManagementServerRequest.ProtoReflect.Descriptor instead.

func (*CreateManagementServerRequest) GetManagementServer

func (x *CreateManagementServerRequest) GetManagementServer() *ManagementServer

func (*CreateManagementServerRequest) GetManagementServerId

func (x *CreateManagementServerRequest) GetManagementServerId() string

func (*CreateManagementServerRequest) GetParent

func (x *CreateManagementServerRequest) GetParent() string

func (*CreateManagementServerRequest) GetRequestId

func (x *CreateManagementServerRequest) GetRequestId() string

func (*CreateManagementServerRequest) ProtoMessage

func (*CreateManagementServerRequest) ProtoMessage()

func (*CreateManagementServerRequest) ProtoReflect

func (*CreateManagementServerRequest) Reset

func (x *CreateManagementServerRequest) Reset()

func (*CreateManagementServerRequest) String

type CustomerEncryptionKey added in v1.2.0

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 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

A customer-supplied encryption key.

func (*CustomerEncryptionKey) Descriptor deprecated added in v1.2.0

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

Deprecated: Use CustomerEncryptionKey.ProtoReflect.Descriptor instead.

func (*CustomerEncryptionKey) GetKey added in v1.2.0

func (m *CustomerEncryptionKey) GetKey() isCustomerEncryptionKey_Key

func (*CustomerEncryptionKey) GetKmsKeyName added in v1.2.0

func (x *CustomerEncryptionKey) GetKmsKeyName() string

func (*CustomerEncryptionKey) GetKmsKeyServiceAccount added in v1.2.0

func (x *CustomerEncryptionKey) GetKmsKeyServiceAccount() string

func (*CustomerEncryptionKey) GetRawKey added in v1.2.0

func (x *CustomerEncryptionKey) GetRawKey() string

func (*CustomerEncryptionKey) GetRsaEncryptedKey added in v1.2.0

func (x *CustomerEncryptionKey) GetRsaEncryptedKey() string

func (*CustomerEncryptionKey) ProtoMessage added in v1.2.0

func (*CustomerEncryptionKey) ProtoMessage()

func (*CustomerEncryptionKey) ProtoReflect added in v1.2.0

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

func (*CustomerEncryptionKey) Reset added in v1.2.0

func (x *CustomerEncryptionKey) Reset()

func (*CustomerEncryptionKey) String added in v1.2.0

func (x *CustomerEncryptionKey) String() string

type CustomerEncryptionKey_KmsKeyName added in v1.2.0

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"`
}

type CustomerEncryptionKey_RawKey added in v1.2.0

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"`
}

type CustomerEncryptionKey_RsaEncryptedKey added in v1.2.0

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"`
}

type DataSource added in v1.2.0

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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 144-byte string literal not displayed */
	// 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"`
	// 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 deprecated added in v1.2.0

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetBackupConfigInfo added in v1.2.0

func (x *DataSource) GetBackupConfigInfo() *BackupConfigInfo

func (*DataSource) GetBackupCount added in v1.2.0

func (x *DataSource) GetBackupCount() int64

func (*DataSource) GetConfigState added in v1.2.0

func (x *DataSource) GetConfigState() BackupConfigState

func (*DataSource) GetCreateTime added in v1.2.0

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

func (*DataSource) GetDataSourceBackupApplianceApplication added in v1.2.0

func (x *DataSource) GetDataSourceBackupApplianceApplication() *DataSourceBackupApplianceApplication

func (*DataSource) GetDataSourceGcpResource added in v1.2.0

func (x *DataSource) GetDataSourceGcpResource() *DataSourceGcpResource

func (*DataSource) GetEtag added in v1.2.0

func (x *DataSource) GetEtag() string

func (*DataSource) GetLabels added in v1.2.0

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

func (*DataSource) GetName added in v1.2.0

func (x *DataSource) GetName() string

func (*DataSource) GetSourceResource added in v1.2.0

func (m *DataSource) GetSourceResource() isDataSource_SourceResource

func (*DataSource) GetState added in v1.2.0

func (x *DataSource) GetState() DataSource_State

func (*DataSource) GetTotalStoredBytes added in v1.2.0

func (x *DataSource) GetTotalStoredBytes() int64

func (*DataSource) GetUpdateTime added in v1.2.0

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

func (*DataSource) ProtoMessage added in v1.2.0

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect added in v1.2.0

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

func (*DataSource) Reset added in v1.2.0

func (x *DataSource) Reset()

func (*DataSource) String added in v1.2.0

func (x *DataSource) String() string

type DataSourceBackupApplianceApplication added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use DataSourceBackupApplianceApplication.ProtoReflect.Descriptor instead.

func (*DataSourceBackupApplianceApplication) GetApplianceId added in v1.2.0

func (x *DataSourceBackupApplianceApplication) GetApplianceId() int64

func (*DataSourceBackupApplianceApplication) GetApplicationId added in v1.2.0

func (x *DataSourceBackupApplianceApplication) GetApplicationId() int64

func (*DataSourceBackupApplianceApplication) GetApplicationName added in v1.2.0

func (x *DataSourceBackupApplianceApplication) GetApplicationName() string

func (*DataSourceBackupApplianceApplication) GetBackupAppliance added in v1.2.0

func (x *DataSourceBackupApplianceApplication) GetBackupAppliance() string

func (*DataSourceBackupApplianceApplication) GetHostId added in v1.2.0

func (*DataSourceBackupApplianceApplication) GetHostname added in v1.2.0

func (*DataSourceBackupApplianceApplication) GetType added in v1.2.0

func (*DataSourceBackupApplianceApplication) ProtoMessage added in v1.2.0

func (*DataSourceBackupApplianceApplication) ProtoMessage()

func (*DataSourceBackupApplianceApplication) ProtoReflect added in v1.2.0

func (*DataSourceBackupApplianceApplication) Reset added in v1.2.0

func (*DataSourceBackupApplianceApplication) String added in v1.2.0

type DataSourceGcpResource added in v1.2.0

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: <region>/<zone>/"global"/"unspecified".
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// The type of the Google Cloud resource. Use the Unified Resource Type,
	// eg. compute.googleapis.com/Instance.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// gcp_Properties has properties of the Google Cloud Resource.
	//
	// Types that are assignable to GcpResourceProperties:
	//
	//	*DataSourceGcpResource_ComputeInstanceDatasourceProperties
	GcpResourceProperties isDataSourceGcpResource_GcpResourceProperties `protobuf_oneof:"gcp_resource_properties"`
	// contains filtered or unexported fields
}

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

func (*DataSourceGcpResource) Descriptor deprecated added in v1.2.0

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

Deprecated: Use DataSourceGcpResource.ProtoReflect.Descriptor instead.

func (*DataSourceGcpResource) GetComputeInstanceDatasourceProperties added in v1.2.0

func (x *DataSourceGcpResource) GetComputeInstanceDatasourceProperties() *ComputeInstanceDataSourceProperties

func (*DataSourceGcpResource) GetGcpResourceProperties added in v1.2.0

func (m *DataSourceGcpResource) GetGcpResourceProperties() isDataSourceGcpResource_GcpResourceProperties

func (*DataSourceGcpResource) GetGcpResourcename added in v1.2.0

func (x *DataSourceGcpResource) GetGcpResourcename() string

func (*DataSourceGcpResource) GetLocation added in v1.2.0

func (x *DataSourceGcpResource) GetLocation() string

func (*DataSourceGcpResource) GetType added in v1.2.0

func (x *DataSourceGcpResource) GetType() string

func (*DataSourceGcpResource) ProtoMessage added in v1.2.0

func (*DataSourceGcpResource) ProtoMessage()

func (*DataSourceGcpResource) ProtoReflect added in v1.2.0

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

func (*DataSourceGcpResource) Reset added in v1.2.0

func (x *DataSourceGcpResource) Reset()

func (*DataSourceGcpResource) String added in v1.2.0

func (x *DataSourceGcpResource) String() string

type DataSourceGcpResource_ComputeInstanceDatasourceProperties added in v1.2.0

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"`
}

type DataSource_DataSourceBackupApplianceApplication added in v1.2.0

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"`
}

type DataSource_DataSourceGcpResource added in v1.2.0

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"`
}

type DataSource_State added in v1.2.0

type DataSource_State int32

Holds the state of the data source resource.

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 added in v1.2.0

func (DataSource_State) Enum added in v1.2.0

func (DataSource_State) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use DataSource_State.Descriptor instead.

func (DataSource_State) Number added in v1.2.0

func (DataSource_State) String added in v1.2.0

func (x DataSource_State) String() string

func (DataSource_State) Type added in v1.2.0

type DeleteBackupPlanAssociationRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use DeleteBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupPlanAssociationRequest) GetName added in v1.2.0

func (*DeleteBackupPlanAssociationRequest) GetRequestId added in v1.2.0

func (x *DeleteBackupPlanAssociationRequest) GetRequestId() string

func (*DeleteBackupPlanAssociationRequest) ProtoMessage added in v1.2.0

func (*DeleteBackupPlanAssociationRequest) ProtoMessage()

func (*DeleteBackupPlanAssociationRequest) ProtoReflect added in v1.2.0

func (*DeleteBackupPlanAssociationRequest) Reset added in v1.2.0

func (*DeleteBackupPlanAssociationRequest) String added in v1.2.0

type DeleteBackupPlanRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use DeleteBackupPlanRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupPlanRequest) GetName added in v1.2.0

func (x *DeleteBackupPlanRequest) GetName() string

func (*DeleteBackupPlanRequest) GetRequestId added in v1.2.0

func (x *DeleteBackupPlanRequest) GetRequestId() string

func (*DeleteBackupPlanRequest) ProtoMessage added in v1.2.0

func (*DeleteBackupPlanRequest) ProtoMessage()

func (*DeleteBackupPlanRequest) ProtoReflect added in v1.2.0

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

func (*DeleteBackupPlanRequest) Reset added in v1.2.0

func (x *DeleteBackupPlanRequest) Reset()

func (*DeleteBackupPlanRequest) String added in v1.2.0

func (x *DeleteBackupPlanRequest) String() string

type DeleteBackupRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetName added in v1.2.0

func (x *DeleteBackupRequest) GetName() string

func (*DeleteBackupRequest) GetRequestId added in v1.2.0

func (x *DeleteBackupRequest) GetRequestId() string

func (*DeleteBackupRequest) ProtoMessage added in v1.2.0

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect added in v1.2.0

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

func (*DeleteBackupRequest) Reset added in v1.2.0

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) String added in v1.2.0

func (x *DeleteBackupRequest) String() string

type DeleteBackupVaultRequest added in v1.2.0

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"`
	// contains filtered or unexported fields
}

Message for deleting a BackupVault.

func (*DeleteBackupVaultRequest) Descriptor deprecated added in v1.2.0

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

Deprecated: Use DeleteBackupVaultRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupVaultRequest) GetAllowMissing added in v1.2.0

func (x *DeleteBackupVaultRequest) GetAllowMissing() bool

func (*DeleteBackupVaultRequest) GetEtag added in v1.2.0

func (x *DeleteBackupVaultRequest) GetEtag() string

func (*DeleteBackupVaultRequest) GetForce added in v1.2.0

func (x *DeleteBackupVaultRequest) GetForce() bool

func (*DeleteBackupVaultRequest) GetName added in v1.2.0

func (x *DeleteBackupVaultRequest) GetName() string

func (*DeleteBackupVaultRequest) GetRequestId added in v1.2.0

func (x *DeleteBackupVaultRequest) GetRequestId() string

func (*DeleteBackupVaultRequest) GetValidateOnly added in v1.2.0

func (x *DeleteBackupVaultRequest) GetValidateOnly() bool

func (*DeleteBackupVaultRequest) ProtoMessage added in v1.2.0

func (*DeleteBackupVaultRequest) ProtoMessage()

func (*DeleteBackupVaultRequest) ProtoReflect added in v1.2.0

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

func (*DeleteBackupVaultRequest) Reset added in v1.2.0

func (x *DeleteBackupVaultRequest) Reset()

func (*DeleteBackupVaultRequest) String added in v1.2.0

func (x *DeleteBackupVaultRequest) String() string

type DeleteManagementServerRequest

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 deprecated

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

Deprecated: Use DeleteManagementServerRequest.ProtoReflect.Descriptor instead.

func (*DeleteManagementServerRequest) GetName

func (*DeleteManagementServerRequest) GetRequestId

func (x *DeleteManagementServerRequest) GetRequestId() string

func (*DeleteManagementServerRequest) ProtoMessage

func (*DeleteManagementServerRequest) ProtoMessage()

func (*DeleteManagementServerRequest) ProtoReflect

func (*DeleteManagementServerRequest) Reset

func (x *DeleteManagementServerRequest) Reset()

func (*DeleteManagementServerRequest) String

type DisplayDevice added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use DisplayDevice.ProtoReflect.Descriptor instead.

func (*DisplayDevice) GetEnableDisplay added in v1.2.0

func (x *DisplayDevice) GetEnableDisplay() bool

func (*DisplayDevice) ProtoMessage added in v1.2.0

func (*DisplayDevice) ProtoMessage()

func (*DisplayDevice) ProtoReflect added in v1.2.0

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

func (*DisplayDevice) Reset added in v1.2.0

func (x *DisplayDevice) Reset()

func (*DisplayDevice) String added in v1.2.0

func (x *DisplayDevice) String() string

type Entry added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetKey added in v1.2.0

func (x *Entry) GetKey() string

func (*Entry) GetValue added in v1.2.0

func (x *Entry) GetValue() string

func (*Entry) ProtoMessage added in v1.2.0

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect added in v1.2.0

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

func (*Entry) Reset added in v1.2.0

func (x *Entry) Reset()

func (*Entry) String added in v1.2.0

func (x *Entry) String() string

type FetchUsableBackupVaultsRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use FetchUsableBackupVaultsRequest.ProtoReflect.Descriptor instead.

func (*FetchUsableBackupVaultsRequest) GetFilter added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) GetFilter() string

func (*FetchUsableBackupVaultsRequest) GetOrderBy added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) GetOrderBy() string

func (*FetchUsableBackupVaultsRequest) GetPageSize added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) GetPageSize() int32

func (*FetchUsableBackupVaultsRequest) GetPageToken added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) GetPageToken() string

func (*FetchUsableBackupVaultsRequest) GetParent added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) GetParent() string

func (*FetchUsableBackupVaultsRequest) ProtoMessage added in v1.2.0

func (*FetchUsableBackupVaultsRequest) ProtoMessage()

func (*FetchUsableBackupVaultsRequest) ProtoReflect added in v1.2.0

func (*FetchUsableBackupVaultsRequest) Reset added in v1.2.0

func (x *FetchUsableBackupVaultsRequest) Reset()

func (*FetchUsableBackupVaultsRequest) String added in v1.2.0

type FetchUsableBackupVaultsResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use FetchUsableBackupVaultsResponse.ProtoReflect.Descriptor instead.

func (*FetchUsableBackupVaultsResponse) GetBackupVaults added in v1.2.0

func (x *FetchUsableBackupVaultsResponse) GetBackupVaults() []*BackupVault

func (*FetchUsableBackupVaultsResponse) GetNextPageToken added in v1.2.0

func (x *FetchUsableBackupVaultsResponse) GetNextPageToken() string

func (*FetchUsableBackupVaultsResponse) GetUnreachable added in v1.2.0

func (x *FetchUsableBackupVaultsResponse) GetUnreachable() []string

func (*FetchUsableBackupVaultsResponse) ProtoMessage added in v1.2.0

func (*FetchUsableBackupVaultsResponse) ProtoMessage()

func (*FetchUsableBackupVaultsResponse) ProtoReflect added in v1.2.0

func (*FetchUsableBackupVaultsResponse) Reset added in v1.2.0

func (*FetchUsableBackupVaultsResponse) String added in v1.2.0

type GcpBackupConfig added in v1.2.0

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 `` /* 126-byte string literal not displayed */
	// The name of the backup plan association.
	BackupPlanAssociation string `` /* 126-byte string literal not displayed */
	// 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"`
	// 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 deprecated added in v1.2.0

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

Deprecated: Use GcpBackupConfig.ProtoReflect.Descriptor instead.

func (*GcpBackupConfig) GetBackupPlan added in v1.2.0

func (x *GcpBackupConfig) GetBackupPlan() string

func (*GcpBackupConfig) GetBackupPlanAssociation added in v1.2.0

func (x *GcpBackupConfig) GetBackupPlanAssociation() string

func (*GcpBackupConfig) GetBackupPlanDescription added in v1.2.0

func (x *GcpBackupConfig) GetBackupPlanDescription() string

func (*GcpBackupConfig) GetBackupPlanRules added in v1.2.0

func (x *GcpBackupConfig) GetBackupPlanRules() []string

func (*GcpBackupConfig) ProtoMessage added in v1.2.0

func (*GcpBackupConfig) ProtoMessage()

func (*GcpBackupConfig) ProtoReflect added in v1.2.0

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

func (*GcpBackupConfig) Reset added in v1.2.0

func (x *GcpBackupConfig) Reset()

func (*GcpBackupConfig) String added in v1.2.0

func (x *GcpBackupConfig) String() string

type GcpResource added in v1.2.0

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: <region>/<zone>/"global"/"unspecified".
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Type of the resource. Use the Unified Resource Type,
	// eg. compute.googleapis.com/Instance.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Minimum details to identify a Google Cloud resource

func (*GcpResource) Descriptor deprecated added in v1.2.0

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

Deprecated: Use GcpResource.ProtoReflect.Descriptor instead.

func (*GcpResource) GetGcpResourcename added in v1.2.0

func (x *GcpResource) GetGcpResourcename() string

func (*GcpResource) GetLocation added in v1.2.0

func (x *GcpResource) GetLocation() string

func (*GcpResource) GetType added in v1.2.0

func (x *GcpResource) GetType() string

func (*GcpResource) ProtoMessage added in v1.2.0

func (*GcpResource) ProtoMessage()

func (*GcpResource) ProtoReflect added in v1.2.0

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

func (*GcpResource) Reset added in v1.2.0

func (x *GcpResource) Reset()

func (*GcpResource) String added in v1.2.0

func (x *GcpResource) String() string

type GetBackupPlanAssociationRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GetBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.

func (*GetBackupPlanAssociationRequest) GetName added in v1.2.0

func (*GetBackupPlanAssociationRequest) ProtoMessage added in v1.2.0

func (*GetBackupPlanAssociationRequest) ProtoMessage()

func (*GetBackupPlanAssociationRequest) ProtoReflect added in v1.2.0

func (*GetBackupPlanAssociationRequest) Reset added in v1.2.0

func (*GetBackupPlanAssociationRequest) String added in v1.2.0

type GetBackupPlanRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GetBackupPlanRequest.ProtoReflect.Descriptor instead.

func (*GetBackupPlanRequest) GetName added in v1.2.0

func (x *GetBackupPlanRequest) GetName() string

func (*GetBackupPlanRequest) ProtoMessage added in v1.2.0

func (*GetBackupPlanRequest) ProtoMessage()

func (*GetBackupPlanRequest) ProtoReflect added in v1.2.0

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

func (*GetBackupPlanRequest) Reset added in v1.2.0

func (x *GetBackupPlanRequest) Reset()

func (*GetBackupPlanRequest) String added in v1.2.0

func (x *GetBackupPlanRequest) String() string

type GetBackupRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName added in v1.2.0

func (x *GetBackupRequest) GetName() string

func (*GetBackupRequest) GetView added in v1.2.0

func (x *GetBackupRequest) GetView() BackupView

func (*GetBackupRequest) ProtoMessage added in v1.2.0

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect added in v1.2.0

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

func (*GetBackupRequest) Reset added in v1.2.0

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) String added in v1.2.0

func (x *GetBackupRequest) String() string

type GetBackupVaultRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GetBackupVaultRequest.ProtoReflect.Descriptor instead.

func (*GetBackupVaultRequest) GetName added in v1.2.0

func (x *GetBackupVaultRequest) GetName() string

func (*GetBackupVaultRequest) GetView added in v1.2.0

func (*GetBackupVaultRequest) ProtoMessage added in v1.2.0

func (*GetBackupVaultRequest) ProtoMessage()

func (*GetBackupVaultRequest) ProtoReflect added in v1.2.0

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

func (*GetBackupVaultRequest) Reset added in v1.2.0

func (x *GetBackupVaultRequest) Reset()

func (*GetBackupVaultRequest) String added in v1.2.0

func (x *GetBackupVaultRequest) String() string

type GetDataSourceRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GetDataSourceRequest.ProtoReflect.Descriptor instead.

func (*GetDataSourceRequest) GetName added in v1.2.0

func (x *GetDataSourceRequest) GetName() string

func (*GetDataSourceRequest) ProtoMessage added in v1.2.0

func (*GetDataSourceRequest) ProtoMessage()

func (*GetDataSourceRequest) ProtoReflect added in v1.2.0

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

func (*GetDataSourceRequest) Reset added in v1.2.0

func (x *GetDataSourceRequest) Reset()

func (*GetDataSourceRequest) String added in v1.2.0

func (x *GetDataSourceRequest) String() string

type GetManagementServerRequest

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 deprecated

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

Deprecated: Use GetManagementServerRequest.ProtoReflect.Descriptor instead.

func (*GetManagementServerRequest) GetName

func (x *GetManagementServerRequest) GetName() string

func (*GetManagementServerRequest) ProtoMessage

func (*GetManagementServerRequest) ProtoMessage()

func (*GetManagementServerRequest) ProtoReflect

func (*GetManagementServerRequest) Reset

func (x *GetManagementServerRequest) Reset()

func (*GetManagementServerRequest) String

func (x *GetManagementServerRequest) String() string

type GuestOsFeature added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use GuestOsFeature.ProtoReflect.Descriptor instead.

func (*GuestOsFeature) GetType added in v1.2.0

func (*GuestOsFeature) ProtoMessage added in v1.2.0

func (*GuestOsFeature) ProtoMessage()

func (*GuestOsFeature) ProtoReflect added in v1.2.0

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

func (*GuestOsFeature) Reset added in v1.2.0

func (x *GuestOsFeature) Reset()

func (*GuestOsFeature) String added in v1.2.0

func (x *GuestOsFeature) String() string

type GuestOsFeature_FeatureType added in v1.2.0

type GuestOsFeature_FeatureType int32

List of the Feature Types.

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 added in v1.2.0

func (GuestOsFeature_FeatureType) Enum added in v1.2.0

func (GuestOsFeature_FeatureType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use GuestOsFeature_FeatureType.Descriptor instead.

func (GuestOsFeature_FeatureType) Number added in v1.2.0

func (GuestOsFeature_FeatureType) String added in v1.2.0

func (GuestOsFeature_FeatureType) Type added in v1.2.0

type InstanceParams added in v1.2.0

type InstanceParams struct {

	// Optional. Resource manager tags to be bound to the instance.
	ResourceManagerTags map[string]string `` /* 208-byte string literal not displayed */
	// contains filtered or unexported fields
}

Additional instance params.

func (*InstanceParams) Descriptor deprecated added in v1.2.0

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

Deprecated: Use InstanceParams.ProtoReflect.Descriptor instead.

func (*InstanceParams) GetResourceManagerTags added in v1.2.0

func (x *InstanceParams) GetResourceManagerTags() map[string]string

func (*InstanceParams) ProtoMessage added in v1.2.0

func (*InstanceParams) ProtoMessage()

func (*InstanceParams) ProtoReflect added in v1.2.0

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

func (*InstanceParams) Reset added in v1.2.0

func (x *InstanceParams) Reset()

func (*InstanceParams) String added in v1.2.0

func (x *InstanceParams) String() string

type KeyRevocationActionType added in v1.2.0

type KeyRevocationActionType int32

Specifies whether the virtual machine instance will be shut down on key revocation. It is currently used in instance, instance properties and GMI protos

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 added in v1.2.0

func (KeyRevocationActionType) Enum added in v1.2.0

func (KeyRevocationActionType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use KeyRevocationActionType.Descriptor instead.

func (KeyRevocationActionType) Number added in v1.2.0

func (KeyRevocationActionType) String added in v1.2.0

func (x KeyRevocationActionType) String() string

func (KeyRevocationActionType) Type added in v1.2.0

type ListBackupPlanAssociationsRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupPlanAssociationsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupPlanAssociationsRequest) GetFilter added in v1.2.0

func (*ListBackupPlanAssociationsRequest) GetPageSize added in v1.2.0

func (x *ListBackupPlanAssociationsRequest) GetPageSize() int32

func (*ListBackupPlanAssociationsRequest) GetPageToken added in v1.2.0

func (x *ListBackupPlanAssociationsRequest) GetPageToken() string

func (*ListBackupPlanAssociationsRequest) GetParent added in v1.2.0

func (*ListBackupPlanAssociationsRequest) ProtoMessage added in v1.2.0

func (*ListBackupPlanAssociationsRequest) ProtoMessage()

func (*ListBackupPlanAssociationsRequest) ProtoReflect added in v1.2.0

func (*ListBackupPlanAssociationsRequest) Reset added in v1.2.0

func (*ListBackupPlanAssociationsRequest) String added in v1.2.0

type ListBackupPlanAssociationsResponse added in v1.2.0

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 `` /* 129-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupPlanAssociationsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupPlanAssociationsResponse) GetBackupPlanAssociations added in v1.2.0

func (x *ListBackupPlanAssociationsResponse) GetBackupPlanAssociations() []*BackupPlanAssociation

func (*ListBackupPlanAssociationsResponse) GetNextPageToken added in v1.2.0

func (x *ListBackupPlanAssociationsResponse) GetNextPageToken() string

func (*ListBackupPlanAssociationsResponse) GetUnreachable added in v1.2.0

func (x *ListBackupPlanAssociationsResponse) GetUnreachable() []string

func (*ListBackupPlanAssociationsResponse) ProtoMessage added in v1.2.0

func (*ListBackupPlanAssociationsResponse) ProtoMessage()

func (*ListBackupPlanAssociationsResponse) ProtoReflect added in v1.2.0

func (*ListBackupPlanAssociationsResponse) Reset added in v1.2.0

func (*ListBackupPlanAssociationsResponse) String added in v1.2.0

type ListBackupPlansRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupPlansRequest.ProtoReflect.Descriptor instead.

func (*ListBackupPlansRequest) GetFilter added in v1.2.0

func (x *ListBackupPlansRequest) GetFilter() string

func (*ListBackupPlansRequest) GetOrderBy added in v1.2.0

func (x *ListBackupPlansRequest) GetOrderBy() string

func (*ListBackupPlansRequest) GetPageSize added in v1.2.0

func (x *ListBackupPlansRequest) GetPageSize() int32

func (*ListBackupPlansRequest) GetPageToken added in v1.2.0

func (x *ListBackupPlansRequest) GetPageToken() string

func (*ListBackupPlansRequest) GetParent added in v1.2.0

func (x *ListBackupPlansRequest) GetParent() string

func (*ListBackupPlansRequest) ProtoMessage added in v1.2.0

func (*ListBackupPlansRequest) ProtoMessage()

func (*ListBackupPlansRequest) ProtoReflect added in v1.2.0

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

func (*ListBackupPlansRequest) Reset added in v1.2.0

func (x *ListBackupPlansRequest) Reset()

func (*ListBackupPlansRequest) String added in v1.2.0

func (x *ListBackupPlansRequest) String() string

type ListBackupPlansResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupPlansResponse.ProtoReflect.Descriptor instead.

func (*ListBackupPlansResponse) GetBackupPlans added in v1.2.0

func (x *ListBackupPlansResponse) GetBackupPlans() []*BackupPlan

func (*ListBackupPlansResponse) GetNextPageToken added in v1.2.0

func (x *ListBackupPlansResponse) GetNextPageToken() string

func (*ListBackupPlansResponse) GetUnreachable added in v1.2.0

func (x *ListBackupPlansResponse) GetUnreachable() []string

func (*ListBackupPlansResponse) ProtoMessage added in v1.2.0

func (*ListBackupPlansResponse) ProtoMessage()

func (*ListBackupPlansResponse) ProtoReflect added in v1.2.0

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

func (*ListBackupPlansResponse) Reset added in v1.2.0

func (x *ListBackupPlansResponse) Reset()

func (*ListBackupPlansResponse) String added in v1.2.0

func (x *ListBackupPlansResponse) String() string

type ListBackupVaultsRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupVaultsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupVaultsRequest) GetFilter added in v1.2.0

func (x *ListBackupVaultsRequest) GetFilter() string

func (*ListBackupVaultsRequest) GetOrderBy added in v1.2.0

func (x *ListBackupVaultsRequest) GetOrderBy() string

func (*ListBackupVaultsRequest) GetPageSize added in v1.2.0

func (x *ListBackupVaultsRequest) GetPageSize() int32

func (*ListBackupVaultsRequest) GetPageToken added in v1.2.0

func (x *ListBackupVaultsRequest) GetPageToken() string

func (*ListBackupVaultsRequest) GetParent added in v1.2.0

func (x *ListBackupVaultsRequest) GetParent() string

func (*ListBackupVaultsRequest) GetView added in v1.2.0

func (*ListBackupVaultsRequest) ProtoMessage added in v1.2.0

func (*ListBackupVaultsRequest) ProtoMessage()

func (*ListBackupVaultsRequest) ProtoReflect added in v1.2.0

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

func (*ListBackupVaultsRequest) Reset added in v1.2.0

func (x *ListBackupVaultsRequest) Reset()

func (*ListBackupVaultsRequest) String added in v1.2.0

func (x *ListBackupVaultsRequest) String() string

type ListBackupVaultsResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupVaultsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupVaultsResponse) GetBackupVaults added in v1.2.0

func (x *ListBackupVaultsResponse) GetBackupVaults() []*BackupVault

func (*ListBackupVaultsResponse) GetNextPageToken added in v1.2.0

func (x *ListBackupVaultsResponse) GetNextPageToken() string

func (*ListBackupVaultsResponse) GetUnreachable added in v1.2.0

func (x *ListBackupVaultsResponse) GetUnreachable() []string

func (*ListBackupVaultsResponse) ProtoMessage added in v1.2.0

func (*ListBackupVaultsResponse) ProtoMessage()

func (*ListBackupVaultsResponse) ProtoReflect added in v1.2.0

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

func (*ListBackupVaultsResponse) Reset added in v1.2.0

func (x *ListBackupVaultsResponse) Reset()

func (*ListBackupVaultsResponse) String added in v1.2.0

func (x *ListBackupVaultsResponse) String() string

type ListBackupsRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFilter added in v1.2.0

func (x *ListBackupsRequest) GetFilter() string

func (*ListBackupsRequest) GetOrderBy added in v1.2.0

func (x *ListBackupsRequest) GetOrderBy() string

func (*ListBackupsRequest) GetPageSize added in v1.2.0

func (x *ListBackupsRequest) GetPageSize() int32

func (*ListBackupsRequest) GetPageToken added in v1.2.0

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) GetParent added in v1.2.0

func (x *ListBackupsRequest) GetParent() string

func (*ListBackupsRequest) GetView added in v1.2.0

func (x *ListBackupsRequest) GetView() BackupView

func (*ListBackupsRequest) ProtoMessage added in v1.2.0

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect added in v1.2.0

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

func (*ListBackupsRequest) Reset added in v1.2.0

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String added in v1.2.0

func (x *ListBackupsRequest) String() string

type ListBackupsResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups added in v1.2.0

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) GetNextPageToken added in v1.2.0

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) GetUnreachable added in v1.2.0

func (x *ListBackupsResponse) GetUnreachable() []string

func (*ListBackupsResponse) ProtoMessage added in v1.2.0

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect added in v1.2.0

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

func (*ListBackupsResponse) Reset added in v1.2.0

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String added in v1.2.0

func (x *ListBackupsResponse) String() string

type ListDataSourcesRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListDataSourcesRequest.ProtoReflect.Descriptor instead.

func (*ListDataSourcesRequest) GetFilter added in v1.2.0

func (x *ListDataSourcesRequest) GetFilter() string

func (*ListDataSourcesRequest) GetOrderBy added in v1.2.0

func (x *ListDataSourcesRequest) GetOrderBy() string

func (*ListDataSourcesRequest) GetPageSize added in v1.2.0

func (x *ListDataSourcesRequest) GetPageSize() int32

func (*ListDataSourcesRequest) GetPageToken added in v1.2.0

func (x *ListDataSourcesRequest) GetPageToken() string

func (*ListDataSourcesRequest) GetParent added in v1.2.0

func (x *ListDataSourcesRequest) GetParent() string

func (*ListDataSourcesRequest) ProtoMessage added in v1.2.0

func (*ListDataSourcesRequest) ProtoMessage()

func (*ListDataSourcesRequest) ProtoReflect added in v1.2.0

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

func (*ListDataSourcesRequest) Reset added in v1.2.0

func (x *ListDataSourcesRequest) Reset()

func (*ListDataSourcesRequest) String added in v1.2.0

func (x *ListDataSourcesRequest) String() string

type ListDataSourcesResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ListDataSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListDataSourcesResponse) GetDataSources added in v1.2.0

func (x *ListDataSourcesResponse) GetDataSources() []*DataSource

func (*ListDataSourcesResponse) GetNextPageToken added in v1.2.0

func (x *ListDataSourcesResponse) GetNextPageToken() string

func (*ListDataSourcesResponse) GetUnreachable added in v1.2.0

func (x *ListDataSourcesResponse) GetUnreachable() []string

func (*ListDataSourcesResponse) ProtoMessage added in v1.2.0

func (*ListDataSourcesResponse) ProtoMessage()

func (*ListDataSourcesResponse) ProtoReflect added in v1.2.0

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

func (*ListDataSourcesResponse) Reset added in v1.2.0

func (x *ListDataSourcesResponse) Reset()

func (*ListDataSourcesResponse) String added in v1.2.0

func (x *ListDataSourcesResponse) String() string

type ListManagementServersRequest

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 deprecated

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

Deprecated: Use ListManagementServersRequest.ProtoReflect.Descriptor instead.

func (*ListManagementServersRequest) GetFilter

func (x *ListManagementServersRequest) GetFilter() string

func (*ListManagementServersRequest) GetOrderBy

func (x *ListManagementServersRequest) GetOrderBy() string

func (*ListManagementServersRequest) GetPageSize

func (x *ListManagementServersRequest) GetPageSize() int32

func (*ListManagementServersRequest) GetPageToken

func (x *ListManagementServersRequest) GetPageToken() string

func (*ListManagementServersRequest) GetParent

func (x *ListManagementServersRequest) GetParent() string

func (*ListManagementServersRequest) ProtoMessage

func (*ListManagementServersRequest) ProtoMessage()

func (*ListManagementServersRequest) ProtoReflect

func (*ListManagementServersRequest) Reset

func (x *ListManagementServersRequest) Reset()

func (*ListManagementServersRequest) String

type ListManagementServersResponse

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 deprecated

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

Deprecated: Use ListManagementServersResponse.ProtoReflect.Descriptor instead.

func (*ListManagementServersResponse) GetManagementServers

func (x *ListManagementServersResponse) GetManagementServers() []*ManagementServer

func (*ListManagementServersResponse) GetNextPageToken

func (x *ListManagementServersResponse) GetNextPageToken() string

func (*ListManagementServersResponse) GetUnreachable

func (x *ListManagementServersResponse) GetUnreachable() []string

func (*ListManagementServersResponse) ProtoMessage

func (*ListManagementServersResponse) ProtoMessage()

func (*ListManagementServersResponse) ProtoReflect

func (*ListManagementServersResponse) Reset

func (x *ListManagementServersResponse) Reset()

func (*ListManagementServersResponse) String

type ManagementServer

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=<false|true>
	//     If set to true, the MS is created in migration ready mode.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. The time when the instance was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,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,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The type of the ManagementServer resource.
	Type ManagementServer_InstanceType `protobuf:"varint,14,opt,name=type,proto3,enum=google.cloud.backupdr.v1.ManagementServer_InstanceType" json:"type,omitempty"`
	// Output only. The hostname or ip address of the exposed AGM endpoints, used
	// by clients to connect to AGM/RD graphical user interface and APIs.
	ManagementUri *ManagementURI `protobuf:"bytes,11,opt,name=management_uri,json=managementUri,proto3" json:"management_uri,omitempty"`
	// Output only. The hostnames of the exposed AGM endpoints for both types of
	// user i.e. 1p and 3p, used to connect AGM/RM UI.
	WorkforceIdentityBasedManagementUri *WorkforceIdentityBasedManagementURI `` /* 173-byte string literal not displayed */
	// Output only. The ManagementServer state.
	State ManagementServer_InstanceState `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.ManagementServer_InstanceState" json:"state,omitempty"`
	// Required. VPC networks to which the ManagementServer instance is connected.
	// For this version, only a single network is supported.
	Networks []*NetworkConfig `protobuf:"bytes,8,rep,name=networks,proto3" json:"networks,omitempty"`
	// Optional. Server specified ETag for the ManagementServer resource to
	// prevent simultaneous updates from overwiting each other.
	Etag string `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. The OAuth 2.0 client id is required to make API calls to the
	// BackupDR instance API of this ManagementServer. This is the value that
	// should be provided in the 'aud' field of the OIDC ID Token (see openid
	// specification
	// https://openid.net/specs/openid-connect-core-1_0.html#IDToken).
	Oauth2ClientId string `protobuf:"bytes,15,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"`
	// Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.
	WorkforceIdentityBasedOauth2ClientId *WorkforceIdentityBasedOAuth2ClientID `` /* 178-byte string literal not displayed */
	// Output only. The hostname or ip address of the exposed AGM endpoints, used
	// by BAs to connect to BA proxy.
	BaProxyUri []string `protobuf:"bytes,18,rep,name=ba_proxy_uri,json=baProxyUri,proto3" json:"ba_proxy_uri,omitempty"`
	// Output only. Reserved for future use.
	SatisfiesPzs *wrapperspb.BoolValue `protobuf:"bytes,19,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// Output only. Reserved for future use.
	SatisfiesPzi bool `protobuf:"varint,20,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
	// contains filtered or unexported fields
}

ManagementServer describes a single BackupDR ManagementServer instance.

func (*ManagementServer) Descriptor deprecated

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

Deprecated: Use ManagementServer.ProtoReflect.Descriptor instead.

func (*ManagementServer) GetBaProxyUri

func (x *ManagementServer) GetBaProxyUri() []string

func (*ManagementServer) GetCreateTime

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

func (*ManagementServer) GetDescription

func (x *ManagementServer) GetDescription() string

func (*ManagementServer) GetEtag

func (x *ManagementServer) GetEtag() string

func (*ManagementServer) GetLabels

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

func (*ManagementServer) GetManagementUri

func (x *ManagementServer) GetManagementUri() *ManagementURI

func (*ManagementServer) GetName

func (x *ManagementServer) GetName() string

func (*ManagementServer) GetNetworks

func (x *ManagementServer) GetNetworks() []*NetworkConfig

func (*ManagementServer) GetOauth2ClientId

func (x *ManagementServer) GetOauth2ClientId() string

func (*ManagementServer) GetSatisfiesPzi added in v1.0.0

func (x *ManagementServer) GetSatisfiesPzi() bool

func (*ManagementServer) GetSatisfiesPzs added in v1.0.0

func (x *ManagementServer) GetSatisfiesPzs() *wrapperspb.BoolValue

func (*ManagementServer) GetState

func (*ManagementServer) GetType

func (*ManagementServer) GetUpdateTime

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

func (*ManagementServer) GetWorkforceIdentityBasedManagementUri

func (x *ManagementServer) GetWorkforceIdentityBasedManagementUri() *WorkforceIdentityBasedManagementURI

func (*ManagementServer) GetWorkforceIdentityBasedOauth2ClientId

func (x *ManagementServer) GetWorkforceIdentityBasedOauth2ClientId() *WorkforceIdentityBasedOAuth2ClientID

func (*ManagementServer) ProtoMessage

func (*ManagementServer) ProtoMessage()

func (*ManagementServer) ProtoReflect

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

func (*ManagementServer) Reset

func (x *ManagementServer) Reset()

func (*ManagementServer) String

func (x *ManagementServer) String() string

type ManagementServer_InstanceState

type ManagementServer_InstanceState int32

State of Management server instance.

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

func (ManagementServer_InstanceState) EnumDescriptor deprecated

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

Deprecated: Use ManagementServer_InstanceState.Descriptor instead.

func (ManagementServer_InstanceState) Number

func (ManagementServer_InstanceState) String

func (ManagementServer_InstanceState) Type

type ManagementServer_InstanceType

type ManagementServer_InstanceType int32

Type of backup service resource.

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

func (ManagementServer_InstanceType) EnumDescriptor deprecated

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

Deprecated: Use ManagementServer_InstanceType.Descriptor instead.

func (ManagementServer_InstanceType) Number

func (ManagementServer_InstanceType) String

func (ManagementServer_InstanceType) Type

type ManagementURI

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 deprecated

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

Deprecated: Use ManagementURI.ProtoReflect.Descriptor instead.

func (*ManagementURI) GetApi

func (x *ManagementURI) GetApi() string

func (*ManagementURI) GetWebUi

func (x *ManagementURI) GetWebUi() string

func (*ManagementURI) ProtoMessage

func (*ManagementURI) ProtoMessage()

func (*ManagementURI) ProtoReflect

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

func (*ManagementURI) Reset

func (x *ManagementURI) Reset()

func (*ManagementURI) String

func (x *ManagementURI) String() string

type Metadata added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetItems added in v1.2.0

func (x *Metadata) GetItems() []*Entry

func (*Metadata) ProtoMessage added in v1.2.0

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v1.2.0

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

func (*Metadata) Reset added in v1.2.0

func (x *Metadata) Reset()

func (*Metadata) String added in v1.2.0

func (x *Metadata) String() string

type 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 `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Network configuration for ManagementServer instance.

func (*NetworkConfig) Descriptor deprecated

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

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetNetwork

func (x *NetworkConfig) GetNetwork() string

func (*NetworkConfig) GetPeeringMode

func (x *NetworkConfig) GetPeeringMode() NetworkConfig_PeeringMode

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect

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

func (*NetworkConfig) Reset

func (x *NetworkConfig) Reset()

func (*NetworkConfig) String

func (x *NetworkConfig) String() string

type NetworkConfig_PeeringMode

type NetworkConfig_PeeringMode int32

VPC peering modes supported by Cloud BackupDR.

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

func (NetworkConfig_PeeringMode) EnumDescriptor deprecated

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

Deprecated: Use NetworkConfig_PeeringMode.Descriptor instead.

func (NetworkConfig_PeeringMode) Number

func (NetworkConfig_PeeringMode) String

func (x NetworkConfig_PeeringMode) String() string

func (NetworkConfig_PeeringMode) Type

type NetworkInterface added in v1.2.0

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=ipAddress,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 `` /* 144-byte string literal not displayed */
	// 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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 175-byte string literal not displayed */
	// 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 `` /* 145-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.

func (*NetworkInterface) GetAccessConfigs added in v1.2.0

func (x *NetworkInterface) GetAccessConfigs() []*AccessConfig

func (*NetworkInterface) GetAliasIpRanges added in v1.2.0

func (x *NetworkInterface) GetAliasIpRanges() []*AliasIpRange

func (*NetworkInterface) GetInternalIpv6PrefixLength added in v1.2.0

func (x *NetworkInterface) GetInternalIpv6PrefixLength() int32

func (*NetworkInterface) GetIpAddress added in v1.2.0

func (x *NetworkInterface) GetIpAddress() string

func (*NetworkInterface) GetIpv6AccessConfigs added in v1.2.0

func (x *NetworkInterface) GetIpv6AccessConfigs() []*AccessConfig

func (*NetworkInterface) GetIpv6AccessType added in v1.2.0

func (x *NetworkInterface) GetIpv6AccessType() NetworkInterface_Ipv6AccessType

func (*NetworkInterface) GetIpv6Address added in v1.2.0

func (x *NetworkInterface) GetIpv6Address() string

func (*NetworkInterface) GetName added in v1.2.0

func (x *NetworkInterface) GetName() string

func (*NetworkInterface) GetNetwork added in v1.2.0

func (x *NetworkInterface) GetNetwork() string

func (*NetworkInterface) GetNetworkAttachment added in v1.2.0

func (x *NetworkInterface) GetNetworkAttachment() string

func (*NetworkInterface) GetNicType added in v1.2.0

func (*NetworkInterface) GetQueueCount added in v1.2.0

func (x *NetworkInterface) GetQueueCount() int32

func (*NetworkInterface) GetStackType added in v1.2.0

func (x *NetworkInterface) GetStackType() NetworkInterface_StackType

func (*NetworkInterface) GetSubnetwork added in v1.2.0

func (x *NetworkInterface) GetSubnetwork() string

func (*NetworkInterface) ProtoMessage added in v1.2.0

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) ProtoReflect added in v1.2.0

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

func (*NetworkInterface) Reset added in v1.2.0

func (x *NetworkInterface) Reset()

func (*NetworkInterface) String added in v1.2.0

func (x *NetworkInterface) String() string

type NetworkInterface_Ipv6AccessType added in v1.2.0

type NetworkInterface_Ipv6AccessType int32

IPv6 access type for this network interface.

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 added in v1.2.0

func (NetworkInterface_Ipv6AccessType) Enum added in v1.2.0

func (NetworkInterface_Ipv6AccessType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use NetworkInterface_Ipv6AccessType.Descriptor instead.

func (NetworkInterface_Ipv6AccessType) Number added in v1.2.0

func (NetworkInterface_Ipv6AccessType) String added in v1.2.0

func (NetworkInterface_Ipv6AccessType) Type added in v1.2.0

type NetworkInterface_NicType added in v1.2.0

type NetworkInterface_NicType int32

Nic type for this network interface.

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 added in v1.2.0

func (NetworkInterface_NicType) Enum added in v1.2.0

func (NetworkInterface_NicType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use NetworkInterface_NicType.Descriptor instead.

func (NetworkInterface_NicType) Number added in v1.2.0

func (NetworkInterface_NicType) String added in v1.2.0

func (x NetworkInterface_NicType) String() string

func (NetworkInterface_NicType) Type added in v1.2.0

type NetworkInterface_StackType added in v1.2.0

type NetworkInterface_StackType int32

Stack type for this network interface.

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 added in v1.2.0

func (NetworkInterface_StackType) Enum added in v1.2.0

func (NetworkInterface_StackType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use NetworkInterface_StackType.Descriptor instead.

func (NetworkInterface_StackType) Number added in v1.2.0

func (NetworkInterface_StackType) String added in v1.2.0

func (NetworkInterface_StackType) Type added in v1.2.0

type NetworkPerformanceConfig added in v1.2.0

type NetworkPerformanceConfig struct {

	// Optional. The tier of the total egress bandwidth.
	TotalEgressBandwidthTier *NetworkPerformanceConfig_Tier `` /* 204-byte string literal not displayed */
	// contains filtered or unexported fields
}

Network performance configuration.

func (*NetworkPerformanceConfig) Descriptor deprecated added in v1.2.0

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

Deprecated: Use NetworkPerformanceConfig.ProtoReflect.Descriptor instead.

func (*NetworkPerformanceConfig) GetTotalEgressBandwidthTier added in v1.2.0

func (x *NetworkPerformanceConfig) GetTotalEgressBandwidthTier() NetworkPerformanceConfig_Tier

func (*NetworkPerformanceConfig) ProtoMessage added in v1.2.0

func (*NetworkPerformanceConfig) ProtoMessage()

func (*NetworkPerformanceConfig) ProtoReflect added in v1.2.0

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

func (*NetworkPerformanceConfig) Reset added in v1.2.0

func (x *NetworkPerformanceConfig) Reset()

func (*NetworkPerformanceConfig) String added in v1.2.0

func (x *NetworkPerformanceConfig) String() string

type NetworkPerformanceConfig_Tier added in v1.2.0

type NetworkPerformanceConfig_Tier int32

Network performance tier.

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 added in v1.2.0

func (NetworkPerformanceConfig_Tier) Enum added in v1.2.0

func (NetworkPerformanceConfig_Tier) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use NetworkPerformanceConfig_Tier.Descriptor instead.

func (NetworkPerformanceConfig_Tier) Number added in v1.2.0

func (NetworkPerformanceConfig_Tier) String added in v1.2.0

func (NetworkPerformanceConfig_Tier) Type added in v1.2.0

type OperationMetadata

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 [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 `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetAdditionalInfo

func (x *OperationMetadata) GetAdditionalInfo() map[string]string

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type RestoreBackupRequest added in v1.2.0

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
	TargetEnvironment isRestoreBackupRequest_TargetEnvironment `protobuf_oneof:"target_environment"`
	// The property overrides for the instance being restored.
	//
	// Types that are assignable to InstanceProperties:
	//
	//	*RestoreBackupRequest_ComputeInstanceRestoreProperties
	InstanceProperties isRestoreBackupRequest_InstanceProperties `protobuf_oneof:"instance_properties"`
	// contains filtered or unexported fields
}

Request message for restoring from a Backup.

func (*RestoreBackupRequest) Descriptor deprecated added in v1.2.0

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

Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.

func (*RestoreBackupRequest) GetComputeInstanceRestoreProperties added in v1.2.0

func (x *RestoreBackupRequest) GetComputeInstanceRestoreProperties() *ComputeInstanceRestoreProperties

func (*RestoreBackupRequest) GetComputeInstanceTargetEnvironment added in v1.2.0

func (x *RestoreBackupRequest) GetComputeInstanceTargetEnvironment() *ComputeInstanceTargetEnvironment

func (*RestoreBackupRequest) GetInstanceProperties added in v1.2.0

func (m *RestoreBackupRequest) GetInstanceProperties() isRestoreBackupRequest_InstanceProperties

func (*RestoreBackupRequest) GetName added in v1.2.0

func (x *RestoreBackupRequest) GetName() string

func (*RestoreBackupRequest) GetRequestId added in v1.2.0

func (x *RestoreBackupRequest) GetRequestId() string

func (*RestoreBackupRequest) GetTargetEnvironment added in v1.2.0

func (m *RestoreBackupRequest) GetTargetEnvironment() isRestoreBackupRequest_TargetEnvironment

func (*RestoreBackupRequest) ProtoMessage added in v1.2.0

func (*RestoreBackupRequest) ProtoMessage()

func (*RestoreBackupRequest) ProtoReflect added in v1.2.0

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

func (*RestoreBackupRequest) Reset added in v1.2.0

func (x *RestoreBackupRequest) Reset()

func (*RestoreBackupRequest) String added in v1.2.0

func (x *RestoreBackupRequest) String() string

type RestoreBackupRequest_ComputeInstanceRestoreProperties added in v1.2.0

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"`
}

type RestoreBackupRequest_ComputeInstanceTargetEnvironment added in v1.2.0

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"`
}

type RestoreBackupResponse added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.

func (*RestoreBackupResponse) GetTargetResource added in v1.2.0

func (x *RestoreBackupResponse) GetTargetResource() *TargetResource

func (*RestoreBackupResponse) ProtoMessage added in v1.2.0

func (*RestoreBackupResponse) ProtoMessage()

func (*RestoreBackupResponse) ProtoReflect added in v1.2.0

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

func (*RestoreBackupResponse) Reset added in v1.2.0

func (x *RestoreBackupResponse) Reset()

func (*RestoreBackupResponse) String added in v1.2.0

func (x *RestoreBackupResponse) String() string

type RuleConfigInfo added in v1.2.0

type RuleConfigInfo struct {

	// Output only. 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 `` /* 170-byte string literal not displayed */
	// Output only. 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 `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message for rules config info.

func (*RuleConfigInfo) Descriptor deprecated added in v1.2.0

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

Deprecated: Use RuleConfigInfo.ProtoReflect.Descriptor instead.

func (*RuleConfigInfo) GetLastBackupError added in v1.2.0

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

func (*RuleConfigInfo) GetLastBackupState added in v1.2.0

func (x *RuleConfigInfo) GetLastBackupState() RuleConfigInfo_LastBackupState

func (*RuleConfigInfo) GetLastSuccessfulBackupConsistencyTime added in v1.2.0

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

func (*RuleConfigInfo) GetRuleId added in v1.2.0

func (x *RuleConfigInfo) GetRuleId() string

func (*RuleConfigInfo) ProtoMessage added in v1.2.0

func (*RuleConfigInfo) ProtoMessage()

func (*RuleConfigInfo) ProtoReflect added in v1.2.0

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

func (*RuleConfigInfo) Reset added in v1.2.0

func (x *RuleConfigInfo) Reset()

func (*RuleConfigInfo) String added in v1.2.0

func (x *RuleConfigInfo) String() string

type RuleConfigInfo_LastBackupState added in v1.2.0

type RuleConfigInfo_LastBackupState int32

Enum for LastBackupState

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 added in v1.2.0

func (RuleConfigInfo_LastBackupState) Enum added in v1.2.0

func (RuleConfigInfo_LastBackupState) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use RuleConfigInfo_LastBackupState.Descriptor instead.

func (RuleConfigInfo_LastBackupState) Number added in v1.2.0

func (RuleConfigInfo_LastBackupState) String added in v1.2.0

func (RuleConfigInfo_LastBackupState) Type added in v1.2.0

type Scheduling added in v1.2.0

type Scheduling struct {

	// Optional. Defines the maintenance behavior for this instance.
	OnHostMaintenance *Scheduling_OnHostMaintenance `` /* 180-byte string literal not displayed */
	// 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 `` /* 178-byte string literal not displayed */
	// Optional. Specifies the termination action for the instance.
	InstanceTerminationAction *Scheduling_InstanceTerminationAction `` /* 212-byte string literal not displayed */
	// 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 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Sets the scheduling options for an Instance.

func (*Scheduling) Descriptor deprecated added in v1.2.0

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

Deprecated: Use Scheduling.ProtoReflect.Descriptor instead.

func (*Scheduling) GetAutomaticRestart added in v1.2.0

func (x *Scheduling) GetAutomaticRestart() bool

func (*Scheduling) GetInstanceTerminationAction added in v1.2.0

func (x *Scheduling) GetInstanceTerminationAction() Scheduling_InstanceTerminationAction

func (*Scheduling) GetLocalSsdRecoveryTimeout added in v1.2.0

func (x *Scheduling) GetLocalSsdRecoveryTimeout() *SchedulingDuration

func (*Scheduling) GetMinNodeCpus added in v1.2.0

func (x *Scheduling) GetMinNodeCpus() int32

func (*Scheduling) GetNodeAffinities added in v1.2.0

func (x *Scheduling) GetNodeAffinities() []*Scheduling_NodeAffinity

func (*Scheduling) GetOnHostMaintenance added in v1.2.0

func (x *Scheduling) GetOnHostMaintenance() Scheduling_OnHostMaintenance

func (*Scheduling) GetPreemptible added in v1.2.0

func (x *Scheduling) GetPreemptible() bool

func (*Scheduling) GetProvisioningModel added in v1.2.0

func (x *Scheduling) GetProvisioningModel() Scheduling_ProvisioningModel

func (*Scheduling) ProtoMessage added in v1.2.0

func (*Scheduling) ProtoMessage()

func (*Scheduling) ProtoReflect added in v1.2.0

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

func (*Scheduling) Reset added in v1.2.0

func (x *Scheduling) Reset()

func (*Scheduling) String added in v1.2.0

func (x *Scheduling) String() string

type SchedulingDuration added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use SchedulingDuration.ProtoReflect.Descriptor instead.

func (*SchedulingDuration) GetNanos added in v1.2.0

func (x *SchedulingDuration) GetNanos() int32

func (*SchedulingDuration) GetSeconds added in v1.2.0

func (x *SchedulingDuration) GetSeconds() int64

func (*SchedulingDuration) ProtoMessage added in v1.2.0

func (*SchedulingDuration) ProtoMessage()

func (*SchedulingDuration) ProtoReflect added in v1.2.0

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

func (*SchedulingDuration) Reset added in v1.2.0

func (x *SchedulingDuration) Reset()

func (*SchedulingDuration) String added in v1.2.0

func (x *SchedulingDuration) String() string

type Scheduling_InstanceTerminationAction added in v1.2.0

type Scheduling_InstanceTerminationAction int32

Defines the supported termination actions for an instance.

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 added in v1.2.0

func (Scheduling_InstanceTerminationAction) Enum added in v1.2.0

func (Scheduling_InstanceTerminationAction) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Scheduling_InstanceTerminationAction.Descriptor instead.

func (Scheduling_InstanceTerminationAction) Number added in v1.2.0

func (Scheduling_InstanceTerminationAction) String added in v1.2.0

func (Scheduling_InstanceTerminationAction) Type added in v1.2.0

type Scheduling_NodeAffinity added in v1.2.0

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 `` /* 139-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use Scheduling_NodeAffinity.ProtoReflect.Descriptor instead.

func (*Scheduling_NodeAffinity) GetKey added in v1.2.0

func (x *Scheduling_NodeAffinity) GetKey() string

func (*Scheduling_NodeAffinity) GetOperator added in v1.2.0

func (*Scheduling_NodeAffinity) GetValues added in v1.2.0

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

func (*Scheduling_NodeAffinity) ProtoMessage added in v1.2.0

func (*Scheduling_NodeAffinity) ProtoMessage()

func (*Scheduling_NodeAffinity) ProtoReflect added in v1.2.0

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

func (*Scheduling_NodeAffinity) Reset added in v1.2.0

func (x *Scheduling_NodeAffinity) Reset()

func (*Scheduling_NodeAffinity) String added in v1.2.0

func (x *Scheduling_NodeAffinity) String() string

type Scheduling_NodeAffinity_Operator added in v1.2.0

type Scheduling_NodeAffinity_Operator int32

Defines the type of node selections.

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 added in v1.2.0

func (Scheduling_NodeAffinity_Operator) Enum added in v1.2.0

func (Scheduling_NodeAffinity_Operator) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Scheduling_NodeAffinity_Operator.Descriptor instead.

func (Scheduling_NodeAffinity_Operator) Number added in v1.2.0

func (Scheduling_NodeAffinity_Operator) String added in v1.2.0

func (Scheduling_NodeAffinity_Operator) Type added in v1.2.0

type Scheduling_OnHostMaintenance added in v1.2.0

type Scheduling_OnHostMaintenance int32

Defines the maintenance behavior for this instance=

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 added in v1.2.0

func (Scheduling_OnHostMaintenance) Enum added in v1.2.0

func (Scheduling_OnHostMaintenance) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Scheduling_OnHostMaintenance.Descriptor instead.

func (Scheduling_OnHostMaintenance) Number added in v1.2.0

func (Scheduling_OnHostMaintenance) String added in v1.2.0

func (Scheduling_OnHostMaintenance) Type added in v1.2.0

type Scheduling_ProvisioningModel added in v1.2.0

type Scheduling_ProvisioningModel int32

Defines the provisioning model for an instance.

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 added in v1.2.0

func (Scheduling_ProvisioningModel) Enum added in v1.2.0

func (Scheduling_ProvisioningModel) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use Scheduling_ProvisioningModel.Descriptor instead.

func (Scheduling_ProvisioningModel) Number added in v1.2.0

func (Scheduling_ProvisioningModel) String added in v1.2.0

func (Scheduling_ProvisioningModel) Type added in v1.2.0

type ServiceAccount added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetEmail added in v1.2.0

func (x *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetScopes added in v1.2.0

func (x *ServiceAccount) GetScopes() []string

func (*ServiceAccount) ProtoMessage added in v1.2.0

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect added in v1.2.0

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

func (*ServiceAccount) Reset added in v1.2.0

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String added in v1.2.0

func (x *ServiceAccount) String() string

type ServiceLockInfo added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use ServiceLockInfo.ProtoReflect.Descriptor instead.

func (*ServiceLockInfo) GetOperation added in v1.2.0

func (x *ServiceLockInfo) GetOperation() string

func (*ServiceLockInfo) ProtoMessage added in v1.2.0

func (*ServiceLockInfo) ProtoMessage()

func (*ServiceLockInfo) ProtoReflect added in v1.2.0

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

func (*ServiceLockInfo) Reset added in v1.2.0

func (x *ServiceLockInfo) Reset()

func (*ServiceLockInfo) String added in v1.2.0

func (x *ServiceLockInfo) String() string

type StandardSchedule added in v1.2.0

type StandardSchedule struct {

	// Required. Specifies the `RecurrenceType` for the schedule.
	RecurrenceType StandardSchedule_RecurrenceType `` /* 166-byte string literal not displayed */
	// 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 6 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 `` /* 128-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use StandardSchedule.ProtoReflect.Descriptor instead.

func (*StandardSchedule) GetBackupWindow added in v1.2.0

func (x *StandardSchedule) GetBackupWindow() *BackupWindow

func (*StandardSchedule) GetDaysOfMonth added in v1.2.0

func (x *StandardSchedule) GetDaysOfMonth() []int32

func (*StandardSchedule) GetDaysOfWeek added in v1.2.0

func (x *StandardSchedule) GetDaysOfWeek() []dayofweek.DayOfWeek

func (*StandardSchedule) GetHourlyFrequency added in v1.2.0

func (x *StandardSchedule) GetHourlyFrequency() int32

func (*StandardSchedule) GetMonths added in v1.2.0

func (x *StandardSchedule) GetMonths() []month.Month

func (*StandardSchedule) GetRecurrenceType added in v1.2.0

func (x *StandardSchedule) GetRecurrenceType() StandardSchedule_RecurrenceType

func (*StandardSchedule) GetTimeZone added in v1.2.0

func (x *StandardSchedule) GetTimeZone() string

func (*StandardSchedule) GetWeekDayOfMonth added in v1.2.0

func (x *StandardSchedule) GetWeekDayOfMonth() *WeekDayOfMonth

func (*StandardSchedule) ProtoMessage added in v1.2.0

func (*StandardSchedule) ProtoMessage()

func (*StandardSchedule) ProtoReflect added in v1.2.0

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

func (*StandardSchedule) Reset added in v1.2.0

func (x *StandardSchedule) Reset()

func (*StandardSchedule) String added in v1.2.0

func (x *StandardSchedule) String() string

type StandardSchedule_RecurrenceType added in v1.2.0

type StandardSchedule_RecurrenceType int32

`RecurrenceTypes` enumerates the applicable periodicity for the schedule.

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 added in v1.2.0

func (StandardSchedule_RecurrenceType) Enum added in v1.2.0

func (StandardSchedule_RecurrenceType) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use StandardSchedule_RecurrenceType.Descriptor instead.

func (StandardSchedule_RecurrenceType) Number added in v1.2.0

func (StandardSchedule_RecurrenceType) String added in v1.2.0

func (StandardSchedule_RecurrenceType) Type added in v1.2.0

type Tags added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use Tags.ProtoReflect.Descriptor instead.

func (*Tags) GetItems added in v1.2.0

func (x *Tags) GetItems() []string

func (*Tags) ProtoMessage added in v1.2.0

func (*Tags) ProtoMessage()

func (*Tags) ProtoReflect added in v1.2.0

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

func (*Tags) Reset added in v1.2.0

func (x *Tags) Reset()

func (*Tags) String added in v1.2.0

func (x *Tags) String() string

type TargetResource added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use TargetResource.ProtoReflect.Descriptor instead.

func (*TargetResource) GetGcpResource added in v1.2.0

func (x *TargetResource) GetGcpResource() *GcpResource

func (*TargetResource) GetTargetResourceInfo added in v1.2.0

func (m *TargetResource) GetTargetResourceInfo() isTargetResource_TargetResourceInfo

func (*TargetResource) ProtoMessage added in v1.2.0

func (*TargetResource) ProtoMessage()

func (*TargetResource) ProtoReflect added in v1.2.0

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

func (*TargetResource) Reset added in v1.2.0

func (x *TargetResource) Reset()

func (*TargetResource) String added in v1.2.0

func (x *TargetResource) String() string

type TargetResource_GcpResource added in v1.2.0

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"`
}

type TriggerBackupRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use TriggerBackupRequest.ProtoReflect.Descriptor instead.

func (*TriggerBackupRequest) GetName added in v1.2.0

func (x *TriggerBackupRequest) GetName() string

func (*TriggerBackupRequest) GetRequestId added in v1.2.0

func (x *TriggerBackupRequest) GetRequestId() string

func (*TriggerBackupRequest) GetRuleId added in v1.2.0

func (x *TriggerBackupRequest) GetRuleId() string

func (*TriggerBackupRequest) ProtoMessage added in v1.2.0

func (*TriggerBackupRequest) ProtoMessage()

func (*TriggerBackupRequest) ProtoReflect added in v1.2.0

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

func (*TriggerBackupRequest) Reset added in v1.2.0

func (x *TriggerBackupRequest) Reset()

func (*TriggerBackupRequest) String added in v1.2.0

func (x *TriggerBackupRequest) String() string

type UnimplementedBackupDRServer

type UnimplementedBackupDRServer struct {
}

UnimplementedBackupDRServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupDRServer) CreateBackupPlan added in v1.2.0

func (*UnimplementedBackupDRServer) CreateBackupPlanAssociation added in v1.2.0

func (*UnimplementedBackupDRServer) CreateBackupVault added in v1.2.0

func (*UnimplementedBackupDRServer) CreateManagementServer

func (*UnimplementedBackupDRServer) DeleteBackup added in v1.2.0

func (*UnimplementedBackupDRServer) DeleteBackupPlan added in v1.2.0

func (*UnimplementedBackupDRServer) DeleteBackupPlanAssociation added in v1.2.0

func (*UnimplementedBackupDRServer) DeleteBackupVault added in v1.2.0

func (*UnimplementedBackupDRServer) DeleteManagementServer

func (*UnimplementedBackupDRServer) FetchUsableBackupVaults added in v1.2.0

func (*UnimplementedBackupDRServer) GetBackup added in v1.2.0

func (*UnimplementedBackupDRServer) GetBackupPlan added in v1.2.0

func (*UnimplementedBackupDRServer) GetBackupPlanAssociation added in v1.2.0

func (*UnimplementedBackupDRServer) GetBackupVault added in v1.2.0

func (*UnimplementedBackupDRServer) GetDataSource added in v1.2.0

func (*UnimplementedBackupDRServer) GetManagementServer

func (*UnimplementedBackupDRServer) ListBackupPlanAssociations added in v1.2.0

func (*UnimplementedBackupDRServer) ListBackupPlans added in v1.2.0

func (*UnimplementedBackupDRServer) ListBackupVaults added in v1.2.0

func (*UnimplementedBackupDRServer) ListBackups added in v1.2.0

func (*UnimplementedBackupDRServer) ListDataSources added in v1.2.0

func (*UnimplementedBackupDRServer) RestoreBackup added in v1.2.0

func (*UnimplementedBackupDRServer) TriggerBackup added in v1.2.0

func (*UnimplementedBackupDRServer) UpdateBackup added in v1.2.0

func (*UnimplementedBackupDRServer) UpdateBackupVault added in v1.2.0

func (*UnimplementedBackupDRServer) UpdateDataSource added in v1.2.0

type UpdateBackupRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupRequest) GetBackup added in v1.2.0

func (x *UpdateBackupRequest) GetBackup() *Backup

func (*UpdateBackupRequest) GetRequestId added in v1.2.0

func (x *UpdateBackupRequest) GetRequestId() string

func (*UpdateBackupRequest) GetUpdateMask added in v1.2.0

func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBackupRequest) ProtoMessage added in v1.2.0

func (*UpdateBackupRequest) ProtoMessage()

func (*UpdateBackupRequest) ProtoReflect added in v1.2.0

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

func (*UpdateBackupRequest) Reset added in v1.2.0

func (x *UpdateBackupRequest) Reset()

func (*UpdateBackupRequest) String added in v1.2.0

func (x *UpdateBackupRequest) String() string

type UpdateBackupVaultRequest added in v1.2.0

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"`
	// contains filtered or unexported fields
}

Request message for updating a BackupVault.

func (*UpdateBackupVaultRequest) Descriptor deprecated added in v1.2.0

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

Deprecated: Use UpdateBackupVaultRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupVaultRequest) GetBackupVault added in v1.2.0

func (x *UpdateBackupVaultRequest) GetBackupVault() *BackupVault

func (*UpdateBackupVaultRequest) GetForce added in v1.2.0

func (x *UpdateBackupVaultRequest) GetForce() bool

func (*UpdateBackupVaultRequest) GetRequestId added in v1.2.0

func (x *UpdateBackupVaultRequest) GetRequestId() string

func (*UpdateBackupVaultRequest) GetUpdateMask added in v1.2.0

func (x *UpdateBackupVaultRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBackupVaultRequest) GetValidateOnly added in v1.2.0

func (x *UpdateBackupVaultRequest) GetValidateOnly() bool

func (*UpdateBackupVaultRequest) ProtoMessage added in v1.2.0

func (*UpdateBackupVaultRequest) ProtoMessage()

func (*UpdateBackupVaultRequest) ProtoReflect added in v1.2.0

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

func (*UpdateBackupVaultRequest) Reset added in v1.2.0

func (x *UpdateBackupVaultRequest) Reset()

func (*UpdateBackupVaultRequest) String added in v1.2.0

func (x *UpdateBackupVaultRequest) String() string

type UpdateDataSourceRequest added in v1.2.0

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 deprecated added in v1.2.0

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

Deprecated: Use UpdateDataSourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataSourceRequest) GetAllowMissing added in v1.2.0

func (x *UpdateDataSourceRequest) GetAllowMissing() bool

func (*UpdateDataSourceRequest) GetDataSource added in v1.2.0

func (x *UpdateDataSourceRequest) GetDataSource() *DataSource

func (*UpdateDataSourceRequest) GetRequestId added in v1.2.0

func (x *UpdateDataSourceRequest) GetRequestId() string

func (*UpdateDataSourceRequest) GetUpdateMask added in v1.2.0

func (x *UpdateDataSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDataSourceRequest) ProtoMessage added in v1.2.0

func (*UpdateDataSourceRequest) ProtoMessage()

func (*UpdateDataSourceRequest) ProtoReflect added in v1.2.0

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

func (*UpdateDataSourceRequest) Reset added in v1.2.0

func (x *UpdateDataSourceRequest) Reset()

func (*UpdateDataSourceRequest) String added in v1.2.0

func (x *UpdateDataSourceRequest) String() string

type WeekDayOfMonth added in v1.2.0

type WeekDayOfMonth struct {

	// Required. Specifies the week of the month.
	WeekOfMonth WeekDayOfMonth_WeekOfMonth `` /* 154-byte string literal not displayed */
	// 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 deprecated added in v1.2.0

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

Deprecated: Use WeekDayOfMonth.ProtoReflect.Descriptor instead.

func (*WeekDayOfMonth) GetDayOfWeek added in v1.2.0

func (x *WeekDayOfMonth) GetDayOfWeek() dayofweek.DayOfWeek

func (*WeekDayOfMonth) GetWeekOfMonth added in v1.2.0

func (x *WeekDayOfMonth) GetWeekOfMonth() WeekDayOfMonth_WeekOfMonth

func (*WeekDayOfMonth) ProtoMessage added in v1.2.0

func (*WeekDayOfMonth) ProtoMessage()

func (*WeekDayOfMonth) ProtoReflect added in v1.2.0

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

func (*WeekDayOfMonth) Reset added in v1.2.0

func (x *WeekDayOfMonth) Reset()

func (*WeekDayOfMonth) String added in v1.2.0

func (x *WeekDayOfMonth) String() string

type WeekDayOfMonth_WeekOfMonth added in v1.2.0

type WeekDayOfMonth_WeekOfMonth int32

`WeekOfMonth` enumerates possible weeks in the month, e.g. the first, third, or last week of the month.

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 added in v1.2.0

func (WeekDayOfMonth_WeekOfMonth) Enum added in v1.2.0

func (WeekDayOfMonth_WeekOfMonth) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use WeekDayOfMonth_WeekOfMonth.Descriptor instead.

func (WeekDayOfMonth_WeekOfMonth) Number added in v1.2.0

func (WeekDayOfMonth_WeekOfMonth) String added in v1.2.0

func (WeekDayOfMonth_WeekOfMonth) Type added in v1.2.0

type WorkforceIdentityBasedManagementURI

type WorkforceIdentityBasedManagementURI struct {

	// Output only. First party Management URI for Google Identities.
	FirstPartyManagementUri string `` /* 134-byte string literal not displayed */
	// Output only. Third party Management URI for External Identity Providers.
	ThirdPartyManagementUri string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.

func (*WorkforceIdentityBasedManagementURI) Descriptor deprecated

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

Deprecated: Use WorkforceIdentityBasedManagementURI.ProtoReflect.Descriptor instead.

func (*WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri

func (x *WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri() string

func (*WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri

func (x *WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri() string

func (*WorkforceIdentityBasedManagementURI) ProtoMessage

func (*WorkforceIdentityBasedManagementURI) ProtoMessage()

func (*WorkforceIdentityBasedManagementURI) ProtoReflect

func (*WorkforceIdentityBasedManagementURI) Reset

func (*WorkforceIdentityBasedManagementURI) String

type WorkforceIdentityBasedOAuth2ClientID

type WorkforceIdentityBasedOAuth2ClientID struct {

	// Output only. First party OAuth Client ID for Google Identities.
	FirstPartyOauth2ClientId string `` /* 139-byte string literal not displayed */
	// Output only. Third party OAuth Client ID for External Identity Providers.
	ThirdPartyOauth2ClientId string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,

func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor deprecated

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

Deprecated: Use WorkforceIdentityBasedOAuth2ClientID.ProtoReflect.Descriptor instead.

func (*WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId

func (x *WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId() string

func (*WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId

func (x *WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId() string

func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage

func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage()

func (*WorkforceIdentityBasedOAuth2ClientID) ProtoReflect

func (*WorkforceIdentityBasedOAuth2ClientID) Reset

func (*WorkforceIdentityBasedOAuth2ClientID) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL