backup

package
v0.0.0-...-204702d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BackupService_List_FullMethodName               = "/yandex.cloud.backup.v1.BackupService/List"
	BackupService_ListArchives_FullMethodName       = "/yandex.cloud.backup.v1.BackupService/ListArchives"
	BackupService_ListFiles_FullMethodName          = "/yandex.cloud.backup.v1.BackupService/ListFiles"
	BackupService_Get_FullMethodName                = "/yandex.cloud.backup.v1.BackupService/Get"
	BackupService_StartRecovery_FullMethodName      = "/yandex.cloud.backup.v1.BackupService/StartRecovery"
	BackupService_StartFilesRecovery_FullMethodName = "/yandex.cloud.backup.v1.BackupService/StartFilesRecovery"
	BackupService_Delete_FullMethodName             = "/yandex.cloud.backup.v1.BackupService/Delete"
)
View Source
const (
	PolicyService_List_FullMethodName             = "/yandex.cloud.backup.v1.PolicyService/List"
	PolicyService_Create_FullMethodName           = "/yandex.cloud.backup.v1.PolicyService/Create"
	PolicyService_Get_FullMethodName              = "/yandex.cloud.backup.v1.PolicyService/Get"
	PolicyService_Update_FullMethodName           = "/yandex.cloud.backup.v1.PolicyService/Update"
	PolicyService_Delete_FullMethodName           = "/yandex.cloud.backup.v1.PolicyService/Delete"
	PolicyService_Apply_FullMethodName            = "/yandex.cloud.backup.v1.PolicyService/Apply"
	PolicyService_ListApplications_FullMethodName = "/yandex.cloud.backup.v1.PolicyService/ListApplications"
	PolicyService_Execute_FullMethodName          = "/yandex.cloud.backup.v1.PolicyService/Execute"
	PolicyService_Revoke_FullMethodName           = "/yandex.cloud.backup.v1.PolicyService/Revoke"
)
View Source
const (
	ProviderService_Activate_FullMethodName      = "/yandex.cloud.backup.v1.ProviderService/Activate"
	ProviderService_ListActivated_FullMethodName = "/yandex.cloud.backup.v1.ProviderService/ListActivated"
)
View Source
const (
	ResourceService_List_FullMethodName            = "/yandex.cloud.backup.v1.ResourceService/List"
	ResourceService_Get_FullMethodName             = "/yandex.cloud.backup.v1.ResourceService/Get"
	ResourceService_Delete_FullMethodName          = "/yandex.cloud.backup.v1.ResourceService/Delete"
	ResourceService_ListTasks_FullMethodName       = "/yandex.cloud.backup.v1.ResourceService/ListTasks"
	ResourceService_ListDirectory_FullMethodName   = "/yandex.cloud.backup.v1.ResourceService/ListDirectory"
	ResourceService_CreateDirectory_FullMethodName = "/yandex.cloud.backup.v1.ResourceService/CreateDirectory"
	ResourceService_ListOperations_FullMethodName  = "/yandex.cloud.backup.v1.ResourceService/ListOperations"
)

Variables

View Source
var (
	Archive_EncryptionAlgorithm_name = map[int32]string{
		0: "ENCRYPTION_ALGORITHM_UNSPECIFIED",
		1: "NONE",
		2: "AES128",
		3: "AES192",
		4: "AES256",
	}
	Archive_EncryptionAlgorithm_value = map[string]int32{
		"ENCRYPTION_ALGORITHM_UNSPECIFIED": 0,
		"NONE":                             1,
		"AES128":                           2,
		"AES192":                           3,
		"AES256":                           4,
	}
)

Enum value maps for Archive_EncryptionAlgorithm.

View Source
var (
	Archive_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "REFRESH",
		2: "DELETE_BY_AGENT",
	}
	Archive_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"REFRESH":            1,
		"DELETE_BY_AGENT":    2,
	}
)

Enum value maps for Archive_Action.

View Source
var (
	Backup_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "FULL",
		2: "INCREMENTAL",
	}
	Backup_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"FULL":             1,
		"INCREMENTAL":      2,
	}
)

Enum value maps for Backup_Type.

View Source
var (
	BackupFile_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_DIR",
		2: "TYPE_FILE",
	}
	BackupFile_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_DIR":         1,
		"TYPE_FILE":        2,
	}
)

Enum value maps for BackupFile_Type.

View Source
var (
	FilesRecoveryOptions_Overwrite_name = map[int32]string{
		0: "OVERWRITE_UNSPECIFIED",
		1: "OVERWRITE_ALL",
		2: "OVERWRITE_OLDER",
		3: "OVERWRITE_NONE",
	}
	FilesRecoveryOptions_Overwrite_value = map[string]int32{
		"OVERWRITE_UNSPECIFIED": 0,
		"OVERWRITE_ALL":         1,
		"OVERWRITE_OLDER":       2,
		"OVERWRITE_NONE":        3,
	}
)

Enum value maps for FilesRecoveryOptions_Overwrite.

View Source
var (
	Format_name = map[int32]string{
		0: "FORMAT_UNSPECIFIED",
		1: "VERSION_11",
		2: "VERSION_12",
		3: "AUTO",
	}
	Format_value = map[string]int32{
		"FORMAT_UNSPECIFIED": 0,
		"VERSION_11":         1,
		"VERSION_12":         2,
		"AUTO":               3,
	}
)

Enum value maps for Format.

View Source
var (
	PolicySettings_Compression_name = map[int32]string{
		0: "COMPRESSION_UNSPECIFIED",
		1: "NORMAL",
		2: "HIGH",
		3: "MAX",
		4: "OFF",
	}
	PolicySettings_Compression_value = map[string]int32{
		"COMPRESSION_UNSPECIFIED": 0,
		"NORMAL":                  1,
		"HIGH":                    2,
		"MAX":                     3,
		"OFF":                     4,
	}
)

Enum value maps for PolicySettings_Compression.

View Source
var (
	PolicySettings_RepeatePeriod_name = map[int32]string{
		0: "REPEATE_PERIOD_UNSPECIFIED",
		1: "HOURLY",
		2: "DAILY",
		3: "WEEKLY",
		4: "MONTHLY",
	}
	PolicySettings_RepeatePeriod_value = map[string]int32{
		"REPEATE_PERIOD_UNSPECIFIED": 0,
		"HOURLY":                     1,
		"DAILY":                      2,
		"WEEKLY":                     3,
		"MONTHLY":                    4,
	}
)

Enum value maps for PolicySettings_RepeatePeriod.

View Source
var (
	PolicySettings_Day_name = map[int32]string{
		0: "DAY_UNSPECIFIED",
		1: "MONDAY",
		2: "TUESDAY",
		3: "WEDNESDAY",
		4: "THURSDAY",
		5: "FRIDAY",
		6: "SATURDAY",
		7: "SUNDAY",
	}
	PolicySettings_Day_value = map[string]int32{
		"DAY_UNSPECIFIED": 0,
		"MONDAY":          1,
		"TUESDAY":         2,
		"WEDNESDAY":       3,
		"THURSDAY":        4,
		"FRIDAY":          5,
		"SATURDAY":        6,
		"SUNDAY":          7,
	}
)

Enum value maps for PolicySettings_Day.

View Source
var (
	PolicySettings_ChangedBlockTracking_name = map[int32]string{
		0: "CHANGED_BLOCK_TRACKING_UNSPECIFIED",
		1: "USE_IF_ENABLED",
		2: "ENABLE_AND_USE",
		3: "DO_NOT_USE",
	}
	PolicySettings_ChangedBlockTracking_value = map[string]int32{
		"CHANGED_BLOCK_TRACKING_UNSPECIFIED": 0,
		"USE_IF_ENABLED":                     1,
		"ENABLE_AND_USE":                     2,
		"DO_NOT_USE":                         3,
	}
)

Enum value maps for PolicySettings_ChangedBlockTracking.

View Source
var (
	PolicySettings_Interval_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SECONDS",
		2: "MINUTES",
		3: "HOURS",
		4: "DAYS",
		5: "WEEKS",
		6: "MONTHS",
	}
	PolicySettings_Interval_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SECONDS":          1,
		"MINUTES":          2,
		"HOURS":            3,
		"DAYS":             4,
		"WEEKS":            5,
		"MONTHS":           6,
	}
)

Enum value maps for PolicySettings_Interval_Type.

View Source
var (
	PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider_name = map[int32]string{
		0: "VSS_PROVIDER_UNSPECIFIED",
		1: "NATIVE",
		2: "TARGET_SYSTEM_DEFINED",
	}
	PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider_value = map[string]int32{
		"VSS_PROVIDER_UNSPECIFIED": 0,
		"NATIVE":                   1,
		"TARGET_SYSTEM_DEFINED":    2,
	}
)

Enum value maps for PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider.

View Source
var (
	PolicySettings_Scheduling_Scheme_name = map[int32]string{
		0: "SCHEME_UNSPECIFIED",
		1: "SIMPLE",
		2: "ALWAYS_FULL",
		3: "ALWAYS_INCREMENTAL",
		4: "WEEKLY_INCREMENTAL",
		5: "WEEKLY_FULL_DAILY_INCREMENTAL",
		6: "CUSTOM",
		7: "CDP",
	}
	PolicySettings_Scheduling_Scheme_value = map[string]int32{
		"SCHEME_UNSPECIFIED":            0,
		"SIMPLE":                        1,
		"ALWAYS_FULL":                   2,
		"ALWAYS_INCREMENTAL":            3,
		"WEEKLY_INCREMENTAL":            4,
		"WEEKLY_FULL_DAILY_INCREMENTAL": 5,
		"CUSTOM":                        6,
		"CDP":                           7,
	}
)

Enum value maps for PolicySettings_Scheduling_Scheme.

View Source
var (
	PolicySettings_Scheduling_BackupSet_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_AUTO",
		2: "TYPE_FULL",
		3: "TYPE_INCREMENTAL",
		4: "TYPE_DIFFERENTIAL",
	}
	PolicySettings_Scheduling_BackupSet_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":  0,
		"TYPE_AUTO":         1,
		"TYPE_FULL":         2,
		"TYPE_INCREMENTAL":  3,
		"TYPE_DIFFERENTIAL": 4,
	}
)

Enum value maps for PolicySettings_Scheduling_BackupSet_Type.

View Source
var (
	PolicyApplication_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "OK",
		2: "RUNNING",
		3: "DISABLED",
	}
	PolicyApplication_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"OK":                 1,
		"RUNNING":            2,
		"DISABLED":           3,
	}
)

Enum value maps for PolicyApplication_Status.

View Source
var (
	ResourceType_name = map[int32]string{
		0: "RESOURCE_TYPE_UNSPECIFIED",
		1: "COMPUTE",
		2: "BMS",
	}
	ResourceType_value = map[string]int32{
		"RESOURCE_TYPE_UNSPECIFIED": 0,
		"COMPUTE":                   1,
		"BMS":                       2,
	}
)

Enum value maps for ResourceType.

View Source
var (
	Resource_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "IDLE",
		2: "BACKUPING",
		3: "RECOVERING",
		4: "FAILED",
		5: "OTHER",
	}
	Resource_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"IDLE":               1,
		"BACKUPING":          2,
		"RECOVERING":         3,
		"FAILED":             4,
		"OTHER":              5,
	}
)

Enum value maps for Resource_Status.

View Source
var (
	Resource_InitStatus_name = map[int32]string{
		0: "INIT_STATUS_UNSPECIFIED",
		1: "REGISTERING",
		2: "REGISTRED",
		3: "FAILED_REGISTRATION",
		4: "DELETED",
	}
	Resource_InitStatus_value = map[string]int32{
		"INIT_STATUS_UNSPECIFIED": 0,
		"REGISTERING":             1,
		"REGISTRED":               2,
		"FAILED_REGISTRATION":     3,
		"DELETED":                 4,
	}
)

Enum value maps for Resource_InitStatus.

View Source
var (
	Task_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "BACKUP",
		2: "RETENTION",
		3: "RECOVERY",
		4: "APPLY_POLICY",
		5: "REVOKE_POLICY",
	}
	Task_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"BACKUP":           1,
		"RETENTION":        2,
		"RECOVERY":         3,
		"APPLY_POLICY":     4,
		"REVOKE_POLICY":    5,
	}
)

Enum value maps for Task_Type.

View Source
var (
	Task_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ENQUEUED",
		2: "ASSIGNED",
		3: "STARTED",
		4: "PAUSED",
		5: "COMPLETED",
	}
	Task_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"ENQUEUED":           1,
		"ASSIGNED":           2,
		"STARTED":            3,
		"PAUSED":             4,
		"COMPLETED":          5,
	}
)

Enum value maps for Task_Status.

View Source
var (
	Task_Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "OK",
		2: "ERROR",
		3: "WARNING",
		4: "CANCELLED",
		5: "ABANDONED",
		6: "TIMEDOUT",
	}
	Task_Code_value = map[string]int32{
		"CODE_UNSPECIFIED": 0,
		"OK":               1,
		"ERROR":            2,
		"WARNING":          3,
		"CANCELLED":        4,
		"ABANDONED":        5,
		"TIMEDOUT":         6,
	}
)

Enum value maps for Task_Code.

View Source
var (
	ListDirectoryResponse_FilesystemItem_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "VOLUME",
		2: "DIRECTORY",
		3: "FILE",
	}
	ListDirectoryResponse_FilesystemItem_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"VOLUME":           1,
		"DIRECTORY":        2,
		"FILE":             3,
	}
)

Enum value maps for ListDirectoryResponse_FilesystemItem_Type.

View Source
var BackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.backup.v1.BackupService",
	HandlerType: (*BackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _BackupService_List_Handler,
		},
		{
			MethodName: "ListArchives",
			Handler:    _BackupService_ListArchives_Handler,
		},
		{
			MethodName: "ListFiles",
			Handler:    _BackupService_ListFiles_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _BackupService_Get_Handler,
		},
		{
			MethodName: "StartRecovery",
			Handler:    _BackupService_StartRecovery_Handler,
		},
		{
			MethodName: "StartFilesRecovery",
			Handler:    _BackupService_StartFilesRecovery_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _BackupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/backup/v1/backup_service.proto",
}

BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_backup_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_backup_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_policy_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_provider_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_resource_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_backup_v1_resource_service_proto protoreflect.FileDescriptor
View Source
var PolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.backup.v1.PolicyService",
	HandlerType: (*PolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _PolicyService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _PolicyService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _PolicyService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PolicyService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PolicyService_Delete_Handler,
		},
		{
			MethodName: "Apply",
			Handler:    _PolicyService_Apply_Handler,
		},
		{
			MethodName: "ListApplications",
			Handler:    _PolicyService_ListApplications_Handler,
		},
		{
			MethodName: "Execute",
			Handler:    _PolicyService_Execute_Handler,
		},
		{
			MethodName: "Revoke",
			Handler:    _PolicyService_Revoke_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/backup/v1/policy_service.proto",
}

PolicyService_ServiceDesc is the grpc.ServiceDesc for PolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.backup.v1.ProviderService",
	HandlerType: (*ProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Activate",
			Handler:    _ProviderService_Activate_Handler,
		},
		{
			MethodName: "ListActivated",
			Handler:    _ProviderService_ListActivated_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/backup/v1/provider_service.proto",
}

ProviderService_ServiceDesc is the grpc.ServiceDesc for ProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.backup.v1.ResourceService",
	HandlerType: (*ResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ResourceService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ResourceService_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ResourceService_Delete_Handler,
		},
		{
			MethodName: "ListTasks",
			Handler:    _ResourceService_ListTasks_Handler,
		},
		{
			MethodName: "ListDirectory",
			Handler:    _ResourceService_ListDirectory_Handler,
		},
		{
			MethodName: "CreateDirectory",
			Handler:    _ResourceService_CreateDirectory_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ResourceService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/backup/v1/resource_service.proto",
}

ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBackupServiceServer

func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)

func RegisterPolicyServiceServer

func RegisterPolicyServiceServer(s grpc.ServiceRegistrar, srv PolicyServiceServer)

func RegisterProviderServiceServer

func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)

func RegisterResourceServiceServer

func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)

Types

type ActivateProviderMetadata

