Package cloud.google.com/go/gkebackup/apiv1/gkebackuppb (v1.6.1)

Variables

Backup_State_name, Backup_State_value

var (
	Backup_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "IN_PROGRESS",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "DELETING",
	}
	Backup_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"IN_PROGRESS":       2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"DELETING":          5,
	}
)

Enum value maps for Backup_State.

BackupPlan_State_name, BackupPlan_State_value

var (
	BackupPlan_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CLUSTER_PENDING",
		2: "PROVISIONING",
		3: "READY",
		4: "FAILED",
		5: "DEACTIVATED",
		6: "DELETING",
	}
	BackupPlan_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CLUSTER_PENDING":   1,
		"PROVISIONING":      2,
		"READY":             3,
		"FAILED":            4,
		"DEACTIVATED":       5,
		"DELETING":          6,
	}
)

Enum value maps for BackupPlan_State.

VolumeTypeEnum_VolumeType_name, VolumeTypeEnum_VolumeType_value

var (
	VolumeTypeEnum_VolumeType_name = map[int32]string{
		0: "VOLUME_TYPE_UNSPECIFIED",
		1: "GCE_PERSISTENT_DISK",
	}
	VolumeTypeEnum_VolumeType_value = map[string]int32{
		"VOLUME_TYPE_UNSPECIFIED": 0,
		"GCE_PERSISTENT_DISK":     1,
	}
)

Enum value maps for VolumeTypeEnum_VolumeType.

Restore_State_name, Restore_State_value

var (
	Restore_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "IN_PROGRESS",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "DELETING",
	}
	Restore_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"IN_PROGRESS":       2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"DELETING":          5,
	}
)

Enum value maps for Restore_State.

RestoreConfig_VolumeDataRestorePolicy_name, RestoreConfig_VolumeDataRestorePolicy_value

var (
	RestoreConfig_VolumeDataRestorePolicy_name = map[int32]string{
		0: "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED",
		1: "RESTORE_VOLUME_DATA_FROM_BACKUP",
		2: "REUSE_VOLUME_HANDLE_FROM_BACKUP",
		3: "NO_VOLUME_DATA_RESTORATION",
	}
	RestoreConfig_VolumeDataRestorePolicy_value = map[string]int32{
		"VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED": 0,
		"RESTORE_VOLUME_DATA_FROM_BACKUP":        1,
		"REUSE_VOLUME_HANDLE_FROM_BACKUP":        2,
		"NO_VOLUME_DATA_RESTORATION":             3,
	}
)

Enum value maps for RestoreConfig_VolumeDataRestorePolicy.

RestoreConfig_ClusterResourceConflictPolicy_name, RestoreConfig_ClusterResourceConflictPolicy_value

var (
	RestoreConfig_ClusterResourceConflictPolicy_name = map[int32]string{
		0: "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED",
		1: "USE_EXISTING_VERSION",
		2: "USE_BACKUP_VERSION",
	}
	RestoreConfig_ClusterResourceConflictPolicy_value = map[string]int32{
		"CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED": 0,
		"USE_EXISTING_VERSION":                         1,
		"USE_BACKUP_VERSION":                           2,
	}
)

Enum value maps for RestoreConfig_ClusterResourceConflictPolicy.

RestoreConfig_NamespacedResourceRestoreMode_name, RestoreConfig_NamespacedResourceRestoreMode_value

var (
	RestoreConfig_NamespacedResourceRestoreMode_name = map[int32]string{
		0: "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED",
		1: "DELETE_AND_RESTORE",
		2: "FAIL_ON_CONFLICT",
		3: "MERGE_SKIP_ON_CONFLICT",
		4: "MERGE_REPLACE_VOLUME_ON_CONFLICT",
		5: "MERGE_REPLACE_ON_CONFLICT",
	}
	RestoreConfig_NamespacedResourceRestoreMode_value = map[string]int32{
		"NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED": 0,
		"DELETE_AND_RESTORE":                           1,
		"FAIL_ON_CONFLICT":                             2,
		"MERGE_SKIP_ON_CONFLICT":                       3,
		"MERGE_REPLACE_VOLUME_ON_CONFLICT":             4,
		"MERGE_REPLACE_ON_CONFLICT":                    5,
	}
)

Enum value maps for RestoreConfig_NamespacedResourceRestoreMode.

RestoreConfig_TransformationRuleAction_Op_name, RestoreConfig_TransformationRuleAction_Op_value

var (
	RestoreConfig_TransformationRuleAction_Op_name = map[int32]string{
		0: "OP_UNSPECIFIED",
		1: "REMOVE",
		2: "MOVE",
		3: "COPY",
		4: "ADD",
		5: "TEST",
		6: "REPLACE",
	}
	RestoreConfig_TransformationRuleAction_Op_value = map[string]int32{
		"OP_UNSPECIFIED": 0,
		"REMOVE":         1,
		"MOVE":           2,
		"COPY":           3,
		"ADD":            4,
		"TEST":           5,
		"REPLACE":        6,
	}
)

Enum value maps for RestoreConfig_TransformationRuleAction_Op.

RestorePlan_State_name, RestorePlan_State_value

var (
	RestorePlan_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CLUSTER_PENDING",
		2: "READY",
		3: "FAILED",
		4: "DELETING",
	}
	RestorePlan_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CLUSTER_PENDING":   1,
		"READY":             2,
		"FAILED":            3,
		"DELETING":          4,
	}
)

Enum value maps for RestorePlan_State.

VolumeBackup_VolumeBackupFormat_name, VolumeBackup_VolumeBackupFormat_value

var (
	VolumeBackup_VolumeBackupFormat_name = map[int32]string{
		0: "VOLUME_BACKUP_FORMAT_UNSPECIFIED",
		1: "GCE_PERSISTENT_DISK",
	}
	VolumeBackup_VolumeBackupFormat_value = map[string]int32{
		"VOLUME_BACKUP_FORMAT_UNSPECIFIED": 0,
		"GCE_PERSISTENT_DISK":              1,
	}
)

Enum value maps for VolumeBackup_VolumeBackupFormat.

VolumeBackup_State_name, VolumeBackup_State_value

var (
	VolumeBackup_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "SNAPSHOTTING",
		3: "UPLOADING",
		4: "SUCCEEDED",
		5: "FAILED",
		6: "DELETING",
	}
	VolumeBackup_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"SNAPSHOTTING":      2,
		"UPLOADING":         3,
		"SUCCEEDED":         4,
		"FAILED":            5,
		"DELETING":          6,
	}
)

Enum value maps for VolumeBackup_State.

VolumeRestore_VolumeType_name, VolumeRestore_VolumeType_value

var (
	VolumeRestore_VolumeType_name = map[int32]string{
		0: "VOLUME_TYPE_UNSPECIFIED",
		1: "GCE_PERSISTENT_DISK",
	}
	VolumeRestore_VolumeType_value = map[string]int32{
		"VOLUME_TYPE_UNSPECIFIED": 0,
		"GCE_PERSISTENT_DISK":     1,
	}
)

Enum value maps for VolumeRestore_VolumeType.

VolumeRestore_State_name, VolumeRestore_State_value

var (
	VolumeRestore_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "RESTORING",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "DELETING",
	}
	VolumeRestore_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"RESTORING":         2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"DELETING":          5,
	}
)

Enum value maps for VolumeRestore_State.

File_google_cloud_gkebackup_v1_backup_plan_proto

var File_google_cloud_gkebackup_v1_backup_plan_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_backup_proto

var File_google_cloud_gkebackup_v1_backup_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_common_proto

var File_google_cloud_gkebackup_v1_common_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_gkebackup_proto

var File_google_cloud_gkebackup_v1_gkebackup_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_restore_plan_proto

var File_google_cloud_gkebackup_v1_restore_plan_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_restore_proto

var File_google_cloud_gkebackup_v1_restore_proto protoreflect.FileDescriptor

File_google_cloud_gkebackup_v1_volume_proto

var File_google_cloud_gkebackup_v1_volume_proto protoreflect.FileDescriptor

Functions

func RegisterBackupForGKEServer

func RegisterBackupForGKEServer(s *grpc.Server, srv BackupForGKEServer)

Backup

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

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

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

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

	Manual bool `protobuf:"varint,5,opt,name=manual,proto3" json:"manual,omitempty"`

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

	DeleteLockDays int32 `protobuf:"varint,7,opt,name=delete_lock_days,json=deleteLockDays,proto3" json:"delete_lock_days,omitempty"`

	DeleteLockExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_lock_expire_time,json=deleteLockExpireTime,proto3" json:"delete_lock_expire_time,omitempty"`

	RetainDays int32 `protobuf:"varint,9,opt,name=retain_days,json=retainDays,proto3" json:"retain_days,omitempty"`

	RetainExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=retain_expire_time,json=retainExpireTime,proto3" json:"retain_expire_time,omitempty"`

	EncryptionKey *EncryptionKey `protobuf:"bytes,11,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`

	BackupScope isBackup_BackupScope `protobuf_oneof:"backup_scope"`

	ContainsVolumeData bool `protobuf:"varint,15,opt,name=contains_volume_data,json=containsVolumeData,proto3" json:"contains_volume_data,omitempty"`

	ContainsSecrets bool `protobuf:"varint,16,opt,name=contains_secrets,json=containsSecrets,proto3" json:"contains_secrets,omitempty"`

	ClusterMetadata *Backup_ClusterMetadata `protobuf:"bytes,17,opt,name=cluster_metadata,json=clusterMetadata,proto3" json:"cluster_metadata,omitempty"`

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

	StateReason string `protobuf:"bytes,19,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`

	CompleteTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`

	ResourceCount int32 `protobuf:"varint,21,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`

	VolumeCount int32 `protobuf:"varint,22,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`

	SizeBytes int64 `protobuf:"varint,23,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`

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

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

	PodCount int32 `protobuf:"varint,26,opt,name=pod_count,json=podCount,proto3" json:"pod_count,omitempty"`

	ConfigBackupSizeBytes int64 "" /* 130 byte string literal not displayed */

	PermissiveMode bool `protobuf:"varint,28,opt,name=permissive_mode,json=permissiveMode,proto3" json:"permissive_mode,omitempty"`

}

Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups).

func (*Backup) Descriptor

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetAllNamespaces

func (x *Backup) GetAllNamespaces() bool

func (*Backup) GetBackupScope

func (m *Backup) GetBackupScope() isBackup_BackupScope

func (*Backup) GetClusterMetadata

func (x *Backup) GetClusterMetadata() *Backup_ClusterMetadata

func (*Backup) GetCompleteTime

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

func (*Backup) GetConfigBackupSizeBytes

func (x *Backup) GetConfigBackupSizeBytes() int64

func (*Backup) GetContainsSecrets

func (x *Backup) GetContainsSecrets() bool

func (*Backup) GetContainsVolumeData

func (x *Backup) GetContainsVolumeData() bool

func (*Backup) GetCreateTime

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

func (*Backup) GetDeleteLockDays

func (x *Backup) GetDeleteLockDays() int32

func (*Backup) GetDeleteLockExpireTime

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

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetEncryptionKey

func (x *Backup) GetEncryptionKey() *EncryptionKey

func (*Backup) GetEtag

func (x *Backup) GetEtag() string

func (*Backup) GetLabels

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

func (*Backup) GetManual

func (x *Backup) GetManual() bool

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) GetPermissiveMode

func (x *Backup) GetPermissiveMode() bool

func (*Backup) GetPodCount

func (x *Backup) GetPodCount() int32

func (*Backup) GetResourceCount

func (x *Backup) GetResourceCount() int32

func (*Backup) GetRetainDays

func (x *Backup) GetRetainDays() int32

func (*Backup) GetRetainExpireTime

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

func (*Backup) GetSelectedApplications

func (x *Backup) GetSelectedApplications() *NamespacedNames

func (*Backup) GetSelectedNamespaces

func (x *Backup) GetSelectedNamespaces() *Namespaces

func (*Backup) GetSizeBytes

func (x *Backup) GetSizeBytes() int64

func (*Backup) GetState

func (x *Backup) GetState() Backup_State

func (*Backup) GetStateReason

func (x *Backup) GetStateReason() string

func (*Backup) GetUid

func (x *Backup) GetUid() string

func (*Backup) GetUpdateTime

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

func (*Backup) GetVolumeCount

func (x *Backup) GetVolumeCount() int32

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

BackupForGKEClient

