Variables
NetworkConfig_PeeringMode_name, NetworkConfig_PeeringMode_value
var (
NetworkConfig_PeeringMode_name = map[int32]string{
0: "PEERING_MODE_UNSPECIFIED",
1: "PRIVATE_SERVICE_ACCESS",
}
NetworkConfig_PeeringMode_value = map[string]int32{
"PEERING_MODE_UNSPECIFIED": 0,
"PRIVATE_SERVICE_ACCESS": 1,
}
)
Enum value maps for NetworkConfig_PeeringMode.
ManagementServer_InstanceType_name, ManagementServer_InstanceType_value
var (
ManagementServer_InstanceType_name = map[int32]string{
0: "INSTANCE_TYPE_UNSPECIFIED",
1: "BACKUP_RESTORE",
}
ManagementServer_InstanceType_value = map[string]int32{
"INSTANCE_TYPE_UNSPECIFIED": 0,
"BACKUP_RESTORE": 1,
}
)
Enum value maps for ManagementServer_InstanceType.
ManagementServer_InstanceState_name, ManagementServer_InstanceState_value
var (
ManagementServer_InstanceState_name = map[int32]string{
0: "INSTANCE_STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "UPDATING",
4: "DELETING",
5: "REPAIRING",
6: "MAINTENANCE",
7: "ERROR",
}
ManagementServer_InstanceState_value = map[string]int32{
"INSTANCE_STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"DELETING": 4,
"REPAIRING": 5,
"MAINTENANCE": 6,
"ERROR": 7,
}
)
Enum value maps for ManagementServer_InstanceState.
BackupPlan_State_name, BackupPlan_State_value
var (
BackupPlan_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "INACTIVE",
}
BackupPlan_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"INACTIVE": 4,
}
)
Enum value maps for BackupPlan_State.
StandardSchedule_RecurrenceType_name, StandardSchedule_RecurrenceType_value
var (
StandardSchedule_RecurrenceType_name = map[int32]string{
0: "RECURRENCE_TYPE_UNSPECIFIED",
1: "HOURLY",
2: "DAILY",
3: "WEEKLY",
4: "MONTHLY",
5: "YEARLY",
}
StandardSchedule_RecurrenceType_value = map[string]int32{
"RECURRENCE_TYPE_UNSPECIFIED": 0,
"HOURLY": 1,
"DAILY": 2,
"WEEKLY": 3,
"MONTHLY": 4,
"YEARLY": 5,
}
)
Enum value maps for StandardSchedule_RecurrenceType.
WeekDayOfMonth_WeekOfMonth_name, WeekDayOfMonth_WeekOfMonth_value
var (
WeekDayOfMonth_WeekOfMonth_name = map[int32]string{
0: "WEEK_OF_MONTH_UNSPECIFIED",
1: "FIRST",
2: "SECOND",
3: "THIRD",
4: "FOURTH",
5: "LAST",
}
WeekDayOfMonth_WeekOfMonth_value = map[string]int32{
"WEEK_OF_MONTH_UNSPECIFIED": 0,
"FIRST": 1,
"SECOND": 2,
"THIRD": 3,
"FOURTH": 4,
"LAST": 5,
}
)
Enum value maps for WeekDayOfMonth_WeekOfMonth.
BackupPlanAssociation_State_name, BackupPlanAssociation_State_value
var (
BackupPlanAssociation_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "INACTIVE",
}
BackupPlanAssociation_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"INACTIVE": 4,
}
)
Enum value maps for BackupPlanAssociation_State.
RuleConfigInfo_LastBackupState_name, RuleConfigInfo_LastBackupState_value
var (
RuleConfigInfo_LastBackupState_name = map[int32]string{
0: "LAST_BACKUP_STATE_UNSPECIFIED",
1: "FIRST_BACKUP_PENDING",
2: "PERMISSION_DENIED",
3: "SUCCEEDED",
4: "FAILED",
}
RuleConfigInfo_LastBackupState_value = map[string]int32{
"LAST_BACKUP_STATE_UNSPECIFIED": 0,
"FIRST_BACKUP_PENDING": 1,
"PERMISSION_DENIED": 2,
"SUCCEEDED": 3,
"FAILED": 4,
}
)
Enum value maps for RuleConfigInfo_LastBackupState.
BackupConfigState_name, BackupConfigState_value
var (
BackupConfigState_name = map[int32]string{
0: "BACKUP_CONFIG_STATE_UNSPECIFIED",
1: "ACTIVE",
2: "PASSIVE",
}
BackupConfigState_value = map[string]int32{
"BACKUP_CONFIG_STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"PASSIVE": 2,
}
)
Enum value maps for BackupConfigState.
BackupView_name, BackupView_value
var (
BackupView_name = map[int32]string{
0: "BACKUP_VIEW_UNSPECIFIED",
1: "BACKUP_VIEW_BASIC",
2: "BACKUP_VIEW_FULL",
}
BackupView_value = map[string]int32{
"BACKUP_VIEW_UNSPECIFIED": 0,
"BACKUP_VIEW_BASIC": 1,
"BACKUP_VIEW_FULL": 2,
}
)
Enum value maps for BackupView.
BackupVaultView_name, BackupVaultView_value
var (
BackupVaultView_name = map[int32]string{
0: "BACKUP_VAULT_VIEW_UNSPECIFIED",
1: "BACKUP_VAULT_VIEW_BASIC",
2: "BACKUP_VAULT_VIEW_FULL",
}
BackupVaultView_value = map[string]int32{
"BACKUP_VAULT_VIEW_UNSPECIFIED": 0,
"BACKUP_VAULT_VIEW_BASIC": 1,
"BACKUP_VAULT_VIEW_FULL": 2,
}
)
Enum value maps for BackupVaultView.
BackupVault_State_name, BackupVault_State_value
var (
BackupVault_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
}
BackupVault_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
}
)
Enum value maps for BackupVault_State.
BackupVault_AccessRestriction_name, BackupVault_AccessRestriction_value
var (
BackupVault_AccessRestriction_name = map[int32]string{
0: "ACCESS_RESTRICTION_UNSPECIFIED",
1: "WITHIN_PROJECT",
2: "WITHIN_ORGANIZATION",
3: "UNRESTRICTED",
4: "WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA",
}
BackupVault_AccessRestriction_value = map[string]int32{
"ACCESS_RESTRICTION_UNSPECIFIED": 0,
"WITHIN_PROJECT": 1,
"WITHIN_ORGANIZATION": 2,
"UNRESTRICTED": 3,
"WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA": 4,
}
)
Enum value maps for BackupVault_AccessRestriction.
DataSource_State_name, DataSource_State_value
var (
DataSource_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
}
DataSource_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
}
)
Enum value maps for DataSource_State.
BackupConfigInfo_LastBackupState_name, BackupConfigInfo_LastBackupState_value
var (
BackupConfigInfo_LastBackupState_name = map[int32]string{
0: "LAST_BACKUP_STATE_UNSPECIFIED",
1: "FIRST_BACKUP_PENDING",
2: "SUCCEEDED",
3: "FAILED",
4: "PERMISSION_DENIED",
}
BackupConfigInfo_LastBackupState_value = map[string]int32{
"LAST_BACKUP_STATE_UNSPECIFIED": 0,
"FIRST_BACKUP_PENDING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
"PERMISSION_DENIED": 4,
}
)
Enum value maps for BackupConfigInfo_LastBackupState.
Backup_State_name, Backup_State_value
var (
Backup_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "ERROR",
}
Backup_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ERROR": 4,
}
)
Enum value maps for Backup_State.
Backup_BackupType_name, Backup_BackupType_value
var (
Backup_BackupType_name = map[int32]string{
0: "BACKUP_TYPE_UNSPECIFIED",
1: "SCHEDULED",
2: "ON_DEMAND",
}
Backup_BackupType_value = map[string]int32{
"BACKUP_TYPE_UNSPECIFIED": 0,
"SCHEDULED": 1,
"ON_DEMAND": 2,
}
)
Enum value maps for Backup_BackupType.
KeyRevocationActionType_name, KeyRevocationActionType_value
var (
KeyRevocationActionType_name = map[int32]string{
0: "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
1: "NONE",
2: "STOP",
}
KeyRevocationActionType_value = map[string]int32{
"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED": 0,
"NONE": 1,
"STOP": 2,
}
)
Enum value maps for KeyRevocationActionType.
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_name, ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_value
var (
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_name = map[int32]string{
0: "INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
1: "INHERIT_FROM_SUBNETWORK",
2: "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE",
3: "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
}
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess_value = map[string]int32{
"INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED": 0,
"INHERIT_FROM_SUBNETWORK": 1,
"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE": 2,
"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE": 3,
}
)
Enum value maps for ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess.
NetworkInterface_StackType_name, NetworkInterface_StackType_value
var (
NetworkInterface_StackType_name = map[int32]string{
0: "STACK_TYPE_UNSPECIFIED",
1: "IPV4_ONLY",
2: "IPV4_IPV6",
}
NetworkInterface_StackType_value = map[string]int32{
"STACK_TYPE_UNSPECIFIED": 0,
"IPV4_ONLY": 1,
"IPV4_IPV6": 2,
}
)
Enum value maps for NetworkInterface_StackType.
NetworkInterface_Ipv6AccessType_name, NetworkInterface_Ipv6AccessType_value
var (
NetworkInterface_Ipv6AccessType_name = map[int32]string{
0: "UNSPECIFIED_IPV6_ACCESS_TYPE",
1: "INTERNAL",
2: "EXTERNAL",
}
NetworkInterface_Ipv6AccessType_value = map[string]int32{
"UNSPECIFIED_IPV6_ACCESS_TYPE": 0,
"INTERNAL": 1,
"EXTERNAL": 2,
}
)
Enum value maps for NetworkInterface_Ipv6AccessType.
NetworkInterface_NicType_name, NetworkInterface_NicType_value
var (
NetworkInterface_NicType_name = map[int32]string{
0: "NIC_TYPE_UNSPECIFIED",
1: "VIRTIO_NET",
2: "GVNIC",
}
NetworkInterface_NicType_value = map[string]int32{
"NIC_TYPE_UNSPECIFIED": 0,
"VIRTIO_NET": 1,
"GVNIC": 2,
}
)
Enum value maps for NetworkInterface_NicType.
NetworkPerformanceConfig_Tier_name, NetworkPerformanceConfig_Tier_value
var (
NetworkPerformanceConfig_Tier_name = map[int32]string{
0: "TIER_UNSPECIFIED",
1: "DEFAULT",
2: "TIER_1",
}
NetworkPerformanceConfig_Tier_value = map[string]int32{
"TIER_UNSPECIFIED": 0,
"DEFAULT": 1,
"TIER_1": 2,
}
)
Enum value maps for NetworkPerformanceConfig_Tier.
AccessConfig_AccessType_name, AccessConfig_AccessType_value
var (
AccessConfig_AccessType_name = map[int32]string{
0: "ACCESS_TYPE_UNSPECIFIED",
1: "ONE_TO_ONE_NAT",
2: "DIRECT_IPV6",
}
AccessConfig_AccessType_value = map[string]int32{
"ACCESS_TYPE_UNSPECIFIED": 0,
"ONE_TO_ONE_NAT": 1,
"DIRECT_IPV6": 2,
}
)
Enum value maps for AccessConfig_AccessType.
AccessConfig_NetworkTier_name, AccessConfig_NetworkTier_value
var (
AccessConfig_NetworkTier_name = map[int32]string{
0: "NETWORK_TIER_UNSPECIFIED",
1: "PREMIUM",
2: "STANDARD",
}
AccessConfig_NetworkTier_value = map[string]int32{
"NETWORK_TIER_UNSPECIFIED": 0,
"PREMIUM": 1,
"STANDARD": 2,
}
)
Enum value maps for AccessConfig_NetworkTier.
AllocationAffinity_Type_name, AllocationAffinity_Type_value
var (
AllocationAffinity_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "NO_RESERVATION",
2: "ANY_RESERVATION",
3: "SPECIFIC_RESERVATION",
}
AllocationAffinity_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"NO_RESERVATION": 1,
"ANY_RESERVATION": 2,
"SPECIFIC_RESERVATION": 3,
}
)
Enum value maps for AllocationAffinity_Type.
Scheduling_OnHostMaintenance_name, Scheduling_OnHostMaintenance_value
var (
Scheduling_OnHostMaintenance_name = map[int32]string{
0: "ON_HOST_MAINTENANCE_UNSPECIFIED",
1: "TERMINATE",
1000: "MIGRATE",
}
Scheduling_OnHostMaintenance_value = map[string]int32{
"ON_HOST_MAINTENANCE_UNSPECIFIED": 0,
"TERMINATE": 1,
"MIGRATE": 1000,
}
)
Enum value maps for Scheduling_OnHostMaintenance.
Scheduling_ProvisioningModel_name, Scheduling_ProvisioningModel_value
var (
Scheduling_ProvisioningModel_name = map[int32]string{
0: "PROVISIONING_MODEL_UNSPECIFIED",
1: "STANDARD",
2: "SPOT",
}
Scheduling_ProvisioningModel_value = map[string]int32{
"PROVISIONING_MODEL_UNSPECIFIED": 0,
"STANDARD": 1,
"SPOT": 2,
}
)
Enum value maps for Scheduling_ProvisioningModel.
Scheduling_InstanceTerminationAction_name, Scheduling_InstanceTerminationAction_value
var (
Scheduling_InstanceTerminationAction_name = map[int32]string{
0: "INSTANCE_TERMINATION_ACTION_UNSPECIFIED",
1: "DELETE",
2: "STOP",
}
Scheduling_InstanceTerminationAction_value = map[string]int32{
"INSTANCE_TERMINATION_ACTION_UNSPECIFIED": 0,
"DELETE": 1,
"STOP": 2,
}
)
Enum value maps for Scheduling_InstanceTerminationAction.
Scheduling_NodeAffinity_Operator_name, Scheduling_NodeAffinity_Operator_value
var (
Scheduling_NodeAffinity_Operator_name = map[int32]string{
0: "OPERATOR_UNSPECIFIED",
1: "IN",
2: "NOT_IN",
}
Scheduling_NodeAffinity_Operator_value = map[string]int32{
"OPERATOR_UNSPECIFIED": 0,
"IN": 1,
"NOT_IN": 2,
}
)
Enum value maps for Scheduling_NodeAffinity_Operator.
AttachedDisk_DiskType_name, AttachedDisk_DiskType_value
var (
AttachedDisk_DiskType_name = map[int32]string{
0: "DISK_TYPE_UNSPECIFIED",
1: "SCRATCH",
2: "PERSISTENT",
}
AttachedDisk_DiskType_value = map[string]int32{
"DISK_TYPE_UNSPECIFIED": 0,
"SCRATCH": 1,
"PERSISTENT": 2,
}
)
Enum value maps for AttachedDisk_DiskType.
AttachedDisk_DiskMode_name, AttachedDisk_DiskMode_value
var (
AttachedDisk_DiskMode_name = map[int32]string{
0: "DISK_MODE_UNSPECIFIED",
1: "READ_WRITE",
2: "READ_ONLY",
3: "LOCKED",
}
AttachedDisk_DiskMode_value = map[string]int32{
"DISK_MODE_UNSPECIFIED": 0,
"READ_WRITE": 1,
"READ_ONLY": 2,
"LOCKED": 3,
}
)
Enum value maps for AttachedDisk_DiskMode.
AttachedDisk_DiskInterface_name, AttachedDisk_DiskInterface_value
var (
AttachedDisk_DiskInterface_name = map[int32]string{
0: "DISK_INTERFACE_UNSPECIFIED",
1: "SCSI",
2: "NVME",
3: "NVDIMM",
4: "ISCSI",
}
AttachedDisk_DiskInterface_value = map[string]int32{
"DISK_INTERFACE_UNSPECIFIED": 0,
"SCSI": 1,
"NVME": 2,
"NVDIMM": 3,
"ISCSI": 4,
}
)
Enum value maps for AttachedDisk_DiskInterface.
AttachedDisk_DiskSavedState_name, AttachedDisk_DiskSavedState_value
var (
AttachedDisk_DiskSavedState_name = map[int32]string{
0: "DISK_SAVED_STATE_UNSPECIFIED",
1: "PRESERVED",
}
AttachedDisk_DiskSavedState_value = map[string]int32{
"DISK_SAVED_STATE_UNSPECIFIED": 0,
"PRESERVED": 1,
}
)
Enum value maps for AttachedDisk_DiskSavedState.
GuestOsFeature_FeatureType_name, GuestOsFeature_FeatureType_value
var (
GuestOsFeature_FeatureType_name = map[int32]string{
0: "FEATURE_TYPE_UNSPECIFIED",
1: "VIRTIO_SCSI_MULTIQUEUE",
2: "WINDOWS",
3: "MULTI_IP_SUBNET",
4: "UEFI_COMPATIBLE",
5: "SECURE_BOOT",
6: "GVNIC",
7: "SEV_CAPABLE",
8: "BARE_METAL_LINUX_COMPATIBLE",
9: "SUSPEND_RESUME_COMPATIBLE",
10: "SEV_LIVE_MIGRATABLE",
11: "SEV_SNP_CAPABLE",
12: "TDX_CAPABLE",
13: "IDPF",
14: "SEV_LIVE_MIGRATABLE_V2",
}
GuestOsFeature_FeatureType_value = map[string]int32{
"FEATURE_TYPE_UNSPECIFIED": 0,
"VIRTIO_SCSI_MULTIQUEUE": 1,
"WINDOWS": 2,
"MULTI_IP_SUBNET": 3,
"UEFI_COMPATIBLE": 4,
"SECURE_BOOT": 5,
"GVNIC": 6,
"SEV_CAPABLE": 7,
"BARE_METAL_LINUX_COMPATIBLE": 8,
"SUSPEND_RESUME_COMPATIBLE": 9,
"SEV_LIVE_MIGRATABLE": 10,
"SEV_SNP_CAPABLE": 11,
"TDX_CAPABLE": 12,
"IDPF": 13,
"SEV_LIVE_MIGRATABLE_V2": 14,
}
)
Enum value maps for GuestOsFeature_FeatureType.
File_google_cloud_backupdr_v1_backupdr_proto
var File_google_cloud_backupdr_v1_backupdr_proto protoreflect.FileDescriptor
File_google_cloud_backupdr_v1_backupplan_proto
var File_google_cloud_backupdr_v1_backupplan_proto protoreflect.FileDescriptor
File_google_cloud_backupdr_v1_backupplanassociation_proto
var File_google_cloud_backupdr_v1_backupplanassociation_proto protoreflect.FileDescriptor
File_google_cloud_backupdr_v1_backupvault_ba_proto
var File_google_cloud_backupdr_v1_backupvault_ba_proto protoreflect.FileDescriptor
File_google_cloud_backupdr_v1_backupvault_gce_proto
var File_google_cloud_backupdr_v1_backupvault_gce_proto protoreflect.FileDescriptor
File_google_cloud_backupdr_v1_backupvault_proto
var File_google_cloud_backupdr_v1_backupvault_proto protoreflect.FileDescriptor
Functions
func RegisterBackupDRServer
func RegisterBackupDRServer(s *grpc.Server, srv BackupDRServer)
AcceleratorConfig
type AcceleratorConfig struct {
// Optional. Full or partial URL of the accelerator type resource to attach to
// this instance.
AcceleratorType *string `protobuf:"bytes,1,opt,name=accelerator_type,json=acceleratorType,proto3,oneof" json:"accelerator_type,omitempty"`
// Optional. The number of the guest accelerator cards exposed to this
// instance.
AcceleratorCount *int32 `protobuf:"varint,2,opt,name=accelerator_count,json=acceleratorCount,proto3,oneof" json:"accelerator_count,omitempty"`
// contains filtered or unexported fields
}
A specification of the type and number of accelerator cards attached to the instance.
func (*AcceleratorConfig) Descriptor
func (*AcceleratorConfig) Descriptor() ([]byte, []int)
Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.
func (*AcceleratorConfig) GetAcceleratorCount
func (x *AcceleratorConfig) GetAcceleratorCount() int32
func (*AcceleratorConfig) GetAcceleratorType
func (x *AcceleratorConfig) GetAcceleratorType() string
func (*AcceleratorConfig) ProtoMessage
func (*AcceleratorConfig) ProtoMessage()
func (*AcceleratorConfig) ProtoReflect
func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message
func (*AcceleratorConfig) Reset
func (x *AcceleratorConfig) Reset()
func (*AcceleratorConfig) String
func (x *AcceleratorConfig) String() string
AccessConfig
type AccessConfig struct {
// 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 `protobuf:"varint,5,opt,name=external_ipv6_prefix_length,json=externalIpv6PrefixLength,proto3,oneof" json:"external_ipv6_prefix_length,omitempty"`
// Optional. Specifies whether a public DNS 'PTR' record should be created to
// map the external IP address of the instance to a DNS domain name.
SetPublicPtr *bool `protobuf:"varint,6,opt,name=set_public_ptr,json=setPublicPtr,proto3,oneof" json:"set_public_ptr,omitempty"`
// Optional. The DNS domain name for the public PTR record.
PublicPtrDomainName *string `protobuf:"bytes,7,opt,name=public_ptr_domain_name,json=publicPtrDomainName,proto3,oneof" json:"public_ptr_domain_name,omitempty"`
// Optional. This signifies the networking tier used for configuring this
// access
NetworkTier *AccessConfig_NetworkTier `protobuf:"varint,8,opt,name=network_tier,json=networkTier,proto3,enum=google.cloud.backupdr.v1.AccessConfig_NetworkTier,oneof" json:"network_tier,omitempty"`
// contains filtered or unexported fields
}
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
func (*AccessConfig) Descriptor
func (*AccessConfig) Descriptor() ([]byte, []int)
Deprecated: Use AccessConfig.ProtoReflect.Descriptor instead.
func (*AccessConfig) GetExternalIp
func (x *AccessConfig) GetExternalIp() string
func (*AccessConfig) GetExternalIpv6
func (x *AccessConfig) GetExternalIpv6() string
func (*AccessConfig) GetExternalIpv6PrefixLength
func (x *AccessConfig) GetExternalIpv6PrefixLength() int32
func (*AccessConfig) GetName
func (x *AccessConfig) GetName() string
func (*AccessConfig) GetNetworkTier
func (x *AccessConfig) GetNetworkTier() AccessConfig_NetworkTier
func (*AccessConfig) GetPublicPtrDomainName
func (x *AccessConfig) GetPublicPtrDomainName() string
func (*AccessConfig) GetSetPublicPtr
func (x *AccessConfig) GetSetPublicPtr() bool
func (*AccessConfig) GetType
func (x *AccessConfig) GetType() AccessConfig_AccessType
func (*AccessConfig) ProtoMessage
func (*AccessConfig) ProtoMessage()
func (*AccessConfig) ProtoReflect
func (x *AccessConfig) ProtoReflect() protoreflect.Message
func (*AccessConfig) Reset
func (x *AccessConfig) Reset()
func (*AccessConfig) String
func (x *AccessConfig) String() string
AccessConfig_AccessType
type AccessConfig_AccessType int32
The type of configuration.
AccessConfig_ACCESS_TYPE_UNSPECIFIED, AccessConfig_ONE_TO_ONE_NAT, AccessConfig_DIRECT_IPV6
const (
// Default value. This value is unused.
AccessConfig_ACCESS_TYPE_UNSPECIFIED AccessConfig_AccessType = 0
// ONE_TO_ONE_NAT
AccessConfig_ONE_TO_ONE_NAT AccessConfig_AccessType = 1
// Direct IPv6 access.
AccessConfig_DIRECT_IPV6 AccessConfig_AccessType = 2
)
func (AccessConfig_AccessType) Descriptor
func (AccessConfig_AccessType) Descriptor() protoreflect.EnumDescriptor
func (AccessConfig_AccessType) Enum
func (x AccessConfig_AccessType) Enum() *AccessConfig_AccessType
func (AccessConfig_AccessType) EnumDescriptor
func (AccessConfig_AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessConfig_AccessType.Descriptor instead.
func (AccessConfig_AccessType) Number
func (x AccessConfig_AccessType) Number() protoreflect.EnumNumber
func (AccessConfig_AccessType) String
func (x AccessConfig_AccessType) String() string
func (AccessConfig_AccessType) Type
func (AccessConfig_AccessType) Type() protoreflect.EnumType
AccessConfig_NetworkTier
type AccessConfig_NetworkTier int32
Network tier property used by addresses, instances and forwarding rules.
AccessConfig_NETWORK_TIER_UNSPECIFIED, AccessConfig_PREMIUM, AccessConfig_STANDARD
const (
// Default value. This value is unused.
AccessConfig_NETWORK_TIER_UNSPECIFIED AccessConfig_NetworkTier = 0
// High quality, Google-grade network tier, support for all networking
// products.
AccessConfig_PREMIUM AccessConfig_NetworkTier = 1
// Public internet quality, only limited support for other networking
// products.
AccessConfig_STANDARD AccessConfig_NetworkTier = 2
)
func (AccessConfig_NetworkTier) Descriptor
func (AccessConfig_NetworkTier) Descriptor() protoreflect.EnumDescriptor
func (AccessConfig_NetworkTier) Enum
func (x AccessConfig_NetworkTier) Enum() *AccessConfig_NetworkTier
func (AccessConfig_NetworkTier) EnumDescriptor
func (AccessConfig_NetworkTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessConfig_NetworkTier.Descriptor instead.
func (AccessConfig_NetworkTier) Number
func (x AccessConfig_NetworkTier) Number() protoreflect.EnumNumber
func (AccessConfig_NetworkTier) String
func (x AccessConfig_NetworkTier) String() string
func (AccessConfig_NetworkTier) Type
func (AccessConfig_NetworkTier) Type() protoreflect.EnumType
AdvancedMachineFeatures
type AdvancedMachineFeatures struct {
// Optional. Whether to enable nested virtualization or not (default is
// false).
EnableNestedVirtualization *bool `protobuf:"varint,1,opt,name=enable_nested_virtualization,json=enableNestedVirtualization,proto3,oneof" json:"enable_nested_virtualization,omitempty"`
// Optional. The number of threads per physical core. To disable simultaneous
// multithreading (SMT) set this to 1. If unset, the maximum number
// of threads supported per core by the underlying processor is
// assumed.
ThreadsPerCore *int32 `protobuf:"varint,2,opt,name=threads_per_core,json=threadsPerCore,proto3,oneof" json:"threads_per_core,omitempty"`
// Optional. The number of physical cores to expose to an instance. Multiply
// by the number of threads per core to compute the total number of virtual
// CPUs to expose to the instance. If unset, the number of cores is
// inferred from the instance's nominal CPU count and the underlying
// platform's SMT width.
VisibleCoreCount *int32 `protobuf:"varint,3,opt,name=visible_core_count,json=visibleCoreCount,proto3,oneof" json:"visible_core_count,omitempty"`
// Optional. Whether to enable UEFI networking for instance creation.
EnableUefiNetworking *bool `protobuf:"varint,4,opt,name=enable_uefi_networking,json=enableUefiNetworking,proto3,oneof" json:"enable_uefi_networking,omitempty"`
// contains filtered or unexported fields
}
Specifies options for controlling advanced machine features.
func (*AdvancedMachineFeatures) Descriptor
func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.
func (*AdvancedMachineFeatures) GetEnableNestedVirtualization
func (x *AdvancedMachineFeatures) GetEnableNestedVirtualization() bool
func (*AdvancedMachineFeatures) GetEnableUefiNetworking
func (x *AdvancedMachineFeatures) GetEnableUefiNetworking() bool
func (*AdvancedMachineFeatures) GetThreadsPerCore
func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32
func (*AdvancedMachineFeatures) GetVisibleCoreCount
func (x *AdvancedMachineFeatures) GetVisibleCoreCount() int32
func (*AdvancedMachineFeatures) ProtoMessage
func (*AdvancedMachineFeatures) ProtoMessage()
func (*AdvancedMachineFeatures) ProtoReflect
func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message
func (*AdvancedMachineFeatures) Reset
func (x *AdvancedMachineFeatures) Reset()
func (*AdvancedMachineFeatures) String
func (x *AdvancedMachineFeatures) String() string
AliasIpRange
type AliasIpRange struct {
// Optional. The IP alias ranges to allocate for this interface.
IpCidrRange *string `protobuf:"bytes,1,opt,name=ip_cidr_range,json=ipCidrRange,proto3,oneof" json:"ip_cidr_range,omitempty"`
// Optional. The name of a subnetwork secondary IP range from which to
// allocate an IP alias range. If not specified, the primary range of the
// subnetwork is used.
SubnetworkRangeName *string `protobuf:"bytes,2,opt,name=subnetwork_range_name,json=subnetworkRangeName,proto3,oneof" json:"subnetwork_range_name,omitempty"`
// contains filtered or unexported fields
}
An alias IP range attached to an instance's network interface.
func (*AliasIpRange) Descriptor
func (*AliasIpRange) Descriptor() ([]byte, []int)
Deprecated: Use AliasIpRange.ProtoReflect.Descriptor instead.
func (*AliasIpRange) GetIpCidrRange
func (x *AliasIpRange) GetIpCidrRange() string
func (*AliasIpRange) GetSubnetworkRangeName
func (x *AliasIpRange) GetSubnetworkRangeName() string
func (*AliasIpRange) ProtoMessage
func (*AliasIpRange) ProtoMessage()
func (*AliasIpRange) ProtoReflect
func (x *AliasIpRange) ProtoReflect() protoreflect.Message
func (*AliasIpRange) Reset
func (x *AliasIpRange) Reset()
func (*AliasIpRange) String
func (x *AliasIpRange) String() string
AllocationAffinity
type AllocationAffinity struct {
// Optional. Specifies the type of reservation from which this instance can
// consume
ConsumeAllocationType *AllocationAffinity_Type `protobuf:"varint,1,opt,name=consume_allocation_type,json=consumeAllocationType,proto3,enum=google.cloud.backupdr.v1.AllocationAffinity_Type,oneof" json:"consume_allocation_type,omitempty"`
// Optional. Corresponds to the label key of a reservation resource.
Key *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Corresponds to the label values of a reservation resource.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
Specifies the reservations that this instance can consume from.
func (*AllocationAffinity) Descriptor
func (*AllocationAffinity) Descriptor() ([]byte, []int)
Deprecated: Use AllocationAffinity.ProtoReflect.Descriptor instead.
func (*AllocationAffinity) GetConsumeAllocationType
func (x *AllocationAffinity) GetConsumeAllocationType() AllocationAffinity_Type
func (*AllocationAffinity) GetKey
func (x *AllocationAffinity) GetKey() string
func (*AllocationAffinity) GetValues
func (x *AllocationAffinity) GetValues() []string
func (*AllocationAffinity) ProtoMessage
func (*AllocationAffinity) ProtoMessage()
func (*AllocationAffinity) ProtoReflect
func (x *AllocationAffinity) ProtoReflect() protoreflect.Message
func (*AllocationAffinity) Reset
func (x *AllocationAffinity) Reset()
func (*AllocationAffinity) String
func (x *AllocationAffinity) String() string
AllocationAffinity_Type
type AllocationAffinity_Type int32
Indicates whether to consume from a reservation or not.
AllocationAffinity_TYPE_UNSPECIFIED, AllocationAffinity_NO_RESERVATION, AllocationAffinity_ANY_RESERVATION, AllocationAffinity_SPECIFIC_RESERVATION
const (
// Default value. This value is unused.
AllocationAffinity_TYPE_UNSPECIFIED AllocationAffinity_Type = 0
// Do not consume from any allocated capacity.
AllocationAffinity_NO_RESERVATION AllocationAffinity_Type = 1
// Consume any allocation available.
AllocationAffinity_ANY_RESERVATION AllocationAffinity_Type = 2
// Must consume from a specific reservation. Must specify key value fields
// for specifying the reservations.
AllocationAffinity_SPECIFIC_RESERVATION AllocationAffinity_Type = 3
)
func (AllocationAffinity_Type) Descriptor
func (AllocationAffinity_Type) Descriptor() protoreflect.EnumDescriptor
func (AllocationAffinity_Type) Enum
func (x AllocationAffinity_Type) Enum() *AllocationAffinity_Type
func (AllocationAffinity_Type) EnumDescriptor
func (AllocationAffinity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllocationAffinity_Type.Descriptor instead.
func (AllocationAffinity_Type) Number
func (x AllocationAffinity_Type) Number() protoreflect.EnumNumber
func (AllocationAffinity_Type) String
func (x AllocationAffinity_Type) String() string
func (AllocationAffinity_Type) Type
func (AllocationAffinity_Type) Type() protoreflect.EnumType
AttachedDisk
type AttachedDisk struct {
// Optional. Specifies the parameters to initialize this disk.
InitializeParams *AttachedDisk_InitializeParams `protobuf:"bytes,1,opt,name=initialize_params,json=initializeParams,proto3,oneof" json:"initialize_params,omitempty"`
// Optional. This is used as an identifier for the disks. This is the unique
// name has to provided to modify disk parameters like disk_name and
// replica_zones (in case of RePDs)
DeviceName *string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3,oneof" json:"device_name,omitempty"`
// Optional. Type of the resource.
Kind *string `protobuf:"bytes,5,opt,name=kind,proto3,oneof" json:"kind,omitempty"`
// Specifies the type of the disk.
//
// Deprecated: Marked as deprecated in google/cloud/backupdr/v1/backupvault_gce.proto.
DiskTypeDeprecated *AttachedDisk_DiskType `protobuf:"varint,6,opt,name=disk_type_deprecated,json=diskTypeDeprecated,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskType,oneof" json:"disk_type_deprecated,omitempty"`
// Optional. The mode in which to attach this disk.
Mode *AttachedDisk_DiskMode `protobuf:"varint,7,opt,name=mode,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskMode,oneof" json:"mode,omitempty"`
// Optional. Specifies a valid partial or full URL to an existing Persistent
// Disk resource.
Source *string `protobuf:"bytes,8,opt,name=source,proto3,oneof" json:"source,omitempty"`
// Optional. A zero-based index to this disk, where 0 is reserved for the
// boot disk.
Index *int64 `protobuf:"varint,9,opt,name=index,proto3,oneof" json:"index,omitempty"`
// Optional. Indicates that this is a boot disk. The virtual machine will use
// the first partition of the disk for its root filesystem.
Boot *bool `protobuf:"varint,10,opt,name=boot,proto3,oneof" json:"boot,omitempty"`
// Optional. Specifies whether the disk will be auto-deleted when the instance
// is deleted (but not when the disk is detached from the instance).
AutoDelete *bool `protobuf:"varint,11,opt,name=auto_delete,json=autoDelete,proto3,oneof" json:"auto_delete,omitempty"`
// Optional. Any valid publicly visible licenses.
License []string `protobuf:"bytes,12,rep,name=license,proto3" json:"license,omitempty"`
// Optional. Specifies the disk interface to use for attaching this disk.
DiskInterface *AttachedDisk_DiskInterface `protobuf:"varint,13,opt,name=disk_interface,json=diskInterface,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskInterface,oneof" json:"disk_interface,omitempty"`
// Optional. A list of features to enable on the guest operating system.
// Applicable only for bootable images.
GuestOsFeature []*GuestOsFeature `protobuf:"bytes,14,rep,name=guest_os_feature,json=guestOsFeature,proto3" json:"guest_os_feature,omitempty"`
// Optional. Encrypts or decrypts a disk using a customer-supplied
// encryption key.
DiskEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,15,opt,name=disk_encryption_key,json=diskEncryptionKey,proto3,oneof" json:"disk_encryption_key,omitempty"`
// Optional. The size of the disk in GB.
DiskSizeGb *int64 `protobuf:"varint,16,opt,name=disk_size_gb,json=diskSizeGb,proto3,oneof" json:"disk_size_gb,omitempty"`
// Optional. Output only. The state of the disk.
SavedState *AttachedDisk_DiskSavedState `protobuf:"varint,17,opt,name=saved_state,json=savedState,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskSavedState,oneof" json:"saved_state,omitempty"`
// Optional. Output only. The URI of the disk type resource. For example:
// projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
DiskType *string `protobuf:"bytes,18,opt,name=disk_type,json=diskType,proto3,oneof" json:"disk_type,omitempty"`
// Optional. Specifies the type of the disk.
Type *AttachedDisk_DiskType `protobuf:"varint,19,opt,name=type,proto3,enum=google.cloud.backupdr.v1.AttachedDisk_DiskType,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
An instance-attached disk resource.
func (*AttachedDisk) Descriptor
func (*AttachedDisk) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDisk.ProtoReflect.Descriptor instead.
func (*AttachedDisk) GetAutoDelete
func (x *AttachedDisk) GetAutoDelete() bool
func (*AttachedDisk) GetBoot
func (x *AttachedDisk) GetBoot() bool
func (*AttachedDisk) GetDeviceName
func (x *AttachedDisk) GetDeviceName() string
func (*AttachedDisk) GetDiskEncryptionKey
func (x *AttachedDisk) GetDiskEncryptionKey() *CustomerEncryptionKey
func (*AttachedDisk) GetDiskInterface
func (x *AttachedDisk) GetDiskInterface() AttachedDisk_DiskInterface
func (*AttachedDisk) GetDiskSizeGb
func (x *AttachedDisk) GetDiskSizeGb() int64
func (*AttachedDisk) GetDiskType
func (x *AttachedDisk) GetDiskType() string
func (*AttachedDisk) GetDiskTypeDeprecated
func (x *AttachedDisk) GetDiskTypeDeprecated() AttachedDisk_DiskType
Deprecated: Marked as deprecated in google/cloud/backupdr/v1/backupvault_gce.proto.
func (*AttachedDisk) GetGuestOsFeature
func (x *AttachedDisk) GetGuestOsFeature() []*GuestOsFeature
func (*AttachedDisk) GetIndex
func (x *AttachedDisk) GetIndex() int64
func (*AttachedDisk) GetInitializeParams
func (x *AttachedDisk) GetInitializeParams() *AttachedDisk_InitializeParams
func (*AttachedDisk) GetKind
func (x *AttachedDisk) GetKind() string
func (*AttachedDisk) GetLicense
func (x *AttachedDisk) GetLicense() []string
func (*AttachedDisk) GetMode
func (x *AttachedDisk) GetMode() AttachedDisk_DiskMode
func (*AttachedDisk) GetSavedState
func (x *AttachedDisk) GetSavedState() AttachedDisk_DiskSavedState
func (*AttachedDisk) GetSource
func (x *AttachedDisk) GetSource() string
func (*AttachedDisk) GetType
func (x *AttachedDisk) GetType() AttachedDisk_DiskType
func (*AttachedDisk) ProtoMessage
func (*AttachedDisk) ProtoMessage()
func (*AttachedDisk) ProtoReflect
func (x *AttachedDisk) ProtoReflect() protoreflect.Message
func (*AttachedDisk) Reset
func (x *AttachedDisk) Reset()
func (*AttachedDisk) String
func (x *AttachedDisk) String() string
AttachedDisk_DiskInterface
type AttachedDisk_DiskInterface int32
List of the Disk Interfaces.
AttachedDisk_DISK_INTERFACE_UNSPECIFIED, AttachedDisk_SCSI, AttachedDisk_NVME, AttachedDisk_NVDIMM, AttachedDisk_ISCSI
const (
// Default value, which is unused.
AttachedDisk_DISK_INTERFACE_UNSPECIFIED AttachedDisk_DiskInterface = 0
// SCSI Disk Interface.
AttachedDisk_SCSI AttachedDisk_DiskInterface = 1
// NVME Disk Interface.
AttachedDisk_NVME AttachedDisk_DiskInterface = 2
// NVDIMM Disk Interface.
AttachedDisk_NVDIMM AttachedDisk_DiskInterface = 3
// ISCSI Disk Interface.
AttachedDisk_ISCSI AttachedDisk_DiskInterface = 4
)
func (AttachedDisk_DiskInterface) Descriptor
func (AttachedDisk_DiskInterface) Descriptor() protoreflect.EnumDescriptor
func (AttachedDisk_DiskInterface) Enum
func (x AttachedDisk_DiskInterface) Enum() *AttachedDisk_DiskInterface
func (AttachedDisk_DiskInterface) EnumDescriptor
func (AttachedDisk_DiskInterface) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDisk_DiskInterface.Descriptor instead.
func (AttachedDisk_DiskInterface) Number
func (x AttachedDisk_DiskInterface) Number() protoreflect.EnumNumber
func (AttachedDisk_DiskInterface) String
func (x AttachedDisk_DiskInterface) String() string
func (AttachedDisk_DiskInterface) Type
func (AttachedDisk_DiskInterface) Type() protoreflect.EnumType
AttachedDisk_DiskMode
type AttachedDisk_DiskMode int32
List of the Disk Modes.
AttachedDisk_DISK_MODE_UNSPECIFIED, AttachedDisk_READ_WRITE, AttachedDisk_READ_ONLY, AttachedDisk_LOCKED
const (
// Default value, which is unused.
AttachedDisk_DISK_MODE_UNSPECIFIED AttachedDisk_DiskMode = 0
// Attaches this disk in read-write mode. Only one
// virtual machine at a time can be attached to a disk in read-write mode.
AttachedDisk_READ_WRITE AttachedDisk_DiskMode = 1
// Attaches this disk in read-only mode. Multiple virtual machines can use
// a disk in read-only mode at a time.
AttachedDisk_READ_ONLY AttachedDisk_DiskMode = 2
// The disk is locked for administrative reasons. Nobody else
// can use the disk. This mode is used (for example) when taking
// a snapshot of a disk to prevent mounting the disk while it is
// being snapshotted.
AttachedDisk_LOCKED AttachedDisk_DiskMode = 3
)
func (AttachedDisk_DiskMode) Descriptor
func (AttachedDisk_DiskMode) Descriptor() protoreflect.EnumDescriptor
func (AttachedDisk_DiskMode) Enum
func (x AttachedDisk_DiskMode) Enum() *AttachedDisk_DiskMode
func (AttachedDisk_DiskMode) EnumDescriptor
func (AttachedDisk_DiskMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDisk_DiskMode.Descriptor instead.
func (AttachedDisk_DiskMode) Number
func (x AttachedDisk_DiskMode) Number() protoreflect.EnumNumber
func (AttachedDisk_DiskMode) String
func (x AttachedDisk_DiskMode) String() string
func (AttachedDisk_DiskMode) Type
func (AttachedDisk_DiskMode) Type() protoreflect.EnumType
AttachedDisk_DiskSavedState
type AttachedDisk_DiskSavedState int32
List of the states of the Disk.
AttachedDisk_DISK_SAVED_STATE_UNSPECIFIED, AttachedDisk_PRESERVED
const (
// Default Disk state has not been preserved.
AttachedDisk_DISK_SAVED_STATE_UNSPECIFIED AttachedDisk_DiskSavedState = 0
// Disk state has been preserved.
AttachedDisk_PRESERVED AttachedDisk_DiskSavedState = 1
)
func (AttachedDisk_DiskSavedState) Descriptor
func (AttachedDisk_DiskSavedState) Descriptor() protoreflect.EnumDescriptor
func (AttachedDisk_DiskSavedState) Enum
func (x AttachedDisk_DiskSavedState) Enum() *AttachedDisk_DiskSavedState
func (AttachedDisk_DiskSavedState) EnumDescriptor
func (AttachedDisk_DiskSavedState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDisk_DiskSavedState.Descriptor instead.
func (AttachedDisk_DiskSavedState) Number
func (x AttachedDisk_DiskSavedState) Number() protoreflect.EnumNumber
func (AttachedDisk_DiskSavedState) String
func (x AttachedDisk_DiskSavedState) String() string
func (AttachedDisk_DiskSavedState) Type
func (AttachedDisk_DiskSavedState) Type() protoreflect.EnumType
AttachedDisk_DiskType
type AttachedDisk_DiskType int32
List of the Disk Types.
AttachedDisk_DISK_TYPE_UNSPECIFIED, AttachedDisk_SCRATCH, AttachedDisk_PERSISTENT
const (
// Default value, which is unused.
AttachedDisk_DISK_TYPE_UNSPECIFIED AttachedDisk_DiskType = 0
// A scratch disk type.
AttachedDisk_SCRATCH AttachedDisk_DiskType = 1
// A persistent disk type.
AttachedDisk_PERSISTENT AttachedDisk_DiskType = 2
)
func (AttachedDisk_DiskType) Descriptor
func (AttachedDisk_DiskType) Descriptor() protoreflect.EnumDescriptor
func (AttachedDisk_DiskType) Enum
func (x AttachedDisk_DiskType) Enum() *AttachedDisk_DiskType
func (AttachedDisk_DiskType) EnumDescriptor
func (AttachedDisk_DiskType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDisk_DiskType.Descriptor instead.
func (AttachedDisk_DiskType) Number
func (x AttachedDisk_DiskType) Number() protoreflect.EnumNumber
func (AttachedDisk_DiskType) String
func (x AttachedDisk_DiskType) String() string
func (AttachedDisk_DiskType) Type
func (AttachedDisk_DiskType) Type() protoreflect.EnumType
AttachedDisk_InitializeParams
type AttachedDisk_InitializeParams struct {
// Optional. Specifies the disk name. If not specified, the default is to
// use the name of the instance.
DiskName *string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3,oneof" json:"disk_name,omitempty"`
// Optional. URL of the zone where the disk should be created.
// Required for each regional disk associated with the instance.
ReplicaZones []string `protobuf:"bytes,2,rep,name=replica_zones,json=replicaZones,proto3" json:"replica_zones,omitempty"`
// contains filtered or unexported fields
}
Specifies the parameters to initialize this disk.
func (*AttachedDisk_InitializeParams) Descriptor
func (*AttachedDisk_InitializeParams) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDisk_InitializeParams.ProtoReflect.Descriptor instead.
func (*AttachedDisk_InitializeParams) GetDiskName
func (x *AttachedDisk_InitializeParams) GetDiskName() string
func (*AttachedDisk_InitializeParams) GetReplicaZones
func (x *AttachedDisk_InitializeParams) GetReplicaZones() []string
func (*AttachedDisk_InitializeParams) ProtoMessage
func (*AttachedDisk_InitializeParams) ProtoMessage()
func (*AttachedDisk_InitializeParams) ProtoReflect
func (x *AttachedDisk_InitializeParams) ProtoReflect() protoreflect.Message
func (*AttachedDisk_InitializeParams) Reset
func (x *AttachedDisk_InitializeParams) Reset()
func (*AttachedDisk_InitializeParams) String
func (x *AttachedDisk_InitializeParams) String() string
Backup
type Backup struct {
// Output only. Identifier. Name of the backup to create. It must have the
// format`"projects/
Message describing a Backup object.
func (*Backup) Descriptor
Deprecated: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupApplianceBackupProperties
func (x *Backup) GetBackupApplianceBackupProperties() *BackupApplianceBackupProperties
func (*Backup) GetBackupApplianceLocks
func (x *Backup) GetBackupApplianceLocks() []*BackupLock
func (*Backup) GetBackupProperties
func (m *Backup) GetBackupProperties() isBackup_BackupProperties
func (*Backup) GetBackupType
func (x *Backup) GetBackupType() Backup_BackupType
func (*Backup) GetComputeInstanceBackupProperties
func (x *Backup) GetComputeInstanceBackupProperties() *ComputeInstanceBackupProperties
func (*Backup) GetConsistencyTime
func (x *Backup) GetConsistencyTime() *timestamppb.Timestamp
func (*Backup) GetCreateTime
func (x *Backup) GetCreateTime() *timestamppb.Timestamp
func (*Backup) GetDescription
func (*Backup) GetEnforcedRetentionEndTime
func (x *Backup) GetEnforcedRetentionEndTime() *timestamppb.Timestamp
func (*Backup) GetEtag
func (*Backup) GetExpireTime
func (x *Backup) GetExpireTime() *timestamppb.Timestamp
func (*Backup) GetGcpBackupPlanInfo
func (x *Backup) GetGcpBackupPlanInfo() *Backup_GCPBackupPlanInfo
func (*Backup) GetLabels
func (*Backup) GetName
func (*Backup) GetPlanInfo
func (m *Backup) GetPlanInfo() isBackup_PlanInfo
func (*Backup) GetResourceSizeBytes
func (*Backup) GetServiceLocks
func (x *Backup) GetServiceLocks() []*BackupLock
func (*Backup) GetState
func (x *Backup) GetState() Backup_State
func (*Backup) GetUpdateTime
func (x *Backup) GetUpdateTime() *timestamppb.Timestamp
func (*Backup) ProtoMessage
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect
func (x *Backup) ProtoReflect() protoreflect.Message
func (*Backup) Reset
func (x *Backup) Reset()
func (*Backup) String
BackupApplianceBackupConfig
type BackupApplianceBackupConfig struct {
// The name of the backup appliance.
BackupApplianceName string `protobuf:"bytes,1,opt,name=backup_appliance_name,json=backupApplianceName,proto3" json:"backup_appliance_name,omitempty"`
// The ID of the backup appliance.
BackupApplianceId int64 `protobuf:"varint,2,opt,name=backup_appliance_id,json=backupApplianceId,proto3" json:"backup_appliance_id,omitempty"`
// The ID of the SLA of this application.
SlaId int64 `protobuf:"varint,3,opt,name=sla_id,json=slaId,proto3" json:"sla_id,omitempty"`
// The name of the application.
ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
// The name of the host where the application is running.
HostName string `protobuf:"bytes,5,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
// The name of the SLT associated with the application.
SltName string `protobuf:"bytes,6,opt,name=slt_name,json=sltName,proto3" json:"slt_name,omitempty"`
// The name of the SLP associated with the application.
SlpName string `protobuf:"bytes,7,opt,name=slp_name,json=slpName,proto3" json:"slp_name,omitempty"`
// contains filtered or unexported fields
}
BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.
func (*BackupApplianceBackupConfig) Descriptor
func (*BackupApplianceBackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use BackupApplianceBackupConfig.ProtoReflect.Descriptor instead.
func (*BackupApplianceBackupConfig) GetApplicationName
func (x *BackupApplianceBackupConfig) GetApplicationName() string
func (*BackupApplianceBackupConfig) GetBackupApplianceId
func (x *BackupApplianceBackupConfig) GetBackupApplianceId() int64
func (*BackupApplianceBackupConfig) GetBackupApplianceName
func (x *BackupApplianceBackupConfig) GetBackupApplianceName() string
func (*BackupApplianceBackupConfig) GetHostName
func (x *BackupApplianceBackupConfig) GetHostName() string
func (*BackupApplianceBackupConfig) GetSlaId
func (x *BackupApplianceBackupConfig) GetSlaId() int64
func (*BackupApplianceBackupConfig) GetSlpName
func (x *BackupApplianceBackupConfig) GetSlpName() string
func (*BackupApplianceBackupConfig) GetSltName
func (x *BackupApplianceBackupConfig) GetSltName() string
func (*BackupApplianceBackupConfig) ProtoMessage
func (*BackupApplianceBackupConfig) ProtoMessage()
func (*BackupApplianceBackupConfig) ProtoReflect
func (x *BackupApplianceBackupConfig) ProtoReflect() protoreflect.Message
func (*BackupApplianceBackupConfig) Reset
func (x *BackupApplianceBackupConfig) Reset()
func (*BackupApplianceBackupConfig) String
func (x *BackupApplianceBackupConfig) String() string
BackupApplianceBackupProperties
type BackupApplianceBackupProperties struct {
// Output only. The numeric generation ID of the backup (monotonically
// increasing).
GenerationId *int32 `protobuf:"varint,1,opt,name=generation_id,json=generationId,proto3,oneof" json:"generation_id,omitempty"`
// Output only. The time when this backup object was finalized (if none,
// backup is not finalized).
FinalizeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=finalize_time,json=finalizeTime,proto3,oneof" json:"finalize_time,omitempty"`
// Optional. The earliest timestamp of data available in this Backup.
RecoveryRangeStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=recovery_range_start_time,json=recoveryRangeStartTime,proto3,oneof" json:"recovery_range_start_time,omitempty"`
// Optional. The latest timestamp of data available in this Backup.
RecoveryRangeEndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=recovery_range_end_time,json=recoveryRangeEndTime,proto3,oneof" json:"recovery_range_end_time,omitempty"`
// contains filtered or unexported fields
}
BackupApplianceBackupProperties represents BackupDR backup appliance's properties.
func (*BackupApplianceBackupProperties) Descriptor
func (*BackupApplianceBackupProperties) Descriptor() ([]byte, []int)
Deprecated: Use BackupApplianceBackupProperties.ProtoReflect.Descriptor instead.
func (*BackupApplianceBackupProperties) GetFinalizeTime
func (x *BackupApplianceBackupProperties) GetFinalizeTime() *timestamppb.Timestamp
func (*BackupApplianceBackupProperties) GetGenerationId
func (x *BackupApplianceBackupProperties) GetGenerationId() int32
func (*BackupApplianceBackupProperties) GetRecoveryRangeEndTime
func (x *BackupApplianceBackupProperties) GetRecoveryRangeEndTime() *timestamppb.Timestamp
func (*BackupApplianceBackupProperties) GetRecoveryRangeStartTime
func (x *BackupApplianceBackupProperties) GetRecoveryRangeStartTime() *timestamppb.Timestamp
func (*BackupApplianceBackupProperties) ProtoMessage
func (*BackupApplianceBackupProperties) ProtoMessage()
func (*BackupApplianceBackupProperties) ProtoReflect
func (x *BackupApplianceBackupProperties) ProtoReflect() protoreflect.Message
func (*BackupApplianceBackupProperties) Reset
func (x *BackupApplianceBackupProperties) Reset()
func (*BackupApplianceBackupProperties) String
func (x *BackupApplianceBackupProperties) String() string
BackupApplianceLockInfo
type BackupApplianceLockInfo struct {
// Required. The ID of the backup/recovery appliance that created this lock.
BackupApplianceId int64 `protobuf:"varint,1,opt,name=backup_appliance_id,json=backupApplianceId,proto3" json:"backup_appliance_id,omitempty"`
// Required. The name of the backup/recovery appliance that created this lock.
BackupApplianceName string `protobuf:"bytes,2,opt,name=backup_appliance_name,json=backupApplianceName,proto3" json:"backup_appliance_name,omitempty"`
// Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
// value of this string is only meaningful to the client and it is not
// interpreted by the BackupVault service.
LockReason string `protobuf:"bytes,5,opt,name=lock_reason,json=lockReason,proto3" json:"lock_reason,omitempty"`
// The information about this lock.
//
// Types that are assignable to LockSource:
//
// *BackupApplianceLockInfo_JobName
// *BackupApplianceLockInfo_BackupImage
// *BackupApplianceLockInfo_SlaId
LockSource isBackupApplianceLockInfo_LockSource `protobuf_oneof:"lock_source"`
// contains filtered or unexported fields
}
BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.
func (*BackupApplianceLockInfo) Descriptor
func (*BackupApplianceLockInfo) Descriptor() ([]byte, []int)
Deprecated: Use BackupApplianceLockInfo.ProtoReflect.Descriptor instead.
func (*BackupApplianceLockInfo) GetBackupApplianceId
func (x *BackupApplianceLockInfo) GetBackupApplianceId() int64
func (*BackupApplianceLockInfo) GetBackupApplianceName
func (x *BackupApplianceLockInfo) GetBackupApplianceName() string
func (*BackupApplianceLockInfo) GetBackupImage
func (x *BackupApplianceLockInfo) GetBackupImage() string
func (*BackupApplianceLockInfo) GetJobName
func (x *BackupApplianceLockInfo) GetJobName() string
func (*BackupApplianceLockInfo) GetLockReason
func (x *BackupApplianceLockInfo) GetLockReason() string
func (*BackupApplianceLockInfo) GetLockSource
func (m *BackupApplianceLockInfo) GetLockSource() isBackupApplianceLockInfo_LockSource
func (*BackupApplianceLockInfo) GetSlaId
func (x *BackupApplianceLockInfo) GetSlaId() int64
func (*BackupApplianceLockInfo) ProtoMessage
func (*BackupApplianceLockInfo) ProtoMessage()
func (*BackupApplianceLockInfo) ProtoReflect
func (x *BackupApplianceLockInfo) ProtoReflect() protoreflect.Message
func (*BackupApplianceLockInfo) Reset
func (x *BackupApplianceLockInfo) Reset()
func (*BackupApplianceLockInfo) String
func (x *BackupApplianceLockInfo) String() string
BackupApplianceLockInfo_BackupImage
type BackupApplianceLockInfo_BackupImage struct {
// The image name that depends on this Backup.
BackupImage string `protobuf:"bytes,7,opt,name=backup_image,json=backupImage,proto3,oneof"`
}
BackupApplianceLockInfo_JobName
type BackupApplianceLockInfo_JobName struct {
// The job name on the backup/recovery appliance that created this lock.
JobName string `protobuf:"bytes,6,opt,name=job_name,json=jobName,proto3,oneof"`
}
BackupApplianceLockInfo_SlaId
type BackupApplianceLockInfo_SlaId struct {
// The SLA on the backup/recovery appliance that owns the lock.
SlaId int64 `protobuf:"varint,8,opt,name=sla_id,json=slaId,proto3,oneof"`
}
BackupConfigInfo
type BackupConfigInfo struct {
// Output only. The status of the last backup to this BackupVault
LastBackupState BackupConfigInfo_LastBackupState `protobuf:"varint,1,opt,name=last_backup_state,json=lastBackupState,proto3,enum=google.cloud.backupdr.v1.BackupConfigInfo_LastBackupState" json:"last_backup_state,omitempty"`
// Output only. If the last backup were successful, this field has the
// consistency date.
LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_successful_backup_consistency_time,json=lastSuccessfulBackupConsistencyTime,proto3" json:"last_successful_backup_consistency_time,omitempty"`
// Output only. If the last backup failed, this field has the error message.
LastBackupError *status.Status `protobuf:"bytes,3,opt,name=last_backup_error,json=lastBackupError,proto3" json:"last_backup_error,omitempty"`
// Configuration Info has the resource format-specific configuration.
//
// Types that are assignable to BackupConfig:
//
// *BackupConfigInfo_GcpBackupConfig
// *BackupConfigInfo_BackupApplianceBackupConfig
BackupConfig isBackupConfigInfo_BackupConfig `protobuf_oneof:"backup_config"`
// contains filtered or unexported fields
}
BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.
func (*BackupConfigInfo) Descriptor
func (*BackupConfigInfo) Descriptor() ([]byte, []int)
Deprecated: Use BackupConfigInfo.ProtoReflect.Descriptor instead.
func (*BackupConfigInfo) GetBackupApplianceBackupConfig
func (x *BackupConfigInfo) GetBackupApplianceBackupConfig() *BackupApplianceBackupConfig
func (*BackupConfigInfo) GetBackupConfig
func (m *BackupConfigInfo) GetBackupConfig() isBackupConfigInfo_BackupConfig
func (*BackupConfigInfo) GetGcpBackupConfig
func (x *BackupConfigInfo) GetGcpBackupConfig() *GcpBackupConfig
func (*BackupConfigInfo) GetLastBackupError
func (x *BackupConfigInfo) GetLastBackupError() *status.Status
func (*BackupConfigInfo) GetLastBackupState
func (x *BackupConfigInfo) GetLastBackupState() BackupConfigInfo_LastBackupState
func (*BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime
func (x *BackupConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestamp
func (*BackupConfigInfo) ProtoMessage
func (*BackupConfigInfo) ProtoMessage()
func (*BackupConfigInfo) ProtoReflect
func (x *BackupConfigInfo) ProtoReflect() protoreflect.Message
func (*BackupConfigInfo) Reset
func (x *BackupConfigInfo) Reset()
func (*BackupConfigInfo) String
func (x *BackupConfigInfo) String() string
BackupConfigInfo_BackupApplianceBackupConfig
type BackupConfigInfo_BackupApplianceBackupConfig struct {
// Configuration for an application backed up by a Backup Appliance.
BackupApplianceBackupConfig *BackupApplianceBackupConfig `protobuf:"bytes,5,opt,name=backup_appliance_backup_config,json=backupApplianceBackupConfig,proto3,oneof"`
}
BackupConfigInfo_GcpBackupConfig
type BackupConfigInfo_GcpBackupConfig struct {
// Configuration for a Google Cloud resource.
GcpBackupConfig *GcpBackupConfig `protobuf:"bytes,4,opt,name=gcp_backup_config,json=gcpBackupConfig,proto3,oneof"`
}
BackupConfigInfo_LastBackupState
type BackupConfigInfo_LastBackupState int32
LastBackupstate tracks whether the last backup was not yet started, successful, failed, or could not be run because of the lack of permissions.
BackupConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED, BackupConfigInfo_FIRST_BACKUP_PENDING, BackupConfigInfo_SUCCEEDED, BackupConfigInfo_FAILED, BackupConfigInfo_PERMISSION_DENIED
const (
// Status not set.
BackupConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED BackupConfigInfo_LastBackupState = 0
// The first backup has not yet completed
BackupConfigInfo_FIRST_BACKUP_PENDING BackupConfigInfo_LastBackupState = 1
// The most recent backup was successful
BackupConfigInfo_SUCCEEDED BackupConfigInfo_LastBackupState = 2
// The most recent backup failed
BackupConfigInfo_FAILED BackupConfigInfo_LastBackupState = 3
// The most recent backup could not be run/failed because of the lack of
// permissions
BackupConfigInfo_PERMISSION_DENIED BackupConfigInfo_LastBackupState = 4
)
func (BackupConfigInfo_LastBackupState) Descriptor
func (BackupConfigInfo_LastBackupState) Descriptor() protoreflect.EnumDescriptor
func (BackupConfigInfo_LastBackupState) Enum
func (x BackupConfigInfo_LastBackupState) Enum() *BackupConfigInfo_LastBackupState
func (BackupConfigInfo_LastBackupState) EnumDescriptor
func (BackupConfigInfo_LastBackupState) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupConfigInfo_LastBackupState.Descriptor instead.
func (BackupConfigInfo_LastBackupState) Number
func (x BackupConfigInfo_LastBackupState) Number() protoreflect.EnumNumber
func (BackupConfigInfo_LastBackupState) String
func (x BackupConfigInfo_LastBackupState) String() string
func (BackupConfigInfo_LastBackupState) Type
func (BackupConfigInfo_LastBackupState) Type() protoreflect.EnumType
BackupConfigState
type BackupConfigState int32
Backup configuration state. Is the resource configured for backup?
BackupConfigState_BACKUP_CONFIG_STATE_UNSPECIFIED, BackupConfigState_ACTIVE, BackupConfigState_PASSIVE
const (
// The possible states of backup configuration.
// Status not set.
BackupConfigState_BACKUP_CONFIG_STATE_UNSPECIFIED BackupConfigState = 0
// The data source is actively protected (i.e. there is a
// BackupPlanAssociation or Appliance SLA pointing to it)
BackupConfigState_ACTIVE BackupConfigState = 1
// The data source is no longer protected (but may have backups under it)
BackupConfigState_PASSIVE BackupConfigState = 2
)
func (BackupConfigState) Descriptor
func (BackupConfigState) Descriptor() protoreflect.EnumDescriptor
func (BackupConfigState) Enum
func (x BackupConfigState) Enum() *BackupConfigState
func (BackupConfigState) EnumDescriptor
func (BackupConfigState) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupConfigState.Descriptor instead.
func (BackupConfigState) Number
func (x BackupConfigState) Number() protoreflect.EnumNumber
func (BackupConfigState) String
func (x BackupConfigState) String() string
func (BackupConfigState) Type
func (BackupConfigState) Type() protoreflect.EnumType
BackupDRClient
type BackupDRClient interface {
// Lists ManagementServers in a given project and location.
ListManagementServers(ctx context.Context, in *ListManagementServersRequest, opts ...grpc.CallOption) (*ListManagementServersResponse, error)
// Gets details of a single ManagementServer.
GetManagementServer(ctx context.Context, in *GetManagementServerRequest, opts ...grpc.CallOption) (*ManagementServer, error)
// Creates a new ManagementServer in a given project and location.
CreateManagementServer(ctx context.Context, in *CreateManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ManagementServer.
DeleteManagementServer(ctx context.Context, in *DeleteManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new BackupVault in a given project and location.
CreateBackupVault(ctx context.Context, in *CreateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists BackupVaults in a given project and location.
ListBackupVaults(ctx context.Context, in *ListBackupVaultsRequest, opts ...grpc.CallOption) (*ListBackupVaultsResponse, error)
// FetchUsableBackupVaults lists usable BackupVaults in a given project and
// location. Usable BackupVault are the ones that user has
// backupdr.backupVaults.get permission.
FetchUsableBackupVaults(ctx context.Context, in *FetchUsableBackupVaultsRequest, opts ...grpc.CallOption) (*FetchUsableBackupVaultsResponse, error)
// Gets details of a BackupVault.
GetBackupVault(ctx context.Context, in *GetBackupVaultRequest, opts ...grpc.CallOption) (*BackupVault, error)
// Updates the settings of a BackupVault.
UpdateBackupVault(ctx context.Context, in *UpdateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a BackupVault.
DeleteBackupVault(ctx context.Context, in *DeleteBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists DataSources in a given project and location.
ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error)
// Gets details of a DataSource.
GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
// Updates the settings of a DataSource.
UpdateDataSource(ctx context.Context, in *UpdateDataSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Backups in a given project and location.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Gets details of a Backup.
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Updates the settings of a Backup.
UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a Backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Restore from a Backup
RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Create a BackupPlan
CreateBackupPlan(ctx context.Context, in *CreateBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlan.
GetBackupPlan(ctx context.Context, in *GetBackupPlanRequest, opts ...grpc.CallOption) (*BackupPlan, error)
// Lists BackupPlans in a given project and location.
ListBackupPlans(ctx context.Context, in *ListBackupPlansRequest, opts ...grpc.CallOption) (*ListBackupPlansResponse, error)
// Deletes a single BackupPlan.
DeleteBackupPlan(ctx context.Context, in *DeleteBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Create a BackupPlanAssociation
CreateBackupPlanAssociation(ctx context.Context, in *CreateBackupPlanAssociationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanAssociation.
GetBackupPlanAssociation(ctx context.Context, in *GetBackupPlanAssociationRequest, opts ...grpc.CallOption) (*BackupPlanAssociation, error)
// Lists BackupPlanAssociations in a given project and location.
ListBackupPlanAssociations(ctx context.Context, in *ListBackupPlanAssociationsRequest, opts ...grpc.CallOption) (*ListBackupPlanAssociationsResponse, error)
// Deletes a single BackupPlanAssociation.
DeleteBackupPlanAssociation(ctx context.Context, in *DeleteBackupPlanAssociationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Triggers a new Backup.
TriggerBackup(ctx context.Context, in *TriggerBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Initializes the service related config for a project.
InitializeService(ctx context.Context, in *InitializeServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
BackupDRClient is the client API for BackupDR service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBackupDRClient
func NewBackupDRClient(cc grpc.ClientConnInterface) BackupDRClient
BackupDRServer
type BackupDRServer interface {
// Lists ManagementServers in a given project and location.
ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)
// Gets details of a single ManagementServer.
GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)
// Creates a new ManagementServer in a given project and location.
CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)
// Deletes a single ManagementServer.
DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)
// Creates a new BackupVault in a given project and location.
CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)
// Lists BackupVaults in a given project and location.
ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)
// FetchUsableBackupVaults lists usable BackupVaults in a given project and
// location. Usable BackupVault are the ones that user has
// backupdr.backupVaults.get permission.
FetchUsableBackupVaults(context.Context, *FetchUsableBackupVaultsRequest) (*FetchUsableBackupVaultsResponse, error)
// Gets details of a BackupVault.
GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)
// Updates the settings of a BackupVault.
UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)
// Deletes a BackupVault.
DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)
// Lists DataSources in a given project and location.
ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
// Gets details of a DataSource.
GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
// Updates the settings of a DataSource.
UpdateDataSource(context.Context, *UpdateDataSourceRequest) (*longrunningpb.Operation, error)
// Lists Backups in a given project and location.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Gets details of a Backup.
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Updates the settings of a Backup.
UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
// Deletes a Backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
// Restore from a Backup
RestoreBackup(context.Context, *RestoreBackupRequest) (*longrunningpb.Operation, error)
// Create a BackupPlan
CreateBackupPlan(context.Context, *CreateBackupPlanRequest) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlan.
GetBackupPlan(context.Context, *GetBackupPlanRequest) (*BackupPlan, error)
// Lists BackupPlans in a given project and location.
ListBackupPlans(context.Context, *ListBackupPlansRequest) (*ListBackupPlansResponse, error)
// Deletes a single BackupPlan.
DeleteBackupPlan(context.Context, *DeleteBackupPlanRequest) (*longrunningpb.Operation, error)
// Create a BackupPlanAssociation
CreateBackupPlanAssociation(context.Context, *CreateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
// Gets details of a single BackupPlanAssociation.
GetBackupPlanAssociation(context.Context, *GetBackupPlanAssociationRequest) (*BackupPlanAssociation, error)
// Lists BackupPlanAssociations in a given project and location.
ListBackupPlanAssociations(context.Context, *ListBackupPlanAssociationsRequest) (*ListBackupPlanAssociationsResponse, error)
// Deletes a single BackupPlanAssociation.
DeleteBackupPlanAssociation(context.Context, *DeleteBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
// Triggers a new Backup.
TriggerBackup(context.Context, *TriggerBackupRequest) (*longrunningpb.Operation, error)
// Initializes the service related config for a project.
InitializeService(context.Context, *InitializeServiceRequest) (*longrunningpb.Operation, error)
}
BackupDRServer is the server API for BackupDR service.
BackupLock
type BackupLock struct {
// Required. The time after which this lock is not considered valid and will
// no longer protect the Backup from deletion.
LockUntilTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=lock_until_time,json=lockUntilTime,proto3" json:"lock_until_time,omitempty"`
// Metadata about the owner and reason for the lock.
//
// Types that are assignable to ClientLockInfo:
//
// *BackupLock_BackupApplianceLockInfo
// *BackupLock_ServiceLockInfo
ClientLockInfo isBackupLock_ClientLockInfo `protobuf_oneof:"ClientLockInfo"`
// contains filtered or unexported fields
}
BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
func (*BackupLock) Descriptor
func (*BackupLock) Descriptor() ([]byte, []int)
Deprecated: Use BackupLock.ProtoReflect.Descriptor instead.
func (*BackupLock) GetBackupApplianceLockInfo
func (x *BackupLock) GetBackupApplianceLockInfo() *BackupApplianceLockInfo
func (*BackupLock) GetClientLockInfo
func (m *BackupLock) GetClientLockInfo() isBackupLock_ClientLockInfo
func (*BackupLock) GetLockUntilTime
func (x *BackupLock) GetLockUntilTime() *timestamppb.Timestamp
func (*BackupLock) GetServiceLockInfo
func (x *BackupLock) GetServiceLockInfo() *ServiceLockInfo
func (*BackupLock) ProtoMessage
func (*BackupLock) ProtoMessage()
func (*BackupLock) ProtoReflect
func (x *BackupLock) ProtoReflect() protoreflect.Message
func (*BackupLock) Reset
func (x *BackupLock) Reset()
func (*BackupLock) String
func (x *BackupLock) String() string
BackupLock_BackupApplianceLockInfo
type BackupLock_BackupApplianceLockInfo struct {
// If the client is a backup and recovery appliance, this
// contains metadata about why the lock exists.
BackupApplianceLockInfo *BackupApplianceLockInfo `protobuf:"bytes,3,opt,name=backup_appliance_lock_info,json=backupApplianceLockInfo,proto3,oneof"`
}
BackupLock_ServiceLockInfo
type BackupLock_ServiceLockInfo struct {
// Output only. Contains metadata about the lock exist for Google Cloud
// native backups.
ServiceLockInfo *ServiceLockInfo `protobuf:"bytes,4,opt,name=service_lock_info,json=serviceLockInfo,proto3,oneof"`
}
BackupPlan
type BackupPlan struct {
// Output only. Identifier. The resource name of the `BackupPlan`.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the `BackupPlan` resource.
//
// The description allows for additional details about `BackupPlan` and its
// use cases to be provided. An example description is the following: "This
// is a backup plan that performs a daily backup at 6pm and retains data for 3
// months". The description must be at most 2048 characters.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. This collection of key/value pairs allows for custom labels to be
// supplied by the user. Example, {"tag": "Weekly"}.
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. When the `BackupPlan` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. When the `BackupPlan` was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. The backup rules for this `BackupPlan`. There must be at least
// one `BackupRule` message.
BackupRules []*BackupRule `protobuf:"bytes,6,rep,name=backup_rules,json=backupRules,proto3" json:"backup_rules,omitempty"`
// Output only. The `State` for the `BackupPlan`.
State BackupPlan_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlan_State" json:"state,omitempty"`
// Required. The resource type to which the `BackupPlan` will be applied.
// Examples include, "compute.googleapis.com/Instance",
// "sqladmin.googleapis.com/Instance", or "alloydb.googleapis.com/Cluster".
ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. `etag` is returned from the service in the response. As a user of
// the service, you may provide an etag value in this field to prevent stale
// resources.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Required. Resource name of backup vault which will be used as storage
// location for backups. Format:
// projects/{project}/locations/{location}/backupVaults/{backupvault}
BackupVault string `protobuf:"bytes,10,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Output only. The Google Cloud Platform Service Account to be used by the
// BackupVault for taking backups. Specify the email address of the Backup
// Vault Service Account.
BackupVaultServiceAccount string `protobuf:"bytes,11,opt,name=backup_vault_service_account,json=backupVaultServiceAccount,proto3" json:"backup_vault_service_account,omitempty"`
// contains filtered or unexported fields
}
A BackupPlan
specifies some common fields, such as description
as well
as one or more BackupRule
messages. Each BackupRule
has a retention
policy and defines a schedule by which the system is to perform backup
workloads.
func (*BackupPlan) Descriptor
func (*BackupPlan) Descriptor() ([]byte, []int)
Deprecated: Use BackupPlan.ProtoReflect.Descriptor instead.
func (*BackupPlan) GetBackupRules
func (x *BackupPlan) GetBackupRules() []*BackupRule
func (*BackupPlan) GetBackupVault
func (x *BackupPlan) GetBackupVault() string
func (*BackupPlan) GetBackupVaultServiceAccount
func (x *BackupPlan) GetBackupVaultServiceAccount() string
func (*BackupPlan) GetCreateTime
func (x *BackupPlan) GetCreateTime() *timestamppb.Timestamp
func (*BackupPlan) GetDescription
func (x *BackupPlan) GetDescription() string
func (*BackupPlan) GetEtag
func (x *BackupPlan) GetEtag() string
func (*BackupPlan) GetLabels
func (x *BackupPlan) GetLabels() map[string]string
func (*BackupPlan) GetName
func (x *BackupPlan) GetName() string
func (*BackupPlan) GetResourceType
func (x *BackupPlan) GetResourceType() string
func (*BackupPlan) GetState
func (x *BackupPlan) GetState() BackupPlan_State
func (*BackupPlan) GetUpdateTime
func (x *BackupPlan) GetUpdateTime() *timestamppb.Timestamp
func (*BackupPlan) ProtoMessage
func (*BackupPlan) ProtoMessage()
func (*BackupPlan) ProtoReflect
func (x *BackupPlan) ProtoReflect() protoreflect.Message
func (*BackupPlan) Reset
func (x *BackupPlan) Reset()
func (*BackupPlan) String
func (x *BackupPlan) String() string
BackupPlanAssociation
type BackupPlanAssociation struct {
// Output only. Identifier. The resource name of BackupPlanAssociation in
// below format Format :
// projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. Resource type of workload on which backupplan is
// applied
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Required. Immutable. Resource name of workload on which backupplan is
// applied
Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
// Required. Resource name of backup plan which needs to be applied on
// workload. Format:
// projects/{project}/locations/{location}/backupPlans/{backupPlanId}
BackupPlan string `protobuf:"bytes,4,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The BackupPlanAssociation resource state.
State BackupPlanAssociation_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupPlanAssociation_State" json:"state,omitempty"`
// Output only. The config info related to backup rules.
RulesConfigInfo []*RuleConfigInfo `protobuf:"bytes,8,rep,name=rules_config_info,json=rulesConfigInfo,proto3" json:"rules_config_info,omitempty"`
// Output only. Resource name of data source which will be used as storage
// location for backups taken. Format :
// projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
DataSource string `protobuf:"bytes,9,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
// contains filtered or unexported fields
}
A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
func (*BackupPlanAssociation) Descriptor
func (*BackupPlanAssociation) Descriptor() ([]byte, []int)
Deprecated: Use BackupPlanAssociation.ProtoReflect.Descriptor instead.
func (*BackupPlanAssociation) GetBackupPlan
func (x *BackupPlanAssociation) GetBackupPlan() string
func (*BackupPlanAssociation) GetCreateTime
func (x *BackupPlanAssociation) GetCreateTime() *timestamppb.Timestamp
func (*BackupPlanAssociation) GetDataSource
func (x *BackupPlanAssociation) GetDataSource() string
func (*BackupPlanAssociation) GetName
func (x *BackupPlanAssociation) GetName() string
func (*BackupPlanAssociation) GetResource
func (x *BackupPlanAssociation) GetResource() string
func (*BackupPlanAssociation) GetResourceType
func (x *BackupPlanAssociation) GetResourceType() string
func (*BackupPlanAssociation) GetRulesConfigInfo
func (x *BackupPlanAssociation) GetRulesConfigInfo() []*RuleConfigInfo
func (*BackupPlanAssociation) GetState
func (x *BackupPlanAssociation) GetState() BackupPlanAssociation_State
func (*BackupPlanAssociation) GetUpdateTime
func (x *BackupPlanAssociation) GetUpdateTime() *timestamppb.Timestamp
func (*BackupPlanAssociation) ProtoMessage
func (*BackupPlanAssociation) ProtoMessage()
func (*BackupPlanAssociation) ProtoReflect
func (x *BackupPlanAssociation) ProtoReflect() protoreflect.Message
func (*BackupPlanAssociation) Reset
func (x *BackupPlanAssociation) Reset()
func (*BackupPlanAssociation) String
func (x *BackupPlanAssociation) String() string
BackupPlanAssociation_State
type BackupPlanAssociation_State int32
Enum for State of BackupPlan Association
BackupPlanAssociation_STATE_UNSPECIFIED, BackupPlanAssociation_CREATING, BackupPlanAssociation_ACTIVE, BackupPlanAssociation_DELETING, BackupPlanAssociation_INACTIVE
const (
// State not set.
BackupPlanAssociation_STATE_UNSPECIFIED BackupPlanAssociation_State = 0
// The resource is being created.
BackupPlanAssociation_CREATING BackupPlanAssociation_State = 1
// The resource has been created and is fully usable.
BackupPlanAssociation_ACTIVE BackupPlanAssociation_State = 2
// The resource is being deleted.
BackupPlanAssociation_DELETING BackupPlanAssociation_State = 3
// The resource has been created but is not usable.
BackupPlanAssociation_INACTIVE BackupPlanAssociation_State = 4
)
func (BackupPlanAssociation_State) Descriptor
func (BackupPlanAssociation_State) Descriptor() protoreflect.EnumDescriptor
func (BackupPlanAssociation_State) Enum
func (x BackupPlanAssociation_State) Enum() *BackupPlanAssociation_State
func (BackupPlanAssociation_State) EnumDescriptor
func (BackupPlanAssociation_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupPlanAssociation_State.Descriptor instead.
func (BackupPlanAssociation_State) Number
func (x BackupPlanAssociation_State) Number() protoreflect.EnumNumber
func (BackupPlanAssociation_State) String
func (x BackupPlanAssociation_State) String() string
func (BackupPlanAssociation_State) Type
func (BackupPlanAssociation_State) Type() protoreflect.EnumType
BackupPlan_State
type BackupPlan_State int32
State
enumerates the possible states for a BackupPlan
.
BackupPlan_STATE_UNSPECIFIED, BackupPlan_CREATING, BackupPlan_ACTIVE, BackupPlan_DELETING, BackupPlan_INACTIVE
const (
// State not set.
BackupPlan_STATE_UNSPECIFIED BackupPlan_State = 0
// The resource is being created.
BackupPlan_CREATING BackupPlan_State = 1
// The resource has been created and is fully usable.
BackupPlan_ACTIVE BackupPlan_State = 2
// The resource is being deleted.
BackupPlan_DELETING BackupPlan_State = 3
// The resource has been created but is not usable.
BackupPlan_INACTIVE BackupPlan_State = 4
)
func (BackupPlan_State) Descriptor
func (BackupPlan_State) Descriptor() protoreflect.EnumDescriptor
func (BackupPlan_State) Enum
func (x BackupPlan_State) Enum() *BackupPlan_State
func (BackupPlan_State) EnumDescriptor
func (BackupPlan_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupPlan_State.Descriptor instead.
func (BackupPlan_State) Number
func (x BackupPlan_State) Number() protoreflect.EnumNumber
func (BackupPlan_State) String
func (x BackupPlan_State) String() string
func (BackupPlan_State) Type
func (BackupPlan_State) Type() protoreflect.EnumType
BackupRule
type BackupRule struct {
// Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
// unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
// followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
// /[a-z][a-z0-9-]{,62}/.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Required. Configures the duration for which backup data will be kept. It is
// defined in “days”. The value should be greater than or equal to minimum
// enforced retention of the backup vault.
//
// Minimum value is 1 and maximum value is 90 for hourly backups.
// Minimum value is 1 and maximum value is 90 for daily backups.
// Minimum value is 7 and maximum value is 186 for weekly backups.
// Minimum value is 30 and maximum value is 732 for monthly backups.
// Minimum value is 365 and maximum value is 36159 for yearly backups.
BackupRetentionDays int32 `protobuf:"varint,4,opt,name=backup_retention_days,json=backupRetentionDays,proto3" json:"backup_retention_days,omitempty"`
// The schedule that defines the automated backup workloads for this
// `BackupRule`.
//
// Types that are assignable to BackupScheduleOneof:
//
// *BackupRule_StandardSchedule
BackupScheduleOneof isBackupRule_BackupScheduleOneof `protobuf_oneof:"backup_schedule_oneof"`
// contains filtered or unexported fields
}
BackupRule
binds the backup schedule to a retention policy.
func (*BackupRule) Descriptor
func (*BackupRule) Descriptor() ([]byte, []int)
Deprecated: Use BackupRule.ProtoReflect.Descriptor instead.
func (*BackupRule) GetBackupRetentionDays
func (x *BackupRule) GetBackupRetentionDays() int32
func (*BackupRule) GetBackupScheduleOneof
func (m *BackupRule) GetBackupScheduleOneof() isBackupRule_BackupScheduleOneof
func (*BackupRule) GetRuleId
func (x *BackupRule) GetRuleId() string
func (*BackupRule) GetStandardSchedule
func (x *BackupRule) GetStandardSchedule() *StandardSchedule
func (*BackupRule) ProtoMessage
func (*BackupRule) ProtoMessage()
func (*BackupRule) ProtoReflect
func (x *BackupRule) ProtoReflect() protoreflect.Message
func (*BackupRule) Reset
func (x *BackupRule) Reset()
func (*BackupRule) String
func (x *BackupRule) String() string
BackupRule_StandardSchedule
type BackupRule_StandardSchedule struct {
// Required. Defines a schedule that runs within the confines of a defined
// window of time.
StandardSchedule *StandardSchedule `protobuf:"bytes,5,opt,name=standard_schedule,json=standardSchedule,proto3,oneof"`
}
BackupVault
type BackupVault struct {
// Output only. Identifier. Name of the backup vault to create. It must have
// the
// format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
// `{backupvault}` cannot be changed after creation. It must be between 3-63
// characters long and must be unique within the project and location.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the BackupVault instance (2048 characters or
// less).
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. Resource labels to represent user provided metadata.
// No labels currently defined:
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
// Required. The default and minimum enforced retention for each backup within
// the backup vault. The enforced retention for each backup can be extended.
BackupMinimumEnforcedRetentionDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=backup_minimum_enforced_retention_duration,json=backupMinimumEnforcedRetentionDuration,proto3,oneof" json:"backup_minimum_enforced_retention_duration,omitempty"`
// Output only. Set to true when there are no backups nested under this
// resource.
Deletable *bool `protobuf:"varint,8,opt,name=deletable,proto3,oneof" json:"deletable,omitempty"`
// Optional. Server specified ETag for the backup vault resource to
// prevent simultaneous updates from overwiting each other.
Etag *string `protobuf:"bytes,9,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// Output only. The BackupVault resource instance state.
State BackupVault_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.backupdr.v1.BackupVault_State" json:"state,omitempty"`
// Optional. Time after which the BackupVault resource is locked.
EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
// Output only. The number of backups in this backup vault.
BackupCount int64 `protobuf:"varint,17,opt,name=backup_count,json=backupCount,proto3" json:"backup_count,omitempty"`
// Output only. Service account used by the BackupVault Service for this
// BackupVault. The user should grant this account permissions in their
// workload project to enable the service to run backups and restores there.
ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Output only. Total size of the storage used by all backup resources.
TotalStoredBytes int64 `protobuf:"varint,19,opt,name=total_stored_bytes,json=totalStoredBytes,proto3" json:"total_stored_bytes,omitempty"`
// Output only. Immutable after resource creation until resource deletion.
Uid string `protobuf:"bytes,21,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. User annotations. See https://google.aip.dev/128#annotations
// Stores small amounts of arbitrary data.
Annotations map[string]string `protobuf:"bytes,22,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Note: This field is added for future use case and will not be
// supported in the current release.
//
// Access restriction for the backup vault.
// Default value is WITHIN_ORGANIZATION if not provided during creation.
AccessRestriction BackupVault_AccessRestriction `protobuf:"varint,24,opt,name=access_restriction,json=accessRestriction,proto3,enum=google.cloud.backupdr.v1.BackupVault_AccessRestriction" json:"access_restriction,omitempty"`
// contains filtered or unexported fields
}
Message describing a BackupVault object.
func (*BackupVault) Descriptor
func (*BackupVault) Descriptor() ([]byte, []int)
Deprecated: Use BackupVault.ProtoReflect.Descriptor instead.
func (*BackupVault) GetAccessRestriction
func (x *BackupVault) GetAccessRestriction() BackupVault_AccessRestriction
func (*BackupVault) GetAnnotations
func (x *BackupVault) GetAnnotations() map[string]string
func (*BackupVault) GetBackupCount
func (x *BackupVault) GetBackupCount() int64
func (*BackupVault) GetBackupMinimumEnforcedRetentionDuration
func (x *BackupVault) GetBackupMinimumEnforcedRetentionDuration() *durationpb.Duration
func (*BackupVault) GetCreateTime
func (x *BackupVault) GetCreateTime() *timestamppb.Timestamp
func (*BackupVault) GetDeletable
func (x *BackupVault) GetDeletable() bool
func (*BackupVault) GetDescription
func (x *BackupVault) GetDescription() string
func (*BackupVault) GetEffectiveTime
func (x *BackupVault) GetEffectiveTime() *timestamppb.Timestamp
func (*BackupVault) GetEtag
func (x *BackupVault) GetEtag() string
func (*BackupVault) GetLabels
func (x *BackupVault) GetLabels() map[string]string
func (*BackupVault) GetName
func (x *BackupVault) GetName() string
func (*BackupVault) GetServiceAccount
func (x *BackupVault) GetServiceAccount() string
func (*BackupVault) GetState
func (x *BackupVault) GetState() BackupVault_State
func (*BackupVault) GetTotalStoredBytes
func (x *BackupVault) GetTotalStoredBytes() int64
func (*BackupVault) GetUid
func (x *BackupVault) GetUid() string
func (*BackupVault) GetUpdateTime
func (x *BackupVault) GetUpdateTime() *timestamppb.Timestamp
func (*BackupVault) ProtoMessage
func (*BackupVault) ProtoMessage()
func (*BackupVault) ProtoReflect
func (x *BackupVault) ProtoReflect() protoreflect.Message
func (*BackupVault) Reset
func (x *BackupVault) Reset()
func (*BackupVault) String
func (x *BackupVault) String() string
BackupVaultView
type BackupVaultView int32
BackupVaultView contains enum options for Partial and Full view.
BackupVaultView_BACKUP_VAULT_VIEW_UNSPECIFIED, BackupVaultView_BACKUP_VAULT_VIEW_BASIC, BackupVaultView_BACKUP_VAULT_VIEW_FULL
const (
// If the value is not set, the default 'FULL' view is used.
BackupVaultView_BACKUP_VAULT_VIEW_UNSPECIFIED BackupVaultView = 0
// Includes basic data about the Backup Vault, but not the full contents.
BackupVaultView_BACKUP_VAULT_VIEW_BASIC BackupVaultView = 1
// Includes all data about the Backup Vault.
// This is the default value (for both ListBackupVaults and GetBackupVault).
BackupVaultView_BACKUP_VAULT_VIEW_FULL BackupVaultView = 2
)
func (BackupVaultView) Descriptor
func (BackupVaultView) Descriptor() protoreflect.EnumDescriptor
func (BackupVaultView) Enum
func (x BackupVaultView) Enum() *BackupVaultView
func (BackupVaultView) EnumDescriptor
func (BackupVaultView) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupVaultView.Descriptor instead.
func (BackupVaultView) Number
func (x BackupVaultView) Number() protoreflect.EnumNumber
func (BackupVaultView) String
func (x BackupVaultView) String() string
func (BackupVaultView) Type
func (BackupVaultView) Type() protoreflect.EnumType
BackupVault_AccessRestriction
type BackupVault_AccessRestriction int32
Holds the access restriction for the backup vault.
BackupVault_ACCESS_RESTRICTION_UNSPECIFIED, BackupVault_WITHIN_PROJECT, BackupVault_WITHIN_ORGANIZATION, BackupVault_UNRESTRICTED, BackupVault_WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA
const (
// Access restriction not set. If user does not provide any value or pass
// this value, it will be changed to WITHIN_ORGANIZATION.
BackupVault_ACCESS_RESTRICTION_UNSPECIFIED BackupVault_AccessRestriction = 0
// Access to or from resources outside your current project will be denied.
BackupVault_WITHIN_PROJECT BackupVault_AccessRestriction = 1
// Access to or from resources outside your current organization will be
// denied.
BackupVault_WITHIN_ORGANIZATION BackupVault_AccessRestriction = 2
// No access restriction.
BackupVault_UNRESTRICTED BackupVault_AccessRestriction = 3
// Access to or from resources outside your current organization will be
// denied except for backup appliance.
BackupVault_WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA BackupVault_AccessRestriction = 4
)
func (BackupVault_AccessRestriction) Descriptor
func (BackupVault_AccessRestriction) Descriptor() protoreflect.EnumDescriptor
func (BackupVault_AccessRestriction) Enum
func (x BackupVault_AccessRestriction) Enum() *BackupVault_AccessRestriction
func (BackupVault_AccessRestriction) EnumDescriptor
func (BackupVault_AccessRestriction) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupVault_AccessRestriction.Descriptor instead.
func (BackupVault_AccessRestriction) Number
func (x BackupVault_AccessRestriction) Number() protoreflect.EnumNumber
func (BackupVault_AccessRestriction) String
func (x BackupVault_AccessRestriction) String() string
func (BackupVault_AccessRestriction) Type
func (BackupVault_AccessRestriction) Type() protoreflect.EnumType
BackupVault_State
type BackupVault_State int32
Holds the state of the backup vault resource.
BackupVault_STATE_UNSPECIFIED, BackupVault_CREATING, BackupVault_ACTIVE, BackupVault_DELETING, BackupVault_ERROR
const (
// State not set.
BackupVault_STATE_UNSPECIFIED BackupVault_State = 0
// The backup vault is being created.
BackupVault_CREATING BackupVault_State = 1
// The backup vault has been created and is fully usable.
BackupVault_ACTIVE BackupVault_State = 2
// The backup vault is being deleted.
BackupVault_DELETING BackupVault_State = 3
// The backup vault is experiencing an issue and might be unusable.
BackupVault_ERROR BackupVault_State = 4
)
func (BackupVault_State) Descriptor
func (BackupVault_State) Descriptor() protoreflect.EnumDescriptor
func (BackupVault_State) Enum
func (x BackupVault_State) Enum() *BackupVault_State
func (BackupVault_State) EnumDescriptor
func (BackupVault_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupVault_State.Descriptor instead.
func (BackupVault_State) Number
func (x BackupVault_State) Number() protoreflect.EnumNumber
func (BackupVault_State) String
func (x BackupVault_State) String() string
func (BackupVault_State) Type
func (BackupVault_State) Type() protoreflect.EnumType
BackupView
type BackupView int32
BackupView contains enum options for Partial and Full view.
BackupView_BACKUP_VIEW_UNSPECIFIED, BackupView_BACKUP_VIEW_BASIC, BackupView_BACKUP_VIEW_FULL
const (
// If the value is not set, the default 'FULL' view is used.
BackupView_BACKUP_VIEW_UNSPECIFIED BackupView = 0
// Includes basic data about the Backup, but not the full contents.
BackupView_BACKUP_VIEW_BASIC BackupView = 1
// Includes all data about the Backup.
// This is the default value (for both ListBackups and GetBackup).
BackupView_BACKUP_VIEW_FULL BackupView = 2
)
func (BackupView) Descriptor
func (BackupView) Descriptor() protoreflect.EnumDescriptor
func (BackupView) Enum
func (x BackupView) Enum() *BackupView
func (BackupView) EnumDescriptor
func (BackupView) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupView.Descriptor instead.
func (BackupView) Number
func (x BackupView) Number() protoreflect.EnumNumber
func (BackupView) String
func (x BackupView) String() string
func (BackupView) Type
func (BackupView) Type() protoreflect.EnumType
BackupWindow
type BackupWindow struct {
// Required. The hour of day (0-23) when the window starts for e.g. if value
// of start hour of day is 6 that mean backup window start at 6:00.
StartHourOfDay int32 `protobuf:"varint,1,opt,name=start_hour_of_day,json=startHourOfDay,proto3" json:"start_hour_of_day,omitempty"`
// Required. The hour of day (1-24) when the window end for e.g. if value of
// end hour of day is 10 that mean backup window end time is 10:00.
//
// End hour of day should be greater than start hour of day.
// 0 <= start_hour_of_day="">< end_hour_of_day=""><= 24="" end="" hour="" of="" day="" is="" not="" include="" in="" backup="" window="" that="" mean="" if="" end_hour_of_day="10" jobs="" should="" start="" before="" 10:00.="" endhourofday="">int32 `protobuf:"varint,2,opt,name=end_hour_of_day,json=endHourOfDay,proto3" json:"end_hour_of_day,omitempty"`
// contains filtered or unexported fields
}
BackupWindow
defines a window of the day during which backup jobs will run.
func (*BackupWindow) Descriptor
func (*BackupWindow) Descriptor() ([]byte, []int)
Deprecated: Use BackupWindow.ProtoReflect.Descriptor instead.
func (*BackupWindow) GetEndHourOfDay
func (x *BackupWindow) GetEndHourOfDay() int32
func (*BackupWindow) GetStartHourOfDay
func (x *BackupWindow) GetStartHourOfDay() int32
func (*BackupWindow) ProtoMessage
func (*BackupWindow) ProtoMessage()
func (*BackupWindow) ProtoReflect
func (x *BackupWindow) ProtoReflect() protoreflect.Message
func (*BackupWindow) Reset
func (x *BackupWindow) Reset()
func (*BackupWindow) String
func (x *BackupWindow) String() string
Backup_BackupApplianceBackupProperties
type Backup_BackupApplianceBackupProperties struct {
// Output only. Backup Appliance specific backup properties.
BackupApplianceBackupProperties *BackupApplianceBackupProperties `protobuf:"bytes,21,opt,name=backup_appliance_backup_properties,json=backupApplianceBackupProperties,proto3,oneof"`
}
Backup_BackupType
type Backup_BackupType int32
Type of the backup, scheduled or ondemand.
Backup_BACKUP_TYPE_UNSPECIFIED, Backup_SCHEDULED, Backup_ON_DEMAND
const (
// Backup type is unspecified.
Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0
// Scheduled backup.
Backup_SCHEDULED Backup_BackupType = 1
// On demand backup.
Backup_ON_DEMAND Backup_BackupType = 2
)
func (Backup_BackupType) Descriptor
func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupType) Enum
func (x Backup_BackupType) Enum() *Backup_BackupType
func (Backup_BackupType) EnumDescriptor
func (Backup_BackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupType.Descriptor instead.
func (Backup_BackupType) Number
func (x Backup_BackupType) Number() protoreflect.EnumNumber
func (Backup_BackupType) String
func (x Backup_BackupType) String() string
func (Backup_BackupType) Type
func (Backup_BackupType) Type() protoreflect.EnumType
Backup_ComputeInstanceBackupProperties
type Backup_ComputeInstanceBackupProperties struct {
// Output only. Compute Engine specific backup properties.
ComputeInstanceBackupProperties *ComputeInstanceBackupProperties `protobuf:"bytes,19,opt,name=compute_instance_backup_properties,json=computeInstanceBackupProperties,proto3,oneof"`
}
Backup_GCPBackupPlanInfo
type Backup_GCPBackupPlanInfo struct {
// Resource name of backup plan by which workload is protected at the time
// of the backup.
// Format:
// projects/{project}/locations/{location}/backupPlans/{backupPlanId}
BackupPlan string `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// The rule id of the backup plan which triggered this backup in case of
// scheduled backup or used for
BackupPlanRuleId string `protobuf:"bytes,2,opt,name=backup_plan_rule_id,json=backupPlanRuleId,proto3" json:"backup_plan_rule_id,omitempty"`
// contains filtered or unexported fields
}
GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup.
func (*Backup_GCPBackupPlanInfo) Descriptor
func (*Backup_GCPBackupPlanInfo) Descriptor() ([]byte, []int)
Deprecated: Use Backup_GCPBackupPlanInfo.ProtoReflect.Descriptor instead.
func (*Backup_GCPBackupPlanInfo) GetBackupPlan
func (x *Backup_GCPBackupPlanInfo) GetBackupPlan() string
func (*Backup_GCPBackupPlanInfo) GetBackupPlanRuleId
func (x *Backup_GCPBackupPlanInfo) GetBackupPlanRuleId() string
func (*Backup_GCPBackupPlanInfo) ProtoMessage
func (*Backup_GCPBackupPlanInfo) ProtoMessage()
func (*Backup_GCPBackupPlanInfo) ProtoReflect
func (x *Backup_GCPBackupPlanInfo) ProtoReflect() protoreflect.Message
func (*Backup_GCPBackupPlanInfo) Reset
func (x *Backup_GCPBackupPlanInfo) Reset()
func (*Backup_GCPBackupPlanInfo) String
func (x *Backup_GCPBackupPlanInfo) String() string
Backup_GcpBackupPlanInfo
type Backup_GcpBackupPlanInfo struct {
// Output only. Configuration for a Google Cloud resource.
GcpBackupPlanInfo *Backup_GCPBackupPlanInfo `protobuf:"bytes,22,opt,name=gcp_backup_plan_info,json=gcpBackupPlanInfo,proto3,oneof"`
}
Backup_State
type Backup_State int32
Holds the state of the backup resource.
Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_ACTIVE, Backup_DELETING, Backup_ERROR
const (
// State not set.
Backup_STATE_UNSPECIFIED Backup_State = 0
// The backup is being created.
Backup_CREATING Backup_State = 1
// The backup has been created and is fully usable.
Backup_ACTIVE Backup_State = 2
// The backup is being deleted.
Backup_DELETING Backup_State = 3
// The backup is experiencing an issue and might be unusable.
Backup_ERROR Backup_State = 4
)
func (Backup_State) Descriptor
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String
func (x Backup_State) String() string
func (Backup_State) Type
func (Backup_State) Type() protoreflect.EnumType
ComputeInstanceBackupProperties
type ComputeInstanceBackupProperties struct {
// An optional text description for the instances that are created from these
// properties.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// A list of tags to apply to the instances that are created from these
// properties. The tags identify valid sources or targets for network
// firewalls. The setTags method can modify this list of tags. Each tag within
// the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
Tags *Tags `protobuf:"bytes,2,opt,name=tags,proto3,oneof" json:"tags,omitempty"`
// The machine type to use for instances that are created from these
// properties.
MachineType *string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3,oneof" json:"machine_type,omitempty"`
// Enables instances created based on these properties to send packets with
// source IP addresses other than their own and receive packets with
// destination IP addresses other than their own. If these instances will be
// used as an IP gateway or it will be set as the next-hop in a Route
// resource, specify `true`. If unsure, leave this set to `false`. See the
// https://cloud.google.com/vpc/docs/using-routes#canipforward
// documentation for more information.
CanIpForward *bool `protobuf:"varint,4,opt,name=can_ip_forward,json=canIpForward,proto3,oneof" json:"can_ip_forward,omitempty"`
// An array of network access configurations for this interface.
NetworkInterface []*NetworkInterface `protobuf:"bytes,5,rep,name=network_interface,json=networkInterface,proto3" json:"network_interface,omitempty"`
// An array of disks that are associated with the instances that are created
// from these properties.
Disk []*AttachedDisk `protobuf:"bytes,6,rep,name=disk,proto3" json:"disk,omitempty"`
// The metadata key/value pairs to assign to instances that are created from
// these properties. These pairs can consist of custom metadata or predefined
// keys. See https://cloud.google.com/compute/docs/metadata/overview for more
// information.
Metadata *Metadata `protobuf:"bytes,7,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
// A list of service accounts with specified scopes. Access tokens for these
// service accounts are available to the instances that are created from
// these properties. Use metadata queries to obtain the access tokens for
// these instances.
ServiceAccount []*ServiceAccount `protobuf:"bytes,8,rep,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Specifies the scheduling options for the instances that are created from
// these properties.
Scheduling *Scheduling `protobuf:"bytes,9,opt,name=scheduling,proto3,oneof" json:"scheduling,omitempty"`
// A list of guest accelerator cards' type and count to use for instances
// created from these properties.
GuestAccelerator []*AcceleratorConfig `protobuf:"bytes,10,rep,name=guest_accelerator,json=guestAccelerator,proto3" json:"guest_accelerator,omitempty"`
// Minimum cpu/platform to be used by instances. The instance may be
// scheduled on the specified or newer cpu/platform. Applicable values are the
// friendly names of CPU platforms, such as
// `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
// For more information, read
// https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
MinCpuPlatform *string `protobuf:"bytes,11,opt,name=min_cpu_platform,json=minCpuPlatform,proto3,oneof" json:"min_cpu_platform,omitempty"`
// KeyRevocationActionType of the instance. Supported options are "STOP" and
// "NONE". The default value is "NONE" if it is not specified.
KeyRevocationActionType *KeyRevocationActionType `protobuf:"varint,12,opt,name=key_revocation_action_type,json=keyRevocationActionType,proto3,enum=google.cloud.backupdr.v1.KeyRevocationActionType,oneof" json:"key_revocation_action_type,omitempty"`
// The source instance used to create this backup. This can be a partial or
// full URL to the resource. For example, the following are valid values:
//
// -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
// -projects/project/zones/zone/instances/instance
SourceInstance *string `protobuf:"bytes,13,opt,name=source_instance,json=sourceInstance,proto3,oneof" json:"source_instance,omitempty"`
// Labels to apply to instances that are created from these properties.
Labels map[string]string `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
ComputeInstanceBackupProperties represents Compute Engine instance backup properties.
func (*ComputeInstanceBackupProperties) Descriptor
func (*ComputeInstanceBackupProperties) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInstanceBackupProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceBackupProperties) GetCanIpForward
func (x *ComputeInstanceBackupProperties) GetCanIpForward() bool
func (*ComputeInstanceBackupProperties) GetDescription
func (x *ComputeInstanceBackupProperties) GetDescription() string
func (*ComputeInstanceBackupProperties) GetDisk
func (x *ComputeInstanceBackupProperties) GetDisk() []*AttachedDisk
func (*ComputeInstanceBackupProperties) GetGuestAccelerator
func (x *ComputeInstanceBackupProperties) GetGuestAccelerator() []*AcceleratorConfig
func (*ComputeInstanceBackupProperties) GetKeyRevocationActionType
func (x *ComputeInstanceBackupProperties) GetKeyRevocationActionType() KeyRevocationActionType
func (*ComputeInstanceBackupProperties) GetLabels
func (x *ComputeInstanceBackupProperties) GetLabels() map[string]string
func (*ComputeInstanceBackupProperties) GetMachineType
func (x *ComputeInstanceBackupProperties) GetMachineType() string
func (*ComputeInstanceBackupProperties) GetMetadata
func (x *ComputeInstanceBackupProperties) GetMetadata() *Metadata
func (*ComputeInstanceBackupProperties) GetMinCpuPlatform
func (x *ComputeInstanceBackupProperties) GetMinCpuPlatform() string
func (*ComputeInstanceBackupProperties) GetNetworkInterface
func (x *ComputeInstanceBackupProperties) GetNetworkInterface() []*NetworkInterface
func (*ComputeInstanceBackupProperties) GetScheduling
func (x *ComputeInstanceBackupProperties) GetScheduling() *Scheduling
func (*ComputeInstanceBackupProperties) GetServiceAccount
func (x *ComputeInstanceBackupProperties) GetServiceAccount() []*ServiceAccount
func (*ComputeInstanceBackupProperties) GetSourceInstance
func (x *ComputeInstanceBackupProperties) GetSourceInstance() string
func (*ComputeInstanceBackupProperties) GetTags
func (x *ComputeInstanceBackupProperties) GetTags() *Tags
func (*ComputeInstanceBackupProperties) ProtoMessage
func (*ComputeInstanceBackupProperties) ProtoMessage()
func (*ComputeInstanceBackupProperties) ProtoReflect
func (x *ComputeInstanceBackupProperties) ProtoReflect() protoreflect.Message
func (*ComputeInstanceBackupProperties) Reset
func (x *ComputeInstanceBackupProperties) Reset()
func (*ComputeInstanceBackupProperties) String
func (x *ComputeInstanceBackupProperties) String() string
ComputeInstanceDataSourceProperties
type ComputeInstanceDataSourceProperties struct {
// Name of the compute instance backed up by the datasource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The description of the Compute Engine instance.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The machine type of the instance.
MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// The total number of disks attached to the Instance.
TotalDiskCount int64 `protobuf:"varint,4,opt,name=total_disk_count,json=totalDiskCount,proto3" json:"total_disk_count,omitempty"`
// The sum of all the disk sizes.
TotalDiskSizeGb int64 `protobuf:"varint,5,opt,name=total_disk_size_gb,json=totalDiskSizeGb,proto3" json:"total_disk_size_gb,omitempty"`
// contains filtered or unexported fields
}
ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.
func (*ComputeInstanceDataSourceProperties) Descriptor
func (*ComputeInstanceDataSourceProperties) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInstanceDataSourceProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceDataSourceProperties) GetDescription
func (x *ComputeInstanceDataSourceProperties) GetDescription() string
func (*ComputeInstanceDataSourceProperties) GetMachineType
func (x *ComputeInstanceDataSourceProperties) GetMachineType() string
func (*ComputeInstanceDataSourceProperties) GetName
func (x *ComputeInstanceDataSourceProperties) GetName() string
func (*ComputeInstanceDataSourceProperties) GetTotalDiskCount
func (x *ComputeInstanceDataSourceProperties) GetTotalDiskCount() int64
func (*ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb
func (x *ComputeInstanceDataSourceProperties) GetTotalDiskSizeGb() int64
func (*ComputeInstanceDataSourceProperties) ProtoMessage
func (*ComputeInstanceDataSourceProperties) ProtoMessage()
func (*ComputeInstanceDataSourceProperties) ProtoReflect
func (x *ComputeInstanceDataSourceProperties) ProtoReflect() protoreflect.Message
func (*ComputeInstanceDataSourceProperties) Reset
func (x *ComputeInstanceDataSourceProperties) Reset()
func (*ComputeInstanceDataSourceProperties) String
func (x *ComputeInstanceDataSourceProperties) String() string
ComputeInstanceRestoreProperties
type ComputeInstanceRestoreProperties struct {
// Required. Name of the compute instance.
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. Controls for advanced machine-related behavior features.
AdvancedMachineFeatures *AdvancedMachineFeatures `protobuf:"bytes,2,opt,name=advanced_machine_features,json=advancedMachineFeatures,proto3,oneof" json:"advanced_machine_features,omitempty"`
// Optional. Allows this instance to send and receive packets with
// non-matching destination or source IPs.
CanIpForward *bool `protobuf:"varint,3,opt,name=can_ip_forward,json=canIpForward,proto3,oneof" json:"can_ip_forward,omitempty"`
// Optional. Controls Confidential compute options on the instance
ConfidentialInstanceConfig *ConfidentialInstanceConfig `protobuf:"bytes,4,opt,name=confidential_instance_config,json=confidentialInstanceConfig,proto3,oneof" json:"confidential_instance_config,omitempty"`
// Optional. Whether the resource should be protected against deletion.
DeletionProtection *bool `protobuf:"varint,5,opt,name=deletion_protection,json=deletionProtection,proto3,oneof" json:"deletion_protection,omitempty"`
// Optional. An optional description of this resource. Provide this property
// when you create the resource.
Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. Array of disks associated with this instance. Persistent disks
// must be created before you can assign them.
Disks []*AttachedDisk `protobuf:"bytes,7,rep,name=disks,proto3" json:"disks,omitempty"`
// Optional. Enables display device for the instance.
DisplayDevice *DisplayDevice `protobuf:"bytes,8,opt,name=display_device,json=displayDevice,proto3,oneof" json:"display_device,omitempty"`
// Optional. A list of the type and count of accelerator cards attached to the
// instance.
GuestAccelerators []*AcceleratorConfig `protobuf:"bytes,9,rep,name=guest_accelerators,json=guestAccelerators,proto3" json:"guest_accelerators,omitempty"`
// Optional. Specifies the hostname of the instance. The specified hostname
// must be RFC1035 compliant. If hostname is not specified, the default
// hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
// DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
// DNS.
Hostname *string `protobuf:"bytes,10,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
// Optional. Encrypts suspended data for an instance with a
// customer-managed encryption key.
InstanceEncryptionKey *CustomerEncryptionKey `protobuf:"bytes,11,opt,name=instance_encryption_key,json=instanceEncryptionKey,proto3,oneof" json:"instance_encryption_key,omitempty"`
// Optional. KeyRevocationActionType of the instance.
KeyRevocationActionType *KeyRevocationActionType `protobuf:"varint,12,opt,name=key_revocation_action_type,json=keyRevocationActionType,proto3,enum=google.cloud.backupdr.v1.KeyRevocationActionType,oneof" json:"key_revocation_action_type,omitempty"`
// Optional. Labels to apply to this instance.
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Full or partial URL of the machine type resource to use for this
// instance.
MachineType *string `protobuf:"bytes,14,opt,name=machine_type,json=machineType,proto3,oneof" json:"machine_type,omitempty"`
// Optional. This includes custom metadata and predefined keys.
Metadata *Metadata `protobuf:"bytes,15,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
// Optional. Minimum CPU platform to use for this instance.
MinCpuPlatform *string `protobuf:"bytes,16,opt,name=min_cpu_platform,json=minCpuPlatform,proto3,oneof" json:"min_cpu_platform,omitempty"`
// Optional. An array of network configurations for this instance. These
// specify how interfaces are configured to interact with other network
// services, such as connecting to the internet. Multiple interfaces are
// supported per instance.
NetworkInterfaces []*NetworkInterface `protobuf:"bytes,17,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
// Optional. Configure network performance such as egress bandwidth tier.
NetworkPerformanceConfig *NetworkPerformanceConfig `protobuf:"bytes,18,opt,name=network_performance_config,json=networkPerformanceConfig,proto3,oneof" json:"network_performance_config,omitempty"`
// Input only. Additional params passed with the request, but not persisted
// as part of resource payload.
Params *InstanceParams `protobuf:"bytes,19,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Optional. The private IPv6 google access type for the VM.
// If not specified, use INHERIT_FROM_SUBNETWORK as default.
PrivateIpv6GoogleAccess *ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess `protobuf:"varint,20,opt,name=private_ipv6_google_access,json=privateIpv6GoogleAccess,proto3,enum=google.cloud.backupdr.v1.ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess,oneof" json:"private_ipv6_google_access,omitempty"`
// Optional. Specifies the reservations that this instance can consume from.
AllocationAffinity *AllocationAffinity `protobuf:"bytes,21,opt,name=allocation_affinity,json=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
func (*ComputeInstanceRestoreProperties) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInstanceRestoreProperties.ProtoReflect.Descriptor instead.
func (*ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures
func (x *ComputeInstanceRestoreProperties) GetAdvancedMachineFeatures() *AdvancedMachineFeatures
func (*ComputeInstanceRestoreProperties) GetAllocationAffinity
func (x *ComputeInstanceRestoreProperties) GetAllocationAffinity() *AllocationAffinity
func (*ComputeInstanceRestoreProperties) GetCanIpForward
func (x *ComputeInstanceRestoreProperties) GetCanIpForward() bool
func (*ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig
func (x *ComputeInstanceRestoreProperties) GetConfidentialInstanceConfig() *ConfidentialInstanceConfig
func (*ComputeInstanceRestoreProperties) GetDeletionProtection
func (x *ComputeInstanceRestoreProperties) GetDeletionProtection() bool
func (*ComputeInstanceRestoreProperties) GetDescription
func (x *ComputeInstanceRestoreProperties) GetDescription() string
func (*ComputeInstanceRestoreProperties) GetDisks
func (x *ComputeInstanceRestoreProperties) GetDisks() []*AttachedDisk
func (*ComputeInstanceRestoreProperties) GetDisplayDevice
func (x *ComputeInstanceRestoreProperties) GetDisplayDevice() *DisplayDevice
func (*ComputeInstanceRestoreProperties) GetGuestAccelerators
func (x *ComputeInstanceRestoreProperties) GetGuestAccelerators() []*AcceleratorConfig
func (*ComputeInstanceRestoreProperties) GetHostname
func (x *ComputeInstanceRestoreProperties) GetHostname() string
func (*ComputeInstanceRestoreProperties) GetInstanceEncryptionKey
func (x *ComputeInstanceRestoreProperties) GetInstanceEncryptionKey() *CustomerEncryptionKey
func (*ComputeInstanceRestoreProperties) GetKeyRevocationActionType
func (x *ComputeInstanceRestoreProperties) GetKeyRevocationActionType() KeyRevocationActionType
func (*ComputeInstanceRestoreProperties) GetLabels
func (x *ComputeInstanceRestoreProperties) GetLabels() map[string]string
func (*ComputeInstanceRestoreProperties) GetMachineType
func (x *ComputeInstanceRestoreProperties) GetMachineType() string
func (*ComputeInstanceRestoreProperties) GetMetadata
func (x *ComputeInstanceRestoreProperties) GetMetadata() *Metadata
func (*ComputeInstanceRestoreProperties) GetMinCpuPlatform
func (x *ComputeInstanceRestoreProperties) GetMinCpuPlatform() string
func (*ComputeInstanceRestoreProperties) GetName
func (x *ComputeInstanceRestoreProperties) GetName() string
func (*ComputeInstanceRestoreProperties) GetNetworkInterfaces
func (x *ComputeInstanceRestoreProperties) GetNetworkInterfaces() []*NetworkInterface
func (*ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig
func (x *ComputeInstanceRestoreProperties) GetNetworkPerformanceConfig() *NetworkPerformanceConfig
func (*ComputeInstanceRestoreProperties) GetParams
func (x *ComputeInstanceRestoreProperties) GetParams() *InstanceParams
func (*ComputeInstanceRestoreProperties) GetPrivateIpv6GoogleAccess
func (x *ComputeInstanceRestoreProperties) GetPrivateIpv6GoogleAccess() ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess
func (*ComputeInstanceRestoreProperties) GetResourcePolicies
func (x *ComputeInstanceRestoreProperties) GetResourcePolicies() []string
func (*ComputeInstanceRestoreProperties) GetScheduling
func (x *ComputeInstanceRestoreProperties) GetScheduling() *Scheduling
func (*ComputeInstanceRestoreProperties) GetServiceAccounts
func (x *ComputeInstanceRestoreProperties) GetServiceAccounts() []*ServiceAccount
func (*ComputeInstanceRestoreProperties) GetTags
func (x *ComputeInstanceRestoreProperties) GetTags() *Tags
func (*ComputeInstanceRestoreProperties) ProtoMessage
func (*ComputeInstanceRestoreProperties) ProtoMessage()
func (*ComputeInstanceRestoreProperties) ProtoReflect
func (x *ComputeInstanceRestoreProperties) ProtoReflect() protoreflect.Message
func (*ComputeInstanceRestoreProperties) Reset
func (x *ComputeInstanceRestoreProperties) Reset()
func (*ComputeInstanceRestoreProperties) String
func (x *ComputeInstanceRestoreProperties) String() string
ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess
type ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess int32
The private IPv6 google access type for the VMs.
ComputeInstanceRestoreProperties_INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, ComputeInstanceRestoreProperties_INHERIT_FROM_SUBNETWORK, ComputeInstanceRestoreProperties_ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE, ComputeInstanceRestoreProperties_ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE
const (
// Default value. This value is unused.
ComputeInstanceRestoreProperties_INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 0
// Each network interface inherits PrivateIpv6GoogleAccess from its
// subnetwork.
ComputeInstanceRestoreProperties_INHERIT_FROM_SUBNETWORK ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 1
// Outbound private IPv6 access from VMs in this subnet to Google services.
// If specified, the subnetwork who is attached to the instance's default
// network interface will be assigned an internal IPv6 prefix if it doesn't
// have before.
ComputeInstanceRestoreProperties_ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 2
// Bidirectional private IPv6 access to/from Google services. If
// specified, the subnetwork who is attached to the instance's default
// network interface will be assigned an internal IPv6 prefix if it doesn't
// have before.
ComputeInstanceRestoreProperties_ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess = 3
)
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Descriptor
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Descriptor() protoreflect.EnumDescriptor
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Enum
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Enum() *ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) EnumDescriptor
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess.Descriptor instead.
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Number
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Number() protoreflect.EnumNumber
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) String
func (x ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) String() string
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Type
func (ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess) Type() protoreflect.EnumType
ComputeInstanceTargetEnvironment
type ComputeInstanceTargetEnvironment struct {
// Required. Target project for the Compute Engine instance.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Required. The zone of the Compute Engine instance.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}
ComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore.
func (*ComputeInstanceTargetEnvironment) Descriptor
func (*ComputeInstanceTargetEnvironment) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInstanceTargetEnvironment.ProtoReflect.Descriptor instead.
func (*ComputeInstanceTargetEnvironment) GetProject
func (x *ComputeInstanceTargetEnvironment) GetProject() string
func (*ComputeInstanceTargetEnvironment) GetZone
func (x *ComputeInstanceTargetEnvironment) GetZone() string
func (*ComputeInstanceTargetEnvironment) ProtoMessage
func (*ComputeInstanceTargetEnvironment) ProtoMessage()
func (*ComputeInstanceTargetEnvironment) ProtoReflect
func (x *ComputeInstanceTargetEnvironment) ProtoReflect() protoreflect.Message
func (*ComputeInstanceTargetEnvironment) Reset
func (x *ComputeInstanceTargetEnvironment) Reset()
func (*ComputeInstanceTargetEnvironment) String
func (x *ComputeInstanceTargetEnvironment) String() string
ConfidentialInstanceConfig
type ConfidentialInstanceConfig struct {
// Optional. Defines whether the instance should have confidential compute
// enabled.
EnableConfidentialCompute *bool `protobuf:"varint,1,opt,name=enable_confidential_compute,json=enableConfidentialCompute,proto3,oneof" json:"enable_confidential_compute,omitempty"`
// contains filtered or unexported fields
}
A set of Confidential Instance options.
func (*ConfidentialInstanceConfig) Descriptor
func (*ConfidentialInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConfidentialInstanceConfig.ProtoReflect.Descriptor instead.
func (*ConfidentialInstanceConfig) GetEnableConfidentialCompute
func (x *ConfidentialInstanceConfig) GetEnableConfidentialCompute() bool
func (*ConfidentialInstanceConfig) ProtoMessage
func (*ConfidentialInstanceConfig) ProtoMessage()
func (*ConfidentialInstanceConfig) ProtoReflect
func (x *ConfidentialInstanceConfig) ProtoReflect() protoreflect.Message
func (*ConfidentialInstanceConfig) Reset
func (x *ConfidentialInstanceConfig) Reset()
func (*ConfidentialInstanceConfig) String
func (x *ConfidentialInstanceConfig) String() string
CreateBackupPlanAssociationRequest
type CreateBackupPlanAssociationRequest struct {
// Required. The backup plan association project and location in the format
// `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
// map to GCP regions, for example **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the backup plan association to create. The name must
// be unique for the specified project and location.
BackupPlanAssociationId string `protobuf:"bytes,2,opt,name=backup_plan_association_id,json=backupPlanAssociationId,proto3" json:"backup_plan_association_id,omitempty"`
// Required. The resource being created
BackupPlanAssociation *BackupPlanAssociation `protobuf:"bytes,3,opt,name=backup_plan_association,json=backupPlanAssociation,proto3" json:"backup_plan_association,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for creating a backup plan.
func (*CreateBackupPlanAssociationRequest) Descriptor
func (*CreateBackupPlanAssociationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociation
func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociation() *BackupPlanAssociation
func (*CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId
func (x *CreateBackupPlanAssociationRequest) GetBackupPlanAssociationId() string
func (*CreateBackupPlanAssociationRequest) GetParent
func (x *CreateBackupPlanAssociationRequest) GetParent() string
func (*CreateBackupPlanAssociationRequest) GetRequestId
func (x *CreateBackupPlanAssociationRequest) GetRequestId() string
func (*CreateBackupPlanAssociationRequest) ProtoMessage
func (*CreateBackupPlanAssociationRequest) ProtoMessage()
func (*CreateBackupPlanAssociationRequest) ProtoReflect
func (x *CreateBackupPlanAssociationRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupPlanAssociationRequest) Reset
func (x *CreateBackupPlanAssociationRequest) Reset()
func (*CreateBackupPlanAssociationRequest) String
func (x *CreateBackupPlanAssociationRequest) String() string
CreateBackupPlanRequest
type CreateBackupPlanRequest struct {
// Required. The `BackupPlan` project and location in the format
// `projects/{project}/locations/{location}`. In Cloud BackupDR locations
// map to GCP regions, for example **us-central1**.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the `BackupPlan` to create. The name must be unique
// for the specified project and location.The name must start with a lowercase
// letter followed by up to 62 lowercase letters, numbers, or hyphens.
// Pattern, /[a-z][a-z0-9-]{,62}/.
BackupPlanId string `protobuf:"bytes,2,opt,name=backup_plan_id,json=backupPlanId,proto3" json:"backup_plan_id,omitempty"`
// Required. The `BackupPlan` resource object to create.
BackupPlan *BackupPlan `protobuf:"bytes,3,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
The request message for creating a BackupPlan
.
func (*CreateBackupPlanRequest) Descriptor
func (*CreateBackupPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupPlanRequest) GetBackupPlan
func (x *CreateBackupPlanRequest) GetBackupPlan() *BackupPlan
func (*CreateBackupPlanRequest) GetBackupPlanId
func (x *CreateBackupPlanRequest) GetBackupPlanId() string
func (*CreateBackupPlanRequest) GetParent
func (x *CreateBackupPlanRequest) GetParent() string
func (*CreateBackupPlanRequest) GetRequestId
func (x *CreateBackupPlanRequest) GetRequestId() string
func (*CreateBackupPlanRequest) ProtoMessage
func (*CreateBackupPlanRequest) ProtoMessage()
func (*CreateBackupPlanRequest) ProtoReflect
func (x *CreateBackupPlanRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupPlanRequest) Reset
func (x *CreateBackupPlanRequest) Reset()
func (*CreateBackupPlanRequest) String
func (x *CreateBackupPlanRequest) String() string
CreateBackupVaultRequest
type CreateBackupVaultRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the requesting object
// If auto-generating ID server-side, remove this field and
// backup_vault_id from the method_signature of Create RPC
BackupVaultId string `protobuf:"bytes,2,opt,name=backup_vault_id,json=backupVaultId,proto3" json:"backup_vault_id,omitempty"`
// Required. The resource being created
BackupVault *BackupVault `protobuf:"bytes,3,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Only validate the request, but do not perform mutations.
// The default is 'false'.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Message for creating a BackupVault.
func (*CreateBackupVaultRequest) Descriptor
func (*CreateBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupVaultRequest) GetBackupVault
func (x *CreateBackupVaultRequest) GetBackupVault() *BackupVault
func (*CreateBackupVaultRequest) GetBackupVaultId
func (x *CreateBackupVaultRequest) GetBackupVaultId() string
func (*CreateBackupVaultRequest) GetParent
func (x *CreateBackupVaultRequest) GetParent() string
func (*CreateBackupVaultRequest) GetRequestId
func (x *CreateBackupVaultRequest) GetRequestId() string
func (*CreateBackupVaultRequest) GetValidateOnly
func (x *CreateBackupVaultRequest) GetValidateOnly() bool
func (*CreateBackupVaultRequest) ProtoMessage
func (*CreateBackupVaultRequest) ProtoMessage()
func (*CreateBackupVaultRequest) ProtoReflect
func (x *CreateBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupVaultRequest) Reset
func (x *CreateBackupVaultRequest) Reset()
func (*CreateBackupVaultRequest) String
func (x *CreateBackupVaultRequest) String() string
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
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 (x *CreateManagementServerRequest) ProtoReflect() protoreflect.Message
func (*CreateManagementServerRequest) Reset
func (x *CreateManagementServerRequest) Reset()
func (*CreateManagementServerRequest) String
func (x *CreateManagementServerRequest) String() string
CustomerEncryptionKey
type CustomerEncryptionKey struct {
// The key to use for encryption.
//
// Types that are assignable to Key:
//
// *CustomerEncryptionKey_RawKey
// *CustomerEncryptionKey_RsaEncryptedKey
// *CustomerEncryptionKey_KmsKeyName
Key isCustomerEncryptionKey_Key `protobuf_oneof:"key"`
// Optional. The service account being used for the encryption request for the
// given KMS key. If absent, the Compute Engine default service account is
// used.
KmsKeyServiceAccount *string `protobuf:"bytes,4,opt,name=kms_key_service_account,json=kmsKeyServiceAccount,proto3,oneof" json:"kms_key_service_account,omitempty"`
// contains filtered or unexported fields
}
A customer-supplied encryption key.
func (*CustomerEncryptionKey) Descriptor
func (*CustomerEncryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use CustomerEncryptionKey.ProtoReflect.Descriptor instead.
func (*CustomerEncryptionKey) GetKey
func (m *CustomerEncryptionKey) GetKey() isCustomerEncryptionKey_Key
func (*CustomerEncryptionKey) GetKmsKeyName
func (x *CustomerEncryptionKey) GetKmsKeyName() string
func (*CustomerEncryptionKey) GetKmsKeyServiceAccount
func (x *CustomerEncryptionKey) GetKmsKeyServiceAccount() string
func (*CustomerEncryptionKey) GetRawKey
func (x *CustomerEncryptionKey) GetRawKey() string
func (*CustomerEncryptionKey) GetRsaEncryptedKey
func (x *CustomerEncryptionKey) GetRsaEncryptedKey() string
func (*CustomerEncryptionKey) ProtoMessage
func (*CustomerEncryptionKey) ProtoMessage()
func (*CustomerEncryptionKey) ProtoReflect
func (x *CustomerEncryptionKey) ProtoReflect() protoreflect.Message
func (*CustomerEncryptionKey) Reset
func (x *CustomerEncryptionKey) Reset()
func (*CustomerEncryptionKey) String
func (x *CustomerEncryptionKey) String() string
CustomerEncryptionKey_KmsKeyName
type CustomerEncryptionKey_KmsKeyName struct {
// Optional. The name of the encryption key that is stored in Google Cloud
// KMS.
KmsKeyName string `protobuf:"bytes,3,opt,name=kms_key_name,json=kmsKeyName,proto3,oneof"`
}
CustomerEncryptionKey_RawKey
type CustomerEncryptionKey_RawKey struct {
// Optional. Specifies a 256-bit customer-supplied
// encryption key.
RawKey string `protobuf:"bytes,1,opt,name=raw_key,json=rawKey,proto3,oneof"`
}
CustomerEncryptionKey_RsaEncryptedKey
type CustomerEncryptionKey_RsaEncryptedKey struct {
// Optional. RSA-wrapped 2048-bit
// customer-supplied encryption key to either encrypt or decrypt this
// resource.
RsaEncryptedKey string `protobuf:"bytes,2,opt,name=rsa_encrypted_key,json=rsaEncryptedKey,proto3,oneof"`
}
DataSource
type DataSource struct {
// Output only. Identifier. Name of the datasource to create.
// It must have the
// format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
// `{datasource}` cannot be changed after creation. It must be between 3-63
// characters long and must be unique within the backup vault.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The DataSource resource instance state.
State DataSource_State `protobuf:"varint,21,opt,name=state,proto3,enum=google.cloud.backupdr.v1.DataSource_State" json:"state,omitempty"`
// Optional. Resource labels to represent user provided metadata.
// No labels currently defined:
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time when the instance was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3,oneof" json:"create_time,omitempty"`
// Output only. The time when the instance was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
// Number of backups in the data source.
BackupCount *int64 `protobuf:"varint,7,opt,name=backup_count,json=backupCount,proto3,oneof" json:"backup_count,omitempty"`
// Server specified ETag for the ManagementServer resource to prevent
// simultaneous updates from overwiting each other.
Etag *string `protobuf:"bytes,14,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// The number of bytes (metadata and data) stored in this datasource.
TotalStoredBytes *int64 `protobuf:"varint,23,opt,name=total_stored_bytes,json=totalStoredBytes,proto3,oneof" json:"total_stored_bytes,omitempty"`
// Output only. The backup configuration state.
ConfigState BackupConfigState `protobuf:"varint,24,opt,name=config_state,json=configState,proto3,enum=google.cloud.backupdr.v1.BackupConfigState" json:"config_state,omitempty"`
// Output only. Details of how the resource is configured for backup.
BackupConfigInfo *BackupConfigInfo `protobuf:"bytes,25,opt,name=backup_config_info,json=backupConfigInfo,proto3" json:"backup_config_info,omitempty"`
// The source resource that is represented by this DataSource. It can be a
// Google Cloud resource, or one backed up by a Backup Appliance.
//
// Types that are assignable to SourceResource:
//
// *DataSource_DataSourceGcpResource
// *DataSource_DataSourceBackupApplianceApplication
SourceResource isDataSource_SourceResource `protobuf_oneof:"source_resource"`
// contains filtered or unexported fields
}
Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
func (*DataSource) Descriptor
func (*DataSource) Descriptor() ([]byte, []int)
Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetBackupConfigInfo
func (x *DataSource) GetBackupConfigInfo() *BackupConfigInfo
func (*DataSource) GetBackupCount
func (x *DataSource) GetBackupCount() int64
func (*DataSource) GetConfigState
func (x *DataSource) GetConfigState() BackupConfigState
func (*DataSource) GetCreateTime
func (x *DataSource) GetCreateTime() *timestamppb.Timestamp
func (*DataSource) GetDataSourceBackupApplianceApplication
func (x *DataSource) GetDataSourceBackupApplianceApplication() *DataSourceBackupApplianceApplication
func (*DataSource) GetDataSourceGcpResource
func (x *DataSource) GetDataSourceGcpResource() *DataSourceGcpResource
func (*DataSource) GetEtag
func (x *DataSource) GetEtag() string
func (*DataSource) GetLabels
func (x *DataSource) GetLabels() map[string]string
func (*DataSource) GetName
func (x *DataSource) GetName() string
func (*DataSource) GetSourceResource
func (m *DataSource) GetSourceResource() isDataSource_SourceResource
func (*DataSource) GetState
func (x *DataSource) GetState() DataSource_State
func (*DataSource) GetTotalStoredBytes
func (x *DataSource) GetTotalStoredBytes() int64
func (*DataSource) GetUpdateTime
func (x *DataSource) GetUpdateTime() *timestamppb.Timestamp
func (*DataSource) ProtoMessage
func (*DataSource) ProtoMessage()
func (*DataSource) ProtoReflect
func (x *DataSource) ProtoReflect() protoreflect.Message
func (*DataSource) Reset
func (x *DataSource) Reset()
func (*DataSource) String
func (x *DataSource) String() string
DataSourceBackupApplianceApplication
type DataSourceBackupApplianceApplication struct {
// The name of the Application as known to the Backup Appliance.
ApplicationName string `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
// Appliance name.
BackupAppliance string `protobuf:"bytes,2,opt,name=backup_appliance,json=backupAppliance,proto3" json:"backup_appliance,omitempty"`
// Appliance Id of the Backup Appliance.
ApplianceId int64 `protobuf:"varint,3,opt,name=appliance_id,json=applianceId,proto3" json:"appliance_id,omitempty"`
// The type of the application. e.g. VMBackup
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// The appid field of the application within the Backup Appliance.
ApplicationId int64 `protobuf:"varint,8,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
// Hostname of the host where the application is running.
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
// Hostid of the application host.
HostId int64 `protobuf:"varint,7,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// contains filtered or unexported fields
}
BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.
func (*DataSourceBackupApplianceApplication) Descriptor
func (*DataSourceBackupApplianceApplication) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceBackupApplianceApplication.ProtoReflect.Descriptor instead.
func (*DataSourceBackupApplianceApplication) GetApplianceId
func (x *DataSourceBackupApplianceApplication) GetApplianceId() int64
func (*DataSourceBackupApplianceApplication) GetApplicationId
func (x *DataSourceBackupApplianceApplication) GetApplicationId() int64
func (*DataSourceBackupApplianceApplication) GetApplicationName
func (x *DataSourceBackupApplianceApplication) GetApplicationName() string
func (*DataSourceBackupApplianceApplication) GetBackupAppliance
func (x *DataSourceBackupApplianceApplication) GetBackupAppliance() string
func (*DataSourceBackupApplianceApplication) GetHostId
func (x *DataSourceBackupApplianceApplication) GetHostId() int64
func (*DataSourceBackupApplianceApplication) GetHostname
func (x *DataSourceBackupApplianceApplication) GetHostname() string
func (*DataSourceBackupApplianceApplication) GetType
func (x *DataSourceBackupApplianceApplication) GetType() string
func (*DataSourceBackupApplianceApplication) ProtoMessage
func (*DataSourceBackupApplianceApplication) ProtoMessage()
func (*DataSourceBackupApplianceApplication) ProtoReflect
func (x *DataSourceBackupApplianceApplication) ProtoReflect() protoreflect.Message
func (*DataSourceBackupApplianceApplication) Reset
func (x *DataSourceBackupApplianceApplication) Reset()
func (*DataSourceBackupApplianceApplication) String
func (x *DataSourceBackupApplianceApplication) String() string
DataSourceGcpResource
type DataSourceGcpResource struct {
// Output only. Full resource pathname URL of the source Google Cloud
// resource.
GcpResourcename string `protobuf:"bytes,1,opt,name=gcp_resourcename,json=gcpResourcename,proto3" json:"gcp_resourcename,omitempty"`
// Location of the resource:
DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
func (*DataSourceGcpResource) Descriptor
func (*DataSourceGcpResource) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceGcpResource.ProtoReflect.Descriptor instead.
func (*DataSourceGcpResource) GetComputeInstanceDatasourceProperties
func (x *DataSourceGcpResource) GetComputeInstanceDatasourceProperties() *ComputeInstanceDataSourceProperties
func (*DataSourceGcpResource) GetGcpResourceProperties
func (m *DataSourceGcpResource) GetGcpResourceProperties() isDataSourceGcpResource_GcpResourceProperties
func (*DataSourceGcpResource) GetGcpResourcename
func (x *DataSourceGcpResource) GetGcpResourcename() string
func (*DataSourceGcpResource) GetLocation
func (x *DataSourceGcpResource) GetLocation() string
func (*DataSourceGcpResource) GetType
func (x *DataSourceGcpResource) GetType() string
func (*DataSourceGcpResource) ProtoMessage
func (*DataSourceGcpResource) ProtoMessage()
func (*DataSourceGcpResource) ProtoReflect
func (x *DataSourceGcpResource) ProtoReflect() protoreflect.Message
func (*DataSourceGcpResource) Reset
func (x *DataSourceGcpResource) Reset()
func (*DataSourceGcpResource) String
func (x *DataSourceGcpResource) String() string
DataSourceGcpResource_ComputeInstanceDatasourceProperties
type DataSourceGcpResource_ComputeInstanceDatasourceProperties struct {
// ComputeInstanceDataSourceProperties has a subset of Compute Instance
// properties that are useful at the Datasource level.
ComputeInstanceDatasourceProperties *ComputeInstanceDataSourceProperties `protobuf:"bytes,4,opt,name=compute_instance_datasource_properties,json=computeInstanceDatasourceProperties,proto3,oneof"`
}
DataSource_DataSourceBackupApplianceApplication
type DataSource_DataSourceBackupApplianceApplication struct {
// The backed up resource is a backup appliance application.
DataSourceBackupApplianceApplication *DataSourceBackupApplianceApplication `protobuf:"bytes,27,opt,name=data_source_backup_appliance_application,json=dataSourceBackupApplianceApplication,proto3,oneof"`
}
DataSource_DataSourceGcpResource
type DataSource_DataSourceGcpResource struct {
// The backed up resource is a Google Cloud resource.
// The word 'DataSource' was included in the names to indicate that this is
// the representation of the Google Cloud resource used within the
// DataSource object.
DataSourceGcpResource *DataSourceGcpResource `protobuf:"bytes,26,opt,name=data_source_gcp_resource,json=dataSourceGcpResource,proto3,oneof"`
}
DataSource_State
type DataSource_State int32
Holds the state of the data source resource.
DataSource_STATE_UNSPECIFIED, DataSource_CREATING, DataSource_ACTIVE, DataSource_DELETING, DataSource_ERROR
const (
// State not set.
DataSource_STATE_UNSPECIFIED DataSource_State = 0
// The data source is being created.
DataSource_CREATING DataSource_State = 1
// The data source has been created and is fully usable.
DataSource_ACTIVE DataSource_State = 2
// The data source is being deleted.
DataSource_DELETING DataSource_State = 3
// The data source is experiencing an issue and might be unusable.
DataSource_ERROR DataSource_State = 4
)
func (DataSource_State) Descriptor
func (DataSource_State) Descriptor() protoreflect.EnumDescriptor
func (DataSource_State) Enum
func (x DataSource_State) Enum() *DataSource_State
func (DataSource_State) EnumDescriptor
func (DataSource_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSource_State.Descriptor instead.
func (DataSource_State) Number
func (x DataSource_State) Number() protoreflect.EnumNumber
func (DataSource_State) String
func (x DataSource_State) String() string
func (DataSource_State) Type
func (DataSource_State) Type() protoreflect.EnumType
DeleteBackupPlanAssociationRequest
type DeleteBackupPlanAssociationRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for deleting a backup plan association.
func (*DeleteBackupPlanAssociationRequest) Descriptor
func (*DeleteBackupPlanAssociationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupPlanAssociationRequest) GetName
func (x *DeleteBackupPlanAssociationRequest) GetName() string
func (*DeleteBackupPlanAssociationRequest) GetRequestId
func (x *DeleteBackupPlanAssociationRequest) GetRequestId() string
func (*DeleteBackupPlanAssociationRequest) ProtoMessage
func (*DeleteBackupPlanAssociationRequest) ProtoMessage()
func (*DeleteBackupPlanAssociationRequest) ProtoReflect
func (x *DeleteBackupPlanAssociationRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupPlanAssociationRequest) Reset
func (x *DeleteBackupPlanAssociationRequest) Reset()
func (*DeleteBackupPlanAssociationRequest) String
func (x *DeleteBackupPlanAssociationRequest) String() string
DeleteBackupPlanRequest
type DeleteBackupPlanRequest struct {
// Required. The resource name of the `BackupPlan` to delete.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
The request message for deleting a BackupPlan
.
func (*DeleteBackupPlanRequest) Descriptor
func (*DeleteBackupPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupPlanRequest) GetName
func (x *DeleteBackupPlanRequest) GetName() string
func (*DeleteBackupPlanRequest) GetRequestId
func (x *DeleteBackupPlanRequest) GetRequestId() string
func (*DeleteBackupPlanRequest) ProtoMessage
func (*DeleteBackupPlanRequest) ProtoMessage()
func (*DeleteBackupPlanRequest) ProtoReflect
func (x *DeleteBackupPlanRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupPlanRequest) Reset
func (x *DeleteBackupPlanRequest) Reset()
func (*DeleteBackupPlanRequest) String
func (x *DeleteBackupPlanRequest) String() string
DeleteBackupRequest
type DeleteBackupRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Backup.
func (*DeleteBackupRequest) Descriptor
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) GetRequestId
func (x *DeleteBackupRequest) GetRequestId() string
func (*DeleteBackupRequest) ProtoMessage
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String
func (x *DeleteBackupRequest) String() string
DeleteBackupVaultRequest
type DeleteBackupVaultRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, any data source from this backup vault will also
// be deleted.
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// The current etag of the backup vault.
// If an etag is provided and does not match the current etag of the
// connection, deletion will be blocked.
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Only validate the request, but do not perform mutations.
// The default is 'false'.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If true and the BackupVault is not found, the request will
// succeed but no action will be taken.
AllowMissing bool `protobuf:"varint,6,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, backupvault deletion will proceed even if there
// are backup plans referencing the backupvault. The default is 'false'.
IgnoreBackupPlanReferences bool `protobuf:"varint,7,opt,name=ignore_backup_plan_references,json=ignoreBackupPlanReferences,proto3" json:"ignore_backup_plan_references,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a BackupVault.
func (*DeleteBackupVaultRequest) Descriptor
func (*DeleteBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupVaultRequest) GetAllowMissing
func (x *DeleteBackupVaultRequest) GetAllowMissing() bool
func (*DeleteBackupVaultRequest) GetEtag
func (x *DeleteBackupVaultRequest) GetEtag() string
func (*DeleteBackupVaultRequest) GetForce
func (x *DeleteBackupVaultRequest) GetForce() bool
func (*DeleteBackupVaultRequest) GetIgnoreBackupPlanReferences
func (x *DeleteBackupVaultRequest) GetIgnoreBackupPlanReferences() bool
func (*DeleteBackupVaultRequest) GetName
func (x *DeleteBackupVaultRequest) GetName() string
func (*DeleteBackupVaultRequest) GetRequestId
func (x *DeleteBackupVaultRequest) GetRequestId() string
func (*DeleteBackupVaultRequest) GetValidateOnly
func (x *DeleteBackupVaultRequest) GetValidateOnly() bool
func (*DeleteBackupVaultRequest) ProtoMessage
func (*DeleteBackupVaultRequest) ProtoMessage()
func (*DeleteBackupVaultRequest) ProtoReflect
func (x *DeleteBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupVaultRequest) Reset
func (x *DeleteBackupVaultRequest) Reset()
func (*DeleteBackupVaultRequest) String
func (x *DeleteBackupVaultRequest) String() string
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
func (*DeleteManagementServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManagementServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteManagementServerRequest) GetName
func (x *DeleteManagementServerRequest) GetName() string
func (*DeleteManagementServerRequest) GetRequestId
func (x *DeleteManagementServerRequest) GetRequestId() string
func (*DeleteManagementServerRequest) ProtoMessage
func (*DeleteManagementServerRequest) ProtoMessage()
func (*DeleteManagementServerRequest) ProtoReflect
func (x *DeleteManagementServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteManagementServerRequest) Reset
func (x *DeleteManagementServerRequest) Reset()
func (*DeleteManagementServerRequest) String
func (x *DeleteManagementServerRequest) String() string
DisplayDevice
type DisplayDevice struct {
// Optional. Enables display for the Compute Engine VM
EnableDisplay *bool `protobuf:"varint,1,opt,name=enable_display,json=enableDisplay,proto3,oneof" json:"enable_display,omitempty"`
// contains filtered or unexported fields
}
A set of Display Device options
func (*DisplayDevice) Descriptor
func (*DisplayDevice) Descriptor() ([]byte, []int)
Deprecated: Use DisplayDevice.ProtoReflect.Descriptor instead.
func (*DisplayDevice) GetEnableDisplay
func (x *DisplayDevice) GetEnableDisplay() bool
func (*DisplayDevice) ProtoMessage
func (*DisplayDevice) ProtoMessage()
func (*DisplayDevice) ProtoReflect
func (x *DisplayDevice) ProtoReflect() protoreflect.Message
func (*DisplayDevice) Reset
func (x *DisplayDevice) Reset()
func (*DisplayDevice) String
func (x *DisplayDevice) String() string
Entry
type Entry struct {
// Optional. Key for the metadata entry.
Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Value for the metadata entry. These are free-form strings, and
// only have meaning as interpreted by the image running in the instance. The
// only restriction placed on values is that their size must be less than
// or equal to 262144 bytes (256 KiB).
Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
// contains filtered or unexported fields
}
A key/value pair to be used for storing metadata.
func (*Entry) Descriptor
Deprecated: Use Entry.ProtoReflect.Descriptor instead.
func (*Entry) GetKey
func (*Entry) GetValue
func (*Entry) ProtoMessage
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect
func (x *Entry) ProtoReflect() protoreflect.Message
func (*Entry) Reset
func (x *Entry) Reset()
func (*Entry) String
FetchUsableBackupVaultsRequest
type FetchUsableBackupVaultsRequest struct {
// Required. The project and location for which to retrieve backupvault stores
// information, in the format 'projects/{project_id}/locations/{location}'. In
// Cloud Backup and DR, locations map to Google Cloud regions, for example
// **us-central1**.
// To retrieve backupvault stores for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for fetching usable BackupVaults.
func (*FetchUsableBackupVaultsRequest) Descriptor
func (*FetchUsableBackupVaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchUsableBackupVaultsRequest.ProtoReflect.Descriptor instead.
func (*FetchUsableBackupVaultsRequest) GetFilter
func (x *FetchUsableBackupVaultsRequest) GetFilter() string
func (*FetchUsableBackupVaultsRequest) GetOrderBy
func (x *FetchUsableBackupVaultsRequest) GetOrderBy() string
func (*FetchUsableBackupVaultsRequest) GetPageSize
func (x *FetchUsableBackupVaultsRequest) GetPageSize() int32
func (*FetchUsableBackupVaultsRequest) GetPageToken
func (x *FetchUsableBackupVaultsRequest) GetPageToken() string
func (*FetchUsableBackupVaultsRequest) GetParent
func (x *FetchUsableBackupVaultsRequest) GetParent() string
func (*FetchUsableBackupVaultsRequest) ProtoMessage
func (*FetchUsableBackupVaultsRequest) ProtoMessage()
func (*FetchUsableBackupVaultsRequest) ProtoReflect
func (x *FetchUsableBackupVaultsRequest) ProtoReflect() protoreflect.Message
func (*FetchUsableBackupVaultsRequest) Reset
func (x *FetchUsableBackupVaultsRequest) Reset()
func (*FetchUsableBackupVaultsRequest) String
func (x *FetchUsableBackupVaultsRequest) String() string
FetchUsableBackupVaultsResponse
type FetchUsableBackupVaultsResponse struct {
// The list of BackupVault instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup vaults in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
BackupVaults []*BackupVault `protobuf:"bytes,1,rep,name=backup_vaults,json=backupVaults,proto3" json:"backup_vaults,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for fetching usable BackupVaults.
func (*FetchUsableBackupVaultsResponse) Descriptor
func (*FetchUsableBackupVaultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchUsableBackupVaultsResponse.ProtoReflect.Descriptor instead.
func (*FetchUsableBackupVaultsResponse) GetBackupVaults
func (x *FetchUsableBackupVaultsResponse) GetBackupVaults() []*BackupVault
func (*FetchUsableBackupVaultsResponse) GetNextPageToken
func (x *FetchUsableBackupVaultsResponse) GetNextPageToken() string
func (*FetchUsableBackupVaultsResponse) GetUnreachable
func (x *FetchUsableBackupVaultsResponse) GetUnreachable() []string
func (*FetchUsableBackupVaultsResponse) ProtoMessage
func (*FetchUsableBackupVaultsResponse) ProtoMessage()
func (*FetchUsableBackupVaultsResponse) ProtoReflect
func (x *FetchUsableBackupVaultsResponse) ProtoReflect() protoreflect.Message
func (*FetchUsableBackupVaultsResponse) Reset
func (x *FetchUsableBackupVaultsResponse) Reset()
func (*FetchUsableBackupVaultsResponse) String
func (x *FetchUsableBackupVaultsResponse) String() string
GcpBackupConfig
type GcpBackupConfig struct {
// The name of the backup plan.
BackupPlan string `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
// The description of the backup plan.
BackupPlanDescription string `protobuf:"bytes,2,opt,name=backup_plan_description,json=backupPlanDescription,proto3" json:"backup_plan_description,omitempty"`
// The name of the backup plan association.
BackupPlanAssociation string `protobuf:"bytes,3,opt,name=backup_plan_association,json=backupPlanAssociation,proto3" json:"backup_plan_association,omitempty"`
// The names of the backup plan rules which point to this backupvault
BackupPlanRules []string `protobuf:"bytes,4,rep,name=backup_plan_rules,json=backupPlanRules,proto3" json:"backup_plan_rules,omitempty"`
// contains filtered or unexported fields
}
GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.
func (*GcpBackupConfig) Descriptor
func (*GcpBackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcpBackupConfig.ProtoReflect.Descriptor instead.
func (*GcpBackupConfig) GetBackupPlan
func (x *GcpBackupConfig) GetBackupPlan() string
func (*GcpBackupConfig) GetBackupPlanAssociation
func (x *GcpBackupConfig) GetBackupPlanAssociation() string
func (*GcpBackupConfig) GetBackupPlanDescription
func (x *GcpBackupConfig) GetBackupPlanDescription() string
func (*GcpBackupConfig) GetBackupPlanRules
func (x *GcpBackupConfig) GetBackupPlanRules() []string
func (*GcpBackupConfig) ProtoMessage
func (*GcpBackupConfig) ProtoMessage()
func (*GcpBackupConfig) ProtoReflect
func (x *GcpBackupConfig) ProtoReflect() protoreflect.Message
func (*GcpBackupConfig) Reset
func (x *GcpBackupConfig) Reset()
func (*GcpBackupConfig) String
func (x *GcpBackupConfig) String() string
GcpResource
type GcpResource struct {
// Name of the Google Cloud resource.
GcpResourcename string `protobuf:"bytes,1,opt,name=gcp_resourcename,json=gcpResourcename,proto3" json:"gcp_resourcename,omitempty"`
// Location of the resource:
Minimum details to identify a Google Cloud resource
func (*GcpResource) Descriptor
func (*GcpResource) Descriptor() ([]byte, []int)
Deprecated: Use GcpResource.ProtoReflect.Descriptor instead.
func (*GcpResource) GetGcpResourcename
func (x *GcpResource) GetGcpResourcename() string
func (*GcpResource) GetLocation
func (x *GcpResource) GetLocation() string
func (*GcpResource) GetType
func (x *GcpResource) GetType() string
func (*GcpResource) ProtoMessage
func (*GcpResource) ProtoMessage()
func (*GcpResource) ProtoReflect
func (x *GcpResource) ProtoReflect() protoreflect.Message
func (*GcpResource) Reset
func (x *GcpResource) Reset()
func (*GcpResource) String
func (x *GcpResource) String() string
GetBackupPlanAssociationRequest
type GetBackupPlanAssociationRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for getting a BackupPlanAssociation resource.
func (*GetBackupPlanAssociationRequest) Descriptor
func (*GetBackupPlanAssociationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupPlanAssociationRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPlanAssociationRequest) GetName
func (x *GetBackupPlanAssociationRequest) GetName() string
func (*GetBackupPlanAssociationRequest) ProtoMessage
func (*GetBackupPlanAssociationRequest) ProtoMessage()
func (*GetBackupPlanAssociationRequest) ProtoReflect
func (x *GetBackupPlanAssociationRequest) ProtoReflect() protoreflect.Message
func (*GetBackupPlanAssociationRequest) Reset
func (x *GetBackupPlanAssociationRequest) Reset()
func (*GetBackupPlanAssociationRequest) String
func (x *GetBackupPlanAssociationRequest) String() string
GetBackupPlanRequest
type GetBackupPlanRequest struct {
// Required. The resource name of the `BackupPlan` to retrieve.
//
// Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message for getting a BackupPlan
.
func (*GetBackupPlanRequest) Descriptor
func (*GetBackupPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupPlanRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPlanRequest) GetName
func (x *GetBackupPlanRequest) GetName() string
func (*GetBackupPlanRequest) ProtoMessage
func (*GetBackupPlanRequest) ProtoMessage()
func (*GetBackupPlanRequest) ProtoReflect
func (x *GetBackupPlanRequest) ProtoReflect() protoreflect.Message
func (*GetBackupPlanRequest) Reset
func (x *GetBackupPlanRequest) Reset()
func (*GetBackupPlanRequest) String
func (x *GetBackupPlanRequest) String() string
GetBackupRequest
type GetBackupRequest struct {
// Required. Name of the data source resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// resource.
View BackupView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupView" json:"view,omitempty"`
// contains filtered or unexported fields
}
Request message for getting a Backup.
func (*GetBackupRequest) Descriptor
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) GetView
func (x *GetBackupRequest) GetView() BackupView
func (*GetBackupRequest) ProtoMessage
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String
func (x *GetBackupRequest) String() string
GetBackupVaultRequest
type GetBackupVaultRequest struct {
// Required. Name of the backupvault store resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// Vault
View BackupVaultView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupVaultView" json:"view,omitempty"`
// contains filtered or unexported fields
}
Request message for getting a BackupVault.
func (*GetBackupVaultRequest) Descriptor
func (*GetBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*GetBackupVaultRequest) GetName
func (x *GetBackupVaultRequest) GetName() string
func (*GetBackupVaultRequest) GetView
func (x *GetBackupVaultRequest) GetView() BackupVaultView
func (*GetBackupVaultRequest) ProtoMessage
func (*GetBackupVaultRequest) ProtoMessage()
func (*GetBackupVaultRequest) ProtoReflect
func (x *GetBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*GetBackupVaultRequest) Reset
func (x *GetBackupVaultRequest) Reset()
func (*GetBackupVaultRequest) String
func (x *GetBackupVaultRequest) String() string
GetDataSourceRequest
type GetDataSourceRequest struct {
// Required. Name of the data source resource name, in the format
// 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for getting a DataSource instance.
func (*GetDataSourceRequest) Descriptor
func (*GetDataSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDataSourceRequest.ProtoReflect.Descriptor instead.
func (*GetDataSourceRequest) GetName
func (x *GetDataSourceRequest) GetName() string
func (*GetDataSourceRequest) ProtoMessage
func (*GetDataSourceRequest) ProtoMessage()
func (*GetDataSourceRequest) ProtoReflect
func (x *GetDataSourceRequest) ProtoReflect() protoreflect.Message
func (*GetDataSourceRequest) Reset
func (x *GetDataSourceRequest) Reset()
func (*GetDataSourceRequest) String
func (x *GetDataSourceRequest) String() string
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
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 (x *GetManagementServerRequest) ProtoReflect() protoreflect.Message
func (*GetManagementServerRequest) Reset
func (x *GetManagementServerRequest) Reset()
func (*GetManagementServerRequest) String
func (x *GetManagementServerRequest) String() string
GuestOsFeature
type GuestOsFeature struct {
// The ID of a supported feature.
Type *GuestOsFeature_FeatureType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.backupdr.v1.GuestOsFeature_FeatureType,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
Feature type of the Guest OS.
func (*GuestOsFeature) Descriptor
func (*GuestOsFeature) Descriptor() ([]byte, []int)
Deprecated: Use GuestOsFeature.ProtoReflect.Descriptor instead.
func (*GuestOsFeature) GetType
func (x *GuestOsFeature) GetType() GuestOsFeature_FeatureType
func (*GuestOsFeature) ProtoMessage
func (*GuestOsFeature) ProtoMessage()
func (*GuestOsFeature) ProtoReflect
func (x *GuestOsFeature) ProtoReflect() protoreflect.Message
func (*GuestOsFeature) Reset
func (x *GuestOsFeature) Reset()
func (*GuestOsFeature) String
func (x *GuestOsFeature) String() string
GuestOsFeature_FeatureType
type GuestOsFeature_FeatureType int32
List of the Feature Types.
GuestOsFeature_FEATURE_TYPE_UNSPECIFIED, GuestOsFeature_VIRTIO_SCSI_MULTIQUEUE, GuestOsFeature_WINDOWS, GuestOsFeature_MULTI_IP_SUBNET, GuestOsFeature_UEFI_COMPATIBLE, GuestOsFeature_SECURE_BOOT, GuestOsFeature_GVNIC, GuestOsFeature_SEV_CAPABLE, GuestOsFeature_BARE_METAL_LINUX_COMPATIBLE, GuestOsFeature_SUSPEND_RESUME_COMPATIBLE, GuestOsFeature_SEV_LIVE_MIGRATABLE, GuestOsFeature_SEV_SNP_CAPABLE, GuestOsFeature_TDX_CAPABLE, GuestOsFeature_IDPF, GuestOsFeature_SEV_LIVE_MIGRATABLE_V2
const (
// Default value, which is unused.
GuestOsFeature_FEATURE_TYPE_UNSPECIFIED GuestOsFeature_FeatureType = 0
// VIRTIO_SCSI_MULTIQUEUE feature type.
GuestOsFeature_VIRTIO_SCSI_MULTIQUEUE GuestOsFeature_FeatureType = 1
// WINDOWS feature type.
GuestOsFeature_WINDOWS GuestOsFeature_FeatureType = 2
// MULTI_IP_SUBNET feature type.
GuestOsFeature_MULTI_IP_SUBNET GuestOsFeature_FeatureType = 3
// UEFI_COMPATIBLE feature type.
GuestOsFeature_UEFI_COMPATIBLE GuestOsFeature_FeatureType = 4
// SECURE_BOOT feature type.
GuestOsFeature_SECURE_BOOT GuestOsFeature_FeatureType = 5
// GVNIC feature type.
GuestOsFeature_GVNIC GuestOsFeature_FeatureType = 6
// SEV_CAPABLE feature type.
GuestOsFeature_SEV_CAPABLE GuestOsFeature_FeatureType = 7
// BARE_METAL_LINUX_COMPATIBLE feature type.
GuestOsFeature_BARE_METAL_LINUX_COMPATIBLE GuestOsFeature_FeatureType = 8
// SUSPEND_RESUME_COMPATIBLE feature type.
GuestOsFeature_SUSPEND_RESUME_COMPATIBLE GuestOsFeature_FeatureType = 9
// SEV_LIVE_MIGRATABLE feature type.
GuestOsFeature_SEV_LIVE_MIGRATABLE GuestOsFeature_FeatureType = 10
// SEV_SNP_CAPABLE feature type.
GuestOsFeature_SEV_SNP_CAPABLE GuestOsFeature_FeatureType = 11
// TDX_CAPABLE feature type.
GuestOsFeature_TDX_CAPABLE GuestOsFeature_FeatureType = 12
// IDPF feature type.
GuestOsFeature_IDPF GuestOsFeature_FeatureType = 13
// SEV_LIVE_MIGRATABLE_V2 feature type.
GuestOsFeature_SEV_LIVE_MIGRATABLE_V2 GuestOsFeature_FeatureType = 14
)
func (GuestOsFeature_FeatureType) Descriptor
func (GuestOsFeature_FeatureType) Descriptor() protoreflect.EnumDescriptor
func (GuestOsFeature_FeatureType) Enum
func (x GuestOsFeature_FeatureType) Enum() *GuestOsFeature_FeatureType
func (GuestOsFeature_FeatureType) EnumDescriptor
func (GuestOsFeature_FeatureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GuestOsFeature_FeatureType.Descriptor instead.
func (GuestOsFeature_FeatureType) Number
func (x GuestOsFeature_FeatureType) Number() protoreflect.EnumNumber
func (GuestOsFeature_FeatureType) String
func (x GuestOsFeature_FeatureType) String() string
func (GuestOsFeature_FeatureType) Type
func (GuestOsFeature_FeatureType) Type() protoreflect.EnumType
InitializeServiceRequest
type InitializeServiceRequest struct {
// Required. The resource name of the serviceConfig used to initialize the
// service. Format:
// `projects/{project_id}/locations/{location}/serviceConfig`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The resource type to which the default service config will be
// applied. Examples include, "compute.googleapis.com/Instance" and
// "storage.googleapis.com/Bucket".
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and t
// he request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for initializing the service.
func (*InitializeServiceRequest) Descriptor
func (*InitializeServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeServiceRequest.ProtoReflect.Descriptor instead.
func (*InitializeServiceRequest) GetName
func (x *InitializeServiceRequest) GetName() string
func (*InitializeServiceRequest) GetRequestId
func (x *InitializeServiceRequest) GetRequestId() string
func (*InitializeServiceRequest) GetResourceType
func (x *InitializeServiceRequest) GetResourceType() string
func (*InitializeServiceRequest) ProtoMessage
func (*InitializeServiceRequest) ProtoMessage()
func (*InitializeServiceRequest) ProtoReflect
func (x *InitializeServiceRequest) ProtoReflect() protoreflect.Message
func (*InitializeServiceRequest) Reset
func (x *InitializeServiceRequest) Reset()
func (*InitializeServiceRequest) String
func (x *InitializeServiceRequest) String() string
InitializeServiceResponse
type InitializeServiceResponse struct {
// The resource name of the default `BackupVault` created.
// Format:
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
BackupVaultName string `protobuf:"bytes,1,opt,name=backup_vault_name,json=backupVaultName,proto3" json:"backup_vault_name,omitempty"`
// The resource name of the default `BackupPlan` created.
// Format:
// `projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.
BackupPlanName string `protobuf:"bytes,2,opt,name=backup_plan_name,json=backupPlanName,proto3" json:"backup_plan_name,omitempty"`
// contains filtered or unexported fields
}
Response message for initializing the service.
func (*InitializeServiceResponse) Descriptor
func (*InitializeServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeServiceResponse.ProtoReflect.Descriptor instead.
func (*InitializeServiceResponse) GetBackupPlanName
func (x *InitializeServiceResponse) GetBackupPlanName() string
func (*InitializeServiceResponse) GetBackupVaultName
func (x *InitializeServiceResponse) GetBackupVaultName() string
func (*InitializeServiceResponse) ProtoMessage
func (*InitializeServiceResponse) ProtoMessage()
func (*InitializeServiceResponse) ProtoReflect
func (x *InitializeServiceResponse) ProtoReflect() protoreflect.Message
func (*InitializeServiceResponse) Reset
func (x *InitializeServiceResponse) Reset()
func (*InitializeServiceResponse) String
func (x *InitializeServiceResponse) String() string
InstanceParams
type InstanceParams struct {
// Optional. Resource manager tags to be bound to the instance.
ResourceManagerTags map[string]string `protobuf:"bytes,1,rep,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
Additional instance params.
func (*InstanceParams) Descriptor
func (*InstanceParams) Descriptor() ([]byte, []int)
Deprecated: Use InstanceParams.ProtoReflect.Descriptor instead.
func (*InstanceParams) GetResourceManagerTags
func (x *InstanceParams) GetResourceManagerTags() map[string]string
func (*InstanceParams) ProtoMessage
func (*InstanceParams) ProtoMessage()
func (*InstanceParams) ProtoReflect
func (x *InstanceParams) ProtoReflect() protoreflect.Message
func (*InstanceParams) Reset
func (x *InstanceParams) Reset()
func (*InstanceParams) String
func (x *InstanceParams) String() string
KeyRevocationActionType
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
KeyRevocationActionType_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED, KeyRevocationActionType_NONE, KeyRevocationActionType_STOP
const (
// Default value. This value is unused.
KeyRevocationActionType_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED KeyRevocationActionType = 0
// Indicates user chose no operation.
KeyRevocationActionType_NONE KeyRevocationActionType = 1
// Indicates user chose to opt for VM shutdown on key revocation.
KeyRevocationActionType_STOP KeyRevocationActionType = 2
)
func (KeyRevocationActionType) Descriptor
func (KeyRevocationActionType) Descriptor() protoreflect.EnumDescriptor
func (KeyRevocationActionType) Enum
func (x KeyRevocationActionType) Enum() *KeyRevocationActionType
func (KeyRevocationActionType) EnumDescriptor
func (KeyRevocationActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeyRevocationActionType.Descriptor instead.
func (KeyRevocationActionType) Number
func (x KeyRevocationActionType) Number() protoreflect.EnumNumber
func (KeyRevocationActionType) String
func (x KeyRevocationActionType) String() string
func (KeyRevocationActionType) Type
func (KeyRevocationActionType) Type() protoreflect.EnumType
ListBackupPlanAssociationsRequest
type ListBackupPlanAssociationsRequest struct {
// Required. The project and location for which to retrieve backup Plan
// Associations information, in the format
// `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations
// map to GCP regions, for example **us-central1**. To retrieve backup plan
// associations for all locations, use "-" for the
// `{location}` value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for List BackupPlanAssociation
func (*ListBackupPlanAssociationsRequest) Descriptor
func (*ListBackupPlanAssociationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPlanAssociationsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPlanAssociationsRequest) GetFilter
func (x *ListBackupPlanAssociationsRequest) GetFilter() string
func (*ListBackupPlanAssociationsRequest) GetPageSize
func (x *ListBackupPlanAssociationsRequest) GetPageSize() int32
func (*ListBackupPlanAssociationsRequest) GetPageToken
func (x *ListBackupPlanAssociationsRequest) GetPageToken() string
func (*ListBackupPlanAssociationsRequest) GetParent
func (x *ListBackupPlanAssociationsRequest) GetParent() string
func (*ListBackupPlanAssociationsRequest) ProtoMessage
func (*ListBackupPlanAssociationsRequest) ProtoMessage()
func (*ListBackupPlanAssociationsRequest) ProtoReflect
func (x *ListBackupPlanAssociationsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupPlanAssociationsRequest) Reset
func (x *ListBackupPlanAssociationsRequest) Reset()
func (*ListBackupPlanAssociationsRequest) String
func (x *ListBackupPlanAssociationsRequest) String() string
ListBackupPlanAssociationsResponse
type ListBackupPlanAssociationsResponse struct {
// The list of Backup Plan Associations in the project for the specified
// location.
//
// If the `{location}` value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup plan associations in reachable
// locations and the 'unreachable' field will be populated with a list of
// unreachable locations.
BackupPlanAssociations []*BackupPlanAssociation `protobuf:"bytes,1,rep,name=backup_plan_associations,json=backupPlanAssociations,proto3" json:"backup_plan_associations,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for List BackupPlanAssociation
func (*ListBackupPlanAssociationsResponse) Descriptor
func (*ListBackupPlanAssociationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPlanAssociationsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPlanAssociationsResponse) GetBackupPlanAssociations
func (x *ListBackupPlanAssociationsResponse) GetBackupPlanAssociations() []*BackupPlanAssociation
func (*ListBackupPlanAssociationsResponse) GetNextPageToken
func (x *ListBackupPlanAssociationsResponse) GetNextPageToken() string
func (*ListBackupPlanAssociationsResponse) GetUnreachable
func (x *ListBackupPlanAssociationsResponse) GetUnreachable() []string
func (*ListBackupPlanAssociationsResponse) ProtoMessage
func (*ListBackupPlanAssociationsResponse) ProtoMessage()
func (*ListBackupPlanAssociationsResponse) ProtoReflect
func (x *ListBackupPlanAssociationsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupPlanAssociationsResponse) Reset
func (x *ListBackupPlanAssociationsResponse) Reset()
func (*ListBackupPlanAssociationsResponse) String
func (x *ListBackupPlanAssociationsResponse) String() string
ListBackupPlansRequest
type ListBackupPlansRequest struct {
// Required. The project and location for which to retrieve `BackupPlans`
// information. Format: `projects/{project}/locations/{location}`. In Cloud
// BackupDR, locations map to GCP regions, for e.g. **us-central1**. To
// retrieve backup plans for all locations, use "-" for the
// `{location}` value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `BackupPlans` to return in a single
// response. If not specified, a default value will be chosen by the service.
// Note that the response may include a partial list and a caller should
// only rely on the response's
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// to determine if there are more instances left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value of
// [next_page_token][google.cloud.backupdr.v1.ListBackupPlansResponse.next_page_token]
// received from a previous `ListBackupPlans` call.
// Provide this to retrieve the subsequent page in a multi-page list of
// results. When paginating, all other parameters provided to
// `ListBackupPlans` must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Field match expression used to filter the results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field by which to sort the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request message for getting a list BackupPlan
.
func (*ListBackupPlansRequest) Descriptor
func (*ListBackupPlansRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPlansRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPlansRequest) GetFilter
func (x *ListBackupPlansRequest) GetFilter() string
func (*ListBackupPlansRequest) GetOrderBy
func (x *ListBackupPlansRequest) GetOrderBy() string
func (*ListBackupPlansRequest) GetPageSize
func (x *ListBackupPlansRequest) GetPageSize() int32
func (*ListBackupPlansRequest) GetPageToken
func (x *ListBackupPlansRequest) GetPageToken() string
func (*ListBackupPlansRequest) GetParent
func (x *ListBackupPlansRequest) GetParent() string
func (*ListBackupPlansRequest) ProtoMessage
func (*ListBackupPlansRequest) ProtoMessage()
func (*ListBackupPlansRequest) ProtoReflect
func (x *ListBackupPlansRequest) ProtoReflect() protoreflect.Message
func (*ListBackupPlansRequest) Reset
func (x *ListBackupPlansRequest) Reset()
func (*ListBackupPlansRequest) String
func (x *ListBackupPlansRequest) String() string
ListBackupPlansResponse
type ListBackupPlansResponse struct {
// The list of `BackupPlans` in the project for the specified
// location.
//
// If the `{location}` value in the request is "-", the response contains a
// list of resources from all locations. In case any location is unreachable,
// the response will only return backup plans in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
// BackupPlan
BackupPlans []*BackupPlan `protobuf:"bytes,1,rep,name=backup_plans,json=backupPlans,proto3" json:"backup_plans,omitempty"`
// A token which may be sent as
// [page_token][google.cloud.backupdr.v1.ListBackupPlansRequest.page_token] in
// a subsequent `ListBackupPlans` call to retrieve the next page of results.
// If this field is omitted or empty, then there are no more results to
// return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
The response message for getting a list of BackupPlan
.
func (*ListBackupPlansResponse) Descriptor
func (*ListBackupPlansResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPlansResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPlansResponse) GetBackupPlans
func (x *ListBackupPlansResponse) GetBackupPlans() []*BackupPlan
func (*ListBackupPlansResponse) GetNextPageToken
func (x *ListBackupPlansResponse) GetNextPageToken() string
func (*ListBackupPlansResponse) GetUnreachable
func (x *ListBackupPlansResponse) GetUnreachable() []string
func (*ListBackupPlansResponse) ProtoMessage
func (*ListBackupPlansResponse) ProtoMessage()
func (*ListBackupPlansResponse) ProtoReflect
func (x *ListBackupPlansResponse) ProtoReflect() protoreflect.Message
func (*ListBackupPlansResponse) Reset
func (x *ListBackupPlansResponse) Reset()
func (*ListBackupPlansResponse) String
func (x *ListBackupPlansResponse) String() string
ListBackupVaultsRequest
type ListBackupVaultsRequest struct {
// Required. The project and location for which to retrieve backupvault stores
// information, in the format 'projects/{project_id}/locations/{location}'. In
// Cloud Backup and DR, locations map to Google Cloud regions, for example
// **us-central1**.
// To retrieve backupvault stores for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// Vault.
View BackupVaultView `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupVaultView" json:"view,omitempty"`
// contains filtered or unexported fields
}
Request message for listing backupvault stores.
func (*ListBackupVaultsRequest) Descriptor
func (*ListBackupVaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupVaultsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsRequest) GetFilter
func (x *ListBackupVaultsRequest) GetFilter() string
func (*ListBackupVaultsRequest) GetOrderBy
func (x *ListBackupVaultsRequest) GetOrderBy() string
func (*ListBackupVaultsRequest) GetPageSize
func (x *ListBackupVaultsRequest) GetPageSize() int32
func (*ListBackupVaultsRequest) GetPageToken
func (x *ListBackupVaultsRequest) GetPageToken() string
func (*ListBackupVaultsRequest) GetParent
func (x *ListBackupVaultsRequest) GetParent() string
func (*ListBackupVaultsRequest) GetView
func (x *ListBackupVaultsRequest) GetView() BackupVaultView
func (*ListBackupVaultsRequest) ProtoMessage
func (*ListBackupVaultsRequest) ProtoMessage()
func (*ListBackupVaultsRequest) ProtoReflect
func (x *ListBackupVaultsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupVaultsRequest) Reset
func (x *ListBackupVaultsRequest) Reset()
func (*ListBackupVaultsRequest) String
func (x *ListBackupVaultsRequest) String() string
ListBackupVaultsResponse
type ListBackupVaultsResponse struct {
// The list of BackupVault instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return backup vaults in reachable locations and
// the 'unreachable' field will be populated with a list of unreachable
// locations.
BackupVaults []*BackupVault `protobuf:"bytes,1,rep,name=backup_vaults,json=backupVaults,proto3" json:"backup_vaults,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for listing BackupVaults.
func (*ListBackupVaultsResponse) Descriptor
func (*ListBackupVaultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupVaultsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsResponse) GetBackupVaults
func (x *ListBackupVaultsResponse) GetBackupVaults() []*BackupVault
func (*ListBackupVaultsResponse) GetNextPageToken
func (x *ListBackupVaultsResponse) GetNextPageToken() string
func (*ListBackupVaultsResponse) GetUnreachable
func (x *ListBackupVaultsResponse) GetUnreachable() []string
func (*ListBackupVaultsResponse) ProtoMessage
func (*ListBackupVaultsResponse) ProtoMessage()
func (*ListBackupVaultsResponse) ProtoReflect
func (x *ListBackupVaultsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupVaultsResponse) Reset
func (x *ListBackupVaultsResponse) Reset()
func (*ListBackupVaultsResponse) String
func (x *ListBackupVaultsResponse) String() string
ListBackupsRequest
type ListBackupsRequest struct {
// Required. The project and location for which to retrieve backup
// information, in the format
// 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
// locations map to Google Cloud regions, for example **us-central1**.
// To retrieve data sources for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Reserved for future use to provide a BASIC & FULL view of Backup
// resource.
View BackupView `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.backupdr.v1.BackupView" json:"view,omitempty"`
// contains filtered or unexported fields
}
Request message for listing Backups.
func (*ListBackupsRequest) Descriptor
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetFilter
func (x *ListBackupsRequest) GetFilter() string
func (*ListBackupsRequest) GetOrderBy
func (x *ListBackupsRequest) GetOrderBy() string
func (*ListBackupsRequest) GetPageSize
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetPageToken
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) GetParent
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) GetView
func (x *ListBackupsRequest) GetView() BackupView
func (*ListBackupsRequest) ProtoMessage
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String
func (x *ListBackupsRequest) String() string
ListBackupsResponse
type ListBackupsResponse struct {
// The list of Backup instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return data sources in reachable locations
// and the 'unreachable' field will be populated with a list of unreachable
// locations.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for listing Backups.
func (*ListBackupsResponse) Descriptor
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) GetUnreachable
func (x *ListBackupsResponse) GetUnreachable() []string
func (*ListBackupsResponse) ProtoMessage
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String
func (x *ListBackupsResponse) String() string
ListDataSourcesRequest
type ListDataSourcesRequest struct {
// Required. The project and location for which to retrieve data
// sources information, in the format
// 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
// locations map to Google Cloud regions, for example **us-central1**.
// To retrieve data sources for all locations, use "-" for the
// '{location}' value.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for listing DataSources.
func (*ListDataSourcesRequest) Descriptor
func (*ListDataSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSourcesRequest.ProtoReflect.Descriptor instead.
func (*ListDataSourcesRequest) GetFilter
func (x *ListDataSourcesRequest) GetFilter() string
func (*ListDataSourcesRequest) GetOrderBy
func (x *ListDataSourcesRequest) GetOrderBy() string
func (*ListDataSourcesRequest) GetPageSize
func (x *ListDataSourcesRequest) GetPageSize() int32
func (*ListDataSourcesRequest) GetPageToken
func (x *ListDataSourcesRequest) GetPageToken() string
func (*ListDataSourcesRequest) GetParent
func (x *ListDataSourcesRequest) GetParent() string
func (*ListDataSourcesRequest) ProtoMessage
func (*ListDataSourcesRequest) ProtoMessage()
func (*ListDataSourcesRequest) ProtoReflect
func (x *ListDataSourcesRequest) ProtoReflect() protoreflect.Message
func (*ListDataSourcesRequest) Reset
func (x *ListDataSourcesRequest) Reset()
func (*ListDataSourcesRequest) String
func (x *ListDataSourcesRequest) String() string
ListDataSourcesResponse
type ListDataSourcesResponse struct {
// The list of DataSource instances in the project for the specified
// location.
//
// If the '{location}' value in the request is "-", the response contains a
// list of instances from all locations. In case any location is unreachable,
// the response will only return data sources in reachable locations
// and the 'unreachable' field will be populated with a list of unreachable
// locations.
DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for listing DataSources.
func (*ListDataSourcesResponse) Descriptor
func (*ListDataSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSourcesResponse.ProtoReflect.Descriptor instead.
func (*ListDataSourcesResponse) GetDataSources
func (x *ListDataSourcesResponse) GetDataSources() []*DataSource
func (*ListDataSourcesResponse) GetNextPageToken
func (x *ListDataSourcesResponse) GetNextPageToken() string
func (*ListDataSourcesResponse) GetUnreachable
func (x *ListDataSourcesResponse) GetUnreachable() []string
func (*ListDataSourcesResponse) ProtoMessage
func (*ListDataSourcesResponse) ProtoMessage()
func (*ListDataSourcesResponse) ProtoReflect
func (x *ListDataSourcesResponse) ProtoReflect() protoreflect.Message
func (*ListDataSourcesResponse) Reset
func (x *ListDataSourcesResponse) Reset()
func (*ListDataSourcesResponse) String
func (x *ListDataSourcesResponse) String() string
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
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 (x *ListManagementServersRequest) ProtoReflect() protoreflect.Message
func (*ListManagementServersRequest) Reset
func (x *ListManagementServersRequest) Reset()
func (*ListManagementServersRequest) String
func (x *ListManagementServersRequest) String() string
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
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 (x *ListManagementServersResponse) ProtoReflect() protoreflect.Message
func (*ListManagementServersResponse) Reset
func (x *ListManagementServersResponse) Reset()
func (*ListManagementServersResponse) String
func (x *ListManagementServersResponse) String() string
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=
ManagementServer describes a single BackupDR ManagementServer instance.
func (*ManagementServer) Descriptor
func (*ManagementServer) Descriptor() ([]byte, []int)
Deprecated: Use ManagementServer.ProtoReflect.Descriptor instead.
func (*ManagementServer) GetBaProxyUri
func (x *ManagementServer) GetBaProxyUri() []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
func (x *ManagementServer) GetSatisfiesPzi() bool
func (*ManagementServer) GetSatisfiesPzs
func (x *ManagementServer) GetSatisfiesPzs() *wrapperspb.BoolValue
func (*ManagementServer) GetState
func (x *ManagementServer) GetState() ManagementServer_InstanceState
func (*ManagementServer) GetType
func (x *ManagementServer) GetType() ManagementServer_InstanceType
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
ManagementServer_InstanceState
type ManagementServer_InstanceState int32
State of Management server instance.
ManagementServer_INSTANCE_STATE_UNSPECIFIED, ManagementServer_CREATING, ManagementServer_READY, ManagementServer_UPDATING, ManagementServer_DELETING, ManagementServer_REPAIRING, ManagementServer_MAINTENANCE, ManagementServer_ERROR
const (
// State not set.
ManagementServer_INSTANCE_STATE_UNSPECIFIED ManagementServer_InstanceState = 0
// The instance is being created.
ManagementServer_CREATING ManagementServer_InstanceState = 1
// The instance has been created and is fully usable.
ManagementServer_READY ManagementServer_InstanceState = 2
// The instance configuration is being updated. Certain kinds of updates
// may cause the instance to become unusable while the update is in
// progress.
ManagementServer_UPDATING ManagementServer_InstanceState = 3
// The instance is being deleted.
ManagementServer_DELETING ManagementServer_InstanceState = 4
// The instance is being repaired and may be unstable.
ManagementServer_REPAIRING ManagementServer_InstanceState = 5
// Maintenance is being performed on this instance.
ManagementServer_MAINTENANCE ManagementServer_InstanceState = 6
// The instance is experiencing an issue and might be unusable. You can get
// further details from the statusMessage field of Instance resource.
ManagementServer_ERROR ManagementServer_InstanceState = 7
)
func (ManagementServer_InstanceState) Descriptor
func (ManagementServer_InstanceState) Descriptor() protoreflect.EnumDescriptor
func (ManagementServer_InstanceState) Enum
func (x ManagementServer_InstanceState) Enum() *ManagementServer_InstanceState
func (ManagementServer_InstanceState) EnumDescriptor
func (ManagementServer_InstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagementServer_InstanceState.Descriptor instead.
func (ManagementServer_InstanceState) Number
func (x ManagementServer_InstanceState) Number() protoreflect.EnumNumber
func (ManagementServer_InstanceState) String
func (x ManagementServer_InstanceState) String() string
func (ManagementServer_InstanceState) Type
func (ManagementServer_InstanceState) Type() protoreflect.EnumType
ManagementServer_InstanceType
type ManagementServer_InstanceType int32
Type of backup service resource.
ManagementServer_INSTANCE_TYPE_UNSPECIFIED, ManagementServer_BACKUP_RESTORE
const (
// Instance type is not mentioned.
ManagementServer_INSTANCE_TYPE_UNSPECIFIED ManagementServer_InstanceType = 0
// Instance for backup and restore management (i.e., AGM).
ManagementServer_BACKUP_RESTORE ManagementServer_InstanceType = 1
)
func (ManagementServer_InstanceType) Descriptor
func (ManagementServer_InstanceType) Descriptor() protoreflect.EnumDescriptor
func (ManagementServer_InstanceType) Enum
func (x ManagementServer_InstanceType) Enum() *ManagementServer_InstanceType
func (ManagementServer_InstanceType) EnumDescriptor
func (ManagementServer_InstanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagementServer_InstanceType.Descriptor instead.
func (ManagementServer_InstanceType) Number
func (x ManagementServer_InstanceType) Number() protoreflect.EnumNumber
func (ManagementServer_InstanceType) String
func (x ManagementServer_InstanceType) String() string
func (ManagementServer_InstanceType) Type
func (ManagementServer_InstanceType) Type() protoreflect.EnumType
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
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
Metadata
type Metadata struct {
// Optional. Array of key/value pairs. The total size of all keys and values
// must be less than 512 KB.
Items []*Entry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
A metadata key/value entry.
func (*Metadata) Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (*Metadata) GetItems
func (*Metadata) ProtoMessage
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Reset
func (x *Metadata) Reset()
func (*Metadata) String
NetworkConfig
type NetworkConfig struct {
// Optional. The resource name of the Google Compute Engine VPC network to
// which the ManagementServer instance is connected.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Optional. The network connect mode of the ManagementServer instance. For
// this version, only PRIVATE_SERVICE_ACCESS is supported.
PeeringMode NetworkConfig_PeeringMode `protobuf:"varint,2,opt,name=peering_mode,json=peeringMode,proto3,enum=google.cloud.backupdr.v1.NetworkConfig_PeeringMode" json:"peering_mode,omitempty"`
// contains filtered or unexported fields
}
Network configuration for ManagementServer instance.
func (*NetworkConfig) Descriptor
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetNetwork
func (x *NetworkConfig) GetNetwork() 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
NetworkConfig_PeeringMode
type NetworkConfig_PeeringMode int32
VPC peering modes supported by Cloud BackupDR.
NetworkConfig_PEERING_MODE_UNSPECIFIED, NetworkConfig_PRIVATE_SERVICE_ACCESS
const (
// Peering mode not set.
NetworkConfig_PEERING_MODE_UNSPECIFIED NetworkConfig_PeeringMode = 0
// Connect using Private Service Access to the Management Server. Private
// services access provides an IP address range for multiple Google Cloud
// services, including Cloud BackupDR.
NetworkConfig_PRIVATE_SERVICE_ACCESS NetworkConfig_PeeringMode = 1
)
func (NetworkConfig_PeeringMode) Descriptor
func (NetworkConfig_PeeringMode) Descriptor() protoreflect.EnumDescriptor
func (NetworkConfig_PeeringMode) Enum
func (x NetworkConfig_PeeringMode) Enum() *NetworkConfig_PeeringMode
func (NetworkConfig_PeeringMode) EnumDescriptor
func (NetworkConfig_PeeringMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_PeeringMode.Descriptor instead.
func (NetworkConfig_PeeringMode) Number
func (x NetworkConfig_PeeringMode) Number() protoreflect.EnumNumber
func (NetworkConfig_PeeringMode) String
func (x NetworkConfig_PeeringMode) String() string
func (NetworkConfig_PeeringMode) Type
func (NetworkConfig_PeeringMode) Type() protoreflect.EnumType
NetworkInterface
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 `protobuf:"varint,5,opt,name=internal_ipv6_prefix_length,json=internalIpv6PrefixLength,proto3,oneof" json:"internal_ipv6_prefix_length,omitempty"`
// Output only. [Output Only] The name of the network interface, which is
// generated by the server.
Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. An array of configurations for this interface. Currently, only
// one access config,ONE_TO_ONE_NAT is supported. If there are no
// accessConfigs specified, then this instance will have
// no external internet access.
AccessConfigs []*AccessConfig `protobuf:"bytes,7,rep,name=access_configs,json=accessConfigs,proto3" json:"access_configs,omitempty"`
// Optional. An array of IPv6 access configurations for this interface.
// Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there
// is no ipv6AccessConfig specified, then this instance will
// have no external IPv6 Internet access.
Ipv6AccessConfigs []*AccessConfig `protobuf:"bytes,8,rep,name=ipv6_access_configs,json=ipv6AccessConfigs,proto3" json:"ipv6_access_configs,omitempty"`
// Optional. An array of alias IP ranges for this network interface.
// You can only specify this field for network interfaces in VPC networks.
AliasIpRanges []*AliasIpRange `protobuf:"bytes,9,rep,name=alias_ip_ranges,json=aliasIpRanges,proto3" json:"alias_ip_ranges,omitempty"`
// The stack type for this network interface.
StackType *NetworkInterface_StackType `protobuf:"varint,10,opt,name=stack_type,json=stackType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_StackType,oneof" json:"stack_type,omitempty"`
// Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the
// IP can be accessed from the Internet. This field is always inherited from
// its subnetwork.
Ipv6AccessType *NetworkInterface_Ipv6AccessType `protobuf:"varint,11,opt,name=ipv6_access_type,json=ipv6AccessType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_Ipv6AccessType,oneof" json:"ipv6_access_type,omitempty"`
// Optional. The networking queue count that's specified by users for the
// network interface. Both Rx and Tx queues will be set to this number. It'll
// be empty if not specified by the users.
QueueCount *int32 `protobuf:"varint,12,opt,name=queue_count,json=queueCount,proto3,oneof" json:"queue_count,omitempty"`
// Optional. The type of vNIC to be used on this interface. This may be gVNIC
// or VirtioNet.
NicType *NetworkInterface_NicType `protobuf:"varint,13,opt,name=nic_type,json=nicType,proto3,enum=google.cloud.backupdr.v1.NetworkInterface_NicType,oneof" json:"nic_type,omitempty"`
// Optional. The URL of the network attachment that this interface should
// connect to in the following format:
// projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
NetworkAttachment *string `protobuf:"bytes,14,opt,name=network_attachment,json=networkAttachment,proto3,oneof" json:"network_attachment,omitempty"`
// contains filtered or unexported fields
}
A network interface resource attached to an instance. s
func (*NetworkInterface) Descriptor
func (*NetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.
func (*NetworkInterface) GetAccessConfigs
func (x *NetworkInterface) GetAccessConfigs() []*AccessConfig
func (*NetworkInterface) GetAliasIpRanges
func (x *NetworkInterface) GetAliasIpRanges() []*AliasIpRange
func (*NetworkInterface) GetInternalIpv6PrefixLength
func (x *NetworkInterface) GetInternalIpv6PrefixLength() int32
func (*NetworkInterface) GetIpAddress
func (x *NetworkInterface) GetIpAddress() string
func (*NetworkInterface) GetIpv6AccessConfigs
func (x *NetworkInterface) GetIpv6AccessConfigs() []*AccessConfig
func (*NetworkInterface) GetIpv6AccessType
func (x *NetworkInterface) GetIpv6AccessType() NetworkInterface_Ipv6AccessType
func (*NetworkInterface) GetIpv6Address
func (x *NetworkInterface) GetIpv6Address() string
func (*NetworkInterface) GetName
func (x *NetworkInterface) GetName() string
func (*NetworkInterface) GetNetwork
func (x *NetworkInterface) GetNetwork() string
func (*NetworkInterface) GetNetworkAttachment
func (x *NetworkInterface) GetNetworkAttachment() string
func (*NetworkInterface) GetNicType
func (x *NetworkInterface) GetNicType() NetworkInterface_NicType
func (*NetworkInterface) GetQueueCount
func (x *NetworkInterface) GetQueueCount() int32
func (*NetworkInterface) GetStackType
func (x *NetworkInterface) GetStackType() NetworkInterface_StackType
func (*NetworkInterface) GetSubnetwork
func (x *NetworkInterface) GetSubnetwork() string
func (*NetworkInterface) ProtoMessage
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) ProtoReflect
func (x *NetworkInterface) ProtoReflect() protoreflect.Message
func (*NetworkInterface) Reset
func (x *NetworkInterface) Reset()
func (*NetworkInterface) String
func (x *NetworkInterface) String() string
NetworkInterface_Ipv6AccessType
type NetworkInterface_Ipv6AccessType int32
IPv6 access type for this network interface.
NetworkInterface_UNSPECIFIED_IPV6_ACCESS_TYPE, NetworkInterface_INTERNAL, NetworkInterface_EXTERNAL
const (
// IPv6 access type not set. Means this network interface hasn't been
// turned on IPv6 yet.
NetworkInterface_UNSPECIFIED_IPV6_ACCESS_TYPE NetworkInterface_Ipv6AccessType = 0
// This network interface can have internal IPv6.
NetworkInterface_INTERNAL NetworkInterface_Ipv6AccessType = 1
// This network interface can have external IPv6.
NetworkInterface_EXTERNAL NetworkInterface_Ipv6AccessType = 2
)
func (NetworkInterface_Ipv6AccessType) Descriptor
func (NetworkInterface_Ipv6AccessType) Descriptor() protoreflect.EnumDescriptor
func (NetworkInterface_Ipv6AccessType) Enum
func (x NetworkInterface_Ipv6AccessType) Enum() *NetworkInterface_Ipv6AccessType
func (NetworkInterface_Ipv6AccessType) EnumDescriptor
func (NetworkInterface_Ipv6AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkInterface_Ipv6AccessType.Descriptor instead.
func (NetworkInterface_Ipv6AccessType) Number
func (x NetworkInterface_Ipv6AccessType) Number() protoreflect.EnumNumber
func (NetworkInterface_Ipv6AccessType) String
func (x NetworkInterface_Ipv6AccessType) String() string
func (NetworkInterface_Ipv6AccessType) Type
func (NetworkInterface_Ipv6AccessType) Type() protoreflect.EnumType
NetworkInterface_NicType
type NetworkInterface_NicType int32
Nic type for this network interface.
NetworkInterface_NIC_TYPE_UNSPECIFIED, NetworkInterface_VIRTIO_NET, NetworkInterface_GVNIC
const (
// Default should be NIC_TYPE_UNSPECIFIED.
NetworkInterface_NIC_TYPE_UNSPECIFIED NetworkInterface_NicType = 0
// VIRTIO
NetworkInterface_VIRTIO_NET NetworkInterface_NicType = 1
// GVNIC
NetworkInterface_GVNIC NetworkInterface_NicType = 2
)
func (NetworkInterface_NicType) Descriptor
func (NetworkInterface_NicType) Descriptor() protoreflect.EnumDescriptor
func (NetworkInterface_NicType) Enum
func (x NetworkInterface_NicType) Enum() *NetworkInterface_NicType
func (NetworkInterface_NicType) EnumDescriptor
func (NetworkInterface_NicType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkInterface_NicType.Descriptor instead.
func (NetworkInterface_NicType) Number
func (x NetworkInterface_NicType) Number() protoreflect.EnumNumber
func (NetworkInterface_NicType) String
func (x NetworkInterface_NicType) String() string
func (NetworkInterface_NicType) Type
func (NetworkInterface_NicType) Type() protoreflect.EnumType
NetworkInterface_StackType
type NetworkInterface_StackType int32
Stack type for this network interface.
NetworkInterface_STACK_TYPE_UNSPECIFIED, NetworkInterface_IPV4_ONLY, NetworkInterface_IPV4_IPV6
const (
// Default should be STACK_TYPE_UNSPECIFIED.
NetworkInterface_STACK_TYPE_UNSPECIFIED NetworkInterface_StackType = 0
// The network interface will be assigned IPv4 address.
NetworkInterface_IPV4_ONLY NetworkInterface_StackType = 1
// The network interface can have both IPv4 and IPv6 addresses.
NetworkInterface_IPV4_IPV6 NetworkInterface_StackType = 2
)
func (NetworkInterface_StackType) Descriptor
func (NetworkInterface_StackType) Descriptor() protoreflect.EnumDescriptor
func (NetworkInterface_StackType) Enum
func (x NetworkInterface_StackType) Enum() *NetworkInterface_StackType
func (NetworkInterface_StackType) EnumDescriptor
func (NetworkInterface_StackType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkInterface_StackType.Descriptor instead.
func (NetworkInterface_StackType) Number
func (x NetworkInterface_StackType) Number() protoreflect.EnumNumber
func (NetworkInterface_StackType) String
func (x NetworkInterface_StackType) String() string
func (NetworkInterface_StackType) Type
func (NetworkInterface_StackType) Type() protoreflect.EnumType
NetworkPerformanceConfig
type NetworkPerformanceConfig struct {
// Optional. The tier of the total egress bandwidth.
TotalEgressBandwidthTier *NetworkPerformanceConfig_Tier `protobuf:"varint,1,opt,name=total_egress_bandwidth_tier,json=totalEgressBandwidthTier,proto3,enum=google.cloud.backupdr.v1.NetworkPerformanceConfig_Tier,oneof" json:"total_egress_bandwidth_tier,omitempty"`
// contains filtered or unexported fields
}
Network performance configuration.
func (*NetworkPerformanceConfig) Descriptor
func (*NetworkPerformanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkPerformanceConfig.ProtoReflect.Descriptor instead.
func (*NetworkPerformanceConfig) GetTotalEgressBandwidthTier
func (x *NetworkPerformanceConfig) GetTotalEgressBandwidthTier() NetworkPerformanceConfig_Tier
func (*NetworkPerformanceConfig) ProtoMessage
func (*NetworkPerformanceConfig) ProtoMessage()
func (*NetworkPerformanceConfig) ProtoReflect
func (x *NetworkPerformanceConfig) ProtoReflect() protoreflect.Message
func (*NetworkPerformanceConfig) Reset
func (x *NetworkPerformanceConfig) Reset()
func (*NetworkPerformanceConfig) String
func (x *NetworkPerformanceConfig) String() string
NetworkPerformanceConfig_Tier
type NetworkPerformanceConfig_Tier int32
Network performance tier.
NetworkPerformanceConfig_TIER_UNSPECIFIED, NetworkPerformanceConfig_DEFAULT, NetworkPerformanceConfig_TIER_1
const (
// This value is unused.
NetworkPerformanceConfig_TIER_UNSPECIFIED NetworkPerformanceConfig_Tier = 0
// Default network performance config.
NetworkPerformanceConfig_DEFAULT NetworkPerformanceConfig_Tier = 1
// Tier 1 network performance config.
NetworkPerformanceConfig_TIER_1 NetworkPerformanceConfig_Tier = 2
)
func (NetworkPerformanceConfig_Tier) Descriptor
func (NetworkPerformanceConfig_Tier) Descriptor() protoreflect.EnumDescriptor
func (NetworkPerformanceConfig_Tier) Enum
func (x NetworkPerformanceConfig_Tier) Enum() *NetworkPerformanceConfig_Tier
func (NetworkPerformanceConfig_Tier) EnumDescriptor
func (NetworkPerformanceConfig_Tier) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkPerformanceConfig_Tier.Descriptor instead.
func (NetworkPerformanceConfig_Tier) Number
func (x NetworkPerformanceConfig_Tier) Number() protoreflect.EnumNumber
func (NetworkPerformanceConfig_Tier) String
func (x NetworkPerformanceConfig_Tier) String() string
func (NetworkPerformanceConfig_Tier) Type
func (NetworkPerformanceConfig_Tier) Type() protoreflect.EnumType
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
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to 'Code.CANCELLED'.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// Output only. AdditionalInfo contains additional Info related to backup plan
// association resource.
AdditionalInfo map[string]string `protobuf:"bytes,8,rep,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetAdditionalInfo
func (x *OperationMetadata) GetAdditionalInfo() map[string]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
RestoreBackupRequest
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
func (*RestoreBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreBackupRequest) GetComputeInstanceRestoreProperties
func (x *RestoreBackupRequest) GetComputeInstanceRestoreProperties() *ComputeInstanceRestoreProperties
func (*RestoreBackupRequest) GetComputeInstanceTargetEnvironment
func (x *RestoreBackupRequest) GetComputeInstanceTargetEnvironment() *ComputeInstanceTargetEnvironment
func (*RestoreBackupRequest) GetInstanceProperties
func (m *RestoreBackupRequest) GetInstanceProperties() isRestoreBackupRequest_InstanceProperties
func (*RestoreBackupRequest) GetName
func (x *RestoreBackupRequest) GetName() string
func (*RestoreBackupRequest) GetRequestId
func (x *RestoreBackupRequest) GetRequestId() string
func (*RestoreBackupRequest) GetTargetEnvironment
func (m *RestoreBackupRequest) GetTargetEnvironment() isRestoreBackupRequest_TargetEnvironment
func (*RestoreBackupRequest) ProtoMessage
func (*RestoreBackupRequest) ProtoMessage()
func (*RestoreBackupRequest) ProtoReflect
func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message
func (*RestoreBackupRequest) Reset
func (x *RestoreBackupRequest) Reset()
func (*RestoreBackupRequest) String
func (x *RestoreBackupRequest) String() string
RestoreBackupRequest_ComputeInstanceRestoreProperties
type RestoreBackupRequest_ComputeInstanceRestoreProperties struct {
// Compute Engine instance properties to be overridden during restore.
ComputeInstanceRestoreProperties *ComputeInstanceRestoreProperties `protobuf:"bytes,4,opt,name=compute_instance_restore_properties,json=computeInstanceRestoreProperties,proto3,oneof"`
}
RestoreBackupRequest_ComputeInstanceTargetEnvironment
type RestoreBackupRequest_ComputeInstanceTargetEnvironment struct {
// Compute Engine target environment to be used during restore.
ComputeInstanceTargetEnvironment *ComputeInstanceTargetEnvironment `protobuf:"bytes,3,opt,name=compute_instance_target_environment,json=computeInstanceTargetEnvironment,proto3,oneof"`
}
RestoreBackupResponse
type RestoreBackupResponse struct {
// Details of the target resource created/modified as part of restore.
TargetResource *TargetResource `protobuf:"bytes,1,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
// contains filtered or unexported fields
}
Response message for restoring from a Backup.
func (*RestoreBackupResponse) Descriptor
func (*RestoreBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) GetTargetResource
func (x *RestoreBackupResponse) GetTargetResource() *TargetResource
func (*RestoreBackupResponse) ProtoMessage
func (*RestoreBackupResponse) ProtoMessage()
func (*RestoreBackupResponse) ProtoReflect
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
func (*RestoreBackupResponse) Reset
func (x *RestoreBackupResponse) Reset()
func (*RestoreBackupResponse) String
func (x *RestoreBackupResponse) String() string
RuleConfigInfo
type RuleConfigInfo struct {
// Output only. Backup Rule id fetched from backup plan.
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Output only. The last backup state for rule.
LastBackupState RuleConfigInfo_LastBackupState `protobuf:"varint,3,opt,name=last_backup_state,json=lastBackupState,proto3,enum=google.cloud.backupdr.v1.RuleConfigInfo_LastBackupState" json:"last_backup_state,omitempty"`
// Output only. google.rpc.Status object to store the last backup error.
LastBackupError *status.Status `protobuf:"bytes,4,opt,name=last_backup_error,json=lastBackupError,proto3" json:"last_backup_error,omitempty"`
// Output only. The point in time when the last successful backup was captured
// from the source.
LastSuccessfulBackupConsistencyTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_successful_backup_consistency_time,json=lastSuccessfulBackupConsistencyTime,proto3" json:"last_successful_backup_consistency_time,omitempty"`
// contains filtered or unexported fields
}
Message for rules config info.
func (*RuleConfigInfo) Descriptor
func (*RuleConfigInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuleConfigInfo.ProtoReflect.Descriptor instead.
func (*RuleConfigInfo) GetLastBackupError
func (x *RuleConfigInfo) GetLastBackupError() *status.Status
func (*RuleConfigInfo) GetLastBackupState
func (x *RuleConfigInfo) GetLastBackupState() RuleConfigInfo_LastBackupState
func (*RuleConfigInfo) GetLastSuccessfulBackupConsistencyTime
func (x *RuleConfigInfo) GetLastSuccessfulBackupConsistencyTime() *timestamppb.Timestamp
func (*RuleConfigInfo) GetRuleId
func (x *RuleConfigInfo) GetRuleId() string
func (*RuleConfigInfo) ProtoMessage
func (*RuleConfigInfo) ProtoMessage()
func (*RuleConfigInfo) ProtoReflect
func (x *RuleConfigInfo) ProtoReflect() protoreflect.Message
func (*RuleConfigInfo) Reset
func (x *RuleConfigInfo) Reset()
func (*RuleConfigInfo) String
func (x *RuleConfigInfo) String() string
RuleConfigInfo_LastBackupState
type RuleConfigInfo_LastBackupState int32
Enum for LastBackupState
RuleConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED, RuleConfigInfo_FIRST_BACKUP_PENDING, RuleConfigInfo_PERMISSION_DENIED, RuleConfigInfo_SUCCEEDED, RuleConfigInfo_FAILED
const (
// State not set.
RuleConfigInfo_LAST_BACKUP_STATE_UNSPECIFIED RuleConfigInfo_LastBackupState = 0
// The first backup is pending.
RuleConfigInfo_FIRST_BACKUP_PENDING RuleConfigInfo_LastBackupState = 1
// The most recent backup could not be run/failed because of the lack of
// permissions.
RuleConfigInfo_PERMISSION_DENIED RuleConfigInfo_LastBackupState = 2
// The last backup operation succeeded.
RuleConfigInfo_SUCCEEDED RuleConfigInfo_LastBackupState = 3
// The last backup operation failed.
RuleConfigInfo_FAILED RuleConfigInfo_LastBackupState = 4
)
func (RuleConfigInfo_LastBackupState) Descriptor
func (RuleConfigInfo_LastBackupState) Descriptor() protoreflect.EnumDescriptor
func (RuleConfigInfo_LastBackupState) Enum
func (x RuleConfigInfo_LastBackupState) Enum() *RuleConfigInfo_LastBackupState
func (RuleConfigInfo_LastBackupState) EnumDescriptor
func (RuleConfigInfo_LastBackupState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleConfigInfo_LastBackupState.Descriptor instead.
func (RuleConfigInfo_LastBackupState) Number
func (x RuleConfigInfo_LastBackupState) Number() protoreflect.EnumNumber
func (RuleConfigInfo_LastBackupState) String
func (x RuleConfigInfo_LastBackupState) String() string
func (RuleConfigInfo_LastBackupState) Type
func (RuleConfigInfo_LastBackupState) Type() protoreflect.EnumType
Scheduling
type Scheduling struct {
// Optional. Defines the maintenance behavior for this instance.
OnHostMaintenance *Scheduling_OnHostMaintenance `protobuf:"varint,1,opt,name=on_host_maintenance,json=onHostMaintenance,proto3,enum=google.cloud.backupdr.v1.Scheduling_OnHostMaintenance,oneof" json:"on_host_maintenance,omitempty"`
// Optional. Specifies whether the instance should be automatically restarted
// if it is terminated by Compute Engine (not terminated by a user).
AutomaticRestart *bool `protobuf:"varint,2,opt,name=automatic_restart,json=automaticRestart,proto3,oneof" json:"automatic_restart,omitempty"`
// Optional. Defines whether the instance is preemptible.
Preemptible *bool `protobuf:"varint,3,opt,name=preemptible,proto3,oneof" json:"preemptible,omitempty"`
// Optional. A set of node affinity and anti-affinity configurations.
// Overrides reservationAffinity.
NodeAffinities []*Scheduling_NodeAffinity `protobuf:"bytes,4,rep,name=node_affinities,json=nodeAffinities,proto3" json:"node_affinities,omitempty"`
// Optional. The minimum number of virtual CPUs this instance will consume
// when running on a sole-tenant node.
MinNodeCpus *int32 `protobuf:"varint,5,opt,name=min_node_cpus,json=minNodeCpus,proto3,oneof" json:"min_node_cpus,omitempty"`
// Optional. Specifies the provisioning model of the instance.
ProvisioningModel *Scheduling_ProvisioningModel `protobuf:"varint,6,opt,name=provisioning_model,json=provisioningModel,proto3,enum=google.cloud.backupdr.v1.Scheduling_ProvisioningModel,oneof" json:"provisioning_model,omitempty"`
// Optional. Specifies the termination action for the instance.
InstanceTerminationAction *Scheduling_InstanceTerminationAction `protobuf:"varint,7,opt,name=instance_termination_action,json=instanceTerminationAction,proto3,enum=google.cloud.backupdr.v1.Scheduling_InstanceTerminationAction,oneof" json:"instance_termination_action,omitempty"`
// Optional. Specifies the maximum amount of time a Local Ssd Vm should wait
// while recovery of the Local Ssd state is attempted. Its value should be in
// between 0 and 168 hours with hour granularity and the default value being 1
// hour.
LocalSsdRecoveryTimeout *SchedulingDuration `protobuf:"bytes,10,opt,name=local_ssd_recovery_timeout,json=localSsdRecoveryTimeout,proto3,oneof" json:"local_ssd_recovery_timeout,omitempty"`
// contains filtered or unexported fields
}
Sets the scheduling options for an Instance.
func (*Scheduling) Descriptor
func (*Scheduling) Descriptor() ([]byte, []int)
Deprecated: Use Scheduling.ProtoReflect.Descriptor instead.
func (*Scheduling) GetAutomaticRestart
func (x *Scheduling) GetAutomaticRestart() bool
func (*Scheduling) GetInstanceTerminationAction
func (x *Scheduling) GetInstanceTerminationAction() Scheduling_InstanceTerminationAction
func (*Scheduling) GetLocalSsdRecoveryTimeout
func (x *Scheduling) GetLocalSsdRecoveryTimeout() *SchedulingDuration
func (*Scheduling) GetMinNodeCpus
func (x *Scheduling) GetMinNodeCpus() int32
func (*Scheduling) GetNodeAffinities
func (x *Scheduling) GetNodeAffinities() []*Scheduling_NodeAffinity
func (*Scheduling) GetOnHostMaintenance
func (x *Scheduling) GetOnHostMaintenance() Scheduling_OnHostMaintenance
func (*Scheduling) GetPreemptible
func (x *Scheduling) GetPreemptible() bool
func (*Scheduling) GetProvisioningModel
func (x *Scheduling) GetProvisioningModel() Scheduling_ProvisioningModel
func (*Scheduling) ProtoMessage
func (*Scheduling) ProtoMessage()
func (*Scheduling) ProtoReflect
func (x *Scheduling) ProtoReflect() protoreflect.Message
func (*Scheduling) Reset
func (x *Scheduling) Reset()
func (*Scheduling) String
func (x *Scheduling) String() string
SchedulingDuration
type SchedulingDuration struct {
// Optional. Span of time at a resolution of a second.
Seconds *int64 `protobuf:"varint,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"`
// Optional. Span of time that's a fraction of a second at nanosecond
// resolution.
Nanos *int32 `protobuf:"varint,2,opt,name=nanos,proto3,oneof" json:"nanos,omitempty"`
// contains filtered or unexported fields
}
A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
func (*SchedulingDuration) Descriptor
func (*SchedulingDuration) Descriptor() ([]byte, []int)
Deprecated: Use SchedulingDuration.ProtoReflect.Descriptor instead.
func (*SchedulingDuration) GetNanos
func (x *SchedulingDuration) GetNanos() int32
func (*SchedulingDuration) GetSeconds
func (x *SchedulingDuration) GetSeconds() int64
func (*SchedulingDuration) ProtoMessage
func (*SchedulingDuration) ProtoMessage()
func (*SchedulingDuration) ProtoReflect
func (x *SchedulingDuration) ProtoReflect() protoreflect.Message
func (*SchedulingDuration) Reset
func (x *SchedulingDuration) Reset()
func (*SchedulingDuration) String
func (x *SchedulingDuration) String() string
Scheduling_InstanceTerminationAction
type Scheduling_InstanceTerminationAction int32
Defines the supported termination actions for an instance.
Scheduling_INSTANCE_TERMINATION_ACTION_UNSPECIFIED, Scheduling_DELETE, Scheduling_STOP
const (
// Default value. This value is unused.
Scheduling_INSTANCE_TERMINATION_ACTION_UNSPECIFIED Scheduling_InstanceTerminationAction = 0
// Delete the VM.
Scheduling_DELETE Scheduling_InstanceTerminationAction = 1
// Stop the VM without storing in-memory content. default action.
Scheduling_STOP Scheduling_InstanceTerminationAction = 2
)
func (Scheduling_InstanceTerminationAction) Descriptor
func (Scheduling_InstanceTerminationAction) Descriptor() protoreflect.EnumDescriptor
func (Scheduling_InstanceTerminationAction) Enum
func (x Scheduling_InstanceTerminationAction) Enum() *Scheduling_InstanceTerminationAction
func (Scheduling_InstanceTerminationAction) EnumDescriptor
func (Scheduling_InstanceTerminationAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scheduling_InstanceTerminationAction.Descriptor instead.
func (Scheduling_InstanceTerminationAction) Number
func (x Scheduling_InstanceTerminationAction) Number() protoreflect.EnumNumber
func (Scheduling_InstanceTerminationAction) String
func (x Scheduling_InstanceTerminationAction) String() string
func (Scheduling_InstanceTerminationAction) Type
func (Scheduling_InstanceTerminationAction) Type() protoreflect.EnumType
Scheduling_NodeAffinity
type Scheduling_NodeAffinity struct {
// Optional. Corresponds to the label key of Node resource.
Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Optional. Defines the operation of node selection.
Operator *Scheduling_NodeAffinity_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=google.cloud.backupdr.v1.Scheduling_NodeAffinity_Operator,oneof" json:"operator,omitempty"`
// Optional. Corresponds to the label values of Node resource.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
func (*Scheduling_NodeAffinity) Descriptor
func (*Scheduling_NodeAffinity) Descriptor() ([]byte, []int)
Deprecated: Use Scheduling_NodeAffinity.ProtoReflect.Descriptor instead.
func (*Scheduling_NodeAffinity) GetKey
func (x *Scheduling_NodeAffinity) GetKey() string
func (*Scheduling_NodeAffinity) GetOperator
func (x *Scheduling_NodeAffinity) GetOperator() Scheduling_NodeAffinity_Operator
func (*Scheduling_NodeAffinity) GetValues
func (x *Scheduling_NodeAffinity) GetValues() []string
func (*Scheduling_NodeAffinity) ProtoMessage
func (*Scheduling_NodeAffinity) ProtoMessage()
func (*Scheduling_NodeAffinity) ProtoReflect
func (x *Scheduling_NodeAffinity) ProtoReflect() protoreflect.Message
func (*Scheduling_NodeAffinity) Reset
func (x *Scheduling_NodeAffinity) Reset()
func (*Scheduling_NodeAffinity) String
func (x *Scheduling_NodeAffinity) String() string
Scheduling_NodeAffinity_Operator
type Scheduling_NodeAffinity_Operator int32
Defines the type of node selections.
Scheduling_NodeAffinity_OPERATOR_UNSPECIFIED, Scheduling_NodeAffinity_IN, Scheduling_NodeAffinity_NOT_IN
const (
// Default value. This value is unused.
Scheduling_NodeAffinity_OPERATOR_UNSPECIFIED Scheduling_NodeAffinity_Operator = 0
// Requires Compute Engine to seek for matched nodes.
Scheduling_NodeAffinity_IN Scheduling_NodeAffinity_Operator = 1
// Requires Compute Engine to avoid certain nodes.
Scheduling_NodeAffinity_NOT_IN Scheduling_NodeAffinity_Operator = 2
)
func (Scheduling_NodeAffinity_Operator) Descriptor
func (Scheduling_NodeAffinity_Operator) Descriptor() protoreflect.EnumDescriptor
func (Scheduling_NodeAffinity_Operator) Enum
func (x Scheduling_NodeAffinity_Operator) Enum() *Scheduling_NodeAffinity_Operator
func (Scheduling_NodeAffinity_Operator) EnumDescriptor
func (Scheduling_NodeAffinity_Operator) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scheduling_NodeAffinity_Operator.Descriptor instead.
func (Scheduling_NodeAffinity_Operator) Number
func (x Scheduling_NodeAffinity_Operator) Number() protoreflect.EnumNumber
func (Scheduling_NodeAffinity_Operator) String
func (x Scheduling_NodeAffinity_Operator) String() string
func (Scheduling_NodeAffinity_Operator) Type
func (Scheduling_NodeAffinity_Operator) Type() protoreflect.EnumType
Scheduling_OnHostMaintenance
type Scheduling_OnHostMaintenance int32
Defines the maintenance behavior for this instance=
Scheduling_ON_HOST_MAINTENANCE_UNSPECIFIED, Scheduling_TERMINATE, Scheduling_MIGRATE
const (
// Default value. This value is unused.
Scheduling_ON_HOST_MAINTENANCE_UNSPECIFIED Scheduling_OnHostMaintenance = 0
// Tells Compute Engine to terminate and (optionally) restart the instance
// away from the maintenance activity.
Scheduling_TERMINATE Scheduling_OnHostMaintenance = 1
// Default, Allows Compute Engine to automatically migrate instances
// out of the way of maintenance events.
Scheduling_MIGRATE Scheduling_OnHostMaintenance = 1000
)
func (Scheduling_OnHostMaintenance) Descriptor
func (Scheduling_OnHostMaintenance) Descriptor() protoreflect.EnumDescriptor
func (Scheduling_OnHostMaintenance) Enum
func (x Scheduling_OnHostMaintenance) Enum() *Scheduling_OnHostMaintenance
func (Scheduling_OnHostMaintenance) EnumDescriptor
func (Scheduling_OnHostMaintenance) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scheduling_OnHostMaintenance.Descriptor instead.
func (Scheduling_OnHostMaintenance) Number
func (x Scheduling_OnHostMaintenance) Number() protoreflect.EnumNumber
func (Scheduling_OnHostMaintenance) String
func (x Scheduling_OnHostMaintenance) String() string
func (Scheduling_OnHostMaintenance) Type
func (Scheduling_OnHostMaintenance) Type() protoreflect.EnumType
Scheduling_ProvisioningModel
type Scheduling_ProvisioningModel int32
Defines the provisioning model for an instance.
Scheduling_PROVISIONING_MODEL_UNSPECIFIED, Scheduling_STANDARD, Scheduling_SPOT
const (
// Default value. This value is not used.
Scheduling_PROVISIONING_MODEL_UNSPECIFIED Scheduling_ProvisioningModel = 0
// Standard provisioning with user controlled runtime, no discounts.
Scheduling_STANDARD Scheduling_ProvisioningModel = 1
// Heavily discounted, no guaranteed runtime.
Scheduling_SPOT Scheduling_ProvisioningModel = 2
)
func (Scheduling_ProvisioningModel) Descriptor
func (Scheduling_ProvisioningModel) Descriptor() protoreflect.EnumDescriptor
func (Scheduling_ProvisioningModel) Enum
func (x Scheduling_ProvisioningModel) Enum() *Scheduling_ProvisioningModel
func (Scheduling_ProvisioningModel) EnumDescriptor
func (Scheduling_ProvisioningModel) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scheduling_ProvisioningModel.Descriptor instead.
func (Scheduling_ProvisioningModel) Number
func (x Scheduling_ProvisioningModel) Number() protoreflect.EnumNumber
func (Scheduling_ProvisioningModel) String
func (x Scheduling_ProvisioningModel) String() string
func (Scheduling_ProvisioningModel) Type
func (Scheduling_ProvisioningModel) Type() protoreflect.EnumType
ServiceAccount
type ServiceAccount struct {
// Optional. Email address of the service account.
Email *string `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
// Optional. The list of scopes to be made available for this service account.
Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}
A service account.
func (*ServiceAccount) Descriptor
func (*ServiceAccount) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.
func (*ServiceAccount) GetEmail
func (x *ServiceAccount) GetEmail() string
func (*ServiceAccount) GetScopes
func (x *ServiceAccount) GetScopes() []string
func (*ServiceAccount) ProtoMessage
func (*ServiceAccount) ProtoMessage()
func (*ServiceAccount) ProtoReflect
func (x *ServiceAccount) ProtoReflect() protoreflect.Message
func (*ServiceAccount) Reset
func (x *ServiceAccount) Reset()
func (*ServiceAccount) String
func (x *ServiceAccount) String() string
ServiceLockInfo
type ServiceLockInfo struct {
// Output only. The name of the operation that created this lock.
// The lock will automatically be released when the operation completes.
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
// contains filtered or unexported fields
}
ServiceLockInfo represents the details of a lock taken by the service on a Backup resource.
func (*ServiceLockInfo) Descriptor
func (*ServiceLockInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServiceLockInfo.ProtoReflect.Descriptor instead.
func (*ServiceLockInfo) GetOperation
func (x *ServiceLockInfo) GetOperation() string
func (*ServiceLockInfo) ProtoMessage
func (*ServiceLockInfo) ProtoMessage()
func (*ServiceLockInfo) ProtoReflect
func (x *ServiceLockInfo) ProtoReflect() protoreflect.Message
func (*ServiceLockInfo) Reset
func (x *ServiceLockInfo) Reset()
func (*ServiceLockInfo) String
func (x *ServiceLockInfo) String() string
StandardSchedule
type StandardSchedule struct {
// Required. Specifies the `RecurrenceType` for the schedule.
RecurrenceType StandardSchedule_RecurrenceType `protobuf:"varint,1,opt,name=recurrence_type,json=recurrenceType,proto3,enum=google.cloud.backupdr.v1.StandardSchedule_RecurrenceType" json:"recurrence_type,omitempty"`
// Optional. Specifies frequency for hourly backups. A hourly frequency of 2
// means jobs will run every 2 hours from start time till end time defined.
//
// This is required for `recurrence_type`, `HOURLY` and is not applicable
// otherwise. A validation error will occur if a value is supplied and
// `recurrence_type` is not `HOURLY`.
//
// Value of hourly frequency should be between 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 `protobuf:"varint,3,rep,packed,name=days_of_week,json=daysOfWeek,proto3,enum=google.type.DayOfWeek" json:"days_of_week,omitempty"`
// Optional. Specifies days of months like 1, 5, or 14 on which jobs will run.
//
// Values for `days_of_month` are only applicable for `recurrence_type`,
// `MONTHLY` and `YEARLY`. A validation error will occur if other values are
// supplied.
DaysOfMonth []int32 `protobuf:"varint,4,rep,packed,name=days_of_month,json=daysOfMonth,proto3" json:"days_of_month,omitempty"`
// Optional. Specifies a week day of the month like, FIRST SUNDAY or LAST
// MONDAY, on which jobs will run. This will be specified by two fields in
// `WeekDayOfMonth`, one for the day, e.g. `MONDAY`, and one for the week,
// e.g. `LAST`.
//
// This field is only applicable for `recurrence_type`, `MONTHLY` and
// `YEARLY`. A validation error will occur if other values are supplied.
WeekDayOfMonth *WeekDayOfMonth `protobuf:"bytes,5,opt,name=week_day_of_month,json=weekDayOfMonth,proto3" json:"week_day_of_month,omitempty"`
// Optional. Specifies the months of year, like `FEBRUARY` and/or `MAY`, on
// which jobs will run.
//
// This field is only applicable when `recurrence_type` is `YEARLY`. A
// validation error will occur if other values are supplied.
Months []month.Month `protobuf:"varint,6,rep,packed,name=months,proto3,enum=google.type.Month" json:"months,omitempty"`
// Required. A BackupWindow defines the window of day during which backup jobs
// will run. Jobs are queued at the beginning of the window and will be marked
// as `NOT_RUN` if they do not start by the end of the window.
//
// Note: running jobs will not be cancelled at the end of the window.
BackupWindow *BackupWindow `protobuf:"bytes,7,opt,name=backup_window,json=backupWindow,proto3" json:"backup_window,omitempty"`
// Required. The time zone to be used when interpreting the schedule.
// The value of this field must be a time zone name from the IANA tz database.
// See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the
// list of valid timezone names. For e.g., Europe/Paris.
TimeZone string `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// contains filtered or unexported fields
}
StandardSchedule
defines a schedule that run within the confines of a
defined window of days. We can define recurrence type for schedule as
HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY.
func (*StandardSchedule) Descriptor
func (*StandardSchedule) Descriptor() ([]byte, []int)
Deprecated: Use StandardSchedule.ProtoReflect.Descriptor instead.
func (*StandardSchedule) GetBackupWindow
func (x *StandardSchedule) GetBackupWindow() *BackupWindow
func (*StandardSchedule) GetDaysOfMonth
func (x *StandardSchedule) GetDaysOfMonth() []int32
func (*StandardSchedule) GetDaysOfWeek
func (x *StandardSchedule) GetDaysOfWeek() []dayofweek.DayOfWeek
func (*StandardSchedule) GetHourlyFrequency
func (x *StandardSchedule) GetHourlyFrequency() int32
func (*StandardSchedule) GetMonths
func (x *StandardSchedule) GetMonths() []month.Month
func (*StandardSchedule) GetRecurrenceType
func (x *StandardSchedule) GetRecurrenceType() StandardSchedule_RecurrenceType
func (*StandardSchedule) GetTimeZone
func (x *StandardSchedule) GetTimeZone() string
func (*StandardSchedule) GetWeekDayOfMonth
func (x *StandardSchedule) GetWeekDayOfMonth() *WeekDayOfMonth
func (*StandardSchedule) ProtoMessage
func (*StandardSchedule) ProtoMessage()
func (*StandardSchedule) ProtoReflect
func (x *StandardSchedule) ProtoReflect() protoreflect.Message
func (*StandardSchedule) Reset
func (x *StandardSchedule) Reset()
func (*StandardSchedule) String
func (x *StandardSchedule) String() string
StandardSchedule_RecurrenceType
type StandardSchedule_RecurrenceType int32
RecurrenceTypes
enumerates the applicable periodicity for the schedule.
StandardSchedule_RECURRENCE_TYPE_UNSPECIFIED, StandardSchedule_HOURLY, StandardSchedule_DAILY, StandardSchedule_WEEKLY, StandardSchedule_MONTHLY, StandardSchedule_YEARLY
const (
// recurrence type not set
StandardSchedule_RECURRENCE_TYPE_UNSPECIFIED StandardSchedule_RecurrenceType = 0
// The `BackupRule` is to be applied hourly.
StandardSchedule_HOURLY StandardSchedule_RecurrenceType = 1
// The `BackupRule` is to be applied daily.
StandardSchedule_DAILY StandardSchedule_RecurrenceType = 2
// The `BackupRule` is to be applied weekly.
StandardSchedule_WEEKLY StandardSchedule_RecurrenceType = 3
// The `BackupRule` is to be applied monthly.
StandardSchedule_MONTHLY StandardSchedule_RecurrenceType = 4
// The `BackupRule` is to be applied yearly.
StandardSchedule_YEARLY StandardSchedule_RecurrenceType = 5
)
func (StandardSchedule_RecurrenceType) Descriptor
func (StandardSchedule_RecurrenceType) Descriptor() protoreflect.EnumDescriptor
func (StandardSchedule_RecurrenceType) Enum
func (x StandardSchedule_RecurrenceType) Enum() *StandardSchedule_RecurrenceType
func (StandardSchedule_RecurrenceType) EnumDescriptor
func (StandardSchedule_RecurrenceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StandardSchedule_RecurrenceType.Descriptor instead.
func (StandardSchedule_RecurrenceType) Number
func (x StandardSchedule_RecurrenceType) Number() protoreflect.EnumNumber
func (StandardSchedule_RecurrenceType) String
func (x StandardSchedule_RecurrenceType) String() string
func (StandardSchedule_RecurrenceType) Type
func (StandardSchedule_RecurrenceType) Type() protoreflect.EnumType
Tags
type Tags struct {
// Optional. An array of tags. Each tag must be 1-63 characters long, and
// comply with RFC1035.
Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
A set of instance tags.
func (*Tags) Descriptor
Deprecated: Use Tags.ProtoReflect.Descriptor instead.
func (*Tags) GetItems
func (*Tags) ProtoMessage
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect
func (x *Tags) ProtoReflect() protoreflect.Message
func (*Tags) Reset
func (x *Tags) Reset()
func (*Tags) String
TargetResource
type TargetResource struct {
// Minimum details to identify the restored resource.
//
// Types that are assignable to TargetResourceInfo:
//
// *TargetResource_GcpResource
TargetResourceInfo isTargetResource_TargetResourceInfo `protobuf_oneof:"target_resource_info"`
// contains filtered or unexported fields
}
Details of the target resource created/modified as part of restore.
func (*TargetResource) Descriptor
func (*TargetResource) Descriptor() ([]byte, []int)
Deprecated: Use TargetResource.ProtoReflect.Descriptor instead.
func (*TargetResource) GetGcpResource
func (x *TargetResource) GetGcpResource() *GcpResource
func (*TargetResource) GetTargetResourceInfo
func (m *TargetResource) GetTargetResourceInfo() isTargetResource_TargetResourceInfo
func (*TargetResource) ProtoMessage
func (*TargetResource) ProtoMessage()
func (*TargetResource) ProtoReflect
func (x *TargetResource) ProtoReflect() protoreflect.Message
func (*TargetResource) Reset
func (x *TargetResource) Reset()
func (*TargetResource) String
func (x *TargetResource) String() string
TargetResource_GcpResource
type TargetResource_GcpResource struct {
// Details of the native Google Cloud resource created as part of restore.
GcpResource *GcpResource `protobuf:"bytes,1,opt,name=gcp_resource,json=gcpResource,proto3,oneof"`
}
TriggerBackupRequest
type TriggerBackupRequest struct {
// Required. Name of the backup plan association resource, in the format
// `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. backup rule_id for which a backup needs to be triggered.
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for triggering a backup.
func (*TriggerBackupRequest) Descriptor
func (*TriggerBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerBackupRequest.ProtoReflect.Descriptor instead.
func (*TriggerBackupRequest) GetName
func (x *TriggerBackupRequest) GetName() string
func (*TriggerBackupRequest) GetRequestId
func (x *TriggerBackupRequest) GetRequestId() string
func (*TriggerBackupRequest) GetRuleId
func (x *TriggerBackupRequest) GetRuleId() string
func (*TriggerBackupRequest) ProtoMessage
func (*TriggerBackupRequest) ProtoMessage()
func (*TriggerBackupRequest) ProtoReflect
func (x *TriggerBackupRequest) ProtoReflect() protoreflect.Message
func (*TriggerBackupRequest) Reset
func (x *TriggerBackupRequest) Reset()
func (*TriggerBackupRequest) String
func (x *TriggerBackupRequest) String() string
UnimplementedBackupDRServer
type UnimplementedBackupDRServer struct {
}
UnimplementedBackupDRServer can be embedded to have forward compatible implementations.
func (*UnimplementedBackupDRServer) CreateBackupPlan
func (*UnimplementedBackupDRServer) CreateBackupPlan(context.Context, *CreateBackupPlanRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) CreateBackupPlanAssociation
func (*UnimplementedBackupDRServer) CreateBackupPlanAssociation(context.Context, *CreateBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) CreateBackupVault
func (*UnimplementedBackupDRServer) CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) CreateManagementServer
func (*UnimplementedBackupDRServer) CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteBackup
func (*UnimplementedBackupDRServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteBackupPlan
func (*UnimplementedBackupDRServer) DeleteBackupPlan(context.Context, *DeleteBackupPlanRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteBackupPlanAssociation
func (*UnimplementedBackupDRServer) DeleteBackupPlanAssociation(context.Context, *DeleteBackupPlanAssociationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteBackupVault
func (*UnimplementedBackupDRServer) DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteManagementServer
func (*UnimplementedBackupDRServer) DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) FetchUsableBackupVaults
func (*UnimplementedBackupDRServer) FetchUsableBackupVaults(context.Context, *FetchUsableBackupVaultsRequest) (*FetchUsableBackupVaultsResponse, error)
func (*UnimplementedBackupDRServer) GetBackup
func (*UnimplementedBackupDRServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (*UnimplementedBackupDRServer) GetBackupPlan
func (*UnimplementedBackupDRServer) GetBackupPlan(context.Context, *GetBackupPlanRequest) (*BackupPlan, error)
func (*UnimplementedBackupDRServer) GetBackupPlanAssociation
func (*UnimplementedBackupDRServer) GetBackupPlanAssociation(context.Context, *GetBackupPlanAssociationRequest) (*BackupPlanAssociation, error)
func (*UnimplementedBackupDRServer) GetBackupVault
func (*UnimplementedBackupDRServer) GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)
func (*UnimplementedBackupDRServer) GetDataSource
func (*UnimplementedBackupDRServer) GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
func (*UnimplementedBackupDRServer) GetManagementServer
func (*UnimplementedBackupDRServer) GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)
func (*UnimplementedBackupDRServer) InitializeService
func (*UnimplementedBackupDRServer) InitializeService(context.Context, *InitializeServiceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) ListBackupPlanAssociations
func (*UnimplementedBackupDRServer) ListBackupPlanAssociations(context.Context, *ListBackupPlanAssociationsRequest) (*ListBackupPlanAssociationsResponse, error)
func (*UnimplementedBackupDRServer) ListBackupPlans
func (*UnimplementedBackupDRServer) ListBackupPlans(context.Context, *ListBackupPlansRequest) (*ListBackupPlansResponse, error)
func (*UnimplementedBackupDRServer) ListBackupVaults
func (*UnimplementedBackupDRServer) ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)
func (*UnimplementedBackupDRServer) ListBackups
func (*UnimplementedBackupDRServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (*UnimplementedBackupDRServer) ListDataSources
func (*UnimplementedBackupDRServer) ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
func (*UnimplementedBackupDRServer) ListManagementServers
func (*UnimplementedBackupDRServer) ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)
func (*UnimplementedBackupDRServer) RestoreBackup
func (*UnimplementedBackupDRServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) TriggerBackup
func (*UnimplementedBackupDRServer) TriggerBackup(context.Context, *TriggerBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) UpdateBackup
func (*UnimplementedBackupDRServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) UpdateBackupVault
func (*UnimplementedBackupDRServer) UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) UpdateDataSource
func (*UnimplementedBackupDRServer) UpdateDataSource(context.Context, *UpdateDataSourceRequest) (*longrunningpb.Operation, error)
UpdateBackupRequest
type UpdateBackupRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Backup resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for updating a Backup.
func (*UpdateBackupRequest) Descriptor
func (*UpdateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupRequest) GetBackup
func (x *UpdateBackupRequest) GetBackup() *Backup
func (*UpdateBackupRequest) GetRequestId
func (x *UpdateBackupRequest) GetRequestId() string
func (*UpdateBackupRequest) GetUpdateMask
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupRequest) ProtoMessage
func (*UpdateBackupRequest) ProtoMessage()
func (*UpdateBackupRequest) ProtoReflect
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupRequest) Reset
func (x *UpdateBackupRequest) Reset()
func (*UpdateBackupRequest) String
func (x *UpdateBackupRequest) String() string
UpdateBackupVaultRequest
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
func (*UpdateBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupVaultRequest) GetBackupVault
func (x *UpdateBackupVaultRequest) GetBackupVault() *BackupVault
func (*UpdateBackupVaultRequest) GetForce
func (x *UpdateBackupVaultRequest) GetForce() bool
func (*UpdateBackupVaultRequest) GetRequestId
func (x *UpdateBackupVaultRequest) GetRequestId() string
func (*UpdateBackupVaultRequest) GetUpdateMask
func (x *UpdateBackupVaultRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupVaultRequest) GetValidateOnly
func (x *UpdateBackupVaultRequest) GetValidateOnly() bool
func (*UpdateBackupVaultRequest) ProtoMessage
func (*UpdateBackupVaultRequest) ProtoMessage()
func (*UpdateBackupVaultRequest) ProtoReflect
func (x *UpdateBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupVaultRequest) Reset
func (x *UpdateBackupVaultRequest) Reset()
func (*UpdateBackupVaultRequest) String
func (x *UpdateBackupVaultRequest) String() string
UpdateDataSourceRequest
type UpdateDataSourceRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// DataSource resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then the request will fail.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
DataSource *DataSource `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Enable upsert.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Request message for updating a data source instance.
func (*UpdateDataSourceRequest) Descriptor
func (*UpdateDataSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDataSourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataSourceRequest) GetAllowMissing
func (x *UpdateDataSourceRequest) GetAllowMissing() bool
func (*UpdateDataSourceRequest) GetDataSource
func (x *UpdateDataSourceRequest) GetDataSource() *DataSource
func (*UpdateDataSourceRequest) GetRequestId
func (x *UpdateDataSourceRequest) GetRequestId() string
func (*UpdateDataSourceRequest) GetUpdateMask
func (x *UpdateDataSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDataSourceRequest) ProtoMessage
func (*UpdateDataSourceRequest) ProtoMessage()
func (*UpdateDataSourceRequest) ProtoReflect
func (x *UpdateDataSourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateDataSourceRequest) Reset
func (x *UpdateDataSourceRequest) Reset()
func (*UpdateDataSourceRequest) String
func (x *UpdateDataSourceRequest) String() string
WeekDayOfMonth
type WeekDayOfMonth struct {
// Required. Specifies the week of the month.
WeekOfMonth WeekDayOfMonth_WeekOfMonth `protobuf:"varint,1,opt,name=week_of_month,json=weekOfMonth,proto3,enum=google.cloud.backupdr.v1.WeekDayOfMonth_WeekOfMonth" json:"week_of_month,omitempty"`
// Required. Specifies the day of the week.
DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
// contains filtered or unexported fields
}
WeekDayOfMonth
defines the week day of the month on which the backups will
run. The message combines a WeekOfMonth
and DayOfWeek
to produce values
like FIRST
/MONDAY
or LAST
/FRIDAY
.
func (*WeekDayOfMonth) Descriptor
func (*WeekDayOfMonth) Descriptor() ([]byte, []int)
Deprecated: Use WeekDayOfMonth.ProtoReflect.Descriptor instead.
func (*WeekDayOfMonth) GetDayOfWeek
func (x *WeekDayOfMonth) GetDayOfWeek() dayofweek.DayOfWeek
func (*WeekDayOfMonth) GetWeekOfMonth
func (x *WeekDayOfMonth) GetWeekOfMonth() WeekDayOfMonth_WeekOfMonth
func (*WeekDayOfMonth) ProtoMessage
func (*WeekDayOfMonth) ProtoMessage()
func (*WeekDayOfMonth) ProtoReflect
func (x *WeekDayOfMonth) ProtoReflect() protoreflect.Message
func (*WeekDayOfMonth) Reset
func (x *WeekDayOfMonth) Reset()
func (*WeekDayOfMonth) String
func (x *WeekDayOfMonth) String() string
WeekDayOfMonth_WeekOfMonth
type WeekDayOfMonth_WeekOfMonth int32
WeekOfMonth
enumerates possible weeks in the month, e.g. the first,
third, or last week of the month.
WeekDayOfMonth_WEEK_OF_MONTH_UNSPECIFIED, WeekDayOfMonth_FIRST, WeekDayOfMonth_SECOND, WeekDayOfMonth_THIRD, WeekDayOfMonth_FOURTH, WeekDayOfMonth_LAST
const (
// The zero value. Do not use.
WeekDayOfMonth_WEEK_OF_MONTH_UNSPECIFIED WeekDayOfMonth_WeekOfMonth = 0
// The first week of the month.
WeekDayOfMonth_FIRST WeekDayOfMonth_WeekOfMonth = 1
// The second week of the month.
WeekDayOfMonth_SECOND WeekDayOfMonth_WeekOfMonth = 2
// The third week of the month.
WeekDayOfMonth_THIRD WeekDayOfMonth_WeekOfMonth = 3
// The fourth week of the month.
WeekDayOfMonth_FOURTH WeekDayOfMonth_WeekOfMonth = 4
// The last week of the month.
WeekDayOfMonth_LAST WeekDayOfMonth_WeekOfMonth = 5
)
func (WeekDayOfMonth_WeekOfMonth) Descriptor
func (WeekDayOfMonth_WeekOfMonth) Descriptor() protoreflect.EnumDescriptor
func (WeekDayOfMonth_WeekOfMonth) Enum
func (x WeekDayOfMonth_WeekOfMonth) Enum() *WeekDayOfMonth_WeekOfMonth
func (WeekDayOfMonth_WeekOfMonth) EnumDescriptor
func (WeekDayOfMonth_WeekOfMonth) EnumDescriptor() ([]byte, []int)
Deprecated: Use WeekDayOfMonth_WeekOfMonth.Descriptor instead.
func (WeekDayOfMonth_WeekOfMonth) Number
func (x WeekDayOfMonth_WeekOfMonth) Number() protoreflect.EnumNumber
func (WeekDayOfMonth_WeekOfMonth) String
func (x WeekDayOfMonth_WeekOfMonth) String() string
func (WeekDayOfMonth_WeekOfMonth) Type
func (WeekDayOfMonth_WeekOfMonth) Type() protoreflect.EnumType
WorkforceIdentityBasedManagementURI
type WorkforceIdentityBasedManagementURI struct {
// Output only. First party Management URI for Google Identities.
FirstPartyManagementUri string `protobuf:"bytes,1,opt,name=first_party_management_uri,json=firstPartyManagementUri,proto3" json:"first_party_management_uri,omitempty"`
// Output only. Third party Management URI for External Identity Providers.
ThirdPartyManagementUri string `protobuf:"bytes,2,opt,name=third_party_management_uri,json=thirdPartyManagementUri,proto3" json:"third_party_management_uri,omitempty"`
// contains filtered or unexported fields
}
ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
func (*WorkforceIdentityBasedManagementURI) Descriptor
func (*WorkforceIdentityBasedManagementURI) Descriptor() ([]byte, []int)
Deprecated: Use WorkforceIdentityBasedManagementURI.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri
func (x *WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri() string
func (*WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri
func (x *WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri() string
func (*WorkforceIdentityBasedManagementURI) ProtoMessage
func (*WorkforceIdentityBasedManagementURI) ProtoMessage()
func (*WorkforceIdentityBasedManagementURI) ProtoReflect
func (x *WorkforceIdentityBasedManagementURI) ProtoReflect() protoreflect.Message
func (*WorkforceIdentityBasedManagementURI) Reset
func (x *WorkforceIdentityBasedManagementURI) Reset()
func (*WorkforceIdentityBasedManagementURI) String
func (x *WorkforceIdentityBasedManagementURI) String() string
WorkforceIdentityBasedOAuth2ClientID
type WorkforceIdentityBasedOAuth2ClientID struct {
// Output only. First party OAuth Client ID for Google Identities.
FirstPartyOauth2ClientId string `protobuf:"bytes,1,opt,name=first_party_oauth2_client_id,json=firstPartyOauth2ClientId,proto3" json:"first_party_oauth2_client_id,omitempty"`
// Output only. Third party OAuth Client ID for External Identity Providers.
ThirdPartyOauth2ClientId string `protobuf:"bytes,2,opt,name=third_party_oauth2_client_id,json=thirdPartyOauth2ClientId,proto3" json:"third_party_oauth2_client_id,omitempty"`
// contains filtered or unexported fields
}
OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor() ([]byte, []int)
Deprecated: Use WorkforceIdentityBasedOAuth2ClientID.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId
func (x *WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId() string
func (*WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId
func (x *WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId() string
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage()
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoReflect
func (x *WorkforceIdentityBasedOAuth2ClientID) ProtoReflect() protoreflect.Message
func (*WorkforceIdentityBasedOAuth2ClientID) Reset
func (x *WorkforceIdentityBasedOAuth2ClientID) Reset()
func (*WorkforceIdentityBasedOAuth2ClientID) String
func (x *WorkforceIdentityBasedOAuth2ClientID) String() string