type ActivateProviderMetadata struct {

	// Activate provider for folder specified by ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateProviderMetadata) Descriptor deprecated

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

Deprecated: Use ActivateProviderMetadata.ProtoReflect.Descriptor instead.

func (*ActivateProviderMetadata) GetFolderId

func (x *ActivateProviderMetadata) GetFolderId() string

func (*ActivateProviderMetadata) ProtoMessage

func (*ActivateProviderMetadata) ProtoMessage()

func (*ActivateProviderMetadata) ProtoReflect

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

func (*ActivateProviderMetadata) Reset

func (x *ActivateProviderMetadata) Reset()

func (*ActivateProviderMetadata) SetFolderId

func (m *ActivateProviderMetadata) SetFolderId(v string)

func (*ActivateProviderMetadata) String

func (x *ActivateProviderMetadata) String() string

type ActivateProviderRequest

type ActivateProviderRequest struct {

	// Activate provider for Folder iD.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Activate specific provider by name.
	//
	// For more information, please see [activate-provider](/docs/backup/quickstart#activate-provider)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Don't create default policies while activating the provider.
	SkipDefaultPolicy bool `protobuf:"varint,4,opt,name=skip_default_policy,json=skipDefaultPolicy,proto3" json:"skip_default_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateProviderRequest) Descriptor deprecated

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

Deprecated: Use ActivateProviderRequest.ProtoReflect.Descriptor instead.

func (*ActivateProviderRequest) GetFolderId

func (x *ActivateProviderRequest) GetFolderId() string

func (*ActivateProviderRequest) GetName

func (x *ActivateProviderRequest) GetName() string

func (*ActivateProviderRequest) GetSkipDefaultPolicy

func (x *ActivateProviderRequest) GetSkipDefaultPolicy() bool

func (*ActivateProviderRequest) ProtoMessage

func (*ActivateProviderRequest) ProtoMessage()

func (*ActivateProviderRequest) ProtoReflect

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

func (*ActivateProviderRequest) Reset

func (x *ActivateProviderRequest) Reset()

func (*ActivateProviderRequest) SetFolderId

func (m *ActivateProviderRequest) SetFolderId(v string)

func (*ActivateProviderRequest) SetName

func (m *ActivateProviderRequest) SetName(v string)

func (*ActivateProviderRequest) SetSkipDefaultPolicy

func (m *ActivateProviderRequest) SetSkipDefaultPolicy(v bool)

func (*ActivateProviderRequest) String

func (x *ActivateProviderRequest) String() string

type ApplyPolicyMetadata

type ApplyPolicyMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyPolicyMetadata) Descriptor deprecated

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

Deprecated: Use ApplyPolicyMetadata.ProtoReflect.Descriptor instead.

func (*ApplyPolicyMetadata) GetComputeInstanceId

func (x *ApplyPolicyMetadata) GetComputeInstanceId() string

func (*ApplyPolicyMetadata) GetPolicyId

func (x *ApplyPolicyMetadata) GetPolicyId() string

func (*ApplyPolicyMetadata) ProtoMessage

func (*ApplyPolicyMetadata) ProtoMessage()

func (*ApplyPolicyMetadata) ProtoReflect

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

func (*ApplyPolicyMetadata) Reset

func (x *ApplyPolicyMetadata) Reset()

func (*ApplyPolicyMetadata) SetComputeInstanceId

func (m *ApplyPolicyMetadata) SetComputeInstanceId(v string)

func (*ApplyPolicyMetadata) SetPolicyId

func (m *ApplyPolicyMetadata) SetPolicyId(v string)

func (*ApplyPolicyMetadata) String

func (x *ApplyPolicyMetadata) String() string

type ApplyPolicyRequest

type ApplyPolicyRequest struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyPolicyRequest) Descriptor deprecated

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

Deprecated: Use ApplyPolicyRequest.ProtoReflect.Descriptor instead.

func (*ApplyPolicyRequest) GetComputeInstanceId

func (x *ApplyPolicyRequest) GetComputeInstanceId() string

func (*ApplyPolicyRequest) GetPolicyId

func (x *ApplyPolicyRequest) GetPolicyId() string

func (*ApplyPolicyRequest) ProtoMessage

func (*ApplyPolicyRequest) ProtoMessage()

func (*ApplyPolicyRequest) ProtoReflect

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

func (*ApplyPolicyRequest) Reset

func (x *ApplyPolicyRequest) Reset()

func (*ApplyPolicyRequest) SetComputeInstanceId

func (m *ApplyPolicyRequest) SetComputeInstanceId(v string)

func (*ApplyPolicyRequest) SetPolicyId

func (m *ApplyPolicyRequest) SetPolicyId(v string)

func (*ApplyPolicyRequest) String

func (x *ApplyPolicyRequest) String() string

type Archive

type Archive struct {

	// ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the backup.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the backup vault.
	VaultId string `protobuf:"bytes,3,opt,name=vault_id,json=vaultId,proto3" json:"vault_id,omitempty"`
	// Archive attributes.
	Attributes *Archive_ArchiveAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Archive size.
	Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// Compressed data size.
	CompressedDataSize int64 `protobuf:"varint,6,opt,name=compressed_data_size,json=compressedDataSize,proto3" json:"compressed_data_size,omitempty"`
	// Data size.
	DataSize int64 `protobuf:"varint,7,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	// Original data size.
	OriginalDataSize int64 `protobuf:"varint,8,opt,name=original_data_size,json=originalDataSize,proto3" json:"original_data_size,omitempty"`
	// Logical size.
	LogicalSize         int64                  `protobuf:"varint,9,opt,name=logical_size,json=logicalSize,proto3" json:"logical_size,omitempty"`
	Format              Format                 `protobuf:"varint,10,opt,name=format,proto3,enum=yandex.cloud.backup.v1.Format" json:"format,omitempty"`
	CreatedAt           *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt           *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	LastBackupCreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=last_backup_created_at,json=lastBackupCreatedAt,proto3" json:"last_backup_created_at,omitempty"`
	LastSeenAt          *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
	// If this field is true, it means that any of encryption algorithm
	// has been chosen.
	ProtectedByPassword bool                        `protobuf:"varint,15,opt,name=protected_by_password,json=protectedByPassword,proto3" json:"protected_by_password,omitempty"`
	EncryptionAlgorithm Archive_EncryptionAlgorithm `` /* 176-byte string literal not displayed */
	Actions             []Archive_Action            `protobuf:"varint,20,rep,packed,name=actions,proto3,enum=yandex.cloud.backup.v1.Archive_Action" json:"actions,omitempty"`
	// Backup plan ID.
	BackupPlanId string `protobuf:"bytes,22,opt,name=backup_plan_id,json=backupPlanId,proto3" json:"backup_plan_id,omitempty"`
	// Backup plan name.
	BackupPlanName string `protobuf:"bytes,23,opt,name=backup_plan_name,json=backupPlanName,proto3" json:"backup_plan_name,omitempty"`
	// Backup plan description.
	Description string `protobuf:"bytes,24,opt,name=description,proto3" json:"description,omitempty"`
	// Display name, e.g. `INSTANCE_NAME - POLICY_NAME`.
	DisplayName string `protobuf:"bytes,25,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,26,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// If this field is true, it means that the archive is consistent.
	Consistent bool `protobuf:"varint,27,opt,name=consistent,proto3" json:"consistent,omitempty"`
	// If this field is true, it means that the archive was deleted.
	Deleted bool `protobuf:"varint,30,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Resource ID.
	ResourceId string `protobuf:"bytes,31,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

Archive is a container that holds backups of Compute Cloud instance.

func (*Archive) Descriptor deprecated

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

Deprecated: Use Archive.ProtoReflect.Descriptor instead.

func (*Archive) GetActions

func (x *Archive) GetActions() []Archive_Action

func (*Archive) GetAttributes

func (x *Archive) GetAttributes() *Archive_ArchiveAttributes

func (*Archive) GetBackupPlanId

func (x *Archive) GetBackupPlanId() string

func (*Archive) GetBackupPlanName

func (x *Archive) GetBackupPlanName() string

func (*Archive) GetCompressedDataSize

func (x *Archive) GetCompressedDataSize() int64

func (*Archive) GetComputeInstanceId

func (x *Archive) GetComputeInstanceId() string

func (*Archive) GetConsistent

func (x *Archive) GetConsistent() bool

func (*Archive) GetCreatedAt

func (x *Archive) GetCreatedAt() *timestamppb.Timestamp

func (*Archive) GetDataSize

func (x *Archive) GetDataSize() int64

func (*Archive) GetDeleted

func (x *Archive) GetDeleted() bool

func (*Archive) GetDescription

func (x *Archive) GetDescription() string

func (*Archive) GetDisplayName

func (x *Archive) GetDisplayName() string

func (*Archive) GetEncryptionAlgorithm

func (x *Archive) GetEncryptionAlgorithm() Archive_EncryptionAlgorithm

func (*Archive) GetFormat

func (x *Archive) GetFormat() Format

func (*Archive) GetId

func (x *Archive) GetId() string

func (*Archive) GetLastBackupCreatedAt

func (x *Archive) GetLastBackupCreatedAt() *timestamppb.Timestamp

func (*Archive) GetLastSeenAt

func (x *Archive) GetLastSeenAt() *timestamppb.Timestamp

func (*Archive) GetLogicalSize

func (x *Archive) GetLogicalSize() int64

func (*Archive) GetName

func (x *Archive) GetName() string

func (*Archive) GetOriginalDataSize

func (x *Archive) GetOriginalDataSize() int64

func (*Archive) GetProtectedByPassword

func (x *Archive) GetProtectedByPassword() bool

func (*Archive) GetResourceId

func (x *Archive) GetResourceId() string

func (*Archive) GetSize

func (x *Archive) GetSize() int64

func (*Archive) GetUpdatedAt

func (x *Archive) GetUpdatedAt() *timestamppb.Timestamp

func (*Archive) GetVaultId

func (x *Archive) GetVaultId() string

func (*Archive) ProtoMessage

func (*Archive) ProtoMessage()

func (*Archive) ProtoReflect

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

func (*Archive) Reset

func (x *Archive) Reset()

func (*Archive) SetActions

func (m *Archive) SetActions(v []Archive_Action)

func (*Archive) SetAttributes

func (m *Archive) SetAttributes(v *Archive_ArchiveAttributes)

func (*Archive) SetBackupPlanId

func (m *Archive) SetBackupPlanId(v string)

func (*Archive) SetBackupPlanName

func (m *Archive) SetBackupPlanName(v string)

func (*Archive) SetCompressedDataSize

func (m *Archive) SetCompressedDataSize(v int64)

func (*Archive) SetComputeInstanceId

func (m *Archive) SetComputeInstanceId(v string)

func (*Archive) SetConsistent

func (m *Archive) SetConsistent(v bool)

func (*Archive) SetCreatedAt

func (m *Archive) SetCreatedAt(v *timestamppb.Timestamp)

func (*Archive) SetDataSize

func (m *Archive) SetDataSize(v int64)

func (*Archive) SetDeleted

func (m *Archive) SetDeleted(v bool)

func (*Archive) SetDescription

func (m *Archive) SetDescription(v string)

func (*Archive) SetDisplayName

func (m *Archive) SetDisplayName(v string)

func (*Archive) SetEncryptionAlgorithm

func (m *Archive) SetEncryptionAlgorithm(v Archive_EncryptionAlgorithm)

func (*Archive) SetFormat

func (m *Archive) SetFormat(v Format)

func (*Archive) SetId

func (m *Archive) SetId(v string)

func (*Archive) SetLastBackupCreatedAt

func (m *Archive) SetLastBackupCreatedAt(v *timestamppb.Timestamp)

func (*Archive) SetLastSeenAt

func (m *Archive) SetLastSeenAt(v *timestamppb.Timestamp)

func (*Archive) SetLogicalSize

func (m *Archive) SetLogicalSize(v int64)

func (*Archive) SetName

func (m *Archive) SetName(v string)

func (*Archive) SetOriginalDataSize

func (m *Archive) SetOriginalDataSize(v int64)

func (*Archive) SetProtectedByPassword

func (m *Archive) SetProtectedByPassword(v bool)

func (*Archive) SetResourceId

func (m *Archive) SetResourceId(v string)

func (*Archive) SetSize

func (m *Archive) SetSize(v int64)

func (*Archive) SetUpdatedAt

func (m *Archive) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Archive) SetVaultId

func (m *Archive) SetVaultId(v string)

func (*Archive) String

func (x *Archive) String() string

type Archive_Action

type Archive_Action int32

Action with archive backup: `ACTION_UNSPECIFIED`, `REFRESH`, `DELETE_BY_AGENT`.

const (
	Archive_ACTION_UNSPECIFIED Archive_Action = 0
	Archive_REFRESH            Archive_Action = 1
	Archive_DELETE_BY_AGENT    Archive_Action = 2
)

func (Archive_Action) Descriptor

func (Archive_Action) Enum

func (x Archive_Action) Enum() *Archive_Action

func (Archive_Action) EnumDescriptor deprecated

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

Deprecated: Use Archive_Action.Descriptor instead.

func (Archive_Action) Number

func (Archive_Action) String

func (x Archive_Action) String() string

func (Archive_Action) Type

type Archive_ArchiveAttributes

type Archive_ArchiveAttributes struct {

	// Archive attribute. Default value: `0`.
	Aaib string `protobuf:"bytes,1,opt,name=aaib,proto3" json:"aaib,omitempty"`
	// URI of the backup archive.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Archive attributes.

func (*Archive_ArchiveAttributes) Descriptor deprecated

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

Deprecated: Use Archive_ArchiveAttributes.ProtoReflect.Descriptor instead.

func (*Archive_ArchiveAttributes) GetAaib

func (x *Archive_ArchiveAttributes) GetAaib() string

func (*Archive_ArchiveAttributes) GetUri

func (x *Archive_ArchiveAttributes) GetUri() string

func (*Archive_ArchiveAttributes) ProtoMessage

func (*Archive_ArchiveAttributes) ProtoMessage()

func (*Archive_ArchiveAttributes) ProtoReflect

func (*Archive_ArchiveAttributes) Reset

func (x *Archive_ArchiveAttributes) Reset()

func (*Archive_ArchiveAttributes) SetAaib

func (m *Archive_ArchiveAttributes) SetAaib(v string)

func (*Archive_ArchiveAttributes) SetUri

func (m *Archive_ArchiveAttributes) SetUri(v string)

func (*Archive_ArchiveAttributes) String

func (x *Archive_ArchiveAttributes) String() string

type Archive_EncryptionAlgorithm

type Archive_EncryptionAlgorithm int32

Encryption Algorithm for underlying backups: `ENCRYPTION_ALGORITHM_UNSPECIFIED`, `NONE`, `AES128`, `AES192`, `AES256`.

const (
	Archive_ENCRYPTION_ALGORITHM_UNSPECIFIED Archive_EncryptionAlgorithm = 0
	Archive_NONE                             Archive_EncryptionAlgorithm = 1
	Archive_AES128                           Archive_EncryptionAlgorithm = 2
	Archive_AES192                           Archive_EncryptionAlgorithm = 3
	Archive_AES256                           Archive_EncryptionAlgorithm = 4
)

func (Archive_EncryptionAlgorithm) Descriptor

func (Archive_EncryptionAlgorithm) Enum

func (Archive_EncryptionAlgorithm) EnumDescriptor deprecated

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

Deprecated: Use Archive_EncryptionAlgorithm.Descriptor instead.

func (Archive_EncryptionAlgorithm) Number

func (Archive_EncryptionAlgorithm) String

func (Archive_EncryptionAlgorithm) Type

type Backup

type Backup struct {

	// ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the backup vault.
	VaultId string `protobuf:"bytes,2,opt,name=vault_id,json=vaultId,proto3" json:"vault_id,omitempty"`
	// ID of the backup archive.
	ArchiveId  string                 `protobuf:"bytes,3,opt,name=archive_id,json=archiveId,proto3" json:"archive_id,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	LastSeenAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
	// Backup size.
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// Deduplicated backup size.
	DeduplicatedSize int64 `protobuf:"varint,7,opt,name=deduplicated_size,json=deduplicatedSize,proto3" json:"deduplicated_size,omitempty"`
	// Backed up data size.
	BackedUpDataSize int64 `protobuf:"varint,8,opt,name=backed_up_data_size,json=backedUpDataSize,proto3" json:"backed_up_data_size,omitempty"`
	// Original data size.
	OriginalDataSize int64                    `protobuf:"varint,9,opt,name=original_data_size,json=originalDataSize,proto3" json:"original_data_size,omitempty"`
	Attributes       *Backup_BackupAttributes `protobuf:"bytes,10,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string      `protobuf:"bytes,11,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	Disks             []*Disk     `protobuf:"bytes,14,rep,name=disks,proto3" json:"disks,omitempty"`
	Type              Backup_Type `protobuf:"varint,15,opt,name=type,proto3,enum=yandex.cloud.backup.v1.Backup_Type" json:"type,omitempty"`
	// If this field is true, it means that the backup was deleted.
	Deleted bool `protobuf:"varint,21,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// [Policy](/docs/backup/concepts/policy) ID.
	PolicyId string `protobuf:"bytes,22,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Resource ID. It identifies Compute Cloud instance in backup service.
	ResourceId string `protobuf:"bytes,23,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Backup) Descriptor deprecated

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetArchiveId

func (x *Backup) GetArchiveId() string

func (*Backup) GetAttributes

func (x *Backup) GetAttributes() *Backup_BackupAttributes

func (*Backup) GetBackedUpDataSize

func (x *Backup) GetBackedUpDataSize() int64

func (*Backup) GetComputeInstanceId

func (x *Backup) GetComputeInstanceId() string

func (*Backup) GetCreatedAt

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

func (*Backup) GetDeduplicatedSize

func (x *Backup) GetDeduplicatedSize() int64

func (*Backup) GetDeleted

func (x *Backup) GetDeleted() bool

func (*Backup) GetDisks

func (x *Backup) GetDisks() []*Disk

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetLastSeenAt

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

func (*Backup) GetOriginalDataSize

func (x *Backup) GetOriginalDataSize() int64

func (*Backup) GetPolicyId

func (x *Backup) GetPolicyId() string

func (*Backup) GetResourceId

func (x *Backup) GetResourceId() string

func (*Backup) GetSize

func (x *Backup) GetSize() int64

func (*Backup) GetType

func (x *Backup) GetType() Backup_Type

func (*Backup) GetVaultId

func (x *Backup) GetVaultId() string

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) SetArchiveId

func (m *Backup) SetArchiveId(v string)

func (*Backup) SetAttributes

func (m *Backup) SetAttributes(v *Backup_BackupAttributes)

func (*Backup) SetBackedUpDataSize

func (m *Backup) SetBackedUpDataSize(v int64)

func (*Backup) SetComputeInstanceId

func (m *Backup) SetComputeInstanceId(v string)

func (*Backup) SetCreatedAt

func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)

func (*Backup) SetDeduplicatedSize

func (m *Backup) SetDeduplicatedSize(v int64)

func (*Backup) SetDeleted

func (m *Backup) SetDeleted(v bool)

func (*Backup) SetDisks

func (m *Backup) SetDisks(v []*Disk)

func (*Backup) SetId

func (m *Backup) SetId(v string)

func (*Backup) SetLastSeenAt

func (m *Backup) SetLastSeenAt(v *timestamppb.Timestamp)

func (*Backup) SetOriginalDataSize

func (m *Backup) SetOriginalDataSize(v int64)

func (*Backup) SetPolicyId

func (m *Backup) SetPolicyId(v string)

func (*Backup) SetResourceId

func (m *Backup) SetResourceId(v string)

func (*Backup) SetSize

func (m *Backup) SetSize(v int64)

func (*Backup) SetType

func (m *Backup) SetType(v Backup_Type)

func (*Backup) SetVaultId

func (m *Backup) SetVaultId(v string)

func (*Backup) String

func (x *Backup) String() string

type BackupFile

type BackupFile struct {

	// ID of the item. Should be used as source ID in case of listing.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Might be empty if this is root directory.
	ParentId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// Type of the item.
	Type BackupFile_Type `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.backup.v1.BackupFile_Type" json:"type,omitempty"`
	// Absolute path of the item.
	FullPath string `protobuf:"bytes,4,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`
	// Name of the directory / file.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Size in bytes of the item.
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// Actions that might be done on the object.
	Actions    *BackupFile_Actions    `protobuf:"bytes,7,opt,name=actions,proto3" json:"actions,omitempty"`
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// contains filtered or unexported fields
}

BackupFile represents a single unit of file or directory system inside the backup.

func (*BackupFile) Descriptor deprecated

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

Deprecated: Use BackupFile.ProtoReflect.Descriptor instead.

func (*BackupFile) GetActions

func (x *BackupFile) GetActions() *BackupFile_Actions

func (*BackupFile) GetFullPath

func (x *BackupFile) GetFullPath() string

func (*BackupFile) GetId

func (x *BackupFile) GetId() string

func (*BackupFile) GetModifiedAt

func (x *BackupFile) GetModifiedAt() *timestamppb.Timestamp

func (*BackupFile) GetName

func (x *BackupFile) GetName() string

func (*BackupFile) GetParentId

func (x *BackupFile) GetParentId() *wrapperspb.StringValue

func (*BackupFile) GetSize

func (x *BackupFile) GetSize() int64

func (*BackupFile) GetType

func (x *BackupFile) GetType() BackupFile_Type

func (*BackupFile) ProtoMessage

func (*BackupFile) ProtoMessage()

func (*BackupFile) ProtoReflect

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

func (*BackupFile) Reset

func (x *BackupFile) Reset()

func (*BackupFile) SetActions

func (m *BackupFile) SetActions(v *BackupFile_Actions)

func (*BackupFile) SetFullPath

func (m *BackupFile) SetFullPath(v string)

func (*BackupFile) SetId

func (m *BackupFile) SetId(v string)

func (*BackupFile) SetModifiedAt

func (m *BackupFile) SetModifiedAt(v *timestamppb.Timestamp)

func (*BackupFile) SetName

func (m *BackupFile) SetName(v string)

func (*BackupFile) SetParentId

func (m *BackupFile) SetParentId(v *wrapperspb.StringValue)

func (*BackupFile) SetSize

func (m *BackupFile) SetSize(v int64)

func (*BackupFile) SetType

func (m *BackupFile) SetType(v BackupFile_Type)

func (*BackupFile) String

func (x *BackupFile) String() string

type BackupFile_Actions

type BackupFile_Actions struct {

	// Allows to send request to restore item to disk
	RestoreToDisk bool `protobuf:"varint,1,opt,name=restore_to_disk,json=restoreToDisk,proto3" json:"restore_to_disk,omitempty"`
	// Allows to move to location by id.
	GoToLocation bool `protobuf:"varint,2,opt,name=go_to_location,json=goToLocation,proto3" json:"go_to_location,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupFile_Actions) Descriptor deprecated

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

Deprecated: Use BackupFile_Actions.ProtoReflect.Descriptor instead.

func (*BackupFile_Actions) GetGoToLocation

func (x *BackupFile_Actions) GetGoToLocation() bool

func (*BackupFile_Actions) GetRestoreToDisk

func (x *BackupFile_Actions) GetRestoreToDisk() bool

func (*BackupFile_Actions) ProtoMessage

func (*BackupFile_Actions) ProtoMessage()

func (*BackupFile_Actions) ProtoReflect

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

func (*BackupFile_Actions) Reset

func (x *BackupFile_Actions) Reset()

func (*BackupFile_Actions) SetGoToLocation

func (m *BackupFile_Actions) SetGoToLocation(v bool)

func (*BackupFile_Actions) SetRestoreToDisk

func (m *BackupFile_Actions) SetRestoreToDisk(v bool)

func (*BackupFile_Actions) String

func (x *BackupFile_Actions) String() string

type BackupFile_Type

type BackupFile_Type int32

Type of the file.

const (
	BackupFile_TYPE_UNSPECIFIED BackupFile_Type = 0
	BackupFile_TYPE_DIR         BackupFile_Type = 1
	BackupFile_TYPE_FILE        BackupFile_Type = 2
)

func (BackupFile_Type) Descriptor

func (BackupFile_Type) Enum

func (x BackupFile_Type) Enum() *BackupFile_Type

func (BackupFile_Type) EnumDescriptor deprecated

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

Deprecated: Use BackupFile_Type.Descriptor instead.

func (BackupFile_Type) Number

func (BackupFile_Type) String

func (x BackupFile_Type) String() string

func (BackupFile_Type) Type

type BackupServiceClient

type BackupServiceClient interface {
	// List backups using filters.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// List archives that holds backups for specified folder or
	// specified [Compute Cloud instance](/docs/backup/concepts/vm-connection#os).
	ListArchives(ctx context.Context, in *ListArchivesRequest, opts ...grpc.CallOption) (*ListArchivesResponse, error)
	// ListFiles of the backup.
	ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
	// Get backup by its id.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Start recovery process of specified backup to specific Compute Cloud instance.
	//
	// For details, see [Restoring a VM from a backup](/docs/backup/operations/backup-vm/recover).
	StartRecovery(ctx context.Context, in *StartRecoveryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// StartFilesRecovery runs recovery process of selected files to specific Compute Cloud instance.
	StartFilesRecovery(ctx context.Context, in *StartFilesRecoveryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Delete specific backup.
	Delete(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

BackupServiceClient is the client API for BackupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A set of methods for managing [backups](/docs/backup/concepts/backup).

type BackupServiceServer

type BackupServiceServer interface {
	// List backups using filters.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// List archives that holds backups for specified folder or
	// specified [Compute Cloud instance](/docs/backup/concepts/vm-connection#os).
	ListArchives(context.Context, *ListArchivesRequest) (*ListArchivesResponse, error)
	// ListFiles of the backup.
	ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
	// Get backup by its id.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	// Start recovery process of specified backup to specific Compute Cloud instance.
	//
	// For details, see [Restoring a VM from a backup](/docs/backup/operations/backup-vm/recover).
	StartRecovery(context.Context, *StartRecoveryRequest) (*operation.Operation, error)
	// StartFilesRecovery runs recovery process of selected files to specific Compute Cloud instance.
	StartFilesRecovery(context.Context, *StartFilesRecoveryRequest) (*operation.Operation, error)
	// Delete specific backup.
	Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
}

BackupServiceServer is the server API for BackupService service. All implementations should embed UnimplementedBackupServiceServer for forward compatibility.

A set of methods for managing [backups](/docs/backup/concepts/backup).

type Backup_BackupAttributes

type Backup_BackupAttributes struct {

	// Backup stream name.
	StreamName string `protobuf:"bytes,1,opt,name=stream_name,json=streamName,proto3" json:"stream_name,omitempty"`
	// URI of the backup archive.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Backup attributes.

func (*Backup_BackupAttributes) Descriptor deprecated

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

Deprecated: Use Backup_BackupAttributes.ProtoReflect.Descriptor instead.

func (*Backup_BackupAttributes) GetStreamName

func (x *Backup_BackupAttributes) GetStreamName() string

func (*Backup_BackupAttributes) GetUri

func (x *Backup_BackupAttributes) GetUri() string

func (*Backup_BackupAttributes) ProtoMessage

func (*Backup_BackupAttributes) ProtoMessage()

func (*Backup_BackupAttributes) ProtoReflect

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

func (*Backup_BackupAttributes) Reset

func (x *Backup_BackupAttributes) Reset()

func (*Backup_BackupAttributes) SetStreamName

func (m *Backup_BackupAttributes) SetStreamName(v string)

func (*Backup_BackupAttributes) SetUri

func (m *Backup_BackupAttributes) SetUri(v string)

func (*Backup_BackupAttributes) String

func (x *Backup_BackupAttributes) String() string

type Backup_Type

type Backup_Type int32

Backup type. For detailed information, please see [Backup types](/docs/backup/concepts/backup#types).

const (
	Backup_TYPE_UNSPECIFIED Backup_Type = 0
	Backup_FULL             Backup_Type = 1
	Backup_INCREMENTAL      Backup_Type = 2
)

func (Backup_Type) Descriptor

func (Backup_Type) Enum

func (x Backup_Type) Enum() *Backup_Type

func (Backup_Type) EnumDescriptor deprecated

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

Deprecated: Use Backup_Type.Descriptor instead.

func (Backup_Type) Number

func (x Backup_Type) Number() protoreflect.EnumNumber

func (Backup_Type) String

func (x Backup_Type) String() string

func (Backup_Type) Type

type CreateDirectoryMetadata

type CreateDirectoryMetadata struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Path to create directory metadata in.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDirectoryMetadata) Descriptor deprecated

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

Deprecated: Use CreateDirectoryMetadata.ProtoReflect.Descriptor instead.

func (*CreateDirectoryMetadata) GetComputeInstanceId

func (x *CreateDirectoryMetadata) GetComputeInstanceId() string

func (*CreateDirectoryMetadata) GetPath

func (x *CreateDirectoryMetadata) GetPath() string

func (*CreateDirectoryMetadata) ProtoMessage

func (*CreateDirectoryMetadata) ProtoMessage()

func (*CreateDirectoryMetadata) ProtoReflect

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

func (*CreateDirectoryMetadata) Reset

func (x *CreateDirectoryMetadata) Reset()

func (*CreateDirectoryMetadata) SetComputeInstanceId

func (m *CreateDirectoryMetadata) SetComputeInstanceId(v string)

func (*CreateDirectoryMetadata) SetPath

func (m *CreateDirectoryMetadata) SetPath(v string)

func (*CreateDirectoryMetadata) String

func (x *CreateDirectoryMetadata) String() string

type CreateDirectoryRequest

type CreateDirectoryRequest struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Path to create directory in.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDirectoryRequest) Descriptor deprecated

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

Deprecated: Use CreateDirectoryRequest.ProtoReflect.Descriptor instead.

func (*CreateDirectoryRequest) GetComputeInstanceId

func (x *CreateDirectoryRequest) GetComputeInstanceId() string

func (*CreateDirectoryRequest) GetFolderId

func (x *CreateDirectoryRequest) GetFolderId() string

func (*CreateDirectoryRequest) GetPath

func (x *CreateDirectoryRequest) GetPath() string

func (*CreateDirectoryRequest) ProtoMessage

func (*CreateDirectoryRequest) ProtoMessage()

func (*CreateDirectoryRequest) ProtoReflect

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

func (*CreateDirectoryRequest) Reset

func (x *CreateDirectoryRequest) Reset()

func (*CreateDirectoryRequest) SetComputeInstanceId

func (m *CreateDirectoryRequest) SetComputeInstanceId(v string)

func (*CreateDirectoryRequest) SetFolderId

func (m *CreateDirectoryRequest) SetFolderId(v string)

func (*CreateDirectoryRequest) SetPath

func (m *CreateDirectoryRequest) SetPath(v string)

func (*CreateDirectoryRequest) String

func (x *CreateDirectoryRequest) String() string

type CreatePolicyMetadata

type CreatePolicyMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyMetadata) Descriptor deprecated

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

Deprecated: Use CreatePolicyMetadata.ProtoReflect.Descriptor instead.

func (*CreatePolicyMetadata) GetPolicyId

func (x *CreatePolicyMetadata) GetPolicyId() string

func (*CreatePolicyMetadata) ProtoMessage

func (*CreatePolicyMetadata) ProtoMessage()

func (*CreatePolicyMetadata) ProtoReflect

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

func (*CreatePolicyMetadata) Reset

func (x *CreatePolicyMetadata) Reset()

func (*CreatePolicyMetadata) SetPolicyId

func (m *CreatePolicyMetadata) SetPolicyId(v string)

func (*CreatePolicyMetadata) String

func (x *CreatePolicyMetadata) String() string

type CreatePolicyRequest

type CreatePolicyRequest struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Policy name.
	Name     string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Settings *PolicySettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyRequest) Descriptor deprecated

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

Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyRequest) GetFolderId

func (x *CreatePolicyRequest) GetFolderId() string

func (*CreatePolicyRequest) GetName

func (x *CreatePolicyRequest) GetName() string

func (*CreatePolicyRequest) GetSettings

func (x *CreatePolicyRequest) GetSettings() *PolicySettings

func (*CreatePolicyRequest) ProtoMessage

func (*CreatePolicyRequest) ProtoMessage()

func (*CreatePolicyRequest) ProtoReflect

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

func (*CreatePolicyRequest) Reset

func (x *CreatePolicyRequest) Reset()

func (*CreatePolicyRequest) SetFolderId

func (m *CreatePolicyRequest) SetFolderId(v string)

func (*CreatePolicyRequest) SetName

func (m *CreatePolicyRequest) SetName(v string)

func (*CreatePolicyRequest) SetSettings

func (m *CreatePolicyRequest) SetSettings(v *PolicySettings)

func (*CreatePolicyRequest) String

func (x *CreatePolicyRequest) String() string

type DeleteBackupMetadata

type DeleteBackupMetadata struct {

	// Compute Cloud instance ID of the Backup.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Backup ID that should be deleted.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupMetadata) Descriptor deprecated

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

Deprecated: Use DeleteBackupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteBackupMetadata) GetBackupId

func (x *DeleteBackupMetadata) GetBackupId() string

func (*DeleteBackupMetadata) GetComputeInstanceId

func (x *DeleteBackupMetadata) GetComputeInstanceId() string

func (*DeleteBackupMetadata) ProtoMessage

func (*DeleteBackupMetadata) ProtoMessage()

func (*DeleteBackupMetadata) ProtoReflect

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

func (*DeleteBackupMetadata) Reset

func (x *DeleteBackupMetadata) Reset()

func (*DeleteBackupMetadata) SetBackupId

func (m *DeleteBackupMetadata) SetBackupId(v string)

func (*DeleteBackupMetadata) SetComputeInstanceId

func (m *DeleteBackupMetadata) SetComputeInstanceId(v string)

func (*DeleteBackupMetadata) String

func (x *DeleteBackupMetadata) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// Compute Cloud instance ID of the Backup.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Backup ID that should be deleted.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupRequest) Descriptor deprecated

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetBackupId

func (x *DeleteBackupRequest) GetBackupId() string

func (*DeleteBackupRequest) GetComputeInstanceId

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

func (m *DeleteBackupRequest) SetBackupId(v string)

func (*DeleteBackupRequest) SetComputeInstanceId

func (m *DeleteBackupRequest) SetComputeInstanceId(v string)

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

type DeletePolicyMetadata

type DeletePolicyMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePolicyMetadata) Descriptor deprecated

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

Deprecated: Use DeletePolicyMetadata.ProtoReflect.Descriptor instead.

func (*DeletePolicyMetadata) GetPolicyId

func (x *DeletePolicyMetadata) GetPolicyId() string

func (*DeletePolicyMetadata) ProtoMessage

func (*DeletePolicyMetadata) ProtoMessage()

func (*DeletePolicyMetadata) ProtoReflect

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

func (*DeletePolicyMetadata) Reset

func (x *DeletePolicyMetadata) Reset()

func (*DeletePolicyMetadata) SetPolicyId

func (m *DeletePolicyMetadata) SetPolicyId(v string)

func (*DeletePolicyMetadata) String

func (x *DeletePolicyMetadata) String() string

type DeletePolicyRequest

type DeletePolicyRequest struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePolicyRequest) Descriptor deprecated

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

Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyRequest) GetPolicyId

func (x *DeletePolicyRequest) GetPolicyId() string

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect

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

func (*DeletePolicyRequest) Reset

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) SetPolicyId

func (m *DeletePolicyRequest) SetPolicyId(v string)

func (*DeletePolicyRequest) String

func (x *DeletePolicyRequest) String() string

type DeleteResourceMetadata

type DeleteResourceMetadata struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceMetadata) Descriptor deprecated

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

Deprecated: Use DeleteResourceMetadata.ProtoReflect.Descriptor instead.

func (*DeleteResourceMetadata) GetComputeInstanceId

func (x *DeleteResourceMetadata) GetComputeInstanceId() string

func (*DeleteResourceMetadata) ProtoMessage

func (*DeleteResourceMetadata) ProtoMessage()

func (*DeleteResourceMetadata) ProtoReflect

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

func (*DeleteResourceMetadata) Reset

func (x *DeleteResourceMetadata) Reset()

func (*DeleteResourceMetadata) SetComputeInstanceId

func (m *DeleteResourceMetadata) SetComputeInstanceId(v string)

func (*DeleteResourceMetadata) String

func (x *DeleteResourceMetadata) String() string

type DeleteResourceRequest

type DeleteResourceRequest struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Resource ID is used to identify Compute Cloud instance in backup service.
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetComputeInstanceId

func (x *DeleteResourceRequest) GetComputeInstanceId() string

func (*DeleteResourceRequest) GetResourceId

func (x *DeleteResourceRequest) GetResourceId() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) SetComputeInstanceId

func (m *DeleteResourceRequest) SetComputeInstanceId(v string)

func (*DeleteResourceRequest) SetResourceId

func (m *DeleteResourceRequest) SetResourceId(v string)

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type Disk

type Disk struct {

	// Device model.
	DeviceModel string `protobuf:"bytes,1,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
	// Disk name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Disk size.
	Size    int64     `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Volumes []*Volume `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*Disk) Descriptor deprecated

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

Deprecated: Use Disk.ProtoReflect.Descriptor instead.

func (*Disk) GetDeviceModel

func (x *Disk) GetDeviceModel() string

func (*Disk) GetName

func (x *Disk) GetName() string

func (*Disk) GetSize

func (x *Disk) GetSize() int64

func (*Disk) GetVolumes

func (x *Disk) GetVolumes() []*Volume

func (*Disk) ProtoMessage

func (*Disk) ProtoMessage()

func (*Disk) ProtoReflect

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

func (*Disk) Reset

func (x *Disk) Reset()

func (*Disk) SetDeviceModel

func (m *Disk) SetDeviceModel(v string)

func (*Disk) SetName

func (m *Disk) SetName(v string)

func (*Disk) SetSize

func (m *Disk) SetSize(v int64)

func (*Disk) SetVolumes

func (m *Disk) SetVolumes(v []*Volume)

func (*Disk) String

func (x *Disk) String() string

type ExecuteMetadata

type ExecuteMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Progress of the backup process.
	ProgressPercentage float64 `protobuf:"fixed64,3,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteMetadata) Descriptor deprecated

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

Deprecated: Use ExecuteMetadata.ProtoReflect.Descriptor instead.

func (*ExecuteMetadata) GetComputeInstanceId

func (x *ExecuteMetadata) GetComputeInstanceId() string

func (*ExecuteMetadata) GetPolicyId

func (x *ExecuteMetadata) GetPolicyId() string

func (*ExecuteMetadata) GetProgressPercentage

func (x *ExecuteMetadata) GetProgressPercentage() float64

func (*ExecuteMetadata) ProtoMessage

func (*ExecuteMetadata) ProtoMessage()

func (*ExecuteMetadata) ProtoReflect

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

func (*ExecuteMetadata) Reset

func (x *ExecuteMetadata) Reset()

func (*ExecuteMetadata) SetComputeInstanceId

func (m *ExecuteMetadata) SetComputeInstanceId(v string)

func (*ExecuteMetadata) SetPolicyId

func (m *ExecuteMetadata) SetPolicyId(v string)

func (*ExecuteMetadata) SetProgressPercentage

func (m *ExecuteMetadata) SetProgressPercentage(v float64)

func (*ExecuteMetadata) String

func (x *ExecuteMetadata) String() string

type ExecuteRequest

type ExecuteRequest struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetComputeInstanceId

func (x *ExecuteRequest) GetComputeInstanceId() string

func (*ExecuteRequest) GetPolicyId

func (x *ExecuteRequest) GetPolicyId() string

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

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

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) SetComputeInstanceId

func (m *ExecuteRequest) SetComputeInstanceId(v string)

func (*ExecuteRequest) SetPolicyId

func (m *ExecuteRequest) SetPolicyId(v string)

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

type FilesRecoveryOptions

type FilesRecoveryOptions struct {

	// Overwrite options declares the behavior for files that already exists on the file system.
	Overwrite FilesRecoveryOptions_Overwrite `` /* 131-byte string literal not displayed */
	// specifies whether the recovery plan is able to reboot host if needed.
	RebootIfNeeded bool `protobuf:"varint,2,opt,name=reboot_if_needed,json=rebootIfNeeded,proto3" json:"reboot_if_needed,omitempty"`
	// Path strategy for selected files.
	//
	// Types that are assignable to Type:
	//
	//	*FilesRecoveryOptions_Original
	//	*FilesRecoveryOptions_Custom
	Type isFilesRecoveryOptions_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*FilesRecoveryOptions) Descriptor deprecated

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

Deprecated: Use FilesRecoveryOptions.ProtoReflect.Descriptor instead.

func (*FilesRecoveryOptions) GetCustom

func (x *FilesRecoveryOptions) GetCustom() *TargetPathCustom

func (*FilesRecoveryOptions) GetOriginal

func (x *FilesRecoveryOptions) GetOriginal() *TargetPathOriginal

func (*FilesRecoveryOptions) GetOverwrite

func (*FilesRecoveryOptions) GetRebootIfNeeded

func (x *FilesRecoveryOptions) GetRebootIfNeeded() bool

func (*FilesRecoveryOptions) GetType

func (m *FilesRecoveryOptions) GetType() isFilesRecoveryOptions_Type

func (*FilesRecoveryOptions) ProtoMessage

func (*FilesRecoveryOptions) ProtoMessage()

func (*FilesRecoveryOptions) ProtoReflect

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

func (*FilesRecoveryOptions) Reset

func (x *FilesRecoveryOptions) Reset()

func (*FilesRecoveryOptions) SetCustom

func (m *FilesRecoveryOptions) SetCustom(v *TargetPathCustom)

func (*FilesRecoveryOptions) SetOriginal

func (m *FilesRecoveryOptions) SetOriginal(v *TargetPathOriginal)

func (*FilesRecoveryOptions) SetOverwrite

func (*FilesRecoveryOptions) SetRebootIfNeeded

func (m *FilesRecoveryOptions) SetRebootIfNeeded(v bool)

func (*FilesRecoveryOptions) SetType

func (*FilesRecoveryOptions) String

func (x *FilesRecoveryOptions) String() string

type FilesRecoveryOptions_Custom

type FilesRecoveryOptions_Custom struct {
	// Set custom folder for file recovery.
	Custom *TargetPathCustom `protobuf:"bytes,101,opt,name=custom,proto3,oneof"`
}

type FilesRecoveryOptions_Original

type FilesRecoveryOptions_Original struct {
	// Keep original paths of files.
	Original *TargetPathOriginal `protobuf:"bytes,100,opt,name=original,proto3,oneof"`
}

type FilesRecoveryOptions_Overwrite

type FilesRecoveryOptions_Overwrite int32
const (
	// Unspecified value treated as Overwrite all
	FilesRecoveryOptions_OVERWRITE_UNSPECIFIED FilesRecoveryOptions_Overwrite = 0
	// All overwrites all existing files by recovered ones.
	FilesRecoveryOptions_OVERWRITE_ALL FilesRecoveryOptions_Overwrite = 1
	// Older overwrites older files only.
	FilesRecoveryOptions_OVERWRITE_OLDER FilesRecoveryOptions_Overwrite = 2
	// None does not overwrites files at all.
	FilesRecoveryOptions_OVERWRITE_NONE FilesRecoveryOptions_Overwrite = 3
)

func (FilesRecoveryOptions_Overwrite) Descriptor

func (FilesRecoveryOptions_Overwrite) Enum

func (FilesRecoveryOptions_Overwrite) EnumDescriptor deprecated

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

Deprecated: Use FilesRecoveryOptions_Overwrite.Descriptor instead.

func (FilesRecoveryOptions_Overwrite) Number

func (FilesRecoveryOptions_Overwrite) String

func (FilesRecoveryOptions_Overwrite) Type

type FilesRecoveryOptions_Type

type FilesRecoveryOptions_Type = isFilesRecoveryOptions_Type

type Format

type Format int32

Format of the backup in policy. For backup locations that can be browsed with a file manager, the backup format determines the number of files and their extension.

const (
	Format_FORMAT_UNSPECIFIED Format = 0
	// A legacy backup format used in older versions. It's not recommended to use.
	Format_VERSION_11 Format = 1
	// A new format recommended in most cases for fast backup and recovery.
	Format_VERSION_12 Format = 2
	// Automatic version selection. Will be used version 12 unless the protection
	// plan (policy) appends backups to the ones created by earlier product
	// versions.
	Format_AUTO Format = 3
)

func (Format) Descriptor

func (Format) Descriptor() protoreflect.EnumDescriptor

func (Format) Enum

func (x Format) Enum() *Format

func (Format) EnumDescriptor deprecated

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

Deprecated: Use Format.Descriptor instead.

func (Format) Number

func (x Format) Number() protoreflect.EnumNumber

func (Format) String

func (x Format) String() string

func (Format) Type

func (Format) Type() protoreflect.EnumType

type GetBackupRequest

type GetBackupRequest struct {

	// Backup ID.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Folder ID.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackupRequest) Descriptor deprecated

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetBackupId

func (x *GetBackupRequest) GetBackupId() string

func (*GetBackupRequest) GetFolderId

func (x *GetBackupRequest) GetFolderId() 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) SetBackupId

func (m *GetBackupRequest) SetBackupId(v string)

func (*GetBackupRequest) SetFolderId

func (m *GetBackupRequest) SetFolderId(v string)

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

type GetPolicyRequest

type GetPolicyRequest struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) GetPolicyId

func (x *GetPolicyRequest) GetPolicyId() string

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) SetPolicyId

func (m *GetPolicyRequest) SetPolicyId(v string)

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

type GetResourceRequest

type GetResourceRequest struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetComputeInstanceId

func (x *GetResourceRequest) GetComputeInstanceId() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) SetComputeInstanceId

func (m *GetResourceRequest) SetComputeInstanceId(v string)

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

type GetResourceResponse

type GetResourceResponse struct {

	// Set of resource parameters.
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceResponse) Descriptor deprecated

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

Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.

func (*GetResourceResponse) GetResource

func (x *GetResourceResponse) GetResource() *Resource

func (*GetResourceResponse) ProtoMessage

func (*GetResourceResponse) ProtoMessage()

func (*GetResourceResponse) ProtoReflect

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

func (*GetResourceResponse) Reset

func (x *GetResourceResponse) Reset()

func (*GetResourceResponse) SetResource

func (m *GetResourceResponse) SetResource(v *Resource)

func (*GetResourceResponse) String

func (x *GetResourceResponse) String() string

type ListActivatedProvidersRequest

type ListActivatedProvidersRequest struct {

	// ID of the folder to find out the backup provider.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivatedProvidersRequest) Descriptor deprecated

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

Deprecated: Use ListActivatedProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListActivatedProvidersRequest) GetFolderId

func (x *ListActivatedProvidersRequest) GetFolderId() string

func (*ListActivatedProvidersRequest) ProtoMessage

func (*ListActivatedProvidersRequest) ProtoMessage()

func (*ListActivatedProvidersRequest) ProtoReflect

func (*ListActivatedProvidersRequest) Reset

func (x *ListActivatedProvidersRequest) Reset()

func (*ListActivatedProvidersRequest) SetFolderId

func (m *ListActivatedProvidersRequest) SetFolderId(v string)

func (*ListActivatedProvidersRequest) String

type ListActivatedProvidersResponse

type ListActivatedProvidersResponse struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the backup provider.
	Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivatedProvidersResponse) Descriptor deprecated

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

Deprecated: Use ListActivatedProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListActivatedProvidersResponse) GetFolderId

func (x *ListActivatedProvidersResponse) GetFolderId() string

func (*ListActivatedProvidersResponse) GetNames

func (x *ListActivatedProvidersResponse) GetNames() []string

func (*ListActivatedProvidersResponse) ProtoMessage

func (*ListActivatedProvidersResponse) ProtoMessage()

func (*ListActivatedProvidersResponse) ProtoReflect

func (*ListActivatedProvidersResponse) Reset

func (x *ListActivatedProvidersResponse) Reset()

func (*ListActivatedProvidersResponse) SetFolderId

func (m *ListActivatedProvidersResponse) SetFolderId(v string)

func (*ListActivatedProvidersResponse) SetNames

func (m *ListActivatedProvidersResponse) SetNames(v []string)

func (*ListActivatedProvidersResponse) String

type ListApplicationsRequest

type ListApplicationsRequest struct {

	// Types that are assignable to Id:
	//
	//	*ListApplicationsRequest_FolderId
	//	*ListApplicationsRequest_PolicyId
	//	*ListApplicationsRequest_ComputeInstanceId
	Id isListApplicationsRequest_Id `protobuf_oneof:"id"`
	// If true, also returns applications that in the process of binding.
	ShowProcessing bool `protobuf:"varint,4,opt,name=show_processing,json=showProcessing,proto3" json:"show_processing,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplicationsRequest) Descriptor deprecated

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

Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.

func (*ListApplicationsRequest) GetComputeInstanceId

func (x *ListApplicationsRequest) GetComputeInstanceId() string

func (*ListApplicationsRequest) GetFolderId

func (x *ListApplicationsRequest) GetFolderId() string

func (*ListApplicationsRequest) GetId

func (m *ListApplicationsRequest) GetId() isListApplicationsRequest_Id

func (*ListApplicationsRequest) GetPolicyId

func (x *ListApplicationsRequest) GetPolicyId() string

func (*ListApplicationsRequest) GetShowProcessing

func (x *ListApplicationsRequest) GetShowProcessing() bool

func (*ListApplicationsRequest) ProtoMessage

func (*ListApplicationsRequest) ProtoMessage()

func (*ListApplicationsRequest) ProtoReflect

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

func (*ListApplicationsRequest) Reset

func (x *ListApplicationsRequest) Reset()

func (*ListApplicationsRequest) SetComputeInstanceId

func (m *ListApplicationsRequest) SetComputeInstanceId(v string)

func (*ListApplicationsRequest) SetFolderId

func (m *ListApplicationsRequest) SetFolderId(v string)

func (*ListApplicationsRequest) SetId

func (*ListApplicationsRequest) SetPolicyId

func (m *ListApplicationsRequest) SetPolicyId(v string)

func (*ListApplicationsRequest) SetShowProcessing

func (m *ListApplicationsRequest) SetShowProcessing(v bool)

func (*ListApplicationsRequest) String

func (x *ListApplicationsRequest) String() string

type ListApplicationsRequest_ComputeInstanceId

type ListApplicationsRequest_ComputeInstanceId struct {
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,3,opt,name=compute_instance_id,json=computeInstanceId,proto3,oneof"`
}

type ListApplicationsRequest_FolderId

type ListApplicationsRequest_FolderId struct {
	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListApplicationsRequest_Id

type ListApplicationsRequest_Id = isListApplicationsRequest_Id

type ListApplicationsRequest_PolicyId

type ListApplicationsRequest_PolicyId struct {
	// Policy ID.
	PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3,oneof"`
}

type ListApplicationsResponse

type ListApplicationsResponse struct {
	Applications []*PolicyApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplicationsResponse) Descriptor deprecated

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

Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.

func (*ListApplicationsResponse) GetApplications

func (x *ListApplicationsResponse) GetApplications() []*PolicyApplication

func (*ListApplicationsResponse) ProtoMessage

func (*ListApplicationsResponse) ProtoMessage()

func (*ListApplicationsResponse) ProtoReflect

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

func (*ListApplicationsResponse) Reset

func (x *ListApplicationsResponse) Reset()

func (*ListApplicationsResponse) SetApplications

func (m *ListApplicationsResponse) SetApplications(v []*PolicyApplication)

func (*ListApplicationsResponse) String

func (x *ListApplicationsResponse) String() string

type ListArchivesRequest

type ListArchivesRequest struct {

	// Types that are assignable to Id:
	//
	//	*ListArchivesRequest_FolderId
	//	*ListArchivesRequest_ComputeInstanceId
	Id isListArchivesRequest_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

func (*ListArchivesRequest) Descriptor deprecated

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

Deprecated: Use ListArchivesRequest.ProtoReflect.Descriptor instead.

func (*ListArchivesRequest) GetComputeInstanceId

func (x *ListArchivesRequest) GetComputeInstanceId() string

func (*ListArchivesRequest) GetFolderId

func (x *ListArchivesRequest) GetFolderId() string

func (*ListArchivesRequest) GetId

func (m *ListArchivesRequest) GetId() isListArchivesRequest_Id

func (*ListArchivesRequest) ProtoMessage

func (*ListArchivesRequest) ProtoMessage()

func (*ListArchivesRequest) ProtoReflect

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

func (*ListArchivesRequest) Reset

func (x *ListArchivesRequest) Reset()

func (*ListArchivesRequest) SetComputeInstanceId

func (m *ListArchivesRequest) SetComputeInstanceId(v string)

func (*ListArchivesRequest) SetFolderId

func (m *ListArchivesRequest) SetFolderId(v string)

func (*ListArchivesRequest) SetId

func (*ListArchivesRequest) String

func (x *ListArchivesRequest) String() string

type ListArchivesRequest_ComputeInstanceId

type ListArchivesRequest_ComputeInstanceId struct {
	// List of archives of the specified Compute Cloud instance.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3,oneof"`
}

type ListArchivesRequest_FolderId

type ListArchivesRequest_FolderId struct {
	// List of archives in specified folder.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListArchivesRequest_Id

type ListArchivesRequest_Id = isListArchivesRequest_Id

type ListArchivesResponse

type ListArchivesResponse struct {
	Archives []*Archive `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArchivesResponse) Descriptor deprecated

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

Deprecated: Use ListArchivesResponse.ProtoReflect.Descriptor instead.

func (*ListArchivesResponse) GetArchives

func (x *ListArchivesResponse) GetArchives() []*Archive

func (*ListArchivesResponse) ProtoMessage

func (*ListArchivesResponse) ProtoMessage()

func (*ListArchivesResponse) ProtoReflect

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

func (*ListArchivesResponse) Reset

func (x *ListArchivesResponse) Reset()

func (*ListArchivesResponse) SetArchives

func (m *ListArchivesResponse) SetArchives(v []*Archive)

func (*ListArchivesResponse) String

func (x *ListArchivesResponse) String() string

type ListBackupsRequest

type ListBackupsRequest struct {

	// Types that are assignable to Id:
	//
	//	*ListBackupsRequest_ComputeInstanceId
	//	*ListBackupsRequest_Archive
	//	*ListBackupsRequest_FolderId
	//	*ListBackupsRequest_InstancePolicy_
	//	*ListBackupsRequest_ResourceId
	//	*ListBackupsRequest_PolicyId
	Id isListBackupsRequest_Id `protobuf_oneof:"id"`
	// By which column the listing should be ordered and in which direction,
	// format is "createdAt desc". "createdAt desc" if omitted.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Filter list by various parameters.
	// Supported parameters are:
	// * created_at
	//
	// Supported logic operators:
	// * AND
	Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
	// Type of resource. Could be compute VM or baremetal server.
	Type ResourceType `protobuf:"varint,9,opt,name=type,proto3,enum=yandex.cloud.backup.v1.ResourceType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetArchive

func (*ListBackupsRequest) GetComputeInstanceId

func (x *ListBackupsRequest) GetComputeInstanceId() string

func (*ListBackupsRequest) GetFilter

func (x *ListBackupsRequest) GetFilter() string

func (*ListBackupsRequest) GetFolderId

func (x *ListBackupsRequest) GetFolderId() string

func (*ListBackupsRequest) GetId

func (m *ListBackupsRequest) GetId() isListBackupsRequest_Id

func (*ListBackupsRequest) GetInstancePolicy

func (x *ListBackupsRequest) GetInstancePolicy() *ListBackupsRequest_InstancePolicy

func (*ListBackupsRequest) GetOrderBy

func (x *ListBackupsRequest) GetOrderBy() string

func (*ListBackupsRequest) GetPolicyId

func (x *ListBackupsRequest) GetPolicyId() string

func (*ListBackupsRequest) GetResourceId

func (x *ListBackupsRequest) GetResourceId() string

func (*ListBackupsRequest) GetType

func (x *ListBackupsRequest) GetType() ResourceType

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

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

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) SetArchive

func (*ListBackupsRequest) SetComputeInstanceId

func (m *ListBackupsRequest) SetComputeInstanceId(v string)

func (*ListBackupsRequest) SetFilter

func (m *ListBackupsRequest) SetFilter(v string)

func (*ListBackupsRequest) SetFolderId

func (m *ListBackupsRequest) SetFolderId(v string)

func (*ListBackupsRequest) SetId

func (*ListBackupsRequest) SetInstancePolicy

func (m *ListBackupsRequest) SetInstancePolicy(v *ListBackupsRequest_InstancePolicy)

func (*ListBackupsRequest) SetOrderBy

func (m *ListBackupsRequest) SetOrderBy(v string)

func (*ListBackupsRequest) SetPolicyId

func (m *ListBackupsRequest) SetPolicyId(v string)

func (*ListBackupsRequest) SetResourceId

func (m *ListBackupsRequest) SetResourceId(v string)

func (*ListBackupsRequest) SetType

func (m *ListBackupsRequest) SetType(v ResourceType)

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsRequest_Archive

type ListBackupsRequest_Archive struct {
	// List backups that belongs to specific archive of specific folder.
	Archive *ListBackupsRequest_ArchiveParameters `protobuf:"bytes,2,opt,name=archive,proto3,oneof"`
}

type ListBackupsRequest_ArchiveParameters

type ListBackupsRequest_ArchiveParameters struct {

	// Archive ID.
	ArchiveId string `protobuf:"bytes,1,opt,name=archive_id,json=archiveId,proto3" json:"archive_id,omitempty"`
	// Folder ID.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest_ArchiveParameters) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest_ArchiveParameters.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest_ArchiveParameters) GetArchiveId

func (x *ListBackupsRequest_ArchiveParameters) GetArchiveId() string

func (*ListBackupsRequest_ArchiveParameters) GetFolderId

func (*ListBackupsRequest_ArchiveParameters) ProtoMessage

func (*ListBackupsRequest_ArchiveParameters) ProtoMessage()

func (*ListBackupsRequest_ArchiveParameters) ProtoReflect

func (*ListBackupsRequest_ArchiveParameters) Reset

func (*ListBackupsRequest_ArchiveParameters) SetArchiveId

func (m *ListBackupsRequest_ArchiveParameters) SetArchiveId(v string)

func (*ListBackupsRequest_ArchiveParameters) SetFolderId

func (m *ListBackupsRequest_ArchiveParameters) SetFolderId(v string)

func (*ListBackupsRequest_ArchiveParameters) String

type ListBackupsRequest_ComputeInstanceId

type ListBackupsRequest_ComputeInstanceId struct {
	// List backups that belongs to specific Compute Cloud instance.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3,oneof"`
}

type ListBackupsRequest_FolderId

type ListBackupsRequest_FolderId struct {
	// List backups that belongs to specific folder.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListBackupsRequest_Id

type ListBackupsRequest_Id = isListBackupsRequest_Id

type ListBackupsRequest_InstancePolicy

type ListBackupsRequest_InstancePolicy struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Policy ID.
	PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest_InstancePolicy) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest_InstancePolicy.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest_InstancePolicy) GetComputeInstanceId

func (x *ListBackupsRequest_InstancePolicy) GetComputeInstanceId() string

func (*ListBackupsRequest_InstancePolicy) GetPolicyId

func (x *ListBackupsRequest_InstancePolicy) GetPolicyId() string

func (*ListBackupsRequest_InstancePolicy) ProtoMessage

func (*ListBackupsRequest_InstancePolicy) ProtoMessage()

func (*ListBackupsRequest_InstancePolicy) ProtoReflect

func (*ListBackupsRequest_InstancePolicy) Reset

func (*ListBackupsRequest_InstancePolicy) SetComputeInstanceId

func (m *ListBackupsRequest_InstancePolicy) SetComputeInstanceId(v string)

func (*ListBackupsRequest_InstancePolicy) SetPolicyId

func (m *ListBackupsRequest_InstancePolicy) SetPolicyId(v string)

func (*ListBackupsRequest_InstancePolicy) String

type ListBackupsRequest_InstancePolicy_

type ListBackupsRequest_InstancePolicy_ struct {
	// List backups that belongs to specific instance and policy at the same time.
	InstancePolicy *ListBackupsRequest_InstancePolicy `protobuf:"bytes,4,opt,name=instance_policy,json=instancePolicy,proto3,oneof"`
}

type ListBackupsRequest_PolicyId

type ListBackupsRequest_PolicyId struct {
	// List backups by specific policy ID.
	PolicyId string `protobuf:"bytes,7,opt,name=policy_id,json=policyId,proto3,oneof"`
}

type ListBackupsRequest_ResourceId

type ListBackupsRequest_ResourceId struct {
	// List backups by specific resource ID.
	ResourceId string `protobuf:"bytes,6,opt,name=resource_id,json=resourceId,proto3,oneof"`
}

type ListBackupsResponse

type ListBackupsResponse struct {
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsResponse) Descriptor deprecated

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

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

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

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

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) SetBackups

func (m *ListBackupsResponse) SetBackups(v []*Backup)

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListDirectoryRequest

type ListDirectoryRequest struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Path to list items in.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoryRequest) Descriptor deprecated

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

Deprecated: Use ListDirectoryRequest.ProtoReflect.Descriptor instead.

func (*ListDirectoryRequest) GetComputeInstanceId

func (x *ListDirectoryRequest) GetComputeInstanceId() string

func (*ListDirectoryRequest) GetFolderId

func (x *ListDirectoryRequest) GetFolderId() string

func (*ListDirectoryRequest) GetPath

func (x *ListDirectoryRequest) GetPath() string

func (*ListDirectoryRequest) ProtoMessage

func (*ListDirectoryRequest) ProtoMessage()

func (*ListDirectoryRequest) ProtoReflect

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

func (*ListDirectoryRequest) Reset

func (x *ListDirectoryRequest) Reset()

func (*ListDirectoryRequest) SetComputeInstanceId

func (m *ListDirectoryRequest) SetComputeInstanceId(v string)

func (*ListDirectoryRequest) SetFolderId

func (m *ListDirectoryRequest) SetFolderId(v string)

func (*ListDirectoryRequest) SetPath

func (m *ListDirectoryRequest) SetPath(v string)

func (*ListDirectoryRequest) String

func (x *ListDirectoryRequest) String() string

type ListDirectoryResponse

type ListDirectoryResponse struct {
	Items []*ListDirectoryResponse_FilesystemItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoryResponse) Descriptor deprecated

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

Deprecated: Use ListDirectoryResponse.ProtoReflect.Descriptor instead.

func (*ListDirectoryResponse) GetItems

func (*ListDirectoryResponse) ProtoMessage

func (*ListDirectoryResponse) ProtoMessage()

func (*ListDirectoryResponse) ProtoReflect

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

func (*ListDirectoryResponse) Reset

func (x *ListDirectoryResponse) Reset()

func (*ListDirectoryResponse) SetItems

func (*ListDirectoryResponse) String

func (x *ListDirectoryResponse) String() string

type ListDirectoryResponse_FilesystemItem

type ListDirectoryResponse_FilesystemItem struct {

	// Item name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Might be Volume, Directory of File.
	Type ListDirectoryResponse_FilesystemItem_Type `` /* 132-byte string literal not displayed */
	// Might be Directory or File.
	FileType ListDirectoryResponse_FilesystemItem_Type `` /* 156-byte string literal not displayed */
	Size     int64                                     `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirectoryResponse_FilesystemItem) Descriptor deprecated

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

Deprecated: Use ListDirectoryResponse_FilesystemItem.ProtoReflect.Descriptor instead.

func (*ListDirectoryResponse_FilesystemItem) GetFileType

func (*ListDirectoryResponse_FilesystemItem) GetName

func (*ListDirectoryResponse_FilesystemItem) GetSize

func (*ListDirectoryResponse_FilesystemItem) GetType

func (*ListDirectoryResponse_FilesystemItem) ProtoMessage

func (*ListDirectoryResponse_FilesystemItem) ProtoMessage()

func (*ListDirectoryResponse_FilesystemItem) ProtoReflect

func (*ListDirectoryResponse_FilesystemItem) Reset

func (*ListDirectoryResponse_FilesystemItem) SetFileType

func (*ListDirectoryResponse_FilesystemItem) SetName

func (*ListDirectoryResponse_FilesystemItem) SetSize

func (*ListDirectoryResponse_FilesystemItem) SetType

func (*ListDirectoryResponse_FilesystemItem) String

type ListDirectoryResponse_FilesystemItem_Type

type ListDirectoryResponse_FilesystemItem_Type int32
const (
	ListDirectoryResponse_FilesystemItem_TYPE_UNSPECIFIED ListDirectoryResponse_FilesystemItem_Type = 0
	ListDirectoryResponse_FilesystemItem_VOLUME           ListDirectoryResponse_FilesystemItem_Type = 1
	ListDirectoryResponse_FilesystemItem_DIRECTORY        ListDirectoryResponse_FilesystemItem_Type = 2
	ListDirectoryResponse_FilesystemItem_FILE             ListDirectoryResponse_FilesystemItem_Type = 3
)

func (ListDirectoryResponse_FilesystemItem_Type) Descriptor

func (ListDirectoryResponse_FilesystemItem_Type) Enum

func (ListDirectoryResponse_FilesystemItem_Type) EnumDescriptor deprecated

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

Deprecated: Use ListDirectoryResponse_FilesystemItem_Type.Descriptor instead.

func (ListDirectoryResponse_FilesystemItem_Type) Number

func (ListDirectoryResponse_FilesystemItem_Type) String

func (ListDirectoryResponse_FilesystemItem_Type) Type

type ListFilesRequest

type ListFilesRequest struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Backup ID.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Empty source will list disks of the backup.
	SourceId string `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilesRequest) Descriptor deprecated

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

Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.

func (*ListFilesRequest) GetBackupId

func (x *ListFilesRequest) GetBackupId() string

func (*ListFilesRequest) GetFolderId

func (x *ListFilesRequest) GetFolderId() string

func (*ListFilesRequest) GetSourceId

func (x *ListFilesRequest) GetSourceId() string

func (*ListFilesRequest) ProtoMessage

func (*ListFilesRequest) ProtoMessage()

func (*ListFilesRequest) ProtoReflect

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

func (*ListFilesRequest) Reset

func (x *ListFilesRequest) Reset()

func (*ListFilesRequest) SetBackupId

func (m *ListFilesRequest) SetBackupId(v string)

func (*ListFilesRequest) SetFolderId

func (m *ListFilesRequest) SetFolderId(v string)

func (*ListFilesRequest) SetSourceId

func (m *ListFilesRequest) SetSourceId(v string)

func (*ListFilesRequest) String

func (x *ListFilesRequest) String() string

type ListFilesResponse

type ListFilesResponse struct {
	Files []*BackupFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilesResponse) Descriptor deprecated

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

Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.

func (*ListFilesResponse) GetFiles

func (x *ListFilesResponse) GetFiles() []*BackupFile

func (*ListFilesResponse) ProtoMessage

func (*ListFilesResponse) ProtoMessage()

func (*ListFilesResponse) ProtoReflect

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

func (*ListFilesResponse) Reset

func (x *ListFilesResponse) Reset()

func (*ListFilesResponse) SetFiles

func (m *ListFilesResponse) SetFiles(v []*BackupFile)

func (*ListFilesResponse) String

func (x *ListFilesResponse) String() string

type ListPoliciesRequest

type ListPoliciesRequest struct {

	// Folder ID. Either Folder ID or Compute Cloud instance ID should be set.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Compute Cloud instance ID. Either Folder ID or Compute Cloud instance ID should be set.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPoliciesRequest) Descriptor deprecated

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

Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListPoliciesRequest) GetComputeInstanceId

func (x *ListPoliciesRequest) GetComputeInstanceId() string

func (*ListPoliciesRequest) GetFolderId

func (x *ListPoliciesRequest) GetFolderId() string

func (*ListPoliciesRequest) ProtoMessage

func (*ListPoliciesRequest) ProtoMessage()

func (*ListPoliciesRequest) ProtoReflect

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

func (*ListPoliciesRequest) Reset

func (x *ListPoliciesRequest) Reset()

func (*ListPoliciesRequest) SetComputeInstanceId

func (m *ListPoliciesRequest) SetComputeInstanceId(v string)

func (*ListPoliciesRequest) SetFolderId

func (m *ListPoliciesRequest) SetFolderId(v string)

func (*ListPoliciesRequest) String

func (x *ListPoliciesRequest) String() string

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPoliciesResponse) Descriptor deprecated

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

Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListPoliciesResponse) GetPolicies