type BackupForGKEClient interface {
	// Creates a new BackupPlan in a given location.
	CreateBackupPlan(ctx context.Context, in *CreateBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists BackupPlans in a given location.
	ListBackupPlans(ctx context.Context, in *ListBackupPlansRequest, opts ...grpc.CallOption) (*ListBackupPlansResponse, error)
	// Retrieve the details of a single BackupPlan.
	GetBackupPlan(ctx context.Context, in *GetBackupPlanRequest, opts ...grpc.CallOption) (*BackupPlan, error)
	// Update a BackupPlan.
	UpdateBackupPlan(ctx context.Context, in *UpdateBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an existing BackupPlan.
	DeleteBackupPlan(ctx context.Context, in *DeleteBackupPlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a Backup for the given BackupPlan.
	CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the Backups for a given BackupPlan.
	ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Retrieve the details of a single Backup.
	GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Update a Backup.
	UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an existing Backup.
	DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the VolumeBackups for a given Backup.
	ListVolumeBackups(ctx context.Context, in *ListVolumeBackupsRequest, opts ...grpc.CallOption) (*ListVolumeBackupsResponse, error)
	// Retrieve the details of a single VolumeBackup.
	GetVolumeBackup(ctx context.Context, in *GetVolumeBackupRequest, opts ...grpc.CallOption) (*VolumeBackup, error)
	// Creates a new RestorePlan in a given location.
	CreateRestorePlan(ctx context.Context, in *CreateRestorePlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists RestorePlans in a given location.
	ListRestorePlans(ctx context.Context, in *ListRestorePlansRequest, opts ...grpc.CallOption) (*ListRestorePlansResponse, error)
	// Retrieve the details of a single RestorePlan.
	GetRestorePlan(ctx context.Context, in *GetRestorePlanRequest, opts ...grpc.CallOption) (*RestorePlan, error)
	// Update a RestorePlan.
	UpdateRestorePlan(ctx context.Context, in *UpdateRestorePlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an existing RestorePlan.
	DeleteRestorePlan(ctx context.Context, in *DeleteRestorePlanRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a new Restore for the given RestorePlan.
	CreateRestore(ctx context.Context, in *CreateRestoreRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the Restores for a given RestorePlan.
	ListRestores(ctx context.Context, in *ListRestoresRequest, opts ...grpc.CallOption) (*ListRestoresResponse, error)
	// Retrieves the details of a single Restore.
	GetRestore(ctx context.Context, in *GetRestoreRequest, opts ...grpc.CallOption) (*Restore, error)
	// Update a Restore.
	UpdateRestore(ctx context.Context, in *UpdateRestoreRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an existing Restore.
	DeleteRestore(ctx context.Context, in *DeleteRestoreRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists the VolumeRestores for a given Restore.
	ListVolumeRestores(ctx context.Context, in *ListVolumeRestoresRequest, opts ...grpc.CallOption) (*ListVolumeRestoresResponse, error)
	// Retrieve the details of a single VolumeRestore.
	GetVolumeRestore(ctx context.Context, in *GetVolumeRestoreRequest, opts ...grpc.CallOption) (*VolumeRestore, error)
	// Retrieve the link to the backupIndex.
	GetBackupIndexDownloadUrl(ctx context.Context, in *GetBackupIndexDownloadUrlRequest, opts ...grpc.CallOption) (*GetBackupIndexDownloadUrlResponse, error)
}

BackupForGKEClient is the client API for BackupForGKE service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupForGKEClient

func NewBackupForGKEClient(cc grpc.ClientConnInterface) BackupForGKEClient

BackupForGKEServer

type BackupForGKEServer interface {
	// Creates a new BackupPlan in a given location.
	CreateBackupPlan(context.Context, *CreateBackupPlanRequest) (*longrunningpb.Operation, error)
	// Lists BackupPlans in a given location.
	ListBackupPlans(context.Context, *ListBackupPlansRequest) (*ListBackupPlansResponse, error)
	// Retrieve the details of a single BackupPlan.
	GetBackupPlan(context.Context, *GetBackupPlanRequest) (*BackupPlan, error)
	// Update a BackupPlan.
	UpdateBackupPlan(context.Context, *UpdateBackupPlanRequest) (*longrunningpb.Operation, error)
	// Deletes an existing BackupPlan.
	DeleteBackupPlan(context.Context, *DeleteBackupPlanRequest) (*longrunningpb.Operation, error)
	// Creates a Backup for the given BackupPlan.
	CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
	// Lists the Backups for a given BackupPlan.
	ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Retrieve the details of a single Backup.
	GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
	// Update a Backup.
	UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
	// Deletes an existing Backup.
	DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
	// Lists the VolumeBackups for a given Backup.
	ListVolumeBackups(context.Context, *ListVolumeBackupsRequest) (*ListVolumeBackupsResponse, error)
	// Retrieve the details of a single VolumeBackup.
	GetVolumeBackup(context.Context, *GetVolumeBackupRequest) (*VolumeBackup, error)
	// Creates a new RestorePlan in a given location.
	CreateRestorePlan(context.Context, *CreateRestorePlanRequest) (*longrunningpb.Operation, error)
	// Lists RestorePlans in a given location.
	ListRestorePlans(context.Context, *ListRestorePlansRequest) (*ListRestorePlansResponse, error)
	// Retrieve the details of a single RestorePlan.
	GetRestorePlan(context.Context, *GetRestorePlanRequest) (*RestorePlan, error)
	// Update a RestorePlan.
	UpdateRestorePlan(context.Context, *UpdateRestorePlanRequest) (*longrunningpb.Operation, error)
	// Deletes an existing RestorePlan.
	DeleteRestorePlan(context.Context, *DeleteRestorePlanRequest) (*longrunningpb.Operation, error)
	// Creates a new Restore for the given RestorePlan.
	CreateRestore(context.Context, *CreateRestoreRequest) (*longrunningpb.Operation, error)
	// Lists the Restores for a given RestorePlan.
	ListRestores(context.Context, *ListRestoresRequest) (*ListRestoresResponse, error)
	// Retrieves the details of a single Restore.
	GetRestore(context.Context, *GetRestoreRequest) (*Restore, error)
	// Update a Restore.
	UpdateRestore(context.Context, *UpdateRestoreRequest) (*longrunningpb.Operation, error)
	// Deletes an existing Restore.
	DeleteRestore(context.Context, *DeleteRestoreRequest) (*longrunningpb.Operation, error)
	// Lists the VolumeRestores for a given Restore.
	ListVolumeRestores(context.Context, *ListVolumeRestoresRequest) (*ListVolumeRestoresResponse, error)
	// Retrieve the details of a single VolumeRestore.
	GetVolumeRestore(context.Context, *GetVolumeRestoreRequest) (*VolumeRestore, error)
	// Retrieve the link to the backupIndex.
	GetBackupIndexDownloadUrl(context.Context, *GetBackupIndexDownloadUrlRequest) (*GetBackupIndexDownloadUrlResponse, error)
}

BackupForGKEServer is the server API for BackupForGKE service.

BackupPlan

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

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

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

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

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

	Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"`

	RetentionPolicy *BackupPlan_RetentionPolicy `protobuf:"bytes,7,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"`

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

	BackupSchedule *BackupPlan_Schedule `protobuf:"bytes,9,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`

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

	Deactivated bool `protobuf:"varint,11,opt,name=deactivated,proto3" json:"deactivated,omitempty"`

	BackupConfig *BackupPlan_BackupConfig `protobuf:"bytes,12,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`

	ProtectedPodCount int32 `protobuf:"varint,13,opt,name=protected_pod_count,json=protectedPodCount,proto3" json:"protected_pod_count,omitempty"`

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

	StateReason string `protobuf:"bytes,15,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`

	RpoRiskLevel int32 `protobuf:"varint,16,opt,name=rpo_risk_level,json=rpoRiskLevel,proto3" json:"rpo_risk_level,omitempty"`

	RpoRiskReason string `protobuf:"bytes,17,opt,name=rpo_risk_reason,json=rpoRiskReason,proto3" json:"rpo_risk_reason,omitempty"`

}

Defines the configuration and scheduling for a "line" of Backups.

func (*BackupPlan) Descriptor

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

Deprecated: Use BackupPlan.ProtoReflect.Descriptor instead.

func (*BackupPlan) GetBackupConfig

func (x *BackupPlan) GetBackupConfig() *BackupPlan_BackupConfig

func (*BackupPlan) GetBackupSchedule

func (x *BackupPlan) GetBackupSchedule() *BackupPlan_Schedule

func (*BackupPlan) GetCluster

func (x *BackupPlan) GetCluster() string

func (*BackupPlan) GetCreateTime

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

func (*BackupPlan) GetDeactivated

func (x *BackupPlan) GetDeactivated() bool

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

func (x *BackupPlan) GetProtectedPodCount() int32

func (*BackupPlan) GetRetentionPolicy

func (x *BackupPlan) GetRetentionPolicy() *BackupPlan_RetentionPolicy

func (*BackupPlan) GetRpoRiskLevel

func (x *BackupPlan) GetRpoRiskLevel() int32

func (*BackupPlan) GetRpoRiskReason

func (x *BackupPlan) GetRpoRiskReason() string

func (*BackupPlan) GetState

func (x *BackupPlan) GetState() BackupPlan_State

func (*BackupPlan) GetStateReason

func (x *BackupPlan) GetStateReason() string

func (*BackupPlan) GetUid

func (x *BackupPlan) GetUid() string

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

BackupPlan_BackupConfig

type BackupPlan_BackupConfig struct {

	// This defines the "scope" of the Backup - which namespaced
	// resources in the cluster will be included in a Backup.
	// Exactly one of the fields of backup_scope MUST be specified.
	//
	// Types that are assignable to BackupScope:
	//
	//	*BackupPlan_BackupConfig_AllNamespaces
	//	*BackupPlan_BackupConfig_SelectedNamespaces
	//	*BackupPlan_BackupConfig_SelectedApplications
	BackupScope isBackupPlan_BackupConfig_BackupScope `protobuf_oneof:"backup_scope"`
	// Optional. This flag specifies whether volume data should be backed up
	// when PVCs are included in the scope of a Backup.
	//
	// Default: False
	IncludeVolumeData bool `protobuf:"varint,4,opt,name=include_volume_data,json=includeVolumeData,proto3" json:"include_volume_data,omitempty"`
	// Optional. This flag specifies whether Kubernetes Secret resources should
	// be included when they fall into the scope of Backups.
	//
	// Default: False
	IncludeSecrets bool `protobuf:"varint,5,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
	// Optional. This defines a customer managed encryption key that will be
	// used to encrypt the "config" portion (the Kubernetes resources) of
	// Backups created via this plan.
	//
	// Default (empty): Config backup artifacts will not be encrypted.
	EncryptionKey *EncryptionKey `protobuf:"bytes,6,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	// Optional. If false, Backups will fail when Backup for GKE detects
	// Kubernetes configuration that is non-standard or
	// requires additional setup to restore.
	//
	// Default: False
	PermissiveMode bool `protobuf:"varint,7,opt,name=permissive_mode,json=permissiveMode,proto3" json:"permissive_mode,omitempty"`
	// contains filtered or unexported fields
}

BackupConfig defines the configuration of Backups created via this BackupPlan.

func (*BackupPlan_BackupConfig) Descriptor

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

Deprecated: Use BackupPlan_BackupConfig.ProtoReflect.Descriptor instead.

func (*BackupPlan_BackupConfig) GetAllNamespaces

func (x *BackupPlan_BackupConfig) GetAllNamespaces() bool

func (*BackupPlan_BackupConfig) GetBackupScope

func (m *BackupPlan_BackupConfig) GetBackupScope() isBackupPlan_BackupConfig_BackupScope

func (*BackupPlan_BackupConfig) GetEncryptionKey

func (x *BackupPlan_BackupConfig) GetEncryptionKey() *EncryptionKey

func (*BackupPlan_BackupConfig) GetIncludeSecrets

func (x *BackupPlan_BackupConfig) GetIncludeSecrets() bool

func (*BackupPlan_BackupConfig) GetIncludeVolumeData

func (x *BackupPlan_BackupConfig) GetIncludeVolumeData() bool

func (*BackupPlan_BackupConfig) GetPermissiveMode

func (x *BackupPlan_BackupConfig) GetPermissiveMode() bool

func (*BackupPlan_BackupConfig) GetSelectedApplications

func (x *BackupPlan_BackupConfig) GetSelectedApplications() *NamespacedNames

func (*BackupPlan_BackupConfig) GetSelectedNamespaces

func (x *BackupPlan_BackupConfig) GetSelectedNamespaces() *Namespaces

func (*BackupPlan_BackupConfig) ProtoMessage

func (*BackupPlan_BackupConfig) ProtoMessage()

func (*BackupPlan_BackupConfig) ProtoReflect

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

func (*BackupPlan_BackupConfig) Reset

func (x *BackupPlan_BackupConfig) Reset()

func (*BackupPlan_BackupConfig) String

func (x *BackupPlan_BackupConfig) String() string

BackupPlan_BackupConfig_AllNamespaces

type BackupPlan_BackupConfig_AllNamespaces struct {
	// If True, include all namespaced resources
	AllNamespaces bool `protobuf:"varint,1,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
}

BackupPlan_BackupConfig_SelectedApplications

type BackupPlan_BackupConfig_SelectedApplications struct {
	// If set, include just the resources referenced by the listed
	// ProtectedApplications.
	SelectedApplications *NamespacedNames `protobuf:"bytes,3,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
}

BackupPlan_BackupConfig_SelectedNamespaces

type BackupPlan_BackupConfig_SelectedNamespaces struct {
	// If set, include just the resources in the listed namespaces.
	SelectedNamespaces *Namespaces `protobuf:"bytes,2,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
}

BackupPlan_RetentionPolicy

type BackupPlan_RetentionPolicy struct {

	// Optional. Minimum age for Backups created via this BackupPlan (in days).
	// This field MUST be an integer value between 0-90 (inclusive).
	// A Backup created under this BackupPlan will NOT be deletable until it
	// reaches Backup's (create_time + backup_delete_lock_days).
	// Updating this field of a BackupPlan does NOT affect existing Backups
	// under it. Backups created AFTER a successful update will inherit
	// the new value.
	//
	// Default: 0 (no delete blocking)
	BackupDeleteLockDays int32 `protobuf:"varint,1,opt,name=backup_delete_lock_days,json=backupDeleteLockDays,proto3" json:"backup_delete_lock_days,omitempty"`
	// Optional. The default maximum age of a Backup created via this
	// BackupPlan. This field MUST be an integer value >= 0 and <= 365.="" if="" specified,="" a="" backup="" created="" under="" this="" backupplan="" will="" be="" automatically="" deleted="" after="" its="" age="" reaches="" (create_time="" +="" backup_retain_days).="" if="" not="" specified,="" backups="" created="" under="" this="" backupplan="" will="" not="" be="" subject="" to="" automatic="" deletion.="" updating="" this="" field="" does="" not="" affect="" existing="" backups="" under="" it.="" backups="" created="" after="" a="" successful="" update="" will="" automatically="" pick="" up="" the="" new="" value.="" note:="" backup_retain_days="" must="" be="">=
	// [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days].
	// If
	// [cron_schedule][google.cloud.gkebackup.v1.BackupPlan.Schedule.cron_schedule]
	// is defined, then this must be
	// <= 360="" *="" the="" creation="" interval.="" if="" [rpo_config][google.cloud.gkebackup.v1.backupplan.schedule.rpo_config]="" is="" defined,="" then="" this="" must="" be=""><= 360="" *="" [target_rpo_minutes][schedule.rpo_config.target_rpo_minutes]="" (1440minutes/day).="" default:="" 0="" (no="" automatic="" deletion)="" backupretaindays="">int32 `protobuf:"varint,2,opt,name=backup_retain_days,json=backupRetainDays,proto3" json:"backup_retain_days,omitempty"`
	// Optional. This flag denotes whether the retention policy of this
	// BackupPlan is locked.  If set to True, no further update is allowed on
	// this policy, including the `locked` field itself.
	//
	// Default: False
	Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"`
	// contains filtered or unexported fields
}

RetentionPolicy defines a Backup retention policy for a BackupPlan.

func (*BackupPlan_RetentionPolicy) Descriptor

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

Deprecated: Use BackupPlan_RetentionPolicy.ProtoReflect.Descriptor instead.

func (*BackupPlan_RetentionPolicy) GetBackupDeleteLockDays

func (x *BackupPlan_RetentionPolicy) GetBackupDeleteLockDays() int32

func (*BackupPlan_RetentionPolicy) GetBackupRetainDays

func (x *BackupPlan_RetentionPolicy) GetBackupRetainDays() int32

func (*BackupPlan_RetentionPolicy) GetLocked

func (x *BackupPlan_RetentionPolicy) GetLocked() bool

func (*BackupPlan_RetentionPolicy) ProtoMessage

func (*BackupPlan_RetentionPolicy) ProtoMessage()

func (*BackupPlan_RetentionPolicy) ProtoReflect

func (*BackupPlan_RetentionPolicy) Reset

func (x *BackupPlan_RetentionPolicy) Reset()

func (*BackupPlan_RetentionPolicy) String

func (x *BackupPlan_RetentionPolicy) String() string

BackupPlan_Schedule

type BackupPlan_Schedule struct {
	CronSchedule string `protobuf:"bytes,1,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`

	Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,omitempty"`

	RpoConfig *RpoConfig `protobuf:"bytes,3,opt,name=rpo_config,json=rpoConfig,proto3" json:"rpo_config,omitempty"`

	NextScheduledBackupTime *timestamppb.Timestamp "" /* 134 byte string literal not displayed */

}

Defines scheduling parameters for automatically creating Backups via this BackupPlan.

func (*BackupPlan_Schedule) Descriptor

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

Deprecated: Use BackupPlan_Schedule.ProtoReflect.Descriptor instead.

func (*BackupPlan_Schedule) GetCronSchedule

func (x *BackupPlan_Schedule) GetCronSchedule() string

func (*BackupPlan_Schedule) GetNextScheduledBackupTime

func (x *BackupPlan_Schedule) GetNextScheduledBackupTime() *timestamppb.Timestamp

func (*BackupPlan_Schedule) GetPaused

func (x *BackupPlan_Schedule) GetPaused() bool

func (*BackupPlan_Schedule) GetRpoConfig

func (x *BackupPlan_Schedule) GetRpoConfig() *RpoConfig

func (*BackupPlan_Schedule) ProtoMessage

func (*BackupPlan_Schedule) ProtoMessage()

func (*BackupPlan_Schedule) ProtoReflect

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

func (*BackupPlan_Schedule) Reset

func (x *BackupPlan_Schedule) Reset()

func (*BackupPlan_Schedule) String

func (x *BackupPlan_Schedule) String() string

BackupPlan_State

type BackupPlan_State int32

State

BackupPlan_STATE_UNSPECIFIED, BackupPlan_CLUSTER_PENDING, BackupPlan_PROVISIONING, BackupPlan_READY, BackupPlan_FAILED, BackupPlan_DEACTIVATED, BackupPlan_DELETING

const (
	// Default first value for Enums.
	BackupPlan_STATE_UNSPECIFIED BackupPlan_State = 0
	// Waiting for cluster state to be RUNNING.
	BackupPlan_CLUSTER_PENDING BackupPlan_State = 1
	// The BackupPlan is in the process of being created.
	BackupPlan_PROVISIONING BackupPlan_State = 2
	// The BackupPlan has successfully been created and is ready for Backups.
	BackupPlan_READY BackupPlan_State = 3
	// BackupPlan creation has failed.
	BackupPlan_FAILED BackupPlan_State = 4
	// The BackupPlan has been deactivated.
	BackupPlan_DEACTIVATED BackupPlan_State = 5
	// The BackupPlan is in the process of being deleted.
	BackupPlan_DELETING BackupPlan_State = 6
)

func (BackupPlan_State) Descriptor

func (BackupPlan_State) Enum

func (BackupPlan_State) EnumDescriptor

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

Deprecated: Use BackupPlan_State.Descriptor instead.

func (BackupPlan_State) Number

func (BackupPlan_State) String

func (x BackupPlan_State) String() string

func (BackupPlan_State) Type

Backup_AllNamespaces

type Backup_AllNamespaces struct {
	// Output only. If True, all namespaces were included in the Backup.
	AllNamespaces bool `protobuf:"varint,12,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
}

Backup_ClusterMetadata

type Backup_ClusterMetadata struct {
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`

	K8SVersion string `protobuf:"bytes,2,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"`

	BackupCrdVersions map[string]string "" /* 202 byte string literal not displayed */

	PlatformVersion isBackup_ClusterMetadata_PlatformVersion `protobuf_oneof:"platform_version"`

}

Information about the GKE cluster from which this Backup was created.

func (*Backup_ClusterMetadata) Descriptor

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

Deprecated: Use Backup_ClusterMetadata.ProtoReflect.Descriptor instead.

func (*Backup_ClusterMetadata) GetAnthosVersion

func (x *Backup_ClusterMetadata) GetAnthosVersion() string

func (*Backup_ClusterMetadata) GetBackupCrdVersions

func (x *Backup_ClusterMetadata) GetBackupCrdVersions() map[string]string

func (*Backup_ClusterMetadata) GetCluster

func (x *Backup_ClusterMetadata) GetCluster() string

func (*Backup_ClusterMetadata) GetGkeVersion

func (x *Backup_ClusterMetadata) GetGkeVersion() string

func (*Backup_ClusterMetadata) GetK8SVersion

func (x *Backup_ClusterMetadata) GetK8SVersion() string

func (*Backup_ClusterMetadata) GetPlatformVersion

func (m *Backup_ClusterMetadata) GetPlatformVersion() isBackup_ClusterMetadata_PlatformVersion

func (*Backup_ClusterMetadata) ProtoMessage

func (*Backup_ClusterMetadata) ProtoMessage()

func (*Backup_ClusterMetadata) ProtoReflect

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

func (*Backup_ClusterMetadata) Reset

func (x *Backup_ClusterMetadata) Reset()

func (*Backup_ClusterMetadata) String

func (x *Backup_ClusterMetadata) String() string

Backup_ClusterMetadata_AnthosVersion

type Backup_ClusterMetadata_AnthosVersion struct {
	// Output only. Anthos version
	AnthosVersion string `protobuf:"bytes,5,opt,name=anthos_version,json=anthosVersion,proto3,oneof"`
}

Backup_ClusterMetadata_GkeVersion

type Backup_ClusterMetadata_GkeVersion struct {
	// Output only. GKE version
	GkeVersion string `protobuf:"bytes,4,opt,name=gke_version,json=gkeVersion,proto3,oneof"`
}

Backup_SelectedApplications

type Backup_SelectedApplications struct {
	// Output only. If set, the list of ProtectedApplications whose resources
	// were included in the Backup.
	SelectedApplications *NamespacedNames `protobuf:"bytes,14,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
}

Backup_SelectedNamespaces

type Backup_SelectedNamespaces struct {
	// Output only. If set, the list of namespaces that were included in the
	// Backup.
	SelectedNamespaces *Namespaces `protobuf:"bytes,13,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
}

Backup_State

type Backup_State int32

State

Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_IN_PROGRESS, Backup_SUCCEEDED, Backup_FAILED, Backup_DELETING

const (
	// The Backup resource is in the process of being created.
	Backup_STATE_UNSPECIFIED Backup_State = 0
	// The Backup resource has been created and the associated BackupJob
	// Kubernetes resource has been injected into the source cluster.
	Backup_CREATING Backup_State = 1
	// The gkebackup agent in the cluster has begun executing the backup
	// operation.
	Backup_IN_PROGRESS Backup_State = 2
	// The backup operation has completed successfully.
	Backup_SUCCEEDED Backup_State = 3
	// The backup operation has failed.
	Backup_FAILED Backup_State = 4
	// This Backup resource (and its associated artifacts) is in the process
	// of being deleted.
	Backup_DELETING Backup_State = 5
)

func (Backup_State) Descriptor

func (Backup_State) Enum

func (x Backup_State) Enum() *Backup_State

func (Backup_State) EnumDescriptor

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

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number

func (Backup_State) String

func (x Backup_State) String() string

func (Backup_State) Type

CreateBackupPlanRequest

type CreateBackupPlanRequest struct {

	// Required. The location within which to create the BackupPlan.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The BackupPlan resource object to create.
	BackupPlan *BackupPlan `protobuf:"bytes,2,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
	// Required. The client-provided short name for the BackupPlan resource.
	// This name must:
	//
	// - be between 1 and 63 characters long (inclusive)
	// - consist of only lower-case ASCII letters, numbers, and dashes
	// - start with a lower-case letter
	// - end with a lower-case letter or number
	// - be unique within the set of BackupPlans in this location
	BackupPlanId string `protobuf:"bytes,3,opt,name=backup_plan_id,json=backupPlanId,proto3" json:"backup_plan_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateBackupPlan.

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

CreateBackupRequest

type CreateBackupRequest struct {

	// Required. The BackupPlan within which to create the Backup.
	// Format: `projects/*/locations/*/backupPlans/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The Backup resource to create.
	Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. The client-provided short name for the Backup resource.
	// This name must:
	//
	// - be between 1 and 63 characters long (inclusive)
	// - consist of only lower-case ASCII letters, numbers, and dashes
	// - start with a lower-case letter
	// - end with a lower-case letter or number
	// - be unique within the set of Backups in this BackupPlan
	BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateBackup.

func (*CreateBackupRequest) Descriptor

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

Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupRequest) GetBackup

func (x *CreateBackupRequest) GetBackup() *Backup

func (*CreateBackupRequest) GetBackupId

func (x *CreateBackupRequest) GetBackupId() string

func (*CreateBackupRequest) GetParent

func (x *CreateBackupRequest) GetParent() string

func (*CreateBackupRequest) ProtoMessage

func (*CreateBackupRequest) ProtoMessage()

func (*CreateBackupRequest) ProtoReflect

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

func (*CreateBackupRequest) Reset

func (x *CreateBackupRequest) Reset()

func (*CreateBackupRequest) String

func (x *CreateBackupRequest) String() string

CreateRestorePlanRequest

type CreateRestorePlanRequest struct {

	// Required. The location within which to create the RestorePlan.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The RestorePlan resource object to create.
	RestorePlan *RestorePlan `protobuf:"bytes,2,opt,name=restore_plan,json=restorePlan,proto3" json:"restore_plan,omitempty"`
	// Required. The client-provided short name for the RestorePlan resource.
	// This name must:
	//
	// - be between 1 and 63 characters long (inclusive)
	// - consist of only lower-case ASCII letters, numbers, and dashes
	// - start with a lower-case letter
	// - end with a lower-case letter or number
	// - be unique within the set of RestorePlans in this location
	RestorePlanId string `protobuf:"bytes,3,opt,name=restore_plan_id,json=restorePlanId,proto3" json:"restore_plan_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateRestorePlan.

func (*CreateRestorePlanRequest) Descriptor

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

Deprecated: Use CreateRestorePlanRequest.ProtoReflect.Descriptor instead.

func (*CreateRestorePlanRequest) GetParent

func (x *CreateRestorePlanRequest) GetParent() string

func (*CreateRestorePlanRequest) GetRestorePlan

func (x *CreateRestorePlanRequest) GetRestorePlan() *RestorePlan

func (*CreateRestorePlanRequest) GetRestorePlanId

func (x *CreateRestorePlanRequest) GetRestorePlanId() string

func (*CreateRestorePlanRequest) ProtoMessage

func (*CreateRestorePlanRequest) ProtoMessage()

func (*CreateRestorePlanRequest) ProtoReflect

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

func (*CreateRestorePlanRequest) Reset

func (x *CreateRestorePlanRequest) Reset()

func (*CreateRestorePlanRequest) String

func (x *CreateRestorePlanRequest) String() string

CreateRestoreRequest

type CreateRestoreRequest struct {

	// Required. The RestorePlan within which to create the Restore.
	// Format: `projects/*/locations/*/restorePlans/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The restore resource to create.
	Restore *Restore `protobuf:"bytes,2,opt,name=restore,proto3" json:"restore,omitempty"`
	// Required. The client-provided short name for the Restore resource.
	// This name must:
	//
	// - be between 1 and 63 characters long (inclusive)
	// - consist of only lower-case ASCII letters, numbers, and dashes
	// - start with a lower-case letter
	// - end with a lower-case letter or number
	// - be unique within the set of Restores in this RestorePlan.
	RestoreId string `protobuf:"bytes,3,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateRestore.

func (*CreateRestoreRequest) Descriptor

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

Deprecated: Use CreateRestoreRequest.ProtoReflect.Descriptor instead.

func (*CreateRestoreRequest) GetParent

func (x *CreateRestoreRequest) GetParent() string

func (*CreateRestoreRequest) GetRestore

func (x *CreateRestoreRequest) GetRestore() *Restore

func (*CreateRestoreRequest) GetRestoreId

func (x *CreateRestoreRequest) GetRestoreId() string

func (*CreateRestoreRequest) ProtoMessage

func (*CreateRestoreRequest) ProtoMessage()

func (*CreateRestoreRequest) ProtoReflect

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

func (*CreateRestoreRequest) Reset

func (x *CreateRestoreRequest) Reset()

func (*CreateRestoreRequest) String

func (x *CreateRestoreRequest) String() string

DeleteBackupPlanRequest

type DeleteBackupPlanRequest struct {

	// Required. Fully qualified BackupPlan name.
	// Format: `projects/*/locations/*/backupPlans/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If provided, this value must match the current value of the
	// target BackupPlan's [etag][google.cloud.gkebackup.v1.BackupPlan.etag] field
	// or the request is rejected.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteBackupPlan.

func (*DeleteBackupPlanRequest) Descriptor

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

Deprecated: Use DeleteBackupPlanRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupPlanRequest) GetEtag

func (x *DeleteBackupPlanRequest) GetEtag() string

func (*DeleteBackupPlanRequest) GetName

func (x *DeleteBackupPlanRequest) GetName() 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 Backup resource.
	// Format: `projects/*/locations/*/backupPlans/*/backups/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If provided, this value must match the current value of the
	// target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the
	// request is rejected.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set to true, any VolumeBackups below this Backup will also be
	// deleted. Otherwise, the request will only succeed if the Backup has no
	// VolumeBackups.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteBackup.

func (*DeleteBackupRequest) Descriptor

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetEtag

func (x *DeleteBackupRequest) GetEtag() string

func (*DeleteBackupRequest) GetForce

func (x *DeleteBackupRequest) GetForce() bool

func (*DeleteBackupRequest) GetName

func (x *DeleteBackupRequest) GetName() 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

DeleteRestorePlanRequest

type DeleteRestorePlanRequest struct {

	// Required. Fully qualified RestorePlan name.
	// Format: `projects/*/locations/*/restorePlans/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If provided, this value must match the current value of the
	// target RestorePlan's [etag][google.cloud.gkebackup.v1.RestorePlan.etag]
	// field or the request is rejected.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set to true, any Restores below this RestorePlan will also be
	// deleted. Otherwise, the request will only succeed if the RestorePlan has no
	// Restores.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteRestorePlan.

func (*DeleteRestorePlanRequest) Descriptor

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

Deprecated: Use DeleteRestorePlanRequest.ProtoReflect.Descriptor instead.

func (*DeleteRestorePlanRequest) GetEtag

func (x *DeleteRestorePlanRequest) GetEtag() string

func (*DeleteRestorePlanRequest) GetForce

func (x *DeleteRestorePlanRequest) GetForce() bool

func (*DeleteRestorePlanRequest) GetName

func (x *DeleteRestorePlanRequest) GetName() string

func (*DeleteRestorePlanRequest) ProtoMessage

func (*DeleteRestorePlanRequest) ProtoMessage()

func (*DeleteRestorePlanRequest) ProtoReflect

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

func (*DeleteRestorePlanRequest) Reset

func (x *DeleteRestorePlanRequest) Reset()

func (*DeleteRestorePlanRequest) String

func (x *DeleteRestorePlanRequest) String() string

DeleteRestoreRequest

type DeleteRestoreRequest struct {

	// Required. Full name of the Restore
	// Format: `projects/*/locations/*/restorePlans/*/restores/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If provided, this value must match the current value of the
	// target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or
	// the request is rejected.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set to true, any VolumeRestores below this restore will also
	// be deleted. Otherwise, the request will only succeed if the restore has no
	// VolumeRestores.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteRestore.

func (*DeleteRestoreRequest) Descriptor

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

Deprecated: Use DeleteRestoreRequest.ProtoReflect.Descriptor instead.

func (*DeleteRestoreRequest) GetEtag

func (x *DeleteRestoreRequest) GetEtag() string

func (*DeleteRestoreRequest) GetForce

func (x *DeleteRestoreRequest) GetForce() bool

func (*DeleteRestoreRequest) GetName

func (x *DeleteRestoreRequest) GetName() string

func (*DeleteRestoreRequest) ProtoMessage

func (*DeleteRestoreRequest) ProtoMessage()

func (*DeleteRestoreRequest) ProtoReflect

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

func (*DeleteRestoreRequest) Reset

func (x *DeleteRestoreRequest) Reset()

func (*DeleteRestoreRequest) String

func (x *DeleteRestoreRequest) String() string

EncryptionKey

type EncryptionKey struct {

	// Optional. Google Cloud KMS encryption key. Format:
	// `projects/*/locations/*/keyRings/*/cryptoKeys/*`
	GcpKmsEncryptionKey string `protobuf:"bytes,1,opt,name=gcp_kms_encryption_key,json=gcpKmsEncryptionKey,proto3" json:"gcp_kms_encryption_key,omitempty"`
	// contains filtered or unexported fields
}

Defined a customer managed encryption key that will be used to encrypt Backup artifacts.

func (*EncryptionKey) Descriptor

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

Deprecated: Use EncryptionKey.ProtoReflect.Descriptor instead.

func (*EncryptionKey) GetGcpKmsEncryptionKey

func (x *EncryptionKey) GetGcpKmsEncryptionKey() string

func (*EncryptionKey) ProtoMessage

func (*EncryptionKey) ProtoMessage()

func (*EncryptionKey) ProtoReflect

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

func (*EncryptionKey) Reset

func (x *EncryptionKey) Reset()

func (*EncryptionKey) String

func (x *EncryptionKey) String() string

ExclusionWindow

type ExclusionWindow struct {

	// Required. Specifies the start time of the window using time of the day in
	// UTC.
	StartTime *timeofday.TimeOfDay `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Required. Specifies duration of the window.
	// Duration must be >= 5 minutes and < (target="" rpo="" -="" 20="" minutes).="" additional="" restrictions="" based="" on="" the="" recurrence="" type="" to="" allow="" some="" time="" for="" backup="" to="" happen:="" -="" single_occurrence_date:="" no="" restriction,="" but="" ui="" may="" warn="" about="" this="" when="" duration="">= target RPO
	// - daily window: duration < 24="" hours="" -="" weekly="" window:="" -="" days="" of="" week="" includes="" all="" seven="" days="" of="" a="" week:="" duration="">< 24="" hours="" -="" all="" other="" weekly="" window:="" duration="">< 168="" hours="" (i.e.,="" 24="" *="" 7="" hours)="" duration="">durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// Required. Specifies the day(s) on which the exclusion window takes
	// effect. Exactly one of the fields MUST be specified.
	//
	// Types that are assignable to Recurrence:
	//
	//	*ExclusionWindow_SingleOccurrenceDate
	//	*ExclusionWindow_Daily
	//	*ExclusionWindow_DaysOfWeek
	Recurrence isExclusionWindow_Recurrence `protobuf_oneof:"recurrence"`
	// contains filtered or unexported fields
}

Defines a time window during which no backup should happen. All time and date are in UTC.

func (*ExclusionWindow) Descriptor

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

Deprecated: Use ExclusionWindow.ProtoReflect.Descriptor instead.

func (*ExclusionWindow) GetDaily

func (x *ExclusionWindow) GetDaily() bool

func (*ExclusionWindow) GetDaysOfWeek

func (x *ExclusionWindow) GetDaysOfWeek() *ExclusionWindow_DayOfWeekList

func (*ExclusionWindow) GetDuration

func (x *ExclusionWindow) GetDuration() *durationpb.Duration

func (*ExclusionWindow) GetRecurrence

func (m *ExclusionWindow) GetRecurrence() isExclusionWindow_Recurrence

func (*ExclusionWindow) GetSingleOccurrenceDate

func (x *ExclusionWindow) GetSingleOccurrenceDate() *date.Date

func (*ExclusionWindow) GetStartTime

func (x *ExclusionWindow) GetStartTime() *timeofday.TimeOfDay

func (*ExclusionWindow) ProtoMessage

func (*ExclusionWindow) ProtoMessage()

func (*ExclusionWindow) ProtoReflect

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

func (*ExclusionWindow) Reset

func (x *ExclusionWindow) Reset()

func (*ExclusionWindow) String

func (x *ExclusionWindow) String() string

ExclusionWindow_Daily

type ExclusionWindow_Daily struct {
	// The exclusion window occurs every day if set to "True".
	// Specifying this field to "False" is an error.
	Daily bool `protobuf:"varint,4,opt,name=daily,proto3,oneof"`
}

ExclusionWindow_DayOfWeekList

type ExclusionWindow_DayOfWeekList struct {
	DaysOfWeek []dayofweek.DayOfWeek "" /* 128 byte string literal not displayed */

}

Holds repeated DaysOfWeek values as a container.

func (*ExclusionWindow_DayOfWeekList) Descriptor

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

Deprecated: Use ExclusionWindow_DayOfWeekList.ProtoReflect.Descriptor instead.

func (*ExclusionWindow_DayOfWeekList) GetDaysOfWeek

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

func (*ExclusionWindow_DayOfWeekList) ProtoMessage

func (*ExclusionWindow_DayOfWeekList) ProtoMessage()

func (*ExclusionWindow_DayOfWeekList) ProtoReflect

func (*ExclusionWindow_DayOfWeekList) Reset

func (x *ExclusionWindow_DayOfWeekList) Reset()

func (*ExclusionWindow_DayOfWeekList) String

ExclusionWindow_DaysOfWeek

type ExclusionWindow_DaysOfWeek struct {
	// The exclusion window occurs on these days of each week in UTC.
	DaysOfWeek *ExclusionWindow_DayOfWeekList `protobuf:"bytes,5,opt,name=days_of_week,json=daysOfWeek,proto3,oneof"`
}

ExclusionWindow_SingleOccurrenceDate

type ExclusionWindow_SingleOccurrenceDate struct {
	// No recurrence. The exclusion window occurs only once and on this
	// date in UTC.
	SingleOccurrenceDate *date.Date `protobuf:"bytes,3,opt,name=single_occurrence_date,json=singleOccurrenceDate,proto3,oneof"`
}

GetBackupIndexDownloadUrlRequest

type GetBackupIndexDownloadUrlRequest struct {

	// Required. Full name of Backup resource.
	// Format:
	// projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}
	Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetBackupIndexDownloadUrl.

func (*GetBackupIndexDownloadUrlRequest) Descriptor

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

Deprecated: Use GetBackupIndexDownloadUrlRequest.ProtoReflect.Descriptor instead.

func (*GetBackupIndexDownloadUrlRequest) GetBackup

func (*GetBackupIndexDownloadUrlRequest) ProtoMessage

func (*GetBackupIndexDownloadUrlRequest) ProtoMessage()

func (*GetBackupIndexDownloadUrlRequest) ProtoReflect

func (*GetBackupIndexDownloadUrlRequest) Reset

func (*GetBackupIndexDownloadUrlRequest) String

GetBackupIndexDownloadUrlResponse

type GetBackupIndexDownloadUrlResponse struct {
	SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetBackupIndexDownloadUrl.

func (*GetBackupIndexDownloadUrlResponse) Descriptor

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

Deprecated: Use GetBackupIndexDownloadUrlResponse.ProtoReflect.Descriptor instead.

func (*GetBackupIndexDownloadUrlResponse) GetSignedUrl

func (x *GetBackupIndexDownloadUrlResponse) GetSignedUrl() string

func (*GetBackupIndexDownloadUrlResponse) ProtoMessage

func (*GetBackupIndexDownloadUrlResponse) ProtoMessage()

func (*GetBackupIndexDownloadUrlResponse) ProtoReflect

func (*GetBackupIndexDownloadUrlResponse) Reset

func (*GetBackupIndexDownloadUrlResponse) String

GetBackupPlanRequest

type GetBackupPlanRequest struct {

	// Required. Fully qualified BackupPlan name.
	// Format: `projects/*/locations/*/backupPlans/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetBackupPlan.

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. Full name of the Backup resource.
	// Format: `projects/*/locations/*/backupPlans/*/backups/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetBackup.

func (*GetBackupRequest) Descriptor

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName

func (x *GetBackupRequest) GetName() string

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

GetRestorePlanRequest

type GetRestorePlanRequest struct {

	// Required. Fully qualified RestorePlan name.
	// Format: `projects/*/locations/*/restorePlans/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetRestorePlan.

func (*GetRestorePlanRequest) Descriptor

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

Deprecated: Use GetRestorePlanRequest.ProtoReflect.Descriptor instead.

func (*GetRestorePlanRequest) GetName

func (x *GetRestorePlanRequest) GetName() string

func (*GetRestorePlanRequest) ProtoMessage

func (*GetRestorePlanRequest) ProtoMessage()

func (*GetRestorePlanRequest) ProtoReflect

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

func (*GetRestorePlanRequest) Reset

func (x *GetRestorePlanRequest) Reset()

func (*GetRestorePlanRequest) String

func (x *GetRestorePlanRequest) String() string

GetRestoreRequest

type GetRestoreRequest struct {

	// Required. Name of the restore resource.
	// Format: `projects/*/locations/*/restorePlans/*/restores/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetRestore.

func (*GetRestoreRequest) Descriptor

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

Deprecated: Use GetRestoreRequest.ProtoReflect.Descriptor instead.

func (*GetRestoreRequest) GetName

func (x *GetRestoreRequest) GetName() string

func (*GetRestoreRequest) ProtoMessage

func (*GetRestoreRequest) ProtoMessage()

func (*GetRestoreRequest) ProtoReflect

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

func (*GetRestoreRequest) Reset

func (x *GetRestoreRequest) Reset()

func (*GetRestoreRequest) String

func (x *GetRestoreRequest) String() string

GetVolumeBackupRequest

type GetVolumeBackupRequest struct {

	// Required. Full name of the VolumeBackup resource.
	// Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetVolumeBackup.

func (*GetVolumeBackupRequest) Descriptor

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

Deprecated: Use GetVolumeBackupRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeBackupRequest) GetName

func (x *GetVolumeBackupRequest) GetName() string

func (*GetVolumeBackupRequest) ProtoMessage

func (*GetVolumeBackupRequest) ProtoMessage()

func (*GetVolumeBackupRequest) ProtoReflect

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

func (*GetVolumeBackupRequest) Reset

func (x *GetVolumeBackupRequest) Reset()

func (*GetVolumeBackupRequest) String

func (x *GetVolumeBackupRequest) String() string

GetVolumeRestoreRequest

type GetVolumeRestoreRequest struct {

	// Required. Full name of the VolumeRestore resource.
	// Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetVolumeRestore.

func (*GetVolumeRestoreRequest) Descriptor

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

Deprecated: Use GetVolumeRestoreRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeRestoreRequest) GetName

func (x *GetVolumeRestoreRequest) GetName() string

func (*GetVolumeRestoreRequest) ProtoMessage

func (*GetVolumeRestoreRequest) ProtoMessage()

func (*GetVolumeRestoreRequest) ProtoReflect

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

func (*GetVolumeRestoreRequest) Reset

func (x *GetVolumeRestoreRequest) Reset()

func (*GetVolumeRestoreRequest) String

func (x *GetVolumeRestoreRequest) String() string

ListBackupPlansRequest

type ListBackupPlansRequest struct {

	// Required. The location that contains the BackupPlans to list.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.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.gkebackup.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
}

Request message for ListBackupPlans.

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 matching the given criteria.
	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.gkebackup.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
}

Response message for ListBackupPlans.

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

ListBackupsRequest

type ListBackupsRequest struct {

	// Required. The BackupPlan that contains the Backups to list.
	// Format: `projects/*/locations/*/backupPlans/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.v1.ListBackupsResponse.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.gkebackup.v1.ListBackupsResponse.next_page_token]
	// received from a previous `ListBackups` call.
	// Provide this to retrieve the subsequent page in a multi-page list of
	// results. When paginating, all other parameters provided to
	// `ListBackups` 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
}

Request message for ListBackups.

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) 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 Backups matching the given criteria.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// A token which may be sent as
	// [page_token][google.cloud.gkebackup.v1.ListBackupsRequest.page_token] in a
	// subsequent `ListBackups` 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"`
	// contains filtered or unexported fields
}

Response message for ListBackups.

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

ListRestorePlansRequest

type ListRestorePlansRequest struct {

	// Required. The location that contains the RestorePlans to list.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.v1.ListRestorePlansResponse.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.gkebackup.v1.ListRestorePlansResponse.next_page_token]
	// received from a previous `ListRestorePlans` call.
	// Provide this to retrieve the subsequent page in a multi-page list of
	// results. When paginating, all other parameters provided to
	// `ListRestorePlans` 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
}

Request message for ListRestorePlans.

func (*ListRestorePlansRequest) Descriptor

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

Deprecated: Use ListRestorePlansRequest.ProtoReflect.Descriptor instead.

func (*ListRestorePlansRequest) GetFilter

func (x *ListRestorePlansRequest) GetFilter() string

func (*ListRestorePlansRequest) GetOrderBy

func (x *ListRestorePlansRequest) GetOrderBy() string

func (*ListRestorePlansRequest) GetPageSize

func (x *ListRestorePlansRequest) GetPageSize() int32

func (*ListRestorePlansRequest) GetPageToken

func (x *ListRestorePlansRequest) GetPageToken() string

func (*ListRestorePlansRequest) GetParent

func (x *ListRestorePlansRequest) GetParent() string

func (*ListRestorePlansRequest) ProtoMessage

func (*ListRestorePlansRequest) ProtoMessage()

func (*ListRestorePlansRequest) ProtoReflect

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

func (*ListRestorePlansRequest) Reset

func (x *ListRestorePlansRequest) Reset()

func (*ListRestorePlansRequest) String

func (x *ListRestorePlansRequest) String() string

ListRestorePlansResponse

type ListRestorePlansResponse struct {

	// The list of RestorePlans matching the given criteria.
	RestorePlans []*RestorePlan `protobuf:"bytes,1,rep,name=restore_plans,json=restorePlans,proto3" json:"restore_plans,omitempty"`
	// A token which may be sent as
	// [page_token][google.cloud.gkebackup.v1.ListRestorePlansRequest.page_token]
	// in a subsequent `ListRestorePlans` 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
}

Response message for ListRestorePlans.

func (*ListRestorePlansResponse) Descriptor

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

Deprecated: Use ListRestorePlansResponse.ProtoReflect.Descriptor instead.

func (*ListRestorePlansResponse) GetNextPageToken

func (x *ListRestorePlansResponse) GetNextPageToken() string

func (*ListRestorePlansResponse) GetRestorePlans

func (x *ListRestorePlansResponse) GetRestorePlans() []*RestorePlan

func (*ListRestorePlansResponse) GetUnreachable

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

func (*ListRestorePlansResponse) ProtoMessage

func (*ListRestorePlansResponse) ProtoMessage()

func (*ListRestorePlansResponse) ProtoReflect

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

func (*ListRestorePlansResponse) Reset

func (x *ListRestorePlansResponse) Reset()

func (*ListRestorePlansResponse) String

func (x *ListRestorePlansResponse) String() string

ListRestoresRequest

type ListRestoresRequest struct {

	// Required. The RestorePlan that contains the Restores to list.
	// Format: `projects/*/locations/*/restorePlans/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.v1.ListRestoresResponse.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.gkebackup.v1.ListRestoresResponse.next_page_token]
	// received from a previous `ListRestores` call.
	// Provide this to retrieve the subsequent page in a multi-page list of
	// results. When paginating, all other parameters provided to `ListRestores`
	// 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
}

Request message for ListRestores.

func (*ListRestoresRequest) Descriptor

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

Deprecated: Use ListRestoresRequest.ProtoReflect.Descriptor instead.

func (*ListRestoresRequest) GetFilter

func (x *ListRestoresRequest) GetFilter() string

func (*ListRestoresRequest) GetOrderBy

func (x *ListRestoresRequest) GetOrderBy() string

func (*ListRestoresRequest) GetPageSize

func (x *ListRestoresRequest) GetPageSize() int32

func (*ListRestoresRequest) GetPageToken

func (x *ListRestoresRequest) GetPageToken() string

func (*ListRestoresRequest) GetParent

func (x *ListRestoresRequest) GetParent() string

func (*ListRestoresRequest) ProtoMessage

func (*ListRestoresRequest) ProtoMessage()

func (*ListRestoresRequest) ProtoReflect

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

func (*ListRestoresRequest) Reset

func (x *ListRestoresRequest) Reset()

func (*ListRestoresRequest) String

func (x *ListRestoresRequest) String() string

ListRestoresResponse

type ListRestoresResponse struct {

	// The list of Restores matching the given criteria.
	Restores []*Restore `protobuf:"bytes,1,rep,name=restores,proto3" json:"restores,omitempty"`
	// A token which may be sent as
	// [page_token][google.cloud.gkebackup.v1.ListRestoresRequest.page_token] in a
	// subsequent `ListRestores` 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
}

Response message for ListRestores.

func (*ListRestoresResponse) Descriptor

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

Deprecated: Use ListRestoresResponse.ProtoReflect.Descriptor instead.

func (*ListRestoresResponse) GetNextPageToken

func (x *ListRestoresResponse) GetNextPageToken() string

func (*ListRestoresResponse) GetRestores

func (x *ListRestoresResponse) GetRestores() []*Restore

func (*ListRestoresResponse) GetUnreachable

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

func (*ListRestoresResponse) ProtoMessage

func (*ListRestoresResponse) ProtoMessage()

func (*ListRestoresResponse) ProtoReflect

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

func (*ListRestoresResponse) Reset

func (x *ListRestoresResponse) Reset()

func (*ListRestoresResponse) String

func (x *ListRestoresResponse) String() string

ListVolumeBackupsRequest

type ListVolumeBackupsRequest struct {

	// Required. The Backup that contains the VolumeBackups to list.
	// Format: `projects/*/locations/*/backupPlans/*/backups/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.v1.ListVolumeBackupsResponse.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.gkebackup.v1.ListVolumeBackupsResponse.next_page_token]
	// received from a previous `ListVolumeBackups` call.
	// Provide this to retrieve the subsequent page in a multi-page list of
	// results. When paginating, all other parameters provided to
	// `ListVolumeBackups` 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
}

Request message for ListVolumeBackups.

func (*ListVolumeBackupsRequest) Descriptor

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

Deprecated: Use ListVolumeBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListVolumeBackupsRequest) GetFilter

func (x *ListVolumeBackupsRequest) GetFilter() string

func (*ListVolumeBackupsRequest) GetOrderBy

func (x *ListVolumeBackupsRequest) GetOrderBy() string

func (*ListVolumeBackupsRequest) GetPageSize

func (x *ListVolumeBackupsRequest) GetPageSize() int32

func (*ListVolumeBackupsRequest) GetPageToken

func (x *ListVolumeBackupsRequest) GetPageToken() string

func (*ListVolumeBackupsRequest) GetParent

func (x *ListVolumeBackupsRequest) GetParent() string

func (*ListVolumeBackupsRequest) ProtoMessage

func (*ListVolumeBackupsRequest) ProtoMessage()

func (*ListVolumeBackupsRequest) ProtoReflect

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

func (*ListVolumeBackupsRequest) Reset

func (x *ListVolumeBackupsRequest) Reset()

func (*ListVolumeBackupsRequest) String

func (x *ListVolumeBackupsRequest) String() string

ListVolumeBackupsResponse

type ListVolumeBackupsResponse struct {

	// The list of VolumeBackups matching the given criteria.
	VolumeBackups []*VolumeBackup `protobuf:"bytes,1,rep,name=volume_backups,json=volumeBackups,proto3" json:"volume_backups,omitempty"`
	// A token which may be sent as
	// [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token]
	// in a subsequent `ListVolumeBackups` 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"`
	// contains filtered or unexported fields
}

Response message for ListVolumeBackups.

func (*ListVolumeBackupsResponse) Descriptor

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

Deprecated: Use ListVolumeBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListVolumeBackupsResponse) GetNextPageToken

func (x *ListVolumeBackupsResponse) GetNextPageToken() string

func (*ListVolumeBackupsResponse) GetVolumeBackups

func (x *ListVolumeBackupsResponse) GetVolumeBackups() []*VolumeBackup

func (*ListVolumeBackupsResponse) ProtoMessage

func (*ListVolumeBackupsResponse) ProtoMessage()

func (*ListVolumeBackupsResponse) ProtoReflect

func (*ListVolumeBackupsResponse) Reset

func (x *ListVolumeBackupsResponse) Reset()

func (*ListVolumeBackupsResponse) String

func (x *ListVolumeBackupsResponse) String() string

ListVolumeRestoresRequest

type ListVolumeRestoresRequest struct {

	// Required. The Restore that contains the VolumeRestores to list.
	// Format: `projects/*/locations/*/restorePlans/*/restores/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The target number of results 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.gkebackup.v1.ListVolumeRestoresResponse.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.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
	// received from a previous `ListVolumeRestores` call.
	// Provide this to retrieve the subsequent page in a multi-page list of
	// results. When paginating, all other parameters provided to
	// `ListVolumeRestores` 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
}

Request message for ListVolumeRestores.

func (*ListVolumeRestoresRequest) Descriptor

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

Deprecated: Use ListVolumeRestoresRequest.ProtoReflect.Descriptor instead.

func (*ListVolumeRestoresRequest) GetFilter

func (x *ListVolumeRestoresRequest) GetFilter() string

func (*ListVolumeRestoresRequest) GetOrderBy

func (x *ListVolumeRestoresRequest) GetOrderBy() string

func (*ListVolumeRestoresRequest) GetPageSize

func (x *ListVolumeRestoresRequest) GetPageSize() int32

func (*ListVolumeRestoresRequest) GetPageToken

func (x *ListVolumeRestoresRequest) GetPageToken() string

func (*ListVolumeRestoresRequest) GetParent

func (x *ListVolumeRestoresRequest) GetParent() string

func (*ListVolumeRestoresRequest) ProtoMessage

func (*ListVolumeRestoresRequest) ProtoMessage()

func (*ListVolumeRestoresRequest) ProtoReflect

func (*ListVolumeRestoresRequest) Reset

func (x *ListVolumeRestoresRequest) Reset()

func (*ListVolumeRestoresRequest) String

func (x *ListVolumeRestoresRequest) String() string

ListVolumeRestoresResponse

type ListVolumeRestoresResponse struct {

	// The list of VolumeRestores matching the given criteria.
	VolumeRestores []*VolumeRestore `protobuf:"bytes,1,rep,name=volume_restores,json=volumeRestores,proto3" json:"volume_restores,omitempty"`
	// A token which may be sent as
	// [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
	// in a subsequent `ListVolumeRestores` 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"`
	// contains filtered or unexported fields
}

Response message for ListVolumeRestores.

func (*ListVolumeRestoresResponse) Descriptor

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

Deprecated: Use ListVolumeRestoresResponse.ProtoReflect.Descriptor instead.

func (*ListVolumeRestoresResponse) GetNextPageToken

func (x *ListVolumeRestoresResponse) GetNextPageToken() string

func (*ListVolumeRestoresResponse) GetVolumeRestores

func (x *ListVolumeRestoresResponse) GetVolumeRestores() []*VolumeRestore

func (*ListVolumeRestoresResponse) ProtoMessage

func (*ListVolumeRestoresResponse) ProtoMessage()

func (*ListVolumeRestoresResponse) ProtoReflect

func (*ListVolumeRestoresResponse) Reset

func (x *ListVolumeRestoresResponse) Reset()

func (*ListVolumeRestoresResponse) String

func (x *ListVolumeRestoresResponse) String() string

NamespacedName

type NamespacedName struct {

	// Optional. The Namespace of the Kubernetes resource.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Optional. The name of the Kubernetes resource.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A reference to a namespaced resource in Kubernetes.

func (*NamespacedName) Descriptor

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

Deprecated: Use NamespacedName.ProtoReflect.Descriptor instead.

func (*NamespacedName) GetName

func (x *NamespacedName) GetName() string

func (*NamespacedName) GetNamespace

func (x *NamespacedName) GetNamespace() string

func (*NamespacedName) ProtoMessage

func (*NamespacedName) ProtoMessage()

func (*NamespacedName) ProtoReflect

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

func (*NamespacedName) Reset

func (x *NamespacedName) Reset()

func (*NamespacedName) String

func (x *NamespacedName) String() string

NamespacedNames

type NamespacedNames struct {

	// Optional. A list of namespaced Kubernetes resources.
	NamespacedNames []*NamespacedName `protobuf:"bytes,1,rep,name=namespaced_names,json=namespacedNames,proto3" json:"namespaced_names,omitempty"`
	// contains filtered or unexported fields
}

A list of namespaced Kubernetes resources.

func (*NamespacedNames) Descriptor

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

Deprecated: Use NamespacedNames.ProtoReflect.Descriptor instead.

func (*NamespacedNames) GetNamespacedNames

func (x *NamespacedNames) GetNamespacedNames() []*NamespacedName

func (*NamespacedNames) ProtoMessage

func (*NamespacedNames) ProtoMessage()

func (*NamespacedNames) ProtoReflect

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

func (*NamespacedNames) Reset

func (x *NamespacedNames) Reset()

func (*NamespacedNames) String

func (x *NamespacedNames) String() string

Namespaces

type Namespaces struct {

	// Optional. A list of Kubernetes Namespaces
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

A list of Kubernetes Namespaces

func (*Namespaces) Descriptor

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

Deprecated: Use Namespaces.ProtoReflect.Descriptor instead.

func (*Namespaces) GetNamespaces

func (x *Namespaces) GetNamespaces() []string

func (*Namespaces) ProtoMessage

func (*Namespaces) ProtoMessage()

func (*Namespaces) ProtoReflect

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

func (*Namespaces) Reset

func (x *Namespaces) Reset()

func (*Namespaces) String

func (x *Namespaces) String() string

OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// 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) 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

ResourceSelector

type ResourceSelector struct {
	GroupKind *RestoreConfig_GroupKind `protobuf:"bytes,1,opt,name=group_kind,json=groupKind,proto3" json:"group_kind,omitempty"`

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

	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`

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

}

Defines a selector to identify a single or a group of resources. Conditions in the selector are optional, but at least one field should be set to a non-empty value. If a condition is not specified, no restrictions will be applied on that dimension. If more than one condition is specified, a resource will be selected if and only if all conditions are met.

func (*ResourceSelector) Descriptor

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

Deprecated: Use ResourceSelector.ProtoReflect.Descriptor instead.

func (*ResourceSelector) GetGroupKind

func (x *ResourceSelector) GetGroupKind() *RestoreConfig_GroupKind

func (*ResourceSelector) GetLabels

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

func (*ResourceSelector) GetName

func (x *ResourceSelector) GetName() string

func (*ResourceSelector) GetNamespace

func (x *ResourceSelector) GetNamespace() string

func (*ResourceSelector) ProtoMessage

func (*ResourceSelector) ProtoMessage()

func (*ResourceSelector) ProtoReflect

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

func (*ResourceSelector) Reset

func (x *ResourceSelector) Reset()

func (*ResourceSelector) String

func (x *ResourceSelector) String() string

Restore

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

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

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

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

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

	Backup string `protobuf:"bytes,6,opt,name=backup,proto3" json:"backup,omitempty"`

	Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`

	RestoreConfig *RestoreConfig `protobuf:"bytes,8,opt,name=restore_config,json=restoreConfig,proto3" json:"restore_config,omitempty"`

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

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

	StateReason string `protobuf:"bytes,11,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`

	CompleteTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`

	ResourcesRestoredCount int32 "" /* 131 byte string literal not displayed */

	ResourcesExcludedCount int32 "" /* 131 byte string literal not displayed */

	ResourcesFailedCount int32 `protobuf:"varint,15,opt,name=resources_failed_count,json=resourcesFailedCount,proto3" json:"resources_failed_count,omitempty"`

	VolumesRestoredCount int32 `protobuf:"varint,16,opt,name=volumes_restored_count,json=volumesRestoredCount,proto3" json:"volumes_restored_count,omitempty"`

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

	Filter *Restore_Filter `protobuf:"bytes,18,opt,name=filter,proto3" json:"filter,omitempty"`

	VolumeDataRestorePolicyOverrides []*VolumeDataRestorePolicyOverride "" /* 164 byte string literal not displayed */

}

Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.

func (*Restore) Descriptor

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

Deprecated: Use Restore.ProtoReflect.Descriptor instead.

func (*Restore) GetBackup

func (x *Restore) GetBackup() string

func (*Restore) GetCluster

func (x *Restore) GetCluster() string

func (*Restore) GetCompleteTime

func (x *Restore) GetCompleteTime() *timestamppb.Timestamp

func (*Restore) GetCreateTime

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

func (*Restore) GetDescription

func (x *Restore) GetDescription() string

func (*Restore) GetEtag

func (x *Restore) GetEtag() string

func (*Restore) GetFilter

func (x *Restore) GetFilter() *Restore_Filter

func (*Restore) GetLabels

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

func (*Restore) GetName

func (x *Restore) GetName() string

func (*Restore) GetResourcesExcludedCount

func (x *Restore) GetResourcesExcludedCount() int32

func (*Restore) GetResourcesFailedCount

func (x *Restore) GetResourcesFailedCount() int32

func (*Restore) GetResourcesRestoredCount

func (x *Restore) GetResourcesRestoredCount() int32

func (*Restore) GetRestoreConfig

func (x *Restore) GetRestoreConfig() *RestoreConfig

func (*Restore) GetState

func (x *Restore) GetState() Restore_State

func (*Restore) GetStateReason

func (x *Restore) GetStateReason() string

func (*Restore) GetUid

func (x *Restore) GetUid() string

func (*Restore) GetUpdateTime

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

func (*Restore) GetVolumeDataRestorePolicyOverrides

func (x *Restore) GetVolumeDataRestorePolicyOverrides() []*VolumeDataRestorePolicyOverride

func (*Restore) GetVolumesRestoredCount

func (x *Restore) GetVolumesRestoredCount() int32

func (*Restore) ProtoMessage

func (*Restore) ProtoMessage()

func (*Restore) ProtoReflect

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

func (*Restore) Reset

func (x *Restore) Reset()

func (*Restore) String

func (x *Restore) String() string

RestoreConfig

type RestoreConfig struct {
	VolumeDataRestorePolicy RestoreConfig_VolumeDataRestorePolicy "" /* 204 byte string literal not displayed */

	ClusterResourceConflictPolicy RestoreConfig_ClusterResourceConflictPolicy "" /* 228 byte string literal not displayed */

	NamespacedResourceRestoreMode RestoreConfig_NamespacedResourceRestoreMode "" /* 228 byte string literal not displayed */

	ClusterResourceRestoreScope *RestoreConfig_ClusterResourceRestoreScope "" /* 146 byte string literal not displayed */

	NamespacedResourceRestoreScope isRestoreConfig_NamespacedResourceRestoreScope `protobuf_oneof:"namespaced_resource_restore_scope"`

	SubstitutionRules []*RestoreConfig_SubstitutionRule `protobuf:"bytes,8,rep,name=substitution_rules,json=substitutionRules,proto3" json:"substitution_rules,omitempty"`

	TransformationRules []*RestoreConfig_TransformationRule `protobuf:"bytes,11,rep,name=transformation_rules,json=transformationRules,proto3" json:"transformation_rules,omitempty"`

	VolumeDataRestorePolicyBindings []*RestoreConfig_VolumeDataRestorePolicyBinding "" /* 161 byte string literal not displayed */

	RestoreOrder *RestoreConfig_RestoreOrder `protobuf:"bytes,13,opt,name=restore_order,json=restoreOrder,proto3" json:"restore_order,omitempty"`

}

Configuration of a restore.

func (*RestoreConfig) Descriptor

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

Deprecated: Use RestoreConfig.ProtoReflect.Descriptor instead.

func (*RestoreConfig) GetAllNamespaces

func (x *RestoreConfig) GetAllNamespaces() bool

func (*RestoreConfig) GetClusterResourceConflictPolicy

func (x *RestoreConfig) GetClusterResourceConflictPolicy() RestoreConfig_ClusterResourceConflictPolicy

func (*RestoreConfig) GetClusterResourceRestoreScope

func (x *RestoreConfig) GetClusterResourceRestoreScope() *RestoreConfig_ClusterResourceRestoreScope

func (*RestoreConfig) GetExcludedNamespaces

func (x *RestoreConfig) GetExcludedNamespaces() *Namespaces

func (*RestoreConfig) GetNamespacedResourceRestoreMode

func (x *RestoreConfig) GetNamespacedResourceRestoreMode() RestoreConfig_NamespacedResourceRestoreMode

func (*RestoreConfig) GetNamespacedResourceRestoreScope

func (m *RestoreConfig) GetNamespacedResourceRestoreScope() isRestoreConfig_NamespacedResourceRestoreScope

func (*RestoreConfig) GetNoNamespaces

func (x *RestoreConfig) GetNoNamespaces() bool

func (*RestoreConfig) GetRestoreOrder

func (x *RestoreConfig) GetRestoreOrder() *RestoreConfig_RestoreOrder

func (*RestoreConfig) GetSelectedApplications

func (x *RestoreConfig) GetSelectedApplications() *NamespacedNames

func (*RestoreConfig) GetSelectedNamespaces

func (x *RestoreConfig) GetSelectedNamespaces() *Namespaces

func (*RestoreConfig) GetSubstitutionRules

func (x *RestoreConfig) GetSubstitutionRules() []*RestoreConfig_SubstitutionRule

func (*RestoreConfig) GetTransformationRules

func (x *RestoreConfig) GetTransformationRules() []*RestoreConfig_TransformationRule

func (*RestoreConfig) GetVolumeDataRestorePolicy

func (x *RestoreConfig) GetVolumeDataRestorePolicy() RestoreConfig_VolumeDataRestorePolicy

func (*RestoreConfig) GetVolumeDataRestorePolicyBindings

func (x *RestoreConfig) GetVolumeDataRestorePolicyBindings() []*RestoreConfig_VolumeDataRestorePolicyBinding

func (*RestoreConfig) ProtoMessage

func (*RestoreConfig) ProtoMessage()

func (*RestoreConfig) ProtoReflect

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

func (*RestoreConfig) Reset

func (x *RestoreConfig) Reset()

func (*RestoreConfig) String

func (x *RestoreConfig) String() string

RestoreConfig_AllNamespaces

type RestoreConfig_AllNamespaces struct {
	// Restore all namespaced resources in the Backup if set to "True".
	// Specifying this field to "False" is an error.
	AllNamespaces bool `protobuf:"varint,5,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
}

RestoreConfig_ClusterResourceConflictPolicy

type RestoreConfig_ClusterResourceConflictPolicy int32

Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.

RestoreConfig_CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED, RestoreConfig_USE_EXISTING_VERSION, RestoreConfig_USE_BACKUP_VERSION

const (
	// Unspecified. Only allowed if no cluster-scoped resources will be
	// restored.
	RestoreConfig_CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED RestoreConfig_ClusterResourceConflictPolicy = 0
	// Do not attempt to restore the conflicting resource.
	RestoreConfig_USE_EXISTING_VERSION RestoreConfig_ClusterResourceConflictPolicy = 1
	// Delete the existing version before re-creating it from the Backup.
	// This is a dangerous option which could cause unintentional
	// data loss if used inappropriately. For example, deleting a CRD will
	// cause Kubernetes to delete all CRs of that type.
	RestoreConfig_USE_BACKUP_VERSION RestoreConfig_ClusterResourceConflictPolicy = 2
)

func (RestoreConfig_ClusterResourceConflictPolicy) Descriptor

func (RestoreConfig_ClusterResourceConflictPolicy) Enum

func (RestoreConfig_ClusterResourceConflictPolicy) EnumDescriptor

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

Deprecated: Use RestoreConfig_ClusterResourceConflictPolicy.Descriptor instead.

func (RestoreConfig_ClusterResourceConflictPolicy) Number

func (RestoreConfig_ClusterResourceConflictPolicy) String

func (RestoreConfig_ClusterResourceConflictPolicy) Type

RestoreConfig_ClusterResourceRestoreScope

type RestoreConfig_ClusterResourceRestoreScope struct {

	// Optional. A list of cluster-scoped resource group kinds to restore from
	// the backup. If specified, only the selected resources will be restored.
	// Mutually exclusive to any other field in the message.
	SelectedGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,1,rep,name=selected_group_kinds,json=selectedGroupKinds,proto3" json:"selected_group_kinds,omitempty"`
	// Optional. A list of cluster-scoped resource group kinds to NOT restore
	// from the backup. If specified, all valid cluster-scoped resources will be
	// restored except for those specified in the list.
	// Mutually exclusive to any other field in the message.
	ExcludedGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=excluded_group_kinds,json=excludedGroupKinds,proto3" json:"excluded_group_kinds,omitempty"`
	// Optional. If True, all valid cluster-scoped resources will be restored.
	// Mutually exclusive to any other field in the message.
	AllGroupKinds bool `protobuf:"varint,3,opt,name=all_group_kinds,json=allGroupKinds,proto3" json:"all_group_kinds,omitempty"`
	// Optional. If True, no cluster-scoped resources will be restored.
	// This has the same restore scope as if the message is not defined.
	// Mutually exclusive to any other field in the message.
	NoGroupKinds bool `protobuf:"varint,4,opt,name=no_group_kinds,json=noGroupKinds,proto3" json:"no_group_kinds,omitempty"`
	// contains filtered or unexported fields
}

Defines the scope of cluster-scoped resources to restore.

Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds.

  • gkebackup.gke.io/BackupJob
  • gkebackup.gke.io/RestoreJob
  • metrics.k8s.io/NodeMetrics
  • migration.k8s.io/StorageState
  • migration.k8s.io/StorageVersionMigration
  • Node
  • snapshot.storage.k8s.io/VolumeSnapshotContent
  • storage.k8s.io/CSINode

Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here.

  • Namespace
  • PersistentVolume

func (*RestoreConfig_ClusterResourceRestoreScope) Descriptor

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

Deprecated: Use RestoreConfig_ClusterResourceRestoreScope.ProtoReflect.Descriptor instead.

func (*RestoreConfig_ClusterResourceRestoreScope) GetAllGroupKinds

func (x *RestoreConfig_ClusterResourceRestoreScope) GetAllGroupKinds() bool

func (*RestoreConfig_ClusterResourceRestoreScope) GetExcludedGroupKinds

func (*RestoreConfig_ClusterResourceRestoreScope) GetNoGroupKinds

func (x *RestoreConfig_ClusterResourceRestoreScope) GetNoGroupKinds() bool

func (*RestoreConfig_ClusterResourceRestoreScope) GetSelectedGroupKinds

func (*RestoreConfig_ClusterResourceRestoreScope) ProtoMessage

func (*RestoreConfig_ClusterResourceRestoreScope) ProtoReflect

func (*RestoreConfig_ClusterResourceRestoreScope) Reset

func (*RestoreConfig_ClusterResourceRestoreScope) String

RestoreConfig_ExcludedNamespaces

type RestoreConfig_ExcludedNamespaces struct {
	// A list of selected namespaces excluded from restoration. All
	// namespaces except those in this list will be restored.
	ExcludedNamespaces *Namespaces `protobuf:"bytes,10,opt,name=excluded_namespaces,json=excludedNamespaces,proto3,oneof"`
}

RestoreConfig_GroupKind

type RestoreConfig_GroupKind struct {

	// Optional. API group string of a Kubernetes resource, e.g.
	// "apiextensions.k8s.io", "storage.k8s.io", etc.
	// Note: use empty string for core API group
	ResourceGroup string `protobuf:"bytes,1,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
	// Optional. Kind of a Kubernetes resource, must be in UpperCamelCase
	// (PascalCase) and singular form. E.g. "CustomResourceDefinition",
	// "StorageClass", etc.
	ResourceKind string `protobuf:"bytes,2,opt,name=resource_kind,json=resourceKind,proto3" json:"resource_kind,omitempty"`
	// contains filtered or unexported fields
}

This is a direct map to the Kubernetes GroupKind type GroupKind and is used for identifying specific "types" of resources to restore.

func (*RestoreConfig_GroupKind) Descriptor

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

Deprecated: Use RestoreConfig_GroupKind.ProtoReflect.Descriptor instead.

func (*RestoreConfig_GroupKind) GetResourceGroup

func (x *RestoreConfig_GroupKind) GetResourceGroup() string

func (*RestoreConfig_GroupKind) GetResourceKind

func (x *RestoreConfig_GroupKind) GetResourceKind() string

func (*RestoreConfig_GroupKind) ProtoMessage

func (*RestoreConfig_GroupKind) ProtoMessage()

func (*RestoreConfig_GroupKind) ProtoReflect

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

func (*RestoreConfig_GroupKind) Reset

func (x *RestoreConfig_GroupKind) Reset()

func (*RestoreConfig_GroupKind) String

func (x *RestoreConfig_GroupKind) String() string

RestoreConfig_NamespacedResourceRestoreMode

type RestoreConfig_NamespacedResourceRestoreMode int32

Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.

RestoreConfig_NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED, RestoreConfig_DELETE_AND_RESTORE, RestoreConfig_FAIL_ON_CONFLICT, RestoreConfig_MERGE_SKIP_ON_CONFLICT, RestoreConfig_MERGE_REPLACE_VOLUME_ON_CONFLICT, RestoreConfig_MERGE_REPLACE_ON_CONFLICT

const (
	// Unspecified (invalid).
	RestoreConfig_NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED RestoreConfig_NamespacedResourceRestoreMode = 0
	// When conflicting top-level resources (either Namespaces or
	// ProtectedApplications, depending upon the scope) are encountered, this
	// will first trigger a delete of the conflicting resource AND ALL OF ITS
	// REFERENCED RESOURCES (e.g., all resources in the Namespace or all
	// resources referenced by the ProtectedApplication) before restoring the
	// resources from the Backup. This mode should only be used when you are
	// intending to revert some portion of a cluster to an earlier state.
	RestoreConfig_DELETE_AND_RESTORE RestoreConfig_NamespacedResourceRestoreMode = 1
	// If conflicting top-level resources (either Namespaces or
	// ProtectedApplications, depending upon the scope) are encountered at the
	// beginning of a restore process, the Restore will fail.  If a conflict
	// occurs during the restore process itself (e.g., because an out of band
	// process creates conflicting resources), a conflict will be reported.
	RestoreConfig_FAIL_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 2
	// This mode merges the backup and the target cluster and skips the
	// conflicting resources. If a single resource to restore exists in the
	// cluster before restoration, the resource will be skipped, otherwise it
	// will be restored.
	RestoreConfig_MERGE_SKIP_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 3
	// This mode merges the backup and the target cluster and skips the
	// conflicting resources except volume data. If a PVC to restore already
	// exists, this mode will restore/reconnect the volume without overwriting
	// the PVC. It is similar to MERGE_SKIP_ON_CONFLICT except that it will
	// apply the volume data policy for the conflicting PVCs:
	//   - RESTORE_VOLUME_DATA_FROM_BACKUP: restore data only and respect the
	//     reclaim policy of the original PV;
	//   - REUSE_VOLUME_HANDLE_FROM_BACKUP: reconnect and respect the reclaim
	//     policy of the original PV;
	//   - NO_VOLUME_DATA_RESTORATION: new provision and respect the reclaim
	//     policy of the original PV.
	//
	// Note that this mode could cause data loss as the original PV can be
	// retained or deleted depending on its reclaim policy.
	RestoreConfig_MERGE_REPLACE_VOLUME_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 4
	// This mode merges the backup and the target cluster and replaces the
	// conflicting resources with the ones in the backup. If a single resource
	// to restore exists in the cluster before restoration, the resource will be
	// replaced with the one from the backup. To replace an existing resource,
	// the first attempt is to update the resource to match the one from the
	// backup; if the update fails, the second attempt is to delete the resource
	// and restore it from the backup.
	// Note that this mode could cause data loss as it replaces the existing
	// resources in the target cluster, and the original PV can be retained or
	// deleted depending on its reclaim policy.
	RestoreConfig_MERGE_REPLACE_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 5
)

func (RestoreConfig_NamespacedResourceRestoreMode) Descriptor

func (RestoreConfig_NamespacedResourceRestoreMode) Enum

func (RestoreConfig_NamespacedResourceRestoreMode) EnumDescriptor

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

Deprecated: Use RestoreConfig_NamespacedResourceRestoreMode.Descriptor instead.

func (RestoreConfig_NamespacedResourceRestoreMode) Number

func (RestoreConfig_NamespacedResourceRestoreMode) String

func (RestoreConfig_NamespacedResourceRestoreMode) Type

RestoreConfig_NoNamespaces

type RestoreConfig_NoNamespaces struct {
	// Do not restore any namespaced resources if set to "True".
	// Specifying this field to "False" is not allowed.
	NoNamespaces bool `protobuf:"varint,9,opt,name=no_namespaces,json=noNamespaces,proto3,oneof"`
}

RestoreConfig_ResourceFilter

type RestoreConfig_ResourceFilter struct {

	// Optional. (Filtering parameter) Any resource subject to transformation
	// must be contained within one of the listed Kubernetes Namespace in the
	// Backup. If this field is not provided, no namespace filtering will be
	// performed (all resources in all Namespaces, including all cluster-scoped
	// resources, will be candidates for transformation).
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Optional. (Filtering parameter) Any resource subject to transformation
	// must belong to one of the listed "types". If this field is not provided,
	// no type filtering will be performed (all resources of all types matching
	// previous filtering parameters will be candidates for transformation).
	GroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=group_kinds,json=groupKinds,proto3" json:"group_kinds,omitempty"`
	// Optional. This is a [JSONPath]
	// (https://github.com/json-path/JsonPath/blob/master/README.md)
	// expression that matches specific fields of candidate
	// resources and it operates as a filtering parameter (resources that
	// are not matched with this expression will not be candidates for
	// transformation).
	JsonPath string `protobuf:"bytes,3,opt,name=json_path,json=jsonPath,proto3" json:"json_path,omitempty"`
	// contains filtered or unexported fields
}

ResourceFilter specifies matching criteria to limit the scope of a change to a specific set of kubernetes resources that are selected for restoration from a backup.

func (*RestoreConfig_ResourceFilter) Descriptor

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

Deprecated: Use RestoreConfig_ResourceFilter.ProtoReflect.Descriptor instead.

func (*RestoreConfig_ResourceFilter) GetGroupKinds

func (*RestoreConfig_ResourceFilter) GetJsonPath

func (x *RestoreConfig_ResourceFilter) GetJsonPath() string

func (*RestoreConfig_ResourceFilter) GetNamespaces

func (x *RestoreConfig_ResourceFilter) GetNamespaces() []string

func (*RestoreConfig_ResourceFilter) ProtoMessage

func (*RestoreConfig_ResourceFilter) ProtoMessage()

func (*RestoreConfig_ResourceFilter) ProtoReflect

func (*RestoreConfig_ResourceFilter) Reset

func (x *RestoreConfig_ResourceFilter) Reset()

func (*RestoreConfig_ResourceFilter) String

RestoreConfig_RestoreOrder

type RestoreConfig_RestoreOrder struct {

	// Optional. Contains a list of group kind dependency pairs provided
	// by the customer, that is used by Backup for GKE to
	// generate a group kind restore order.
	GroupKindDependencies []*RestoreConfig_RestoreOrder_GroupKindDependency `protobuf:"bytes,1,rep,name=group_kind_dependencies,json=groupKindDependencies,proto3" json:"group_kind_dependencies,omitempty"`
	// contains filtered or unexported fields
}

Allows customers to specify dependencies between resources that Backup for GKE can use to compute a resasonable restore order.

func (*RestoreConfig_RestoreOrder) Descriptor

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

Deprecated: Use RestoreConfig_RestoreOrder.ProtoReflect.Descriptor instead.

func (*RestoreConfig_RestoreOrder) GetGroupKindDependencies

func (*RestoreConfig_RestoreOrder) ProtoMessage

func (*RestoreConfig_RestoreOrder) ProtoMessage()

func (*RestoreConfig_RestoreOrder) ProtoReflect

func (*RestoreConfig_RestoreOrder) Reset

func (x *RestoreConfig_RestoreOrder) Reset()

func (*RestoreConfig_RestoreOrder) String

func (x *RestoreConfig_RestoreOrder) String() string

RestoreConfig_RestoreOrder_GroupKindDependency

type RestoreConfig_RestoreOrder_GroupKindDependency struct {

	// Required. The satisfying group kind must be restored first
	// in order to satisfy the dependency.
	Satisfying *RestoreConfig_GroupKind `protobuf:"bytes,1,opt,name=satisfying,proto3" json:"satisfying,omitempty"`
	// Required. The requiring group kind requires that the other
	// group kind be restored first.
	Requiring *RestoreConfig_GroupKind `protobuf:"bytes,2,opt,name=requiring,proto3" json:"requiring,omitempty"`
	// contains filtered or unexported fields
}

Defines a dependency between two group kinds.

func (*RestoreConfig_RestoreOrder_GroupKindDependency) Descriptor

Deprecated: Use RestoreConfig_RestoreOrder_GroupKindDependency.ProtoReflect.Descriptor instead.

func (*RestoreConfig_RestoreOrder_GroupKindDependency) GetRequiring

func (*RestoreConfig_RestoreOrder_GroupKindDependency) GetSatisfying

func (*RestoreConfig_RestoreOrder_GroupKindDependency) ProtoMessage

func (*RestoreConfig_RestoreOrder_GroupKindDependency) ProtoReflect

func (*RestoreConfig_RestoreOrder_GroupKindDependency) Reset

func (*RestoreConfig_RestoreOrder_GroupKindDependency) String

RestoreConfig_SelectedApplications

type RestoreConfig_SelectedApplications struct {
	// A list of selected ProtectedApplications to restore. The listed
	// ProtectedApplications and all the resources to which they refer will be
	// restored.
	SelectedApplications *NamespacedNames `protobuf:"bytes,7,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
}

RestoreConfig_SelectedNamespaces

type RestoreConfig_SelectedNamespaces struct {
	// A list of selected Namespaces to restore from the Backup. The listed
	// Namespaces and all resources contained in them will be restored.
	SelectedNamespaces *Namespaces `protobuf:"bytes,6,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
}

RestoreConfig_SubstitutionRule

type RestoreConfig_SubstitutionRule struct {

	// Optional. (Filtering parameter) Any resource subject to substitution must
	// be contained within one of the listed Kubernetes Namespace in the Backup.
	// If this field is not provided, no namespace filtering will be performed
	// (all resources in all Namespaces, including all cluster-scoped resources,
	// will be candidates for substitution).
	// To mix cluster-scoped and namespaced resources in the same rule, use an
	// empty string ("") as one of the target namespaces.
	TargetNamespaces []string `protobuf:"bytes,1,rep,name=target_namespaces,json=targetNamespaces,proto3" json:"target_namespaces,omitempty"`
	// Optional. (Filtering parameter) Any resource subject to substitution must
	// belong to one of the listed "types". If this field is not provided, no
	// type filtering will be performed (all resources of all types matching
	// previous filtering parameters will be candidates for substitution).
	TargetGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=target_group_kinds,json=targetGroupKinds,proto3" json:"target_group_kinds,omitempty"`
	// Required. This is a [JSONPath]
	// (https://kubernetes.io/docs/reference/kubectl/jsonpath/)
	// expression that matches specific fields of candidate
	// resources and it operates as both a filtering parameter (resources that
	// are not matched with this expression will not be candidates for
	// substitution) as well as a field identifier (identifies exactly which
	// fields out of the candidate resources will be modified).
	TargetJsonPath string `protobuf:"bytes,3,opt,name=target_json_path,json=targetJsonPath,proto3" json:"target_json_path,omitempty"`
	// Optional. (Filtering parameter) This is a [regular expression]
	// (https://en.wikipedia.org/wiki/Regular_expression)
	// that is compared against the fields matched by the target_json_path
	// expression (and must also have passed the previous filters).
	// Substitution will not be performed against fields whose
	// value does not match this expression. If this field is NOT specified,
	// then ALL fields matched by the target_json_path expression will undergo
	// substitution. Note that an empty (e.g., "", rather than unspecified)
	// value for this field will only match empty fields.
	OriginalValuePattern string `protobuf:"bytes,4,opt,name=original_value_pattern,json=originalValuePattern,proto3" json:"original_value_pattern,omitempty"`
	// Optional. This is the new value to set for any fields that pass the
	// filtering and selection criteria. To remove a value from a Kubernetes
	// resource, either leave this field unspecified, or set it to the empty
	// string ("").
	NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// contains filtered or unexported fields
}

A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to substitution) and substitution logic.

func (*RestoreConfig_SubstitutionRule) Descriptor

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

Deprecated: Use RestoreConfig_SubstitutionRule.ProtoReflect.Descriptor instead.

func (*RestoreConfig_SubstitutionRule) GetNewValue

func (x *RestoreConfig_SubstitutionRule) GetNewValue() string

func (*RestoreConfig_SubstitutionRule) GetOriginalValuePattern

func (x *RestoreConfig_SubstitutionRule) GetOriginalValuePattern() string

func (*RestoreConfig_SubstitutionRule) GetTargetGroupKinds

func (x *RestoreConfig_SubstitutionRule) GetTargetGroupKinds() []*RestoreConfig_GroupKind

func (*RestoreConfig_SubstitutionRule) GetTargetJsonPath

func (x *RestoreConfig_SubstitutionRule) GetTargetJsonPath() string

func (*RestoreConfig_SubstitutionRule) GetTargetNamespaces

func (x *RestoreConfig_SubstitutionRule) GetTargetNamespaces() []string

func (*RestoreConfig_SubstitutionRule) ProtoMessage

func (*RestoreConfig_SubstitutionRule) ProtoMessage()

func (*RestoreConfig_SubstitutionRule) ProtoReflect

func (*RestoreConfig_SubstitutionRule) Reset

func (x *RestoreConfig_SubstitutionRule) Reset()

func (*RestoreConfig_SubstitutionRule) String

RestoreConfig_TransformationRule

type RestoreConfig_TransformationRule struct {

	// Required. A list of transformation rule actions to take against candidate
	// resources. Actions are executed in order defined - this order matters, as
	// they could potentially interfere with each other and the first operation
	// could affect the outcome of the second operation.
	FieldActions []*RestoreConfig_TransformationRuleAction `protobuf:"bytes,1,rep,name=field_actions,json=fieldActions,proto3" json:"field_actions,omitempty"`
	// Optional. This field is used to specify a set of fields that should be
	// used to determine which resources in backup should be acted upon by the
	// supplied transformation rule actions, and this will ensure that only
	// specific resources are affected by transformation rule actions.
	ResourceFilter *RestoreConfig_ResourceFilter `protobuf:"bytes,2,opt,name=resource_filter,json=resourceFilter,proto3" json:"resource_filter,omitempty"`
	// Optional. The description is a user specified string description of the
	// transformation rule.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to transform) and transformation logic.

func (*RestoreConfig_TransformationRule) Descriptor

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

Deprecated: Use RestoreConfig_TransformationRule.ProtoReflect.Descriptor instead.

func (*RestoreConfig_TransformationRule) GetDescription

func (x *RestoreConfig_TransformationRule) GetDescription() string

func (*RestoreConfig_TransformationRule) GetFieldActions

func (*RestoreConfig_TransformationRule) GetResourceFilter

func (*RestoreConfig_TransformationRule) ProtoMessage

func (*RestoreConfig_TransformationRule) ProtoMessage()

func (*RestoreConfig_TransformationRule) ProtoReflect

func (*RestoreConfig_TransformationRule) Reset

func (*RestoreConfig_TransformationRule) String

RestoreConfig_TransformationRuleAction

type RestoreConfig_TransformationRuleAction struct {
	Op RestoreConfig_TransformationRuleAction_Op "" /* 131 byte string literal not displayed */

	FromPath string `protobuf:"bytes,2,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`

	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`

	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`

}

TransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)

func (*RestoreConfig_TransformationRuleAction) Descriptor

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

Deprecated: Use RestoreConfig_TransformationRuleAction.ProtoReflect.Descriptor instead.

func (*RestoreConfig_TransformationRuleAction) GetFromPath

func (*RestoreConfig_TransformationRuleAction) GetOp

func (*RestoreConfig_TransformationRuleAction) GetPath

func (*RestoreConfig_TransformationRuleAction) GetValue

func (*RestoreConfig_TransformationRuleAction) ProtoMessage

func (*RestoreConfig_TransformationRuleAction) ProtoReflect

func (*RestoreConfig_TransformationRuleAction) Reset

func (*RestoreConfig_TransformationRuleAction) String

RestoreConfig_TransformationRuleAction_Op

type RestoreConfig_TransformationRuleAction_Op int32

Possible values for operations of a transformation rule action.

RestoreConfig_TransformationRuleAction_OP_UNSPECIFIED, RestoreConfig_TransformationRuleAction_REMOVE, RestoreConfig_TransformationRuleAction_MOVE, RestoreConfig_TransformationRuleAction_COPY, RestoreConfig_TransformationRuleAction_ADD, RestoreConfig_TransformationRuleAction_TEST, RestoreConfig_TransformationRuleAction_REPLACE

const (
	// Unspecified operation
	RestoreConfig_TransformationRuleAction_OP_UNSPECIFIED RestoreConfig_TransformationRuleAction_Op = 0
	// The "remove" operation removes the value at the target location.
	RestoreConfig_TransformationRuleAction_REMOVE RestoreConfig_TransformationRuleAction_Op = 1
	// The "move" operation removes the value at a specified location and
	// adds it to the target location.
	RestoreConfig_TransformationRuleAction_MOVE RestoreConfig_TransformationRuleAction_Op = 2
	// The "copy" operation copies the value at a specified location to the
	// target location.
	RestoreConfig_TransformationRuleAction_COPY RestoreConfig_TransformationRuleAction_Op = 3
	// The "add" operation performs one of the following functions,
	// depending upon what the target location references:
	// 1. If the target location specifies an array index, a new value is
	// inserted into the array at the specified index.
	// 2. If the target location specifies an object member that does not
	// already exist, a new member is added to the object.
	// 3. If the target location specifies an object member that does exist,
	// that member's value is replaced.
	RestoreConfig_TransformationRuleAction_ADD RestoreConfig_TransformationRuleAction_Op = 4
	// The "test" operation tests that a value at the target location is
	// equal to a specified value.
	RestoreConfig_TransformationRuleAction_TEST RestoreConfig_TransformationRuleAction_Op = 5
	// The "replace" operation replaces the value at the target location
	// with a new value.  The operation object MUST contain a "value" member
	// whose content specifies the replacement value.
	RestoreConfig_TransformationRuleAction_REPLACE RestoreConfig_TransformationRuleAction_Op = 6
)

func (RestoreConfig_TransformationRuleAction_Op) Descriptor

func (RestoreConfig_TransformationRuleAction_Op) Enum

func (RestoreConfig_TransformationRuleAction_Op) EnumDescriptor

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

Deprecated: Use RestoreConfig_TransformationRuleAction_Op.Descriptor instead.

func (RestoreConfig_TransformationRuleAction_Op) Number

func (RestoreConfig_TransformationRuleAction_Op) String

func (RestoreConfig_TransformationRuleAction_Op) Type

RestoreConfig_VolumeDataRestorePolicy

type RestoreConfig_VolumeDataRestorePolicy int32

Defines how volume data should be restored.

RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED, RestoreConfig_RESTORE_VOLUME_DATA_FROM_BACKUP, RestoreConfig_REUSE_VOLUME_HANDLE_FROM_BACKUP, RestoreConfig_NO_VOLUME_DATA_RESTORATION

const (
	// Unspecified (illegal).
	RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED RestoreConfig_VolumeDataRestorePolicy = 0
	// For each PVC to be restored, create a new underlying volume and PV
	// from the corresponding VolumeBackup contained within the Backup.
	RestoreConfig_RESTORE_VOLUME_DATA_FROM_BACKUP RestoreConfig_VolumeDataRestorePolicy = 1
	// For each PVC to be restored, attempt to reuse the original PV contained
	// in the Backup (with its original underlying volume). This option
	// is likely only usable when restoring a workload to its original cluster.
	RestoreConfig_REUSE_VOLUME_HANDLE_FROM_BACKUP RestoreConfig_VolumeDataRestorePolicy = 2
	// For each PVC to be restored, create PVC without any particular
	// action to restore data. In this case, the normal Kubernetes provisioning
	// logic would kick in, and this would likely result in either dynamically
	// provisioning blank PVs or binding to statically provisioned PVs.
	RestoreConfig_NO_VOLUME_DATA_RESTORATION RestoreConfig_VolumeDataRestorePolicy = 3
)

func (RestoreConfig_VolumeDataRestorePolicy) Descriptor

func (RestoreConfig_VolumeDataRestorePolicy) Enum

func (RestoreConfig_VolumeDataRestorePolicy) EnumDescriptor

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

Deprecated: Use RestoreConfig_VolumeDataRestorePolicy.Descriptor instead.

func (RestoreConfig_VolumeDataRestorePolicy) Number

func (RestoreConfig_VolumeDataRestorePolicy) String

func (RestoreConfig_VolumeDataRestorePolicy) Type

RestoreConfig_VolumeDataRestorePolicyBinding

type RestoreConfig_VolumeDataRestorePolicyBinding struct {
	Policy RestoreConfig_VolumeDataRestorePolicy "" /* 135 byte string literal not displayed */

	Scope isRestoreConfig_VolumeDataRestorePolicyBinding_Scope `protobuf_oneof:"scope"`

}

Binds resources in the scope to the given VolumeDataRestorePolicy.

func (*RestoreConfig_VolumeDataRestorePolicyBinding) Descriptor

Deprecated: Use RestoreConfig_VolumeDataRestorePolicyBinding.ProtoReflect.Descriptor instead.

func (*RestoreConfig_VolumeDataRestorePolicyBinding) GetPolicy

func (*RestoreConfig_VolumeDataRestorePolicyBinding) GetScope

func (m *RestoreConfig_VolumeDataRestorePolicyBinding) GetScope() isRestoreConfig_VolumeDataRestorePolicyBinding_Scope

func (*RestoreConfig_VolumeDataRestorePolicyBinding) GetVolumeType

func (*RestoreConfig_VolumeDataRestorePolicyBinding) ProtoMessage

func (*RestoreConfig_VolumeDataRestorePolicyBinding) ProtoReflect

func (*RestoreConfig_VolumeDataRestorePolicyBinding) Reset

func (*RestoreConfig_VolumeDataRestorePolicyBinding) String

RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType

type RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType struct {
	// The volume type, as determined by the PVC's bound PV,
	// to apply the policy to.
	VolumeType VolumeTypeEnum_VolumeType `protobuf:"varint,2,opt,name=volume_type,json=volumeType,proto3,enum=google.cloud.gkebackup.v1.VolumeTypeEnum_VolumeType,oneof"`
}

RestorePlan

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

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

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

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

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

	BackupPlan string `protobuf:"bytes,6,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`

	Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`

	RestoreConfig *RestoreConfig `protobuf:"bytes,8,opt,name=restore_config,json=restoreConfig,proto3" json:"restore_config,omitempty"`

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

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

	State RestorePlan_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.RestorePlan_State" json:"state,omitempty"`

	StateReason string `protobuf:"bytes,12,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`

}

The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan.

func (*RestorePlan) Descriptor

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

Deprecated: Use RestorePlan.ProtoReflect.Descriptor instead.

func (*RestorePlan) GetBackupPlan

func (x *RestorePlan) GetBackupPlan() string

func (*RestorePlan) GetCluster

func (x *RestorePlan) GetCluster() string

func (*RestorePlan) GetCreateTime

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

func (*RestorePlan) GetDescription

func (x *RestorePlan) GetDescription() string

func (*RestorePlan) GetEtag

func (x *RestorePlan) GetEtag() string

func (*RestorePlan) GetLabels

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

func (*RestorePlan) GetName

func (x *RestorePlan) GetName() string

func (*RestorePlan) GetRestoreConfig

func (x *RestorePlan) GetRestoreConfig() *RestoreConfig

func (*RestorePlan) GetState

func (x *RestorePlan) GetState() RestorePlan_State

func (*RestorePlan) GetStateReason

func (x *RestorePlan) GetStateReason() string

func (*RestorePlan) GetUid

func (x *RestorePlan) GetUid() string

func (*RestorePlan) GetUpdateTime

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

func (*RestorePlan) ProtoMessage

func (*RestorePlan) ProtoMessage()

func (*RestorePlan) ProtoReflect

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

func (*RestorePlan) Reset

func (x *RestorePlan) Reset()

func (*RestorePlan) String

func (x *RestorePlan) String() string

RestorePlan_State

type RestorePlan_State int32

State

RestorePlan_STATE_UNSPECIFIED, RestorePlan_CLUSTER_PENDING, RestorePlan_READY, RestorePlan_FAILED, RestorePlan_DELETING

const (
	// Default first value for Enums.
	RestorePlan_STATE_UNSPECIFIED RestorePlan_State = 0
	// Waiting for cluster state to be RUNNING.
	RestorePlan_CLUSTER_PENDING RestorePlan_State = 1
	// The RestorePlan has successfully been created and is ready for Restores.
	RestorePlan_READY RestorePlan_State = 2
	// RestorePlan creation has failed.
	RestorePlan_FAILED RestorePlan_State = 3
	// The RestorePlan is in the process of being deleted.
	RestorePlan_DELETING RestorePlan_State = 4
)

func (RestorePlan_State) Descriptor

func (RestorePlan_State) Enum

func (RestorePlan_State) EnumDescriptor

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

Deprecated: Use RestorePlan_State.Descriptor instead.

func (RestorePlan_State) Number

func (RestorePlan_State) String

func (x RestorePlan_State) String() string

func (RestorePlan_State) Type

Restore_Filter

type Restore_Filter struct {

	// Optional. Selects resources for restoration. If specified, only resources
	// which match `inclusion_filters` will be selected for restoration. A
	// resource will be selected if it matches any `ResourceSelector` of the
	// `inclusion_filters`.
	InclusionFilters []*ResourceSelector `protobuf:"bytes,1,rep,name=inclusion_filters,json=inclusionFilters,proto3" json:"inclusion_filters,omitempty"`
	// Optional. Excludes resources from restoration. If specified,
	// a resource will not be restored if it matches
	// any `ResourceSelector` of the `exclusion_filters`.
	ExclusionFilters []*ResourceSelector `protobuf:"bytes,2,rep,name=exclusion_filters,json=exclusionFilters,proto3" json:"exclusion_filters,omitempty"`
	// contains filtered or unexported fields
}

Defines the filter for Restore. This filter can be used to further refine the resource selection of the Restore beyond the coarse-grained scope defined in the RestorePlan. exclusion_filters take precedence over inclusion_filters. If a resource matches both inclusion_filters and exclusion_filters, it will not be restored.

func (*Restore_Filter) Descriptor

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

Deprecated: Use Restore_Filter.ProtoReflect.Descriptor instead.

func (*Restore_Filter) GetExclusionFilters

func (x *Restore_Filter) GetExclusionFilters() []*ResourceSelector

func (*Restore_Filter) GetInclusionFilters

func (x *Restore_Filter) GetInclusionFilters() []*ResourceSelector

func (*Restore_Filter) ProtoMessage

func (*Restore_Filter) ProtoMessage()

func (*Restore_Filter) ProtoReflect

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

func (*Restore_Filter) Reset

func (x *Restore_Filter) Reset()

func (*Restore_Filter) String

func (x *Restore_Filter) String() string

Restore_State

type Restore_State int32

Possible values for state of the Restore.

Restore_STATE_UNSPECIFIED, Restore_CREATING, Restore_IN_PROGRESS, Restore_SUCCEEDED, Restore_FAILED, Restore_DELETING

const (
	// The Restore resource is in the process of being created.
	Restore_STATE_UNSPECIFIED Restore_State = 0
	// The Restore resource has been created and the associated RestoreJob
	// Kubernetes resource has been injected into target cluster.
	Restore_CREATING Restore_State = 1
	// The gkebackup agent in the cluster has begun executing the restore
	// operation.
	Restore_IN_PROGRESS Restore_State = 2
	// The restore operation has completed successfully. Restored workloads may
	// not yet be operational.
	Restore_SUCCEEDED Restore_State = 3
	// The restore operation has failed.
	Restore_FAILED Restore_State = 4
	// This Restore resource is in the process of being deleted.
	Restore_DELETING Restore_State = 5
)

func (Restore_State) Descriptor

func (Restore_State) Enum

func (x Restore_State) Enum() *Restore_State

func (Restore_State) EnumDescriptor

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

Deprecated: Use Restore_State.Descriptor instead.

func (Restore_State) Number

func (Restore_State) String

func (x Restore_State) String() string

func (Restore_State) Type

RpoConfig

type RpoConfig struct {

	// Required. Defines the target RPO for the BackupPlan in minutes, which means
	// the target maximum data loss in time that is acceptable for this
	// BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,
	// i.e., 60 days.
	TargetRpoMinutes int32 `protobuf:"varint,1,opt,name=target_rpo_minutes,json=targetRpoMinutes,proto3" json:"target_rpo_minutes,omitempty"`
	// Optional. User specified time windows during which backup can NOT happen
	// for this BackupPlan - backups should start and finish outside of any given
	// exclusion window. Note: backup jobs will be scheduled to start and
	// finish outside the duration of the window as much as possible, but
	// running jobs will not get canceled when it runs into the window.
	// All the time and date values in exclusion_windows entry in the API are in
	// UTC.
	// We only allow <=1 recurrence="" (daily="" or="" weekly)="" exclusion="" window="" for="" a="" backupplan="" while="" no="" restriction="" on="" number="" of="" single="" occurrence="" windows.="" exclusionwindows="">ExclusionWindow `protobuf:"bytes,2,rep,name=exclusion_windows,json=exclusionWindows,proto3" json:"exclusion_windows,omitempty"`
	// contains filtered or unexported fields
}

Defines RPO scheduling configuration for automatically creating Backups via this BackupPlan.

func (*RpoConfig) Descriptor

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

Deprecated: Use RpoConfig.ProtoReflect.Descriptor instead.

func (*RpoConfig) GetExclusionWindows

func (x *RpoConfig) GetExclusionWindows() []*ExclusionWindow

func (*RpoConfig) GetTargetRpoMinutes

func (x *RpoConfig) GetTargetRpoMinutes() int32

func (*RpoConfig) ProtoMessage

func (*RpoConfig) ProtoMessage()

func (*RpoConfig) ProtoReflect

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

func (*RpoConfig) Reset

func (x *RpoConfig) Reset()

func (*RpoConfig) String

func (x *RpoConfig) String() string

UnimplementedBackupForGKEServer

type UnimplementedBackupForGKEServer struct {
}

UnimplementedBackupForGKEServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupForGKEServer) CreateBackup

func (*UnimplementedBackupForGKEServer) CreateBackupPlan

func (*UnimplementedBackupForGKEServer) CreateRestore

func (*UnimplementedBackupForGKEServer) CreateRestorePlan

func (*UnimplementedBackupForGKEServer) DeleteBackup

func (*UnimplementedBackupForGKEServer) DeleteBackupPlan

func (*UnimplementedBackupForGKEServer) DeleteRestore

func (*UnimplementedBackupForGKEServer) DeleteRestorePlan

func (*UnimplementedBackupForGKEServer) GetBackup

func (*UnimplementedBackupForGKEServer) GetBackupIndexDownloadUrl

func (*UnimplementedBackupForGKEServer) GetBackupPlan

func (*UnimplementedBackupForGKEServer) GetRestore

func (*UnimplementedBackupForGKEServer) GetRestorePlan

func (*UnimplementedBackupForGKEServer) GetVolumeBackup

func (*UnimplementedBackupForGKEServer) GetVolumeRestore

func (*UnimplementedBackupForGKEServer) ListBackupPlans

func (*UnimplementedBackupForGKEServer) ListBackups

func (*UnimplementedBackupForGKEServer) ListRestorePlans

func (*UnimplementedBackupForGKEServer) ListRestores

func (*UnimplementedBackupForGKEServer) ListVolumeBackups

func (*UnimplementedBackupForGKEServer) ListVolumeRestores

func (*UnimplementedBackupForGKEServer) UpdateBackup

func (*UnimplementedBackupForGKEServer) UpdateBackupPlan

func (*UnimplementedBackupForGKEServer) UpdateRestore

func (*UnimplementedBackupForGKEServer) UpdateRestorePlan

UpdateBackupPlanRequest

type UpdateBackupPlanRequest struct {

	// Required. A new version of the BackupPlan resource that contains updated
	// fields. This may be sparsely populated if an `update_mask` is provided.
	BackupPlan *BackupPlan `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
	// Optional. This is used to specify the fields to be overwritten in the
	// BackupPlan targeted for update. The values for each of these
	// updated fields will be taken from the `backup_plan` provided
	// with this request. Field names are relative to the root of the resource
	// (e.g., `description`, `backup_config.include_volume_data`, etc.)
	// If no `update_mask` is provided, all fields in `backup_plan` will be
	// written to the target BackupPlan resource.
	// Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored
	// and are not used to update the target BackupPlan.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateBackupPlan.

func (*UpdateBackupPlanRequest) Descriptor

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

Deprecated: Use UpdateBackupPlanRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupPlanRequest) GetBackupPlan

func (x *UpdateBackupPlanRequest) GetBackupPlan() *BackupPlan

func (*UpdateBackupPlanRequest) GetUpdateMask

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

func (*UpdateBackupPlanRequest) ProtoMessage

func (*UpdateBackupPlanRequest) ProtoMessage()

func (*UpdateBackupPlanRequest) ProtoReflect

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

func (*UpdateBackupPlanRequest) Reset

func (x *UpdateBackupPlanRequest) Reset()

func (*UpdateBackupPlanRequest) String

func (x *UpdateBackupPlanRequest) String() string

UpdateBackupRequest

type UpdateBackupRequest struct {

	// Required. A new version of the Backup resource that contains updated
	// fields. This may be sparsely populated if an `update_mask` is provided.
	Backup *Backup `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. This is used to specify the fields to be overwritten in the
	// Backup targeted for update. The values for each of these
	// updated fields will be taken from the `backup_plan` provided
	// with this request. Field names are relative to the root of the resource.
	// If no `update_mask` is provided, all fields in `backup` will be
	// written to the target Backup resource.
	// Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
	// and are not used to update the target Backup.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateBackup.

func (*UpdateBackupRequest) Descriptor

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

Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupRequest) GetBackup

func (x *UpdateBackupRequest) GetBackup() *Backup

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

UpdateRestorePlanRequest

type UpdateRestorePlanRequest struct {

	// Required. A new version of the RestorePlan resource that contains updated
	// fields. This may be sparsely populated if an `update_mask` is provided.
	RestorePlan *RestorePlan `protobuf:"bytes,1,opt,name=restore_plan,json=restorePlan,proto3" json:"restore_plan,omitempty"`
	// Optional. This is used to specify the fields to be overwritten in the
	// RestorePlan targeted for update. The values for each of these
	// updated fields will be taken from the `restore_plan` provided
	// with this request. Field names are relative to the root of the resource.
	// If no `update_mask` is provided, all fields in `restore_plan` will be
	// written to the target RestorePlan resource.
	// Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
	// and are not used to update the target RestorePlan.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateRestorePlan.

func (*UpdateRestorePlanRequest) Descriptor

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

Deprecated: Use UpdateRestorePlanRequest.ProtoReflect.Descriptor instead.

func (*UpdateRestorePlanRequest) GetRestorePlan

func (x *UpdateRestorePlanRequest) GetRestorePlan() *RestorePlan

func (*UpdateRestorePlanRequest) GetUpdateMask

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

func (*UpdateRestorePlanRequest) ProtoMessage

func (*UpdateRestorePlanRequest) ProtoMessage()

func (*UpdateRestorePlanRequest) ProtoReflect

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

func (*UpdateRestorePlanRequest) Reset

func (x *UpdateRestorePlanRequest) Reset()

func (*UpdateRestorePlanRequest) String

func (x *UpdateRestorePlanRequest) String() string

UpdateRestoreRequest

type UpdateRestoreRequest struct {

	// Required. A new version of the Restore resource that contains updated
	// fields. This may be sparsely populated if an `update_mask` is provided.
	Restore *Restore `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty"`
	// Optional. This is used to specify the fields to be overwritten in the
	// Restore targeted for update. The values for each of these
	// updated fields will be taken from the `restore` provided
	// with this request. Field names are relative to the root of the resource.
	// If no `update_mask` is provided, all fields in `restore` will be
	// written to the target Restore resource.
	// Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored
	// and are not used to update the target Restore.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateRestore.

func (*UpdateRestoreRequest) Descriptor

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

Deprecated: Use UpdateRestoreRequest.ProtoReflect.Descriptor instead.

func (*UpdateRestoreRequest) GetRestore

func (x *UpdateRestoreRequest) GetRestore() *Restore

func (*UpdateRestoreRequest) GetUpdateMask

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

func (*UpdateRestoreRequest) ProtoMessage

func (*UpdateRestoreRequest) ProtoMessage()

func (*UpdateRestoreRequest) ProtoReflect

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

func (*UpdateRestoreRequest) Reset

func (x *UpdateRestoreRequest) Reset()

func (*UpdateRestoreRequest) String

func (x *UpdateRestoreRequest) String() string

VolumeBackup

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

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

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

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

	SourcePvc *NamespacedName `protobuf:"bytes,5,opt,name=source_pvc,json=sourcePvc,proto3" json:"source_pvc,omitempty"`

	VolumeBackupHandle string `protobuf:"bytes,6,opt,name=volume_backup_handle,json=volumeBackupHandle,proto3" json:"volume_backup_handle,omitempty"`

	Format VolumeBackup_VolumeBackupFormat "" /* 129 byte string literal not displayed */

	StorageBytes int64 `protobuf:"varint,8,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"`

	DiskSizeBytes int64 `protobuf:"varint,9,opt,name=disk_size_bytes,json=diskSizeBytes,proto3" json:"disk_size_bytes,omitempty"`

	CompleteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`

	State VolumeBackup_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.VolumeBackup_State" json:"state,omitempty"`

	StateMessage string `protobuf:"bytes,12,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`

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

}

Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.

func (*VolumeBackup) Descriptor

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

Deprecated: Use VolumeBackup.ProtoReflect.Descriptor instead.

func (*VolumeBackup) GetCompleteTime

func (x *VolumeBackup) GetCompleteTime() *timestamppb.Timestamp

func (*VolumeBackup) GetCreateTime

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

func (*VolumeBackup) GetDiskSizeBytes

func (x *VolumeBackup) GetDiskSizeBytes() int64

func (*VolumeBackup) GetEtag

func (x *VolumeBackup) GetEtag() string

func (*VolumeBackup) GetFormat

func (*VolumeBackup) GetName

func (x *VolumeBackup) GetName() string

func (*VolumeBackup) GetSourcePvc

func (x *VolumeBackup) GetSourcePvc() *NamespacedName

func (*VolumeBackup) GetState

func (x *VolumeBackup) GetState() VolumeBackup_State

func (*VolumeBackup) GetStateMessage

func (x *VolumeBackup) GetStateMessage() string

func (*VolumeBackup) GetStorageBytes

func (x *VolumeBackup) GetStorageBytes() int64

func (*VolumeBackup) GetUid

func (x *VolumeBackup) GetUid() string

func (*VolumeBackup) GetUpdateTime

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

func (*VolumeBackup) GetVolumeBackupHandle

func (x *VolumeBackup) GetVolumeBackupHandle() string

func (*VolumeBackup) ProtoMessage

func (*VolumeBackup) ProtoMessage()

func (*VolumeBackup) ProtoReflect

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

func (*VolumeBackup) Reset

func (x *VolumeBackup) Reset()

func (*VolumeBackup) String

func (x *VolumeBackup) String() string

VolumeBackup_State

type VolumeBackup_State int32

The current state of a VolumeBackup

VolumeBackup_STATE_UNSPECIFIED, VolumeBackup_CREATING, VolumeBackup_SNAPSHOTTING, VolumeBackup_UPLOADING, VolumeBackup_SUCCEEDED, VolumeBackup_FAILED, VolumeBackup_DELETING

const (
	// This is an illegal state and should not be encountered.
	VolumeBackup_STATE_UNSPECIFIED VolumeBackup_State = 0
	// A volume for the backup was identified and backup process is about to
	// start.
	VolumeBackup_CREATING VolumeBackup_State = 1
	// The volume backup operation has begun and is in the initial "snapshot"
	// phase of the process. Any defined ProtectedApplication "pre" hooks will
	// be executed before entering this state and "post" hooks will be executed
	// upon leaving this state.
	VolumeBackup_SNAPSHOTTING VolumeBackup_State = 2
	// The snapshot phase of the volume backup operation has completed and
	// the snapshot is now being uploaded to backup storage.
	VolumeBackup_UPLOADING VolumeBackup_State = 3
	// The volume backup operation has completed successfully.
	VolumeBackup_SUCCEEDED VolumeBackup_State = 4
	// The volume backup operation has failed.
	VolumeBackup_FAILED VolumeBackup_State = 5
	// This VolumeBackup resource (and its associated artifacts) is in the
	// process of being deleted.
	VolumeBackup_DELETING VolumeBackup_State = 6
)

func (VolumeBackup_State) Descriptor

func (VolumeBackup_State) Enum

func (VolumeBackup_State) EnumDescriptor

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

Deprecated: Use VolumeBackup_State.Descriptor instead.

func (VolumeBackup_State) Number

func (VolumeBackup_State) String

func (x VolumeBackup_State) String() string

func (VolumeBackup_State) Type

VolumeBackup_VolumeBackupFormat

type VolumeBackup_VolumeBackupFormat int32

Identifies the format used for the volume backup.

VolumeBackup_VOLUME_BACKUP_FORMAT_UNSPECIFIED, VolumeBackup_GCE_PERSISTENT_DISK

const (
	// Default value, not specified.
	VolumeBackup_VOLUME_BACKUP_FORMAT_UNSPECIFIED VolumeBackup_VolumeBackupFormat = 0
	// Compute Engine Persistent Disk snapshot based volume backup.
	VolumeBackup_GCE_PERSISTENT_DISK VolumeBackup_VolumeBackupFormat = 1
)

func (VolumeBackup_VolumeBackupFormat) Descriptor

func (VolumeBackup_VolumeBackupFormat) Enum

func (VolumeBackup_VolumeBackupFormat) EnumDescriptor

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

Deprecated: Use VolumeBackup_VolumeBackupFormat.Descriptor instead.

func (VolumeBackup_VolumeBackupFormat) Number

func (VolumeBackup_VolumeBackupFormat) String

func (VolumeBackup_VolumeBackupFormat) Type

VolumeDataRestorePolicyOverride

type VolumeDataRestorePolicyOverride struct {
	Policy RestoreConfig_VolumeDataRestorePolicy "" /* 135 byte string literal not displayed */

	Scope isVolumeDataRestorePolicyOverride_Scope `protobuf_oneof:"scope"`

}

Defines an override to apply a VolumeDataRestorePolicy for scoped resources.

func (*VolumeDataRestorePolicyOverride) Descriptor

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

Deprecated: Use VolumeDataRestorePolicyOverride.ProtoReflect.Descriptor instead.

func (*VolumeDataRestorePolicyOverride) GetPolicy

func (*VolumeDataRestorePolicyOverride) GetScope

func (m *VolumeDataRestorePolicyOverride) GetScope() isVolumeDataRestorePolicyOverride_Scope

func (*VolumeDataRestorePolicyOverride) GetSelectedPvcs

func (x *VolumeDataRestorePolicyOverride) GetSelectedPvcs() *NamespacedNames

func (*VolumeDataRestorePolicyOverride) ProtoMessage

func (*VolumeDataRestorePolicyOverride) ProtoMessage()

func (*VolumeDataRestorePolicyOverride) ProtoReflect

func (*VolumeDataRestorePolicyOverride) Reset

func (*VolumeDataRestorePolicyOverride) String

VolumeDataRestorePolicyOverride_SelectedPvcs

type VolumeDataRestorePolicyOverride_SelectedPvcs struct {
	// A list of PVCs to apply the policy override to.
	SelectedPvcs *NamespacedNames `protobuf:"bytes,2,opt,name=selected_pvcs,json=selectedPvcs,proto3,oneof"`
}

VolumeRestore

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

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

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

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

	VolumeBackup string `protobuf:"bytes,5,opt,name=volume_backup,json=volumeBackup,proto3" json:"volume_backup,omitempty"`

	TargetPvc *NamespacedName `protobuf:"bytes,6,opt,name=target_pvc,json=targetPvc,proto3" json:"target_pvc,omitempty"`

	VolumeHandle string `protobuf:"bytes,7,opt,name=volume_handle,json=volumeHandle,proto3" json:"volume_handle,omitempty"`

	VolumeType VolumeRestore_VolumeType "" /* 148 byte string literal not displayed */

	CompleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`

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

	StateMessage string `protobuf:"bytes,11,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`

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

}

Represents the operation of restoring a volume from a VolumeBackup.

func (*VolumeRestore) Descriptor

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

Deprecated: Use VolumeRestore.ProtoReflect.Descriptor instead.

func (*VolumeRestore) GetCompleteTime

func (x *VolumeRestore) GetCompleteTime() *timestamppb.Timestamp

func (*VolumeRestore) GetCreateTime

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

func (*VolumeRestore) GetEtag

func (x *VolumeRestore) GetEtag() string

func (*VolumeRestore) GetName

func (x *VolumeRestore) GetName() string

func (*VolumeRestore) GetState

func (x *VolumeRestore) GetState() VolumeRestore_State

func (*VolumeRestore) GetStateMessage

func (x *VolumeRestore) GetStateMessage() string

func (*VolumeRestore) GetTargetPvc

func (x *VolumeRestore) GetTargetPvc() *NamespacedName

func (*VolumeRestore) GetUid

func (x *VolumeRestore) GetUid() string

func (*VolumeRestore) GetUpdateTime

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

func (*VolumeRestore) GetVolumeBackup

func (x *VolumeRestore) GetVolumeBackup() string

func (*VolumeRestore) GetVolumeHandle

func (x *VolumeRestore) GetVolumeHandle() string

func (*VolumeRestore) GetVolumeType

func (x *VolumeRestore) GetVolumeType() VolumeRestore_VolumeType

func (*VolumeRestore) ProtoMessage

func (*VolumeRestore) ProtoMessage()

func (*VolumeRestore) ProtoReflect

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

func (*VolumeRestore) Reset

func (x *VolumeRestore) Reset()

func (*VolumeRestore) String

func (x *VolumeRestore) String() string

VolumeRestore_State

type VolumeRestore_State int32

The current state of a VolumeRestore

VolumeRestore_STATE_UNSPECIFIED, VolumeRestore_CREATING, VolumeRestore_RESTORING, VolumeRestore_SUCCEEDED, VolumeRestore_FAILED, VolumeRestore_DELETING

const (
	// This is an illegal state and should not be encountered.
	VolumeRestore_STATE_UNSPECIFIED VolumeRestore_State = 0
	// A volume for the restore was identified and restore process is about to
	// start.
	VolumeRestore_CREATING VolumeRestore_State = 1
	// The volume is currently being restored.
	VolumeRestore_RESTORING VolumeRestore_State = 2
	// The volume has been successfully restored.
	VolumeRestore_SUCCEEDED VolumeRestore_State = 3
	// The volume restoration process failed.
	VolumeRestore_FAILED VolumeRestore_State = 4
	// This VolumeRestore resource is in the process of being deleted.
	VolumeRestore_DELETING VolumeRestore_State = 5
)

func (VolumeRestore_State) Descriptor

func (VolumeRestore_State) Enum

func (VolumeRestore_State) EnumDescriptor

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

Deprecated: Use VolumeRestore_State.Descriptor instead.

func (VolumeRestore_State) Number

func (VolumeRestore_State) String

func (x VolumeRestore_State) String() string

func (VolumeRestore_State) Type

VolumeRestore_VolumeType

type VolumeRestore_VolumeType int32

Supported volume types.

VolumeRestore_VOLUME_TYPE_UNSPECIFIED, VolumeRestore_GCE_PERSISTENT_DISK

const (
	// Default
	VolumeRestore_VOLUME_TYPE_UNSPECIFIED VolumeRestore_VolumeType = 0
	// Compute Engine Persistent Disk volume
	VolumeRestore_GCE_PERSISTENT_DISK VolumeRestore_VolumeType = 1
)

func (VolumeRestore_VolumeType) Descriptor

func (VolumeRestore_VolumeType) Enum

func (VolumeRestore_VolumeType) EnumDescriptor

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

Deprecated: Use VolumeRestore_VolumeType.Descriptor instead.

func (VolumeRestore_VolumeType) Number

func (VolumeRestore_VolumeType) String

func (x VolumeRestore_VolumeType) String() string

func (VolumeRestore_VolumeType) Type

VolumeTypeEnum

type VolumeTypeEnum struct {
	// contains filtered or unexported fields
}

Message to encapsulate VolumeType enum.

func (*VolumeTypeEnum) Descriptor

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

Deprecated: Use VolumeTypeEnum.ProtoReflect.Descriptor instead.

func (*VolumeTypeEnum) ProtoMessage

func (*VolumeTypeEnum) ProtoMessage()

func (*VolumeTypeEnum) ProtoReflect

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

func (*VolumeTypeEnum) Reset

func (x *VolumeTypeEnum) Reset()

func (*VolumeTypeEnum) String

func (x *VolumeTypeEnum) String() string

VolumeTypeEnum_VolumeType

type VolumeTypeEnum_VolumeType int32

Supported volume types.

VolumeTypeEnum_VOLUME_TYPE_UNSPECIFIED, VolumeTypeEnum_GCE_PERSISTENT_DISK

const (
	// Default
	VolumeTypeEnum_VOLUME_TYPE_UNSPECIFIED VolumeTypeEnum_VolumeType = 0
	// Compute Engine Persistent Disk volume
	VolumeTypeEnum_GCE_PERSISTENT_DISK VolumeTypeEnum_VolumeType = 1
)

func (VolumeTypeEnum_VolumeType) Descriptor

func (VolumeTypeEnum_VolumeType) Enum

func (VolumeTypeEnum_VolumeType) EnumDescriptor

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

Deprecated: Use VolumeTypeEnum_VolumeType.Descriptor instead.

func (VolumeTypeEnum_VolumeType) Number

func (VolumeTypeEnum_VolumeType) String

func (x VolumeTypeEnum_VolumeType) String() string

func (VolumeTypeEnum_VolumeType) Type