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",
7: "DIAGNOSING",
}
ActiveDirectory_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"IN_USE": 4,
"DELETING": 5,
"ERROR": 6,
"DIAGNOSING": 7,
}
)
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.
FlexPerformance_name, FlexPerformance_value
var (
FlexPerformance_name = map[int32]string{
0: "FLEX_PERFORMANCE_UNSPECIFIED",
1: "FLEX_PERFORMANCE_DEFAULT",
2: "FLEX_PERFORMANCE_CUSTOM",
}
FlexPerformance_value = map[string]int32{
"FLEX_PERFORMANCE_UNSPECIFIED": 0,
"FLEX_PERFORMANCE_DEFAULT": 1,
"FLEX_PERFORMANCE_CUSTOM": 2,
}
)
Enum value maps for FlexPerformance.
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.
DirectoryServiceType_name, DirectoryServiceType_value
var (
DirectoryServiceType_name = map[int32]string{
0: "DIRECTORY_SERVICE_TYPE_UNSPECIFIED",
1: "ACTIVE_DIRECTORY",
}
DirectoryServiceType_value = map[string]int32{
"DIRECTORY_SERVICE_TYPE_UNSPECIFIED": 0,
"ACTIVE_DIRECTORY": 1,
}
)
Enum value maps for DirectoryServiceType.
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.
QuotaRule_Type_name, QuotaRule_Type_value
var (
QuotaRule_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "INDIVIDUAL_USER_QUOTA",
2: "INDIVIDUAL_GROUP_QUOTA",
3: "DEFAULT_USER_QUOTA",
4: "DEFAULT_GROUP_QUOTA",
}
QuotaRule_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"INDIVIDUAL_USER_QUOTA": 1,
"INDIVIDUAL_GROUP_QUOTA": 2,
"DEFAULT_USER_QUOTA": 3,
"DEFAULT_GROUP_QUOTA": 4,
}
)
Enum value maps for QuotaRule_Type.
QuotaRule_State_name, QuotaRule_State_value
var (
QuotaRule_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "UPDATING",
3: "DELETING",
4: "READY",
5: "ERROR",
}
QuotaRule_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPDATING": 2,
"DELETING": 3,
"READY": 4,
"ERROR": 5,
}
)
Enum value maps for QuotaRule_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",
8: "PENDING_CLUSTER_PEERING",
9: "PENDING_SVM_PEERING",
}
Replication_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"DELETING": 5,
"ERROR": 6,
"PENDING_CLUSTER_PEERING": 8,
"PENDING_SVM_PEERING": 9,
}
)
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",
5: "BASELINE_TRANSFERRING",
6: "ABORTED",
}
Replication_MirrorState_value = map[string]int32{
"MIRROR_STATE_UNSPECIFIED": 0,
"PREPARING": 1,
"MIRRORED": 2,
"STOPPED": 3,
"TRANSFERRING": 4,
"BASELINE_TRANSFERRING": 5,
"ABORTED": 6,
}
)
Enum value maps for Replication_MirrorState.
Replication_HybridReplicationType_name, Replication_HybridReplicationType_value
var (
Replication_HybridReplicationType_name = map[int32]string{
0: "HYBRID_REPLICATION_TYPE_UNSPECIFIED",
1: "MIGRATION",
2: "CONTINUOUS_REPLICATION",
}
Replication_HybridReplicationType_value = map[string]int32{
"HYBRID_REPLICATION_TYPE_UNSPECIFIED": 0,
"MIGRATION": 1,
"CONTINUOUS_REPLICATION": 2,
}
)
Enum value maps for Replication_HybridReplicationType.
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",
8: "PREPARING",
9: "READ_ONLY",
}
Volume_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"UPDATING": 4,
"RESTORING": 5,
"DISABLED": 6,
"ERROR": 7,
"PREPARING": 8,
"READ_ONLY": 9,
}
)
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_quota_rule_proto
var File_google_cloud_netapp_v1_quota_rule_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 {
// Identifier. The resource name of the active directory.
// Format:
// `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Create time of the active directory.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The state of the AD.
State ActiveDirectory_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.ActiveDirectory_State" json:"state,omitempty"`
// Required. Name of the Active Directory domain
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
// The Active Directory site the service will limit Domain Controller
// discovery too.
Site string `protobuf:"bytes,5,opt,name=site,proto3" json:"site,omitempty"`
// Required. Comma separated list of DNS server IP addresses for the Active
// Directory domain.
Dns string `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"`
// Required. NetBIOSPrefix is used as a prefix for SMB server name.
NetBiosPrefix string `protobuf:"bytes,7,opt,name=net_bios_prefix,json=netBiosPrefix,proto3" json:"net_bios_prefix,omitempty"`
// The Organizational Unit (OU) within the Windows Active Directory the user
// belongs to.
OrganizationalUnit string `protobuf:"bytes,8,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
// If enabled, AES encryption will be enabled for SMB communication.
AesEncryption bool `protobuf:"varint,9,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
// Required. Username of the Active Directory domain administrator.
Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
// Required. Password of the Active Directory domain administrator.
Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
// Optional. Users to be added to the Built-in Backup Operator active
// directory group.
BackupOperators []string `protobuf:"bytes,12,rep,name=backup_operators,json=backupOperators,proto3" json:"backup_operators,omitempty"`
// Optional. Users to be added to the Built-in Admininstrators group.
Administrators []string `protobuf:"bytes,22,rep,name=administrators,proto3" json:"administrators,omitempty"`
// Optional. Domain users to be given the SeSecurityPrivilege.
SecurityOperators []string `protobuf:"bytes,13,rep,name=security_operators,json=securityOperators,proto3" json:"security_operators,omitempty"`
// Name of the active directory machine. This optional parameter is used only
// while creating kerberos volume
KdcHostname string `protobuf:"bytes,14,opt,name=kdc_hostname,json=kdcHostname,proto3" json:"kdc_hostname,omitempty"`
// KDC server IP address for the active directory machine.
KdcIp string `protobuf:"bytes,15,opt,name=kdc_ip,json=kdcIp,proto3" json:"kdc_ip,omitempty"`
// If enabled, will allow access to local users and LDAP users. If access is
// needed for only LDAP users, it has to be disabled.
NfsUsersWithLdap bool `protobuf:"varint,16,opt,name=nfs_users_with_ldap,json=nfsUsersWithLdap,proto3" json:"nfs_users_with_ldap,omitempty"`
// Description of the active directory.
Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
// Specifies whether or not the LDAP traffic needs to be signed.
LdapSigning bool `protobuf:"varint,18,opt,name=ldap_signing,json=ldapSigning,proto3" json:"ldap_signing,omitempty"`
// If enabled, traffic between the SMB server to Domain Controller (DC) will
// be encrypted.
EncryptDcConnections bool `protobuf:"varint,19,opt,name=encrypt_dc_connections,json=encryptDcConnections,proto3" json:"encrypt_dc_connections,omitempty"`
// Labels for the active directory.
Labels map[string]string `protobuf:"bytes,20,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The state details of the Active Directory.
StateDetails string `protobuf:"bytes,21,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// contains filtered or unexported fields
}
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) GetAdministrators
func (x *ActiveDirectory) GetAdministrators() []string
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, ActiveDirectory_DIAGNOSING
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
// Active Directory State is Diagnosing.
ActiveDirectory_DIAGNOSING ActiveDirectory_State = 7
)
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 {
// Identifier. The resource name of the backup.
// 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"`
// Output only. The backup state.
State Backup_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Backup_State" json:"state,omitempty"`
// A description of the backup with 2048 characters or less.
// Requests with longer descriptions will be rejected.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Size of the file system when the backup was created. When
// creating a new volume from the backup, the volume capacity will have to be
// at least as big.
VolumeUsageBytes int64 `protobuf:"varint,4,opt,name=volume_usage_bytes,json=volumeUsageBytes,proto3" json:"volume_usage_bytes,omitempty"`
// Output only. Type of backup, manually created or created by a backup
// policy.
BackupType Backup_Type `protobuf:"varint,5,opt,name=backup_type,json=backupType,proto3,enum=google.cloud.netapp.v1.Backup_Type" json:"backup_type,omitempty"`
// Volume full name of this backup belongs to.
// Format:
// `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
SourceVolume string `protobuf:"bytes,6,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
// If specified, backup will be created from the given snapshot.
// If not specified, there will be a new snapshot taken to initiate the backup
// creation. Format:
// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
SourceSnapshot *string `protobuf:"bytes,7,opt,name=source_snapshot,json=sourceSnapshot,proto3,oneof" json:"source_snapshot,omitempty"`
// Output only. The time when the backup was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Total size of all backups in a chain in bytes = baseline
// backup size + sum(incremental backup size)
ChainStorageBytes int64 `protobuf:"varint,10,opt,name=chain_storage_bytes,json=chainStorageBytes,proto3" json:"chain_storage_bytes,omitempty"`
// Output only. Reserved for future use
SatisfiesPzs bool `protobuf:"varint,11,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use
SatisfiesPzi bool `protobuf:"varint,12,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}
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) GetSatisfiesPzi
func (*Backup) GetSatisfiesPzs
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 {
// Optional. When specified, schedule backups will be created based on the
// policy configuration.
BackupPolicies []string `protobuf:"bytes,1,rep,name=backup_policies,json=backupPolicies,proto3" json:"backup_policies,omitempty"`
// Optional. Name of backup vault.
// Format:
// projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
BackupVault string `protobuf:"bytes,2,opt,name=backup_vault,json=backupVault,proto3" json:"backup_vault,omitempty"`
// Optional. When set to true, scheduled backup is enabled on the volume.
// This field should be nil when there's no backup policy attached.
ScheduledBackupEnabled *bool `protobuf:"varint,3,opt,name=scheduled_backup_enabled,json=scheduledBackupEnabled,proto3,oneof" json:"scheduled_backup_enabled,omitempty"`
// Output only. Total size of all backups in a chain in bytes = baseline
// backup size + sum(incremental backup size).
BackupChainBytes *int64 `protobuf:"varint,4,opt,name=backup_chain_bytes,json=backupChainBytes,proto3,oneof" json:"backup_chain_bytes,omitempty"`
// contains filtered or unexported fields
}
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 {
// Identifier. The resource name of the backup policy.
// Format:
// `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Number of daily backups to keep. Note that the minimum daily backup limit
// is 2.
DailyBackupLimit *int32 `protobuf:"varint,2,opt,name=daily_backup_limit,json=dailyBackupLimit,proto3,oneof" json:"daily_backup_limit,omitempty"`
// Number of weekly backups to keep. Note that the sum of daily, weekly and
// monthly backups should be greater than 1.
WeeklyBackupLimit *int32 `protobuf:"varint,3,opt,name=weekly_backup_limit,json=weeklyBackupLimit,proto3,oneof" json:"weekly_backup_limit,omitempty"`
// Number of monthly backups to keep. Note that the sum of daily, weekly and
// monthly backups should be greater than 1.
MonthlyBackupLimit *int32 `protobuf:"varint,4,opt,name=monthly_backup_limit,json=monthlyBackupLimit,proto3,oneof" json:"monthly_backup_limit,omitempty"`
// Description of the backup policy.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// If enabled, make backups automatically according to the schedules.
// This will be applied to all volumes that have this policy attached and
// enforced on volume level. If not specified, default is true.
Enabled *bool `protobuf:"varint,6,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Output only. The total number of volumes assigned by this backup policy.
AssignedVolumeCount *int32 `protobuf:"varint,7,opt,name=assigned_volume_count,json=assignedVolumeCount,proto3,oneof" json:"assigned_volume_count,omitempty"`
// Output only. The time when the backup policy was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The backup policy state.
State BackupPolicy_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.netapp.v1.BackupPolicy_State" json:"state,omitempty"`
// contains filtered or unexported fields
}
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 {
// Identifier. The resource name of the backup vault.
// Format:
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The backup vault state.
State BackupVault_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.BackupVault_State" json:"state,omitempty"`
// Output only. Create time of the backup vault.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Description of the backup vault.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
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. Must be unique within the
// parent resource. Must contain only letters, numbers and hyphen, with the
// first character a letter , the last a letter or a number, and a 63
// character maximum.
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.
// Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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.
// Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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.
// Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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. Must be unique within the parent
// resource. Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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
CreateQuotaRuleRequest
type CreateQuotaRuleRequest struct {
// Required. Parent value for CreateQuotaRuleRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Fields of the to be created quota rule.
QuotaRule *QuotaRule `protobuf:"bytes,2,opt,name=quota_rule,json=quotaRule,proto3" json:"quota_rule,omitempty"`
// Required. ID of the quota rule to create. Must be unique within the parent
// resource. Must contain only letters, numbers, underscore and hyphen, with
// the first character a letter or underscore, the last a letter or underscore
// or a number, and a 63 character maximum.
QuotaRuleId string `protobuf:"bytes,3,opt,name=quota_rule_id,json=quotaRuleId,proto3" json:"quota_rule_id,omitempty"`
// contains filtered or unexported fields
}
CreateQuotaRuleRequest for creating a quota rule.
func (*CreateQuotaRuleRequest) Descriptor
func (*CreateQuotaRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateQuotaRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateQuotaRuleRequest) GetParent
func (x *CreateQuotaRuleRequest) GetParent() string
func (*CreateQuotaRuleRequest) GetQuotaRule
func (x *CreateQuotaRuleRequest) GetQuotaRule() *QuotaRule
func (*CreateQuotaRuleRequest) GetQuotaRuleId
func (x *CreateQuotaRuleRequest) GetQuotaRuleId() string
func (*CreateQuotaRuleRequest) ProtoMessage
func (*CreateQuotaRuleRequest) ProtoMessage()
func (*CreateQuotaRuleRequest) ProtoReflect
func (x *CreateQuotaRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateQuotaRuleRequest) Reset
func (x *CreateQuotaRuleRequest) Reset()
func (*CreateQuotaRuleRequest) String
func (x *CreateQuotaRuleRequest) 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. Must be unique within the parent
// resource. Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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. Must be unique within the parent
// resource. Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a
// number, and a 63 character maximum.
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. Must be unique within the
// parent resource. Must contain only letters, numbers and hyphen, with the
// first character a letter, the last a letter or a number, and a 63 character
// maximum.
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. Must be unique within the parent
// resource. Must contain only letters, numbers and hyphen, with the first
// character a letter, the last a letter or a number,
// and a 63 character maximum.
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
DeleteQuotaRuleRequest
type DeleteQuotaRuleRequest struct {
// Required. Name of the quota rule.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteQuotaRuleRequest for deleting a single quota rule.
func (*DeleteQuotaRuleRequest) Descriptor
func (*DeleteQuotaRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQuotaRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteQuotaRuleRequest) GetName
func (x *DeleteQuotaRuleRequest) GetName() string
func (*DeleteQuotaRuleRequest) ProtoMessage
func (*DeleteQuotaRuleRequest) ProtoMessage()
func (*DeleteQuotaRuleRequest) ProtoReflect
func (x *DeleteQuotaRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteQuotaRuleRequest) Reset
func (x *DeleteQuotaRuleRequest) Reset()
func (*DeleteQuotaRuleRequest) String
func (x *DeleteQuotaRuleRequest) 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"`
// Optional. Tiering policy for the volume.
TieringPolicy *TieringPolicy `protobuf:"bytes,5,opt,name=tiering_policy,json=tieringPolicy,proto3,oneof" json:"tiering_policy,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) GetTieringPolicy
func (x *DestinationVolumeParameters) GetTieringPolicy() *TieringPolicy
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
DirectoryServiceType
type DirectoryServiceType int32
Type of directory service
DirectoryServiceType_DIRECTORY_SERVICE_TYPE_UNSPECIFIED, DirectoryServiceType_ACTIVE_DIRECTORY
const (
// Directory service type is not specified.
DirectoryServiceType_DIRECTORY_SERVICE_TYPE_UNSPECIFIED DirectoryServiceType = 0
// Active directory policy attached to the storage pool.
DirectoryServiceType_ACTIVE_DIRECTORY DirectoryServiceType = 1
)
func (DirectoryServiceType) Descriptor
func (DirectoryServiceType) Descriptor() protoreflect.EnumDescriptor
func (DirectoryServiceType) Enum
func (x DirectoryServiceType) Enum() *DirectoryServiceType
func (DirectoryServiceType) EnumDescriptor
func (DirectoryServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DirectoryServiceType.Descriptor instead.
func (DirectoryServiceType) Number
func (x DirectoryServiceType) Number() protoreflect.EnumNumber
func (DirectoryServiceType) String
func (x DirectoryServiceType) String() string
func (DirectoryServiceType) Type
func (DirectoryServiceType) Type() protoreflect.EnumType
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
EstablishPeeringRequest
type EstablishPeeringRequest 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"`
// Required. Name of the user's local source cluster to be peered with the
// destination cluster.
PeerClusterName string `protobuf:"bytes,2,opt,name=peer_cluster_name,json=peerClusterName,proto3" json:"peer_cluster_name,omitempty"`
// Required. Name of the user's local source vserver svm to be peered with the
// destination vserver svm.
PeerSvmName string `protobuf:"bytes,3,opt,name=peer_svm_name,json=peerSvmName,proto3" json:"peer_svm_name,omitempty"`
// Optional. List of IPv4 ip addresses to be used for peering.
PeerIpAddresses []string `protobuf:"bytes,4,rep,name=peer_ip_addresses,json=peerIpAddresses,proto3" json:"peer_ip_addresses,omitempty"`
// Required. Name of the user's local source volume to be peered with the
// destination volume.
PeerVolumeName string `protobuf:"bytes,5,opt,name=peer_volume_name,json=peerVolumeName,proto3" json:"peer_volume_name,omitempty"`
// contains filtered or unexported fields
}
EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.
func (*EstablishPeeringRequest) Descriptor
func (*EstablishPeeringRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstablishPeeringRequest.ProtoReflect.Descriptor instead.
func (*EstablishPeeringRequest) GetName
func (x *EstablishPeeringRequest) GetName() string
func (*EstablishPeeringRequest) GetPeerClusterName
func (x *EstablishPeeringRequest) GetPeerClusterName() string
func (*EstablishPeeringRequest) GetPeerIpAddresses
func (x *EstablishPeeringRequest) GetPeerIpAddresses() []string
func (*EstablishPeeringRequest) GetPeerSvmName
func (x *EstablishPeeringRequest) GetPeerSvmName() string
func (*EstablishPeeringRequest) GetPeerVolumeName
func (x *EstablishPeeringRequest) GetPeerVolumeName() string
func (*EstablishPeeringRequest) ProtoMessage
func (*EstablishPeeringRequest) ProtoMessage()
func (*EstablishPeeringRequest) ProtoReflect
func (x *EstablishPeeringRequest) ProtoReflect() protoreflect.Message
func (*EstablishPeeringRequest) Reset
func (x *EstablishPeeringRequest) Reset()
func (*EstablishPeeringRequest) String
func (x *EstablishPeeringRequest) String() string
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
FlexPerformance
type FlexPerformance int32
Flex Storage Pool performance.
FlexPerformance_FLEX_PERFORMANCE_UNSPECIFIED, FlexPerformance_FLEX_PERFORMANCE_DEFAULT, FlexPerformance_FLEX_PERFORMANCE_CUSTOM
const (
// Unspecified flex performance.
FlexPerformance_FLEX_PERFORMANCE_UNSPECIFIED FlexPerformance = 0
// Flex Storage Pool with default performance.
FlexPerformance_FLEX_PERFORMANCE_DEFAULT FlexPerformance = 1
// Flex Storage Pool with custom performance.
FlexPerformance_FLEX_PERFORMANCE_CUSTOM FlexPerformance = 2
)
func (FlexPerformance) Descriptor
func (FlexPerformance) Descriptor() protoreflect.EnumDescriptor
func (FlexPerformance) Enum
func (x FlexPerformance) Enum() *FlexPerformance
func (FlexPerformance) EnumDescriptor
func (FlexPerformance) EnumDescriptor() ([]byte, []int)
Deprecated: Use FlexPerformance.Descriptor instead.
func (FlexPerformance) Number
func (x FlexPerformance) Number() protoreflect.EnumNumber
func (FlexPerformance) String
func (x FlexPerformance) String() string
func (FlexPerformance) Type
func (FlexPerformance) Type() protoreflect.EnumType
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
GetQuotaRuleRequest
type GetQuotaRuleRequest struct {
// Required. Name of the quota rule
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetQuotaRuleRequest for getting a quota rule.
func (*GetQuotaRuleRequest) Descriptor
func (*GetQuotaRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaRuleRequest.ProtoReflect.Descriptor instead.
func (*GetQuotaRuleRequest) GetName
func (x *GetQuotaRuleRequest) GetName() string
func (*GetQuotaRuleRequest) ProtoMessage
func (*GetQuotaRuleRequest) ProtoMessage()
func (*GetQuotaRuleRequest) ProtoReflect
func (x *GetQuotaRuleRequest) ProtoReflect() protoreflect.Message
func (*GetQuotaRuleRequest) Reset
func (x *GetQuotaRuleRequest) Reset()
func (*GetQuotaRuleRequest) String
func (x *GetQuotaRuleRequest) 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
HybridPeeringDetails
type HybridPeeringDetails struct {
// Optional. IP address of the subnet.
SubnetIp string `protobuf:"bytes,1,opt,name=subnet_ip,json=subnetIp,proto3" json:"subnet_ip,omitempty"`
// Optional. Copy-paste-able commands to be used on user's ONTAP to accept
// peering requests.
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
// Optional. Expiration time for the peering command to be executed on user's
// ONTAP.
CommandExpiryTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=command_expiry_time,json=commandExpiryTime,proto3" json:"command_expiry_time,omitempty"`
// Optional. Temporary passphrase generated to accept cluster peering command.
Passphrase string `protobuf:"bytes,4,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
// Optional. Name of the user's local source volume to be peered with the
// destination volume.
PeerVolumeName string `protobuf:"bytes,5,opt,name=peer_volume_name,json=peerVolumeName,proto3" json:"peer_volume_name,omitempty"`
// Optional. Name of the user's local source cluster to be peered with the
// destination cluster.
PeerClusterName string `protobuf:"bytes,6,opt,name=peer_cluster_name,json=peerClusterName,proto3" json:"peer_cluster_name,omitempty"`
// Optional. Name of the user's local source vserver svm to be peered with the
// destination vserver svm.
PeerSvmName string `protobuf:"bytes,7,opt,name=peer_svm_name,json=peerSvmName,proto3" json:"peer_svm_name,omitempty"`
// contains filtered or unexported fields
}
HybridPeeringDetails contains details about the hybrid peering.
func (*HybridPeeringDetails) Descriptor
func (*HybridPeeringDetails) Descriptor() ([]byte, []int)
Deprecated: Use HybridPeeringDetails.ProtoReflect.Descriptor instead.
func (*HybridPeeringDetails) GetCommand
func (x *HybridPeeringDetails) GetCommand() string
func (*HybridPeeringDetails) GetCommandExpiryTime
func (x *HybridPeeringDetails) GetCommandExpiryTime() *timestamppb.Timestamp
func (*HybridPeeringDetails) GetPassphrase
func (x *HybridPeeringDetails) GetPassphrase() string
func (*HybridPeeringDetails) GetPeerClusterName
func (x *HybridPeeringDetails) GetPeerClusterName() string
func (*HybridPeeringDetails) GetPeerSvmName
func (x *HybridPeeringDetails) GetPeerSvmName() string
func (*HybridPeeringDetails) GetPeerVolumeName
func (x *HybridPeeringDetails) GetPeerVolumeName() string
func (*HybridPeeringDetails) GetSubnetIp
func (x *HybridPeeringDetails) GetSubnetIp() string
func (*HybridPeeringDetails) ProtoMessage
func (*HybridPeeringDetails) ProtoMessage()
func (*HybridPeeringDetails) ProtoReflect
func (x *HybridPeeringDetails) ProtoReflect() protoreflect.Message
func (*HybridPeeringDetails) Reset
func (x *HybridPeeringDetails) Reset()
func (*HybridPeeringDetails) String
func (x *HybridPeeringDetails) String() string
HybridReplicationParameters
type HybridReplicationParameters struct {
// Required. Desired name for the replication of this volume.
Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
// Required. Name of the user's local source volume to be peered with the
// destination volume.
PeerVolumeName string `protobuf:"bytes,2,opt,name=peer_volume_name,json=peerVolumeName,proto3" json:"peer_volume_name,omitempty"`
// Required. Name of the user's local source cluster to be peered with the
// destination cluster.
PeerClusterName string `protobuf:"bytes,3,opt,name=peer_cluster_name,json=peerClusterName,proto3" json:"peer_cluster_name,omitempty"`
// Required. Name of the user's local source vserver svm to be peered with the
// destination vserver svm.
PeerSvmName string `protobuf:"bytes,4,opt,name=peer_svm_name,json=peerSvmName,proto3" json:"peer_svm_name,omitempty"`
// Required. List of node ip addresses to be peered with.
PeerIpAddresses []string `protobuf:"bytes,5,rep,name=peer_ip_addresses,json=peerIpAddresses,proto3" json:"peer_ip_addresses,omitempty"`
// Optional. Name of source cluster location associated with the Hybrid
// replication. This is a free-form field for the display purpose only.
ClusterLocation string `protobuf:"bytes,6,opt,name=cluster_location,json=clusterLocation,proto3" json:"cluster_location,omitempty"`
// Optional. Description of the replication.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Labels to be added to the replication as the key value pairs.
Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
The Hybrid Replication parameters for the volume.
func (*HybridReplicationParameters) Descriptor
func (*HybridReplicationParameters) Descriptor() ([]byte, []int)
Deprecated: Use HybridReplicationParameters.ProtoReflect.Descriptor instead.
func (*HybridReplicationParameters) GetClusterLocation
func (x *HybridReplicationParameters) GetClusterLocation() string
func (*HybridReplicationParameters) GetDescription
func (x *HybridReplicationParameters) GetDescription() string
func (*HybridReplicationParameters) GetLabels
func (x *HybridReplicationParameters) GetLabels() map[string]string
func (*HybridReplicationParameters) GetPeerClusterName
func (x *HybridReplicationParameters) GetPeerClusterName() string
func (*HybridReplicationParameters) GetPeerIpAddresses
func (x *HybridReplicationParameters) GetPeerIpAddresses() []string
func (*HybridReplicationParameters) GetPeerSvmName
func (x *HybridReplicationParameters) GetPeerSvmName() string
func (*HybridReplicationParameters) GetPeerVolumeName
func (x *HybridReplicationParameters) GetPeerVolumeName() string
func (*HybridReplicationParameters) GetReplication
func (x *HybridReplicationParameters) GetReplication() string
func (*HybridReplicationParameters) ProtoMessage
func (*HybridReplicationParameters) ProtoMessage()
func (*HybridReplicationParameters) ProtoReflect
func (x *HybridReplicationParameters) ProtoReflect() protoreflect.Message
func (*HybridReplicationParameters) Reset
func (x *HybridReplicationParameters) Reset()
func (*HybridReplicationParameters) String
func (x *HybridReplicationParameters) String() string
KmsConfig
type KmsConfig struct {
// Identifier. Name of the KmsConfig.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Customer managed crypto key resource full name. Format:
// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
// Output only. State of the KmsConfig.
State KmsConfig_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.netapp.v1.KmsConfig_State" json:"state,omitempty"`
// Output only. State details of the KmsConfig.
StateDetails string `protobuf:"bytes,4,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// Output only. Create time of the KmsConfig.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Description of the KmsConfig.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Labels as key value pairs
Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Instructions to provide the access to the customer provided
// encryption key.
Instructions string `protobuf:"bytes,8,opt,name=instructions,proto3" json:"instructions,omitempty"`
// Output only. The Service account which will have access to the customer
// provided encryption key.
ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}
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
ListQuotaRulesRequest
type ListQuotaRulesRequest struct {
// Required. Parent value for ListQuotaRulesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, the server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
ListQuotaRulesRequest for listing quota rules.
func (*ListQuotaRulesRequest) Descriptor
func (*ListQuotaRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaRulesRequest.ProtoReflect.Descriptor instead.
func (*ListQuotaRulesRequest) GetFilter
func (x *ListQuotaRulesRequest) GetFilter() string
func (*ListQuotaRulesRequest) GetOrderBy
func (x *ListQuotaRulesRequest) GetOrderBy() string
func (*ListQuotaRulesRequest) GetPageSize
func (x *ListQuotaRulesRequest) GetPageSize() int32
func (*ListQuotaRulesRequest) GetPageToken
func (x *ListQuotaRulesRequest) GetPageToken() string
func (*ListQuotaRulesRequest) GetParent
func (x *ListQuotaRulesRequest) GetParent() string
func (*ListQuotaRulesRequest) ProtoMessage
func (*ListQuotaRulesRequest) ProtoMessage()
func (*ListQuotaRulesRequest) ProtoReflect
func (x *ListQuotaRulesRequest) ProtoReflect() protoreflect.Message
func (*ListQuotaRulesRequest) Reset
func (x *ListQuotaRulesRequest) Reset()
func (*ListQuotaRulesRequest) String
func (x *ListQuotaRulesRequest) String() string
ListQuotaRulesResponse
type ListQuotaRulesResponse struct {
// List of quota rules
QuotaRules []*QuotaRule `protobuf:"bytes,1,rep,name=quota_rules,json=quotaRules,proto3" json:"quota_rules,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
}
ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
func (*ListQuotaRulesResponse) Descriptor
func (*ListQuotaRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQuotaRulesResponse.ProtoReflect.Descriptor instead.
func (*ListQuotaRulesResponse) GetNextPageToken
func (x *ListQuotaRulesResponse) GetNextPageToken() string
func (*ListQuotaRulesResponse) GetQuotaRules
func (x *ListQuotaRulesResponse) GetQuotaRules() []*QuotaRule
func (*ListQuotaRulesResponse) GetUnreachable
func (x *ListQuotaRulesResponse) GetUnreachable() []string
func (*ListQuotaRulesResponse) ProtoMessage
func (*ListQuotaRulesResponse) ProtoMessage()
func (*ListQuotaRulesResponse) ProtoReflect
func (x *ListQuotaRulesResponse) ProtoReflect() protoreflect.Message
func (*ListQuotaRulesResponse) Reset
func (x *ListQuotaRulesResponse) Reset()
func (*ListQuotaRulesResponse) String
func (x *ListQuotaRulesResponse) 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 {
// Output only. Supported service levels in a location.
SupportedServiceLevels []ServiceLevel `protobuf:"varint,1,rep,packed,name=supported_service_levels,json=supportedServiceLevels,proto3,enum=google.cloud.netapp.v1.ServiceLevel" json:"supported_service_levels,omitempty"`
// Output only. Supported flex performance in a location.
SupportedFlexPerformance []FlexPerformance `protobuf:"varint,2,rep,packed,name=supported_flex_performance,json=supportedFlexPerformance,proto3,enum=google.cloud.netapp.v1.FlexPerformance" json:"supported_flex_performance,omitempty"`
// contains filtered or unexported fields
}
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) GetSupportedFlexPerformance
func (x *LocationMetadata) GetSupportedFlexPerformance() []FlexPerformance
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"`
// Output only. IP Address.
IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,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) GetIpAddress
func (x *MountOption) GetIpAddress() 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)
// ValidateDirectoryService does a connectivity check for a directory service
// policy attached to the storage pool.
ValidateDirectoryService(ctx context.Context, in *ValidateDirectoryServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// This operation will switch the active/replica zone for a regional
// storagePool.
SwitchActiveReplicaZone(ctx context.Context, in *SwitchActiveReplicaZoneRequest, 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)
// Establish replication peering.
EstablishPeering(ctx context.Context, in *EstablishPeeringRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Syncs the replication. This will invoke one time volume data transfer from
// source to destination.
SyncReplication(ctx context.Context, in *SyncReplicationRequest, 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)
// Returns list of all quota rules in a location.
ListQuotaRules(ctx context.Context, in *ListQuotaRulesRequest, opts ...grpc.CallOption) (*ListQuotaRulesResponse, error)
// Returns details of the specified quota rule.
GetQuotaRule(ctx context.Context, in *GetQuotaRuleRequest, opts ...grpc.CallOption) (*QuotaRule, error)
// Creates a new quota rule.
CreateQuotaRule(ctx context.Context, in *CreateQuotaRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a quota rule.
UpdateQuotaRule(ctx context.Context, in *UpdateQuotaRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a quota rule.
DeleteQuotaRule(ctx context.Context, in *DeleteQuotaRuleRequest, 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)
// ValidateDirectoryService does a connectivity check for a directory service
// policy attached to the storage pool.
ValidateDirectoryService(context.Context, *ValidateDirectoryServiceRequest) (*longrunningpb.Operation, error)
// This operation will switch the active/replica zone for a regional
// storagePool.
SwitchActiveReplicaZone(context.Context, *SwitchActiveReplicaZoneRequest) (*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)
// Establish replication peering.
EstablishPeering(context.Context, *EstablishPeeringRequest) (*longrunningpb.Operation, error)
// Syncs the replication. This will invoke one time volume data transfer from
// source to destination.
SyncReplication(context.Context, *SyncReplicationRequest) (*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)
// Returns list of all quota rules in a location.
ListQuotaRules(context.Context, *ListQuotaRulesRequest) (*ListQuotaRulesResponse, error)
// Returns details of the specified quota rule.
GetQuotaRule(context.Context, *GetQuotaRuleRequest) (*QuotaRule, error)
// Creates a new quota rule.
CreateQuotaRule(context.Context, *CreateQuotaRuleRequest) (*longrunningpb.Operation, error)
// Updates a quota rule.
UpdateQuotaRule(context.Context, *UpdateQuotaRuleRequest) (*longrunningpb.Operation, error)
// Deletes a quota rule.
DeleteQuotaRule(context.Context, *DeleteQuotaRuleRequest) (*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
QuotaRule
type QuotaRule struct {
// Identifier. The resource name of the quota rule.
// Format:
// `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The quota rule applies to the specified user or group, identified
// by a Unix UID/GID, Windows SID, or null for default.
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Required. The type of quota rule.
Type QuotaRule_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.netapp.v1.QuotaRule_Type" json:"type,omitempty"`
// Required. The maximum allowed disk space in MiB.
DiskLimitMib int32 `protobuf:"varint,4,opt,name=disk_limit_mib,json=diskLimitMib,proto3" json:"disk_limit_mib,omitempty"`
// Output only. State of the quota rule
State QuotaRule_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.netapp.v1.QuotaRule_State" json:"state,omitempty"`
// Output only. State details of the quota rule
StateDetails string `protobuf:"bytes,7,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// Output only. Create time of the quota rule
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Optional. Description of the quota rule
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Labels of the quota rule
Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
QuotaRule specifies the maximum disk space a user or group can use within a volume. They can be used for creating default and individual quota rules.
func (*QuotaRule) Descriptor
Deprecated: Use QuotaRule.ProtoReflect.Descriptor instead.
func (*QuotaRule) GetCreateTime
func (x *QuotaRule) GetCreateTime() *timestamppb.Timestamp
func (*QuotaRule) GetDescription
func (*QuotaRule) GetDiskLimitMib
func (*QuotaRule) GetLabels
func (*QuotaRule) GetName
func (*QuotaRule) GetState
func (x *QuotaRule) GetState() QuotaRule_State
func (*QuotaRule) GetStateDetails
func (*QuotaRule) GetTarget
func (*QuotaRule) GetType
func (x *QuotaRule) GetType() QuotaRule_Type
func (*QuotaRule) ProtoMessage
func (*QuotaRule) ProtoMessage()
func (*QuotaRule) ProtoReflect
func (x *QuotaRule) ProtoReflect() protoreflect.Message
func (*QuotaRule) Reset
func (x *QuotaRule) Reset()
func (*QuotaRule) String
QuotaRule_State
type QuotaRule_State int32
Quota Rule states
QuotaRule_STATE_UNSPECIFIED, QuotaRule_CREATING, QuotaRule_UPDATING, QuotaRule_DELETING, QuotaRule_READY, QuotaRule_ERROR
const (
// Unspecified state for quota rule
QuotaRule_STATE_UNSPECIFIED QuotaRule_State = 0
// Quota rule is creating
QuotaRule_CREATING QuotaRule_State = 1
// Quota rule is updating
QuotaRule_UPDATING QuotaRule_State = 2
// Quota rule is deleting
QuotaRule_DELETING QuotaRule_State = 3
// Quota rule is ready
QuotaRule_READY QuotaRule_State = 4
// Quota rule is in error state.
QuotaRule_ERROR QuotaRule_State = 5
)
func (QuotaRule_State) Descriptor
func (QuotaRule_State) Descriptor() protoreflect.EnumDescriptor
func (QuotaRule_State) Enum
func (x QuotaRule_State) Enum() *QuotaRule_State
func (QuotaRule_State) EnumDescriptor
func (QuotaRule_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuotaRule_State.Descriptor instead.
func (QuotaRule_State) Number
func (x QuotaRule_State) Number() protoreflect.EnumNumber
func (QuotaRule_State) String
func (x QuotaRule_State) String() string
func (QuotaRule_State) Type
func (QuotaRule_State) Type() protoreflect.EnumType
QuotaRule_Type
type QuotaRule_Type int32
Types of Quota Rule
QuotaRule_TYPE_UNSPECIFIED, QuotaRule_INDIVIDUAL_USER_QUOTA, QuotaRule_INDIVIDUAL_GROUP_QUOTA, QuotaRule_DEFAULT_USER_QUOTA, QuotaRule_DEFAULT_GROUP_QUOTA
const (
// Unspecified type for quota rule
QuotaRule_TYPE_UNSPECIFIED QuotaRule_Type = 0
// Individual user quota rule
QuotaRule_INDIVIDUAL_USER_QUOTA QuotaRule_Type = 1
// Individual group quota rule
QuotaRule_INDIVIDUAL_GROUP_QUOTA QuotaRule_Type = 2
// Default user quota rule
QuotaRule_DEFAULT_USER_QUOTA QuotaRule_Type = 3
// Default group quota rule
QuotaRule_DEFAULT_GROUP_QUOTA QuotaRule_Type = 4
)
func (QuotaRule_Type) Descriptor
func (QuotaRule_Type) Descriptor() protoreflect.EnumDescriptor
func (QuotaRule_Type) Enum
func (x QuotaRule_Type) Enum() *QuotaRule_Type
func (QuotaRule_Type) EnumDescriptor
func (QuotaRule_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuotaRule_Type.Descriptor instead.
func (QuotaRule_Type) Number
func (x QuotaRule_Type) Number() protoreflect.EnumNumber
func (QuotaRule_Type) String
func (x QuotaRule_Type) String() string
func (QuotaRule_Type) Type
func (QuotaRule_Type) Type() protoreflect.EnumType
Replication
type Replication struct {
// Identifier. The resource name of the Replication.
// Format:
// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. State of the replication.
State Replication_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Replication_State" json:"state,omitempty"`
// Output only. State details of the replication.
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// Output only. Indicates whether this points to source or destination.
Role Replication_ReplicationRole `protobuf:"varint,4,opt,name=role,proto3,enum=google.cloud.netapp.v1.Replication_ReplicationRole" json:"role,omitempty"`
// Required. Indicates the schedule for replication.
ReplicationSchedule Replication_ReplicationSchedule `protobuf:"varint,5,opt,name=replication_schedule,json=replicationSchedule,proto3,enum=google.cloud.netapp.v1.Replication_ReplicationSchedule" json:"replication_schedule,omitempty"`
// Output only. Indicates the state of mirroring.
MirrorState Replication_MirrorState `protobuf:"varint,6,opt,name=mirror_state,json=mirrorState,proto3,enum=google.cloud.netapp.v1.Replication_MirrorState" json:"mirror_state,omitempty"`
// Output only. Condition of the relationship. Can be one of the following:
// - true: The replication relationship is healthy. It has not missed the most
// recent scheduled transfer.
// - false: The replication relationship is not healthy. It has missed the
// most recent scheduled transfer.
Healthy *bool `protobuf:"varint,8,opt,name=healthy,proto3,oneof" json:"healthy,omitempty"`
// Output only. Replication create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Full name of destination volume resource.
// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
DestinationVolume string `protobuf:"bytes,10,opt,name=destination_volume,json=destinationVolume,proto3" json:"destination_volume,omitempty"`
// Output only. Replication transfer statistics.
TransferStats *TransferStats `protobuf:"bytes,11,opt,name=transfer_stats,json=transferStats,proto3" json:"transfer_stats,omitempty"`
// Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// A description about this replication relationship.
Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Required. Input only. Destination volume parameters
DestinationVolumeParameters *DestinationVolumeParameters `protobuf:"bytes,14,opt,name=destination_volume_parameters,json=destinationVolumeParameters,proto3" json:"destination_volume_parameters,omitempty"`
// Output only. Full name of source volume resource.
// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
SourceVolume string `protobuf:"bytes,15,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
// Output only. Hybrid peering details.
HybridPeeringDetails *HybridPeeringDetails `protobuf:"bytes,16,opt,name=hybrid_peering_details,json=hybridPeeringDetails,proto3" json:"hybrid_peering_details,omitempty"`
// Optional. Location of the user cluster.
ClusterLocation string `protobuf:"bytes,18,opt,name=cluster_location,json=clusterLocation,proto3" json:"cluster_location,omitempty"`
// Output only. Type of the hybrid replication.
HybridReplicationType Replication_HybridReplicationType `protobuf:"varint,19,opt,name=hybrid_replication_type,json=hybridReplicationType,proto3,enum=google.cloud.netapp.v1.Replication_HybridReplicationType" json:"hybrid_replication_type,omitempty"`
// contains filtered or unexported fields
}
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) GetClusterLocation
func (x *Replication) GetClusterLocation() string
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) GetHybridPeeringDetails
func (x *Replication) GetHybridPeeringDetails() *HybridPeeringDetails
func (*Replication) GetHybridReplicationType
func (x *Replication) GetHybridReplicationType() Replication_HybridReplicationType
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_HybridReplicationType
type Replication_HybridReplicationType int32
Hybrid replication type.
Replication_HYBRID_REPLICATION_TYPE_UNSPECIFIED, Replication_MIGRATION, Replication_CONTINUOUS_REPLICATION
const (
// Unspecified hybrid replication type.
Replication_HYBRID_REPLICATION_TYPE_UNSPECIFIED Replication_HybridReplicationType = 0
// Hybrid replication type for migration.
Replication_MIGRATION Replication_HybridReplicationType = 1
// Hybrid replication type for continuous replication.
Replication_CONTINUOUS_REPLICATION Replication_HybridReplicationType = 2
)
func (Replication_HybridReplicationType) Descriptor
func (Replication_HybridReplicationType) Descriptor() protoreflect.EnumDescriptor
func (Replication_HybridReplicationType) Enum
func (x Replication_HybridReplicationType) Enum() *Replication_HybridReplicationType
func (Replication_HybridReplicationType) EnumDescriptor
func (Replication_HybridReplicationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Replication_HybridReplicationType.Descriptor instead.
func (Replication_HybridReplicationType) Number
func (x Replication_HybridReplicationType) Number() protoreflect.EnumNumber
func (Replication_HybridReplicationType) String
func (x Replication_HybridReplicationType) String() string
func (Replication_HybridReplicationType) Type
func (Replication_HybridReplicationType) Type() protoreflect.EnumType
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, Replication_BASELINE_TRANSFERRING, Replication_ABORTED
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
// Incremental replication is in progress.
Replication_TRANSFERRING Replication_MirrorState = 4
// Baseline replication is in progress.
Replication_BASELINE_TRANSFERRING Replication_MirrorState = 5
// Replication is aborted.
Replication_ABORTED Replication_MirrorState = 6
)
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, Replication_PENDING_CLUSTER_PEERING, Replication_PENDING_SVM_PEERING
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
// Replication is waiting for cluster peering to be established.
Replication_PENDING_CLUSTER_PEERING Replication_State = 8
// Replication is waiting for SVM peering to be established.
Replication_PENDING_SVM_PEERING Replication_State = 9
)
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 {
// Comma separated list of allowed clients IP addresses
AllowedClients *string `protobuf:"bytes,1,opt,name=allowed_clients,json=allowedClients,proto3,oneof" json:"allowed_clients,omitempty"`
// Whether Unix root access will be granted.
HasRootAccess *string `protobuf:"bytes,2,opt,name=has_root_access,json=hasRootAccess,proto3,oneof" json:"has_root_access,omitempty"`
// Access type (ReadWrite, ReadOnly, None)
AccessType *AccessType `protobuf:"varint,3,opt,name=access_type,json=accessType,proto3,enum=google.cloud.netapp.v1.AccessType,oneof" json:"access_type,omitempty"`
// NFS V3 protocol.
Nfsv3 *bool `protobuf:"varint,4,opt,name=nfsv3,proto3,oneof" json:"nfsv3,omitempty"`
// NFS V4 protocol.
Nfsv4 *bool `protobuf:"varint,5,opt,name=nfsv4,proto3,oneof" json:"nfsv4,omitempty"`
// If enabled (true) the rule defines a read only access for clients matching
// the 'allowedClients' specification. It enables nfs clients to mount using
// 'authentication' kerberos security mode.
Kerberos_5ReadOnly *bool `protobuf:"varint,6,opt,name=kerberos_5_read_only,json=kerberos5ReadOnly,proto3,oneof" json:"kerberos_5_read_only,omitempty"`
// If enabled (true) the rule defines read and write access for clients
// matching the 'allowedClients' specification. It enables nfs clients to
// mount using 'authentication' kerberos security mode. The
// 'kerberos5ReadOnly' value be ignored if this is enabled.
Kerberos_5ReadWrite *bool `protobuf:"varint,7,opt,name=kerberos_5_read_write,json=kerberos5ReadWrite,proto3,oneof" json:"kerberos_5_read_write,omitempty"`
// If enabled (true) the rule defines a read only access for clients matching
// the 'allowedClients' specification. It enables nfs clients to mount using
// 'integrity' kerberos security mode.
Kerberos_5IReadOnly *bool `protobuf:"varint,8,opt,name=kerberos_5i_read_only,json=kerberos5iReadOnly,proto3,oneof" json:"kerberos_5i_read_only,omitempty"`
// If enabled (true) the rule defines read and write access for clients
// matching the 'allowedClients' specification. It enables nfs clients to
// mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly'
// value be ignored if this is enabled.
Kerberos_5IReadWrite *bool `protobuf:"varint,9,opt,name=kerberos_5i_read_write,json=kerberos5iReadWrite,proto3,oneof" json:"kerberos_5i_read_write,omitempty"`
// If enabled (true) the rule defines a read only access for clients matching
// the 'allowedClients' specification. It enables nfs clients to mount using
// 'privacy' kerberos security mode.
Kerberos_5PReadOnly *bool `protobuf:"varint,10,opt,name=kerberos_5p_read_only,json=kerberos5pReadOnly,proto3,oneof" json:"kerberos_5p_read_only,omitempty"`
// If enabled (true) the rule defines read and write access for clients
// matching the 'allowedClients' specification. It enables nfs clients to
// mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly'
// value be ignored if this is enabled.
Kerberos_5PReadWrite *bool `protobuf:"varint,11,opt,name=kerberos_5p_read_write,json=kerberos5pReadWrite,proto3,oneof" json:"kerberos_5p_read_write,omitempty"`
// contains filtered or unexported fields
}
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 {
// Identifier. The resource name of the snapshot.
// Format:
// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The snapshot state.
State Snapshot_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Snapshot_State" json:"state,omitempty"`
// Output only. State details of the storage pool
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// A description of the snapshot with 2048 characters or less.
// Requests with longer descriptions will be rejected.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Current storage usage for the snapshot in bytes.
UsedBytes float64 `protobuf:"fixed64,5,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
// Output only. The time when the snapshot was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Resource labels to represent user provided metadata.
Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}
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 {
// Identifier. Name of the storage pool
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Service level of the storage pool
ServiceLevel ServiceLevel `protobuf:"varint,2,opt,name=service_level,json=serviceLevel,proto3,enum=google.cloud.netapp.v1.ServiceLevel" json:"service_level,omitempty"`
// Required. Capacity in GIB of the pool
CapacityGib int64 `protobuf:"varint,3,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
// Output only. Allocated size of all volumes in GIB in the storage pool
VolumeCapacityGib int64 `protobuf:"varint,4,opt,name=volume_capacity_gib,json=volumeCapacityGib,proto3" json:"volume_capacity_gib,omitempty"`
// Output only. Volume count of the storage pool
VolumeCount int32 `protobuf:"varint,5,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
// Output only. State of the storage pool
State StoragePool_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.netapp.v1.StoragePool_State" json:"state,omitempty"`
// Output only. State details of the storage pool
StateDetails string `protobuf:"bytes,7,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// Output only. Create time of the storage pool
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Optional. Description of the storage pool
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. VPC Network name.
// Format: projects/{project}/global/networks/{network}
Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
// Optional. Specifies the Active Directory to be used for creating a SMB
// volume.
ActiveDirectory string `protobuf:"bytes,12,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
// Optional. Specifies the KMS config to be used for volume encryption.
KmsConfig string `protobuf:"bytes,13,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
// Optional. Flag indicating if the pool is NFS LDAP enabled or not.
LdapEnabled bool `protobuf:"varint,14,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
// Optional. This field is not implemented. The values provided in this field
// are ignored.
PsaRange string `protobuf:"bytes,15,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
// Output only. Specifies the current pool encryption key source.
EncryptionType EncryptionType `protobuf:"varint,16,opt,name=encryption_type,json=encryptionType,proto3,enum=google.cloud.netapp.v1.EncryptionType" json:"encryption_type,omitempty"`
// Deprecated. Used to allow SO pool to access AD or DNS server from other
// regions.
//
// Deprecated: Marked as deprecated in google/cloud/netapp/v1/storage_pool.proto.
GlobalAccessAllowed *bool `protobuf:"varint,17,opt,name=global_access_allowed,json=globalAccessAllowed,proto3,oneof" json:"global_access_allowed,omitempty"`
// Optional. True if the storage pool supports Auto Tiering enabled volumes.
// Default is false. Auto-tiering can be enabled after storage pool creation
// but it can't be disabled once enabled.
AllowAutoTiering bool `protobuf:"varint,18,opt,name=allow_auto_tiering,json=allowAutoTiering,proto3" json:"allow_auto_tiering,omitempty"`
// Optional. Specifies the replica zone for regional storagePool.
ReplicaZone string `protobuf:"bytes,20,opt,name=replica_zone,json=replicaZone,proto3" json:"replica_zone,omitempty"`
// Optional. Specifies the active zone for regional storagePool.
Zone string `protobuf:"bytes,21,opt,name=zone,proto3" json:"zone,omitempty"`
// Output only. Reserved for future use
SatisfiesPzs bool `protobuf:"varint,23,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use
SatisfiesPzi bool `protobuf:"varint,24,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}
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) GetAllowAutoTiering
func (x *StoragePool) GetAllowAutoTiering() bool
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) GetReplicaZone
func (x *StoragePool) GetReplicaZone() string
func (*StoragePool) GetSatisfiesPzi
func (x *StoragePool) GetSatisfiesPzi() bool
func (*StoragePool) GetSatisfiesPzs
func (x *StoragePool) GetSatisfiesPzs() bool
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) GetZone
func (x *StoragePool) GetZone() string
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
SwitchActiveReplicaZoneRequest
type SwitchActiveReplicaZoneRequest struct {
// Required. Name of the storage pool
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional storagePool.
func (*SwitchActiveReplicaZoneRequest) Descriptor
func (*SwitchActiveReplicaZoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchActiveReplicaZoneRequest.ProtoReflect.Descriptor instead.
func (*SwitchActiveReplicaZoneRequest) GetName
func (x *SwitchActiveReplicaZoneRequest) GetName() string
func (*SwitchActiveReplicaZoneRequest) ProtoMessage
func (*SwitchActiveReplicaZoneRequest) ProtoMessage()
func (*SwitchActiveReplicaZoneRequest) ProtoReflect
func (x *SwitchActiveReplicaZoneRequest) ProtoReflect() protoreflect.Message
func (*SwitchActiveReplicaZoneRequest) Reset
func (x *SwitchActiveReplicaZoneRequest) Reset()
func (*SwitchActiveReplicaZoneRequest) String
func (x *SwitchActiveReplicaZoneRequest) String() string
SyncReplicationRequest
type SyncReplicationRequest 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
}
SyncReplicationRequest syncs the replication from source to destination.
func (*SyncReplicationRequest) Descriptor
func (*SyncReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncReplicationRequest.ProtoReflect.Descriptor instead.
func (*SyncReplicationRequest) GetName
func (x *SyncReplicationRequest) GetName() string
func (*SyncReplicationRequest) ProtoMessage
func (*SyncReplicationRequest) ProtoMessage()
func (*SyncReplicationRequest) ProtoReflect
func (x *SyncReplicationRequest) ProtoReflect() protoreflect.Message
func (*SyncReplicationRequest) Reset
func (x *SyncReplicationRequest) Reset()
func (*SyncReplicationRequest) String
func (x *SyncReplicationRequest) String() string
TieringPolicy
type TieringPolicy struct {
// Optional. Flag indicating if the volume has tiering policy enable/pause.
// Default is PAUSED.
TierAction *TieringPolicy_TierAction `protobuf:"varint,1,opt,name=tier_action,json=tierAction,proto3,enum=google.cloud.netapp.v1.TieringPolicy_TierAction,oneof" json:"tier_action,omitempty"`
// Optional. Time in days to mark the volume's data block as cold and make it
// eligible for tiering, can be range from 7-183. Default is 31.
CoolingThresholdDays *int32 `protobuf:"varint,2,opt,name=cooling_threshold_days,json=coolingThresholdDays,proto3,oneof" json:"cooling_threshold_days,omitempty"`
// contains filtered or unexported fields
}
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 {
// Cumulative bytes trasferred so far for the replication relatinonship.
TransferBytes *int64 `protobuf:"varint,1,opt,name=transfer_bytes,json=transferBytes,proto3,oneof" json:"transfer_bytes,omitempty"`
// Cumulative time taken across all transfers for the replication
// relationship.
TotalTransferDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=total_transfer_duration,json=totalTransferDuration,proto3,oneof" json:"total_transfer_duration,omitempty"`
// Last transfer size in bytes.
LastTransferBytes *int64 `protobuf:"varint,3,opt,name=last_transfer_bytes,json=lastTransferBytes,proto3,oneof" json:"last_transfer_bytes,omitempty"`
// Time taken during last transfer.
LastTransferDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=last_transfer_duration,json=lastTransferDuration,proto3,oneof" json:"last_transfer_duration,omitempty"`
// Lag duration indicates the duration by which Destination region volume
// content lags behind the primary region volume content.
LagDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=lag_duration,json=lagDuration,proto3,oneof" json:"lag_duration,omitempty"`
// Time when progress was updated last.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"`
// Time when last transfer completed.
LastTransferEndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_transfer_end_time,json=lastTransferEndTime,proto3,oneof" json:"last_transfer_end_time,omitempty"`
// A message describing the cause of the last transfer failure.
LastTransferError *string `protobuf:"bytes,8,opt,name=last_transfer_error,json=lastTransferError,proto3,oneof" json:"last_transfer_error,omitempty"`
// contains filtered or unexported fields
}
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) CreateQuotaRule
func (*UnimplementedNetAppServer) CreateQuotaRule(context.Context, *CreateQuotaRuleRequest) (*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) DeleteQuotaRule
func (*UnimplementedNetAppServer) DeleteQuotaRule(context.Context, *DeleteQuotaRuleRequest) (*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) EstablishPeering
func (*UnimplementedNetAppServer) EstablishPeering(context.Context, *EstablishPeeringRequest) (*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) GetQuotaRule
func (*UnimplementedNetAppServer) GetQuotaRule(context.Context, *GetQuotaRuleRequest) (*QuotaRule, 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) ListQuotaRules
func (*UnimplementedNetAppServer) ListQuotaRules(context.Context, *ListQuotaRulesRequest) (*ListQuotaRulesResponse, 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) SwitchActiveReplicaZone
func (*UnimplementedNetAppServer) SwitchActiveReplicaZone(context.Context, *SwitchActiveReplicaZoneRequest) (*longrunningpb.Operation, error)
func (*UnimplementedNetAppServer) SyncReplication
func (*UnimplementedNetAppServer) SyncReplication(context.Context, *SyncReplicationRequest) (*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) UpdateQuotaRule
func (*UnimplementedNetAppServer) UpdateQuotaRule(context.Context, *UpdateQuotaRuleRequest) (*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) ValidateDirectoryService
func (*UnimplementedNetAppServer) ValidateDirectoryService(context.Context, *ValidateDirectoryServiceRequest) (*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
UpdateQuotaRuleRequest
type UpdateQuotaRuleRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Quota Rule 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 quota rule being updated
QuotaRule *QuotaRule `protobuf:"bytes,2,opt,name=quota_rule,json=quotaRule,proto3" json:"quota_rule,omitempty"`
// contains filtered or unexported fields
}
UpdateQuotaRuleRequest for updating a quota rule.
func (*UpdateQuotaRuleRequest) Descriptor
func (*UpdateQuotaRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuotaRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateQuotaRuleRequest) GetQuotaRule
func (x *UpdateQuotaRuleRequest) GetQuotaRule() *QuotaRule
func (*UpdateQuotaRuleRequest) GetUpdateMask
func (x *UpdateQuotaRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateQuotaRuleRequest) ProtoMessage
func (*UpdateQuotaRuleRequest) ProtoMessage()
func (*UpdateQuotaRuleRequest) ProtoReflect
func (x *UpdateQuotaRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateQuotaRuleRequest) Reset
func (x *UpdateQuotaRuleRequest) Reset()
func (*UpdateQuotaRuleRequest) String
func (x *UpdateQuotaRuleRequest) 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
ValidateDirectoryServiceRequest
type ValidateDirectoryServiceRequest struct {
// Required. Name of the storage pool
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of directory service policy attached to the storage pool.
DirectoryServiceType DirectoryServiceType `protobuf:"varint,2,opt,name=directory_service_type,json=directoryServiceType,proto3,enum=google.cloud.netapp.v1.DirectoryServiceType" json:"directory_service_type,omitempty"`
// contains filtered or unexported fields
}
ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.
func (*ValidateDirectoryServiceRequest) Descriptor
func (*ValidateDirectoryServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDirectoryServiceRequest.ProtoReflect.Descriptor instead.
func (*ValidateDirectoryServiceRequest) GetDirectoryServiceType
func (x *ValidateDirectoryServiceRequest) GetDirectoryServiceType() DirectoryServiceType
func (*ValidateDirectoryServiceRequest) GetName
func (x *ValidateDirectoryServiceRequest) GetName() string
func (*ValidateDirectoryServiceRequest) ProtoMessage
func (*ValidateDirectoryServiceRequest) ProtoMessage()
func (*ValidateDirectoryServiceRequest) ProtoReflect
func (x *ValidateDirectoryServiceRequest) ProtoReflect() protoreflect.Message
func (*ValidateDirectoryServiceRequest) Reset
func (x *ValidateDirectoryServiceRequest) Reset()
func (*ValidateDirectoryServiceRequest) String
func (x *ValidateDirectoryServiceRequest) 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 {
// Identifier. Name of the volume
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. State of the volume
State Volume_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Volume_State" json:"state,omitempty"`
// Output only. State details of the volume
StateDetails string `protobuf:"bytes,3,opt,name=state_details,json=stateDetails,proto3" json:"state_details,omitempty"`
// Output only. Create time of the volume
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Required. Share name of the volume
ShareName string `protobuf:"bytes,5,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"`
// Output only. This field is not implemented. The values provided in this
// field are ignored.
PsaRange string `protobuf:"bytes,6,opt,name=psa_range,json=psaRange,proto3" json:"psa_range,omitempty"`
// Required. StoragePool name of the volume
StoragePool string `protobuf:"bytes,7,opt,name=storage_pool,json=storagePool,proto3" json:"storage_pool,omitempty"`
// Output only. VPC Network name.
// Format: projects/{project}/global/networks/{network}
Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
// Output only. Service level of the volume
ServiceLevel ServiceLevel `protobuf:"varint,9,opt,name=service_level,json=serviceLevel,proto3,enum=google.cloud.netapp.v1.ServiceLevel" json:"service_level,omitempty"`
// Required. Capacity in GIB of the volume
CapacityGib int64 `protobuf:"varint,10,opt,name=capacity_gib,json=capacityGib,proto3" json:"capacity_gib,omitempty"`
// Optional. Export policy of the volume
ExportPolicy *ExportPolicy `protobuf:"bytes,11,opt,name=export_policy,json=exportPolicy,proto3" json:"export_policy,omitempty"`
// Required. Protocols required for the volume
Protocols []Protocols `protobuf:"varint,12,rep,packed,name=protocols,proto3,enum=google.cloud.netapp.v1.Protocols" json:"protocols,omitempty"`
// Optional. SMB share settings for the volume.
SmbSettings []SMBSettings `protobuf:"varint,13,rep,packed,name=smb_settings,json=smbSettings,proto3,enum=google.cloud.netapp.v1.SMBSettings" json:"smb_settings,omitempty"`
// Output only. Mount options of this volume
MountOptions []*MountOption `protobuf:"bytes,14,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
// Optional. Default unix style permission (e.g. 777) the mount point will be
// created with. Applicable for NFS protocol types only.
UnixPermissions string `protobuf:"bytes,15,opt,name=unix_permissions,json=unixPermissions,proto3" json:"unix_permissions,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `protobuf:"bytes,16,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Description of the volume
Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
// Optional. SnapshotPolicy for a volume.
SnapshotPolicy *SnapshotPolicy `protobuf:"bytes,18,opt,name=snapshot_policy,json=snapshotPolicy,proto3" json:"snapshot_policy,omitempty"`
// Optional. Snap_reserve specifies percentage of volume storage reserved for
// snapshot storage. Default is 0 percent.
SnapReserve float64 `protobuf:"fixed64,19,opt,name=snap_reserve,json=snapReserve,proto3" json:"snap_reserve,omitempty"`
// Optional. Snapshot_directory if enabled (true) the volume will contain a
// read-only .snapshot directory which provides access to each of the volume's
// snapshots.
SnapshotDirectory bool `protobuf:"varint,20,opt,name=snapshot_directory,json=snapshotDirectory,proto3" json:"snapshot_directory,omitempty"`
// Output only. Used capacity in GIB of the volume. This is computed
// periodically and it does not represent the realtime usage.
UsedGib int64 `protobuf:"varint,21,opt,name=used_gib,json=usedGib,proto3" json:"used_gib,omitempty"`
// Optional. Security Style of the Volume
SecurityStyle SecurityStyle `protobuf:"varint,22,opt,name=security_style,json=securityStyle,proto3,enum=google.cloud.netapp.v1.SecurityStyle" json:"security_style,omitempty"`
// Optional. Flag indicating if the volume is a kerberos volume or not, export
// policy rules control kerberos security modes (krb5, krb5i, krb5p).
KerberosEnabled bool `protobuf:"varint,23,opt,name=kerberos_enabled,json=kerberosEnabled,proto3" json:"kerberos_enabled,omitempty"`
// Output only. Flag indicating if the volume is NFS LDAP enabled or not.
LdapEnabled bool `protobuf:"varint,24,opt,name=ldap_enabled,json=ldapEnabled,proto3" json:"ldap_enabled,omitempty"`
// Output only. Specifies the ActiveDirectory name of a SMB volume.
ActiveDirectory string `protobuf:"bytes,25,opt,name=active_directory,json=activeDirectory,proto3" json:"active_directory,omitempty"`
// Optional. Specifies the source of the volume to be created from.
RestoreParameters *RestoreParameters `protobuf:"bytes,26,opt,name=restore_parameters,json=restoreParameters,proto3" json:"restore_parameters,omitempty"`
// Output only. Specifies the KMS config to be used for volume encryption.
KmsConfig string `protobuf:"bytes,27,opt,name=kms_config,json=kmsConfig,proto3" json:"kms_config,omitempty"`
// Output only. Specified the current volume encryption key source.
EncryptionType EncryptionType `protobuf:"varint,28,opt,name=encryption_type,json=encryptionType,proto3,enum=google.cloud.netapp.v1.EncryptionType" json:"encryption_type,omitempty"`
// Output only. Indicates whether the volume is part of a replication
// relationship.
HasReplication bool `protobuf:"varint,29,opt,name=has_replication,json=hasReplication,proto3" json:"has_replication,omitempty"`
// BackupConfig of the volume.
BackupConfig *BackupConfig `protobuf:"bytes,30,opt,name=backup_config,json=backupConfig,proto3,oneof" json:"backup_config,omitempty"`
// Optional. List of actions that are restricted on this volume.
RestrictedActions []RestrictedAction `protobuf:"varint,31,rep,packed,name=restricted_actions,json=restrictedActions,proto3,enum=google.cloud.netapp.v1.RestrictedAction" json:"restricted_actions,omitempty"`
// Optional. Flag indicating if the volume will be a large capacity volume or
// a regular volume.
LargeCapacity bool `protobuf:"varint,32,opt,name=large_capacity,json=largeCapacity,proto3" json:"large_capacity,omitempty"`
// Optional. Flag indicating if the volume will have an IP address per node
// for volumes supporting multiple IP endpoints. Only the volume with
// large_capacity will be allowed to have multiple endpoints.
MultipleEndpoints bool `protobuf:"varint,33,opt,name=multiple_endpoints,json=multipleEndpoints,proto3" json:"multiple_endpoints,omitempty"`
// Tiering policy for the volume.
TieringPolicy *TieringPolicy `protobuf:"bytes,34,opt,name=tiering_policy,json=tieringPolicy,proto3,oneof" json:"tiering_policy,omitempty"`
// Output only. Specifies the replica zone for regional volume.
ReplicaZone string `protobuf:"bytes,36,opt,name=replica_zone,json=replicaZone,proto3" json:"replica_zone,omitempty"`
// Output only. Specifies the active zone for regional volume.
Zone string `protobuf:"bytes,37,opt,name=zone,proto3" json:"zone,omitempty"`
// Output only. Size of the volume cold tier data in GiB.
ColdTierSizeGib int64 `protobuf:"varint,39,opt,name=cold_tier_size_gib,json=coldTierSizeGib,proto3" json:"cold_tier_size_gib,omitempty"`
// Optional. The Hybrid Replication parameters for the volume.
HybridReplicationParameters *HybridReplicationParameters `protobuf:"bytes,40,opt,name=hybrid_replication_parameters,json=hybridReplicationParameters,proto3" json:"hybrid_replication_parameters,omitempty"`
// contains filtered or unexported fields
}
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) GetColdTierSizeGib
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) GetHybridReplicationParameters
func (x *Volume) GetHybridReplicationParameters() *HybridReplicationParameters
func (*Volume) GetKerberosEnabled
func (*Volume) GetKmsConfig
func (*Volume) GetLabels
func (*Volume) GetLargeCapacity
func (*Volume) GetLdapEnabled
func (*Volume) GetMountOptions
func (x *Volume) GetMountOptions() []*MountOption
func (*Volume) GetMultipleEndpoints
func (*Volume) GetName
func (*Volume) GetNetwork
func (*Volume) GetProtocols
func (*Volume) GetPsaRange
func (*Volume) GetReplicaZone
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) GetZone
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, Volume_PREPARING, Volume_READ_ONLY
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
// Volume State is Preparing. Note that this is different from CREATING
// where CREATING means the volume is being created, while PREPARING means
// the volume is created and now being prepared for the replication.
Volume_PREPARING Volume_State = 8
// Volume State is Read Only
Volume_READ_ONLY Volume_State = 9
)
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