Package cloud.google.com/go/gkebackup/apiv1/gkebackuppb (v1.3.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.

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",
	}
	RestoreConfig_NamespacedResourceRestoreMode_value = map[string]int32{
		"NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED": 0,
		"DELETE_AND_RESTORE":                           1,
		"FAIL_ON_CONFLICT":                             2,
	}
)

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 */

}

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). Next id: 28

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

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

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

}

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) 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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) 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 {

	// 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"`
	// 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.="" default:="" 0="" (no="" automatic="" deletion)="" backupretaindays="">int32 `protobuf:"varint,2,opt,name=backup_retain_days,json=backupRetainDays,proto3" json:"backup_retain_days,omitempty"`
	// 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 {

	// A standard [cron](https://wikipedia.com/wiki/cron) string that defines a
	// repeating schedule for creating Backups via this BackupPlan. If this is
	// defined, then
	// [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days]
	// must also be defined.
	//
	// Default (empty): no automatic backup creation will occur.
	CronSchedule string `protobuf:"bytes,1,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	// This flag denotes whether automatic Backup creation is paused for this
	// BackupPlan.
	//
	// Default: False
	Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,omitempty"`
	// contains filtered or unexported fields
}

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

func (x *BackupPlan_Schedule) GetPaused() bool

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 {
	// Anthos version
	AnthosVersion string `protobuf:"bytes,5,opt,name=anthos_version,json=anthosVersion,proto3,oneof"`
}

Backup_ClusterMetadata_GkeVersion

type Backup_ClusterMetadata_GkeVersion struct {
	// 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"`
	// The Backup resource to create.
	Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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 {

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

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"`
	// 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 inclue 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"`
	// 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"`
	// Field match expression used to filter the results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// 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"`
	// 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 inclue 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"`
	// 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"`
	// Field match expression used to filter the results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// 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"`
	// 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 inclue 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"`
	// 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"`
	// Field match expression used to filter the results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// 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=restorePla