Variables
ActiveDirectory_State_name, ActiveDirectory_State_value
var (
ActiveDirectory_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "UPDATING",
4: "IN_USE",
5: "DELETING",
6: "ERROR",
}
ActiveDirectory_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"IN_USE": 4,
"DELETING": 5,
"ERROR": 6,
}
)
Enum value maps for ActiveDirectory_State.
Backup_State_name, Backup_State_value
var (
Backup_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "UPLOADING",
3: "READY",
4: "DELETING",
5: "ERROR",
6: "UPDATING",
}
Backup_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPLOADING": 2,
"READY": 3,
"DELETING": 4,
"ERROR": 5,
"UPDATING": 6,
}
)
Enum value maps for Backup_State.
Backup_Type_name, Backup_Type_value
var (
Backup_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "MANUAL",
2: "SCHEDULED",
}
Backup_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"MANUAL": 1,
"SCHEDULED": 2,
}
)
Enum value maps for Backup_Type.
BackupPolicy_State_name, BackupPolicy_State_value
var (
BackupPolicy_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "DELETING",
4: "ERROR",
5: "UPDATING",
}
BackupPolicy_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"DELETING": 3,
"ERROR": 4,
"UPDATING": 5,
}
)
Enum value maps for BackupPolicy_State.
BackupVault_State_name, BackupVault_State_value
var (
BackupVault_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "DELETING",
4: "ERROR",
5: "UPDATING",
}
BackupVault_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"DELETING": 3,
"ERROR": 4,
"UPDATING": 5,
}
)
Enum value maps for BackupVault_State.
ServiceLevel_name, ServiceLevel_value
var (
ServiceLevel_name = map[int32]string{
0: "SERVICE_LEVEL_UNSPECIFIED",
1: "PREMIUM",
2: "EXTREME",
3: "STANDARD",
4: "FLEX",
}
ServiceLevel_value = map[string]int32{
"SERVICE_LEVEL_UNSPECIFIED": 0,
"PREMIUM": 1,
"EXTREME": 2,
"STANDARD": 3,
"FLEX": 4,
}
)
Enum value maps for ServiceLevel.
EncryptionType_name, EncryptionType_value
var (
EncryptionType_name = map[int32]string{
0: "ENCRYPTION_TYPE_UNSPECIFIED",
1: "SERVICE_MANAGED",
2: "CLOUD_KMS",
}
EncryptionType_value = map[string]int32{
"ENCRYPTION_TYPE_UNSPECIFIED": 0,
"SERVICE_MANAGED": 1,
"CLOUD_KMS": 2,
}
)
Enum value maps for EncryptionType.
KmsConfig_State_name, KmsConfig_State_value
var (
KmsConfig_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "READY",
2: "CREATING",
3: "DELETING",
4: "UPDATING",
5: "IN_USE",
6: "ERROR",
7: "KEY_CHECK_PENDING",
8: "KEY_NOT_REACHABLE",
9: "DISABLING",
10: "DISABLED",
11: "MIGRATING",
}
KmsConfig_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"UPDATING": 4,
"IN_USE": 5,
"ERROR": 6,
"KEY_CHECK_PENDING": 7,
"KEY_NOT_REACHABLE": 8,
"DISABLING": 9,
"DISABLED": 10,
"MIGRATING": 11,
}
)
Enum value maps for KmsConfig_State.
Replication_State_name, Replication_State_value
var (
Replication_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "UPDATING",
5: "DELETING",
6: "ERROR",
}
Replication_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"DELETING": 5,
"ERROR": 6,
}
)
Enum value maps for Replication_State.
Replication_ReplicationRole_name, Replication_ReplicationRole_value
var (
Replication_ReplicationRole_name = map[int32]string{
0: "REPLICATION_ROLE_UNSPECIFIED",
1: "SOURCE",
2: "DESTINATION",
}
Replication_ReplicationRole_value = map[string]int32{
"REPLICATION_ROLE_UNSPECIFIED": 0,
"SOURCE": 1,
"DESTINATION": 2,
}
)
Enum value maps for Replication_ReplicationRole.
Replication_ReplicationSchedule_name, Replication_ReplicationSchedule_value
var (
Replication_ReplicationSchedule_name = map[int32]string{
0: "REPLICATION_SCHEDULE_UNSPECIFIED",
1: "EVERY_10_MINUTES",
2: "HOURLY",
3: "DAILY",
}
Replication_ReplicationSchedule_value = map[string]int32{
"REPLICATION_SCHEDULE_UNSPECIFIED": 0,
"EVERY_10_MINUTES": 1,
"HOURLY": 2,
"DAILY": 3,
}
)
Enum value maps for Replication_ReplicationSchedule.
Replication_MirrorState_name, Replication_MirrorState_value
var (
Replication_MirrorState_name = map[int32]string{
0: "MIRROR_STATE_UNSPECIFIED",
1: "PREPARING",
2: "MIRRORED",
3: "STOPPED",
4: "TRANSFERRING",
}
Replication_MirrorState_value = map[string]int32{
"MIRROR_STATE_UNSPECIFIED": 0,
"PREPARING": 1,
"MIRRORED": 2,
"STOPPED": 3,
"TRANSFERRING": 4,
}
)
Enum value maps for Replication_MirrorState.
Snapshot_State_name, Snapshot_State_value
var (
Snapshot_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "READY",
2: "CREATING",
3: "DELETING",
4: "UPDATING",
5: "DISABLED",
6: "ERROR",
}
Snapshot_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"UPDATING": 4,
"DISABLED": 5,
"ERROR": 6,
}
)
Enum value maps for Snapshot_State.
StoragePool_State_name, StoragePool_State_value
var (
StoragePool_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "READY",
2: "CREATING",
3: "DELETING",
4: "UPDATING",
5: "RESTORING",
6: "DISABLED",
7: "ERROR",
}
StoragePool_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"UPDATING": 4,
"RESTORING": 5,
"DISABLED": 6,
"ERROR": 7,
}
)
Enum value maps for StoragePool_State.
Protocols_name, Protocols_value
var (
Protocols_name = map[int32]string{
0: "PROTOCOLS_UNSPECIFIED",
1: "NFSV3",
2: "NFSV4",
3: "SMB",
}
Protocols_value = map[string]int32{
"PROTOCOLS_UNSPECIFIED": 0,
"NFSV3": 1,
"NFSV4": 2,
"SMB": 3,
}
)
Enum value maps for Protocols.
AccessType_name, AccessType_value
var (
AccessType_name = map[int32]string{
0: "ACCESS_TYPE_UNSPECIFIED",
1: "READ_ONLY",
2: "READ_WRITE",
3: "READ_NONE",
}
AccessType_value = map[string]int32{
"ACCESS_TYPE_UNSPECIFIED": 0,
"READ_ONLY": 1,
"READ_WRITE": 2,
"READ_NONE": 3,
}
)
Enum value maps for AccessType.
SMBSettings_name, SMBSettings_value
var (
SMBSettings_name = map[int32]string{
0: "SMB_SETTINGS_UNSPECIFIED",
1: "ENCRYPT_DATA",
2: "BROWSABLE",
3: "CHANGE_NOTIFY",
4: "NON_BROWSABLE",
5: "OPLOCKS",
6: "SHOW_SNAPSHOT",
7: "SHOW_PREVIOUS_VERSIONS",
8: "ACCESS_BASED_ENUMERATION",
9: "CONTINUOUSLY_AVAILABLE",
}
SMBSettings_value = map[string]int32{
"SMB_SETTINGS_UNSPECIFIED": 0,
"ENCRYPT_DATA": 1,
"BROWSABLE": 2,
"CHANGE_NOTIFY": 3,
"NON_BROWSABLE": 4,
"OPLOCKS": 5,
"SHOW_SNAPSHOT": 6,
"SHOW_PREVIOUS_VERSIONS": 7,
"ACCESS_BASED_ENUMERATION": 8,
"CONTINUOUSLY_AVAILABLE": 9,
}
)
Enum value maps for SMBSettings.
SecurityStyle_name, SecurityStyle_value
var (
SecurityStyle_name = map[int32]string{
0: "SECURITY_STYLE_UNSPECIFIED",
1: "NTFS",
2: "UNIX",
}
SecurityStyle_value = map[string]int32{
"SECURITY_STYLE_UNSPECIFIED": 0,
"NTFS": 1,
"UNIX": 2,
}
)
Enum value maps for SecurityStyle.
RestrictedAction_name, RestrictedAction_value
var (
RestrictedAction_name = map[int32]string{
0: "RESTRICTED_ACTION_UNSPECIFIED",
1: "DELETE",
}
RestrictedAction_value = map[string]int32{
"RESTRICTED_ACTION_UNSPECIFIED": 0,
"DELETE": 1,
}
)
Enum value maps for RestrictedAction.
Volume_State_name, Volume_State_value
var (
Volume_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "READY",
2: "CREATING",
3: "DELETING",
4: "UPDATING",
5: "RESTORING",
6: "DISABLED",
7: "ERROR",
}
Volume_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"UPDATING": 4,
"RESTORING": 5,
"DISABLED": 6,
"ERROR": 7,
}
)
Enum value maps for Volume_State.
TieringPolicy_TierAction_name, TieringPolicy_TierAction_value
var (
TieringPolicy_TierAction_name = map[int32]string{
0: "TIER_ACTION_UNSPECIFIED",
1: "ENABLED",
2: "PAUSED",
}
TieringPolicy_TierAction_value = map[string]int32{
"TIER_ACTION_UNSPECIFIED": 0,
"ENABLED": 1,
"PAUSED": 2,
}
)
Enum value maps for TieringPolicy_TierAction.
File_google_cloud_netapp_v1_active_directory_proto
var File_google_cloud_netapp_v1_active_directory_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_backup_policy_proto
var File_google_cloud_netapp_v1_backup_policy_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_backup_proto
var File_google_cloud_netapp_v1_backup_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_backup_vault_proto
var File_google_cloud_netapp_v1_backup_vault_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_cloud_netapp_service_proto
var File_google_cloud_netapp_v1_cloud_netapp_service_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_common_proto
var File_google_cloud_netapp_v1_common_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_kms_proto
var File_google_cloud_netapp_v1_kms_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_replication_proto
var File_google_cloud_netapp_v1_replication_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_snapshot_proto
var File_google_cloud_netapp_v1_snapshot_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_storage_pool_proto
var File_google_cloud_netapp_v1_storage_pool_proto protoreflect.FileDescriptor
File_google_cloud_netapp_v1_volume_proto
var File_google_cloud_netapp_v1_volume_proto protoreflect.FileDescriptor
Functions
func RegisterNetAppServer
func RegisterNetAppServer(s *grpc.Server, srv NetAppServer)
AccessType
type AccessType int32
AccessType is an enum of all the supported access types for a volume.
AccessType_ACCESS_TYPE_UNSPECIFIED, AccessType_READ_ONLY, AccessType_READ_WRITE, AccessType_READ_NONE
const (
// Unspecified Access Type
AccessType_ACCESS_TYPE_UNSPECIFIED AccessType = 0
// Read Only
AccessType_READ_ONLY AccessType = 1
// Read Write
AccessType_READ_WRITE AccessType = 2
// None
AccessType_READ_NONE AccessType = 3
)
func (AccessType) Descriptor
func (AccessType) Descriptor() protoreflect.EnumDescriptor
func (AccessType) Enum
func (x AccessType) Enum() *AccessType
func (AccessType) EnumDescriptor
func (AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessType.Descriptor instead.
func (AccessType) Number
func (x AccessType) Number() protoreflect.EnumNumber
func (AccessType) String
func (x AccessType) String() string
func (AccessType) Type
func (AccessType) Type() protoreflect.EnumType
ActiveDirectory
type ActiveDirectory struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
State ActiveDirectory_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.ActiveDirectory_State" json:"state,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
Site string `protobuf:"bytes,5,opt,name=site,proto3" json:"site,omitempty"`
Dns string `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"`
NetBiosPrefix string `protobuf:"bytes,7,opt,name=net_bios_prefix,json=netBiosPrefix,proto3" json:"net_bios_prefix,omitempty"`
OrganizationalUnit string `protobuf:"bytes,8,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
AesEncryption bool `protobuf:"varint,9,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
BackupOperators []string `protobuf:"bytes,12,rep,name=backup_operators,json=backupOperators,proto3" json:"backup_operators,omitempty"`
SecurityOperators []string `protobuf:"bytes,13,rep,name=security_operators,json=securityOperators,proto3" json:"security_operators,omitempty"`
KdcHostname string `protobuf:"bytes,14,opt,name=kdc_hostname,json=kdcHostname,proto3" json:"kdc_hostname,omitempty"`
KdcIp string `protobuf:"bytes,15,opt,name=kdc_ip,json=kdcIp,proto3" json:"kdc_ip,omitempty"`
NfsUsersWithLdap bool `protobuf:"varint,16,opt,name=nfs_users_with_ldap,json=nfsUsersWithLdap,proto3" json:"nfs_users_with_ldap,omitempty"`
Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
LdapSigning bool `protobuf:"varint,18,opt,name=ldap_signing,json=ldapSigning,proto3" json:"ldap_signing,omitempty"`
EncryptDcConnections bool `protobuf:"varint,19,opt,name=encrypt_dc_connections,json=encryptDcConnections,proto3" json:"encrypt_dc_connections,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
StateDetails string `protobuf:"bytes,21,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
}
ActiveDirectory is the public representation of the active directory config.
func (*ActiveDirectory) Descriptor
func (*ActiveDirectory) Descriptor() ([]byte, []int)
Deprecated: Use ActiveDirectory.ProtoReflect.Descriptor instead.
func (*ActiveDirectory) GetAesEncryption
func (x *ActiveDirectory) GetAesEncryption() bool
func (*ActiveDirectory) GetBackupOperators
func (x *ActiveDirectory) GetBackupOperators() []string
func (*ActiveDirectory) GetCreateTime
func (x *ActiveDirectory) GetCreateTime() *timestamppb.Timestamp
func (*ActiveDirectory) GetDescription
func (x *ActiveDirectory) GetDescription() string
func (*ActiveDirectory) GetDns
func (x *ActiveDirectory) GetDns() string
func (*ActiveDirectory) GetDomain
func (x *ActiveDirectory) GetDomain() string
func (*ActiveDirectory) GetEncryptDcConnections
func (x *ActiveDirectory) GetEncryptDcConnections() bool
func (*ActiveDirectory) GetKdcHostname
func (x *ActiveDirectory) GetKdcHostname() string
func (*ActiveDirectory) GetKdcIp
func (x *ActiveDirectory) GetKdcIp() string
func (*ActiveDirectory) GetLabels
func (x *ActiveDirectory) GetLabels() map[string]string
func (*ActiveDirectory) GetLdapSigning
func (x *ActiveDirectory) GetLdapSigning() bool
func (*ActiveDirectory) GetName
func (x *ActiveDirectory) GetName() string
func (*ActiveDirectory) GetNetBiosPrefix
func (x *ActiveDirectory) GetNetBiosPrefix() string
func (*ActiveDirectory) GetNfsUsersWithLdap
func (x *ActiveDirectory) GetNfsUsersWithLdap() bool
func (*ActiveDirectory) GetOrganizationalUnit
func (x *ActiveDirectory) GetOrganizationalUnit() string
func (*ActiveDirectory) GetPassword
func (x *ActiveDirectory) GetPassword() string
func (*ActiveDirectory) GetSecurityOperators
func (x *ActiveDirectory) GetSecurityOperators() []string
func (*ActiveDirectory) GetSite
func (x *ActiveDirectory) GetSite() string
func (*ActiveDirectory) GetState
func (x *ActiveDirectory) GetState() ActiveDirectory_State
func (*ActiveDirectory) GetStateDetails
func (x *ActiveDirectory) GetStateDetails() string
func (*ActiveDirectory) GetUsername
func (x *ActiveDirectory) GetUsername() string
func (*ActiveDirectory) ProtoMessage
func (*ActiveDirectory) ProtoMessage()
func (*ActiveDirectory) ProtoReflect
func (x *ActiveDirectory) ProtoReflect() protoreflect.Message
func (*ActiveDirectory) Reset
func (x *ActiveDirectory) Reset()
func (*ActiveDirectory) String
func (x *ActiveDirectory) String() string
ActiveDirectory_State
type ActiveDirectory_State int32
The Active Directory States
ActiveDirectory_STATE_UNSPECIFIED, ActiveDirectory_CREATING, ActiveDirectory_READY, ActiveDirectory_UPDATING, ActiveDirectory_IN_USE, ActiveDirectory_DELETING, ActiveDirectory_ERROR
const (
// Unspecified Active Directory State
ActiveDirectory_STATE_UNSPECIFIED ActiveDirectory_State = 0
// Active Directory State is Creating
ActiveDirectory_CREATING ActiveDirectory_State = 1
// Active Directory State is Ready
ActiveDirectory_READY ActiveDirectory_State = 2
// Active Directory State is Updating
ActiveDirectory_UPDATING ActiveDirectory_State = 3
// Active Directory State is In use
ActiveDirectory_IN_USE ActiveDirectory_State = 4
// Active Directory State is Deleting
ActiveDirectory_DELETING ActiveDirectory_State = 5
// Active Directory State is Error
ActiveDirectory_ERROR ActiveDirectory_State = 6
)
func (ActiveDirectory_State) Descriptor
func (ActiveDirectory_State) Descriptor() protoreflect.EnumDescriptor
func (ActiveDirectory_State) Enum
func (x ActiveDirectory_State) Enum() *ActiveDirectory_State
func (ActiveDirectory_State) EnumDescriptor
func (ActiveDirectory_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActiveDirectory_State.Descriptor instead.
func (ActiveDirectory_State) Number
func (x ActiveDirectory_State) Number() protoreflect.EnumNumber
func (ActiveDirectory_State) String
func (x ActiveDirectory_State) String() string
func (ActiveDirectory_State) Type
func (ActiveDirectory_State) Type() protoreflect.EnumType
Backup
type Backup struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State Backup_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Backup_State" json:"state,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
VolumeUsageBytes int64 `protobuf:"varint,4,opt,name=volume_usage_bytes,json=volumeUsageBytes,proto3" json:"volume_usage_bytes,omitempty"`
BackupType Backup_Type "" /* 132 byte string literal not displayed */
SourceVolume string `protobuf:"bytes,6,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
SourceSnapshot *string `protobuf:"bytes,7,opt,name=source_snapshot,json=sourceSnapshot,proto3,oneof" json:"source_snapshot,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
ChainStorageBytes int64 `protobuf:"varint,10,opt,name=chain_storage_bytes,json=chainStorageBytes,proto3" json:"chain_storage_bytes,omitempty"`
}
A NetApp Backup.
func (*Backup) Descriptor
Deprecated: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupType
func (x *Backup) GetBackupType() Backup_Type
func (*Backup) GetChainStorageBytes
func (*Backup) GetCreateTime
func (x *Backup) GetCreateTime() *timestamppb.Timestamp
func (*Backup) GetDescription
func (*Backup) GetLabels
func (*Backup) GetName
func (*Backup) GetSourceSnapshot
func (*Backup) GetSourceVolume
func (*Backup) GetState
func (x *Backup) GetState() Backup_State
func (*Backup) GetVolumeUsageBytes
func (*Backup) ProtoMessage
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect
func (x *Backup) ProtoReflect() protoreflect.Message
func (*Backup) Reset
func (x *Backup) Reset()
func (*Backup) String
BackupConfig
type BackupConfig struct {
BackupPolicies []string `protobuf:"bytes,1,rep,name=backup_policies,json=backupPolicies,proto3" json:"backup_policies,omitempty"`
BackupVault string `protobuf:"bytes,2,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
ScheduledBackupEnabled *bool "" /* 136 byte string literal not displayed */
BackupChainBytes *int64 `protobuf:"varint,4,opt,name=backup_chain_bytes,json=backupChainBytes,proto3,oneof" json:"backup_chain_bytes,omitempty"`
}
BackupConfig contains backup related config on a volume.
func (*BackupConfig) Descriptor
func (*BackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use BackupConfig.ProtoReflect.Descriptor instead.
func (*BackupConfig) GetBackupChainBytes
func (x *BackupConfig) GetBackupChainBytes() int64
func (*BackupConfig) GetBackupPolicies
func (x *BackupConfig) GetBackupPolicies() []string
func (*BackupConfig) GetBackupVault
func (x *BackupConfig) GetBackupVault() string
func (*BackupConfig) GetScheduledBackupEnabled
func (x *BackupConfig) GetScheduledBackupEnabled() bool
func (*BackupConfig) ProtoMessage
func (*BackupConfig) ProtoMessage()
func (*BackupConfig) ProtoReflect
func (x *BackupConfig) ProtoReflect() protoreflect.Message
func (*BackupConfig) Reset
func (x *BackupConfig) Reset()
func (*BackupConfig) String
func (x *BackupConfig) String() string
BackupPolicy
type BackupPolicy struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DailyBackupLimit *int32 `protobuf:"varint,2,opt,name=daily_backup_limit,json=dailyBackupLimit,proto3,oneof" json:"daily_backup_limit,omitempty"`
WeeklyBackupLimit *int32 `protobuf:"varint,3,opt,name=weekly_backup_limit,json=weeklyBackupLimit,proto3,oneof" json:"weekly_backup_limit,omitempty"`
MonthlyBackupLimit *int32 `protobuf:"varint,4,opt,name=monthly_backup_limit,json=monthlyBackupLimit,proto3,oneof" json:"monthly_backup_limit,omitempty"`
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
Enabled *bool `protobuf:"varint,6,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
AssignedVolumeCount *int32 "" /* 127 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
State BackupPolicy_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.netapp.v1.BackupPolicy_State" json:"state,omitempty"`
}
Backup Policy.
func (*BackupPolicy) Descriptor
func (*BackupPolicy) Descriptor() ([]byte, []int)
Deprecated: Use BackupPolicy.ProtoReflect.Descriptor instead.
func (*BackupPolicy) GetAssignedVolumeCount
func (x *BackupPolicy) GetAssignedVolumeCount() int32
func (*BackupPolicy) GetCreateTime
func (x *BackupPolicy) GetCreateTime() *timestamppb.Timestamp
func (*BackupPolicy) GetDailyBackupLimit
func (x *BackupPolicy) GetDailyBackupLimit() int32
func (*BackupPolicy) GetDescription
func (x *BackupPolicy) GetDescription() string
func (*BackupPolicy) GetEnabled
func (x *BackupPolicy) GetEnabled() bool
func (*BackupPolicy) GetLabels
func (x *BackupPolicy) GetLabels() map[string]string
func (*BackupPolicy) GetMonthlyBackupLimit
func (x *BackupPolicy) GetMonthlyBackupLimit() int32
func (*BackupPolicy) GetName
func (x *BackupPolicy) GetName() string
func (*BackupPolicy) GetState
func (x *BackupPolicy) GetState() BackupPolicy_State
func (*BackupPolicy) GetWeeklyBackupLimit
func (x *BackupPolicy) GetWeeklyBackupLimit() int32
func (*BackupPolicy) ProtoMessage
func (*BackupPolicy) ProtoMessage()
func (*BackupPolicy) ProtoReflect
func (x *BackupPolicy) ProtoReflect() protoreflect.Message
func (*BackupPolicy) Reset
func (x *BackupPolicy) Reset()
func (*BackupPolicy) String
func (x *BackupPolicy) String() string
BackupPolicy_State
type BackupPolicy_State int32
BackupPolicy_STATE_UNSPECIFIED, BackupPolicy_CREATING, BackupPolicy_READY, BackupPolicy_DELETING, BackupPolicy_ERROR, BackupPolicy_UPDATING
const (
// State not set.
BackupPolicy_STATE_UNSPECIFIED BackupPolicy_State = 0
// BackupPolicy is being created.
BackupPolicy_CREATING BackupPolicy_State = 1
// BackupPolicy is available for use.
BackupPolicy_READY BackupPolicy_State = 2
// BackupPolicy is being deleted.
BackupPolicy_DELETING BackupPolicy_State = 3
// BackupPolicy is not valid and cannot be used.
BackupPolicy_ERROR BackupPolicy_State = 4
// BackupPolicy is being updated.
BackupPolicy_UPDATING BackupPolicy_State = 5
)
func (BackupPolicy_State) Descriptor
func (BackupPolicy_State) Descriptor() protoreflect.EnumDescriptor
func (BackupPolicy_State) Enum
func (x BackupPolicy_State) Enum() *BackupPolicy_State
func (BackupPolicy_State) EnumDescriptor
func (BackupPolicy_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupPolicy_State.Descriptor instead.
func (BackupPolicy_State) Number
func (x BackupPolicy_State) Number() protoreflect.EnumNumber
func (BackupPolicy_State) String
func (x BackupPolicy_State) String() string
func (BackupPolicy_State) Type
func (BackupPolicy_State) Type() protoreflect.EnumType
BackupVault
type BackupVault struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State BackupVault_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.BackupVault_State" json:"state,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
}
A NetApp BackupVault.
func (*BackupVault) Descriptor
func (*BackupVault) Descriptor() ([]byte, []int)
Deprecated: Use BackupVault.ProtoReflect.Descriptor instead.
func (*BackupVault) GetCreateTime
func (x *BackupVault) GetCreateTime() *timestamppb.Timestamp
func (*BackupVault) GetDescription
func (x *BackupVault) GetDescription() string
func (*BackupVault) GetLabels
func (x *BackupVault) GetLabels() map[string]string
func (*BackupVault) GetName
func (x *BackupVault) GetName() string
func (*BackupVault) GetState
func (x *BackupVault) GetState() BackupVault_State
func (*BackupVault) ProtoMessage
func (*BackupVault) ProtoMessage()
func (*BackupVault) ProtoReflect
func (x *BackupVault) ProtoReflect() protoreflect.Message
func (*BackupVault) Reset
func (x *BackupVault) Reset()
func (*BackupVault) String
func (x *BackupVault) String() string
BackupVault_State
type BackupVault_State int32
The Backup Vault States
BackupVault_STATE_UNSPECIFIED, BackupVault_CREATING, BackupVault_READY, BackupVault_DELETING, BackupVault_ERROR, BackupVault_UPDATING
const (
// State not set.
BackupVault_STATE_UNSPECIFIED BackupVault_State = 0
// BackupVault is being created.
BackupVault_CREATING BackupVault_State = 1
// BackupVault is available for use.
BackupVault_READY BackupVault_State = 2
// BackupVault is being deleted.
BackupVault_DELETING BackupVault_State = 3
// BackupVault is not valid and cannot be used.
BackupVault_ERROR BackupVault_State = 4
// BackupVault is being updated.
BackupVault_UPDATING BackupVault_State = 5
)
func (BackupVault_State) Descriptor
func (BackupVault_State) Descriptor() protoreflect.EnumDescriptor
func (BackupVault_State) Enum
func (x BackupVault_State) Enum() *BackupVault_State
func (BackupVault_State) EnumDescriptor
func (BackupVault_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupVault_State.Descriptor instead.
func (BackupVault_State) Number
func (x BackupVault_State) Number() protoreflect.EnumNumber
func (BackupVault_State) String
func (x BackupVault_State) String() string
func (BackupVault_State) Type
func (BackupVault_State) Type() protoreflect.EnumType
Backup_State
type Backup_State int32
The Backup States
Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_UPLOADING, Backup_READY, Backup_DELETING, Backup_ERROR, Backup_UPDATING
const (
// State not set.
Backup_STATE_UNSPECIFIED Backup_State = 0
// Backup is being created. While in this state, the snapshot for the backup
// point-in-time may not have been created yet, and so the point-in-time may
// not have been fixed.
Backup_CREATING Backup_State = 1
// Backup is being uploaded. While in this state, none of the writes to the
// volume will be included in the backup.
Backup_UPLOADING Backup_State = 2
// Backup is available for use.
Backup_READY Backup_State = 3
// Backup is being deleted.
Backup_DELETING Backup_State = 4
// Backup is not valid and cannot be used for creating new volumes or
// restoring existing volumes.
Backup_ERROR Backup_State = 5
// Backup is being updated.
Backup_UPDATING Backup_State = 6
)
func (Backup_State) Descriptor
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String
func (x Backup_State) String() string
func (Backup_State) Type
func (Backup_State) Type() protoreflect.EnumType
Backup_Type
type Backup_Type int32
Backup types.
Backup_TYPE_UNSPECIFIED, Backup_MANUAL, Backup_SCHEDULED
const (
// Unspecified backup type.
Backup_TYPE_UNSPECIFIED Backup_Type = 0
// Manual backup type.
Backup_MANUAL Backup_Type = 1
// Scheduled backup type.
Backup_SCHEDULED Backup_Type = 2
)
func (Backup_Type) Descriptor
func (Backup_Type) Descriptor() protoreflect.EnumDescriptor
func (Backup_Type) Enum
func (x Backup_Type) Enum() *Backup_Type
func (Backup_Type) EnumDescriptor
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
func (Backup_Type) Type() protoreflect.EnumType
CreateActiveDirectoryRequest
type CreateActiveDirectoryRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Fields of the to be created active directory.
ActiveDirectory *ActiveDirectory `protobuf:"bytes,2,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
// Required. ID of the active directory to create.
ActiveDirectoryId string `protobuf:"bytes,3,opt,name=active_directory_id,json=activeDirectoryId,proto3" json:"active_directory_id,omitempty"`
// contains filtered or unexported fields
}
CreateActiveDirectoryRequest for creating an active directory.
func (*CreateActiveDirectoryRequest) Descriptor
func (*CreateActiveDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActiveDirectoryRequest.ProtoReflect.Descriptor instead.
func (*CreateActiveDirectoryRequest) GetActiveDirectory
func (x *CreateActiveDirectoryRequest) GetActiveDirectory() *ActiveDirectory
func (*CreateActiveDirectoryRequest) GetActiveDirectoryId
func (x *CreateActiveDirectoryRequest) GetActiveDirectoryId() string
func (*CreateActiveDirectoryRequest) GetParent
func (x *CreateActiveDirectoryRequest) GetParent() string
func (*CreateActiveDirectoryRequest) ProtoMessage
func (*CreateActiveDirectoryRequest) ProtoMessage()
func (*CreateActiveDirectoryRequest) ProtoReflect
func (x *CreateActiveDirectoryRequest) ProtoReflect() protoreflect.Message
func (*CreateActiveDirectoryRequest) Reset
func (x *CreateActiveDirectoryRequest) Reset()
func (*CreateActiveDirectoryRequest) String
func (x *CreateActiveDirectoryRequest) String() string
CreateBackupPolicyRequest
type CreateBackupPolicyRequest struct {
// Required. The location to create the backup policies of, in the format
// `projects/{project_id}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A backupPolicy resource
BackupPolicy *BackupPolicy `protobuf:"bytes,2,opt,name=backup_policy,json=backupPolicy,proto3" json:"backup_policy,omitempty"`
// Required. The ID to use for the backup policy.
// The ID must be unique within the specified location.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
BackupPolicyId string `protobuf:"bytes,3,opt,name=backup_policy_id,json=backupPolicyId,proto3" json:"backup_policy_id,omitempty"`
// contains filtered or unexported fields
}
CreateBackupPolicyRequest creates a backupPolicy.
func (*CreateBackupPolicyRequest) Descriptor
func (*CreateBackupPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupPolicyRequest) GetBackupPolicy
func (x *CreateBackupPolicyRequest) GetBackupPolicy() *BackupPolicy
func (*CreateBackupPolicyRequest) GetBackupPolicyId
func (x *CreateBackupPolicyRequest) GetBackupPolicyId() string
func (*CreateBackupPolicyRequest) GetParent
func (x *CreateBackupPolicyRequest) GetParent() string
func (*CreateBackupPolicyRequest) ProtoMessage
func (*CreateBackupPolicyRequest) ProtoMessage()
func (*CreateBackupPolicyRequest) ProtoReflect
func (x *CreateBackupPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupPolicyRequest) Reset
func (x *CreateBackupPolicyRequest) Reset()
func (*CreateBackupPolicyRequest) String
func (x *CreateBackupPolicyRequest) String() string
CreateBackupRequest
type CreateBackupRequest struct {
// Required. The NetApp backupVault to create the backups of, in the format
// `projects/*/locations/*/backupVaults/{backup_vault_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the backup.
// The ID must be unique within the specified backupVault.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
// Values that do not match this pattern will trigger an INVALID_ARGUMENT
// error.
BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
// Required. A backup resource
Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
// contains filtered or unexported fields
}
CreateBackupRequest creates a backup.
func (*CreateBackupRequest) Descriptor
func (*CreateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) GetBackup
func (x *CreateBackupRequest) GetBackup() *Backup
func (*CreateBackupRequest) GetBackupId
func (x *CreateBackupRequest) GetBackupId() string
func (*CreateBackupRequest) GetParent
func (x *CreateBackupRequest) GetParent() string
func (*CreateBackupRequest) ProtoMessage
func (*CreateBackupRequest) ProtoMessage()
func (*CreateBackupRequest) ProtoReflect
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupRequest) Reset
func (x *CreateBackupRequest) Reset()
func (*CreateBackupRequest) String
func (x *CreateBackupRequest) String() string
CreateBackupVaultRequest
type CreateBackupVaultRequest struct {
// Required. The location to create the backup vaults, in the format
// `projects/{project_id}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the backupVault.
// The ID must be unique within the specified location.
// The max supported length is 63 characters.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
// Values that do not match this pattern will trigger an INVALID_ARGUMENT
// error.
BackupVaultId string `protobuf:"bytes,2,opt,name=backup_vault_id,json=backupVaultId,proto3" json:"backup_vault_id,omitempty"`
// Required. A backupVault resource
BackupVault *BackupVault `protobuf:"bytes,3,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// contains filtered or unexported fields
}
CreateBackupVaultRequest creates a backup vault.
func (*CreateBackupVaultRequest) Descriptor
func (*CreateBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupVaultRequest) GetBackupVault
func (x *CreateBackupVaultRequest) GetBackupVault() *BackupVault
func (*CreateBackupVaultRequest) GetBackupVaultId
func (x *CreateBackupVaultRequest) GetBackupVaultId() string
func (*CreateBackupVaultRequest) GetParent
func (x *CreateBackupVaultRequest) GetParent() string
func (*CreateBackupVaultRequest) ProtoMessage
func (*CreateBackupVaultRequest) ProtoMessage()
func (*CreateBackupVaultRequest) ProtoReflect
func (x *CreateBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupVaultRequest) Reset
func (x *CreateBackupVaultRequest) Reset()
func (*CreateBackupVaultRequest) String
func (x *CreateBackupVaultRequest) String() string
CreateKmsConfigRequest
type CreateKmsConfigRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting KmsConfig
// If auto-generating Id server-side, remove this field and
// id from the method_signature of Create RPC
KmsConfigId string `protobuf:"bytes,2,opt,name=kms_config_id,json=kmsConfigId,proto3" json:"kms_config_id,omitempty"`
// Required. The required parameters to create a new KmsConfig.
KmsConfig *KmsConfig `protobuf:"bytes,3,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
// contains filtered or unexported fields
}
CreateKmsConfigRequest creates a KMS Config.
func (*CreateKmsConfigRequest) Descriptor
func (*CreateKmsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKmsConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateKmsConfigRequest) GetKmsConfig
func (x *CreateKmsConfigRequest) GetKmsConfig() *KmsConfig
func (*CreateKmsConfigRequest) GetKmsConfigId
func (x *CreateKmsConfigRequest) GetKmsConfigId() string
func (*CreateKmsConfigRequest) GetParent
func (x *CreateKmsConfigRequest) GetParent() string
func (*CreateKmsConfigRequest) ProtoMessage
func (*CreateKmsConfigRequest) ProtoMessage()
func (*CreateKmsConfigRequest) ProtoReflect
func (x *CreateKmsConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateKmsConfigRequest) Reset
func (x *CreateKmsConfigRequest) Reset()
func (*CreateKmsConfigRequest) String
func (x *CreateKmsConfigRequest) String() string
CreateReplicationRequest
type CreateReplicationRequest struct {
// Required. The NetApp volume to create the replications of, in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A replication resource
Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
// Required. ID of the replication to create.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
ReplicationId string `protobuf:"bytes,3,opt,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
// contains filtered or unexported fields
}
CreateReplicationRequest creates a replication.
func (*CreateReplicationRequest) Descriptor
func (*CreateReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReplicationRequest.ProtoReflect.Descriptor instead.
func (*CreateReplicationRequest) GetParent
func (x *CreateReplicationRequest) GetParent() string
func (*CreateReplicationRequest) GetReplication
func (x *CreateReplicationRequest) GetReplication() *Replication
func (*CreateReplicationRequest) GetReplicationId
func (x *CreateReplicationRequest) GetReplicationId() string
func (*CreateReplicationRequest) ProtoMessage
func (*CreateReplicationRequest) ProtoMessage()
func (*CreateReplicationRequest) ProtoReflect
func (x *CreateReplicationRequest) ProtoReflect() protoreflect.Message
func (*CreateReplicationRequest) Reset
func (x *CreateReplicationRequest) Reset()
func (*CreateReplicationRequest) String
func (x *CreateReplicationRequest) String() string
CreateSnapshotRequest
type CreateSnapshotRequest struct {
// Required. The NetApp volume to create the snapshots of, in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A snapshot resource
Snapshot *Snapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// Required. ID of the snapshot to create.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
// contains filtered or unexported fields
}
CreateSnapshotRequest creates a snapshot.
func (*CreateSnapshotRequest) Descriptor
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetParent
func (x *CreateSnapshotRequest) GetParent() string
func (*CreateSnapshotRequest) GetSnapshot
func (x *CreateSnapshotRequest) GetSnapshot() *Snapshot
func (*CreateSnapshotRequest) GetSnapshotId
func (x *CreateSnapshotRequest) GetSnapshotId() string
func (*CreateSnapshotRequest) ProtoMessage
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String
func (x *CreateSnapshotRequest) String() string
CreateStoragePoolRequest
type CreateStoragePoolRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting storage pool
// If auto-generating Id server-side, remove this field and
// id from the method_signature of Create RPC
StoragePoolId string `protobuf:"bytes,2,opt,name=storage_pool_id,json=storagePoolId,proto3" json:"storage_pool_id,omitempty"`
// Required. The required parameters to create a new storage pool.
StoragePool *StoragePool `protobuf:"bytes,3,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
// contains filtered or unexported fields
}
CreateStoragePoolRequest creates a Storage Pool.
func (*CreateStoragePoolRequest) Descriptor
func (*CreateStoragePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStoragePoolRequest.ProtoReflect.Descriptor instead.
func (*CreateStoragePoolRequest) GetParent
func (x *CreateStoragePoolRequest) GetParent() string
func (*CreateStoragePoolRequest) GetStoragePool
func (x *CreateStoragePoolRequest) GetStoragePool() *StoragePool
func (*CreateStoragePoolRequest) GetStoragePoolId
func (x *CreateStoragePoolRequest) GetStoragePoolId() string
func (*CreateStoragePoolRequest) ProtoMessage
func (*CreateStoragePoolRequest) ProtoMessage()
func (*CreateStoragePoolRequest) ProtoReflect
func (x *CreateStoragePoolRequest) ProtoReflect() protoreflect.Message
func (*CreateStoragePoolRequest) Reset
func (x *CreateStoragePoolRequest) Reset()
func (*CreateStoragePoolRequest) String
func (x *CreateStoragePoolRequest) String() string
CreateVolumeRequest
type CreateVolumeRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting volume
// If auto-generating Id server-side, remove this field and
// Id from the method_signature of Create RPC
VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
// Required. The volume being created.
Volume *Volume `protobuf:"bytes,3,opt,name=volume,proto3" json:"volume,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Volume
func (*CreateVolumeRequest) Descriptor
func (*CreateVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.
func (*CreateVolumeRequest) GetParent
func (x *CreateVolumeRequest) GetParent() string
func (*CreateVolumeRequest) GetVolume
func (x *CreateVolumeRequest) GetVolume() *Volume
func (*CreateVolumeRequest) GetVolumeId
func (x *CreateVolumeRequest) GetVolumeId() string
func (*CreateVolumeRequest) ProtoMessage
func (*CreateVolumeRequest) ProtoMessage()
func (*CreateVolumeRequest) ProtoReflect
func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message
func (*CreateVolumeRequest) Reset
func (x *CreateVolumeRequest) Reset()
func (*CreateVolumeRequest) String
func (x *CreateVolumeRequest) String() string
DailySchedule
type DailySchedule struct {
// The maximum number of Snapshots to keep for the hourly schedule
SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
// Set the minute of the hour to start the snapshot (0-59), defaults to the
// top of the hour (0).
Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
// Set the hour to start the snapshot (0-23), defaults to midnight (0).
Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
// contains filtered or unexported fields
}
Make a snapshot every day e.g. at 04:00, 05:20, 23:50
func (*DailySchedule) Descriptor
func (*DailySchedule) Descriptor() ([]byte, []int)
Deprecated: Use DailySchedule.ProtoReflect.Descriptor instead.
func (*DailySchedule) GetHour
func (x *DailySchedule) GetHour() float64
func (*DailySchedule) GetMinute
func (x *DailySchedule) GetMinute() float64
func (*DailySchedule) GetSnapshotsToKeep
func (x *DailySchedule) GetSnapshotsToKeep() float64
func (*DailySchedule) ProtoMessage
func (*DailySchedule) ProtoMessage()
func (*DailySchedule) ProtoReflect
func (x *DailySchedule) ProtoReflect() protoreflect.Message
func (*DailySchedule) Reset
func (x *DailySchedule) Reset()
func (*DailySchedule) String
func (x *DailySchedule) String() string
DeleteActiveDirectoryRequest
type DeleteActiveDirectoryRequest struct {
// Required. Name of the active directory.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteActiveDirectoryRequest for deleting a single active directory.
func (*DeleteActiveDirectoryRequest) Descriptor
func (*DeleteActiveDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteActiveDirectoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteActiveDirectoryRequest) GetName
func (x *DeleteActiveDirectoryRequest) GetName() string
func (*DeleteActiveDirectoryRequest) ProtoMessage
func (*DeleteActiveDirectoryRequest) ProtoMessage()
func (*DeleteActiveDirectoryRequest) ProtoReflect
func (x *DeleteActiveDirectoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteActiveDirectoryRequest) Reset
func (x *DeleteActiveDirectoryRequest) Reset()
func (*DeleteActiveDirectoryRequest) String
func (x *DeleteActiveDirectoryRequest) String() string
DeleteBackupPolicyRequest
type DeleteBackupPolicyRequest struct {
// Required. The backup policy resource name, in the format
// `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupPolicyRequest deletes a backup policy.
func (*DeleteBackupPolicyRequest) Descriptor
func (*DeleteBackupPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupPolicyRequest) GetName
func (x *DeleteBackupPolicyRequest) GetName() string
func (*DeleteBackupPolicyRequest) ProtoMessage
func (*DeleteBackupPolicyRequest) ProtoMessage()
func (*DeleteBackupPolicyRequest) ProtoReflect
func (x *DeleteBackupPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupPolicyRequest) Reset
func (x *DeleteBackupPolicyRequest) Reset()
func (*DeleteBackupPolicyRequest) String
func (x *DeleteBackupPolicyRequest) String() string
DeleteBackupRequest
type DeleteBackupRequest struct {
// Required. The backup resource name, in the format
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupRequest deletes a backup.
func (*DeleteBackupRequest) Descriptor
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) ProtoMessage
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String
func (x *DeleteBackupRequest) String() string
DeleteBackupVaultRequest
type DeleteBackupVaultRequest struct {
// Required. The backupVault resource name, in the format
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupVaultRequest deletes a backupVault.
func (*DeleteBackupVaultRequest) Descriptor
func (*DeleteBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupVaultRequest) GetName
func (x *DeleteBackupVaultRequest) GetName() string
func (*DeleteBackupVaultRequest) ProtoMessage
func (*DeleteBackupVaultRequest) ProtoMessage()
func (*DeleteBackupVaultRequest) ProtoReflect
func (x *DeleteBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupVaultRequest) Reset
func (x *DeleteBackupVaultRequest) Reset()
func (*DeleteBackupVaultRequest) String
func (x *DeleteBackupVaultRequest) String() string
DeleteKmsConfigRequest
type DeleteKmsConfigRequest struct {
// Required. Name of the KmsConfig.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteKmsConfigRequest deletes a KMS Config.
func (*DeleteKmsConfigRequest) Descriptor
func (*DeleteKmsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKmsConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteKmsConfigRequest) GetName
func (x *DeleteKmsConfigRequest) GetName() string
func (*DeleteKmsConfigRequest) ProtoMessage
func (*DeleteKmsConfigRequest) ProtoMessage()
func (*DeleteKmsConfigRequest) ProtoReflect
func (x *DeleteKmsConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteKmsConfigRequest) Reset
func (x *DeleteKmsConfigRequest) Reset()
func (*DeleteKmsConfigRequest) String
func (x *DeleteKmsConfigRequest) String() string
DeleteReplicationRequest
type DeleteReplicationRequest struct {
// Required. The replication resource name, in the format
// `projects/*/locations/*/volumes/*/replications/{replication_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteReplicationRequest deletes a replication.
func (*DeleteReplicationRequest) Descriptor
func (*DeleteReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReplicationRequest.ProtoReflect.Descriptor instead.
func (*DeleteReplicationRequest) GetName
func (x *DeleteReplicationRequest) GetName() string
func (*DeleteReplicationRequest) ProtoMessage
func (*DeleteReplicationRequest) ProtoMessage()
func (*DeleteReplicationRequest) ProtoReflect
func (x *DeleteReplicationRequest) ProtoReflect() protoreflect.Message
func (*DeleteReplicationRequest) Reset
func (x *DeleteReplicationRequest) Reset()
func (*DeleteReplicationRequest) String
func (x *DeleteReplicationRequest) String() string
DeleteSnapshotRequest
type DeleteSnapshotRequest struct {
// Required. The snapshot resource name, in the format
// `projects/*/locations/*/volumes/*/snapshots/{snapshot_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteSnapshotRequest deletes a snapshot.
func (*DeleteSnapshotRequest) Descriptor
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetName
func (x *DeleteSnapshotRequest) GetName() string
func (*DeleteSnapshotRequest) ProtoMessage
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) ProtoReflect
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotRequest) Reset
func (x *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String
func (x *DeleteSnapshotRequest) String() string
DeleteStoragePoolRequest
type DeleteStoragePoolRequest struct {
// Required. Name of the storage pool
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteStoragePoolRequest deletes a Storage Pool.
func (*DeleteStoragePoolRequest) Descriptor
func (*DeleteStoragePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStoragePoolRequest.ProtoReflect.Descriptor instead.
func (*DeleteStoragePoolRequest) GetName
func (x *DeleteStoragePoolRequest) GetName() string
func (*DeleteStoragePoolRequest) ProtoMessage
func (*DeleteStoragePoolRequest) ProtoMessage()
func (*DeleteStoragePoolRequest) ProtoReflect
func (x *DeleteStoragePoolRequest) ProtoReflect() protoreflect.Message
func (*DeleteStoragePoolRequest) Reset
func (x *DeleteStoragePoolRequest) Reset()
func (*DeleteStoragePoolRequest) String
func (x *DeleteStoragePoolRequest) String() string
DeleteVolumeRequest
type DeleteVolumeRequest struct {
// Required. Name of the volume
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// If this field is set as true, CCFE will not block the volume resource
// deletion even if it has any snapshots resource. (Otherwise, the request
// will only work if the volume has no snapshots.)
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Volume
func (*DeleteVolumeRequest) Descriptor
func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVolumeRequest.ProtoReflect.Descriptor instead.
func (*DeleteVolumeRequest) GetForce
func (x *DeleteVolumeRequest) GetForce() bool
func (*DeleteVolumeRequest) GetName
func (x *DeleteVolumeRequest) GetName() string
func (*DeleteVolumeRequest) ProtoMessage
func (*DeleteVolumeRequest) ProtoMessage()
func (*DeleteVolumeRequest) ProtoReflect
func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message
func (*DeleteVolumeRequest) Reset
func (x *DeleteVolumeRequest) Reset()
func (*DeleteVolumeRequest) String
func (x *DeleteVolumeRequest) String() string
DestinationVolumeParameters
type DestinationVolumeParameters struct {
// Required. Existing destination StoragePool name.
StoragePool string `protobuf:"bytes,1,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
// Desired destination volume resource id. If not specified, source volume's
// resource id will be used.
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
// Destination volume's share name. If not specified, source volume's share
// name will be used.
ShareName string `protobuf:"bytes,3,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"`
// Description for the destination volume.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DestinationVolumeParameters specify input parameters used for creating destination volume.
func (*DestinationVolumeParameters) Descriptor
func (*DestinationVolumeParameters) Descriptor() ([]byte, []int)
Deprecated: Use DestinationVolumeParameters.ProtoReflect.Descriptor instead.
func (*DestinationVolumeParameters) GetDescription
func (x *DestinationVolumeParameters) GetDescription() string
func (*DestinationVolumeParameters) GetShareName
func (x *DestinationVolumeParameters) GetShareName() string
func (*DestinationVolumeParameters) GetStoragePool
func (x *DestinationVolumeParameters) GetStoragePool() string
func (*DestinationVolumeParameters) GetVolumeId
func (x *DestinationVolumeParameters) GetVolumeId() string
func (*DestinationVolumeParameters) ProtoMessage
func (*DestinationVolumeParameters) ProtoMessage()
func (*DestinationVolumeParameters) ProtoReflect
func (x *DestinationVolumeParameters) ProtoReflect() protoreflect.Message
func (*DestinationVolumeParameters) Reset
func (x *DestinationVolumeParameters) Reset()
func (*DestinationVolumeParameters) String
func (x *DestinationVolumeParameters) String() string
EncryptVolumesRequest
type EncryptVolumesRequest struct {
// Required. Name of the KmsConfig.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.
func (*EncryptVolumesRequest) Descriptor
func (*EncryptVolumesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EncryptVolumesRequest.ProtoReflect.Descriptor instead.
func (*EncryptVolumesRequest) GetName
func (x *EncryptVolumesRequest) GetName() string
func (*EncryptVolumesRequest) ProtoMessage
func (*EncryptVolumesRequest) ProtoMessage()
func (*EncryptVolumesRequest) ProtoReflect
func (x *EncryptVolumesRequest) ProtoReflect() protoreflect.Message
func (*EncryptVolumesRequest) Reset
func (x *EncryptVolumesRequest) Reset()
func (*EncryptVolumesRequest) String
func (x *EncryptVolumesRequest) String() string
EncryptionType
type EncryptionType int32
The volume encryption key source.
EncryptionType_ENCRYPTION_TYPE_UNSPECIFIED, EncryptionType_SERVICE_MANAGED, EncryptionType_CLOUD_KMS
const (
// The source of the encryption key is not specified.
EncryptionType_ENCRYPTION_TYPE_UNSPECIFIED EncryptionType = 0
// Google managed encryption key.
EncryptionType_SERVICE_MANAGED EncryptionType = 1
// Customer managed encryption key, which is stored in KMS.
EncryptionType_CLOUD_KMS EncryptionType = 2
)
func (EncryptionType) Descriptor
func (EncryptionType) Descriptor() protoreflect.EnumDescriptor
func (EncryptionType) Enum
func (x EncryptionType) Enum() *EncryptionType
func (EncryptionType) EnumDescriptor
func (EncryptionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionType.Descriptor instead.
func (EncryptionType) Number
func (x EncryptionType) Number() protoreflect.EnumNumber
func (EncryptionType) String
func (x EncryptionType) String() string
func (EncryptionType) Type
func (EncryptionType) Type() protoreflect.EnumType
ExportPolicy
type ExportPolicy struct {
// Required. List of export policy rules
Rules []*SimpleExportPolicyRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
Defines the export policy for the volume.
func (*ExportPolicy) Descriptor
func (*ExportPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ExportPolicy.ProtoReflect.Descriptor instead.
func (*ExportPolicy) GetRules
func (x *ExportPolicy) GetRules() []*SimpleExportPolicyRule
func (*ExportPolicy) ProtoMessage
func (*ExportPolicy) ProtoMessage()
func (*ExportPolicy) ProtoReflect
func (x *ExportPolicy) ProtoReflect() protoreflect.Message
func (*ExportPolicy) Reset
func (x *ExportPolicy) Reset()
func (*ExportPolicy) String
func (x *ExportPolicy) String() string
GetActiveDirectoryRequest
type GetActiveDirectoryRequest struct {
// Required. Name of the active directory.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetActiveDirectory for getting a single active directory.
func (*GetActiveDirectoryRequest) Descriptor
func (*GetActiveDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveDirectoryRequest.ProtoReflect.Descriptor instead.
func (*GetActiveDirectoryRequest) GetName
func (x *GetActiveDirectoryRequest) GetName() string
func (*GetActiveDirectoryRequest) ProtoMessage
func (*GetActiveDirectoryRequest) ProtoMessage()
func (*GetActiveDirectoryRequest) ProtoReflect
func (x *GetActiveDirectoryRequest) ProtoReflect() protoreflect.Message
func (*GetActiveDirectoryRequest) Reset
func (x *GetActiveDirectoryRequest) Reset()
func (*GetActiveDirectoryRequest) String
func (x *GetActiveDirectoryRequest) String() string
GetBackupPolicyRequest
type GetBackupPolicyRequest struct {
// Required. The backupPolicy resource name, in the format
// `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetBackupPolicyRequest gets the state of a backupPolicy.
func (*GetBackupPolicyRequest) Descriptor
func (*GetBackupPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetBackupPolicyRequest) GetName
func (x *GetBackupPolicyRequest) GetName() string
func (*GetBackupPolicyRequest) ProtoMessage
func (*GetBackupPolicyRequest) ProtoMessage()
func (*GetBackupPolicyRequest) ProtoReflect
func (x *GetBackupPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetBackupPolicyRequest) Reset
func (x *GetBackupPolicyRequest) Reset()
func (*GetBackupPolicyRequest) String
func (x *GetBackupPolicyRequest) String() string
GetBackupRequest
type GetBackupRequest struct {
// Required. The backup resource name, in the format
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetBackupRequest gets the state of a backup.
func (*GetBackupRequest) Descriptor
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) ProtoMessage
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String
func (x *GetBackupRequest) String() string
GetBackupVaultRequest
type GetBackupVaultRequest struct {
// Required. The backupVault resource name, in the format
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetBackupVaultRequest gets the state of a backupVault.
func (*GetBackupVaultRequest) Descriptor
func (*GetBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*GetBackupVaultRequest) GetName
func (x *GetBackupVaultRequest) GetName() string
func (*GetBackupVaultRequest) ProtoMessage
func (*GetBackupVaultRequest) ProtoMessage()
func (*GetBackupVaultRequest) ProtoReflect
func (x *GetBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*GetBackupVaultRequest) Reset
func (x *GetBackupVaultRequest) Reset()
func (*GetBackupVaultRequest) String
func (x *GetBackupVaultRequest) String() string
GetKmsConfigRequest
type GetKmsConfigRequest struct {
// Required. Name of the KmsConfig
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetKmsConfigRequest gets a KMS Config.
func (*GetKmsConfigRequest) Descriptor
func (*GetKmsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKmsConfigRequest.ProtoReflect.Descriptor instead.
func (*GetKmsConfigRequest) GetName
func (x *GetKmsConfigRequest) GetName() string
func (*GetKmsConfigRequest) ProtoMessage
func (*GetKmsConfigRequest) ProtoMessage()
func (*GetKmsConfigRequest) ProtoReflect
func (x *GetKmsConfigRequest) ProtoReflect() protoreflect.Message
func (*GetKmsConfigRequest) Reset
func (x *GetKmsConfigRequest) Reset()
func (*GetKmsConfigRequest) String
func (x *GetKmsConfigRequest) String() string
GetReplicationRequest
type GetReplicationRequest struct {
// Required. The replication resource name, in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetReplicationRequest gets the state of a replication.
func (*GetReplicationRequest) Descriptor
func (*GetReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReplicationRequest.ProtoReflect.Descriptor instead.
func (*GetReplicationRequest) GetName
func (x *GetReplicationRequest) GetName() string
func (*GetReplicationRequest) ProtoMessage
func (*GetReplicationRequest) ProtoMessage()
func (*GetReplicationRequest) ProtoReflect
func (x *GetReplicationRequest) ProtoReflect() protoreflect.Message
func (*GetReplicationRequest) Reset
func (x *GetReplicationRequest) Reset()
func (*GetReplicationRequest) String
func (x *GetReplicationRequest) String() string
GetSnapshotRequest
type GetSnapshotRequest struct {
// Required. The snapshot resource name, in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetSnapshotRequest gets the state of a snapshot.
func (*GetSnapshotRequest) Descriptor
func (*GetSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotRequest) GetName
func (x *GetSnapshotRequest) GetName() string
func (*GetSnapshotRequest) ProtoMessage
func (*GetSnapshotRequest) ProtoMessage()
func (*GetSnapshotRequest) ProtoReflect
func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotRequest) Reset
func (x *GetSnapshotRequest) Reset()
func (*GetSnapshotRequest) String
func (x *GetSnapshotRequest) String() string
GetStoragePoolRequest
type GetStoragePoolRequest struct {
// Required. Name of the storage pool
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetStoragePoolRequest gets a Storage Pool.
func (*GetStoragePoolRequest) Descriptor
func (*GetStoragePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStoragePoolRequest.ProtoReflect.Descriptor instead.
func (*GetStoragePoolRequest) GetName
func (x *GetStoragePoolRequest) GetName() string
func (*GetStoragePoolRequest) ProtoMessage
func (*GetStoragePoolRequest) ProtoMessage()
func (*GetStoragePoolRequest) ProtoReflect
func (x *GetStoragePoolRequest) ProtoReflect() protoreflect.Message
func (*GetStoragePoolRequest) Reset
func (x *GetStoragePoolRequest) Reset()
func (*GetStoragePoolRequest) String
func (x *GetStoragePoolRequest) String() string
GetVolumeRequest
type GetVolumeRequest struct {
// Required. Name of the volume
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Volume
func (*GetVolumeRequest) Descriptor
func (*GetVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVolumeRequest.ProtoReflect.Descriptor instead.
func (*GetVolumeRequest) GetName
func (x *GetVolumeRequest) GetName() string
func (*GetVolumeRequest) ProtoMessage
func (*GetVolumeRequest) ProtoMessage()
func (*GetVolumeRequest) ProtoReflect
func (x *GetVolumeRequest) ProtoReflect() protoreflect.Message
func (*GetVolumeRequest) Reset
func (x *GetVolumeRequest) Reset()
func (*GetVolumeRequest) String
func (x *GetVolumeRequest) String() string
HourlySchedule
type HourlySchedule struct {
// The maximum number of Snapshots to keep for the hourly schedule
SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
// Set the minute of the hour to start the snapshot (0-59), defaults to the
// top of the hour (0).
Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
// contains filtered or unexported fields
}
Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
func (*HourlySchedule) Descriptor
func (*HourlySchedule) Descriptor() ([]byte, []int)
Deprecated: Use HourlySchedule.ProtoReflect.Descriptor instead.
func (*HourlySchedule) GetMinute
func (x *HourlySchedule) GetMinute() float64
func (*HourlySchedule) GetSnapshotsToKeep
func (x *HourlySchedule) GetSnapshotsToKeep() float64
func (*HourlySchedule) ProtoMessage
func (*HourlySchedule) ProtoMessage()
func (*HourlySchedule) ProtoReflect
func (x *HourlySchedule) ProtoReflect() protoreflect.Message
func (*HourlySchedule) Reset
func (x *HourlySchedule) Reset()
func (*HourlySchedule) String
func (x *HourlySchedule) String() string
KmsConfig
type KmsConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
State KmsConfig_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.KmsConfig_State" json:"state,omitempty"`
StateDetails string `protobuf:"bytes,4,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Instructions string `protobuf:"bytes,8,opt,name=instructions,proto3" json:"instructions,omitempty"`
ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
}
KmsConfig is the customer managed encryption key(CMEK) configuration.
func (*KmsConfig) Descriptor
Deprecated: Use KmsConfig.ProtoReflect.Descriptor instead.
func (*KmsConfig) GetCreateTime
func (x *KmsConfig) GetCreateTime() *timestamppb.Timestamp
func (*KmsConfig) GetCryptoKeyName
func (*KmsConfig) GetDescription
func (*KmsConfig) GetInstructions
func (*KmsConfig) GetLabels
func (*KmsConfig) GetName
func (*KmsConfig) GetServiceAccount
func (*KmsConfig) GetState
func (x *KmsConfig) GetState() KmsConfig_State
func (*KmsConfig) GetStateDetails
func (*KmsConfig) ProtoMessage
func (*KmsConfig) ProtoMessage()
func (*KmsConfig) ProtoReflect
func (x *KmsConfig) ProtoReflect() protoreflect.Message
func (*KmsConfig) Reset
func (x *KmsConfig) Reset()
func (*KmsConfig) String
KmsConfig_State
type KmsConfig_State int32
The KmsConfig States
KmsConfig_STATE_UNSPECIFIED, KmsConfig_READY, KmsConfig_CREATING, KmsConfig_DELETING, KmsConfig_UPDATING, KmsConfig_IN_USE, KmsConfig_ERROR, KmsConfig_KEY_CHECK_PENDING, KmsConfig_KEY_NOT_REACHABLE, KmsConfig_DISABLING, KmsConfig_DISABLED, KmsConfig_MIGRATING
const (
// Unspecified KmsConfig State
KmsConfig_STATE_UNSPECIFIED KmsConfig_State = 0
// KmsConfig State is Ready
KmsConfig_READY KmsConfig_State = 1
// KmsConfig State is Creating
KmsConfig_CREATING KmsConfig_State = 2
// KmsConfig State is Deleting
KmsConfig_DELETING KmsConfig_State = 3
// KmsConfig State is Updating
KmsConfig_UPDATING KmsConfig_State = 4
// KmsConfig State is In Use.
KmsConfig_IN_USE KmsConfig_State = 5
// KmsConfig State is Error
KmsConfig_ERROR KmsConfig_State = 6
// KmsConfig State is Pending to verify crypto key access.
KmsConfig_KEY_CHECK_PENDING KmsConfig_State = 7
// KmsConfig State is Not accessbile by the SDE service account to the
// crypto key.
KmsConfig_KEY_NOT_REACHABLE KmsConfig_State = 8
// KmsConfig State is Disabling.
KmsConfig_DISABLING KmsConfig_State = 9
// KmsConfig State is Disabled.
KmsConfig_DISABLED KmsConfig_State = 10
// KmsConfig State is Migrating.
// The existing volumes are migrating from SMEK to CMEK.
KmsConfig_MIGRATING KmsConfig_State = 11
)
func (KmsConfig_State) Descriptor
func (KmsConfig_State) Descriptor() protoreflect.EnumDescriptor
func (KmsConfig_State) Enum
func (x KmsConfig_State) Enum() *KmsConfig_State
func (KmsConfig_State) EnumDescriptor
func (KmsConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use KmsConfig_State.Descriptor instead.
func (KmsConfig_State) Number
func (x KmsConfig_State) Number() protoreflect.EnumNumber
func (KmsConfig_State) String
func (x KmsConfig_State) String() string
func (KmsConfig_State) Type
func (KmsConfig_State) Type() protoreflect.EnumType
ListActiveDirectoriesRequest
type ListActiveDirectoriesRequest struct {
// Required. Parent value for ListActiveDirectoriesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, the server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
ListActiveDirectoriesRequest for requesting multiple active directories.
func (*ListActiveDirectoriesRequest) Descriptor
func (*ListActiveDirectoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveDirectoriesRequest.ProtoReflect.Descriptor instead.
func (*ListActiveDirectoriesRequest) GetFilter
func (x *ListActiveDirectoriesRequest) GetFilter() string
func (*ListActiveDirectoriesRequest) GetOrderBy
func (x *ListActiveDirectoriesRequest) GetOrderBy() string
func (*ListActiveDirectoriesRequest) GetPageSize
func (x *ListActiveDirectoriesRequest) GetPageSize() int32
func (*ListActiveDirectoriesRequest) GetPageToken
func (x *ListActiveDirectoriesRequest) GetPageToken() string
func (*ListActiveDirectoriesRequest) GetParent
func (x *ListActiveDirectoriesRequest) GetParent() string
func (*ListActiveDirectoriesRequest) ProtoMessage
func (*ListActiveDirectoriesRequest) ProtoMessage()
func (*ListActiveDirectoriesRequest) ProtoReflect
func (x *ListActiveDirectoriesRequest) ProtoReflect() protoreflect.Message
func (*ListActiveDirectoriesRequest) Reset
func (x *ListActiveDirectoriesRequest) Reset()
func (*ListActiveDirectoriesRequest) String
func (x *ListActiveDirectoriesRequest) String() string
ListActiveDirectoriesResponse
type ListActiveDirectoriesResponse struct {
// The list of active directories.
ActiveDirectories []*ActiveDirectory `protobuf:"bytes,1,rep,name=active_directories,json=activeDirectories,proto3" json:"active_directories,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListActiveDirectoriesResponse contains all the active directories requested.
func (*ListActiveDirectoriesResponse) Descriptor
func (*ListActiveDirectoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveDirectoriesResponse.ProtoReflect.Descriptor instead.
func (*ListActiveDirectoriesResponse) GetActiveDirectories
func (x *ListActiveDirectoriesResponse) GetActiveDirectories() []*ActiveDirectory
func (*ListActiveDirectoriesResponse) GetNextPageToken
func (x *ListActiveDirectoriesResponse) GetNextPageToken() string
func (*ListActiveDirectoriesResponse) GetUnreachable
func (x *ListActiveDirectoriesResponse) GetUnreachable() []string
func (*ListActiveDirectoriesResponse) ProtoMessage
func (*ListActiveDirectoriesResponse) ProtoMessage()
func (*ListActiveDirectoriesResponse) ProtoReflect
func (x *ListActiveDirectoriesResponse) ProtoReflect() protoreflect.Message
func (*ListActiveDirectoriesResponse) Reset
func (x *ListActiveDirectoriesResponse) Reset()
func (*ListActiveDirectoriesResponse) String
func (x *ListActiveDirectoriesResponse) String() string
ListBackupPoliciesRequest
type ListBackupPoliciesRequest struct {
// Required. Parent value for ListBackupPoliciesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, the server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
ListBackupPoliciesRequest for requesting multiple backup policies.
func (*ListBackupPoliciesRequest) Descriptor
func (*ListBackupPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListBackupPoliciesRequest) GetFilter
func (x *ListBackupPoliciesRequest) GetFilter() string
func (*ListBackupPoliciesRequest) GetOrderBy
func (x *ListBackupPoliciesRequest) GetOrderBy() string
func (*ListBackupPoliciesRequest) GetPageSize
func (x *ListBackupPoliciesRequest) GetPageSize() int32
func (*ListBackupPoliciesRequest) GetPageToken
func (x *ListBackupPoliciesRequest) GetPageToken() string
func (*ListBackupPoliciesRequest) GetParent
func (x *ListBackupPoliciesRequest) GetParent() string
func (*ListBackupPoliciesRequest) ProtoMessage
func (*ListBackupPoliciesRequest) ProtoMessage()
func (*ListBackupPoliciesRequest) ProtoReflect
func (x *ListBackupPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListBackupPoliciesRequest) Reset
func (x *ListBackupPoliciesRequest) Reset()
func (*ListBackupPoliciesRequest) String
func (x *ListBackupPoliciesRequest) String() string
ListBackupPoliciesResponse
type ListBackupPoliciesResponse struct {
// The list of backup policies.
BackupPolicies []*BackupPolicy `protobuf:"bytes,1,rep,name=backup_policies,json=backupPolicies,proto3" json:"backup_policies,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListBackupPoliciesResponse contains all the backup policies requested.
func (*ListBackupPoliciesResponse) Descriptor
func (*ListBackupPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListBackupPoliciesResponse) GetBackupPolicies
func (x *ListBackupPoliciesResponse) GetBackupPolicies() []*BackupPolicy
func (*ListBackupPoliciesResponse) GetNextPageToken
func (x *ListBackupPoliciesResponse) GetNextPageToken() string
func (*ListBackupPoliciesResponse) GetUnreachable
func (x *ListBackupPoliciesResponse) GetUnreachable() []string
func (*ListBackupPoliciesResponse) ProtoMessage
func (*ListBackupPoliciesResponse) ProtoMessage()
func (*ListBackupPoliciesResponse) ProtoReflect
func (x *ListBackupPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListBackupPoliciesResponse) Reset
func (x *ListBackupPoliciesResponse) Reset()
func (*ListBackupPoliciesResponse) String
func (x *ListBackupPoliciesResponse) String() string
ListBackupVaultsRequest
type ListBackupVaultsRequest struct {
// Required. The location for which to retrieve backupVault information,
// in the format
// `projects/{project_id}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Sort results. Supported values are "name", "name desc" or "" (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// List filter.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListBackupVaultsRequest lists backupVaults.
func (*ListBackupVaultsRequest) Descriptor
func (*ListBackupVaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupVaultsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsRequest) GetFilter
func (x *ListBackupVaultsRequest) GetFilter() string
func (*ListBackupVaultsRequest) GetOrderBy
func (x *ListBackupVaultsRequest) GetOrderBy() string
func (*ListBackupVaultsRequest) GetPageSize
func (x *ListBackupVaultsRequest) GetPageSize() int32
func (*ListBackupVaultsRequest) GetPageToken
func (x *ListBackupVaultsRequest) GetPageToken() string
func (*ListBackupVaultsRequest) GetParent
func (x *ListBackupVaultsRequest) GetParent() string
func (*ListBackupVaultsRequest) ProtoMessage
func (*ListBackupVaultsRequest) ProtoMessage()
func (*ListBackupVaultsRequest) ProtoReflect
func (x *ListBackupVaultsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupVaultsRequest) Reset
func (x *ListBackupVaultsRequest) Reset()
func (*ListBackupVaultsRequest) String
func (x *ListBackupVaultsRequest) String() string
ListBackupVaultsResponse
type ListBackupVaultsResponse struct {
// A list of backupVaults in the project for the specified location.
BackupVaults []*BackupVault `protobuf:"bytes,1,rep,name=backup_vaults,json=backupVaults,proto3" json:"backup_vaults,omitempty"`
// The token you can use to retrieve the next page of results. Not returned
// if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListBackupVaultsResponse is the result of ListBackupVaultsRequest.
func (*ListBackupVaultsResponse) Descriptor
func (*ListBackupVaultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupVaultsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupVaultsResponse) GetBackupVaults
func (x *ListBackupVaultsResponse) GetBackupVaults() []*BackupVault
func (*ListBackupVaultsResponse) GetNextPageToken
func (x *ListBackupVaultsResponse) GetNextPageToken() string
func (*ListBackupVaultsResponse) GetUnreachable
func (x *ListBackupVaultsResponse) GetUnreachable() []string
func (*ListBackupVaultsResponse) ProtoMessage
func (*ListBackupVaultsResponse) ProtoMessage()
func (*ListBackupVaultsResponse) ProtoReflect
func (x *ListBackupVaultsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupVaultsResponse) Reset
func (x *ListBackupVaultsResponse) Reset()
func (*ListBackupVaultsResponse) String
func (x *ListBackupVaultsResponse) String() string
ListBackupsRequest
type ListBackupsRequest struct {
// Required. The backupVault for which to retrieve backup information,
// in the format
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
// To retrieve backup information for all locations, use "-" for the
// `{location}` value.
// To retrieve backup information for all backupVaults, use "-" for the
// `{backup_vault_id}` value.
// To retrieve backup information for a volume, use "-" for the
// `{backup_vault_id}` value and specify volume full name with the filter.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return. The service may return fewer
// than this value. The maximum value
// is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Sort results. Supported values are "name", "name desc" or "" (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// The standard list filter.
// If specified, backups will be returned based on the attribute name that
// matches the filter expression. If empty, then no backups are filtered out.
// See https://google.aip.dev/160
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListBackupsRequest lists backups.
func (*ListBackupsRequest) Descriptor
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetFilter
func (x *ListBackupsRequest) GetFilter() string
func (*ListBackupsRequest) GetOrderBy
func (x *ListBackupsRequest) GetOrderBy() string
func (*ListBackupsRequest) GetPageSize
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetPageToken
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) GetParent
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) ProtoMessage
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String
func (x *ListBackupsRequest) String() string
ListBackupsResponse
type ListBackupsResponse struct {
// A list of backups in the project.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// The token you can use to retrieve the next page of results. Not returned
// if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListBackupsResponse is the result of ListBackupsRequest.
func (*ListBackupsResponse) Descriptor
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) GetUnreachable
func (x *ListBackupsResponse) GetUnreachable() []string
func (*ListBackupsResponse) ProtoMessage
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String
func (x *ListBackupsResponse) String() string
ListKmsConfigsRequest
type ListKmsConfigsRequest struct {
// Required. Parent value
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Sort results. Supported values are "name", "name desc" or "" (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// List filter.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListKmsConfigsRequest lists KMS Configs.
func (*ListKmsConfigsRequest) Descriptor
func (*ListKmsConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKmsConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListKmsConfigsRequest) GetFilter
func (x *ListKmsConfigsRequest) GetFilter() string
func (*ListKmsConfigsRequest) GetOrderBy
func (x *ListKmsConfigsRequest) GetOrderBy() string
func (*ListKmsConfigsRequest) GetPageSize
func (x *ListKmsConfigsRequest) GetPageSize() int32
func (*ListKmsConfigsRequest) GetPageToken
func (x *ListKmsConfigsRequest) GetPageToken() string
func (*ListKmsConfigsRequest) GetParent
func (x *ListKmsConfigsRequest) GetParent() string
func (*ListKmsConfigsRequest) ProtoMessage
func (*ListKmsConfigsRequest) ProtoMessage()
func (*ListKmsConfigsRequest) ProtoReflect
func (x *ListKmsConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListKmsConfigsRequest) Reset
func (x *ListKmsConfigsRequest) Reset()
func (*ListKmsConfigsRequest) String
func (x *ListKmsConfigsRequest) String() string
ListKmsConfigsResponse
type ListKmsConfigsResponse struct {
// The list of KmsConfigs
KmsConfigs []*KmsConfig `protobuf:"bytes,1,rep,name=kms_configs,json=kmsConfigs,proto3" json:"kms_configs,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.
func (*ListKmsConfigsResponse) Descriptor
func (*ListKmsConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKmsConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListKmsConfigsResponse) GetKmsConfigs
func (x *ListKmsConfigsResponse) GetKmsConfigs() []*KmsConfig
func (*ListKmsConfigsResponse) GetNextPageToken
func (x *ListKmsConfigsResponse) GetNextPageToken() string
func (*ListKmsConfigsResponse) GetUnreachable
func (x *ListKmsConfigsResponse) GetUnreachable() []string
func (*ListKmsConfigsResponse) ProtoMessage
func (*ListKmsConfigsResponse) ProtoMessage()
func (*ListKmsConfigsResponse) ProtoReflect
func (x *ListKmsConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListKmsConfigsResponse) Reset
func (x *ListKmsConfigsResponse) Reset()
func (*ListKmsConfigsResponse) String
func (x *ListKmsConfigsResponse) String() string
ListReplicationsRequest
type ListReplicationsRequest struct {
// Required. The volume for which to retrieve replication information,
// in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Sort results. Supported values are "name", "name desc" or "" (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// List filter.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListReplications lists replications.
func (*ListReplicationsRequest) Descriptor
func (*ListReplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReplicationsRequest.ProtoReflect.Descriptor instead.
func (*ListReplicationsRequest) GetFilter
func (x *ListReplicationsRequest) GetFilter() string
func (*ListReplicationsRequest) GetOrderBy
func (x *ListReplicationsRequest) GetOrderBy() string
func (*ListReplicationsRequest) GetPageSize
func (x *ListReplicationsRequest) GetPageSize() int32
func (*ListReplicationsRequest) GetPageToken
func (x *ListReplicationsRequest) GetPageToken() string
func (*ListReplicationsRequest) GetParent
func (x *ListReplicationsRequest) GetParent() string
func (*ListReplicationsRequest) ProtoMessage
func (*ListReplicationsRequest) ProtoMessage()
func (*ListReplicationsRequest) ProtoReflect
func (x *ListReplicationsRequest) ProtoReflect() protoreflect.Message
func (*ListReplicationsRequest) Reset
func (x *ListReplicationsRequest) Reset()
func (*ListReplicationsRequest) String
func (x *ListReplicationsRequest) String() string
ListReplicationsResponse
type ListReplicationsResponse struct {
// A list of replications in the project for the specified volume.
Replications []*Replication `protobuf:"bytes,1,rep,name=replications,proto3" json:"replications,omitempty"`
// The token you can use to retrieve the next page of results. Not returned
// if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListReplicationsResponse is the result of ListReplicationsRequest.
func (*ListReplicationsResponse) Descriptor
func (*ListReplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReplicationsResponse.ProtoReflect.Descriptor instead.
func (*ListReplicationsResponse) GetNextPageToken
func (x *ListReplicationsResponse) GetNextPageToken() string
func (*ListReplicationsResponse) GetReplications
func (x *ListReplicationsResponse) GetReplications() []*Replication
func (*ListReplicationsResponse) GetUnreachable
func (x *ListReplicationsResponse) GetUnreachable() []string
func (*ListReplicationsResponse) ProtoMessage
func (*ListReplicationsResponse) ProtoMessage()
func (*ListReplicationsResponse) ProtoReflect
func (x *ListReplicationsResponse) ProtoReflect() protoreflect.Message
func (*ListReplicationsResponse) Reset
func (x *ListReplicationsResponse) Reset()
func (*ListReplicationsResponse) String
func (x *ListReplicationsResponse) String() string
ListSnapshotsRequest
type ListSnapshotsRequest struct {
// Required. The volume for which to retrieve snapshot information,
// in the format
// `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Sort results. Supported values are "name", "name desc" or "" (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// List filter.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListSnapshotsRequest lists snapshots.
func (*ListSnapshotsRequest) Descriptor
func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListSnapshotsRequest) GetFilter
func (x *ListSnapshotsRequest) GetFilter() string
func (*ListSnapshotsRequest) GetOrderBy
func (x *ListSnapshotsRequest) GetOrderBy() string
func (*ListSnapshotsRequest) GetPageSize
func (x *ListSnapshotsRequest) GetPageSize() int32
func (*ListSnapshotsRequest) GetPageToken
func (x *ListSnapshotsRequest) GetPageToken() string
func (*ListSnapshotsRequest) GetParent
func (x *ListSnapshotsRequest) GetParent() string
func (*ListSnapshotsRequest) ProtoMessage
func (*ListSnapshotsRequest) ProtoMessage()
func (*ListSnapshotsRequest) ProtoReflect
func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*ListSnapshotsRequest) Reset
func (x *ListSnapshotsRequest) Reset()
func (*ListSnapshotsRequest) String
func (x *ListSnapshotsRequest) String() string
ListSnapshotsResponse
type ListSnapshotsResponse struct {
// A list of snapshots in the project for the specified volume.
Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
// The token you can use to retrieve the next page of results. Not returned
// if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListSnapshotsResponse is the result of ListSnapshotsRequest.
func (*ListSnapshotsResponse) Descriptor
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListSnapshotsResponse) GetNextPageToken
func (x *ListSnapshotsResponse) GetNextPageToken() string
func (*ListSnapshotsResponse) GetSnapshots
func (x *ListSnapshotsResponse) GetSnapshots() []*Snapshot
func (*ListSnapshotsResponse) GetUnreachable
func (x *ListSnapshotsResponse) GetUnreachable() []string
func (*ListSnapshotsResponse) ProtoMessage
func (*ListSnapshotsResponse) ProtoMessage()
func (*ListSnapshotsResponse) ProtoReflect
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message
func (*ListSnapshotsResponse) Reset
func (x *ListSnapshotsResponse) Reset()
func (*ListSnapshotsResponse) String
func (x *ListSnapshotsResponse) String() string
ListStoragePoolsRequest
type ListStoragePoolsRequest struct {
// Required. Parent value
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value to use if there are additional
// results to retrieve for this list request.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Sort results. Supported values are "name", "name desc" or ""
// (unsorted).
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. List filter.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListStoragePoolsRequest lists Storage Pools.
func (*ListStoragePoolsRequest) Descriptor
func (*ListStoragePoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStoragePoolsRequest.ProtoReflect.Descriptor instead.
func (*ListStoragePoolsRequest) GetFilter
func (x *ListStoragePoolsRequest) GetFilter() string
func (*ListStoragePoolsRequest) GetOrderBy
func (x *ListStoragePoolsRequest) GetOrderBy() string
func (*ListStoragePoolsRequest) GetPageSize
func (x *ListStoragePoolsRequest) GetPageSize() int32
func (*ListStoragePoolsRequest) GetPageToken
func (x *ListStoragePoolsRequest) GetPageToken() string
func (*ListStoragePoolsRequest) GetParent
func (x *ListStoragePoolsRequest) GetParent() string
func (*ListStoragePoolsRequest) ProtoMessage
func (*ListStoragePoolsRequest) ProtoMessage()
func (*ListStoragePoolsRequest) ProtoReflect
func (x *ListStoragePoolsRequest) ProtoReflect() protoreflect.Message
func (*ListStoragePoolsRequest) Reset
func (x *ListStoragePoolsRequest) Reset()
func (*ListStoragePoolsRequest) String
func (x *ListStoragePoolsRequest) String() string
ListStoragePoolsResponse
type ListStoragePoolsResponse struct {
// The list of StoragePools
StoragePools []*StoragePool `protobuf:"bytes,1,rep,name=storage_pools,json=storagePools,proto3" json:"storage_pools,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.
func (*ListStoragePoolsResponse) Descriptor
func (*ListStoragePoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStoragePoolsResponse.ProtoReflect.Descriptor instead.
func (*ListStoragePoolsResponse) GetNextPageToken
func (x *ListStoragePoolsResponse) GetNextPageToken() string
func (*ListStoragePoolsResponse) GetStoragePools
func (x *ListStoragePoolsResponse) GetStoragePools() []*StoragePool
func (*ListStoragePoolsResponse) GetUnreachable
func (x *ListStoragePoolsResponse) GetUnreachable() []string
func (*ListStoragePoolsResponse) ProtoMessage
func (*ListStoragePoolsResponse) ProtoMessage()
func (*ListStoragePoolsResponse) ProtoReflect
func (x *ListStoragePoolsResponse) ProtoReflect() protoreflect.Message
func (*ListStoragePoolsResponse) Reset
func (x *ListStoragePoolsResponse) Reset()
func (*ListStoragePoolsResponse) String
func (x *ListStoragePoolsResponse) String() string
ListVolumesRequest
type ListVolumesRequest struct {
// Required. Parent value for ListVolumesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, the server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Volumes
func (*ListVolumesRequest) Descriptor
func (*ListVolumesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.
func (*ListVolumesRequest) GetFilter
func (x *ListVolumesRequest) GetFilter() string
func (*ListVolumesRequest) GetOrderBy
func (x *ListVolumesRequest) GetOrderBy() string
func (*ListVolumesRequest) GetPageSize
func (x *ListVolumesRequest) GetPageSize() int32
func (*ListVolumesRequest) GetPageToken
func (x *ListVolumesRequest) GetPageToken() string
func (*ListVolumesRequest) GetParent
func (x *ListVolumesRequest) GetParent() string
func (*ListVolumesRequest) ProtoMessage
func (*ListVolumesRequest) ProtoMessage()
func (*ListVolumesRequest) ProtoReflect
func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message
func (*ListVolumesRequest) Reset
func (x *ListVolumesRequest) Reset()
func (*ListVolumesRequest) String
func (x *ListVolumesRequest) String() string
ListVolumesResponse
type ListVolumesResponse struct {
// The list of Volume
Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Volumes
func (*ListVolumesResponse) Descriptor
func (*ListVolumesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumesResponse.ProtoReflect.Descriptor instead.
func (*ListVolumesResponse) GetNextPageToken
func (x *ListVolumesResponse) GetNextPageToken() string
func (*ListVolumesResponse) GetUnreachable
func (x *ListVolumesResponse) GetUnreachable() []string
func (*ListVolumesResponse) GetVolumes
func (x *ListVolumesResponse) GetVolumes() []*Volume
func (*ListVolumesResponse) ProtoMessage
func (*ListVolumesResponse) ProtoMessage()
func (*ListVolumesResponse) ProtoReflect
func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message
func (*ListVolumesResponse) Reset
func (x *ListVolumesResponse) Reset()
func (*ListVolumesResponse) String
func (x *ListVolumesResponse) String() string
LocationMetadata
type LocationMetadata struct {
SupportedServiceLevels []ServiceLevel "" /* 178 byte string literal not displayed */
}
Metadata for a given [google.cloud.location.Location][google.cloud.location.Location].
func (*LocationMetadata) Descriptor
func (*LocationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetSupportedServiceLevels
func (x *LocationMetadata) GetSupportedServiceLevels() []ServiceLevel
func (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()
func (*LocationMetadata) String
func (x *LocationMetadata) String() string
MonthlySchedule
type MonthlySchedule struct {
// The maximum number of Snapshots to keep for the hourly schedule
SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
// Set the minute of the hour to start the snapshot (0-59), defaults to the
// top of the hour (0).
Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
// Set the hour to start the snapshot (0-23), defaults to midnight (0).
Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
// Set the day or days of the month to make a snapshot (1-31). Accepts a
// comma separated number of days. Defaults to '1'.
DaysOfMonth *string `protobuf:"bytes,4,opt,name=days_of_month,json=daysOfMonth,proto3,oneof" json:"days_of_month,omitempty"`
// contains filtered or unexported fields
}
Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
func (*MonthlySchedule) Descriptor
func (*MonthlySchedule) Descriptor() ([]byte, []int)
Deprecated: Use MonthlySchedule.ProtoReflect.Descriptor instead.
func (*MonthlySchedule) GetDaysOfMonth
func (x *MonthlySchedule) GetDaysOfMonth() string
func (*MonthlySchedule) GetHour
func (x *MonthlySchedule) GetHour() float64
func (*MonthlySchedule) GetMinute
func (x *MonthlySchedule) GetMinute() float64
func (*MonthlySchedule) GetSnapshotsToKeep
func (x *MonthlySchedule) GetSnapshotsToKeep() float64
func (*MonthlySchedule) ProtoMessage
func (*MonthlySchedule) ProtoMessage()
func (*MonthlySchedule) ProtoReflect
func (x *MonthlySchedule) ProtoReflect() protoreflect.Message
func (*MonthlySchedule) Reset
func (x *MonthlySchedule) Reset()
func (*MonthlySchedule) String
func (x *MonthlySchedule) String() string
MountOption
type MountOption struct {
// Export string
Export string `protobuf:"bytes,1,opt,name=export,proto3" json:"export,omitempty"`
// Full export string
ExportFull string `protobuf:"bytes,2,opt,name=export_full,json=exportFull,proto3" json:"export_full,omitempty"`
// Protocol to mount with.
Protocol Protocols `protobuf:"varint,3,opt,name=protocol,proto3,enum=google.cloud.netapp.v1.Protocols" json:"protocol,omitempty"`
// Instructions for mounting
Instructions string `protobuf:"bytes,4,opt,name=instructions,proto3" json:"instructions,omitempty"`
// contains filtered or unexported fields
}
View only mount options for a volume.
func (*MountOption) Descriptor
func (*MountOption) Descriptor() ([]byte, []int)
Deprecated: Use MountOption.ProtoReflect.Descriptor instead.
func (*MountOption) GetExport
func (x *MountOption) GetExport() string
func (*MountOption) GetExportFull
func (x *MountOption) GetExportFull() string
func (*MountOption) GetInstructions
func (x *MountOption) GetInstructions() string
func (*MountOption) GetProtocol
func (x *MountOption) GetProtocol() Protocols
func (*MountOption) ProtoMessage
func (*MountOption) ProtoMessage()
func (*MountOption) ProtoReflect
func (x *MountOption) ProtoReflect() protoreflect.Message
func (*MountOption) Reset
func (x *MountOption) Reset()
func (*MountOption) String
func (x *MountOption) String() string
NetAppClient
type NetAppClient interface {
// Returns descriptions of all storage pools owned by the caller.
ListStoragePools(ctx context.Context, in *ListStoragePoolsRequest, opts ...grpc.CallOption) (*ListStoragePoolsResponse, error)
// Creates a new storage pool.
CreateStoragePool(ctx context.Context, in *CreateStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the description of the specified storage pool by poolId.
GetStoragePool(ctx context.Context, in *GetStoragePoolRequest, opts ...grpc.CallOption) (*StoragePool, error)
// Updates the storage pool properties with the full spec
UpdateStoragePool(ctx context.Context, in *UpdateStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the storage pool.
DeleteStoragePool(ctx context.Context, in *DeleteStoragePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Volumes in a given project.
ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error)
// Gets details of a single Volume.
GetVolume(ctx context.Context, in *GetVolumeRequest, opts ...grpc.CallOption) (*Volume, error)
// Creates a new Volume in a given project and location.
CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Volume.
UpdateVolume(ctx context.Context, in *UpdateVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Volume.
DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Revert an existing volume to a specified snapshot.
// Warning! This operation will permanently revert all changes made after the
// snapshot was created.
RevertVolume(ctx context.Context, in *RevertVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns descriptions of all snapshots for a volume.
ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
// Describe a snapshot for a volume.
GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error)
// Create a new snapshot for a volume.
CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a snapshot.
DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the settings of a specific snapshot.
UpdateSnapshot(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists active directories.
ListActiveDirectories(ctx context.Context, in *ListActiveDirectoriesRequest, opts ...grpc.CallOption) (*ListActiveDirectoriesResponse, error)
// Describes a specified active directory.
GetActiveDirectory(ctx context.Context, in *GetActiveDirectoryRequest, opts ...grpc.CallOption) (*ActiveDirectory, error)
// CreateActiveDirectory
// Creates the active directory specified in the request.
CreateActiveDirectory(ctx context.Context, in *CreateActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update the parameters of an active directories.
UpdateActiveDirectory(ctx context.Context, in *UpdateActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Delete the active directory specified in the request.
DeleteActiveDirectory(ctx context.Context, in *DeleteActiveDirectoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns descriptions of all KMS configs owned by the caller.
ListKmsConfigs(ctx context.Context, in *ListKmsConfigsRequest, opts ...grpc.CallOption) (*ListKmsConfigsResponse, error)
// Creates a new KMS config.
CreateKmsConfig(ctx context.Context, in *CreateKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the description of the specified KMS config by kms_config_id.
GetKmsConfig(ctx context.Context, in *GetKmsConfigRequest, opts ...grpc.CallOption) (*KmsConfig, error)
// Updates the Kms config properties with the full spec
UpdateKmsConfig(ctx context.Context, in *UpdateKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Encrypt the existing volumes without CMEK encryption with the desired the
// KMS config for the whole region.
EncryptVolumes(ctx context.Context, in *EncryptVolumesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Verifies KMS config reachability.
VerifyKmsConfig(ctx context.Context, in *VerifyKmsConfigRequest, opts ...grpc.CallOption) (*VerifyKmsConfigResponse, error)
// Warning! This operation will permanently delete the Kms config.
DeleteKmsConfig(ctx context.Context, in *DeleteKmsConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns descriptions of all replications for a volume.
ListReplications(ctx context.Context, in *ListReplicationsRequest, opts ...grpc.CallOption) (*ListReplicationsResponse, error)
// Describe a replication for a volume.
GetReplication(ctx context.Context, in *GetReplicationRequest, opts ...grpc.CallOption) (*Replication, error)
// Create a new replication for a volume.
CreateReplication(ctx context.Context, in *CreateReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a replication.
DeleteReplication(ctx context.Context, in *DeleteReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the settings of a specific replication.
UpdateReplication(ctx context.Context, in *UpdateReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stop Cross Region Replication.
StopReplication(ctx context.Context, in *StopReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Resume Cross Region Replication.
ResumeReplication(ctx context.Context, in *ResumeReplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Reverses direction of replication. Source becomes destination and
// destination becomes source.
ReverseReplicationDirection(ctx context.Context, in *ReverseReplicationDirectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates new backup vault
CreateBackupVault(ctx context.Context, in *CreateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the description of the specified backup vault
GetBackupVault(ctx context.Context, in *GetBackupVaultRequest, opts ...grpc.CallOption) (*BackupVault, error)
// Returns list of all available backup vaults.
ListBackupVaults(ctx context.Context, in *ListBackupVaultsRequest, opts ...grpc.CallOption) (*ListBackupVaultsResponse, error)
// Updates the settings of a specific backup vault.
UpdateBackupVault(ctx context.Context, in *UpdateBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the backup vault.
DeleteBackupVault(ctx context.Context, in *DeleteBackupVaultRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a backup from the volume specified in the request
// The backup can be created from the given snapshot if specified in the
// request. If no snapshot specified, there'll be a new snapshot taken to
// initiate the backup creation.
CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the description of the specified backup
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Returns descriptions of all backups for a backupVault.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Warning! This operation will permanently delete the backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update backup with full spec.
UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates new backup policy
CreateBackupPolicy(ctx context.Context, in *CreateBackupPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the description of the specified backup policy by backup_policy_id.
GetBackupPolicy(ctx context.Context, in *GetBackupPolicyRequest, opts ...grpc.CallOption) (*BackupPolicy, error)
// Returns list of all available backup policies.
ListBackupPolicies(ctx context.Context, in *ListBackupPoliciesRequest, opts ...grpc.CallOption) (*ListBackupPoliciesResponse, error)
// Updates settings of a specific backup policy.
UpdateBackupPolicy(ctx context.Context, in *UpdateBackupPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the backup policy.
DeleteBackupPolicy(ctx context.Context, in *DeleteBackupPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
NetAppClient is the client API for NetApp service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetAppClient
func NewNetAppClient(cc grpc.ClientConnInterface) NetAppClient
NetAppServer
type NetAppServer interface {
// Returns descriptions of all storage pools owned by the caller.
ListStoragePools(context.Context, *ListStoragePoolsRequest) (*ListStoragePoolsResponse, error)
// Creates a new storage pool.
CreateStoragePool(context.Context, *CreateStoragePoolRequest) (*longrunningpb.Operation, error)
// Returns the description of the specified storage pool by poolId.
GetStoragePool(context.Context, *GetStoragePoolRequest) (*StoragePool, error)
// Updates the storage pool properties with the full spec
UpdateStoragePool(context.Context, *UpdateStoragePoolRequest) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the storage pool.
DeleteStoragePool(context.Context, *DeleteStoragePoolRequest) (*longrunningpb.Operation, error)
// Lists Volumes in a given project.
ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
// Gets details of a single Volume.
GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
// Creates a new Volume in a given project and location.
CreateVolume(context.Context, *CreateVolumeRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Volume.
UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)
// Deletes a single Volume.
DeleteVolume(context.Context, *DeleteVolumeRequest) (*longrunningpb.Operation, error)
// Revert an existing volume to a specified snapshot.
// Warning! This operation will permanently revert all changes made after the
// snapshot was created.
RevertVolume(context.Context, *RevertVolumeRequest) (*longrunningpb.Operation, error)
// Returns descriptions of all snapshots for a volume.
ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
// Describe a snapshot for a volume.
GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error)
// Create a new snapshot for a volume.
CreateSnapshot(context.Context, *CreateSnapshotRequest) (*longrunningpb.Operation, error)
// Deletes a snapshot.
DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*longrunningpb.Operation, error)
// Updates the settings of a specific snapshot.
UpdateSnapshot(context.Context, *UpdateSnapshotRequest) (*longrunningpb.Operation, error)
// Lists active directories.
ListActiveDirectories(context.Context, *ListActiveDirectoriesRequest) (*ListActiveDirectoriesResponse, error)
// Describes a specified active directory.
GetActiveDirectory(context.Context, *GetActiveDirectoryRequest) (*ActiveDirectory, error)
// CreateActiveDirectory
// Creates the active directory specified in the request.
CreateActiveDirectory(context.Context, *CreateActiveDirectoryRequest) (*longrunningpb.Operation, error)
// Update the parameters of an active directories.
UpdateActiveDirectory(context.Context, *UpdateActiveDirectoryRequest) (*longrunningpb.Operation, error)
// Delete the active directory specified in the request.
DeleteActiveDirectory(context.Context, *DeleteActiveDirectoryRequest) (*longrunningpb.Operation, error)
// Returns descriptions of all KMS configs owned by the caller.
ListKmsConfigs(context.Context, *ListKmsConfigsRequest) (*ListKmsConfigsResponse, error)
// Creates a new KMS config.
CreateKmsConfig(context.Context, *CreateKmsConfigRequest) (*longrunningpb.Operation, error)
// Returns the description of the specified KMS config by kms_config_id.
GetKmsConfig(context.Context, *GetKmsConfigRequest) (*KmsConfig, error)
// Updates the Kms config properties with the full spec
UpdateKmsConfig(context.Context, *UpdateKmsConfigRequest) (*longrunningpb.Operation, error)
// Encrypt the existing volumes without CMEK encryption with the desired the
// KMS config for the whole region.
EncryptVolumes(context.Context, *EncryptVolumesRequest) (*longrunningpb.Operation, error)
// Verifies KMS config reachability.
VerifyKmsConfig(context.Context, *VerifyKmsConfigRequest) (*VerifyKmsConfigResponse, error)
// Warning! This operation will permanently delete the Kms config.
DeleteKmsConfig(context.Context, *DeleteKmsConfigRequest) (*longrunningpb.Operation, error)
// Returns descriptions of all replications for a volume.
ListReplications(context.Context, *ListReplicationsRequest) (*ListReplicationsResponse, error)
// Describe a replication for a volume.
GetReplication(context.Context, *GetReplicationRequest) (*Replication, error)
// Create a new replication for a volume.
CreateReplication(context.Context, *CreateReplicationRequest) (*longrunningpb.Operation, error)
// Deletes a replication.
DeleteReplication(context.Context, *DeleteReplicationRequest) (*longrunningpb.Operation, error)
// Updates the settings of a specific replication.
UpdateReplication(context.Context, *UpdateReplicationRequest) (*longrunningpb.Operation, error)
// Stop Cross Region Replication.
StopReplication(context.Context, *StopReplicationRequest) (*longrunningpb.Operation, error)
// Resume Cross Region Replication.
ResumeReplication(context.Context, *ResumeReplicationRequest) (*longrunningpb.Operation, error)
// Reverses direction of replication. Source becomes destination and
// destination becomes source.
ReverseReplicationDirection(context.Context, *ReverseReplicationDirectionRequest) (*longrunningpb.Operation, error)
// Creates new backup vault
CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)
// Returns the description of the specified backup vault
GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)
// Returns list of all available backup vaults.
ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)
// Updates the settings of a specific backup vault.
UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the backup vault.
DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)
// Creates a backup from the volume specified in the request
// The backup can be created from the given snapshot if specified in the
// request. If no snapshot specified, there'll be a new snapshot taken to
// initiate the backup creation.
CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
// Returns the description of the specified backup
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Returns descriptions of all backups for a backupVault.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Warning! This operation will permanently delete the backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
// Update backup with full spec.
UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
// Creates new backup policy
CreateBackupPolicy(context.Context, *CreateBackupPolicyRequest) (*longrunningpb.Operation, error)
// Returns the description of the specified backup policy by backup_policy_id.
GetBackupPolicy(context.Context, *GetBackupPolicyRequest) (*BackupPolicy, error)
// Returns list of all available backup policies.
ListBackupPolicies(context.Context, *ListBackupPoliciesRequest) (*ListBackupPoliciesResponse, error)
// Updates settings of a specific backup policy.
UpdateBackupPolicy(context.Context, *UpdateBackupPolicyRequest) (*longrunningpb.Operation, error)
// Warning! This operation will permanently delete the backup policy.
DeleteBackupPolicy(context.Context, *DeleteBackupPolicyRequest) (*longrunningpb.Operation, error)
}
NetAppServer is the server API for NetApp service.
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been canceled successfully
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
Protocols
type Protocols int32
Protocols is an enum of all the supported network protocols for a volume.
Protocols_PROTOCOLS_UNSPECIFIED, Protocols_NFSV3, Protocols_NFSV4, Protocols_SMB
const (
// Unspecified protocol
Protocols_PROTOCOLS_UNSPECIFIED Protocols = 0
// NFS V3 protocol
Protocols_NFSV3 Protocols = 1
// NFS V4 protocol
Protocols_NFSV4 Protocols = 2
// SMB protocol
Protocols_SMB Protocols = 3
)
func (Protocols) Descriptor
func (Protocols) Descriptor() protoreflect.EnumDescriptor
func (Protocols) Enum
func (Protocols) EnumDescriptor
Deprecated: Use Protocols.Descriptor instead.
func (Protocols) Number
func (x Protocols) Number() protoreflect.EnumNumber
func (Protocols) String
func (Protocols) Type
func (Protocols) Type() protoreflect.EnumType
Replication
type Replication struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State Replication_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Replication_State" json:"state,omitempty"`
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
Role Replication_ReplicationRole `protobuf:"varint,4,opt,name=role,proto3,enum=google.cloud.netapp.v1.Replication_ReplicationRole" json:"role,omitempty"`
ReplicationSchedule Replication_ReplicationSchedule "" /* 179 byte string literal not displayed */
MirrorState Replication_MirrorState "" /* 147 byte string literal not displayed */
Healthy *bool `protobuf:"varint,8,opt,name=healthy,proto3,oneof" json:"healthy,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
DestinationVolume string `protobuf:"bytes,10,opt,name=destination_volume,json=destinationVolume,proto3" json:"destination_volume,omitempty"`
TransferStats *TransferStats `protobuf:"bytes,11,opt,name=transfer_stats,json=transferStats,proto3" json:"transfer_stats,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`
DestinationVolumeParameters *DestinationVolumeParameters "" /* 145 byte string literal not displayed */
SourceVolume string `protobuf:"bytes,15,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
}
Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.
func (*Replication) Descriptor
func (*Replication) Descriptor() ([]byte, []int)
Deprecated: Use Replication.ProtoReflect.Descriptor instead.
func (*Replication) GetCreateTime
func (x *Replication) GetCreateTime() *timestamppb.Timestamp
func (*Replication) GetDescription
func (x *Replication) GetDescription() string
func (*Replication) GetDestinationVolume
func (x *Replication) GetDestinationVolume() string
func (*Replication) GetDestinationVolumeParameters
func (x *Replication) GetDestinationVolumeParameters() *DestinationVolumeParameters
func (*Replication) GetHealthy
func (x *Replication) GetHealthy() bool
func (*Replication) GetLabels
func (x *Replication) GetLabels() map[string]string
func (*Replication) GetMirrorState
func (x *Replication) GetMirrorState() Replication_MirrorState
func (*Replication) GetName
func (x *Replication) GetName() string
func (*Replication) GetReplicationSchedule
func (x *Replication) GetReplicationSchedule() Replication_ReplicationSchedule
func (*Replication) GetRole
func (x *Replication) GetRole() Replication_ReplicationRole
func (*Replication) GetSourceVolume
func (x *Replication) GetSourceVolume() string
func (*Replication) GetState
func (x *Replication) GetState() Replication_State
func (*Replication) GetStateDetails
func (x *Replication) GetStateDetails() string
func (*Replication) GetTransferStats
func (x *Replication) GetTransferStats() *TransferStats
func (*Replication) ProtoMessage
func (*Replication) ProtoMessage()
func (*Replication) ProtoReflect
func (x *Replication) ProtoReflect() protoreflect.Message
func (*Replication) Reset
func (x *Replication) Reset()
func (*Replication) String
func (x *Replication) String() string
Replication_MirrorState
type Replication_MirrorState int32
Mirroring states. No new value is expected to be added in future.
Replication_MIRROR_STATE_UNSPECIFIED, Replication_PREPARING, Replication_MIRRORED, Replication_STOPPED, Replication_TRANSFERRING
const (
// Unspecified MirrorState
Replication_MIRROR_STATE_UNSPECIFIED Replication_MirrorState = 0
// Destination volume is being prepared.
Replication_PREPARING Replication_MirrorState = 1
// Destination volume has been initialized and is ready to receive
// replication transfers.
Replication_MIRRORED Replication_MirrorState = 2
// Destination volume is not receiving replication transfers.
Replication_STOPPED Replication_MirrorState = 3
// Replication is in progress.
Replication_TRANSFERRING Replication_MirrorState = 4
)
func (Replication_MirrorState) Descriptor
func (Replication_MirrorState) Descriptor() protoreflect.EnumDescriptor
func (Replication_MirrorState) Enum
func (x Replication_MirrorState) Enum() *Replication_MirrorState
func (Replication_MirrorState) EnumDescriptor
func (Replication_MirrorState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Replication_MirrorState.Descriptor instead.
func (Replication_MirrorState) Number
func (x Replication_MirrorState) Number() protoreflect.EnumNumber
func (Replication_MirrorState) String
func (x Replication_MirrorState) String() string
func (Replication_MirrorState) Type
func (Replication_MirrorState) Type() protoreflect.EnumType
Replication_ReplicationRole
type Replication_ReplicationRole int32
New enum values may be added in future to support different replication topology.
Replication_REPLICATION_ROLE_UNSPECIFIED, Replication_SOURCE, Replication_DESTINATION
const (
// Unspecified replication role
Replication_REPLICATION_ROLE_UNSPECIFIED Replication_ReplicationRole = 0
// Indicates Source volume.
Replication_SOURCE Replication_ReplicationRole = 1
// Indicates Destination volume.
Replication_DESTINATION Replication_ReplicationRole = 2
)
func (Replication_ReplicationRole) Descriptor
func (Replication_ReplicationRole) Descriptor() protoreflect.EnumDescriptor
func (Replication_ReplicationRole) Enum
func (x Replication_ReplicationRole) Enum() *Replication_ReplicationRole
func (Replication_ReplicationRole) EnumDescriptor
func (Replication_ReplicationRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use Replication_ReplicationRole.Descriptor instead.
func (Replication_ReplicationRole) Number
func (x Replication_ReplicationRole) Number() protoreflect.EnumNumber
func (Replication_ReplicationRole) String
func (x Replication_ReplicationRole) String() string
func (Replication_ReplicationRole) Type
func (Replication_ReplicationRole) Type() protoreflect.EnumType
Replication_ReplicationSchedule
type Replication_ReplicationSchedule int32
Schedule for Replication. New enum values may be added in future to support different frequency of replication.
Replication_REPLICATION_SCHEDULE_UNSPECIFIED, Replication_EVERY_10_MINUTES, Replication_HOURLY, Replication_DAILY
const (
// Unspecified ReplicationSchedule
Replication_REPLICATION_SCHEDULE_UNSPECIFIED Replication_ReplicationSchedule = 0
// Replication happens once every 10 minutes.
Replication_EVERY_10_MINUTES Replication_ReplicationSchedule = 1
// Replication happens once every hour.
Replication_HOURLY Replication_ReplicationSchedule = 2
// Replication happens once every day.
Replication_DAILY Replication_ReplicationSchedule = 3
)
func (Replication_ReplicationSchedule) Descriptor
func (Replication_ReplicationSchedule) Descriptor() protoreflect.EnumDescriptor
func (Replication_ReplicationSchedule) Enum
func (x Replication_ReplicationSchedule) Enum() *Replication_ReplicationSchedule
func (Replication_ReplicationSchedule) EnumDescriptor
func (Replication_ReplicationSchedule) EnumDescriptor() ([]byte, []int)
Deprecated: Use Replication_ReplicationSchedule.Descriptor instead.
func (Replication_ReplicationSchedule) Number
func (x Replication_ReplicationSchedule) Number() protoreflect.EnumNumber
func (Replication_ReplicationSchedule) String
func (x Replication_ReplicationSchedule) String() string
func (Replication_ReplicationSchedule) Type
func (Replication_ReplicationSchedule) Type() protoreflect.EnumType
Replication_State
type Replication_State int32
The replication states New enum values may be added in future to indicate possible new states.
Replication_STATE_UNSPECIFIED, Replication_CREATING, Replication_READY, Replication_UPDATING, Replication_DELETING, Replication_ERROR
const (
// Unspecified replication State
Replication_STATE_UNSPECIFIED Replication_State = 0
// Replication is creating.
Replication_CREATING Replication_State = 1
// Replication is ready.
Replication_READY Replication_State = 2
// Replication is updating.
Replication_UPDATING Replication_State = 3
// Replication is deleting.
Replication_DELETING Replication_State = 5
// Replication is in error state.
Replication_ERROR Replication_State = 6
)
func (Replication_State) Descriptor
func (Replication_State) Descriptor() protoreflect.EnumDescriptor
func (Replication_State) Enum
func (x Replication_State) Enum() *Replication_State
func (Replication_State) EnumDescriptor
func (Replication_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Replication_State.Descriptor instead.
func (Replication_State) Number
func (x Replication_State) Number() protoreflect.EnumNumber
func (Replication_State) String
func (x Replication_State) String() string
func (Replication_State) Type
func (Replication_State) Type() protoreflect.EnumType
RestoreParameters
type RestoreParameters struct {
// The source that the volume is created from.
//
// Types that are assignable to Source:
//
// *RestoreParameters_SourceSnapshot
// *RestoreParameters_SourceBackup
Source isRestoreParameters_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
The RestoreParameters if volume is created from a snapshot or backup.
func (*RestoreParameters) Descriptor
func (*RestoreParameters) Descriptor() ([]byte, []int)
Deprecated: Use RestoreParameters.ProtoReflect.Descriptor instead.
func (*RestoreParameters) GetSource
func (m *RestoreParameters) GetSource() isRestoreParameters_Source
func (*RestoreParameters) GetSourceBackup
func (x *RestoreParameters) GetSourceBackup() string
func (*RestoreParameters) GetSourceSnapshot
func (x *RestoreParameters) GetSourceSnapshot() string
func (*RestoreParameters) ProtoMessage
func (*RestoreParameters) ProtoMessage()
func (*RestoreParameters) ProtoReflect
func (x *RestoreParameters) ProtoReflect() protoreflect.Message
func (*RestoreParameters) Reset
func (x *RestoreParameters) Reset()
func (*RestoreParameters) String
func (x *RestoreParameters) String() string
RestoreParameters_SourceBackup
type RestoreParameters_SourceBackup struct {
// Full name of the backup resource.
// Format:
// projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}
SourceBackup string `protobuf:"bytes,2,opt,name=source_backup,json=sourceBackup,proto3,oneof"`
}
RestoreParameters_SourceSnapshot
type RestoreParameters_SourceSnapshot struct {
// Full name of the snapshot resource.
// Format:
// projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
SourceSnapshot string `protobuf:"bytes,1,opt,name=source_snapshot,json=sourceSnapshot,proto3,oneof"`
}
RestrictedAction
type RestrictedAction int32
Actions to be restricted for a volume.
RestrictedAction_RESTRICTED_ACTION_UNSPECIFIED, RestrictedAction_DELETE
const (
// Unspecified restricted action
RestrictedAction_RESTRICTED_ACTION_UNSPECIFIED RestrictedAction = 0
// Prevent volume from being deleted when mounted.
RestrictedAction_DELETE RestrictedAction = 1
)
func (RestrictedAction) Descriptor
func (RestrictedAction) Descriptor() protoreflect.EnumDescriptor
func (RestrictedAction) Enum
func (x RestrictedAction) Enum() *RestrictedAction
func (RestrictedAction) EnumDescriptor
func (RestrictedAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use RestrictedAction.Descriptor instead.
func (RestrictedAction) Number
func (x RestrictedAction) Number() protoreflect.EnumNumber
func (RestrictedAction) String
func (x RestrictedAction) String() string
func (RestrictedAction) Type
func (RestrictedAction) Type() protoreflect.EnumType
ResumeReplicationRequest
type ResumeReplicationRequest struct {
// Required. The resource name of the replication, in the format of
// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
ResumeReplicationRequest resumes a stopped replication.
func (*ResumeReplicationRequest) Descriptor
func (*ResumeReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeReplicationRequest.ProtoReflect.Descriptor instead.
func (*ResumeReplicationRequest) GetName
func (x *ResumeReplicationRequest) GetName() string
func (*ResumeReplicationRequest) ProtoMessage
func (*ResumeReplicationRequest) ProtoMessage()
func (*ResumeReplicationRequest) ProtoReflect
func (x *ResumeReplicationRequest) ProtoReflect() protoreflect.Message
func (*ResumeReplicationRequest) Reset
func (x *ResumeReplicationRequest) Reset()
func (*ResumeReplicationRequest) String
func (x *ResumeReplicationRequest) String() string
ReverseReplicationDirectionRequest
type ReverseReplicationDirectionRequest struct {
// Required. The resource name of the replication, in the format of
// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.
func (*ReverseReplicationDirectionRequest) Descriptor
func (*ReverseReplicationDirectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReverseReplicationDirectionRequest.ProtoReflect.Descriptor instead.
func (*ReverseReplicationDirectionRequest) GetName
func (x *ReverseReplicationDirectionRequest) GetName() string
func (*ReverseReplicationDirectionRequest) ProtoMessage
func (*ReverseReplicationDirectionRequest) ProtoMessage()
func (*ReverseReplicationDirectionRequest) ProtoReflect
func (x *ReverseReplicationDirectionRequest) ProtoReflect() protoreflect.Message
func (*ReverseReplicationDirectionRequest) Reset
func (x *ReverseReplicationDirectionRequest) Reset()
func (*ReverseReplicationDirectionRequest) String
func (x *ReverseReplicationDirectionRequest) String() string
RevertVolumeRequest
type RevertVolumeRequest struct {
// Required. The resource name of the volume, in the format of
// projects/{project_id}/locations/{location}/volumes/{volume_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The snapshot resource ID, in the format 'my-snapshot', where the
// specified ID is the {snapshot_id} of the fully qualified name like
// projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}
SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
// contains filtered or unexported fields
}
RevertVolumeRequest reverts the given volume to the specified snapshot.
func (*RevertVolumeRequest) Descriptor
func (*RevertVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevertVolumeRequest.ProtoReflect.Descriptor instead.
func (*RevertVolumeRequest) GetName
func (x *RevertVolumeRequest) GetName() string
func (*RevertVolumeRequest) GetSnapshotId
func (x *RevertVolumeRequest) GetSnapshotId() string
func (*RevertVolumeRequest) ProtoMessage
func (*RevertVolumeRequest) ProtoMessage()
func (*RevertVolumeRequest) ProtoReflect
func (x *RevertVolumeRequest) ProtoReflect() protoreflect.Message
func (*RevertVolumeRequest) Reset
func (x *RevertVolumeRequest) Reset()
func (*RevertVolumeRequest) String
func (x *RevertVolumeRequest) String() string
SMBSettings
type SMBSettings int32
SMBSettings Modifies the behaviour of a SMB volume.
SMBSettings_SMB_SETTINGS_UNSPECIFIED, SMBSettings_ENCRYPT_DATA, SMBSettings_BROWSABLE, SMBSettings_CHANGE_NOTIFY, SMBSettings_NON_BROWSABLE, SMBSettings_OPLOCKS, SMBSettings_SHOW_SNAPSHOT, SMBSettings_SHOW_PREVIOUS_VERSIONS, SMBSettings_ACCESS_BASED_ENUMERATION, SMBSettings_CONTINUOUSLY_AVAILABLE
const (
// Unspecified default option
SMBSettings_SMB_SETTINGS_UNSPECIFIED SMBSettings = 0
// SMB setting encrypt data
SMBSettings_ENCRYPT_DATA SMBSettings = 1
// SMB setting browsable
SMBSettings_BROWSABLE SMBSettings = 2
// SMB setting notify change
SMBSettings_CHANGE_NOTIFY SMBSettings = 3
// SMB setting not to notify change
SMBSettings_NON_BROWSABLE SMBSettings = 4
// SMB setting oplocks
SMBSettings_OPLOCKS SMBSettings = 5
// SMB setting to show snapshots
SMBSettings_SHOW_SNAPSHOT SMBSettings = 6
// SMB setting to show previous versions
SMBSettings_SHOW_PREVIOUS_VERSIONS SMBSettings = 7
// SMB setting to access volume based on enumerartion
SMBSettings_ACCESS_BASED_ENUMERATION SMBSettings = 8
// Continuously available enumeration
SMBSettings_CONTINUOUSLY_AVAILABLE SMBSettings = 9
)
func (SMBSettings) Descriptor
func (SMBSettings) Descriptor() protoreflect.EnumDescriptor
func (SMBSettings) Enum
func (x SMBSettings) Enum() *SMBSettings
func (SMBSettings) EnumDescriptor
func (SMBSettings) EnumDescriptor() ([]byte, []int)
Deprecated: Use SMBSettings.Descriptor instead.
func (SMBSettings) Number
func (x SMBSettings) Number() protoreflect.EnumNumber
func (SMBSettings) String
func (x SMBSettings) String() string
func (SMBSettings) Type
func (SMBSettings) Type() protoreflect.EnumType
SecurityStyle
type SecurityStyle int32
The security style of the volume, can be either UNIX or NTFS.
SecurityStyle_SECURITY_STYLE_UNSPECIFIED, SecurityStyle_NTFS, SecurityStyle_UNIX
const (
// SecurityStyle is unspecified
SecurityStyle_SECURITY_STYLE_UNSPECIFIED SecurityStyle = 0
// SecurityStyle uses NTFS
SecurityStyle_NTFS SecurityStyle = 1
// SecurityStyle uses UNIX
SecurityStyle_UNIX SecurityStyle = 2
)
func (SecurityStyle) Descriptor
func (SecurityStyle) Descriptor() protoreflect.EnumDescriptor
func (SecurityStyle) Enum
func (x SecurityStyle) Enum() *SecurityStyle
func (SecurityStyle) EnumDescriptor
func (SecurityStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityStyle.Descriptor instead.
func (SecurityStyle) Number
func (x SecurityStyle) Number() protoreflect.EnumNumber
func (SecurityStyle) String
func (x SecurityStyle) String() string
func (SecurityStyle) Type
func (SecurityStyle) Type() protoreflect.EnumType
ServiceLevel
type ServiceLevel int32
The service level of a storage pool and its volumes.
ServiceLevel_SERVICE_LEVEL_UNSPECIFIED, ServiceLevel_PREMIUM, ServiceLevel_EXTREME, ServiceLevel_STANDARD, ServiceLevel_FLEX
const (
// Unspecified service level.
ServiceLevel_SERVICE_LEVEL_UNSPECIFIED ServiceLevel = 0
// Premium service level.
ServiceLevel_PREMIUM ServiceLevel = 1
// Extreme service level.
ServiceLevel_EXTREME ServiceLevel = 2
// Standard service level.
ServiceLevel_STANDARD ServiceLevel = 3
// Flex service level.
ServiceLevel_FLEX ServiceLevel = 4
)
func (ServiceLevel) Descriptor
func (ServiceLevel) Descriptor() protoreflect.EnumDescriptor
func (ServiceLevel) Enum
func (x ServiceLevel) Enum() *ServiceLevel
func (ServiceLevel) EnumDescriptor
func (ServiceLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceLevel.Descriptor instead.
func (ServiceLevel) Number
func (x ServiceLevel) Number() protoreflect.EnumNumber
func (ServiceLevel) String
func (x ServiceLevel) String() string
func (ServiceLevel) Type
func (ServiceLevel) Type() protoreflect.EnumType
SimpleExportPolicyRule
type SimpleExportPolicyRule struct {
AllowedClients *string `protobuf:"bytes,1,opt,name=allowed_clients,json=allowedClients,proto3,oneof" json:"allowed_clients,omitempty"`
HasRootAccess *string `protobuf:"bytes,2,opt,name=has_root_access,json=hasRootAccess,proto3,oneof" json:"has_root_access,omitempty"`
AccessType *AccessType "" /* 137 byte string literal not displayed */
Nfsv3 *bool `protobuf:"varint,4,opt,name=nfsv3,proto3,oneof" json:"nfsv3,omitempty"`
Nfsv4 *bool `protobuf:"varint,5,opt,name=nfsv4,proto3,oneof" json:"nfsv4,omitempty"`
Kerberos_5ReadOnly *bool `protobuf:"varint,6,opt,name=kerberos_5_read_only,json=kerberos5ReadOnly,proto3,oneof" json:"kerberos_5_read_only,omitempty"`
Kerberos_5ReadWrite *bool `protobuf:"varint,7,opt,name=kerberos_5_read_write,json=kerberos5ReadWrite,proto3,oneof" json:"kerberos_5_read_write,omitempty"`
Kerberos_5IReadOnly *bool `protobuf:"varint,8,opt,name=kerberos_5i_read_only,json=kerberos5iReadOnly,proto3,oneof" json:"kerberos_5i_read_only,omitempty"`
Kerberos_5IReadWrite *bool "" /* 129 byte string literal not displayed */
Kerberos_5PReadOnly *bool "" /* 127 byte string literal not displayed */
Kerberos_5PReadWrite *bool "" /* 130 byte string literal not displayed */
}
An export policy rule describing various export options.
func (*SimpleExportPolicyRule) Descriptor
func (*SimpleExportPolicyRule) Descriptor() ([]byte, []int)
Deprecated: Use SimpleExportPolicyRule.ProtoReflect.Descriptor instead.
func (*SimpleExportPolicyRule) GetAccessType
func (x *SimpleExportPolicyRule) GetAccessType() AccessType
func (*SimpleExportPolicyRule) GetAllowedClients
func (x *SimpleExportPolicyRule) GetAllowedClients() string
func (*SimpleExportPolicyRule) GetHasRootAccess
func (x *SimpleExportPolicyRule) GetHasRootAccess() string
func (*SimpleExportPolicyRule) GetKerberos_5IReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5IReadOnly() bool
func (*SimpleExportPolicyRule) GetKerberos_5IReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5IReadWrite() bool
func (*SimpleExportPolicyRule) GetKerberos_5PReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5PReadOnly() bool
func (*SimpleExportPolicyRule) GetKerberos_5PReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5PReadWrite() bool
func (*SimpleExportPolicyRule) GetKerberos_5ReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5ReadOnly() bool
func (*SimpleExportPolicyRule) GetKerberos_5ReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5ReadWrite() bool
func (*SimpleExportPolicyRule) GetNfsv3
func (x *SimpleExportPolicyRule) GetNfsv3() bool
func (*SimpleExportPolicyRule) GetNfsv4
func (x *SimpleExportPolicyRule) GetNfsv4() bool
func (*SimpleExportPolicyRule) ProtoMessage
func (*SimpleExportPolicyRule) ProtoMessage()
func (*SimpleExportPolicyRule) ProtoReflect
func (x *SimpleExportPolicyRule) ProtoReflect() protoreflect.Message
func (*SimpleExportPolicyRule) Reset
func (x *SimpleExportPolicyRule) Reset()
func (*SimpleExportPolicyRule) String
func (x *SimpleExportPolicyRule) String() string
Snapshot
type Snapshot struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State Snapshot_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Snapshot_State" json:"state,omitempty"`
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
UsedBytes float64 `protobuf:"fixed64,5,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
}
Snapshot is a point-in-time version of a Volume's content.
func (*Snapshot) Descriptor
Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
func (*Snapshot) GetCreateTime
func (x *Snapshot) GetCreateTime() *timestamppb.Timestamp
func (*Snapshot) GetDescription
func (*Snapshot) GetLabels
func (*Snapshot) GetName
func (*Snapshot) GetState
func (x *Snapshot) GetState() Snapshot_State
func (*Snapshot) GetStateDetails
func (*Snapshot) GetUsedBytes
func (*Snapshot) ProtoMessage
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect
func (x *Snapshot) ProtoReflect() protoreflect.Message
func (*Snapshot) Reset
func (x *Snapshot) Reset()
func (*Snapshot) String
SnapshotPolicy
type SnapshotPolicy struct {
// If enabled, make snapshots automatically according to the schedules.
// Default is false.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Hourly schedule policy.
HourlySchedule *HourlySchedule `protobuf:"bytes,2,opt,name=hourly_schedule,json=hourlySchedule,proto3,oneof" json:"hourly_schedule,omitempty"`
// Daily schedule policy.
DailySchedule *DailySchedule `protobuf:"bytes,3,opt,name=daily_schedule,json=dailySchedule,proto3,oneof" json:"daily_schedule,omitempty"`
// Weekly schedule policy.
WeeklySchedule *WeeklySchedule `protobuf:"bytes,4,opt,name=weekly_schedule,json=weeklySchedule,proto3,oneof" json:"weekly_schedule,omitempty"`
// Monthly schedule policy.
MonthlySchedule *MonthlySchedule `protobuf:"bytes,5,opt,name=monthly_schedule,json=monthlySchedule,proto3,oneof" json:"monthly_schedule,omitempty"`
// contains filtered or unexported fields
}
Snapshot Policy for a volume.
func (*SnapshotPolicy) Descriptor
func (*SnapshotPolicy) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotPolicy.ProtoReflect.Descriptor instead.
func (*SnapshotPolicy) GetDailySchedule
func (x *SnapshotPolicy) GetDailySchedule() *DailySchedule
func (*SnapshotPolicy) GetEnabled
func (x *SnapshotPolicy) GetEnabled() bool
func (*SnapshotPolicy) GetHourlySchedule
func (x *SnapshotPolicy) GetHourlySchedule() *HourlySchedule
func (*SnapshotPolicy) GetMonthlySchedule
func (x *SnapshotPolicy) GetMonthlySchedule() *MonthlySchedule
func (*SnapshotPolicy) GetWeeklySchedule
func (x *SnapshotPolicy) GetWeeklySchedule() *WeeklySchedule
func (*SnapshotPolicy) ProtoMessage
func (*SnapshotPolicy) ProtoMessage()
func (*SnapshotPolicy) ProtoReflect
func (x *SnapshotPolicy) ProtoReflect() protoreflect.Message
func (*SnapshotPolicy) Reset
func (x *SnapshotPolicy) Reset()
func (*SnapshotPolicy) String
func (x *SnapshotPolicy) String() string
Snapshot_State
type Snapshot_State int32
The Snapshot States
Snapshot_STATE_UNSPECIFIED, Snapshot_READY, Snapshot_CREATING, Snapshot_DELETING, Snapshot_UPDATING, Snapshot_DISABLED, Snapshot_ERROR
const (
// Unspecified Snapshot State
Snapshot_STATE_UNSPECIFIED Snapshot_State = 0
// Snapshot State is Ready
Snapshot_READY Snapshot_State = 1
// Snapshot State is Creating
Snapshot_CREATING Snapshot_State = 2
// Snapshot State is Deleting
Snapshot_DELETING Snapshot_State = 3
// Snapshot State is Updating
Snapshot_UPDATING Snapshot_State = 4
// Snapshot State is Disabled
Snapshot_DISABLED Snapshot_State = 5
// Snapshot State is Error
Snapshot_ERROR Snapshot_State = 6
)
func (Snapshot_State) Descriptor
func (Snapshot_State) Descriptor() protoreflect.EnumDescriptor
func (Snapshot_State) Enum
func (x Snapshot_State) Enum() *Snapshot_State
func (Snapshot_State) EnumDescriptor
func (Snapshot_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Snapshot_State.Descriptor instead.
func (Snapshot_State) Number
func (x Snapshot_State) Number() protoreflect.EnumNumber
func (Snapshot_State) String
func (x Snapshot_State) String() string
func (Snapshot_State) Type
func (Snapshot_State) Type() protoreflect.EnumType
StopReplicationRequest
type StopReplicationRequest struct {
// Required. The resource name of the replication, in the format of
// projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Indicates whether to stop replication forcefully while data transfer is in
// progress.
// Warning! if force is true, this will abort any current transfers
// and can lead to data loss due to partial transfer.
// If force is false, stop replication will fail while data transfer is in
// progress and you will need to retry later.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
StopReplicationRequest stops a replication until resumed.
func (*StopReplicationRequest) Descriptor
func (*StopReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead.
func (*StopReplicationRequest) GetForce
func (x *StopReplicationRequest) GetForce() bool
func (*StopReplicationRequest) GetName
func (x *StopReplicationRequest) GetName() string
func (*StopReplicationRequest) ProtoMessage
func (*StopReplicationRequest) ProtoMessage()
func (*StopReplicationRequest) ProtoReflect
func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message
func (*StopReplicationRequest) Reset
func (x *StopReplicationRequest) Reset()
func (*StopReplicationRequest) String
func (x *StopReplicationRequest) String() string
StoragePool
type StoragePool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ServiceLevel ServiceLevel "" /* 139 byte string literal not displayed */
CapacityGib int64 `protobuf:"varint,3,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
VolumeCapacityGib int64 `protobuf:"varint,4,opt,name=volume_capacity_gib,json=volumeCapacityGib,proto3" json:"volume_capacity_gib,omitempty"`
VolumeCount int32 `protobuf:"varint,5,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
State StoragePool_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.netapp.v1.StoragePool_State" json:"state,omitempty"`
StateDetails string `protobuf:"bytes,7,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
ActiveDirectory string `protobuf:"bytes,12,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
KmsConfig string `protobuf:"bytes,13,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
LdapEnabled bool `protobuf:"varint,14,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
PsaRange string `protobuf:"bytes,15,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
EncryptionType EncryptionType "" /* 148 byte string literal not displayed */
GlobalAccessAllowed *bool "" /* 128 byte string literal not displayed */
}
StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
func (*StoragePool) Descriptor
func (*StoragePool) Descriptor() ([]byte, []int)
Deprecated: Use StoragePool.ProtoReflect.Descriptor instead.
func (*StoragePool) GetActiveDirectory
func (x *StoragePool) GetActiveDirectory() string
func (*StoragePool) GetCapacityGib
func (x *StoragePool) GetCapacityGib() int64
func (*StoragePool) GetCreateTime
func (x *StoragePool) GetCreateTime() *timestamppb.Timestamp
func (*StoragePool) GetDescription
func (x *StoragePool) GetDescription() string
func (*StoragePool) GetEncryptionType
func (x *StoragePool) GetEncryptionType() EncryptionType
func (*StoragePool) GetGlobalAccessAllowed
func (x *StoragePool) GetGlobalAccessAllowed() bool
Deprecated: Marked as deprecated in google/cloud/netapp/v1/storage_pool.proto.
func (*StoragePool) GetKmsConfig
func (x *StoragePool) GetKmsConfig() string
func (*StoragePool) GetLabels
func (x *StoragePool) GetLabels() map[string]string
func (*StoragePool) GetLdapEnabled
func (x *StoragePool) GetLdapEnabled() bool
func (*StoragePool) GetName
func (x *StoragePool) GetName() string
func (*StoragePool) GetNetwork
func (x *StoragePool) GetNetwork() string
func (*StoragePool) GetPsaRange
func (x *StoragePool) GetPsaRange() string
func (*StoragePool) GetServiceLevel
func (x *StoragePool) GetServiceLevel() ServiceLevel
func (*StoragePool) GetState
func (x *StoragePool) GetState() StoragePool_State
func (*StoragePool) GetStateDetails
func (x *StoragePool) GetStateDetails() string
func (*StoragePool) GetVolumeCapacityGib
func (x *StoragePool) GetVolumeCapacityGib() int64
func (*StoragePool) GetVolumeCount
func (x *StoragePool) GetVolumeCount() int32
func (*StoragePool) ProtoMessage
func (*StoragePool) ProtoMessage()
func (*StoragePool) ProtoReflect
func (x *StoragePool) ProtoReflect() protoreflect.Message
func (*StoragePool) Reset
func (x *StoragePool) Reset()
func (*StoragePool) String
func (x *StoragePool) String() string
StoragePool_State
type StoragePool_State int32
The Storage Pool States
StoragePool_STATE_UNSPECIFIED, StoragePool_READY, StoragePool_CREATING, StoragePool_DELETING, StoragePool_UPDATING, StoragePool_RESTORING, StoragePool_DISABLED, StoragePool_ERROR
const (
// Unspecified Storage Pool State
StoragePool_STATE_UNSPECIFIED StoragePool_State = 0
// Storage Pool State is Ready
StoragePool_READY StoragePool_State = 1
// Storage Pool State is Creating
StoragePool_CREATING StoragePool_State = 2
// Storage Pool State is Deleting
StoragePool_DELETING StoragePool_State = 3
// Storage Pool State is Updating
StoragePool_UPDATING StoragePool_State = 4
// Storage Pool State is Restoring
StoragePool_RESTORING StoragePool_State = 5
// Storage Pool State is Disabled
StoragePool_DISABLED StoragePool_State = 6
// Storage Pool State is Error
StoragePool_ERROR StoragePool_State = 7
)
func (StoragePool_State) Descriptor
func (StoragePool_State) Descriptor() protoreflect.EnumDescriptor
func (StoragePool_State) Enum
func (x StoragePool_State) Enum() *StoragePool_State
func (StoragePool_State) EnumDescriptor
func (StoragePool_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use StoragePool_State.Descriptor instead.
func (StoragePool_State) Number
func (x StoragePool_State) Number() protoreflect.EnumNumber
func (StoragePool_State) String
func (x StoragePool_State) String() string
func (StoragePool_State) Type
func (StoragePool_State) Type() protoreflect.EnumType
TieringPolicy
type TieringPolicy struct {
TierAction *TieringPolicy_TierAction "" /* 151 byte string literal not displayed */
CoolingThresholdDays *int32 "" /* 130 byte string literal not displayed */
}
Defines tiering policy for the volume.
func (*TieringPolicy) Descriptor
func (*TieringPolicy) Descriptor() ([]byte, []int)
Deprecated: Use TieringPolicy.ProtoReflect.Descriptor instead.
func (*TieringPolicy) GetCoolingThresholdDays
func (x *TieringPolicy) GetCoolingThresholdDays() int32
func (*TieringPolicy) GetTierAction
func (x *TieringPolicy) GetTierAction() TieringPolicy_TierAction
func (*TieringPolicy) ProtoMessage
func (*TieringPolicy) ProtoMessage()
func (*TieringPolicy) ProtoReflect
func (x *TieringPolicy) ProtoReflect() protoreflect.Message
func (*TieringPolicy) Reset
func (x *TieringPolicy) Reset()
func (*TieringPolicy) String
func (x *TieringPolicy) String() string
TieringPolicy_TierAction
type TieringPolicy_TierAction int32
Tier action for the volume.
TieringPolicy_TIER_ACTION_UNSPECIFIED, TieringPolicy_ENABLED, TieringPolicy_PAUSED
const (
// Unspecified.
TieringPolicy_TIER_ACTION_UNSPECIFIED TieringPolicy_TierAction = 0
// When tiering is enabled, new cold data will be tiered.
TieringPolicy_ENABLED TieringPolicy_TierAction = 1
// When paused, tiering won't be performed on new data. Existing data stays
// tiered until accessed.
TieringPolicy_PAUSED TieringPolicy_TierAction = 2
)
func (TieringPolicy_TierAction) Descriptor
func (TieringPolicy_TierAction) Descriptor() protoreflect.EnumDescriptor
func (TieringPolicy_TierAction) Enum
func (x TieringPolicy_TierAction) Enum() *TieringPolicy_TierAction
func (TieringPolicy_TierAction) EnumDescriptor
func (TieringPolicy_TierAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use TieringPolicy_TierAction.Descriptor instead.
func (TieringPolicy_TierAction) Number
func (x TieringPolicy_TierAction) Number() protoreflect.EnumNumber
func (TieringPolicy_TierAction) String
func (x TieringPolicy_TierAction) String() string
func (TieringPolicy_TierAction) Type
func (TieringPolicy_TierAction) Type() protoreflect.EnumType
TransferStats
type TransferStats struct {
TransferBytes *int64 `protobuf:"varint,1,opt,name=transfer_bytes,json=transferBytes,proto3,oneof" json:"transfer_bytes,omitempty"`
TotalTransferDuration *durationpb.Duration "" /* 132 byte string literal not displayed */
LastTransferBytes *int64 `protobuf:"varint,3,opt,name=last_transfer_bytes,json=lastTransferBytes,proto3,oneof" json:"last_transfer_bytes,omitempty"`
LastTransferDuration *durationpb.Duration "" /* 129 byte string literal not displayed */
LagDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=lag_duration,json=lagDuration,proto3,oneof" json:"lag_duration,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
LastTransferEndTime *timestamppb.Timestamp "" /* 128 byte string literal not displayed */
LastTransferError *string `protobuf:"bytes,8,opt,name=last_transfer_error,json=lastTransferError,proto3,oneof" json:"last_transfer_error,omitempty"`
}
TransferStats reports all statistics related to replication transfer.
func (*TransferStats) Descriptor
func (*TransferStats) Descriptor() ([]byte, []int)
Deprecated: Use TransferStats.ProtoReflect.Descriptor instead.
func (*TransferStats) GetLagDuration
func (x *TransferStats) GetLagDuration() *durationpb.Duration
func (*TransferStats) GetLastTransferBytes
func (x *TransferStats) GetLastTransferBytes() int64
func (*TransferStats) GetLastTransferDuration
func (x *TransferStats) GetLastTransferDuration() *durationpb.Duration
func (*TransferStats) GetLastTransferEndTime
func (x *TransferStats) GetLastTransferEndTime() *timestamppb.Timestamp
func (*TransferStats) GetLastTransferError
func (x *TransferStats) GetLastTransferError() string
func (*TransferStats) GetTotalTransferDuration
func (x *TransferStats) GetTotalTransferDuration() *durationpb.Duration
func (*TransferStats) GetTransferBytes
func (x *TransferStats) GetTransferBytes() int64
func (*TransferStats) GetUpdateTime
func (x *TransferStats) GetUpdateTime() *timestamppb.Timestamp
func (*TransferStats) ProtoMessage
func (*TransferStats) ProtoMessage()
func (*TransferStats) ProtoReflect
func (x *TransferStats) ProtoReflect() protoreflect.Message
func (*TransferStats) Reset
func (x *TransferStats) Reset()
func (*TransferStats) String
func (x *TransferStats) String() string
UnimplementedNetAppServer
type UnimplementedNetAppServer struct {
}
UnimplementedNetAppServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetAppServer) CreateActiveDirectory
func (*UnimplementedNetAppServer) CreateActiveDirectory(context.Context, *CreateActiveDirectoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateBackup
func (*UnimplementedNetAppServer) CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateBackupPolicy
func (*UnimplementedNetAppServer) CreateBackupPolicy(context.Context, *CreateBackupPolicyRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateBackupVault
func (*UnimplementedNetAppServer) CreateBackupVault(context.Context, *CreateBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateKmsConfig
func (*UnimplementedNetAppServer) CreateKmsConfig(context.Context, *CreateKmsConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateReplication
func (*UnimplementedNetAppServer) CreateReplication(context.Context, *CreateReplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateSnapshot
func (*UnimplementedNetAppServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateStoragePool
func (*UnimplementedNetAppServer) CreateStoragePool(context.Context, *CreateStoragePoolRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) CreateVolume
func (*UnimplementedNetAppServer) CreateVolume(context.Context, *CreateVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteActiveDirectory
func (*UnimplementedNetAppServer) DeleteActiveDirectory(context.Context, *DeleteActiveDirectoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteBackup
func (*UnimplementedNetAppServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteBackupPolicy
func (*UnimplementedNetAppServer) DeleteBackupPolicy(context.Context, *DeleteBackupPolicyRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteBackupVault
func (*UnimplementedNetAppServer) DeleteBackupVault(context.Context, *DeleteBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteKmsConfig
func (*UnimplementedNetAppServer) DeleteKmsConfig(context.Context, *DeleteKmsConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteReplication
func (*UnimplementedNetAppServer) DeleteReplication(context.Context, *DeleteReplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteSnapshot
func (*UnimplementedNetAppServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteStoragePool
func (*UnimplementedNetAppServer) DeleteStoragePool(context.Context, *DeleteStoragePoolRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) DeleteVolume
func (*UnimplementedNetAppServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) EncryptVolumes
func (*UnimplementedNetAppServer) EncryptVolumes(context.Context, *EncryptVolumesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) GetActiveDirectory
func (*UnimplementedNetAppServer) GetActiveDirectory(context.Context, *GetActiveDirectoryRequest) (*ActiveDirectory, error)
func (*UnimplementedNetAppServer) GetBackup
func (*UnimplementedNetAppServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (*UnimplementedNetAppServer) GetBackupPolicy
func (*UnimplementedNetAppServer) GetBackupPolicy(context.Context, *GetBackupPolicyRequest) (*BackupPolicy, error)
func (*UnimplementedNetAppServer) GetBackupVault
func (*UnimplementedNetAppServer) GetBackupVault(context.Context, *GetBackupVaultRequest) (*BackupVault, error)
func (*UnimplementedNetAppServer) GetKmsConfig
func (*UnimplementedNetAppServer) GetKmsConfig(context.Context, *GetKmsConfigRequest) (*KmsConfig, error)
func (*UnimplementedNetAppServer) GetReplication
func (*UnimplementedNetAppServer) GetReplication(context.Context, *GetReplicationRequest) (*Replication, error)
func (*UnimplementedNetAppServer) GetSnapshot
func (*UnimplementedNetAppServer) GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error)
func (*UnimplementedNetAppServer) GetStoragePool
func (*UnimplementedNetAppServer) GetStoragePool(context.Context, *GetStoragePoolRequest) (*StoragePool, error)
func (*UnimplementedNetAppServer) GetVolume
func (*UnimplementedNetAppServer) GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
func (*UnimplementedNetAppServer) ListActiveDirectories
func (*UnimplementedNetAppServer) ListActiveDirectories(context.Context, *ListActiveDirectoriesRequest) (*ListActiveDirectoriesResponse, error)
func (*UnimplementedNetAppServer) ListBackupPolicies
func (*UnimplementedNetAppServer) ListBackupPolicies(context.Context, *ListBackupPoliciesRequest) (*ListBackupPoliciesResponse, error)
func (*UnimplementedNetAppServer) ListBackupVaults
func (*UnimplementedNetAppServer) ListBackupVaults(context.Context, *ListBackupVaultsRequest) (*ListBackupVaultsResponse, error)
func (*UnimplementedNetAppServer) ListBackups
func (*UnimplementedNetAppServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (*UnimplementedNetAppServer) ListKmsConfigs
func (*UnimplementedNetAppServer) ListKmsConfigs(context.Context, *ListKmsConfigsRequest) (*ListKmsConfigsResponse, error)
func (*UnimplementedNetAppServer) ListReplications
func (*UnimplementedNetAppServer) ListReplications(context.Context, *ListReplicationsRequest) (*ListReplicationsResponse, error)
func (*UnimplementedNetAppServer) ListSnapshots
func (*UnimplementedNetAppServer) ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
func (*UnimplementedNetAppServer) ListStoragePools
func (*UnimplementedNetAppServer) ListStoragePools(context.Context, *ListStoragePoolsRequest) (*ListStoragePoolsResponse, error)
func (*UnimplementedNetAppServer) ListVolumes
func (*UnimplementedNetAppServer) ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
func (*UnimplementedNetAppServer) ResumeReplication
func (*UnimplementedNetAppServer) ResumeReplication(context.Context, *ResumeReplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) ReverseReplicationDirection
func (*UnimplementedNetAppServer) ReverseReplicationDirection(context.Context, *ReverseReplicationDirectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) RevertVolume
func (*UnimplementedNetAppServer) RevertVolume(context.Context, *RevertVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) StopReplication
func (*UnimplementedNetAppServer) StopReplication(context.Context, *StopReplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateActiveDirectory
func (*UnimplementedNetAppServer) UpdateActiveDirectory(context.Context, *UpdateActiveDirectoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateBackup
func (*UnimplementedNetAppServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateBackupPolicy
func (*UnimplementedNetAppServer) UpdateBackupPolicy(context.Context, *UpdateBackupPolicyRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateBackupVault
func (*UnimplementedNetAppServer) UpdateBackupVault(context.Context, *UpdateBackupVaultRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateKmsConfig
func (*UnimplementedNetAppServer) UpdateKmsConfig(context.Context, *UpdateKmsConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateReplication
func (*UnimplementedNetAppServer) UpdateReplication(context.Context, *UpdateReplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateSnapshot
func (*UnimplementedNetAppServer) UpdateSnapshot(context.Context, *UpdateSnapshotRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateStoragePool
func (*UnimplementedNetAppServer) UpdateStoragePool(context.Context, *UpdateStoragePoolRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) UpdateVolume
func (*UnimplementedNetAppServer) UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) VerifyKmsConfig
func (*UnimplementedNetAppServer) VerifyKmsConfig(context.Context, *VerifyKmsConfigRequest) (*VerifyKmsConfigResponse, error)
UpdateActiveDirectoryRequest
type UpdateActiveDirectoryRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Active Directory resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The volume being updated
ActiveDirectory *ActiveDirectory `protobuf:"bytes,2,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
// contains filtered or unexported fields
}
UpdateActiveDirectoryRequest for updating an active directory.
func (*UpdateActiveDirectoryRequest) Descriptor
func (*UpdateActiveDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActiveDirectoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateActiveDirectoryRequest) GetActiveDirectory
func (x *UpdateActiveDirectoryRequest) GetActiveDirectory() *ActiveDirectory
func (*UpdateActiveDirectoryRequest) GetUpdateMask
func (x *UpdateActiveDirectoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateActiveDirectoryRequest) ProtoMessage
func (*UpdateActiveDirectoryRequest) ProtoMessage()
func (*UpdateActiveDirectoryRequest) ProtoReflect
func (x *UpdateActiveDirectoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateActiveDirectoryRequest) Reset
func (x *UpdateActiveDirectoryRequest) Reset()
func (*UpdateActiveDirectoryRequest) String
func (x *UpdateActiveDirectoryRequest) String() string
UpdateBackupPolicyRequest
type UpdateBackupPolicyRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Backup Policy resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The backup policy being updated
BackupPolicy *BackupPolicy `protobuf:"bytes,2,opt,name=backup_policy,json=backupPolicy,proto3" json:"backup_policy,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupPolicyRequest for updating a backup policy.
func (*UpdateBackupPolicyRequest) Descriptor
func (*UpdateBackupPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupPolicyRequest) GetBackupPolicy
func (x *UpdateBackupPolicyRequest) GetBackupPolicy() *BackupPolicy
func (*UpdateBackupPolicyRequest) GetUpdateMask
func (x *UpdateBackupPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupPolicyRequest) ProtoMessage
func (*UpdateBackupPolicyRequest) ProtoMessage()
func (*UpdateBackupPolicyRequest) ProtoReflect
func (x *UpdateBackupPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupPolicyRequest) Reset
func (x *UpdateBackupPolicyRequest) Reset()
func (*UpdateBackupPolicyRequest) String
func (x *UpdateBackupPolicyRequest) String() string
UpdateBackupRequest
type UpdateBackupRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Backup resource to be updated.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The backup being updated
Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupRequest updates description and/or labels for a backup.
func (*UpdateBackupRequest) Descriptor
func (*UpdateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupRequest) GetBackup
func (x *UpdateBackupRequest) GetBackup() *Backup
func (*UpdateBackupRequest) GetUpdateMask
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupRequest) ProtoMessage
func (*UpdateBackupRequest) ProtoMessage()
func (*UpdateBackupRequest) ProtoReflect
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupRequest) Reset
func (x *UpdateBackupRequest) Reset()
func (*UpdateBackupRequest) String
func (x *UpdateBackupRequest) String() string
UpdateBackupVaultRequest
type UpdateBackupVaultRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Backup resource to be updated.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The backupVault being updated
BackupVault *BackupVault `protobuf:"bytes,2,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupVaultRequest updates description and/or labels for a backupVault.
func (*UpdateBackupVaultRequest) Descriptor
func (*UpdateBackupVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupVaultRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupVaultRequest) GetBackupVault
func (x *UpdateBackupVaultRequest) GetBackupVault() *BackupVault
func (*UpdateBackupVaultRequest) GetUpdateMask
func (x *UpdateBackupVaultRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupVaultRequest) ProtoMessage
func (*UpdateBackupVaultRequest) ProtoMessage()
func (*UpdateBackupVaultRequest) ProtoReflect
func (x *UpdateBackupVaultRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupVaultRequest) Reset
func (x *UpdateBackupVaultRequest) Reset()
func (*UpdateBackupVaultRequest) String
func (x *UpdateBackupVaultRequest) String() string
UpdateKmsConfigRequest
type UpdateKmsConfigRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// KmsConfig resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The KmsConfig being updated
KmsConfig *KmsConfig `protobuf:"bytes,2,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
// contains filtered or unexported fields
}
UpdateKmsConfigRequest updates a KMS Config.
func (*UpdateKmsConfigRequest) Descriptor
func (*UpdateKmsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKmsConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateKmsConfigRequest) GetKmsConfig
func (x *UpdateKmsConfigRequest) GetKmsConfig() *KmsConfig
func (*UpdateKmsConfigRequest) GetUpdateMask
func (x *UpdateKmsConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateKmsConfigRequest) ProtoMessage
func (*UpdateKmsConfigRequest) ProtoMessage()
func (*UpdateKmsConfigRequest) ProtoReflect
func (x *UpdateKmsConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateKmsConfigRequest) Reset
func (x *UpdateKmsConfigRequest) Reset()
func (*UpdateKmsConfigRequest) String
func (x *UpdateKmsConfigRequest) String() string
UpdateReplicationRequest
type UpdateReplicationRequest struct {
// Required. Mask of fields to update. At least one path must be supplied in
// this field.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. A replication resource
Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
// contains filtered or unexported fields
}
UpdateReplicationRequest updates description and/or labels for a replication.
func (*UpdateReplicationRequest) Descriptor
func (*UpdateReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReplicationRequest.ProtoReflect.Descriptor instead.
func (*UpdateReplicationRequest) GetReplication
func (x *UpdateReplicationRequest) GetReplication() *Replication
func (*UpdateReplicationRequest) GetUpdateMask
func (x *UpdateReplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateReplicationRequest) ProtoMessage
func (*UpdateReplicationRequest) ProtoMessage()
func (*UpdateReplicationRequest) ProtoReflect
func (x *UpdateReplicationRequest) ProtoReflect() protoreflect.Message
func (*UpdateReplicationRequest) Reset
func (x *UpdateReplicationRequest) Reset()
func (*UpdateReplicationRequest) String
func (x *UpdateReplicationRequest) String() string
UpdateSnapshotRequest
type UpdateSnapshotRequest struct {
// Required. Mask of fields to update. At least one path must be supplied in
// this field.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. A snapshot resource
Snapshot *Snapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// contains filtered or unexported fields
}
UpdateSnapshotRequest updates description and/or labels for a snapshot.
func (*UpdateSnapshotRequest) Descriptor
func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*UpdateSnapshotRequest) GetSnapshot
func (x *UpdateSnapshotRequest) GetSnapshot() *Snapshot
func (*UpdateSnapshotRequest) GetUpdateMask
func (x *UpdateSnapshotRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSnapshotRequest) ProtoMessage
func (*UpdateSnapshotRequest) ProtoMessage()
func (*UpdateSnapshotRequest) ProtoReflect
func (x *UpdateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*UpdateSnapshotRequest) Reset
func (x *UpdateSnapshotRequest) Reset()
func (*UpdateSnapshotRequest) String
func (x *UpdateSnapshotRequest) String() string
UpdateStoragePoolRequest
type UpdateStoragePoolRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// StoragePool resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The pool being updated
StoragePool *StoragePool `protobuf:"bytes,2,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
// contains filtered or unexported fields
}
UpdateStoragePoolRequest updates a Storage Pool.
func (*UpdateStoragePoolRequest) Descriptor
func (*UpdateStoragePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStoragePoolRequest.ProtoReflect.Descriptor instead.
func (*UpdateStoragePoolRequest) GetStoragePool
func (x *UpdateStoragePoolRequest) GetStoragePool() *StoragePool
func (*UpdateStoragePoolRequest) GetUpdateMask
func (x *UpdateStoragePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateStoragePoolRequest) ProtoMessage
func (*UpdateStoragePoolRequest) ProtoMessage()
func (*UpdateStoragePoolRequest) ProtoReflect
func (x *UpdateStoragePoolRequest) ProtoReflect() protoreflect.Message
func (*UpdateStoragePoolRequest) Reset
func (x *UpdateStoragePoolRequest) Reset()
func (*UpdateStoragePoolRequest) String
func (x *UpdateStoragePoolRequest) String() string
UpdateVolumeRequest
type UpdateVolumeRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Volume resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The volume being updated
Volume *Volume `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Volume
func (*UpdateVolumeRequest) Descriptor
func (*UpdateVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVolumeRequest.ProtoReflect.Descriptor instead.
func (*UpdateVolumeRequest) GetUpdateMask
func (x *UpdateVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVolumeRequest) GetVolume
func (x *UpdateVolumeRequest) GetVolume() *Volume
func (*UpdateVolumeRequest) ProtoMessage
func (*UpdateVolumeRequest) ProtoMessage()
func (*UpdateVolumeRequest) ProtoReflect
func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Message
func (*UpdateVolumeRequest) Reset
func (x *UpdateVolumeRequest) Reset()
func (*UpdateVolumeRequest) String
func (x *UpdateVolumeRequest) String() string
VerifyKmsConfigRequest
type VerifyKmsConfigRequest struct {
// Required. Name of the KMS Config to be verified.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
VerifyKmsConfigRequest specifies the KMS config to be validated.
func (*VerifyKmsConfigRequest) Descriptor
func (*VerifyKmsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyKmsConfigRequest.ProtoReflect.Descriptor instead.
func (*VerifyKmsConfigRequest) GetName
func (x *VerifyKmsConfigRequest) GetName() string
func (*VerifyKmsConfigRequest) ProtoMessage
func (*VerifyKmsConfigRequest) ProtoMessage()
func (*VerifyKmsConfigRequest) ProtoReflect
func (x *VerifyKmsConfigRequest) ProtoReflect() protoreflect.Message
func (*VerifyKmsConfigRequest) Reset
func (x *VerifyKmsConfigRequest) Reset()
func (*VerifyKmsConfigRequest) String
func (x *VerifyKmsConfigRequest) String() string
VerifyKmsConfigResponse
type VerifyKmsConfigResponse struct {
// Output only. If the customer key configured correctly to the encrypt
// volume.
Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
// Output only. Error message if config is not healthy.
HealthError string `protobuf:"bytes,2,opt,name=health_error,json=healthError,proto3" json:"health_error,omitempty"`
// Output only. Instructions for the customers to provide the access to the
// encryption key.
Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"`
// contains filtered or unexported fields
}
VerifyKmsConfigResponse contains the information if the config is correctly and error message.
func (*VerifyKmsConfigResponse) Descriptor
func (*VerifyKmsConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyKmsConfigResponse.ProtoReflect.Descriptor instead.
func (*VerifyKmsConfigResponse) GetHealthError
func (x *VerifyKmsConfigResponse) GetHealthError() string
func (*VerifyKmsConfigResponse) GetHealthy
func (x *VerifyKmsConfigResponse) GetHealthy() bool
func (*VerifyKmsConfigResponse) GetInstructions
func (x *VerifyKmsConfigResponse) GetInstructions() string
func (*VerifyKmsConfigResponse) ProtoMessage
func (*VerifyKmsConfigResponse) ProtoMessage()
func (*VerifyKmsConfigResponse) ProtoReflect
func (x *VerifyKmsConfigResponse) ProtoReflect() protoreflect.Message
func (*VerifyKmsConfigResponse) Reset
func (x *VerifyKmsConfigResponse) Reset()
func (*VerifyKmsConfigResponse) String
func (x *VerifyKmsConfigResponse) String() string
Volume
type Volume struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State Volume_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Volume_State" json:"state,omitempty"`
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
ShareName string `protobuf:"bytes,5,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"`
PsaRange string `protobuf:"bytes,6,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
StoragePool string `protobuf:"bytes,7,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
ServiceLevel ServiceLevel "" /* 139 byte string literal not displayed */
CapacityGib int64 `protobuf:"varint,10,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
ExportPolicy *ExportPolicy `protobuf:"bytes,11,opt,name=export_policy,json=exportPolicy,proto3" json:"export_policy,omitempty"`
Protocols []Protocols `protobuf:"varint,12,rep,packed,name=protocols,proto3,enum=google.cloud.netapp.v1.Protocols" json:"protocols,omitempty"`
SmbSettings []SMBSettings "" /* 143 byte string literal not displayed */
MountOptions []*MountOption `protobuf:"bytes,14,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
UnixPermissions string `protobuf:"bytes,15,opt,name=unix_permissions,json=unixPermissions,proto3" json:"unix_permissions,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
SnapshotPolicy *SnapshotPolicy `protobuf:"bytes,18,opt,name=snapshot_policy,json=snapshotPolicy,proto3" json:"snapshot_policy,omitempty"`
SnapReserve float64 `protobuf:"fixed64,19,opt,name=snap_reserve,json=snapReserve,proto3" json:"snap_reserve,omitempty"`
SnapshotDirectory bool `protobuf:"varint,20,opt,name=snapshot_directory,json=snapshotDirectory,proto3" json:"snapshot_directory,omitempty"`
UsedGib int64 `protobuf:"varint,21,opt,name=used_gib,json=usedGib,proto3" json:"used_gib,omitempty"`
SecurityStyle SecurityStyle "" /* 144 byte string literal not displayed */
KerberosEnabled bool `protobuf:"varint,23,opt,name=kerberos_enabled,json=kerberosEnabled,proto3" json:"kerberos_enabled,omitempty"`
LdapEnabled bool `protobuf:"varint,24,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
ActiveDirectory string `protobuf:"bytes,25,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
RestoreParameters *RestoreParameters `protobuf:"bytes,26,opt,name=restore_parameters,json=restoreParameters,proto3" json:"restore_parameters,omitempty"`
KmsConfig string `protobuf:"bytes,27,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
EncryptionType EncryptionType "" /* 148 byte string literal not displayed */
HasReplication bool `protobuf:"varint,29,opt,name=has_replication,json=hasReplication,proto3" json:"has_replication,omitempty"`
BackupConfig *BackupConfig `protobuf:"bytes,30,opt,name=backup_config,json=backupConfig,proto3,oneof" json:"backup_config,omitempty"`
RestrictedActions []RestrictedAction "" /* 166 byte string literal not displayed */
TieringPolicy *TieringPolicy `protobuf:"bytes,34,opt,name=tiering_policy,json=tieringPolicy,proto3,oneof" json:"tiering_policy,omitempty"`
}
Volume provides a filesystem that you can mount.
func (*Volume) Descriptor
Deprecated: Use Volume.ProtoReflect.Descriptor instead.
func (*Volume) GetActiveDirectory
func (*Volume) GetBackupConfig
func (x *Volume) GetBackupConfig() *BackupConfig
func (*Volume) GetCapacityGib
func (*Volume) GetCreateTime
func (x *Volume) GetCreateTime() *timestamppb.Timestamp
func (*Volume) GetDescription
func (*Volume) GetEncryptionType
func (x *Volume) GetEncryptionType() EncryptionType
func (*Volume) GetExportPolicy
func (x *Volume) GetExportPolicy() *ExportPolicy
func (*Volume) GetHasReplication
func (*Volume) GetKerberosEnabled
func (*Volume) GetKmsConfig
func (*Volume) GetLabels
func (*Volume) GetLdapEnabled
func (*Volume) GetMountOptions
func (x *Volume) GetMountOptions() []*MountOption
func (*Volume) GetName
func (*Volume) GetNetwork
func (*Volume) GetProtocols
func (*Volume) GetPsaRange
func (*Volume) GetRestoreParameters
func (x *Volume) GetRestoreParameters() *RestoreParameters
func (*Volume) GetRestrictedActions
func (x *Volume) GetRestrictedActions() []RestrictedAction
func (*Volume) GetSecurityStyle
func (x *Volume) GetSecurityStyle() SecurityStyle
func (*Volume) GetServiceLevel
func (x *Volume) GetServiceLevel() ServiceLevel
func (*Volume) GetShareName
func (*Volume) GetSmbSettings
func (x *Volume) GetSmbSettings() []SMBSettings
func (*Volume) GetSnapReserve
func (*Volume) GetSnapshotDirectory
func (*Volume) GetSnapshotPolicy
func (x *Volume) GetSnapshotPolicy() *SnapshotPolicy
func (*Volume) GetState
func (x *Volume) GetState() Volume_State
func (*Volume) GetStateDetails
func (*Volume) GetStoragePool
func (*Volume) GetTieringPolicy
func (x *Volume) GetTieringPolicy() *TieringPolicy
func (*Volume) GetUnixPermissions
func (*Volume) GetUsedGib
func (*Volume) ProtoMessage
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect
func (x *Volume) ProtoReflect() protoreflect.Message
func (*Volume) Reset
func (x *Volume) Reset()
func (*Volume) String
Volume_State
type Volume_State int32
The volume states
Volume_STATE_UNSPECIFIED, Volume_READY, Volume_CREATING, Volume_DELETING, Volume_UPDATING, Volume_RESTORING, Volume_DISABLED, Volume_ERROR
const (
// Unspecified Volume State
Volume_STATE_UNSPECIFIED Volume_State = 0
// Volume State is Ready
Volume_READY Volume_State = 1
// Volume State is Creating
Volume_CREATING Volume_State = 2
// Volume State is Deleting
Volume_DELETING Volume_State = 3
// Volume State is Updating
Volume_UPDATING Volume_State = 4
// Volume State is Restoring
Volume_RESTORING Volume_State = 5
// Volume State is Disabled
Volume_DISABLED Volume_State = 6
// Volume State is Error
Volume_ERROR Volume_State = 7
)
func (Volume_State) Descriptor
func (Volume_State) Descriptor() protoreflect.EnumDescriptor
func (Volume_State) Enum
func (x Volume_State) Enum() *Volume_State
func (Volume_State) EnumDescriptor
func (Volume_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_State.Descriptor instead.
func (Volume_State) Number
func (x Volume_State) Number() protoreflect.EnumNumber
func (Volume_State) String
func (x Volume_State) String() string
func (Volume_State) Type
func (Volume_State) Type() protoreflect.EnumType
WeeklySchedule
type WeeklySchedule struct {
// The maximum number of Snapshots to keep for the hourly schedule
SnapshotsToKeep *float64 `protobuf:"fixed64,1,opt,name=snapshots_to_keep,json=snapshotsToKeep,proto3,oneof" json:"snapshots_to_keep,omitempty"`
// Set the minute of the hour to start the snapshot (0-59), defaults to the
// top of the hour (0).
Minute *float64 `protobuf:"fixed64,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
// Set the hour to start the snapshot (0-23), defaults to midnight (0).
Hour *float64 `protobuf:"fixed64,3,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
// Set the day or days of the week to make a snapshot. Accepts a comma
// separated days of the week. Defaults to 'Sunday'.
Day *string `protobuf:"bytes,4,opt,name=day,proto3,oneof" json:"day,omitempty"`
// contains filtered or unexported fields
}
Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
func (*WeeklySchedule) Descriptor
func (*WeeklySchedule) Descriptor() ([]byte, []int)
Deprecated: Use WeeklySchedule.ProtoReflect.Descriptor instead.
func (*WeeklySchedule) GetDay
func (x *WeeklySchedule) GetDay() string
func (*WeeklySchedule) GetHour
func (x *WeeklySchedule) GetHour() float64
func (*WeeklySchedule) GetMinute
func (x *WeeklySchedule) GetMinute() float64
func (*WeeklySchedule) GetSnapshotsToKeep
func (x *WeeklySchedule) GetSnapshotsToKeep() float64
func (*WeeklySchedule) ProtoMessage
func (*WeeklySchedule) ProtoMessage()
func (*WeeklySchedule) ProtoReflect
func (x *WeeklySchedule) ProtoReflect() protoreflect.Message
func (*WeeklySchedule) Reset
func (x *WeeklySchedule) Reset()
func (*WeeklySchedule) String
func (x *WeeklySchedule) String() string