func (x *ListPoliciesResponse) GetPolicies() []*Policy

func (*ListPoliciesResponse) ProtoMessage

func (*ListPoliciesResponse) ProtoMessage()

func (*ListPoliciesResponse) ProtoReflect

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

func (*ListPoliciesResponse) Reset

func (x *ListPoliciesResponse) Reset()

func (*ListPoliciesResponse) SetPolicies

func (m *ListPoliciesResponse) SetPolicies(v []*Policy)

func (*ListPoliciesResponse) String

func (x *ListPoliciesResponse) String() string

type ListResourceOperationsRequest

type ListResourceOperationsRequest struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Number of results per page.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token for the results page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListResourceOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListResourceOperationsRequest) GetComputeInstanceId

func (x *ListResourceOperationsRequest) GetComputeInstanceId() string

func (*ListResourceOperationsRequest) GetPageSize

func (x *ListResourceOperationsRequest) GetPageSize() int64

func (*ListResourceOperationsRequest) GetPageToken

func (x *ListResourceOperationsRequest) GetPageToken() string

func (*ListResourceOperationsRequest) ProtoMessage

func (*ListResourceOperationsRequest) ProtoMessage()

func (*ListResourceOperationsRequest) ProtoReflect

func (*ListResourceOperationsRequest) Reset

func (x *ListResourceOperationsRequest) Reset()

func (*ListResourceOperationsRequest) SetComputeInstanceId

func (m *ListResourceOperationsRequest) SetComputeInstanceId(v string)

func (*ListResourceOperationsRequest) SetPageSize

func (m *ListResourceOperationsRequest) SetPageSize(v int64)

func (*ListResourceOperationsRequest) SetPageToken

func (m *ListResourceOperationsRequest) SetPageToken(v string)

func (*ListResourceOperationsRequest) String

type ListResourceOperationsResponse

type ListResourceOperationsResponse struct {

	// List of operations for the specified instance.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// Token for the next results page.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListResourceOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListResourceOperationsResponse) GetNextPageToken

func (x *ListResourceOperationsResponse) GetNextPageToken() string

func (*ListResourceOperationsResponse) GetOperations

func (x *ListResourceOperationsResponse) GetOperations() []*operation.Operation

func (*ListResourceOperationsResponse) ProtoMessage

func (*ListResourceOperationsResponse) ProtoMessage()

func (*ListResourceOperationsResponse) ProtoReflect

func (*ListResourceOperationsResponse) Reset

func (x *ListResourceOperationsResponse) Reset()

func (*ListResourceOperationsResponse) SetNextPageToken

func (m *ListResourceOperationsResponse) SetNextPageToken(v string)

func (*ListResourceOperationsResponse) SetOperations

func (m *ListResourceOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListResourceOperationsResponse) String

type ListResourcesRequest

type ListResourcesRequest struct {

	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Number of results per page.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token for the results page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Type of resource. Could be compute VM or baremetal server.
	Type ResourceType `protobuf:"varint,4,opt,name=type,proto3,enum=yandex.cloud.backup.v1.ResourceType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetFolderId

func (x *ListResourcesRequest) GetFolderId() string

func (*ListResourcesRequest) GetPageSize

func (x *ListResourcesRequest) GetPageSize() int64

func (*ListResourcesRequest) GetPageToken

func (x *ListResourcesRequest) GetPageToken() string

func (*ListResourcesRequest) GetType

func (x *ListResourcesRequest) GetType() ResourceType

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) SetFolderId

func (m *ListResourcesRequest) SetFolderId(v string)

func (*ListResourcesRequest) SetPageSize

func (m *ListResourcesRequest) SetPageSize(v int64)

func (*ListResourcesRequest) SetPageToken

func (m *ListResourcesRequest) SetPageToken(v string)

func (*ListResourcesRequest) SetType

func (m *ListResourcesRequest) SetType(v ResourceType)

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {

	// Set of resource parameters.
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// Token for the next results page.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetNextPageToken

func (x *ListResourcesResponse) GetNextPageToken() string

func (*ListResourcesResponse) GetResources

func (x *ListResourcesResponse) GetResources() []*Resource

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) SetNextPageToken

func (m *ListResourcesResponse) SetNextPageToken(v string)

func (*ListResourcesResponse) SetResources

func (m *ListResourcesResponse) SetResources(v []*Resource)

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

type ListTasksRequest

type ListTasksRequest struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Number of results per page.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token for the results page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksRequest) Descriptor deprecated

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

Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.

func (*ListTasksRequest) GetComputeInstanceId

func (x *ListTasksRequest) GetComputeInstanceId() string

func (*ListTasksRequest) GetPageSize

func (x *ListTasksRequest) GetPageSize() int64

func (*ListTasksRequest) GetPageToken

func (x *ListTasksRequest) GetPageToken() string

func (*ListTasksRequest) ProtoMessage

func (*ListTasksRequest) ProtoMessage()

func (*ListTasksRequest) ProtoReflect

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

func (*ListTasksRequest) Reset

func (x *ListTasksRequest) Reset()

func (*ListTasksRequest) SetComputeInstanceId

func (m *ListTasksRequest) SetComputeInstanceId(v string)

func (*ListTasksRequest) SetPageSize

func (m *ListTasksRequest) SetPageSize(v int64)

func (*ListTasksRequest) SetPageToken

func (m *ListTasksRequest) SetPageToken(v string)

func (*ListTasksRequest) String

func (x *ListTasksRequest) String() string

type ListTasksResponse

type ListTasksResponse struct {

	// Set of tasks parameters.
	Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// Token for the next results page.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksResponse) Descriptor deprecated

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

Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.

func (*ListTasksResponse) GetNextPageToken

func (x *ListTasksResponse) GetNextPageToken() string

func (*ListTasksResponse) GetTasks

func (x *ListTasksResponse) GetTasks() []*Task

func (*ListTasksResponse) ProtoMessage

func (*ListTasksResponse) ProtoMessage()

func (*ListTasksResponse) ProtoReflect

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

func (*ListTasksResponse) Reset

func (x *ListTasksResponse) Reset()

func (*ListTasksResponse) SetNextPageToken

func (m *ListTasksResponse) SetNextPageToken(v string)

func (*ListTasksResponse) SetTasks

func (m *ListTasksResponse) SetTasks(v []*Task)

func (*ListTasksResponse) String

func (x *ListTasksResponse) String() string

type Policy

type Policy struct {

	// Policy ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Policy name.
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// If this field is true, it means that the policy is enabled.
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Set of policy settings
	Settings *PolicySettings `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"`
	// ID of the folder that the policy belongs to.
	FolderId string `protobuf:"bytes,7,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetCreatedAt

func (x *Policy) GetCreatedAt() *timestamppb.Timestamp

func (*Policy) GetEnabled

func (x *Policy) GetEnabled() bool

func (*Policy) GetFolderId

func (x *Policy) GetFolderId() string

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetName

func (x *Policy) GetName() string

func (*Policy) GetSettings

func (x *Policy) GetSettings() *PolicySettings

func (*Policy) GetUpdatedAt

func (x *Policy) GetUpdatedAt() *timestamppb.Timestamp

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) SetCreatedAt

func (m *Policy) SetCreatedAt(v *timestamppb.Timestamp)

func (*Policy) SetEnabled

func (m *Policy) SetEnabled(v bool)

func (*Policy) SetFolderId

func (m *Policy) SetFolderId(v string)

func (*Policy) SetId

func (m *Policy) SetId(v string)

func (*Policy) SetName

func (m *Policy) SetName(v string)

func (*Policy) SetSettings

func (m *Policy) SetSettings(v *PolicySettings)

func (*Policy) SetUpdatedAt

func (m *Policy) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Policy) String

func (x *Policy) String() string

type PolicyApplication

type PolicyApplication struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string                   `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	Enabled           bool                     `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Status            PolicyApplication_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.backup.v1.PolicyApplication_Status" json:"status,omitempty"`
	CreatedAt         *timestamppb.Timestamp   `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// If true, then the policy is in in the process of binding to the instance.
	IsProcessing bool `protobuf:"varint,6,opt,name=is_processing,json=isProcessing,proto3" json:"is_processing,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyApplication) Descriptor deprecated

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

Deprecated: Use PolicyApplication.ProtoReflect.Descriptor instead.

func (*PolicyApplication) GetComputeInstanceId

func (x *PolicyApplication) GetComputeInstanceId() string

func (*PolicyApplication) GetCreatedAt

func (x *PolicyApplication) GetCreatedAt() *timestamppb.Timestamp

func (*PolicyApplication) GetEnabled

func (x *PolicyApplication) GetEnabled() bool

func (*PolicyApplication) GetIsProcessing

func (x *PolicyApplication) GetIsProcessing() bool

func (*PolicyApplication) GetPolicyId

func (x *PolicyApplication) GetPolicyId() string

func (*PolicyApplication) GetStatus

func (*PolicyApplication) ProtoMessage

func (*PolicyApplication) ProtoMessage()

func (*PolicyApplication) ProtoReflect

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

func (*PolicyApplication) Reset

func (x *PolicyApplication) Reset()

func (*PolicyApplication) SetComputeInstanceId

func (m *PolicyApplication) SetComputeInstanceId(v string)

func (*PolicyApplication) SetCreatedAt

func (m *PolicyApplication) SetCreatedAt(v *timestamppb.Timestamp)

func (*PolicyApplication) SetEnabled

func (m *PolicyApplication) SetEnabled(v bool)

func (*PolicyApplication) SetIsProcessing

func (m *PolicyApplication) SetIsProcessing(v bool)

func (*PolicyApplication) SetPolicyId

func (m *PolicyApplication) SetPolicyId(v string)

func (*PolicyApplication) SetStatus

func (*PolicyApplication) String

func (x *PolicyApplication) String() string

type PolicyApplication_Status

type PolicyApplication_Status int32
const (
	PolicyApplication_STATUS_UNSPECIFIED PolicyApplication_Status = 0
	// Application is applied and everything is OK.
	PolicyApplication_OK PolicyApplication_Status = 1
	// Application is currently running.
	PolicyApplication_RUNNING PolicyApplication_Status = 2
	// Application is disabled.
	PolicyApplication_DISABLED PolicyApplication_Status = 3
)

func (PolicyApplication_Status) Descriptor

func (PolicyApplication_Status) Enum

func (PolicyApplication_Status) EnumDescriptor deprecated

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

Deprecated: Use PolicyApplication_Status.Descriptor instead.

func (PolicyApplication_Status) Number

func (PolicyApplication_Status) String

func (x PolicyApplication_Status) String() string

func (PolicyApplication_Status) Type

type PolicyServiceClient

type PolicyServiceClient interface {
	// List [policies](/docs/backup/concepts/policy) of specified folder.
	List(ctx context.Context, in *ListPoliciesRequest, opts ...grpc.CallOption) (*ListPoliciesResponse, error)
	// Create a new policy.
	//
	// For detailed information, please see [Creating a backup policy](/docs/backup/operations/policy-vm/create).
	Create(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Get specific policy.
	Get(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error)
	// Update specific policy.
	Update(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Delete specific policy.
	Delete(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Apply policy to [Compute Cloud instance](/docs/backup/concepts/vm-connection#os).
	Apply(ctx context.Context, in *ApplyPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// List applied policies using filters.
	ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error)
	// Run policy on specific Compute Cloud instance. That will create backup
	// according selected policy. In order to perform this action, policy should be
	// applied to the Compute Cloud instance.
	Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Revoke policy from Compute Cloud instance.
	Revoke(ctx context.Context, in *RevokeRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

PolicyServiceClient is the client API for PolicyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A set of methods for managing [policies](/docs/backup/concepts/policy).

type PolicyServiceServer

type PolicyServiceServer interface {
	// List [policies](/docs/backup/concepts/policy) of specified folder.
	List(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
	// Create a new policy.
	//
	// For detailed information, please see [Creating a backup policy](/docs/backup/operations/policy-vm/create).
	Create(context.Context, *CreatePolicyRequest) (*operation.Operation, error)
	// Get specific policy.
	Get(context.Context, *GetPolicyRequest) (*Policy, error)
	// Update specific policy.
	Update(context.Context, *UpdatePolicyRequest) (*operation.Operation, error)
	// Delete specific policy.
	Delete(context.Context, *DeletePolicyRequest) (*operation.Operation, error)
	// Apply policy to [Compute Cloud instance](/docs/backup/concepts/vm-connection#os).
	Apply(context.Context, *ApplyPolicyRequest) (*operation.Operation, error)
	// List applied policies using filters.
	ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
	// Run policy on specific Compute Cloud instance. That will create backup
	// according selected policy. In order to perform this action, policy should be
	// applied to the Compute Cloud instance.
	Execute(context.Context, *ExecuteRequest) (*operation.Operation, error)
	// Revoke policy from Compute Cloud instance.
	Revoke(context.Context, *RevokeRequest) (*operation.Operation, error)
}

PolicyServiceServer is the server API for PolicyService service. All implementations should embed UnimplementedPolicyServiceServer for forward compatibility.

A set of methods for managing [policies](/docs/backup/concepts/policy).

type PolicySettings

type PolicySettings struct {

	// Archive compression level.
	Compression PolicySettings_Compression `` /* 131-byte string literal not displayed */
	// Format of the Cyberprotect backup archive.
	Format Format `protobuf:"varint,2,opt,name=format,proto3,enum=yandex.cloud.backup.v1.Format" json:"format,omitempty"`
	// If true, snapshots of multiple volumes will be taken simultaneously.
	MultiVolumeSnapshottingEnabled bool `` /* 156-byte string literal not displayed */
	// If true, the file security settings will be preserved.
	PreserveFileSecuritySettings bool `` /* 150-byte string literal not displayed */
	// Configuration of retries on recoverable errors during the backup operations like reconnection to destination. No attempts to fix recoverable errors will be made if retry configuration is not set.
	Reattempts *PolicySettings_RetriesConfiguration `protobuf:"bytes,5,opt,name=reattempts,proto3" json:"reattempts,omitempty"`
	// If true, a user interaction will be avoided when possible. Equals to false if value is not specified.
	SilentModeEnabled bool `protobuf:"varint,6,opt,name=silent_mode_enabled,json=silentModeEnabled,proto3" json:"silent_mode_enabled,omitempty"`
	// Determines the size to split backups on. Splitting is not performed if value is not specified.
	Splitting *PolicySettings_Splitting `protobuf:"bytes,7,opt,name=splitting,proto3" json:"splitting,omitempty"`
	// Configuration of retries on errors during the creation of the virtual machine snapshot. No attempts to fix recoverable errors will be made if retry configuration is not set.
	VmSnapshotReattempts *PolicySettings_RetriesConfiguration `protobuf:"bytes,8,opt,name=vm_snapshot_reattempts,json=vmSnapshotReattempts,proto3" json:"vm_snapshot_reattempts,omitempty"`
	// Settings for the Volume Shadow Copy Service (VSS) provider. If not set, no VSS provider is used.
	Vss *PolicySettings_VolumeShadowCopyServiceSettings `protobuf:"bytes,9,opt,name=vss,proto3" json:"vss,omitempty"`
	// The archive properties.
	Archive *PolicySettings_ArchiveProperties `protobuf:"bytes,10,opt,name=archive,proto3" json:"archive,omitempty"`
	// Time windows for performance limitations of backup and storage maintenance operations.
	PerformanceWindow *PolicySettings_PerformanceWindow `protobuf:"bytes,11,opt,name=performance_window,json=performanceWindow,proto3" json:"performance_window,omitempty"`
	// Configuration of backup retention rules.
	Retention *PolicySettings_Retention `protobuf:"bytes,12,opt,name=retention,proto3" json:"retention,omitempty"`
	// Configuration of the backup schedule.
	Scheduling *PolicySettings_Scheduling `protobuf:"bytes,15,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	// A configuration of Changed Block Tracking (CBT).
	Cbt PolicySettings_ChangedBlockTracking `protobuf:"varint,16,opt,name=cbt,proto3,enum=yandex.cloud.backup.v1.PolicySettings_ChangedBlockTracking" json:"cbt,omitempty"`
	// If true, determines whether a file has changed by the file size and timestamp. Otherwise, the entire file contents are compared to those stored in the backup.
	FastBackupEnabled bool `protobuf:"varint,17,opt,name=fast_backup_enabled,json=fastBackupEnabled,proto3" json:"fast_backup_enabled,omitempty"`
	// If true, a quiesced snapshot of the virtual machine will be taken.
	QuiesceSnapshottingEnabled bool `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Set of policy settings

func (*PolicySettings) Descriptor deprecated

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

Deprecated: Use PolicySettings.ProtoReflect.Descriptor instead.

func (*PolicySettings) GetArchive

func (*PolicySettings) GetCbt

func (*PolicySettings) GetCompression

func (x *PolicySettings) GetCompression() PolicySettings_Compression

func (*PolicySettings) GetFastBackupEnabled

func (x *PolicySettings) GetFastBackupEnabled() bool

func (*PolicySettings) GetFormat

func (x *PolicySettings) GetFormat() Format

func (*PolicySettings) GetMultiVolumeSnapshottingEnabled

func (x *PolicySettings) GetMultiVolumeSnapshottingEnabled() bool

func (*PolicySettings) GetPerformanceWindow

func (x *PolicySettings) GetPerformanceWindow() *PolicySettings_PerformanceWindow

func (*PolicySettings) GetPreserveFileSecuritySettings

func (x *PolicySettings) GetPreserveFileSecuritySettings() bool

func (*PolicySettings) GetQuiesceSnapshottingEnabled

func (x *PolicySettings) GetQuiesceSnapshottingEnabled() bool

func (*PolicySettings) GetReattempts

func (*PolicySettings) GetRetention

func (x *PolicySettings) GetRetention() *PolicySettings_Retention

func (*PolicySettings) GetScheduling

func (x *PolicySettings) GetScheduling() *PolicySettings_Scheduling

func (*PolicySettings) GetSilentModeEnabled

func (x *PolicySettings) GetSilentModeEnabled() bool

func (*PolicySettings) GetSplitting

func (x *PolicySettings) GetSplitting() *PolicySettings_Splitting

func (*PolicySettings) GetVmSnapshotReattempts

func (x *PolicySettings) GetVmSnapshotReattempts() *PolicySettings_RetriesConfiguration

func (*PolicySettings) GetVss

func (*PolicySettings) ProtoMessage

func (*PolicySettings) ProtoMessage()

func (*PolicySettings) ProtoReflect

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

func (*PolicySettings) Reset

func (x *PolicySettings) Reset()

func (*PolicySettings) SetArchive

func (*PolicySettings) SetCbt

func (*PolicySettings) SetCompression

func (m *PolicySettings) SetCompression(v PolicySettings_Compression)

func (*PolicySettings) SetFastBackupEnabled

func (m *PolicySettings) SetFastBackupEnabled(v bool)

func (*PolicySettings) SetFormat

func (m *PolicySettings) SetFormat(v Format)

func (*PolicySettings) SetMultiVolumeSnapshottingEnabled

func (m *PolicySettings) SetMultiVolumeSnapshottingEnabled(v bool)

func (*PolicySettings) SetPerformanceWindow

func (m *PolicySettings) SetPerformanceWindow(v *PolicySettings_PerformanceWindow)

func (*PolicySettings) SetPreserveFileSecuritySettings

func (m *PolicySettings) SetPreserveFileSecuritySettings(v bool)

func (*PolicySettings) SetQuiesceSnapshottingEnabled

func (m *PolicySettings) SetQuiesceSnapshottingEnabled(v bool)

func (*PolicySettings) SetReattempts

func (*PolicySettings) SetRetention

func (m *PolicySettings) SetRetention(v *PolicySettings_Retention)

func (*PolicySettings) SetScheduling

func (m *PolicySettings) SetScheduling(v *PolicySettings_Scheduling)

func (*PolicySettings) SetSilentModeEnabled

func (m *PolicySettings) SetSilentModeEnabled(v bool)

func (*PolicySettings) SetSplitting

func (m *PolicySettings) SetSplitting(v *PolicySettings_Splitting)

func (*PolicySettings) SetVmSnapshotReattempts

func (m *PolicySettings) SetVmSnapshotReattempts(v *PolicySettings_RetriesConfiguration)

func (*PolicySettings) SetVss

func (*PolicySettings) String

func (x *PolicySettings) String() string

type PolicySettings_ArchiveProperties

type PolicySettings_ArchiveProperties struct {

	// The name of the generated archive. The name may use the following variables: `[Machine Name]`, `[Plan ID]`, `[Plan Name]`, `[Unique ID]`, `[Virtualization Server Type]`.
	// Default value: `[Machine Name]-[Plan ID]-[Unique ID]A`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_ArchiveProperties) Descriptor deprecated

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

Deprecated: Use PolicySettings_ArchiveProperties.ProtoReflect.Descriptor instead.

func (*PolicySettings_ArchiveProperties) GetName

func (*PolicySettings_ArchiveProperties) ProtoMessage

func (*PolicySettings_ArchiveProperties) ProtoMessage()

func (*PolicySettings_ArchiveProperties) ProtoReflect

func (*PolicySettings_ArchiveProperties) Reset

func (*PolicySettings_ArchiveProperties) SetName

func (*PolicySettings_ArchiveProperties) String

type PolicySettings_ChangedBlockTracking

type PolicySettings_ChangedBlockTracking int32
const (
	PolicySettings_CHANGED_BLOCK_TRACKING_UNSPECIFIED PolicySettings_ChangedBlockTracking = 0
	PolicySettings_USE_IF_ENABLED                     PolicySettings_ChangedBlockTracking = 1
	PolicySettings_ENABLE_AND_USE                     PolicySettings_ChangedBlockTracking = 2
	PolicySettings_DO_NOT_USE                         PolicySettings_ChangedBlockTracking = 3
)

func (PolicySettings_ChangedBlockTracking) Descriptor

func (PolicySettings_ChangedBlockTracking) Enum

func (PolicySettings_ChangedBlockTracking) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_ChangedBlockTracking.Descriptor instead.

func (PolicySettings_ChangedBlockTracking) Number

func (PolicySettings_ChangedBlockTracking) String

func (PolicySettings_ChangedBlockTracking) Type

type PolicySettings_Compression

type PolicySettings_Compression int32

Compression rate of the backups.

const (
	PolicySettings_COMPRESSION_UNSPECIFIED PolicySettings_Compression = 0
	PolicySettings_NORMAL                  PolicySettings_Compression = 1
	PolicySettings_HIGH                    PolicySettings_Compression = 2
	PolicySettings_MAX                     PolicySettings_Compression = 3
	PolicySettings_OFF                     PolicySettings_Compression = 4
)

func (PolicySettings_Compression) Descriptor

func (PolicySettings_Compression) Enum

func (PolicySettings_Compression) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_Compression.Descriptor instead.

func (PolicySettings_Compression) Number

func (PolicySettings_Compression) String

func (PolicySettings_Compression) Type

type PolicySettings_Day

type PolicySettings_Day int32
const (
	PolicySettings_DAY_UNSPECIFIED PolicySettings_Day = 0
	PolicySettings_MONDAY          PolicySettings_Day = 1
	PolicySettings_TUESDAY         PolicySettings_Day = 2
	PolicySettings_WEDNESDAY       PolicySettings_Day = 3
	PolicySettings_THURSDAY        PolicySettings_Day = 4
	PolicySettings_FRIDAY          PolicySettings_Day = 5
	PolicySettings_SATURDAY        PolicySettings_Day = 6
	PolicySettings_SUNDAY          PolicySettings_Day = 7
)

func (PolicySettings_Day) Descriptor

func (PolicySettings_Day) Enum

func (PolicySettings_Day) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_Day.Descriptor instead.

func (PolicySettings_Day) Number

func (PolicySettings_Day) String

func (x PolicySettings_Day) String() string

func (PolicySettings_Day) Type

type PolicySettings_Interval

type PolicySettings_Interval struct {

	// A type of the interval.
	Type PolicySettings_Interval_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Interval_Type" json:"type,omitempty"`
	// The amount of value specified in `Interval.Type`.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Interval) Descriptor deprecated

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

Deprecated: Use PolicySettings_Interval.ProtoReflect.Descriptor instead.

func (*PolicySettings_Interval) GetCount

func (x *PolicySettings_Interval) GetCount() int64

func (*PolicySettings_Interval) GetType

func (*PolicySettings_Interval) ProtoMessage

func (*PolicySettings_Interval) ProtoMessage()

func (*PolicySettings_Interval) ProtoReflect

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

func (*PolicySettings_Interval) Reset

func (x *PolicySettings_Interval) Reset()

func (*PolicySettings_Interval) SetCount

func (m *PolicySettings_Interval) SetCount(v int64)

func (*PolicySettings_Interval) SetType

func (*PolicySettings_Interval) String

func (x *PolicySettings_Interval) String() string

type PolicySettings_Interval_Type

type PolicySettings_Interval_Type int32
const (
	PolicySettings_Interval_TYPE_UNSPECIFIED PolicySettings_Interval_Type = 0
	PolicySettings_Interval_SECONDS          PolicySettings_Interval_Type = 1
	PolicySettings_Interval_MINUTES          PolicySettings_Interval_Type = 2
	PolicySettings_Interval_HOURS            PolicySettings_Interval_Type = 3
	PolicySettings_Interval_DAYS             PolicySettings_Interval_Type = 4
	PolicySettings_Interval_WEEKS            PolicySettings_Interval_Type = 5
	PolicySettings_Interval_MONTHS           PolicySettings_Interval_Type = 6
)

func (PolicySettings_Interval_Type) Descriptor

func (PolicySettings_Interval_Type) Enum

func (PolicySettings_Interval_Type) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_Interval_Type.Descriptor instead.

func (PolicySettings_Interval_Type) Number

func (PolicySettings_Interval_Type) String

func (PolicySettings_Interval_Type) Type

type PolicySettings_PerformanceWindow

type PolicySettings_PerformanceWindow struct {

	// If true, the time windows will be enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_PerformanceWindow) Descriptor deprecated

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

Deprecated: Use PolicySettings_PerformanceWindow.ProtoReflect.Descriptor instead.

func (*PolicySettings_PerformanceWindow) GetEnabled

func (x *PolicySettings_PerformanceWindow) GetEnabled() bool

func (*PolicySettings_PerformanceWindow) ProtoMessage

func (*PolicySettings_PerformanceWindow) ProtoMessage()

func (*PolicySettings_PerformanceWindow) ProtoReflect

func (*PolicySettings_PerformanceWindow) Reset

func (*PolicySettings_PerformanceWindow) SetEnabled

func (m *PolicySettings_PerformanceWindow) SetEnabled(v bool)

func (*PolicySettings_PerformanceWindow) String

type PolicySettings_RepeatePeriod

type PolicySettings_RepeatePeriod int32
const (
	PolicySettings_REPEATE_PERIOD_UNSPECIFIED PolicySettings_RepeatePeriod = 0
	PolicySettings_HOURLY                     PolicySettings_RepeatePeriod = 1
	PolicySettings_DAILY                      PolicySettings_RepeatePeriod = 2
	PolicySettings_WEEKLY                     PolicySettings_RepeatePeriod = 3
	PolicySettings_MONTHLY                    PolicySettings_RepeatePeriod = 4
)

func (PolicySettings_RepeatePeriod) Descriptor

func (PolicySettings_RepeatePeriod) Enum

func (PolicySettings_RepeatePeriod) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_RepeatePeriod.Descriptor instead.

func (PolicySettings_RepeatePeriod) Number

func (PolicySettings_RepeatePeriod) String

func (PolicySettings_RepeatePeriod) Type

type PolicySettings_Retention

type PolicySettings_Retention struct {

	// A list of retention rules.
	Rules []*PolicySettings_Retention_RetentionRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// If true, retention rules will be applied before backup is finished.
	BeforeBackup bool `protobuf:"varint,3,opt,name=before_backup,json=beforeBackup,proto3" json:"before_backup,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Retention) Descriptor deprecated

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

Deprecated: Use PolicySettings_Retention.ProtoReflect.Descriptor instead.

func (*PolicySettings_Retention) GetBeforeBackup

func (x *PolicySettings_Retention) GetBeforeBackup() bool

func (*PolicySettings_Retention) GetRules

func (*PolicySettings_Retention) ProtoMessage

func (*PolicySettings_Retention) ProtoMessage()

func (*PolicySettings_Retention) ProtoReflect

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

func (*PolicySettings_Retention) Reset

func (x *PolicySettings_Retention) Reset()

func (*PolicySettings_Retention) SetBeforeBackup

func (m *PolicySettings_Retention) SetBeforeBackup(v bool)

func (*PolicySettings_Retention) SetRules

func (*PolicySettings_Retention) String

func (x *PolicySettings_Retention) String() string

type PolicySettings_Retention_RetentionRule

type PolicySettings_Retention_RetentionRule struct {

	// A list of backup sets where rules are effective.
	BackupSet []PolicySettings_RepeatePeriod `` /* 153-byte string literal not displayed */
	// Types that are assignable to Condition:
	//
	//	*PolicySettings_Retention_RetentionRule_MaxAge
	//	*PolicySettings_Retention_RetentionRule_MaxCount
	Condition isPolicySettings_Retention_RetentionRule_Condition `protobuf_oneof:"condition"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Retention_RetentionRule) Descriptor deprecated

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

Deprecated: Use PolicySettings_Retention_RetentionRule.ProtoReflect.Descriptor instead.

func (*PolicySettings_Retention_RetentionRule) GetBackupSet

func (*PolicySettings_Retention_RetentionRule) GetCondition

func (m *PolicySettings_Retention_RetentionRule) GetCondition() isPolicySettings_Retention_RetentionRule_Condition

func (*PolicySettings_Retention_RetentionRule) GetMaxAge

func (*PolicySettings_Retention_RetentionRule) GetMaxCount

func (*PolicySettings_Retention_RetentionRule) ProtoMessage

func (*PolicySettings_Retention_RetentionRule) ProtoReflect

func (*PolicySettings_Retention_RetentionRule) Reset

func (*PolicySettings_Retention_RetentionRule) SetBackupSet

func (*PolicySettings_Retention_RetentionRule) SetCondition

func (*PolicySettings_Retention_RetentionRule) SetMaxAge

func (*PolicySettings_Retention_RetentionRule) SetMaxCount

func (*PolicySettings_Retention_RetentionRule) String

type PolicySettings_Retention_RetentionRule_Condition

type PolicySettings_Retention_RetentionRule_Condition = isPolicySettings_Retention_RetentionRule_Condition

type PolicySettings_Retention_RetentionRule_MaxAge

type PolicySettings_Retention_RetentionRule_MaxAge struct {
	MaxAge *PolicySettings_Interval `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"`
}

type PolicySettings_Retention_RetentionRule_MaxCount

type PolicySettings_Retention_RetentionRule_MaxCount struct {
	MaxCount int64 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3,oneof"`
}

type PolicySettings_RetriesConfiguration

type PolicySettings_RetriesConfiguration struct {

	// If true, enables retry on errors.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// An interval between retry attempts.
	Interval *PolicySettings_Interval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// Max number of retry attempts. Operation will be considered as failed
	// when max number of retry attempts is reached.
	MaxAttempts int64 `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_RetriesConfiguration) Descriptor deprecated

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

Deprecated: Use PolicySettings_RetriesConfiguration.ProtoReflect.Descriptor instead.

func (*PolicySettings_RetriesConfiguration) GetEnabled

func (x *PolicySettings_RetriesConfiguration) GetEnabled() bool

func (*PolicySettings_RetriesConfiguration) GetInterval

func (*PolicySettings_RetriesConfiguration) GetMaxAttempts

func (x *PolicySettings_RetriesConfiguration) GetMaxAttempts() int64

func (*PolicySettings_RetriesConfiguration) ProtoMessage

func (*PolicySettings_RetriesConfiguration) ProtoMessage()

func (*PolicySettings_RetriesConfiguration) ProtoReflect

func (*PolicySettings_RetriesConfiguration) Reset

func (*PolicySettings_RetriesConfiguration) SetEnabled

func (m *PolicySettings_RetriesConfiguration) SetEnabled(v bool)

func (*PolicySettings_RetriesConfiguration) SetInterval

func (*PolicySettings_RetriesConfiguration) SetMaxAttempts

func (m *PolicySettings_RetriesConfiguration) SetMaxAttempts(v int64)

func (*PolicySettings_RetriesConfiguration) String

type PolicySettings_Scheduling

type PolicySettings_Scheduling struct {

	// A list of schedules with backup sets that compose the whole scheme.
	BackupSets []*PolicySettings_Scheduling_BackupSet `protobuf:"bytes,1,rep,name=backup_sets,json=backupSets,proto3" json:"backup_sets,omitempty"`
	// If true, the backup schedule will be enabled.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Max number of backup processes allowed to run in parallel. Unlimited if not set.
	MaxParallelBackups int64 `protobuf:"varint,3,opt,name=max_parallel_backups,json=maxParallelBackups,proto3" json:"max_parallel_backups,omitempty"`
	// Configuration of the random delay between the execution of parallel tasks.
	RandMaxDelay *PolicySettings_Interval `protobuf:"bytes,4,opt,name=rand_max_delay,json=randMaxDelay,proto3" json:"rand_max_delay,omitempty"`
	// A backup scheme. Available values: `simple`, `always_full`, `always_incremental`, `weekly_incremental`, `weekly_full_daily_incremental`, `custom`, `cdp`.
	Scheme PolicySettings_Scheduling_Scheme `` /* 127-byte string literal not displayed */
	// A day of week to start weekly backups.
	WeeklyBackupDay PolicySettings_Day `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PolicySettings_Scheduling) Descriptor deprecated

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

Deprecated: Use PolicySettings_Scheduling.ProtoReflect.Descriptor instead.

func (*PolicySettings_Scheduling) GetBackupSets

func (*PolicySettings_Scheduling) GetEnabled

func (x *PolicySettings_Scheduling) GetEnabled() bool

func (*PolicySettings_Scheduling) GetMaxParallelBackups

func (x *PolicySettings_Scheduling) GetMaxParallelBackups() int64

func (*PolicySettings_Scheduling) GetRandMaxDelay

func (x *PolicySettings_Scheduling) GetRandMaxDelay() *PolicySettings_Interval

func (*PolicySettings_Scheduling) GetScheme

func (*PolicySettings_Scheduling) GetWeeklyBackupDay

func (x *PolicySettings_Scheduling) GetWeeklyBackupDay() PolicySettings_Day

func (*PolicySettings_Scheduling) ProtoMessage

func (*PolicySettings_Scheduling) ProtoMessage()

func (*PolicySettings_Scheduling) ProtoReflect

func (*PolicySettings_Scheduling) Reset

func (x *PolicySettings_Scheduling) Reset()

func (*PolicySettings_Scheduling) SetBackupSets

func (*PolicySettings_Scheduling) SetEnabled

func (m *PolicySettings_Scheduling) SetEnabled(v bool)

func (*PolicySettings_Scheduling) SetMaxParallelBackups

func (m *PolicySettings_Scheduling) SetMaxParallelBackups(v int64)

func (*PolicySettings_Scheduling) SetRandMaxDelay

func (m *PolicySettings_Scheduling) SetRandMaxDelay(v *PolicySettings_Interval)

func (*PolicySettings_Scheduling) SetScheme

func (*PolicySettings_Scheduling) SetWeeklyBackupDay

func (m *PolicySettings_Scheduling) SetWeeklyBackupDay(v PolicySettings_Day)

func (*PolicySettings_Scheduling) String

func (x *PolicySettings_Scheduling) String() string

type PolicySettings_Scheduling_BackupSet

type PolicySettings_Scheduling_BackupSet struct {

	// Types that are assignable to Setting:
	//
	//	*PolicySettings_Scheduling_BackupSet_Time_
	//	*PolicySettings_Scheduling_BackupSet_SinceLastExecTime_
	Setting isPolicySettings_Scheduling_BackupSet_Setting `protobuf_oneof:"setting"`
	// BackupSet type -- one of incr, full, differential or auto.
	// if custom scheme is used the BackupSet type should be specified
	Type PolicySettings_Scheduling_BackupSet_Type `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PolicySettings_Scheduling_BackupSet) Descriptor deprecated

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

Deprecated: Use PolicySettings_Scheduling_BackupSet.ProtoReflect.Descriptor instead.

func (*PolicySettings_Scheduling_BackupSet) GetSetting

func (m *PolicySettings_Scheduling_BackupSet) GetSetting() isPolicySettings_Scheduling_BackupSet_Setting

func (*PolicySettings_Scheduling_BackupSet) GetSinceLastExecTime

func (*PolicySettings_Scheduling_BackupSet) GetTime

func (*PolicySettings_Scheduling_BackupSet) GetType

func (*PolicySettings_Scheduling_BackupSet) ProtoMessage

func (*PolicySettings_Scheduling_BackupSet) ProtoMessage()

func (*PolicySettings_Scheduling_BackupSet) ProtoReflect

func (*PolicySettings_Scheduling_BackupSet) Reset

func (*PolicySettings_Scheduling_BackupSet) SetSetting

func (*PolicySettings_Scheduling_BackupSet) SetSinceLastExecTime

func (*PolicySettings_Scheduling_BackupSet) SetTime

func (*PolicySettings_Scheduling_BackupSet) SetType

func (*PolicySettings_Scheduling_BackupSet) String

type PolicySettings_Scheduling_BackupSet_Setting

type PolicySettings_Scheduling_BackupSet_Setting = isPolicySettings_Scheduling_BackupSet_Setting

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime struct {

	// The interval between backups.
	Delay *PolicySettings_Interval `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) Descriptor deprecated

Deprecated: Use PolicySettings_Scheduling_BackupSet_SinceLastExecTime.ProtoReflect.Descriptor instead.

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) GetDelay

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) ProtoMessage

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) ProtoReflect

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) Reset

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) SetDelay

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) String

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime_

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime_ struct {
	SinceLastExecTime *PolicySettings_Scheduling_BackupSet_SinceLastExecTime `protobuf:"bytes,2,opt,name=since_last_exec_time,json=sinceLastExecTime,proto3,oneof"`
}

type PolicySettings_Scheduling_BackupSet_Time

type PolicySettings_Scheduling_BackupSet_Time struct {

	// Days in a week to perform a backup.
	Weekdays []PolicySettings_Day `protobuf:"varint,1,rep,packed,name=weekdays,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Day" json:"weekdays,omitempty"`
	// Time to repeat the backup.
	RepeatAt []*PolicySettings_TimeOfDay `protobuf:"bytes,2,rep,name=repeat_at,json=repeatAt,proto3" json:"repeat_at,omitempty"`
	// Frequency of backup repetition.
	RepeatEvery *PolicySettings_Interval `protobuf:"bytes,3,opt,name=repeat_every,json=repeatEvery,proto3" json:"repeat_every,omitempty"`
	// The start time of the backup time interval.
	TimeFrom *PolicySettings_TimeOfDay `protobuf:"bytes,4,opt,name=time_from,json=timeFrom,proto3" json:"time_from,omitempty"`
	// The end time of the backup time interval.
	TimeTo *PolicySettings_TimeOfDay `protobuf:"bytes,5,opt,name=time_to,json=timeTo,proto3" json:"time_to,omitempty"`
	// Days in a month to perform a backup.
	// Allowed values are from 1 to 31.
	Monthdays []int64 `protobuf:"varint,6,rep,packed,name=monthdays,proto3" json:"monthdays,omitempty"`
	// If set to true, last day of month will activate
	// the policy.
	IncludeLastDayOfMonth bool `` /* 131-byte string literal not displayed */
	// Set of values. Allowed values form 1 to 12.
	Months []int64 `protobuf:"varint,8,rep,packed,name=months,proto3" json:"months,omitempty"`
	// Possible types: `REPEATE_PERIOD_UNSPECIFIED`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
	Type PolicySettings_RepeatePeriod `protobuf:"varint,9,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_RepeatePeriod" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Scheduling_BackupSet_Time) Descriptor deprecated

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

Deprecated: Use PolicySettings_Scheduling_BackupSet_Time.ProtoReflect.Descriptor instead.

func (*PolicySettings_Scheduling_BackupSet_Time) GetIncludeLastDayOfMonth

func (x *PolicySettings_Scheduling_BackupSet_Time) GetIncludeLastDayOfMonth() bool

func (*PolicySettings_Scheduling_BackupSet_Time) GetMonthdays

func (x *PolicySettings_Scheduling_BackupSet_Time) GetMonthdays() []int64

func (*PolicySettings_Scheduling_BackupSet_Time) GetMonths

func (*PolicySettings_Scheduling_BackupSet_Time) GetRepeatAt

func (*PolicySettings_Scheduling_BackupSet_Time) GetRepeatEvery

func (*PolicySettings_Scheduling_BackupSet_Time) GetTimeFrom

func (*PolicySettings_Scheduling_BackupSet_Time) GetTimeTo

func (*PolicySettings_Scheduling_BackupSet_Time) GetType

func (*PolicySettings_Scheduling_BackupSet_Time) GetWeekdays

func (*PolicySettings_Scheduling_BackupSet_Time) ProtoMessage

func (*PolicySettings_Scheduling_BackupSet_Time) ProtoReflect

func (*PolicySettings_Scheduling_BackupSet_Time) Reset

func (*PolicySettings_Scheduling_BackupSet_Time) SetIncludeLastDayOfMonth

func (m *PolicySettings_Scheduling_BackupSet_Time) SetIncludeLastDayOfMonth(v bool)

func (*PolicySettings_Scheduling_BackupSet_Time) SetMonthdays

func (m *PolicySettings_Scheduling_BackupSet_Time) SetMonthdays(v []int64)

func (*PolicySettings_Scheduling_BackupSet_Time) SetMonths

func (*PolicySettings_Scheduling_BackupSet_Time) SetRepeatAt

func (*PolicySettings_Scheduling_BackupSet_Time) SetRepeatEvery

func (*PolicySettings_Scheduling_BackupSet_Time) SetTimeFrom

func (*PolicySettings_Scheduling_BackupSet_Time) SetTimeTo

func (*PolicySettings_Scheduling_BackupSet_Time) SetType

func (*PolicySettings_Scheduling_BackupSet_Time) SetWeekdays

func (*PolicySettings_Scheduling_BackupSet_Time) String

type PolicySettings_Scheduling_BackupSet_Time_

type PolicySettings_Scheduling_BackupSet_Time_ struct {
	Time *PolicySettings_Scheduling_BackupSet_Time `protobuf:"bytes,1,opt,name=time,proto3,oneof"`
}

type PolicySettings_Scheduling_BackupSet_Type

type PolicySettings_Scheduling_BackupSet_Type int32
const (
	PolicySettings_Scheduling_BackupSet_TYPE_UNSPECIFIED  PolicySettings_Scheduling_BackupSet_Type = 0
	PolicySettings_Scheduling_BackupSet_TYPE_AUTO         PolicySettings_Scheduling_BackupSet_Type = 1
	PolicySettings_Scheduling_BackupSet_TYPE_FULL         PolicySettings_Scheduling_BackupSet_Type = 2
	PolicySettings_Scheduling_BackupSet_TYPE_INCREMENTAL  PolicySettings_Scheduling_BackupSet_Type = 3
	PolicySettings_Scheduling_BackupSet_TYPE_DIFFERENTIAL PolicySettings_Scheduling_BackupSet_Type = 4
)

func (PolicySettings_Scheduling_BackupSet_Type) Descriptor

func (PolicySettings_Scheduling_BackupSet_Type) Enum

func (PolicySettings_Scheduling_BackupSet_Type) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_Scheduling_BackupSet_Type.Descriptor instead.

func (PolicySettings_Scheduling_BackupSet_Type) Number

func (PolicySettings_Scheduling_BackupSet_Type) String

func (PolicySettings_Scheduling_BackupSet_Type) Type

type PolicySettings_Scheduling_Scheme

type PolicySettings_Scheduling_Scheme int32

Scheme of backups.

const (
	PolicySettings_Scheduling_SCHEME_UNSPECIFIED            PolicySettings_Scheduling_Scheme = 0
	PolicySettings_Scheduling_SIMPLE                        PolicySettings_Scheduling_Scheme = 1
	PolicySettings_Scheduling_ALWAYS_FULL                   PolicySettings_Scheduling_Scheme = 2
	PolicySettings_Scheduling_ALWAYS_INCREMENTAL            PolicySettings_Scheduling_Scheme = 3
	PolicySettings_Scheduling_WEEKLY_INCREMENTAL            PolicySettings_Scheduling_Scheme = 4
	PolicySettings_Scheduling_WEEKLY_FULL_DAILY_INCREMENTAL PolicySettings_Scheduling_Scheme = 5
	// Custom will require to specify schedules for full, differential
	// and incremental backups additionally.
	PolicySettings_Scheduling_CUSTOM PolicySettings_Scheduling_Scheme = 6
	PolicySettings_Scheduling_CDP    PolicySettings_Scheduling_Scheme = 7
)

func (PolicySettings_Scheduling_Scheme) Descriptor

func (PolicySettings_Scheduling_Scheme) Enum

func (PolicySettings_Scheduling_Scheme) EnumDescriptor deprecated

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

Deprecated: Use PolicySettings_Scheduling_Scheme.Descriptor instead.

func (PolicySettings_Scheduling_Scheme) Number

func (PolicySettings_Scheduling_Scheme) String

func (PolicySettings_Scheduling_Scheme) Type

type PolicySettings_Splitting

type PolicySettings_Splitting struct {

	// The size of split backup file in bytes.
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_Splitting) Descriptor deprecated

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

Deprecated: Use PolicySettings_Splitting.ProtoReflect.Descriptor instead.

func (*PolicySettings_Splitting) GetSize

func (x *PolicySettings_Splitting) GetSize() int64

func (*PolicySettings_Splitting) ProtoMessage

func (*PolicySettings_Splitting) ProtoMessage()

func (*PolicySettings_Splitting) ProtoReflect

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

func (*PolicySettings_Splitting) Reset

func (x *PolicySettings_Splitting) Reset()

func (*PolicySettings_Splitting) SetSize

func (m *PolicySettings_Splitting) SetSize(v int64)

func (*PolicySettings_Splitting) String

func (x *PolicySettings_Splitting) String() string

type PolicySettings_TimeOfDay

type PolicySettings_TimeOfDay struct {

	// Hours.
	Hour int64 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// Minutes.
	Minute int64 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicySettings_TimeOfDay) Descriptor deprecated

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

Deprecated: Use PolicySettings_TimeOfDay.ProtoReflect.Descriptor instead.

func (*PolicySettings_TimeOfDay) GetHour

func (x *PolicySettings_TimeOfDay) GetHour() int64

func (*PolicySettings_TimeOfDay) GetMinute

func (x *PolicySettings_TimeOfDay) GetMinute() int64

func (*PolicySettings_TimeOfDay) ProtoMessage

func (*PolicySettings_TimeOfDay) ProtoMessage()

func (*PolicySettings_TimeOfDay) ProtoReflect

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

func (*PolicySettings_TimeOfDay) Reset

func (x *PolicySettings_TimeOfDay) Reset()

func (*PolicySettings_TimeOfDay) SetHour

func (m *PolicySettings_TimeOfDay) SetHour(v int64)

func (*PolicySettings_TimeOfDay) SetMinute

func (m *PolicySettings_TimeOfDay) SetMinute(v int64)

func (*PolicySettings_TimeOfDay) String

func (x *PolicySettings_TimeOfDay) String() string

type PolicySettings_VolumeShadowCopyServiceSettings

type PolicySettings_VolumeShadowCopyServiceSettings struct {

	// If true, the VSS will be enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// A type of VSS provider to use in backup.
	Provider PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settings for Volume Shadow Copy Services which allows to notify VSS-aware applications that backup is about to start. This will ensure the consistent state of all data used by the applications.

func (*PolicySettings_VolumeShadowCopyServiceSettings) Descriptor deprecated

Deprecated: Use PolicySettings_VolumeShadowCopyServiceSettings.ProtoReflect.Descriptor instead.

func (*PolicySettings_VolumeShadowCopyServiceSettings) GetEnabled

func (*PolicySettings_VolumeShadowCopyServiceSettings) GetProvider

func (*PolicySettings_VolumeShadowCopyServiceSettings) ProtoMessage

func (*PolicySettings_VolumeShadowCopyServiceSettings) ProtoReflect

func (*PolicySettings_VolumeShadowCopyServiceSettings) Reset

func (*PolicySettings_VolumeShadowCopyServiceSettings) SetEnabled

func (*PolicySettings_VolumeShadowCopyServiceSettings) SetProvider

func (*PolicySettings_VolumeShadowCopyServiceSettings) String

type PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider

type PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider int32
const (
	PolicySettings_VolumeShadowCopyServiceSettings_VSS_PROVIDER_UNSPECIFIED PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 0
	PolicySettings_VolumeShadowCopyServiceSettings_NATIVE                   PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 1
	PolicySettings_VolumeShadowCopyServiceSettings_TARGET_SYSTEM_DEFINED    PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 2
)

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Descriptor

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Enum

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) EnumDescriptor deprecated

Deprecated: Use PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider.Descriptor instead.

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Number

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) String

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Type

type Progress

type Progress struct {
	Current int64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	Total   int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*Progress) Descriptor deprecated

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetCurrent

func (x *Progress) GetCurrent() int64

func (*Progress) GetTotal

func (x *Progress) GetTotal() int64

func (*Progress) ProtoMessage

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect

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

func (*Progress) Reset

func (x *Progress) Reset()

func (*Progress) SetCurrent

func (m *Progress) SetCurrent(v int64)

func (*Progress) SetTotal

func (m *Progress) SetTotal(v int64)

func (*Progress) String

func (x *Progress) String() string

type ProviderServiceClient

type ProviderServiceClient interface {
	// Activate provider for specified client.
	Activate(ctx context.Context, in *ActivateProviderRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// List activated providers for specified client.
	ListActivated(ctx context.Context, in *ListActivatedProvidersRequest, opts ...grpc.CallOption) (*ListActivatedProvidersResponse, error)
}

ProviderServiceClient is the client API for ProviderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A set of methods for managing [backup providers](/docs/backup/concepts/#providers).

type ProviderServiceServer

type ProviderServiceServer interface {
	// Activate provider for specified client.
	Activate(context.Context, *ActivateProviderRequest) (*operation.Operation, error)
	// List activated providers for specified client.
	ListActivated(context.Context, *ListActivatedProvidersRequest) (*ListActivatedProvidersResponse, error)
}

ProviderServiceServer is the server API for ProviderService service. All implementations should embed UnimplementedProviderServiceServer for forward compatibility.

A set of methods for managing [backup providers](/docs/backup/concepts/#providers).

type Resource

type Resource struct {

	// Compute Cloud instance ID.
	ComputeInstanceId string                 `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	CreatedAt         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt         *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// If this field is true, it means that instance is online.
	Online bool `protobuf:"varint,4,opt,name=online,proto3" json:"online,omitempty"`
	// If this field is true, it means that backup is enabled to instance.
	Enabled bool            `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Status  Resource_Status `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.backup.v1.Resource_Status" json:"status,omitempty"`
	// If status value is one of `OTHER` or `FAILED`,
	// detailed info might be stored here.
	StatusDetails string `protobuf:"bytes,7,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"`
	// In case status is one of `BACKUPING` or `RECOVERING`,
	// progress value might be found here.
	StatusProgress int64                  `protobuf:"varint,8,opt,name=status_progress,json=statusProgress,proto3" json:"status_progress,omitempty"`
	LastBackupTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_backup_time,json=lastBackupTime,proto3" json:"last_backup_time,omitempty"`
	NextBackupTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=next_backup_time,json=nextBackupTime,proto3" json:"next_backup_time,omitempty"`
	// Resource ID is used to identify Compute Cloud instance in backup service.
	ResourceId string `protobuf:"bytes,11,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Status `is_active` shows whether current Compute Cloud instance controls Cloud Backup resource.
	// If status `is_active` is false it means Compute Cloud instance is not able to manipulate
	// Cloud Backup resource.
	IsActive bool `protobuf:"varint,12,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// Status of resource initialization in cloud backup service.
	InitStatus Resource_InitStatus `` /* 141-byte string literal not displayed */
	// Metadata to provide details about instance registration process
	// if status is FAILED_REGISTRATION or REGISTERING
	Metadata string `protobuf:"bytes,14,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Type of resource. Could be compute VM or baremetal server.
	Type ResourceType `protobuf:"varint,15,opt,name=type,proto3,enum=yandex.cloud.backup.v1.ResourceType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetComputeInstanceId

func (x *Resource) GetComputeInstanceId() string

func (*Resource) GetCreatedAt

func (x *Resource) GetCreatedAt() *timestamppb.Timestamp

func (*Resource) GetEnabled

func (x *Resource) GetEnabled() bool

func (*Resource) GetInitStatus

func (x *Resource) GetInitStatus() Resource_InitStatus

func (*Resource) GetIsActive

func (x *Resource) GetIsActive() bool

func (*Resource) GetLastBackupTime

func (x *Resource) GetLastBackupTime() *timestamppb.Timestamp

func (*Resource) GetMetadata

func (x *Resource) GetMetadata() string

func (*Resource) GetNextBackupTime

func (x *Resource) GetNextBackupTime() *timestamppb.Timestamp

func (*Resource) GetOnline

func (x *Resource) GetOnline() bool

func (*Resource) GetResourceId

func (x *Resource) GetResourceId() string

func (*Resource) GetStatus

func (x *Resource) GetStatus() Resource_Status

func (*Resource) GetStatusDetails

func (x *Resource) GetStatusDetails() string

func (*Resource) GetStatusProgress

func (x *Resource) GetStatusProgress() int64

func (*Resource) GetType

func (x *Resource) GetType() ResourceType

func (*Resource) GetUpdatedAt

func (x *Resource) GetUpdatedAt() *timestamppb.Timestamp

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) SetComputeInstanceId

func (m *Resource) SetComputeInstanceId(v string)

func (*Resource) SetCreatedAt

func (m *Resource) SetCreatedAt(v *timestamppb.Timestamp)

func (*Resource) SetEnabled

func (m *Resource) SetEnabled(v bool)

func (*Resource) SetInitStatus

func (m *Resource) SetInitStatus(v Resource_InitStatus)

func (*Resource) SetIsActive

func (m *Resource) SetIsActive(v bool)

func (*Resource) SetLastBackupTime

func (m *Resource) SetLastBackupTime(v *timestamppb.Timestamp)

func (*Resource) SetMetadata

func (m *Resource) SetMetadata(v string)

func (*Resource) SetNextBackupTime

func (m *Resource) SetNextBackupTime(v *timestamppb.Timestamp)

func (*Resource) SetOnline

func (m *Resource) SetOnline(v bool)

func (*Resource) SetResourceId

func (m *Resource) SetResourceId(v string)

func (*Resource) SetStatus

func (m *Resource) SetStatus(v Resource_Status)

func (*Resource) SetStatusDetails

func (m *Resource) SetStatusDetails(v string)

func (*Resource) SetStatusProgress

func (m *Resource) SetStatusProgress(v int64)

func (*Resource) SetType

func (m *Resource) SetType(v ResourceType)

func (*Resource) SetUpdatedAt

func (m *Resource) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Resource) String

func (x *Resource) String() string

type ResourceServiceClient

type ResourceServiceClient interface {
	// List resources: Compute Cloud instances.
	List(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// Get specific Compute Cloud instance.
	Get(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error)
	// Delete specific Compute Cloud instance from Cloud Backup. It does not delete
	// instance from Cloud Compute service.
	Delete(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// List tasks of resources.
	ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
	// ListDirectory returns all subdirectories found in requested directory identified
	// by the id.
	ListDirectory(ctx context.Context, in *ListDirectoryRequest, opts ...grpc.CallOption) (*ListDirectoryResponse, error)
	// CreateDirectory creates new directory by requested path.
	CreateDirectory(ctx context.Context, in *CreateDirectoryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// ListOperations return all operations in backup service for given instance
	ListOperations(ctx context.Context, in *ListResourceOperationsRequest, opts ...grpc.CallOption) (*ListResourceOperationsResponse, error)
}

ResourceServiceClient is the client API for ResourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A set of methods for managing backup resources: [Compute Cloud instances](/docs/backup/concepts/vm-connection#os).

type ResourceServiceServer

type ResourceServiceServer interface {
	// List resources: Compute Cloud instances.
	List(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// Get specific Compute Cloud instance.
	Get(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
	// Delete specific Compute Cloud instance from Cloud Backup. It does not delete
	// instance from Cloud Compute service.
	Delete(context.Context, *DeleteResourceRequest) (*operation.Operation, error)
	// List tasks of resources.
	ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
	// ListDirectory returns all subdirectories found in requested directory identified
	// by the id.
	ListDirectory(context.Context, *ListDirectoryRequest) (*ListDirectoryResponse, error)
	// CreateDirectory creates new directory by requested path.
	CreateDirectory(context.Context, *CreateDirectoryRequest) (*operation.Operation, error)
	// ListOperations return all operations in backup service for given instance
	ListOperations(context.Context, *ListResourceOperationsRequest) (*ListResourceOperationsResponse, error)
}

ResourceServiceServer is the server API for ResourceService service. All implementations should embed UnimplementedResourceServiceServer for forward compatibility.

A set of methods for managing backup resources: [Compute Cloud instances](/docs/backup/concepts/vm-connection#os).

type ResourceType

type ResourceType int32
const (
	ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0
	// Resource is Compute Cloud VM
	ResourceType_COMPUTE ResourceType = 1
	// Resource is baremetal server
	ResourceType_BMS ResourceType = 2
)

func (ResourceType) Descriptor

func (ResourceType) Enum

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type

type Resource_InitStatus

type Resource_InitStatus int32
const (
	Resource_INIT_STATUS_UNSPECIFIED Resource_InitStatus = 0
	// Registration of instance in cloud backups have started.
	Resource_REGISTERING Resource_InitStatus = 1
	// Instance is registered in cloud backups.
	Resource_REGISTRED Resource_InitStatus = 2
	// Instance registration failed.
	Resource_FAILED_REGISTRATION Resource_InitStatus = 3
	// Instance is deleted from cloud backup service.
	Resource_DELETED Resource_InitStatus = 4
)

func (Resource_InitStatus) Descriptor

func (Resource_InitStatus) Enum

func (Resource_InitStatus) EnumDescriptor deprecated

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

Deprecated: Use Resource_InitStatus.Descriptor instead.

func (Resource_InitStatus) Number

func (Resource_InitStatus) String

func (x Resource_InitStatus) String() string

func (Resource_InitStatus) Type

type Resource_Status

type Resource_Status int32
const (
	Resource_STATUS_UNSPECIFIED Resource_Status = 0
	// Compute Cloud instance is doing nothing right now.
	Resource_IDLE Resource_Status = 1
	// Compute Cloud instance is currently backing up itself.
	Resource_BACKUPING Resource_Status = 2
	// Compute Cloud instance is currently recovering itself.
	Resource_RECOVERING Resource_Status = 3
	// Compute Cloud instance is in failure state, check content of
	// `status_details` field for more information.
	Resource_FAILED Resource_Status = 4
	// Unspecified state, check `status_details` field
	// for more information.
	Resource_OTHER Resource_Status = 5
)

func (Resource_Status) Descriptor

func (Resource_Status) Enum

func (x Resource_Status) Enum() *Resource_Status

func (Resource_Status) EnumDescriptor deprecated

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

Deprecated: Use Resource_Status.Descriptor instead.

func (Resource_Status) Number

func (Resource_Status) String

func (x Resource_Status) String() string

func (Resource_Status) Type

type RevokeMetadata

type RevokeMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeMetadata) Descriptor deprecated

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

Deprecated: Use RevokeMetadata.ProtoReflect.Descriptor instead.

func (*RevokeMetadata) GetComputeInstanceId

func (x *RevokeMetadata) GetComputeInstanceId() string

func (*RevokeMetadata) GetPolicyId

func (x *RevokeMetadata) GetPolicyId() string

func (*RevokeMetadata) ProtoMessage

func (*RevokeMetadata) ProtoMessage()

func (*RevokeMetadata) ProtoReflect

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

func (*RevokeMetadata) Reset

func (x *RevokeMetadata) Reset()

func (*RevokeMetadata) SetComputeInstanceId

func (m *RevokeMetadata) SetComputeInstanceId(v string)

func (*RevokeMetadata) SetPolicyId

func (m *RevokeMetadata) SetPolicyId(v string)

func (*RevokeMetadata) String

func (x *RevokeMetadata) String() string

type RevokeRequest

type RevokeRequest struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeRequest) Descriptor deprecated

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

Deprecated: Use RevokeRequest.ProtoReflect.Descriptor instead.

func (*RevokeRequest) GetComputeInstanceId

func (x *RevokeRequest) GetComputeInstanceId() string

func (*RevokeRequest) GetPolicyId

func (x *RevokeRequest) GetPolicyId() string

func (*RevokeRequest) ProtoMessage

func (*RevokeRequest) ProtoMessage()

func (*RevokeRequest) ProtoReflect

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

func (*RevokeRequest) Reset

func (x *RevokeRequest) Reset()

func (*RevokeRequest) SetComputeInstanceId

func (m *RevokeRequest) SetComputeInstanceId(v string)

func (*RevokeRequest) SetPolicyId

func (m *RevokeRequest) SetPolicyId(v string)

func (*RevokeRequest) String

func (x *RevokeRequest) String() string

type StartFilesRecoveryMetadata

type StartFilesRecoveryMetadata struct {
	ProgressPercentage float64 `protobuf:"fixed64,1,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
	// Destination instance ID.
	ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Backup ID.
	BackupId  string   `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	SourceIds []string `protobuf:"bytes,4,rep,name=source_ids,json=sourceIds,proto3" json:"source_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFilesRecoveryMetadata) Descriptor deprecated

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

Deprecated: Use StartFilesRecoveryMetadata.ProtoReflect.Descriptor instead.

func (*StartFilesRecoveryMetadata) GetBackupId

func (x *StartFilesRecoveryMetadata) GetBackupId() string

func (*StartFilesRecoveryMetadata) GetComputeInstanceId

func (x *StartFilesRecoveryMetadata) GetComputeInstanceId() string

func (*StartFilesRecoveryMetadata) GetProgressPercentage

func (x *StartFilesRecoveryMetadata) GetProgressPercentage() float64

func (*StartFilesRecoveryMetadata) GetSourceIds

func (x *StartFilesRecoveryMetadata) GetSourceIds() []string

func (*StartFilesRecoveryMetadata) ProtoMessage

func (*StartFilesRecoveryMetadata) ProtoMessage()

func (*StartFilesRecoveryMetadata) ProtoReflect

func (*StartFilesRecoveryMetadata) Reset

func (x *StartFilesRecoveryMetadata) Reset()

func (*StartFilesRecoveryMetadata) SetBackupId

func (m *StartFilesRecoveryMetadata) SetBackupId(v string)

func (*StartFilesRecoveryMetadata) SetComputeInstanceId

func (m *StartFilesRecoveryMetadata) SetComputeInstanceId(v string)

func (*StartFilesRecoveryMetadata) SetProgressPercentage

func (m *StartFilesRecoveryMetadata) SetProgressPercentage(v float64)

func (*StartFilesRecoveryMetadata) SetSourceIds

func (m *StartFilesRecoveryMetadata) SetSourceIds(v []string)

func (*StartFilesRecoveryMetadata) String

func (x *StartFilesRecoveryMetadata) String() string

type StartFilesRecoveryRequest

type StartFilesRecoveryRequest struct {

	// Destination instance ID.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Backup ID.
	BackupId  string                `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	Opts      *FilesRecoveryOptions `protobuf:"bytes,3,opt,name=opts,proto3" json:"opts,omitempty"`
	SourceIds []string              `protobuf:"bytes,4,rep,name=source_ids,json=sourceIds,proto3" json:"source_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFilesRecoveryRequest) Descriptor deprecated

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

Deprecated: Use StartFilesRecoveryRequest.ProtoReflect.Descriptor instead.

func (*StartFilesRecoveryRequest) GetBackupId

func (x *StartFilesRecoveryRequest) GetBackupId() string

func (*StartFilesRecoveryRequest) GetComputeInstanceId

func (x *StartFilesRecoveryRequest) GetComputeInstanceId() string

func (*StartFilesRecoveryRequest) GetOpts

func (*StartFilesRecoveryRequest) GetSourceIds

func (x *StartFilesRecoveryRequest) GetSourceIds() []string

func (*StartFilesRecoveryRequest) ProtoMessage

func (*StartFilesRecoveryRequest) ProtoMessage()

func (*StartFilesRecoveryRequest) ProtoReflect

func (*StartFilesRecoveryRequest) Reset

func (x *StartFilesRecoveryRequest) Reset()

func (*StartFilesRecoveryRequest) SetBackupId

func (m *StartFilesRecoveryRequest) SetBackupId(v string)

func (*StartFilesRecoveryRequest) SetComputeInstanceId

func (m *StartFilesRecoveryRequest) SetComputeInstanceId(v string)

func (*StartFilesRecoveryRequest) SetOpts

func (*StartFilesRecoveryRequest) SetSourceIds

func (m *StartFilesRecoveryRequest) SetSourceIds(v []string)

func (*StartFilesRecoveryRequest) String

func (x *StartFilesRecoveryRequest) String() string

type StartRecoveryMetadata

type StartRecoveryMetadata struct {

	// Progress of the backup process.
	ProgressPercentage float64 `protobuf:"fixed64,1,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
	// Source Backup ID that will be applied.
	SrcBackupId string `protobuf:"bytes,2,opt,name=src_backup_id,json=srcBackupId,proto3" json:"src_backup_id,omitempty"`
	// Destination Compute Cloud instance ID to which backup will be applied.
	DstComputeInstanceId string `protobuf:"bytes,3,opt,name=dst_compute_instance_id,json=dstComputeInstanceId,proto3" json:"dst_compute_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRecoveryMetadata) Descriptor deprecated

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

Deprecated: Use StartRecoveryMetadata.ProtoReflect.Descriptor instead.

func (*StartRecoveryMetadata) GetDstComputeInstanceId

func (x *StartRecoveryMetadata) GetDstComputeInstanceId() string

func (*StartRecoveryMetadata) GetProgressPercentage

func (x *StartRecoveryMetadata) GetProgressPercentage() float64

func (*StartRecoveryMetadata) GetSrcBackupId

func (x *StartRecoveryMetadata) GetSrcBackupId() string

func (*StartRecoveryMetadata) ProtoMessage

func (*StartRecoveryMetadata) ProtoMessage()

func (*StartRecoveryMetadata) ProtoReflect

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

func (*StartRecoveryMetadata) Reset

func (x *StartRecoveryMetadata) Reset()

func (*StartRecoveryMetadata) SetDstComputeInstanceId

func (m *StartRecoveryMetadata) SetDstComputeInstanceId(v string)

func (*StartRecoveryMetadata) SetProgressPercentage

func (m *StartRecoveryMetadata) SetProgressPercentage(v float64)

func (*StartRecoveryMetadata) SetSrcBackupId

func (m *StartRecoveryMetadata) SetSrcBackupId(v string)

func (*StartRecoveryMetadata) String

func (x *StartRecoveryMetadata) String() string

type StartRecoveryRequest

type StartRecoveryRequest struct {

	// Destination Compute Cloud instance ID to which backup should be applied.
	ComputeInstanceId string `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Backup ID that will be applied to destination Compute Cloud instance.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRecoveryRequest) Descriptor deprecated

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

Deprecated: Use StartRecoveryRequest.ProtoReflect.Descriptor instead.

func (*StartRecoveryRequest) GetBackupId

func (x *StartRecoveryRequest) GetBackupId() string

func (*StartRecoveryRequest) GetComputeInstanceId

func (x *StartRecoveryRequest) GetComputeInstanceId() string

func (*StartRecoveryRequest) ProtoMessage

func (*StartRecoveryRequest) ProtoMessage()

func (*StartRecoveryRequest) ProtoReflect

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

func (*StartRecoveryRequest) Reset

func (x *StartRecoveryRequest) Reset()

func (*StartRecoveryRequest) SetBackupId

func (m *StartRecoveryRequest) SetBackupId(v string)

func (*StartRecoveryRequest) SetComputeInstanceId

func (m *StartRecoveryRequest) SetComputeInstanceId(v string)

func (*StartRecoveryRequest) String

func (x *StartRecoveryRequest) String() string

type TargetPathCustom

type TargetPathCustom struct {

	// Custom folder for file recovery.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetPathCustom) Descriptor deprecated

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

Deprecated: Use TargetPathCustom.ProtoReflect.Descriptor instead.

func (*TargetPathCustom) GetPath

func (x *TargetPathCustom) GetPath() string

func (*TargetPathCustom) ProtoMessage

func (*TargetPathCustom) ProtoMessage()

func (*TargetPathCustom) ProtoReflect

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

func (*TargetPathCustom) Reset

func (x *TargetPathCustom) Reset()

func (*TargetPathCustom) SetPath

func (m *TargetPathCustom) SetPath(v string)

func (*TargetPathCustom) String

func (x *TargetPathCustom) String() string

type TargetPathOriginal

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

func (*TargetPathOriginal) Descriptor deprecated

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

Deprecated: Use TargetPathOriginal.ProtoReflect.Descriptor instead.

func (*TargetPathOriginal) ProtoMessage

func (*TargetPathOriginal) ProtoMessage()

func (*TargetPathOriginal) ProtoReflect

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

func (*TargetPathOriginal) Reset

func (x *TargetPathOriginal) Reset()

func (*TargetPathOriginal) String

func (x *TargetPathOriginal) String() string

type Task

type Task struct {

	// Task ID.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Shows whether the task is cancellable.
	// Note: task cancellation is not supported yet.
	Cancellable bool `protobuf:"varint,2,opt,name=cancellable,proto3" json:"cancellable,omitempty"`
	// Policy ID.
	PolicyId string `protobuf:"bytes,3,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Type of the task.
	Type Task_Type `protobuf:"varint,4,opt,name=type,proto3,enum=yandex.cloud.backup.v1.Task_Type" json:"type,omitempty"`
	// Task progress.
	Progress *Progress `protobuf:"bytes,5,opt,name=progress,proto3" json:"progress,omitempty"`
	// Task status.
	Status      Task_Status            `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.backup.v1.Task_Status" json:"status,omitempty"`
	EnqueuedAt  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=enqueued_at,json=enqueuedAt,proto3" json:"enqueued_at,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string `protobuf:"bytes,11,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	// Task result code.
	ResultCode Task_Code `` /* 131-byte string literal not displayed */
	// Task error message if task finished with not OK code
	Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetCancellable

func (x *Task) GetCancellable() bool

func (*Task) GetCompletedAt

func (x *Task) GetCompletedAt() *timestamppb.Timestamp

func (*Task) GetComputeInstanceId

func (x *Task) GetComputeInstanceId() string

func (*Task) GetEnqueuedAt

func (x *Task) GetEnqueuedAt() *timestamppb.Timestamp

func (*Task) GetError

func (x *Task) GetError() string

func (*Task) GetId

func (x *Task) GetId() int64

func (*Task) GetPolicyId

func (x *Task) GetPolicyId() string

func (*Task) GetProgress

func (x *Task) GetProgress() *Progress

func (*Task) GetResultCode

func (x *Task) GetResultCode() Task_Code

func (*Task) GetStartedAt

func (x *Task) GetStartedAt() *timestamppb.Timestamp

func (*Task) GetStatus

func (x *Task) GetStatus() Task_Status

func (*Task) GetType

func (x *Task) GetType() Task_Type

func (*Task) GetUpdatedAt

func (x *Task) GetUpdatedAt() *timestamppb.Timestamp

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) SetCancellable

func (m *Task) SetCancellable(v bool)

func (*Task) SetCompletedAt

func (m *Task) SetCompletedAt(v *timestamppb.Timestamp)

func (*Task) SetComputeInstanceId

func (m *Task) SetComputeInstanceId(v string)

func (*Task) SetEnqueuedAt

func (m *Task) SetEnqueuedAt(v *timestamppb.Timestamp)

func (*Task) SetError

func (m *Task) SetError(v string)

func (*Task) SetId

func (m *Task) SetId(v int64)

func (*Task) SetPolicyId

func (m *Task) SetPolicyId(v string)

func (*Task) SetProgress

func (m *Task) SetProgress(v *Progress)

func (*Task) SetResultCode

func (m *Task) SetResultCode(v Task_Code)

func (*Task) SetStartedAt

func (m *Task) SetStartedAt(v *timestamppb.Timestamp)

func (*Task) SetStatus

func (m *Task) SetStatus(v Task_Status)

func (*Task) SetType

func (m *Task) SetType(v Task_Type)

func (*Task) SetUpdatedAt

func (m *Task) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Task) String

func (x *Task) String() string

type Task_Code

type Task_Code int32

Result code of task

const (
	Task_CODE_UNSPECIFIED Task_Code = 0
	Task_OK               Task_Code = 1
	Task_ERROR            Task_Code = 2
	Task_WARNING          Task_Code = 3
	Task_CANCELLED        Task_Code = 4
	Task_ABANDONED        Task_Code = 5
	Task_TIMEDOUT         Task_Code = 6
)

func (Task_Code) Descriptor

func (Task_Code) Descriptor() protoreflect.EnumDescriptor

func (Task_Code) Enum

func (x Task_Code) Enum() *Task_Code

func (Task_Code) EnumDescriptor deprecated

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

Deprecated: Use Task_Code.Descriptor instead.

func (Task_Code) Number

func (x Task_Code) Number() protoreflect.EnumNumber

func (Task_Code) String

func (x Task_Code) String() string

func (Task_Code) Type

type Task_Status

type Task_Status int32

Status of task.

const (
	Task_STATUS_UNSPECIFIED Task_Status = 0
	Task_ENQUEUED           Task_Status = 1
	Task_ASSIGNED           Task_Status = 2
	Task_STARTED            Task_Status = 3
	Task_PAUSED             Task_Status = 4
	Task_COMPLETED          Task_Status = 5
)

func (Task_Status) Descriptor

func (Task_Status) Enum

func (x Task_Status) Enum() *Task_Status

func (Task_Status) EnumDescriptor deprecated

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

Deprecated: Use Task_Status.Descriptor instead.

func (Task_Status) Number

func (x Task_Status) Number() protoreflect.EnumNumber

func (Task_Status) String

func (x Task_Status) String() string

func (Task_Status) Type

type Task_Type

type Task_Type int32
const (
	Task_TYPE_UNSPECIFIED Task_Type = 0
	Task_BACKUP           Task_Type = 1
	Task_RETENTION        Task_Type = 2
	Task_RECOVERY         Task_Type = 3
	Task_APPLY_POLICY     Task_Type = 4
	Task_REVOKE_POLICY    Task_Type = 5
)

func (Task_Type) Descriptor

func (Task_Type) Descriptor() protoreflect.EnumDescriptor

func (Task_Type) Enum

func (x Task_Type) Enum() *Task_Type

func (Task_Type) EnumDescriptor deprecated

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

Deprecated: Use Task_Type.Descriptor instead.

func (Task_Type) Number

func (x Task_Type) Number() protoreflect.EnumNumber

func (Task_Type) String

func (x Task_Type) String() string

func (Task_Type) Type

type UnimplementedBackupServiceServer

type UnimplementedBackupServiceServer struct{}

UnimplementedBackupServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBackupServiceServer) Delete

func (UnimplementedBackupServiceServer) Get

func (UnimplementedBackupServiceServer) List

func (UnimplementedBackupServiceServer) ListArchives

func (UnimplementedBackupServiceServer) ListFiles

func (UnimplementedBackupServiceServer) StartFilesRecovery

func (UnimplementedBackupServiceServer) StartRecovery

type UnimplementedPolicyServiceServer

type UnimplementedPolicyServiceServer struct{}

UnimplementedPolicyServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPolicyServiceServer) Apply

func (UnimplementedPolicyServiceServer) Create

func (UnimplementedPolicyServiceServer) Delete

func (UnimplementedPolicyServiceServer) Execute

func (UnimplementedPolicyServiceServer) Get

func (UnimplementedPolicyServiceServer) List

func (UnimplementedPolicyServiceServer) ListApplications

func (UnimplementedPolicyServiceServer) Revoke

func (UnimplementedPolicyServiceServer) Update

type UnimplementedProviderServiceServer

type UnimplementedProviderServiceServer struct{}

UnimplementedProviderServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProviderServiceServer) Activate

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct{}

UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedResourceServiceServer) CreateDirectory

func (UnimplementedResourceServiceServer) Delete

func (UnimplementedResourceServiceServer) Get

func (UnimplementedResourceServiceServer) List

func (UnimplementedResourceServiceServer) ListDirectory

func (UnimplementedResourceServiceServer) ListTasks

type UnsafeBackupServiceServer

type UnsafeBackupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.

type UnsafePolicyServiceServer

type UnsafePolicyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyServiceServer will result in compilation errors.

type UnsafeProviderServiceServer

type UnsafeProviderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServiceServer will result in compilation errors.

type UnsafeResourceServiceServer

type UnsafeResourceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.

type UpdatePolicyMetadata

type UpdatePolicyMetadata struct {

	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyMetadata) Descriptor deprecated

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

Deprecated: Use UpdatePolicyMetadata.ProtoReflect.Descriptor instead.

func (*UpdatePolicyMetadata) GetPolicyId

func (x *UpdatePolicyMetadata) GetPolicyId() string

func (*UpdatePolicyMetadata) ProtoMessage

func (*UpdatePolicyMetadata) ProtoMessage()

func (*UpdatePolicyMetadata) ProtoReflect

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

func (*UpdatePolicyMetadata) Reset

func (x *UpdatePolicyMetadata) Reset()

func (*UpdatePolicyMetadata) SetPolicyId

func (m *UpdatePolicyMetadata) SetPolicyId(v string)

func (*UpdatePolicyMetadata) String

func (x *UpdatePolicyMetadata) String() string

type UpdatePolicyRequest

type UpdatePolicyRequest struct {

	// Policy ID.
	PolicyId string          `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	Settings *PolicySettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyRequest) Descriptor deprecated

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

Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdatePolicyRequest) GetPolicyId

func (x *UpdatePolicyRequest) GetPolicyId() string

func (*UpdatePolicyRequest) GetSettings

func (x *UpdatePolicyRequest) GetSettings() *PolicySettings

func (*UpdatePolicyRequest) ProtoMessage

func (*UpdatePolicyRequest) ProtoMessage()

func (*UpdatePolicyRequest) ProtoReflect

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

func (*UpdatePolicyRequest) Reset

func (x *UpdatePolicyRequest) Reset()

func (*UpdatePolicyRequest) SetPolicyId

func (m *UpdatePolicyRequest) SetPolicyId(v string)

func (*UpdatePolicyRequest) SetSettings

func (m *UpdatePolicyRequest) SetSettings(v *PolicySettings)

func (*UpdatePolicyRequest) String

func (x *UpdatePolicyRequest) String() string

type Volume

type Volume struct {

	// Free space in the volume.
	FreeSpace int64 `protobuf:"varint,1,opt,name=free_space,json=freeSpace,proto3" json:"free_space,omitempty"`
	// If this field is true, it means that the volume is bootable.
	IsBootable bool `protobuf:"varint,2,opt,name=is_bootable,json=isBootable,proto3" json:"is_bootable,omitempty"`
	// If this field is true, it means that the volume is a system volume.
	IsSystem bool `protobuf:"varint,3,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	// Volume name.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Volume size.
	Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// Mount string ID.
	MountStrid string `protobuf:"bytes,6,opt,name=mount_strid,json=mountStrid,proto3" json:"mount_strid,omitempty"`
	// contains filtered or unexported fields
}

func (*Volume) Descriptor deprecated

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetFreeSpace

func (x *Volume) GetFreeSpace() int64

func (*Volume) GetIsBootable

func (x *Volume) GetIsBootable() bool

func (*Volume) GetIsSystem

func (x *Volume) GetIsSystem() bool

func (*Volume) GetMountStrid

func (x *Volume) GetMountStrid() string

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetSize

func (x *Volume) GetSize() int64

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) SetFreeSpace

func (m *Volume) SetFreeSpace(v int64)

func (*Volume) SetIsBootable

func (m *Volume) SetIsBootable(v bool)

func (*Volume) SetIsSystem

func (m *Volume) SetIsSystem(v bool)

func (*Volume) SetMountStrid

func (m *Volume) SetMountStrid(v string)

func (*Volume) SetName

func (m *Volume) SetName(v string)

func (*Volume) SetSize

func (m *Volume) SetSize(v int64)

func (*Volume) String

func (x *Volume) String() string

Jump to

Keyboard shortcuts

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