Constants
NetApp_ListStoragePools_FullMethodName, NetApp_CreateStoragePool_FullMethodName, NetApp_GetStoragePool_FullMethodName, NetApp_UpdateStoragePool_FullMethodName, NetApp_DeleteStoragePool_FullMethodName, NetApp_ValidateDirectoryService_FullMethodName, NetApp_SwitchActiveReplicaZone_FullMethodName, NetApp_ListVolumes_FullMethodName, NetApp_GetVolume_FullMethodName, NetApp_CreateVolume_FullMethodName, NetApp_UpdateVolume_FullMethodName, NetApp_DeleteVolume_FullMethodName, NetApp_RevertVolume_FullMethodName, NetApp_ListSnapshots_FullMethodName, NetApp_GetSnapshot_FullMethodName, NetApp_CreateSnapshot_FullMethodName, NetApp_DeleteSnapshot_FullMethodName, NetApp_UpdateSnapshot_FullMethodName, NetApp_ListActiveDirectories_FullMethodName, NetApp_GetActiveDirectory_FullMethodName, NetApp_CreateActiveDirectory_FullMethodName, NetApp_UpdateActiveDirectory_FullMethodName, NetApp_DeleteActiveDirectory_FullMethodName, NetApp_ListKmsConfigs_FullMethodName, NetApp_CreateKmsConfig_FullMethodName, NetApp_GetKmsConfig_FullMethodName, NetApp_UpdateKmsConfig_FullMethodName, NetApp_EncryptVolumes_FullMethodName, NetApp_VerifyKmsConfig_FullMethodName, NetApp_DeleteKmsConfig_FullMethodName, NetApp_ListReplications_FullMethodName, NetApp_GetReplication_FullMethodName, NetApp_CreateReplication_FullMethodName, NetApp_DeleteReplication_FullMethodName, NetApp_UpdateReplication_FullMethodName, NetApp_StopReplication_FullMethodName, NetApp_ResumeReplication_FullMethodName, NetApp_ReverseReplicationDirection_FullMethodName, NetApp_EstablishPeering_FullMethodName, NetApp_SyncReplication_FullMethodName, NetApp_CreateBackupVault_FullMethodName, NetApp_GetBackupVault_FullMethodName, NetApp_ListBackupVaults_FullMethodName, NetApp_UpdateBackupVault_FullMethodName, NetApp_DeleteBackupVault_FullMethodName, NetApp_CreateBackup_FullMethodName, NetApp_GetBackup_FullMethodName, NetApp_ListBackups_FullMethodName, NetApp_DeleteBackup_FullMethodName, NetApp_UpdateBackup_FullMethodName, NetApp_CreateBackupPolicy_FullMethodName, NetApp_GetBackupPolicy_FullMethodName, NetApp_ListBackupPolicies_FullMethodName, NetApp_UpdateBackupPolicy_FullMethodName, NetApp_DeleteBackupPolicy_FullMethodName, NetApp_ListQuotaRules_FullMethodName, NetApp_GetQuotaRule_FullMethodName, NetApp_CreateQuotaRule_FullMethodName, NetApp_UpdateQuotaRule_FullMethodName, NetApp_DeleteQuotaRule_FullMethodName
const (
NetApp_ListStoragePools_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListStoragePools"
NetApp_CreateStoragePool_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateStoragePool"
NetApp_GetStoragePool_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetStoragePool"
NetApp_UpdateStoragePool_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateStoragePool"
NetApp_DeleteStoragePool_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteStoragePool"
NetApp_ValidateDirectoryService_FullMethodName = "/google.cloud.netapp.v1.NetApp/ValidateDirectoryService"
NetApp_SwitchActiveReplicaZone_FullMethodName = "/google.cloud.netapp.v1.NetApp/SwitchActiveReplicaZone"
NetApp_ListVolumes_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListVolumes"
NetApp_GetVolume_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetVolume"
NetApp_CreateVolume_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateVolume"
NetApp_UpdateVolume_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateVolume"
NetApp_DeleteVolume_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteVolume"
NetApp_RevertVolume_FullMethodName = "/google.cloud.netapp.v1.NetApp/RevertVolume"
NetApp_ListSnapshots_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListSnapshots"
NetApp_GetSnapshot_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetSnapshot"
NetApp_CreateSnapshot_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateSnapshot"
NetApp_DeleteSnapshot_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteSnapshot"
NetApp_UpdateSnapshot_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateSnapshot"
NetApp_ListActiveDirectories_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListActiveDirectories"
NetApp_GetActiveDirectory_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetActiveDirectory"
NetApp_CreateActiveDirectory_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateActiveDirectory"
NetApp_UpdateActiveDirectory_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateActiveDirectory"
NetApp_DeleteActiveDirectory_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteActiveDirectory"
NetApp_ListKmsConfigs_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListKmsConfigs"
NetApp_CreateKmsConfig_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateKmsConfig"
NetApp_GetKmsConfig_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetKmsConfig"
NetApp_UpdateKmsConfig_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateKmsConfig"
NetApp_EncryptVolumes_FullMethodName = "/google.cloud.netapp.v1.NetApp/EncryptVolumes"
NetApp_VerifyKmsConfig_FullMethodName = "/google.cloud.netapp.v1.NetApp/VerifyKmsConfig"
NetApp_DeleteKmsConfig_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteKmsConfig"
NetApp_ListReplications_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListReplications"
NetApp_GetReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetReplication"
NetApp_CreateReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateReplication"
NetApp_DeleteReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteReplication"
NetApp_UpdateReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateReplication"
NetApp_StopReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/StopReplication"
NetApp_ResumeReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/ResumeReplication"
NetApp_ReverseReplicationDirection_FullMethodName = "/google.cloud.netapp.v1.NetApp/ReverseReplicationDirection"
NetApp_EstablishPeering_FullMethodName = "/google.cloud.netapp.v1.NetApp/EstablishPeering"
NetApp_SyncReplication_FullMethodName = "/google.cloud.netapp.v1.NetApp/SyncReplication"
NetApp_CreateBackupVault_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateBackupVault"
NetApp_GetBackupVault_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetBackupVault"
NetApp_ListBackupVaults_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListBackupVaults"
NetApp_UpdateBackupVault_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateBackupVault"
NetApp_DeleteBackupVault_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteBackupVault"
NetApp_CreateBackup_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateBackup"
NetApp_GetBackup_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetBackup"
NetApp_ListBackups_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListBackups"
NetApp_DeleteBackup_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteBackup"
NetApp_UpdateBackup_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateBackup"
NetApp_CreateBackupPolicy_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateBackupPolicy"
NetApp_GetBackupPolicy_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetBackupPolicy"
NetApp_ListBackupPolicies_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListBackupPolicies"
NetApp_UpdateBackupPolicy_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateBackupPolicy"
NetApp_DeleteBackupPolicy_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteBackupPolicy"
NetApp_ListQuotaRules_FullMethodName = "/google.cloud.netapp.v1.NetApp/ListQuotaRules"
NetApp_GetQuotaRule_FullMethodName = "/google.cloud.netapp.v1.NetApp/GetQuotaRule"
NetApp_CreateQuotaRule_FullMethodName = "/google.cloud.netapp.v1.NetApp/CreateQuotaRule"
NetApp_UpdateQuotaRule_FullMethodName = "/google.cloud.netapp.v1.NetApp/UpdateQuotaRule"
NetApp_DeleteQuotaRule_FullMethodName = "/google.cloud.netapp.v1.NetApp/DeleteQuotaRule"
)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.
BackupVault_BackupVaultType_name, BackupVault_BackupVaultType_value
var (
BackupVault_BackupVaultType_name = map[int32]string{
0: "BACKUP_VAULT_TYPE_UNSPECIFIED",
1: "IN_REGION",
2: "CROSS_REGION",
}
BackupVault_BackupVaultType_value = map[string]int32{
"BACKUP_VAULT_TYPE_UNSPECIFIED": 0,
"IN_REGION": 1,
"CROSS_REGION": 2,
}
)Enum value maps for BackupVault_BackupVaultType.
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.
HybridReplicationSchedule_name, HybridReplicationSchedule_value
var (
HybridReplicationSchedule_name = map[int32]string{
0: "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED",
1: "EVERY_10_MINUTES",
2: "HOURLY",
3: "DAILY",
}
HybridReplicationSchedule_value = map[string]int32{
"HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED": 0,
"EVERY_10_MINUTES": 1,
"HOURLY": 2,
"DAILY": 3,
}
)Enum value maps for HybridReplicationSchedule.
QosType_name, QosType_value
var (
QosType_name = map[int32]string{
0: "QOS_TYPE_UNSPECIFIED",
1: "AUTO",
2: "MANUAL",
}
QosType_value = map[string]int32{
"QOS_TYPE_UNSPECIFIED": 0,
"AUTO": 1,
"MANUAL": 2,
}
)Enum value maps for QosType.
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",
10: "PENDING_REMOTE_RESYNC",
11: "EXTERNALLY_MANAGED_REPLICATION",
}
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,
"PENDING_REMOTE_RESYNC": 10,
"EXTERNALLY_MANAGED_REPLICATION": 11,
}
)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",
7: "EXTERNALLY_MANAGED",
8: "PENDING_PEERING",
}
Replication_MirrorState_value = map[string]int32{
"MIRROR_STATE_UNSPECIFIED": 0,
"PREPARING": 1,
"MIRRORED": 2,
"STOPPED": 3,
"TRANSFERRING": 4,
"BASELINE_TRANSFERRING": 5,
"ABORTED": 6,
"EXTERNALLY_MANAGED": 7,
"PENDING_PEERING": 8,
}
)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",
3: "ONPREM_REPLICATION",
4: "REVERSE_ONPREM_REPLICATION",
}
Replication_HybridReplicationType_value = map[string]int32{
"HYBRID_REPLICATION_TYPE_UNSPECIFIED": 0,
"MIGRATION": 1,
"CONTINUOUS_REPLICATION": 2,
"ONPREM_REPLICATION": 3,
"REVERSE_ONPREM_REPLICATION": 4,
}
)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.
HybridReplicationParameters_VolumeHybridReplicationType_name, HybridReplicationParameters_VolumeHybridReplicationType_value
var (
HybridReplicationParameters_VolumeHybridReplicationType_name = map[int32]string{
0: "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED",
1: "MIGRATION",
2: "CONTINUOUS_REPLICATION",
3: "ONPREM_REPLICATION",
4: "REVERSE_ONPREM_REPLICATION",
}
HybridReplicationParameters_VolumeHybridReplicationType_value = map[string]int32{
"VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED": 0,
"MIGRATION": 1,
"CONTINUOUS_REPLICATION": 2,
"ONPREM_REPLICATION": 3,
"REVERSE_ONPREM_REPLICATION": 4,
}
)Enum value maps for HybridReplicationParameters_VolumeHybridReplicationType.
File_google_cloud_netapp_v1_active_directory_proto
var File_google_cloud_netapp_v1_active_directory_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_backup_policy_proto
var File_google_cloud_netapp_v1_backup_policy_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_backup_proto
var File_google_cloud_netapp_v1_backup_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_backup_vault_proto
var File_google_cloud_netapp_v1_backup_vault_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_cloud_netapp_service_proto
var File_google_cloud_netapp_v1_cloud_netapp_service_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_common_proto
var File_google_cloud_netapp_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_kms_proto
var File_google_cloud_netapp_v1_kms_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_quota_rule_proto
var File_google_cloud_netapp_v1_quota_rule_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_replication_proto
var File_google_cloud_netapp_v1_replication_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_snapshot_proto
var File_google_cloud_netapp_v1_snapshot_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_storage_pool_proto
var File_google_cloud_netapp_v1_storage_pool_proto protoreflect.FileDescriptorFile_google_cloud_netapp_v1_volume_proto
var File_google_cloud_netapp_v1_volume_proto protoreflect.FileDescriptorNetApp_ServiceDesc
var NetApp_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.netapp.v1.NetApp",
HandlerType: (*NetAppServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListStoragePools",
Handler: _NetApp_ListStoragePools_Handler,
},
{
MethodName: "CreateStoragePool",
Handler: _NetApp_CreateStoragePool_Handler,
},
{
MethodName: "GetStoragePool",
Handler: _NetApp_GetStoragePool_Handler,
},
{
MethodName: "UpdateStoragePool",
Handler: _NetApp_UpdateStoragePool_Handler,
},
{
MethodName: "DeleteStoragePool",
Handler: _NetApp_DeleteStoragePool_Handler,
},
{
MethodName: "ValidateDirectoryService",
Handler: _NetApp_ValidateDirectoryService_Handler,
},
{
MethodName: "SwitchActiveReplicaZone",
Handler: _NetApp_SwitchActiveReplicaZone_Handler,
},
{
MethodName: "ListVolumes",
Handler: _NetApp_ListVolumes_Handler,
},
{
MethodName: "GetVolume",
Handler: _NetApp_GetVolume_Handler,
},
{
MethodName: "CreateVolume",
Handler: _NetApp_CreateVolume_Handler,
},
{
MethodName: "UpdateVolume",
Handler: _NetApp_UpdateVolume_Handler,
},
{
MethodName: "DeleteVolume",
Handler: _NetApp_DeleteVolume_Handler,
},
{
MethodName: "RevertVolume",
Handler: _NetApp_RevertVolume_Handler,
},
{
MethodName: "ListSnapshots",
Handler: _NetApp_ListSnapshots_Handler,
},
{
MethodName: "GetSnapshot",
Handler: _NetApp_GetSnapshot_Handler,
},
{
MethodName: "CreateSnapshot",
Handler: _NetApp_CreateSnapshot_Handler,
},
{
MethodName: "DeleteSnapshot",
Handler: _NetApp_DeleteSnapshot_Handler,
},
{
MethodName: "UpdateSnapshot",
Handler: _NetApp_UpdateSnapshot_Handler,
},
{
MethodName: "ListActiveDirectories",
Handler: _NetApp_ListActiveDirectories_Handler,
},
{
MethodName: "GetActiveDirectory",
Handler: _NetApp_GetActiveDirectory_Handler,
},
{
MethodName: "CreateActiveDirectory",
Handler: _NetApp_CreateActiveDirectory_Handler,
},
{
MethodName: "UpdateActiveDirectory",
Handler: _NetApp_UpdateActiveDirectory_Handler,
},
{
MethodName: "DeleteActiveDirectory",
Handler: _NetApp_DeleteActiveDirectory_Handler,
},
{
MethodName: "ListKmsConfigs",
Handler: _NetApp_ListKmsConfigs_Handler,
},
{
MethodName: "CreateKmsConfig",
Handler: _NetApp_CreateKmsConfig_Handler,
},
{
MethodName: "GetKmsConfig",
Handler: _NetApp_GetKmsConfig_Handler,
},
{
MethodName: "UpdateKmsConfig",
Handler: _NetApp_UpdateKmsConfig_Handler,
},
{
MethodName: "EncryptVolumes",
Handler: _NetApp_EncryptVolumes_Handler,
},
{
MethodName: "VerifyKmsConfig",
Handler: _NetApp_VerifyKmsConfig_Handler,
},
{
MethodName: "DeleteKmsConfig",
Handler: _NetApp_DeleteKmsConfig_Handler,
},
{
MethodName: "ListReplications",
Handler: _NetApp_ListReplications_Handler,
},
{
MethodName: "GetReplication",
Handler: _NetApp_GetReplication_Handler,
},
{
MethodName: "CreateReplication",
Handler: _NetApp_CreateReplication_Handler,
},
{
MethodName: "DeleteReplication",
Handler: _NetApp_DeleteReplication_Handler,
},
{
MethodName: "UpdateReplication",
Handler: _NetApp_UpdateReplication_Handler,
},
{
MethodName: "StopReplication",
Handler: _NetApp_StopReplication_Handler,
},
{
MethodName: "ResumeReplication",
Handler: _NetApp_ResumeReplication_Handler,
},
{
MethodName: "ReverseReplicationDirection",
Handler: _NetApp_ReverseReplicationDirection_Handler,
},
{
MethodName: "EstablishPeering",
Handler: _NetApp_EstablishPeering_Handler,
},
{
MethodName: "SyncReplication",
Handler: _NetApp_SyncReplication_Handler,
},
{
MethodName: "CreateBackupVault",
Handler: _NetApp_CreateBackupVault_Handler,
},
{
MethodName: "GetBackupVault",
Handler: _NetApp_GetBackupVault_Handler,
},
{
MethodName: "ListBackupVaults",
Handler: _NetApp_ListBackupVaults_Handler,
},
{
MethodName: "UpdateBackupVault",
Handler: _NetApp_UpdateBackupVault_Handler,
},
{
MethodName: "DeleteBackupVault",
Handler: _NetApp_DeleteBackupVault_Handler,
},
{
MethodName: "CreateBackup",
Handler: _NetApp_CreateBackup_Handler,
},
{
MethodName: "GetBackup",
Handler: _NetApp_GetBackup_Handler,
},
{
MethodName: "ListBackups",
Handler: _NetApp_ListBackups_Handler,
},
{
MethodName: "DeleteBackup",
Handler: _NetApp_DeleteBackup_Handler,
},
{
MethodName: "UpdateBackup",
Handler: _NetApp_UpdateBackup_Handler,
},
{
MethodName: "CreateBackupPolicy",
Handler: _NetApp_CreateBackupPolicy_Handler,
},
{
MethodName: "GetBackupPolicy",
Handler: _NetApp_GetBackupPolicy_Handler,
},
{
MethodName: "ListBackupPolicies",
Handler: _NetApp_ListBackupPolicies_Handler,
},
{
MethodName: "UpdateBackupPolicy",
Handler: _NetApp_UpdateBackupPolicy_Handler,
},
{
MethodName: "DeleteBackupPolicy",
Handler: _NetApp_DeleteBackupPolicy_Handler,
},
{
MethodName: "ListQuotaRules",
Handler: _NetApp_ListQuotaRules_Handler,
},
{
MethodName: "GetQuotaRule",
Handler: _NetApp_GetQuotaRule_Handler,
},
{
MethodName: "CreateQuotaRule",
Handler: _NetApp_CreateQuotaRule_Handler,
},
{
MethodName: "UpdateQuotaRule",
Handler: _NetApp_UpdateQuotaRule_Handler,
},
{
MethodName: "DeleteQuotaRule",
Handler: _NetApp_DeleteQuotaRule_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/netapp/v1/cloud_netapp_service.proto",
}NetApp_ServiceDesc is the grpc.ServiceDesc for NetApp service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterNetAppServer
func RegisterNetAppServer(s grpc.ServiceRegistrar, srv NetAppServer)AccessType
type AccessType int32AccessType 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.EnumDescriptorfunc (AccessType) Enum
func (x AccessType) Enum() *AccessTypefunc (AccessType) EnumDescriptor
func (AccessType) EnumDescriptor() ([]byte, []int)Deprecated: Use AccessType.Descriptor instead.
func (AccessType) Number
func (x AccessType) Number() protoreflect.EnumNumberfunc (AccessType) String
func (x AccessType) String() stringfunc (AccessType) Type
func (AccessType) Type() protoreflect.EnumTypeActiveDirectory
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() []stringfunc (*ActiveDirectory) GetAesEncryption
func (x *ActiveDirectory) GetAesEncryption() boolfunc (*ActiveDirectory) GetBackupOperators
func (x *ActiveDirectory) GetBackupOperators() []stringfunc (*ActiveDirectory) GetCreateTime
func (x *ActiveDirectory) GetCreateTime() *timestamppb.Timestampfunc (*ActiveDirectory) GetDescription
func (x *ActiveDirectory) GetDescription() stringfunc (*ActiveDirectory) GetDns
func (x *ActiveDirectory) GetDns() stringfunc (*ActiveDirectory) GetDomain
func (x *ActiveDirectory) GetDomain() stringfunc (*ActiveDirectory) GetEncryptDcConnections
func (x *ActiveDirectory) GetEncryptDcConnections() boolfunc (*ActiveDirectory) GetKdcHostname
func (x *ActiveDirectory) GetKdcHostname() stringfunc (*ActiveDirectory) GetKdcIp
func (x *ActiveDirectory) GetKdcIp() stringfunc (*ActiveDirectory) GetLabels
func (x *ActiveDirectory) GetLabels() map[string]stringfunc (*ActiveDirectory) GetLdapSigning
func (x *ActiveDirectory) GetLdapSigning() boolfunc (*ActiveDirectory) GetName
func (x *ActiveDirectory) GetName() stringfunc (*ActiveDirectory) GetNetBiosPrefix
func (x *ActiveDirectory) GetNetBiosPrefix() stringfunc (*ActiveDirectory) GetNfsUsersWithLdap
func (x *ActiveDirectory) GetNfsUsersWithLdap() boolfunc (*ActiveDirectory) GetOrganizationalUnit
func (x *ActiveDirectory) GetOrganizationalUnit() stringfunc (*ActiveDirectory) GetPassword
func (x *ActiveDirectory) GetPassword() stringfunc (*ActiveDirectory) GetSecurityOperators
func (x *ActiveDirectory) GetSecurityOperators() []stringfunc (*ActiveDirectory) GetSite
func (x *ActiveDirectory) GetSite() stringfunc (*ActiveDirectory) GetState
func (x *ActiveDirectory) GetState() ActiveDirectory_Statefunc (*ActiveDirectory) GetStateDetails
func (x *ActiveDirectory) GetStateDetails() stringfunc (*ActiveDirectory) GetUsername
func (x *ActiveDirectory) GetUsername() stringfunc (*ActiveDirectory) ProtoMessage
func (*ActiveDirectory) ProtoMessage()func (*ActiveDirectory) ProtoReflect
func (x *ActiveDirectory) ProtoReflect() protoreflect.Messagefunc (*ActiveDirectory) Reset
func (x *ActiveDirectory) Reset()func (*ActiveDirectory) String
func (x *ActiveDirectory) String() stringActiveDirectory_State
type ActiveDirectory_State int32The 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.EnumDescriptorfunc (ActiveDirectory_State) Enum
func (x ActiveDirectory_State) Enum() *ActiveDirectory_Statefunc (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.EnumNumberfunc (ActiveDirectory_State) String
func (x ActiveDirectory_State) String() stringfunc (ActiveDirectory_State) Type
func (ActiveDirectory_State) Type() protoreflect.EnumTypeBackup
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"`
// Output only. Region of the volume from which the backup was created.
// Format: `projects/{project_id}/locations/{location}`
VolumeRegion string `protobuf:"bytes,13,opt,name=volume_region,json=volumeRegion,proto3" json:"volume_region,omitempty"`
// Output only. Region in which backup is stored.
// Format: `projects/{project_id}/locations/{location}`
BackupRegion string `protobuf:"bytes,14,opt,name=backup_region,json=backupRegion,proto3" json:"backup_region,omitempty"`
// Output only. The time until which the backup is not deletable.
EnforcedRetentionEndTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=enforced_retention_end_time,json=enforcedRetentionEndTime,proto3" json:"enforced_retention_end_time,omitempty"`
// contains filtered or unexported fields
}A NetApp Backup.
func (*Backup) Descriptor
Deprecated: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupRegion
func (*Backup) GetBackupType
func (x *Backup) GetBackupType() Backup_Typefunc (*Backup) GetChainStorageBytes
func (*Backup) GetCreateTime
func (x *Backup) GetCreateTime() *timestamppb.Timestampfunc (*Backup) GetDescription
func (*Backup) GetEnforcedRetentionEndTime
func (x *Backup) GetEnforcedRetentionEndTime() *timestamppb.Timestampfunc (*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_Statefunc (*Backup) GetVolumeRegion
func (*Backup) GetVolumeUsageBytes
func (*Backup) ProtoMessage
func (*Backup) ProtoMessage()func (*Backup) ProtoReflect
func (x *Backup) ProtoReflect() protoreflect.Messagefunc (*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() int64func (*BackupConfig) GetBackupPolicies
func (x *BackupConfig) GetBackupPolicies() []stringfunc (*BackupConfig) GetBackupVault
func (x *BackupConfig) GetBackupVault() stringfunc (*BackupConfig) GetScheduledBackupEnabled
func (x *BackupConfig) GetScheduledBackupEnabled() boolfunc (*BackupConfig) ProtoMessage
func (*BackupConfig) ProtoMessage()func (*BackupConfig) ProtoReflect
func (x *BackupConfig) ProtoReflect() protoreflect.Messagefunc (*BackupConfig) Reset
func (x *BackupConfig) Reset()func (*BackupConfig) String
func (x *BackupConfig) String() stringBackupPolicy
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() int32func (*BackupPolicy) GetCreateTime
func (x *BackupPolicy) GetCreateTime() *timestamppb.Timestampfunc (*BackupPolicy) GetDailyBackupLimit
func (x *BackupPolicy) GetDailyBackupLimit() int32func (*BackupPolicy) GetDescription
func (x *BackupPolicy) GetDescription() stringfunc (*BackupPolicy) GetEnabled
func (x *BackupPolicy) GetEnabled() boolfunc (*BackupPolicy) GetLabels
func (x *BackupPolicy) GetLabels() map[string]stringfunc (*BackupPolicy) GetMonthlyBackupLimit
func (x *BackupPolicy) GetMonthlyBackupLimit() int32func (*BackupPolicy) GetName
func (x *BackupPolicy) GetName() stringfunc (*BackupPolicy) GetState
func (x *BackupPolicy) GetState() BackupPolicy_Statefunc (*BackupPolicy) GetWeeklyBackupLimit
func (x *BackupPolicy) GetWeeklyBackupLimit() int32func (*BackupPolicy) ProtoMessage
func (*BackupPolicy) ProtoMessage()func (*BackupPolicy) ProtoReflect
func (x *BackupPolicy) ProtoReflect() protoreflect.Messagefunc (*BackupPolicy) Reset
func (x *BackupPolicy) Reset()func (*BackupPolicy) String
func (x *BackupPolicy) String() stringBackupPolicy_State
type BackupPolicy_State int32BackupPolicy_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.EnumDescriptorfunc (BackupPolicy_State) Enum
func (x BackupPolicy_State) Enum() *BackupPolicy_Statefunc (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.EnumNumberfunc (BackupPolicy_State) String
func (x BackupPolicy_State) String() stringfunc (BackupPolicy_State) Type
func (BackupPolicy_State) Type() protoreflect.EnumTypeBackupVault
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"`
// Optional. Type of backup vault to be created.
// Default is IN_REGION.
BackupVaultType BackupVault_BackupVaultType `protobuf:"varint,6,opt,name=backup_vault_type,json=backupVaultType,proto3,enum=google.cloud.netapp.v1.BackupVault_BackupVaultType" json:"backup_vault_type,omitempty"`
// Output only. Region in which the backup vault is created.
// Format: `projects/{project_id}/locations/{location}`
SourceRegion string `protobuf:"bytes,7,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty"`
// Optional. Region where the backups are stored.
// Format: `projects/{project_id}/locations/{location}`
BackupRegion string `protobuf:"bytes,8,opt,name=backup_region,json=backupRegion,proto3" json:"backup_region,omitempty"`
// Output only. Name of the Backup vault created in source region.
// Format:
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
SourceBackupVault string `protobuf:"bytes,9,opt,name=source_backup_vault,json=sourceBackupVault,proto3" json:"source_backup_vault,omitempty"`
// Output only. Name of the Backup vault created in backup region.
// Format:
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
DestinationBackupVault string `protobuf:"bytes,10,opt,name=destination_backup_vault,json=destinationBackupVault,proto3" json:"destination_backup_vault,omitempty"`
// Optional. Backup retention policy defining the retenton of backups.
BackupRetentionPolicy *BackupVault_BackupRetentionPolicy `protobuf:"bytes,11,opt,name=backup_retention_policy,json=backupRetentionPolicy,proto3" json:"backup_retention_policy,omitempty"`
// contains filtered or unexported fields
}A NetApp BackupVault.
func (*BackupVault) Descriptor
func (*BackupVault) Descriptor() ([]byte, []int)Deprecated: Use BackupVault.ProtoReflect.Descriptor instead.
func (*BackupVault) GetBackupRegion
func (x *BackupVault) GetBackupRegion() stringfunc (*BackupVault) GetBackupRetentionPolicy
func (x *BackupVault) GetBackupRetentionPolicy() *BackupVault_BackupRetentionPolicyfunc (*BackupVault) GetBackupVaultType
func (x *BackupVault) GetBackupVaultType() BackupVault_BackupVaultTypefunc (*BackupVault) GetCreateTime
func (x *BackupVault) GetCreateTime() *timestamppb.Timestampfunc (*BackupVault) GetDescription
func (x *BackupVault) GetDescription() stringfunc (*BackupVault) GetDestinationBackupVault
func (x *BackupVault) GetDestinationBackupVault() stringfunc (*BackupVault) GetLabels
func (x *BackupVault) GetLabels() map[string]stringfunc (*BackupVault) GetName
func (x *BackupVault) GetName() stringfunc (*BackupVault) GetSourceBackupVault
func (x *BackupVault) GetSourceBackupVault() stringfunc (*BackupVault) GetSourceRegion
func (x *BackupVault) GetSourceRegion() stringfunc (*BackupVault) GetState
func (x *BackupVault) GetState() BackupVault_Statefunc (*BackupVault) ProtoMessage
func (*BackupVault) ProtoMessage()func (*BackupVault) ProtoReflect
func (x *BackupVault) ProtoReflect() protoreflect.Messagefunc (*BackupVault) Reset
func (x *BackupVault) Reset()func (*BackupVault) String
func (x *BackupVault) String() stringBackupVault_BackupRetentionPolicy
type BackupVault_BackupRetentionPolicy struct {
// Required. Minimum retention duration in days for backups in the backup
// vault.
BackupMinimumEnforcedRetentionDays int32 `protobuf:"varint,1,opt,name=backup_minimum_enforced_retention_days,json=backupMinimumEnforcedRetentionDays,proto3" json:"backup_minimum_enforced_retention_days,omitempty"`
// Optional. Indicates if the daily backups are immutable.
// At least one of daily_backup_immutable, weekly_backup_immutable,
// monthly_backup_immutable and manual_backup_immutable must be true.
DailyBackupImmutable bool `protobuf:"varint,2,opt,name=daily_backup_immutable,json=dailyBackupImmutable,proto3" json:"daily_backup_immutable,omitempty"`
// Optional. Indicates if the weekly backups are immutable.
// At least one of daily_backup_immutable, weekly_backup_immutable,
// monthly_backup_immutable and manual_backup_immutable must be true.
WeeklyBackupImmutable bool `protobuf:"varint,3,opt,name=weekly_backup_immutable,json=weeklyBackupImmutable,proto3" json:"weekly_backup_immutable,omitempty"`
// Optional. Indicates if the monthly backups are immutable.
// At least one of daily_backup_immutable, weekly_backup_immutable,
// monthly_backup_immutable and manual_backup_immutable must be true.
MonthlyBackupImmutable bool `protobuf:"varint,4,opt,name=monthly_backup_immutable,json=monthlyBackupImmutable,proto3" json:"monthly_backup_immutable,omitempty"`
// Optional. Indicates if the manual backups are immutable.
// At least one of daily_backup_immutable, weekly_backup_immutable,
// monthly_backup_immutable and manual_backup_immutable must be true.
ManualBackupImmutable bool `protobuf:"varint,5,opt,name=manual_backup_immutable,json=manualBackupImmutable,proto3" json:"manual_backup_immutable,omitempty"`
// contains filtered or unexported fields
}Retention policy for backups in the backup vault
func (*BackupVault_BackupRetentionPolicy) Descriptor
func (*BackupVault_BackupRetentionPolicy) Descriptor() ([]byte, []int)Deprecated: Use BackupVault_BackupRetentionPolicy.ProtoReflect.Descriptor instead.
func (*BackupVault_BackupRetentionPolicy) GetBackupMinimumEnforcedRetentionDays
func (x *BackupVault_BackupRetentionPolicy) GetBackupMinimumEnforcedRetentionDays() int32func (*BackupVault_BackupRetentionPolicy) GetDailyBackupImmutable
func (x *BackupVault_BackupRetentionPolicy) GetDailyBackupImmutable() boolfunc (*BackupVault_BackupRetentionPolicy) GetManualBackupImmutable
func (x *BackupVault_BackupRetentionPolicy) GetManualBackupImmutable() boolfunc (*BackupVault_BackupRetentionPolicy) GetMonthlyBackupImmutable
func (x *BackupVault_BackupRetentionPolicy) GetMonthlyBackupImmutable() boolfunc (*BackupVault_BackupRetentionPolicy) GetWeeklyBackupImmutable
func (x *BackupVault_BackupRetentionPolicy) GetWeeklyBackupImmutable() boolfunc (*BackupVault_BackupRetentionPolicy) ProtoMessage
func (*BackupVault_BackupRetentionPolicy) ProtoMessage()func (*BackupVault_BackupRetentionPolicy) ProtoReflect
func (x *BackupVault_BackupRetentionPolicy) ProtoReflect() protoreflect.Messagefunc (*BackupVault_BackupRetentionPolicy) Reset
func (x *BackupVault_BackupRetentionPolicy) Reset()func (*BackupVault_BackupRetentionPolicy) String
func (x *BackupVault_BackupRetentionPolicy) String() stringBackupVault_BackupVaultType
type BackupVault_BackupVaultType int32Backup Vault Type.
BackupVault_BACKUP_VAULT_TYPE_UNSPECIFIED, BackupVault_IN_REGION, BackupVault_CROSS_REGION
const (
// BackupVault type not set.
BackupVault_BACKUP_VAULT_TYPE_UNSPECIFIED BackupVault_BackupVaultType = 0
// BackupVault type is IN_REGION.
BackupVault_IN_REGION BackupVault_BackupVaultType = 1
// BackupVault type is CROSS_REGION.
BackupVault_CROSS_REGION BackupVault_BackupVaultType = 2
)func (BackupVault_BackupVaultType) Descriptor
func (BackupVault_BackupVaultType) Descriptor() protoreflect.EnumDescriptorfunc (BackupVault_BackupVaultType) Enum
func (x BackupVault_BackupVaultType) Enum() *BackupVault_BackupVaultTypefunc (BackupVault_BackupVaultType) EnumDescriptor
func (BackupVault_BackupVaultType) EnumDescriptor() ([]byte, []int)Deprecated: Use BackupVault_BackupVaultType.Descriptor instead.
func (BackupVault_BackupVaultType) Number
func (x BackupVault_BackupVaultType) Number() protoreflect.EnumNumberfunc (BackupVault_BackupVaultType) String
func (x BackupVault_BackupVaultType) String() stringfunc (BackupVault_BackupVaultType) Type
func (BackupVault_BackupVaultType) Type() protoreflect.EnumTypeBackupVault_State
type BackupVault_State int32The 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.EnumDescriptorfunc (BackupVault_State) Enum
func (x BackupVault_State) Enum() *BackupVault_Statefunc (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.EnumNumberfunc (BackupVault_State) String
func (x BackupVault_State) String() stringfunc (BackupVault_State) Type
func (BackupVault_State) Type() protoreflect.EnumTypeBackup_State
type Backup_State int32The 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.EnumDescriptorfunc (Backup_State) Enum
func (x Backup_State) Enum() *Backup_Statefunc (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.EnumNumberfunc (Backup_State) String
func (x Backup_State) String() stringfunc (Backup_State) Type
func (Backup_State) Type() protoreflect.EnumTypeBackup_Type
type Backup_Type int32Backup 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.EnumDescriptorfunc (Backup_Type) Enum
func (x Backup_Type) Enum() *Backup_Typefunc (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.EnumNumberfunc (Backup_Type) String
func (x Backup_Type) String() stringfunc (Backup_Type) Type
func (Backup_Type) Type() protoreflect.EnumTypeCreateActiveDirectoryRequest
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() *ActiveDirectoryfunc (*CreateActiveDirectoryRequest) GetActiveDirectoryId
func (x *CreateActiveDirectoryRequest) GetActiveDirectoryId() stringfunc (*CreateActiveDirectoryRequest) GetParent
func (x *CreateActiveDirectoryRequest) GetParent() stringfunc (*CreateActiveDirectoryRequest) ProtoMessage
func (*CreateActiveDirectoryRequest) ProtoMessage()func (*CreateActiveDirectoryRequest) ProtoReflect
func (x *CreateActiveDirectoryRequest) ProtoReflect() protoreflect.Messagefunc (*CreateActiveDirectoryRequest) Reset
func (x *CreateActiveDirectoryRequest) Reset()func (*CreateActiveDirectoryRequest) String
func (x *CreateActiveDirectoryRequest) String() stringCreateBackupPolicyRequest
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() *BackupPolicyfunc (*CreateBackupPolicyRequest) GetBackupPolicyId
func (x *CreateBackupPolicyRequest) GetBackupPolicyId() stringfunc (*CreateBackupPolicyRequest) GetParent
func (x *CreateBackupPolicyRequest) GetParent() stringfunc (*CreateBackupPolicyRequest) ProtoMessage
func (*CreateBackupPolicyRequest) ProtoMessage()func (*CreateBackupPolicyRequest) ProtoReflect
func (x *CreateBackupPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupPolicyRequest) Reset
func (x *CreateBackupPolicyRequest) Reset()func (*CreateBackupPolicyRequest) String
func (x *CreateBackupPolicyRequest) String() stringCreateBackupRequest
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() *Backupfunc (*CreateBackupRequest) GetBackupId
func (x *CreateBackupRequest) GetBackupId() stringfunc (*CreateBackupRequest) GetParent
func (x *CreateBackupRequest) GetParent() stringfunc (*CreateBackupRequest) ProtoMessage
func (*CreateBackupRequest) ProtoMessage()func (*CreateBackupRequest) ProtoReflect
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupRequest) Reset
func (x *CreateBackupRequest) Reset()func (*CreateBackupRequest) String
func (x *CreateBackupRequest) String() stringCreateBackupVaultRequest
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() *BackupVaultfunc (*CreateBackupVaultRequest) GetBackupVaultId
func (x *CreateBackupVaultRequest) GetBackupVaultId() stringfunc (*CreateBackupVaultRequest) GetParent
func (x *CreateBackupVaultRequest) GetParent() stringfunc (*CreateBackupVaultRequest) ProtoMessage
func (*CreateBackupVaultRequest) ProtoMessage()func (*CreateBackupVaultRequest) ProtoReflect
func (x *CreateBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupVaultRequest) Reset
func (x *CreateBackupVaultRequest) Reset()func (*CreateBackupVaultRequest) String
func (x *CreateBackupVaultRequest) String() stringCreateKmsConfigRequest
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() *KmsConfigfunc (*CreateKmsConfigRequest) GetKmsConfigId
func (x *CreateKmsConfigRequest) GetKmsConfigId() stringfunc (*CreateKmsConfigRequest) GetParent
func (x *CreateKmsConfigRequest) GetParent() stringfunc (*CreateKmsConfigRequest) ProtoMessage
func (*CreateKmsConfigRequest) ProtoMessage()func (*CreateKmsConfigRequest) ProtoReflect
func (x *CreateKmsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateKmsConfigRequest) Reset
func (x *CreateKmsConfigRequest) Reset()func (*CreateKmsConfigRequest) String
func (x *CreateKmsConfigRequest) String() stringCreateQuotaRuleRequest
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() stringfunc (*CreateQuotaRuleRequest) GetQuotaRule
func (x *CreateQuotaRuleRequest) GetQuotaRule() *QuotaRulefunc (*CreateQuotaRuleRequest) GetQuotaRuleId
func (x *CreateQuotaRuleRequest) GetQuotaRuleId() stringfunc (*CreateQuotaRuleRequest) ProtoMessage
func (*CreateQuotaRuleRequest) ProtoMessage()func (*CreateQuotaRuleRequest) ProtoReflect
func (x *CreateQuotaRuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateQuotaRuleRequest) Reset
func (x *CreateQuotaRuleRequest) Reset()func (*CreateQuotaRuleRequest) String
func (x *CreateQuotaRuleRequest) String() stringCreateReplicationRequest
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() stringfunc (*CreateReplicationRequest) GetReplication
func (x *CreateReplicationRequest) GetReplication() *Replicationfunc (*CreateReplicationRequest) GetReplicationId
func (x *CreateReplicationRequest) GetReplicationId() stringfunc (*CreateReplicationRequest) ProtoMessage
func (*CreateReplicationRequest) ProtoMessage()func (*CreateReplicationRequest) ProtoReflect
func (x *CreateReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateReplicationRequest) Reset
func (x *CreateReplicationRequest) Reset()func (*CreateReplicationRequest) String
func (x *CreateReplicationRequest) String() stringCreateSnapshotRequest
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() stringfunc (*CreateSnapshotRequest) GetSnapshot
func (x *CreateSnapshotRequest) GetSnapshot() *Snapshotfunc (*CreateSnapshotRequest) GetSnapshotId
func (x *CreateSnapshotRequest) GetSnapshotId() stringfunc (*CreateSnapshotRequest) ProtoMessage
func (*CreateSnapshotRequest) ProtoMessage()func (*CreateSnapshotRequest) ProtoReflect
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSnapshotRequest) Reset
func (x *CreateSnapshotRequest) Reset()func (*CreateSnapshotRequest) String
func (x *CreateSnapshotRequest) String() stringCreateStoragePoolRequest
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() stringfunc (*CreateStoragePoolRequest) GetStoragePool
func (x *CreateStoragePoolRequest) GetStoragePool() *StoragePoolfunc (*CreateStoragePoolRequest) GetStoragePoolId
func (x *CreateStoragePoolRequest) GetStoragePoolId() stringfunc (*CreateStoragePoolRequest) ProtoMessage
func (*CreateStoragePoolRequest) ProtoMessage()func (*CreateStoragePoolRequest) ProtoReflect
func (x *CreateStoragePoolRequest) ProtoReflect() protoreflect.Messagefunc (*CreateStoragePoolRequest) Reset
func (x *CreateStoragePoolRequest) Reset()func (*CreateStoragePoolRequest) String
func (x *CreateStoragePoolRequest) String() stringCreateVolumeRequest
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() stringfunc (*CreateVolumeRequest) GetVolume
func (x *CreateVolumeRequest) GetVolume() *Volumefunc (*CreateVolumeRequest) GetVolumeId
func (x *CreateVolumeRequest) GetVolumeId() stringfunc (*CreateVolumeRequest) ProtoMessage
func (*CreateVolumeRequest) ProtoMessage()func (*CreateVolumeRequest) ProtoReflect
func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateVolumeRequest) Reset
func (x *CreateVolumeRequest) Reset()func (*CreateVolumeRequest) String
func (x *CreateVolumeRequest) String() stringDailySchedule
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() float64func (*DailySchedule) GetMinute
func (x *DailySchedule) GetMinute() float64func (*DailySchedule) GetSnapshotsToKeep
func (x *DailySchedule) GetSnapshotsToKeep() float64func (*DailySchedule) ProtoMessage
func (*DailySchedule) ProtoMessage()func (*DailySchedule) ProtoReflect
func (x *DailySchedule) ProtoReflect() protoreflect.Messagefunc (*DailySchedule) Reset
func (x *DailySchedule) Reset()func (*DailySchedule) String
func (x *DailySchedule) String() stringDeleteActiveDirectoryRequest
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() stringfunc (*DeleteActiveDirectoryRequest) ProtoMessage
func (*DeleteActiveDirectoryRequest) ProtoMessage()func (*DeleteActiveDirectoryRequest) ProtoReflect
func (x *DeleteActiveDirectoryRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteActiveDirectoryRequest) Reset
func (x *DeleteActiveDirectoryRequest) Reset()func (*DeleteActiveDirectoryRequest) String
func (x *DeleteActiveDirectoryRequest) String() stringDeleteBackupPolicyRequest
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() stringfunc (*DeleteBackupPolicyRequest) ProtoMessage
func (*DeleteBackupPolicyRequest) ProtoMessage()func (*DeleteBackupPolicyRequest) ProtoReflect
func (x *DeleteBackupPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupPolicyRequest) Reset
func (x *DeleteBackupPolicyRequest) Reset()func (*DeleteBackupPolicyRequest) String
func (x *DeleteBackupPolicyRequest) String() stringDeleteBackupRequest
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() stringfunc (*DeleteBackupRequest) ProtoMessage
func (*DeleteBackupRequest) ProtoMessage()func (*DeleteBackupRequest) ProtoReflect
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupRequest) Reset
func (x *DeleteBackupRequest) Reset()func (*DeleteBackupRequest) String
func (x *DeleteBackupRequest) String() stringDeleteBackupVaultRequest
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() stringfunc (*DeleteBackupVaultRequest) ProtoMessage
func (*DeleteBackupVaultRequest) ProtoMessage()func (*DeleteBackupVaultRequest) ProtoReflect
func (x *DeleteBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupVaultRequest) Reset
func (x *DeleteBackupVaultRequest) Reset()func (*DeleteBackupVaultRequest) String
func (x *DeleteBackupVaultRequest) String() stringDeleteKmsConfigRequest
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() stringfunc (*DeleteKmsConfigRequest) ProtoMessage
func (*DeleteKmsConfigRequest) ProtoMessage()func (*DeleteKmsConfigRequest) ProtoReflect
func (x *DeleteKmsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteKmsConfigRequest) Reset
func (x *DeleteKmsConfigRequest) Reset()func (*DeleteKmsConfigRequest) String
func (x *DeleteKmsConfigRequest) String() stringDeleteQuotaRuleRequest
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() stringfunc (*DeleteQuotaRuleRequest) ProtoMessage
func (*DeleteQuotaRuleRequest) ProtoMessage()func (*DeleteQuotaRuleRequest) ProtoReflect
func (x *DeleteQuotaRuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteQuotaRuleRequest) Reset
func (x *DeleteQuotaRuleRequest) Reset()func (*DeleteQuotaRuleRequest) String
func (x *DeleteQuotaRuleRequest) String() stringDeleteReplicationRequest
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() stringfunc (*DeleteReplicationRequest) ProtoMessage
func (*DeleteReplicationRequest) ProtoMessage()func (*DeleteReplicationRequest) ProtoReflect
func (x *DeleteReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteReplicationRequest) Reset
func (x *DeleteReplicationRequest) Reset()func (*DeleteReplicationRequest) String
func (x *DeleteReplicationRequest) String() stringDeleteSnapshotRequest
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() stringfunc (*DeleteSnapshotRequest) ProtoMessage
func (*DeleteSnapshotRequest) ProtoMessage()func (*DeleteSnapshotRequest) ProtoReflect
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSnapshotRequest) Reset
func (x *DeleteSnapshotRequest) Reset()func (*DeleteSnapshotRequest) String
func (x *DeleteSnapshotRequest) String() stringDeleteStoragePoolRequest
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() stringfunc (*DeleteStoragePoolRequest) ProtoMessage
func (*DeleteStoragePoolRequest) ProtoMessage()func (*DeleteStoragePoolRequest) ProtoReflect
func (x *DeleteStoragePoolRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteStoragePoolRequest) Reset
func (x *DeleteStoragePoolRequest) Reset()func (*DeleteStoragePoolRequest) String
func (x *DeleteStoragePoolRequest) String() stringDeleteVolumeRequest
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() boolfunc (*DeleteVolumeRequest) GetName
func (x *DeleteVolumeRequest) GetName() stringfunc (*DeleteVolumeRequest) ProtoMessage
func (*DeleteVolumeRequest) ProtoMessage()func (*DeleteVolumeRequest) ProtoReflect
func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteVolumeRequest) Reset
func (x *DeleteVolumeRequest) Reset()func (*DeleteVolumeRequest) String
func (x *DeleteVolumeRequest) String() stringDestinationVolumeParameters
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() stringfunc (*DestinationVolumeParameters) GetShareName
func (x *DestinationVolumeParameters) GetShareName() stringfunc (*DestinationVolumeParameters) GetStoragePool
func (x *DestinationVolumeParameters) GetStoragePool() stringfunc (*DestinationVolumeParameters) GetTieringPolicy
func (x *DestinationVolumeParameters) GetTieringPolicy() *TieringPolicyfunc (*DestinationVolumeParameters) GetVolumeId
func (x *DestinationVolumeParameters) GetVolumeId() stringfunc (*DestinationVolumeParameters) ProtoMessage
func (*DestinationVolumeParameters) ProtoMessage()func (*DestinationVolumeParameters) ProtoReflect
func (x *DestinationVolumeParameters) ProtoReflect() protoreflect.Messagefunc (*DestinationVolumeParameters) Reset
func (x *DestinationVolumeParameters) Reset()func (*DestinationVolumeParameters) String
func (x *DestinationVolumeParameters) String() stringDirectoryServiceType
type DirectoryServiceType int32Type 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.EnumDescriptorfunc (DirectoryServiceType) Enum
func (x DirectoryServiceType) Enum() *DirectoryServiceTypefunc (DirectoryServiceType) EnumDescriptor
func (DirectoryServiceType) EnumDescriptor() ([]byte, []int)Deprecated: Use DirectoryServiceType.Descriptor instead.
func (DirectoryServiceType) Number
func (x DirectoryServiceType) Number() protoreflect.EnumNumberfunc (DirectoryServiceType) String
func (x DirectoryServiceType) String() stringfunc (DirectoryServiceType) Type
func (DirectoryServiceType) Type() protoreflect.EnumTypeEncryptVolumesRequest
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() stringfunc (*EncryptVolumesRequest) ProtoMessage
func (*EncryptVolumesRequest) ProtoMessage()func (*EncryptVolumesRequest) ProtoReflect
func (x *EncryptVolumesRequest) ProtoReflect() protoreflect.Messagefunc (*EncryptVolumesRequest) Reset
func (x *EncryptVolumesRequest) Reset()func (*EncryptVolumesRequest) String
func (x *EncryptVolumesRequest) String() stringEncryptionType
type EncryptionType int32The 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.EnumDescriptorfunc (EncryptionType) Enum
func (x EncryptionType) Enum() *EncryptionTypefunc (EncryptionType) EnumDescriptor
func (EncryptionType) EnumDescriptor() ([]byte, []int)Deprecated: Use EncryptionType.Descriptor instead.
func (EncryptionType) Number
func (x EncryptionType) Number() protoreflect.EnumNumberfunc (EncryptionType) String
func (x EncryptionType) String() stringfunc (EncryptionType) Type
func (EncryptionType) Type() protoreflect.EnumTypeEstablishPeeringRequest
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() stringfunc (*EstablishPeeringRequest) GetPeerClusterName
func (x *EstablishPeeringRequest) GetPeerClusterName() stringfunc (*EstablishPeeringRequest) GetPeerIpAddresses
func (x *EstablishPeeringRequest) GetPeerIpAddresses() []stringfunc (*EstablishPeeringRequest) GetPeerSvmName
func (x *EstablishPeeringRequest) GetPeerSvmName() stringfunc (*EstablishPeeringRequest) GetPeerVolumeName
func (x *EstablishPeeringRequest) GetPeerVolumeName() stringfunc (*EstablishPeeringRequest) ProtoMessage
func (*EstablishPeeringRequest) ProtoMessage()func (*EstablishPeeringRequest) ProtoReflect
func (x *EstablishPeeringRequest) ProtoReflect() protoreflect.Messagefunc (*EstablishPeeringRequest) Reset
func (x *EstablishPeeringRequest) Reset()func (*EstablishPeeringRequest) String
func (x *EstablishPeeringRequest) String() stringExportPolicy
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() []*SimpleExportPolicyRulefunc (*ExportPolicy) ProtoMessage
func (*ExportPolicy) ProtoMessage()func (*ExportPolicy) ProtoReflect
func (x *ExportPolicy) ProtoReflect() protoreflect.Messagefunc (*ExportPolicy) Reset
func (x *ExportPolicy) Reset()func (*ExportPolicy) String
func (x *ExportPolicy) String() stringFlexPerformance
type FlexPerformance int32Flex 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.EnumDescriptorfunc (FlexPerformance) Enum
func (x FlexPerformance) Enum() *FlexPerformancefunc (FlexPerformance) EnumDescriptor
func (FlexPerformance) EnumDescriptor() ([]byte, []int)Deprecated: Use FlexPerformance.Descriptor instead.
func (FlexPerformance) Number
func (x FlexPerformance) Number() protoreflect.EnumNumberfunc (FlexPerformance) String
func (x FlexPerformance) String() stringfunc (FlexPerformance) Type
func (FlexPerformance) Type() protoreflect.EnumTypeGetActiveDirectoryRequest
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() stringfunc (*GetActiveDirectoryRequest) ProtoMessage
func (*GetActiveDirectoryRequest) ProtoMessage()func (*GetActiveDirectoryRequest) ProtoReflect
func (x *GetActiveDirectoryRequest) ProtoReflect() protoreflect.Messagefunc (*GetActiveDirectoryRequest) Reset
func (x *GetActiveDirectoryRequest) Reset()func (*GetActiveDirectoryRequest) String
func (x *GetActiveDirectoryRequest) String() stringGetBackupPolicyRequest
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() stringfunc (*GetBackupPolicyRequest) ProtoMessage
func (*GetBackupPolicyRequest) ProtoMessage()func (*GetBackupPolicyRequest) ProtoReflect
func (x *GetBackupPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupPolicyRequest) Reset
func (x *GetBackupPolicyRequest) Reset()func (*GetBackupPolicyRequest) String
func (x *GetBackupPolicyRequest) String() stringGetBackupRequest
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() stringfunc (*GetBackupRequest) ProtoMessage
func (*GetBackupRequest) ProtoMessage()func (*GetBackupRequest) ProtoReflect
func (x *GetBackupRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupRequest) Reset
func (x *GetBackupRequest) Reset()func (*GetBackupRequest) String
func (x *GetBackupRequest) String() stringGetBackupVaultRequest
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() stringfunc (*GetBackupVaultRequest) ProtoMessage
func (*GetBackupVaultRequest) ProtoMessage()func (*GetBackupVaultRequest) ProtoReflect
func (x *GetBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupVaultRequest) Reset
func (x *GetBackupVaultRequest) Reset()func (*GetBackupVaultRequest) String
func (x *GetBackupVaultRequest) String() stringGetKmsConfigRequest
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() stringfunc (*GetKmsConfigRequest) ProtoMessage
func (*GetKmsConfigRequest) ProtoMessage()func (*GetKmsConfigRequest) ProtoReflect
func (x *GetKmsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetKmsConfigRequest) Reset
func (x *GetKmsConfigRequest) Reset()func (*GetKmsConfigRequest) String
func (x *GetKmsConfigRequest) String() stringGetQuotaRuleRequest
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() stringfunc (*GetQuotaRuleRequest) ProtoMessage
func (*GetQuotaRuleRequest) ProtoMessage()func (*GetQuotaRuleRequest) ProtoReflect
func (x *GetQuotaRuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetQuotaRuleRequest) Reset
func (x *GetQuotaRuleRequest) Reset()func (*GetQuotaRuleRequest) String
func (x *GetQuotaRuleRequest) String() stringGetReplicationRequest
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() stringfunc (*GetReplicationRequest) ProtoMessage
func (*GetReplicationRequest) ProtoMessage()func (*GetReplicationRequest) ProtoReflect
func (x *GetReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*GetReplicationRequest) Reset
func (x *GetReplicationRequest) Reset()func (*GetReplicationRequest) String
func (x *GetReplicationRequest) String() stringGetSnapshotRequest
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() stringfunc (*GetSnapshotRequest) ProtoMessage
func (*GetSnapshotRequest) ProtoMessage()func (*GetSnapshotRequest) ProtoReflect
func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*GetSnapshotRequest) Reset
func (x *GetSnapshotRequest) Reset()func (*GetSnapshotRequest) String
func (x *GetSnapshotRequest) String() stringGetStoragePoolRequest
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() stringfunc (*GetStoragePoolRequest) ProtoMessage
func (*GetStoragePoolRequest) ProtoMessage()func (*GetStoragePoolRequest) ProtoReflect
func (x *GetStoragePoolRequest) ProtoReflect() protoreflect.Messagefunc (*GetStoragePoolRequest) Reset
func (x *GetStoragePoolRequest) Reset()func (*GetStoragePoolRequest) String
func (x *GetStoragePoolRequest) String() stringGetVolumeRequest
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() stringfunc (*GetVolumeRequest) ProtoMessage
func (*GetVolumeRequest) ProtoMessage()func (*GetVolumeRequest) ProtoReflect
func (x *GetVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*GetVolumeRequest) Reset
func (x *GetVolumeRequest) Reset()func (*GetVolumeRequest) String
func (x *GetVolumeRequest) String() stringHourlySchedule
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() float64func (*HourlySchedule) GetSnapshotsToKeep
func (x *HourlySchedule) GetSnapshotsToKeep() float64func (*HourlySchedule) ProtoMessage
func (*HourlySchedule) ProtoMessage()func (*HourlySchedule) ProtoReflect
func (x *HourlySchedule) ProtoReflect() protoreflect.Messagefunc (*HourlySchedule) Reset
func (x *HourlySchedule) Reset()func (*HourlySchedule) String
func (x *HourlySchedule) String() stringHybridPeeringDetails
type HybridPeeringDetails struct {
// Output only. IP address of the subnet.
SubnetIp string `protobuf:"bytes,1,opt,name=subnet_ip,json=subnetIp,proto3" json:"subnet_ip,omitempty"`
// Output only. 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"`
// Output only. 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"`
// Output only. Temporary passphrase generated to accept cluster peering
// command.
Passphrase string `protobuf:"bytes,4,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
// Output only. 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"`
// Output only. 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"`
// Output only. 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() stringfunc (*HybridPeeringDetails) GetCommandExpiryTime
func (x *HybridPeeringDetails) GetCommandExpiryTime() *timestamppb.Timestampfunc (*HybridPeeringDetails) GetPassphrase
func (x *HybridPeeringDetails) GetPassphrase() stringfunc (*HybridPeeringDetails) GetPeerClusterName
func (x *HybridPeeringDetails) GetPeerClusterName() stringfunc (*HybridPeeringDetails) GetPeerSvmName
func (x *HybridPeeringDetails) GetPeerSvmName() stringfunc (*HybridPeeringDetails) GetPeerVolumeName
func (x *HybridPeeringDetails) GetPeerVolumeName() stringfunc (*HybridPeeringDetails) GetSubnetIp
func (x *HybridPeeringDetails) GetSubnetIp() stringfunc (*HybridPeeringDetails) ProtoMessage
func (*HybridPeeringDetails) ProtoMessage()func (*HybridPeeringDetails) ProtoReflect
func (x *HybridPeeringDetails) ProtoReflect() protoreflect.Messagefunc (*HybridPeeringDetails) Reset
func (x *HybridPeeringDetails) Reset()func (*HybridPeeringDetails) String
func (x *HybridPeeringDetails) String() stringHybridReplicationParameters
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"`
// Optional. Replication Schedule for the replication created.
ReplicationSchedule HybridReplicationSchedule `protobuf:"varint,9,opt,name=replication_schedule,json=replicationSchedule,proto3,enum=google.cloud.netapp.v1.HybridReplicationSchedule" json:"replication_schedule,omitempty"`
// Optional. Type of the hybrid replication.
HybridReplicationType HybridReplicationParameters_VolumeHybridReplicationType `protobuf:"varint,10,opt,name=hybrid_replication_type,json=hybridReplicationType,proto3,enum=google.cloud.netapp.v1.HybridReplicationParameters_VolumeHybridReplicationType" json:"hybrid_replication_type,omitempty"`
// Optional. Constituent volume count for large volume.
LargeVolumeConstituentCount int32 `protobuf:"varint,11,opt,name=large_volume_constituent_count,json=largeVolumeConstituentCount,proto3" json:"large_volume_constituent_count,omitempty"`
// 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() stringfunc (*HybridReplicationParameters) GetDescription
func (x *HybridReplicationParameters) GetDescription() stringfunc (*HybridReplicationParameters) GetHybridReplicationType
func (x *HybridReplicationParameters) GetHybridReplicationType() HybridReplicationParameters_VolumeHybridReplicationTypefunc (*HybridReplicationParameters) GetLabels
func (x *HybridReplicationParameters) GetLabels() map[string]stringfunc (*HybridReplicationParameters) GetLargeVolumeConstituentCount
func (x *HybridReplicationParameters) GetLargeVolumeConstituentCount() int32func (*HybridReplicationParameters) GetPeerClusterName
func (x *HybridReplicationParameters) GetPeerClusterName() stringfunc (*HybridReplicationParameters) GetPeerIpAddresses
func (x *HybridReplicationParameters) GetPeerIpAddresses() []stringfunc (*HybridReplicationParameters) GetPeerSvmName
func (x *HybridReplicationParameters) GetPeerSvmName() stringfunc (*HybridReplicationParameters) GetPeerVolumeName
func (x *HybridReplicationParameters) GetPeerVolumeName() stringfunc (*HybridReplicationParameters) GetReplication
func (x *HybridReplicationParameters) GetReplication() stringfunc (*HybridReplicationParameters) GetReplicationSchedule
func (x *HybridReplicationParameters) GetReplicationSchedule() HybridReplicationSchedulefunc (*HybridReplicationParameters) ProtoMessage
func (*HybridReplicationParameters) ProtoMessage()func (*HybridReplicationParameters) ProtoReflect
func (x *HybridReplicationParameters) ProtoReflect() protoreflect.Messagefunc (*HybridReplicationParameters) Reset
func (x *HybridReplicationParameters) Reset()func (*HybridReplicationParameters) String
func (x *HybridReplicationParameters) String() stringHybridReplicationParameters_VolumeHybridReplicationType
type HybridReplicationParameters_VolumeHybridReplicationType int32Type of the volume's hybrid replication.
HybridReplicationParameters_VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED, HybridReplicationParameters_MIGRATION, HybridReplicationParameters_CONTINUOUS_REPLICATION, HybridReplicationParameters_ONPREM_REPLICATION, HybridReplicationParameters_REVERSE_ONPREM_REPLICATION
const (
// Unspecified hybrid replication type.
HybridReplicationParameters_VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED HybridReplicationParameters_VolumeHybridReplicationType = 0
// Hybrid replication type for migration.
HybridReplicationParameters_MIGRATION HybridReplicationParameters_VolumeHybridReplicationType = 1
// Hybrid replication type for continuous replication.
HybridReplicationParameters_CONTINUOUS_REPLICATION HybridReplicationParameters_VolumeHybridReplicationType = 2
// New field for reversible OnPrem replication, to be used for data
// protection.
HybridReplicationParameters_ONPREM_REPLICATION HybridReplicationParameters_VolumeHybridReplicationType = 3
// New field for reversible OnPrem replication, to be used for data
// protection.
HybridReplicationParameters_REVERSE_ONPREM_REPLICATION HybridReplicationParameters_VolumeHybridReplicationType = 4
)func (HybridReplicationParameters_VolumeHybridReplicationType) Descriptor
func (HybridReplicationParameters_VolumeHybridReplicationType) Descriptor() protoreflect.EnumDescriptorfunc (HybridReplicationParameters_VolumeHybridReplicationType) Enum
func (x HybridReplicationParameters_VolumeHybridReplicationType) Enum() *HybridReplicationParameters_VolumeHybridReplicationTypefunc (HybridReplicationParameters_VolumeHybridReplicationType) EnumDescriptor
func (HybridReplicationParameters_VolumeHybridReplicationType) EnumDescriptor() ([]byte, []int)Deprecated: Use HybridReplicationParameters_VolumeHybridReplicationType.Descriptor instead.
func (HybridReplicationParameters_VolumeHybridReplicationType) Number
func (x HybridReplicationParameters_VolumeHybridReplicationType) Number() protoreflect.EnumNumberfunc (HybridReplicationParameters_VolumeHybridReplicationType) String
func (x HybridReplicationParameters_VolumeHybridReplicationType) String() stringfunc (HybridReplicationParameters_VolumeHybridReplicationType) Type
HybridReplicationSchedule
type HybridReplicationSchedule int32Schedule for Hybrid Replication. New enum values may be added in future to support different frequency of replication.
HybridReplicationSchedule_HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED, HybridReplicationSchedule_EVERY_10_MINUTES, HybridReplicationSchedule_HOURLY, HybridReplicationSchedule_DAILY
const (
// Unspecified HybridReplicationSchedule
HybridReplicationSchedule_HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED HybridReplicationSchedule = 0
// Replication happens once every 10 minutes.
HybridReplicationSchedule_EVERY_10_MINUTES HybridReplicationSchedule = 1
// Replication happens once every hour.
HybridReplicationSchedule_HOURLY HybridReplicationSchedule = 2
// Replication happens once every day.
HybridReplicationSchedule_DAILY HybridReplicationSchedule = 3
)func (HybridReplicationSchedule) Descriptor
func (HybridReplicationSchedule) Descriptor() protoreflect.EnumDescriptorfunc (HybridReplicationSchedule) Enum
func (x HybridReplicationSchedule) Enum() *HybridReplicationSchedulefunc (HybridReplicationSchedule) EnumDescriptor
func (HybridReplicationSchedule) EnumDescriptor() ([]byte, []int)Deprecated: Use HybridReplicationSchedule.Descriptor instead.
func (HybridReplicationSchedule) Number
func (x HybridReplicationSchedule) Number() protoreflect.EnumNumberfunc (HybridReplicationSchedule) String
func (x HybridReplicationSchedule) String() stringfunc (HybridReplicationSchedule) Type
func (HybridReplicationSchedule) Type() protoreflect.EnumTypeKmsConfig
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.Timestampfunc (*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_Statefunc (*KmsConfig) GetStateDetails
func (*KmsConfig) ProtoMessage
func (*KmsConfig) ProtoMessage()func (*KmsConfig) ProtoReflect
func (x *KmsConfig) ProtoReflect() protoreflect.Messagefunc (*KmsConfig) Reset
func (x *KmsConfig) Reset()func (*KmsConfig) String
KmsConfig_State
type KmsConfig_State int32The 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.EnumDescriptorfunc (KmsConfig_State) Enum
func (x KmsConfig_State) Enum() *KmsConfig_Statefunc (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.EnumNumberfunc (KmsConfig_State) String
func (x KmsConfig_State) String() stringfunc (KmsConfig_State) Type
func (KmsConfig_State) Type() protoreflect.EnumTypeListActiveDirectoriesRequest
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() stringfunc (*ListActiveDirectoriesRequest) GetOrderBy
func (x *ListActiveDirectoriesRequest) GetOrderBy() stringfunc (*ListActiveDirectoriesRequest) GetPageSize
func (x *ListActiveDirectoriesRequest) GetPageSize() int32func (*ListActiveDirectoriesRequest) GetPageToken
func (x *ListActiveDirectoriesRequest) GetPageToken() stringfunc (*ListActiveDirectoriesRequest) GetParent
func (x *ListActiveDirectoriesRequest) GetParent() stringfunc (*ListActiveDirectoriesRequest) ProtoMessage
func (*ListActiveDirectoriesRequest) ProtoMessage()func (*ListActiveDirectoriesRequest) ProtoReflect
func (x *ListActiveDirectoriesRequest) ProtoReflect() protoreflect.Messagefunc (*ListActiveDirectoriesRequest) Reset
func (x *ListActiveDirectoriesRequest) Reset()func (*ListActiveDirectoriesRequest) String
func (x *ListActiveDirectoriesRequest) String() stringListActiveDirectoriesResponse
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() []*ActiveDirectoryfunc (*ListActiveDirectoriesResponse) GetNextPageToken
func (x *ListActiveDirectoriesResponse) GetNextPageToken() stringfunc (*ListActiveDirectoriesResponse) GetUnreachable
func (x *ListActiveDirectoriesResponse) GetUnreachable() []stringfunc (*ListActiveDirectoriesResponse) ProtoMessage
func (*ListActiveDirectoriesResponse) ProtoMessage()func (*ListActiveDirectoriesResponse) ProtoReflect
func (x *ListActiveDirectoriesResponse) ProtoReflect() protoreflect.Messagefunc (*ListActiveDirectoriesResponse) Reset
func (x *ListActiveDirectoriesResponse) Reset()func (*ListActiveDirectoriesResponse) String
func (x *ListActiveDirectoriesResponse) String() stringListBackupPoliciesRequest
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() stringfunc (*ListBackupPoliciesRequest) GetOrderBy
func (x *ListBackupPoliciesRequest) GetOrderBy() stringfunc (*ListBackupPoliciesRequest) GetPageSize
func (x *ListBackupPoliciesRequest) GetPageSize() int32func (*ListBackupPoliciesRequest) GetPageToken
func (x *ListBackupPoliciesRequest) GetPageToken() stringfunc (*ListBackupPoliciesRequest) GetParent
func (x *ListBackupPoliciesRequest) GetParent() stringfunc (*ListBackupPoliciesRequest) ProtoMessage
func (*ListBackupPoliciesRequest) ProtoMessage()func (*ListBackupPoliciesRequest) ProtoReflect
func (x *ListBackupPoliciesRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupPoliciesRequest) Reset
func (x *ListBackupPoliciesRequest) Reset()func (*ListBackupPoliciesRequest) String
func (x *ListBackupPoliciesRequest) String() stringListBackupPoliciesResponse
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() []*BackupPolicyfunc (*ListBackupPoliciesResponse) GetNextPageToken
func (x *ListBackupPoliciesResponse) GetNextPageToken() stringfunc (*ListBackupPoliciesResponse) GetUnreachable
func (x *ListBackupPoliciesResponse) GetUnreachable() []stringfunc (*ListBackupPoliciesResponse) ProtoMessage
func (*ListBackupPoliciesResponse) ProtoMessage()func (*ListBackupPoliciesResponse) ProtoReflect
func (x *ListBackupPoliciesResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupPoliciesResponse) Reset
func (x *ListBackupPoliciesResponse) Reset()func (*ListBackupPoliciesResponse) String
func (x *ListBackupPoliciesResponse) String() stringListBackupVaultsRequest
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() stringfunc (*ListBackupVaultsRequest) GetOrderBy
func (x *ListBackupVaultsRequest) GetOrderBy() stringfunc (*ListBackupVaultsRequest) GetPageSize
func (x *ListBackupVaultsRequest) GetPageSize() int32func (*ListBackupVaultsRequest) GetPageToken
func (x *ListBackupVaultsRequest) GetPageToken() stringfunc (*ListBackupVaultsRequest) GetParent
func (x *ListBackupVaultsRequest) GetParent() stringfunc (*ListBackupVaultsRequest) ProtoMessage
func (*ListBackupVaultsRequest) ProtoMessage()func (*ListBackupVaultsRequest) ProtoReflect
func (x *ListBackupVaultsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupVaultsRequest) Reset
func (x *ListBackupVaultsRequest) Reset()func (*ListBackupVaultsRequest) String
func (x *ListBackupVaultsRequest) String() stringListBackupVaultsResponse
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() []*BackupVaultfunc (*ListBackupVaultsResponse) GetNextPageToken
func (x *ListBackupVaultsResponse) GetNextPageToken() stringfunc (*ListBackupVaultsResponse) GetUnreachable
func (x *ListBackupVaultsResponse) GetUnreachable() []stringfunc (*ListBackupVaultsResponse) ProtoMessage
func (*ListBackupVaultsResponse) ProtoMessage()func (*ListBackupVaultsResponse) ProtoReflect
func (x *ListBackupVaultsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupVaultsResponse) Reset
func (x *ListBackupVaultsResponse) Reset()func (*ListBackupVaultsResponse) String
func (x *ListBackupVaultsResponse) String() stringListBackupsRequest
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() stringfunc (*ListBackupsRequest) GetOrderBy
func (x *ListBackupsRequest) GetOrderBy() stringfunc (*ListBackupsRequest) GetPageSize
func (x *ListBackupsRequest) GetPageSize() int32func (*ListBackupsRequest) GetPageToken
func (x *ListBackupsRequest) GetPageToken() stringfunc (*ListBackupsRequest) GetParent
func (x *ListBackupsRequest) GetParent() stringfunc (*ListBackupsRequest) ProtoMessage
func (*ListBackupsRequest) ProtoMessage()func (*ListBackupsRequest) ProtoReflect
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupsRequest) Reset
func (x *ListBackupsRequest) Reset()func (*ListBackupsRequest) String
func (x *ListBackupsRequest) String() stringListBackupsResponse
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() []*Backupfunc (*ListBackupsResponse) GetNextPageToken
func (x *ListBackupsResponse) GetNextPageToken() stringfunc (*ListBackupsResponse) GetUnreachable
func (x *ListBackupsResponse) GetUnreachable() []stringfunc (*ListBackupsResponse) ProtoMessage
func (*ListBackupsResponse) ProtoMessage()func (*ListBackupsResponse) ProtoReflect
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupsResponse) Reset
func (x *ListBackupsResponse) Reset()func (*ListBackupsResponse) String
func (x *ListBackupsResponse) String() stringListKmsConfigsRequest
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() stringfunc (*ListKmsConfigsRequest) GetOrderBy
func (x *ListKmsConfigsRequest) GetOrderBy() stringfunc (*ListKmsConfigsRequest) GetPageSize
func (x *ListKmsConfigsRequest) GetPageSize() int32func (*ListKmsConfigsRequest) GetPageToken
func (x *ListKmsConfigsRequest) GetPageToken() stringfunc (*ListKmsConfigsRequest) GetParent
func (x *ListKmsConfigsRequest) GetParent() stringfunc (*ListKmsConfigsRequest) ProtoMessage
func (*ListKmsConfigsRequest) ProtoMessage()func (*ListKmsConfigsRequest) ProtoReflect
func (x *ListKmsConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListKmsConfigsRequest) Reset
func (x *ListKmsConfigsRequest) Reset()func (*ListKmsConfigsRequest) String
func (x *ListKmsConfigsRequest) String() stringListKmsConfigsResponse
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() []*KmsConfigfunc (*ListKmsConfigsResponse) GetNextPageToken
func (x *ListKmsConfigsResponse) GetNextPageToken() stringfunc (*ListKmsConfigsResponse) GetUnreachable
func (x *ListKmsConfigsResponse) GetUnreachable() []stringfunc (*ListKmsConfigsResponse) ProtoMessage
func (*ListKmsConfigsResponse) ProtoMessage()func (*ListKmsConfigsResponse) ProtoReflect
func (x *ListKmsConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListKmsConfigsResponse) Reset
func (x *ListKmsConfigsResponse) Reset()func (*ListKmsConfigsResponse) String
func (x *ListKmsConfigsResponse) String() stringListQuotaRulesRequest
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() stringfunc (*ListQuotaRulesRequest) GetOrderBy
func (x *ListQuotaRulesRequest) GetOrderBy() stringfunc (*ListQuotaRulesRequest) GetPageSize
func (x *ListQuotaRulesRequest) GetPageSize() int32func (*ListQuotaRulesRequest) GetPageToken
func (x *ListQuotaRulesRequest) GetPageToken() stringfunc (*ListQuotaRulesRequest) GetParent
func (x *ListQuotaRulesRequest) GetParent() stringfunc (*ListQuotaRulesRequest) ProtoMessage
func (*ListQuotaRulesRequest) ProtoMessage()func (*ListQuotaRulesRequest) ProtoReflect
func (x *ListQuotaRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListQuotaRulesRequest) Reset
func (x *ListQuotaRulesRequest) Reset()func (*ListQuotaRulesRequest) String
func (x *ListQuotaRulesRequest) String() stringListQuotaRulesResponse
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() stringfunc (*ListQuotaRulesResponse) GetQuotaRules
func (x *ListQuotaRulesResponse) GetQuotaRules() []*QuotaRulefunc (*ListQuotaRulesResponse) GetUnreachable
func (x *ListQuotaRulesResponse) GetUnreachable() []stringfunc (*ListQuotaRulesResponse) ProtoMessage
func (*ListQuotaRulesResponse) ProtoMessage()func (*ListQuotaRulesResponse) ProtoReflect
func (x *ListQuotaRulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListQuotaRulesResponse) Reset
func (x *ListQuotaRulesResponse) Reset()func (*ListQuotaRulesResponse) String
func (x *ListQuotaRulesResponse) String() stringListReplicationsRequest
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() stringfunc (*ListReplicationsRequest) GetOrderBy
func (x *ListReplicationsRequest) GetOrderBy() stringfunc (*ListReplicationsRequest) GetPageSize
func (x *ListReplicationsRequest) GetPageSize() int32func (*ListReplicationsRequest) GetPageToken
func (x *ListReplicationsRequest) GetPageToken() stringfunc (*ListReplicationsRequest) GetParent
func (x *ListReplicationsRequest) GetParent() stringfunc (*ListReplicationsRequest) ProtoMessage
func (*ListReplicationsRequest) ProtoMessage()func (*ListReplicationsRequest) ProtoReflect
func (x *ListReplicationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListReplicationsRequest) Reset
func (x *ListReplicationsRequest) Reset()func (*ListReplicationsRequest) String
func (x *ListReplicationsRequest) String() stringListReplicationsResponse
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() stringfunc (*ListReplicationsResponse) GetReplications
func (x *ListReplicationsResponse) GetReplications() []*Replicationfunc (*ListReplicationsResponse) GetUnreachable
func (x *ListReplicationsResponse) GetUnreachable() []stringfunc (*ListReplicationsResponse) ProtoMessage
func (*ListReplicationsResponse) ProtoMessage()func (*ListReplicationsResponse) ProtoReflect
func (x *ListReplicationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListReplicationsResponse) Reset
func (x *ListReplicationsResponse) Reset()func (*ListReplicationsResponse) String
func (x *ListReplicationsResponse) String() stringListSnapshotsRequest
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() stringfunc (*ListSnapshotsRequest) GetOrderBy
func (x *ListSnapshotsRequest) GetOrderBy() stringfunc (*ListSnapshotsRequest) GetPageSize
func (x *ListSnapshotsRequest) GetPageSize() int32func (*ListSnapshotsRequest) GetPageToken
func (x *ListSnapshotsRequest) GetPageToken() stringfunc (*ListSnapshotsRequest) GetParent
func (x *ListSnapshotsRequest) GetParent() stringfunc (*ListSnapshotsRequest) ProtoMessage
func (*ListSnapshotsRequest) ProtoMessage()func (*ListSnapshotsRequest) ProtoReflect
func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSnapshotsRequest) Reset
func (x *ListSnapshotsRequest) Reset()func (*ListSnapshotsRequest) String
func (x *ListSnapshotsRequest) String() stringListSnapshotsResponse
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() stringfunc (*ListSnapshotsResponse) GetSnapshots
func (x *ListSnapshotsResponse) GetSnapshots() []*Snapshotfunc (*ListSnapshotsResponse) GetUnreachable
func (x *ListSnapshotsResponse) GetUnreachable() []stringfunc (*ListSnapshotsResponse) ProtoMessage
func (*ListSnapshotsResponse) ProtoMessage()func (*ListSnapshotsResponse) ProtoReflect
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSnapshotsResponse) Reset
func (x *ListSnapshotsResponse) Reset()func (*ListSnapshotsResponse) String
func (x *ListSnapshotsResponse) String() stringListStoragePoolsRequest
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() stringfunc (*ListStoragePoolsRequest) GetOrderBy
func (x *ListStoragePoolsRequest) GetOrderBy() stringfunc (*ListStoragePoolsRequest) GetPageSize
func (x *ListStoragePoolsRequest) GetPageSize() int32func (*ListStoragePoolsRequest) GetPageToken
func (x *ListStoragePoolsRequest) GetPageToken() stringfunc (*ListStoragePoolsRequest) GetParent
func (x *ListStoragePoolsRequest) GetParent() stringfunc (*ListStoragePoolsRequest) ProtoMessage
func (*ListStoragePoolsRequest) ProtoMessage()func (*ListStoragePoolsRequest) ProtoReflect
func (x *ListStoragePoolsRequest) ProtoReflect() protoreflect.Messagefunc (*ListStoragePoolsRequest) Reset
func (x *ListStoragePoolsRequest) Reset()func (*ListStoragePoolsRequest) String
func (x *ListStoragePoolsRequest) String() stringListStoragePoolsResponse
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() stringfunc (*ListStoragePoolsResponse) GetStoragePools
func (x *ListStoragePoolsResponse) GetStoragePools() []*StoragePoolfunc (*ListStoragePoolsResponse) GetUnreachable
func (x *ListStoragePoolsResponse) GetUnreachable() []stringfunc (*ListStoragePoolsResponse) ProtoMessage
func (*ListStoragePoolsResponse) ProtoMessage()func (*ListStoragePoolsResponse) ProtoReflect
func (x *ListStoragePoolsResponse) ProtoReflect() protoreflect.Messagefunc (*ListStoragePoolsResponse) Reset
func (x *ListStoragePoolsResponse) Reset()func (*ListStoragePoolsResponse) String
func (x *ListStoragePoolsResponse) String() stringListVolumesRequest
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() stringfunc (*ListVolumesRequest) GetOrderBy
func (x *ListVolumesRequest) GetOrderBy() stringfunc (*ListVolumesRequest) GetPageSize
func (x *ListVolumesRequest) GetPageSize() int32func (*ListVolumesRequest) GetPageToken
func (x *ListVolumesRequest) GetPageToken() stringfunc (*ListVolumesRequest) GetParent
func (x *ListVolumesRequest) GetParent() stringfunc (*ListVolumesRequest) ProtoMessage
func (*ListVolumesRequest) ProtoMessage()func (*ListVolumesRequest) ProtoReflect
func (x *ListVolumesRequest) ProtoReflect() protoreflect.Messagefunc (*ListVolumesRequest) Reset
func (x *ListVolumesRequest) Reset()func (*ListVolumesRequest) String
func (x *ListVolumesRequest) String() stringListVolumesResponse
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() stringfunc (*ListVolumesResponse) GetUnreachable
func (x *ListVolumesResponse) GetUnreachable() []stringfunc (*ListVolumesResponse) GetVolumes
func (x *ListVolumesResponse) GetVolumes() []*Volumefunc (*ListVolumesResponse) ProtoMessage
func (*ListVolumesResponse) ProtoMessage()func (*ListVolumesResponse) ProtoReflect
func (x *ListVolumesResponse) ProtoReflect() protoreflect.Messagefunc (*ListVolumesResponse) Reset
func (x *ListVolumesResponse) Reset()func (*ListVolumesResponse) String
func (x *ListVolumesResponse) String() stringLocationMetadata
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"`
// Output only. Indicates if the location has VCP support.
HasVcp bool `protobuf:"varint,3,opt,name=has_vcp,json=hasVcp,proto3" json:"has_vcp,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) GetHasVcp
func (x *LocationMetadata) GetHasVcp() boolfunc (*LocationMetadata) GetSupportedFlexPerformance
func (x *LocationMetadata) GetSupportedFlexPerformance() []FlexPerformancefunc (*LocationMetadata) GetSupportedServiceLevels
func (x *LocationMetadata) GetSupportedServiceLevels() []ServiceLevelfunc (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Messagefunc (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()func (*LocationMetadata) String
func (x *LocationMetadata) String() stringMonthlySchedule
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() stringfunc (*MonthlySchedule) GetHour
func (x *MonthlySchedule) GetHour() float64func (*MonthlySchedule) GetMinute
func (x *MonthlySchedule) GetMinute() float64func (*MonthlySchedule) GetSnapshotsToKeep
func (x *MonthlySchedule) GetSnapshotsToKeep() float64func (*MonthlySchedule) ProtoMessage
func (*MonthlySchedule) ProtoMessage()func (*MonthlySchedule) ProtoReflect
func (x *MonthlySchedule) ProtoReflect() protoreflect.Messagefunc (*MonthlySchedule) Reset
func (x *MonthlySchedule) Reset()func (*MonthlySchedule) String
func (x *MonthlySchedule) String() stringMountOption
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() stringfunc (*MountOption) GetExportFull
func (x *MountOption) GetExportFull() stringfunc (*MountOption) GetInstructions
func (x *MountOption) GetInstructions() stringfunc (*MountOption) GetIpAddress
func (x *MountOption) GetIpAddress() stringfunc (*MountOption) GetProtocol
func (x *MountOption) GetProtocol() Protocolsfunc (*MountOption) ProtoMessage
func (*MountOption) ProtoMessage()func (*MountOption) ProtoReflect
func (x *MountOption) ProtoReflect() protoreflect.Messagefunc (*MountOption) Reset
func (x *MountOption) Reset()func (*MountOption) String
func (x *MountOption) String() stringNetAppClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNetAppClient
func NewNetAppClient(cc grpc.ClientConnInterface) NetAppClientNetAppServer
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. All implementations should embed UnimplementedNetAppServer for forward compatibility
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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringProtocols
type Protocols int32Protocols 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.EnumDescriptorfunc (Protocols) Enum
func (Protocols) EnumDescriptor
Deprecated: Use Protocols.Descriptor instead.
func (Protocols) Number
func (x Protocols) Number() protoreflect.EnumNumberfunc (Protocols) String
func (Protocols) Type
func (Protocols) Type() protoreflect.EnumTypeQosType
type QosType int32QoS (Quality of Service) Types of the storage pool
QosType_QOS_TYPE_UNSPECIFIED, QosType_AUTO, QosType_MANUAL
const (
// Unspecified QoS Type
QosType_QOS_TYPE_UNSPECIFIED QosType = 0
// QoS Type is Auto
QosType_AUTO QosType = 1
// QoS Type is Manual
QosType_MANUAL QosType = 2
)func (QosType) Descriptor
func (QosType) Descriptor() protoreflect.EnumDescriptorfunc (QosType) Enum
func (QosType) EnumDescriptor
Deprecated: Use QosType.Descriptor instead.
func (QosType) Number
func (x QosType) Number() protoreflect.EnumNumberfunc (QosType) String
func (QosType) Type
func (QosType) Type() protoreflect.EnumTypeQuotaRule
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.Timestampfunc (*QuotaRule) GetDescription
func (*QuotaRule) GetDiskLimitMib
func (*QuotaRule) GetLabels
func (*QuotaRule) GetName
func (*QuotaRule) GetState
func (x *QuotaRule) GetState() QuotaRule_Statefunc (*QuotaRule) GetStateDetails
func (*QuotaRule) GetTarget
func (*QuotaRule) GetType
func (x *QuotaRule) GetType() QuotaRule_Typefunc (*QuotaRule) ProtoMessage
func (*QuotaRule) ProtoMessage()func (*QuotaRule) ProtoReflect
func (x *QuotaRule) ProtoReflect() protoreflect.Messagefunc (*QuotaRule) Reset
func (x *QuotaRule) Reset()func (*QuotaRule) String
QuotaRule_State
type QuotaRule_State int32Quota 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.EnumDescriptorfunc (QuotaRule_State) Enum
func (x QuotaRule_State) Enum() *QuotaRule_Statefunc (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.EnumNumberfunc (QuotaRule_State) String
func (x QuotaRule_State) String() stringfunc (QuotaRule_State) Type
func (QuotaRule_State) Type() protoreflect.EnumTypeQuotaRule_Type
type QuotaRule_Type int32Types 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.EnumDescriptorfunc (QuotaRule_Type) Enum
func (x QuotaRule_Type) Enum() *QuotaRule_Typefunc (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.EnumNumberfunc (QuotaRule_Type) String
func (x QuotaRule_Type) String() stringfunc (QuotaRule_Type) Type
func (QuotaRule_Type) Type() protoreflect.EnumTypeReplication
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"`
// Output only. Copy pastable snapmirror commands to be executed on onprem
// cluster by the customer.
HybridReplicationUserCommands *UserCommands `protobuf:"bytes,20,opt,name=hybrid_replication_user_commands,json=hybridReplicationUserCommands,proto3" json:"hybrid_replication_user_commands,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() stringfunc (*Replication) GetCreateTime
func (x *Replication) GetCreateTime() *timestamppb.Timestampfunc (*Replication) GetDescription
func (x *Replication) GetDescription() stringfunc (*Replication) GetDestinationVolume
func (x *Replication) GetDestinationVolume() stringfunc (*Replication) GetDestinationVolumeParameters
func (x *Replication) GetDestinationVolumeParameters() *DestinationVolumeParametersfunc (*Replication) GetHealthy
func (x *Replication) GetHealthy() boolfunc (*Replication) GetHybridPeeringDetails
func (x *Replication) GetHybridPeeringDetails() *HybridPeeringDetailsfunc (*Replication) GetHybridReplicationType
func (x *Replication) GetHybridReplicationType() Replication_HybridReplicationTypefunc (*Replication) GetHybridReplicationUserCommands
func (x *Replication) GetHybridReplicationUserCommands() *UserCommandsfunc (*Replication) GetLabels
func (x *Replication) GetLabels() map[string]stringfunc (*Replication) GetMirrorState
func (x *Replication) GetMirrorState() Replication_MirrorStatefunc (*Replication) GetName
func (x *Replication) GetName() stringfunc (*Replication) GetReplicationSchedule
func (x *Replication) GetReplicationSchedule() Replication_ReplicationSchedulefunc (*Replication) GetRole
func (x *Replication) GetRole() Replication_ReplicationRolefunc (*Replication) GetSourceVolume
func (x *Replication) GetSourceVolume() stringfunc (*Replication) GetState
func (x *Replication) GetState() Replication_Statefunc (*Replication) GetStateDetails
func (x *Replication) GetStateDetails() stringfunc (*Replication) GetTransferStats
func (x *Replication) GetTransferStats() *TransferStatsfunc (*Replication) ProtoMessage
func (*Replication) ProtoMessage()func (*Replication) ProtoReflect
func (x *Replication) ProtoReflect() protoreflect.Messagefunc (*Replication) Reset
func (x *Replication) Reset()func (*Replication) String
func (x *Replication) String() stringReplication_HybridReplicationType
type Replication_HybridReplicationType int32Hybrid replication type.
Replication_HYBRID_REPLICATION_TYPE_UNSPECIFIED, Replication_MIGRATION, Replication_CONTINUOUS_REPLICATION, Replication_ONPREM_REPLICATION, Replication_REVERSE_ONPREM_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
// New field for reversible OnPrem replication, to be used for data
// protection.
Replication_ONPREM_REPLICATION Replication_HybridReplicationType = 3
// Hybrid replication type for incremental Transfer in the reverse direction
// (GCNV is source and Onprem is destination)
Replication_REVERSE_ONPREM_REPLICATION Replication_HybridReplicationType = 4
)func (Replication_HybridReplicationType) Descriptor
func (Replication_HybridReplicationType) Descriptor() protoreflect.EnumDescriptorfunc (Replication_HybridReplicationType) Enum
func (x Replication_HybridReplicationType) Enum() *Replication_HybridReplicationTypefunc (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.EnumNumberfunc (Replication_HybridReplicationType) String
func (x Replication_HybridReplicationType) String() stringfunc (Replication_HybridReplicationType) Type
func (Replication_HybridReplicationType) Type() protoreflect.EnumTypeReplication_MirrorState
type Replication_MirrorState int32Mirroring 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, Replication_EXTERNALLY_MANAGED, Replication_PENDING_PEERING
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
// Replication is being managed from Onprem ONTAP.
Replication_EXTERNALLY_MANAGED Replication_MirrorState = 7
// Peering is yet to be established.
Replication_PENDING_PEERING Replication_MirrorState = 8
)func (Replication_MirrorState) Descriptor
func (Replication_MirrorState) Descriptor() protoreflect.EnumDescriptorfunc (Replication_MirrorState) Enum
func (x Replication_MirrorState) Enum() *Replication_MirrorStatefunc (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.EnumNumberfunc (Replication_MirrorState) String
func (x Replication_MirrorState) String() stringfunc (Replication_MirrorState) Type
func (Replication_MirrorState) Type() protoreflect.EnumTypeReplication_ReplicationRole
type Replication_ReplicationRole int32New 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.EnumDescriptorfunc (Replication_ReplicationRole) Enum
func (x Replication_ReplicationRole) Enum() *Replication_ReplicationRolefunc (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.EnumNumberfunc (Replication_ReplicationRole) String
func (x Replication_ReplicationRole) String() stringfunc (Replication_ReplicationRole) Type
func (Replication_ReplicationRole) Type() protoreflect.EnumTypeReplication_ReplicationSchedule
type Replication_ReplicationSchedule int32Schedule 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.EnumDescriptorfunc (Replication_ReplicationSchedule) Enum
func (x Replication_ReplicationSchedule) Enum() *Replication_ReplicationSchedulefunc (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.EnumNumberfunc (Replication_ReplicationSchedule) String
func (x Replication_ReplicationSchedule) String() stringfunc (Replication_ReplicationSchedule) Type
func (Replication_ReplicationSchedule) Type() protoreflect.EnumTypeReplication_State
type Replication_State int32The 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, Replication_PENDING_REMOTE_RESYNC, Replication_EXTERNALLY_MANAGED_REPLICATION
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
// Replication is waiting for Commands to be executed on Onprem ONTAP.
Replication_PENDING_REMOTE_RESYNC Replication_State = 10
// Onprem ONTAP is destination and Replication can only be managed from
// Onprem.
Replication_EXTERNALLY_MANAGED_REPLICATION Replication_State = 11
)func (Replication_State) Descriptor
func (Replication_State) Descriptor() protoreflect.EnumDescriptorfunc (Replication_State) Enum
func (x Replication_State) Enum() *Replication_Statefunc (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.EnumNumberfunc (Replication_State) String
func (x Replication_State) String() stringfunc (Replication_State) Type
func (Replication_State) Type() protoreflect.EnumTypeRestoreParameters
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_Sourcefunc (*RestoreParameters) GetSourceBackup
func (x *RestoreParameters) GetSourceBackup() stringfunc (*RestoreParameters) GetSourceSnapshot
func (x *RestoreParameters) GetSourceSnapshot() stringfunc (*RestoreParameters) ProtoMessage
func (*RestoreParameters) ProtoMessage()func (*RestoreParameters) ProtoReflect
func (x *RestoreParameters) ProtoReflect() protoreflect.Messagefunc (*RestoreParameters) Reset
func (x *RestoreParameters) Reset()func (*RestoreParameters) String
func (x *RestoreParameters) String() stringRestoreParameters_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 int32Actions 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.EnumDescriptorfunc (RestrictedAction) Enum
func (x RestrictedAction) Enum() *RestrictedActionfunc (RestrictedAction) EnumDescriptor
func (RestrictedAction) EnumDescriptor() ([]byte, []int)Deprecated: Use RestrictedAction.Descriptor instead.
func (RestrictedAction) Number
func (x RestrictedAction) Number() protoreflect.EnumNumberfunc (RestrictedAction) String
func (x RestrictedAction) String() stringfunc (RestrictedAction) Type
func (RestrictedAction) Type() protoreflect.EnumTypeResumeReplicationRequest
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() stringfunc (*ResumeReplicationRequest) ProtoMessage
func (*ResumeReplicationRequest) ProtoMessage()func (*ResumeReplicationRequest) ProtoReflect
func (x *ResumeReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*ResumeReplicationRequest) Reset
func (x *ResumeReplicationRequest) Reset()func (*ResumeReplicationRequest) String
func (x *ResumeReplicationRequest) String() stringReverseReplicationDirectionRequest
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() stringfunc (*ReverseReplicationDirectionRequest) ProtoMessage
func (*ReverseReplicationDirectionRequest) ProtoMessage()func (*ReverseReplicationDirectionRequest) ProtoReflect
func (x *ReverseReplicationDirectionRequest) ProtoReflect() protoreflect.Messagefunc (*ReverseReplicationDirectionRequest) Reset
func (x *ReverseReplicationDirectionRequest) Reset()func (*ReverseReplicationDirectionRequest) String
func (x *ReverseReplicationDirectionRequest) String() stringRevertVolumeRequest
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() stringfunc (*RevertVolumeRequest) GetSnapshotId
func (x *RevertVolumeRequest) GetSnapshotId() stringfunc (*RevertVolumeRequest) ProtoMessage
func (*RevertVolumeRequest) ProtoMessage()func (*RevertVolumeRequest) ProtoReflect
func (x *RevertVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*RevertVolumeRequest) Reset
func (x *RevertVolumeRequest) Reset()func (*RevertVolumeRequest) String
func (x *RevertVolumeRequest) String() stringSMBSettings
type SMBSettings int32SMBSettings 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.EnumDescriptorfunc (SMBSettings) Enum
func (x SMBSettings) Enum() *SMBSettingsfunc (SMBSettings) EnumDescriptor
func (SMBSettings) EnumDescriptor() ([]byte, []int)Deprecated: Use SMBSettings.Descriptor instead.
func (SMBSettings) Number
func (x SMBSettings) Number() protoreflect.EnumNumberfunc (SMBSettings) String
func (x SMBSettings) String() stringfunc (SMBSettings) Type
func (SMBSettings) Type() protoreflect.EnumTypeSecurityStyle
type SecurityStyle int32The 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.EnumDescriptorfunc (SecurityStyle) Enum
func (x SecurityStyle) Enum() *SecurityStylefunc (SecurityStyle) EnumDescriptor
func (SecurityStyle) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityStyle.Descriptor instead.
func (SecurityStyle) Number
func (x SecurityStyle) Number() protoreflect.EnumNumberfunc (SecurityStyle) String
func (x SecurityStyle) String() stringfunc (SecurityStyle) Type
func (SecurityStyle) Type() protoreflect.EnumTypeServiceLevel
type ServiceLevel int32The 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.EnumDescriptorfunc (ServiceLevel) Enum
func (x ServiceLevel) Enum() *ServiceLevelfunc (ServiceLevel) EnumDescriptor
func (ServiceLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceLevel.Descriptor instead.
func (ServiceLevel) Number
func (x ServiceLevel) Number() protoreflect.EnumNumberfunc (ServiceLevel) String
func (x ServiceLevel) String() stringfunc (ServiceLevel) Type
func (ServiceLevel) Type() protoreflect.EnumTypeSimpleExportPolicyRule
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() AccessTypefunc (*SimpleExportPolicyRule) GetAllowedClients
func (x *SimpleExportPolicyRule) GetAllowedClients() stringfunc (*SimpleExportPolicyRule) GetHasRootAccess
func (x *SimpleExportPolicyRule) GetHasRootAccess() stringfunc (*SimpleExportPolicyRule) GetKerberos_5IReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5IReadOnly() boolfunc (*SimpleExportPolicyRule) GetKerberos_5IReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5IReadWrite() boolfunc (*SimpleExportPolicyRule) GetKerberos_5PReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5PReadOnly() boolfunc (*SimpleExportPolicyRule) GetKerberos_5PReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5PReadWrite() boolfunc (*SimpleExportPolicyRule) GetKerberos_5ReadOnly
func (x *SimpleExportPolicyRule) GetKerberos_5ReadOnly() boolfunc (*SimpleExportPolicyRule) GetKerberos_5ReadWrite
func (x *SimpleExportPolicyRule) GetKerberos_5ReadWrite() boolfunc (*SimpleExportPolicyRule) GetNfsv3
func (x *SimpleExportPolicyRule) GetNfsv3() boolfunc (*SimpleExportPolicyRule) GetNfsv4
func (x *SimpleExportPolicyRule) GetNfsv4() boolfunc (*SimpleExportPolicyRule) ProtoMessage
func (*SimpleExportPolicyRule) ProtoMessage()func (*SimpleExportPolicyRule) ProtoReflect
func (x *SimpleExportPolicyRule) ProtoReflect() protoreflect.Messagefunc (*SimpleExportPolicyRule) Reset
func (x *SimpleExportPolicyRule) Reset()func (*SimpleExportPolicyRule) String
func (x *SimpleExportPolicyRule) String() stringSnapshot
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.Timestampfunc (*Snapshot) GetDescription
func (*Snapshot) GetLabels
func (*Snapshot) GetName
func (*Snapshot) GetState
func (x *Snapshot) GetState() Snapshot_Statefunc (*Snapshot) GetStateDetails
func (*Snapshot) GetUsedBytes
func (*Snapshot) ProtoMessage
func (*Snapshot) ProtoMessage()func (*Snapshot) ProtoReflect
func (x *Snapshot) ProtoReflect() protoreflect.Messagefunc (*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() *DailySchedulefunc (*SnapshotPolicy) GetEnabled
func (x *SnapshotPolicy) GetEnabled() boolfunc (*SnapshotPolicy) GetHourlySchedule
func (x *SnapshotPolicy) GetHourlySchedule() *HourlySchedulefunc (*SnapshotPolicy) GetMonthlySchedule
func (x *SnapshotPolicy) GetMonthlySchedule() *MonthlySchedulefunc (*SnapshotPolicy) GetWeeklySchedule
func (x *SnapshotPolicy) GetWeeklySchedule() *WeeklySchedulefunc (*SnapshotPolicy) ProtoMessage
func (*SnapshotPolicy) ProtoMessage()func (*SnapshotPolicy) ProtoReflect
func (x *SnapshotPolicy) ProtoReflect() protoreflect.Messagefunc (*SnapshotPolicy) Reset
func (x *SnapshotPolicy) Reset()func (*SnapshotPolicy) String
func (x *SnapshotPolicy) String() stringSnapshot_State
type Snapshot_State int32The 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.EnumDescriptorfunc (Snapshot_State) Enum
func (x Snapshot_State) Enum() *Snapshot_Statefunc (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.EnumNumberfunc (Snapshot_State) String
func (x Snapshot_State) String() stringfunc (Snapshot_State) Type
func (Snapshot_State) Type() protoreflect.EnumTypeStopReplicationRequest
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() boolfunc (*StopReplicationRequest) GetName
func (x *StopReplicationRequest) GetName() stringfunc (*StopReplicationRequest) ProtoMessage
func (*StopReplicationRequest) ProtoMessage()func (*StopReplicationRequest) ProtoReflect
func (x *StopReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*StopReplicationRequest) Reset
func (x *StopReplicationRequest) Reset()func (*StopReplicationRequest) String
func (x *StopReplicationRequest) String() stringStoragePool
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"`
// Optional. True if using Independent Scaling of capacity and performance
// (Hyperdisk) By default set to false
CustomPerformanceEnabled bool `protobuf:"varint,25,opt,name=custom_performance_enabled,json=customPerformanceEnabled,proto3" json:"custom_performance_enabled,omitempty"`
// Optional. Custom Performance Total Throughput of the pool (in MiBps)
TotalThroughputMibps int64 `protobuf:"varint,26,opt,name=total_throughput_mibps,json=totalThroughputMibps,proto3" json:"total_throughput_mibps,omitempty"`
// Optional. Custom Performance Total IOPS of the pool
// if not provided, it will be calculated based on the total_throughput_mibps
TotalIops int64 `protobuf:"varint,27,opt,name=total_iops,json=totalIops,proto3" json:"total_iops,omitempty"`
// Optional. Total hot tier capacity for the Storage Pool. It is applicable
// only to Flex service level. It should be less than the minimum storage pool
// size and cannot be more than the current storage pool size. It cannot be
// decreased once set.
HotTierSizeGib int64 `protobuf:"varint,28,opt,name=hot_tier_size_gib,json=hotTierSizeGib,proto3" json:"hot_tier_size_gib,omitempty"`
// Optional. Flag indicating that the hot-tier threshold will be
// auto-increased by 10% of the hot-tier when it hits 100%. Default is true.
// The increment will kick in only if the new size after increment is
// still less than or equal to storage pool size.
EnableHotTierAutoResize *bool `protobuf:"varint,29,opt,name=enable_hot_tier_auto_resize,json=enableHotTierAutoResize,proto3,oneof" json:"enable_hot_tier_auto_resize,omitempty"`
// Optional. QoS (Quality of Service) Type of the storage pool
QosType QosType `protobuf:"varint,30,opt,name=qos_type,json=qosType,proto3,enum=google.cloud.netapp.v1.QosType" json:"qos_type,omitempty"`
// Output only. Available throughput of the storage pool (in MiB/s).
AvailableThroughputMibps float64 `protobuf:"fixed64,31,opt,name=available_throughput_mibps,json=availableThroughputMibps,proto3" json:"available_throughput_mibps,omitempty"`
// Output only. Total cold tier data rounded down to the nearest GiB used by
// the storage pool.
ColdTierSizeUsedGib int64 `protobuf:"varint,33,opt,name=cold_tier_size_used_gib,json=coldTierSizeUsedGib,proto3" json:"cold_tier_size_used_gib,omitempty"`
// Output only. Total hot tier data rounded down to the nearest GiB used by
// the storage pool.
HotTierSizeUsedGib int64 `protobuf:"varint,34,opt,name=hot_tier_size_used_gib,json=hotTierSizeUsedGib,proto3" json:"hot_tier_size_used_gib,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() stringfunc (*StoragePool) GetAllowAutoTiering
func (x *StoragePool) GetAllowAutoTiering() boolfunc (*StoragePool) GetAvailableThroughputMibps
func (x *StoragePool) GetAvailableThroughputMibps() float64func (*StoragePool) GetCapacityGib
func (x *StoragePool) GetCapacityGib() int64func (*StoragePool) GetColdTierSizeUsedGib
func (x *StoragePool) GetColdTierSizeUsedGib() int64func (*StoragePool) GetCreateTime
func (x *StoragePool) GetCreateTime() *timestamppb.Timestampfunc (*StoragePool) GetCustomPerformanceEnabled
func (x *StoragePool) GetCustomPerformanceEnabled() boolfunc (*StoragePool) GetDescription
func (x *StoragePool) GetDescription() stringfunc (*StoragePool) GetEnableHotTierAutoResize
func (x *StoragePool) GetEnableHotTierAutoResize() boolfunc (*StoragePool) GetEncryptionType
func (x *StoragePool) GetEncryptionType() EncryptionTypefunc (*StoragePool) GetGlobalAccessAllowed
func (x *StoragePool) GetGlobalAccessAllowed() boolDeprecated: Marked as deprecated in google/cloud/netapp/v1/storage_pool.proto.
func (*StoragePool) GetHotTierSizeGib
func (x *StoragePool) GetHotTierSizeGib() int64func (*StoragePool) GetHotTierSizeUsedGib
func (x *StoragePool) GetHotTierSizeUsedGib() int64func (*StoragePool) GetKmsConfig
func (x *StoragePool) GetKmsConfig() stringfunc (*StoragePool) GetLabels
func (x *StoragePool) GetLabels() map[string]stringfunc (*StoragePool) GetLdapEnabled
func (x *StoragePool) GetLdapEnabled() boolfunc (*StoragePool) GetName
func (x *StoragePool) GetName() stringfunc (*StoragePool) GetNetwork
func (x *StoragePool) GetNetwork() stringfunc (*StoragePool) GetPsaRange
func (x *StoragePool) GetPsaRange() stringfunc (*StoragePool) GetQosType
func (x *StoragePool) GetQosType() QosTypefunc (*StoragePool) GetReplicaZone
func (x *StoragePool) GetReplicaZone() stringfunc (*StoragePool) GetSatisfiesPzi
func (x *StoragePool) GetSatisfiesPzi() boolfunc (*StoragePool) GetSatisfiesPzs
func (x *StoragePool) GetSatisfiesPzs() boolfunc (*StoragePool) GetServiceLevel
func (x *StoragePool) GetServiceLevel() ServiceLevelfunc (*StoragePool) GetState
func (x *StoragePool) GetState() StoragePool_Statefunc (*StoragePool) GetStateDetails
func (x *StoragePool) GetStateDetails() stringfunc (*StoragePool) GetTotalIops
func (x *StoragePool) GetTotalIops() int64func (*StoragePool) GetTotalThroughputMibps
func (x *StoragePool) GetTotalThroughputMibps() int64func (*StoragePool) GetVolumeCapacityGib
func (x *StoragePool) GetVolumeCapacityGib() int64func (*StoragePool) GetVolumeCount
func (x *StoragePool) GetVolumeCount() int32func (*StoragePool) GetZone
func (x *StoragePool) GetZone() stringfunc (*StoragePool) ProtoMessage
func (*StoragePool) ProtoMessage()func (*StoragePool) ProtoReflect
func (x *StoragePool) ProtoReflect() protoreflect.Messagefunc (*StoragePool) Reset
func (x *StoragePool) Reset()func (*StoragePool) String
func (x *StoragePool) String() stringStoragePool_State
type StoragePool_State int32The 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.EnumDescriptorfunc (StoragePool_State) Enum
func (x StoragePool_State) Enum() *StoragePool_Statefunc (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.EnumNumberfunc (StoragePool_State) String
func (x StoragePool_State) String() stringfunc (StoragePool_State) Type
func (StoragePool_State) Type() protoreflect.EnumTypeSwitchActiveReplicaZoneRequest
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() stringfunc (*SwitchActiveReplicaZoneRequest) ProtoMessage
func (*SwitchActiveReplicaZoneRequest) ProtoMessage()func (*SwitchActiveReplicaZoneRequest) ProtoReflect
func (x *SwitchActiveReplicaZoneRequest) ProtoReflect() protoreflect.Messagefunc (*SwitchActiveReplicaZoneRequest) Reset
func (x *SwitchActiveReplicaZoneRequest) Reset()func (*SwitchActiveReplicaZoneRequest) String
func (x *SwitchActiveReplicaZoneRequest) String() stringSyncReplicationRequest
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() stringfunc (*SyncReplicationRequest) ProtoMessage
func (*SyncReplicationRequest) ProtoMessage()func (*SyncReplicationRequest) ProtoReflect
func (x *SyncReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*SyncReplicationRequest) Reset
func (x *SyncReplicationRequest) Reset()func (*SyncReplicationRequest) String
func (x *SyncReplicationRequest) String() stringTieringPolicy
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 2-183. Default is 31.
CoolingThresholdDays *int32 `protobuf:"varint,2,opt,name=cooling_threshold_days,json=coolingThresholdDays,proto3,oneof" json:"cooling_threshold_days,omitempty"`
// Optional. Flag indicating that the hot tier bypass mode is enabled. Default
// is false. This is only applicable to Flex service level.
HotTierBypassModeEnabled *bool `protobuf:"varint,3,opt,name=hot_tier_bypass_mode_enabled,json=hotTierBypassModeEnabled,proto3,oneof" json:"hot_tier_bypass_mode_enabled,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() int32func (*TieringPolicy) GetHotTierBypassModeEnabled
func (x *TieringPolicy) GetHotTierBypassModeEnabled() boolfunc (*TieringPolicy) GetTierAction
func (x *TieringPolicy) GetTierAction() TieringPolicy_TierActionfunc (*TieringPolicy) ProtoMessage
func (*TieringPolicy) ProtoMessage()func (*TieringPolicy) ProtoReflect
func (x *TieringPolicy) ProtoReflect() protoreflect.Messagefunc (*TieringPolicy) Reset
func (x *TieringPolicy) Reset()func (*TieringPolicy) String
func (x *TieringPolicy) String() stringTieringPolicy_TierAction
type TieringPolicy_TierAction int32Tier 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.EnumDescriptorfunc (TieringPolicy_TierAction) Enum
func (x TieringPolicy_TierAction) Enum() *TieringPolicy_TierActionfunc (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.EnumNumberfunc (TieringPolicy_TierAction) String
func (x TieringPolicy_TierAction) String() stringfunc (TieringPolicy_TierAction) Type
func (TieringPolicy_TierAction) Type() protoreflect.EnumTypeTransferStats
type TransferStats struct {
// Cumulative bytes transferred so far for the replication relationship.
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.Durationfunc (*TransferStats) GetLastTransferBytes
func (x *TransferStats) GetLastTransferBytes() int64func (*TransferStats) GetLastTransferDuration
func (x *TransferStats) GetLastTransferDuration() *durationpb.Durationfunc (*TransferStats) GetLastTransferEndTime
func (x *TransferStats) GetLastTransferEndTime() *timestamppb.Timestampfunc (*TransferStats) GetLastTransferError
func (x *TransferStats) GetLastTransferError() stringfunc (*TransferStats) GetTotalTransferDuration
func (x *TransferStats) GetTotalTransferDuration() *durationpb.Durationfunc (*TransferStats) GetTransferBytes
func (x *TransferStats) GetTransferBytes() int64func (*TransferStats) GetUpdateTime
func (x *TransferStats) GetUpdateTime() *timestamppb.Timestampfunc (*TransferStats) ProtoMessage
func (*TransferStats) ProtoMessage()func (*TransferStats) ProtoReflect
func (x *TransferStats) ProtoReflect() protoreflect.Messagefunc (*TransferStats) Reset
func (x *TransferStats) Reset()func (*TransferStats) String
func (x *TransferStats) String() stringUnimplementedNetAppServer
type UnimplementedNetAppServer struct {
}UnimplementedNetAppServer should 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)UnsafeNetAppServer
type UnsafeNetAppServer interface {
// contains filtered or unexported methods
}UnsafeNetAppServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetAppServer will result in compilation errors.
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() *ActiveDirectoryfunc (*UpdateActiveDirectoryRequest) GetUpdateMask
func (x *UpdateActiveDirectoryRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateActiveDirectoryRequest) ProtoMessage
func (*UpdateActiveDirectoryRequest) ProtoMessage()func (*UpdateActiveDirectoryRequest) ProtoReflect
func (x *UpdateActiveDirectoryRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateActiveDirectoryRequest) Reset
func (x *UpdateActiveDirectoryRequest) Reset()func (*UpdateActiveDirectoryRequest) String
func (x *UpdateActiveDirectoryRequest) String() stringUpdateBackupPolicyRequest
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() *BackupPolicyfunc (*UpdateBackupPolicyRequest) GetUpdateMask
func (x *UpdateBackupPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupPolicyRequest) ProtoMessage
func (*UpdateBackupPolicyRequest) ProtoMessage()func (*UpdateBackupPolicyRequest) ProtoReflect
func (x *UpdateBackupPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupPolicyRequest) Reset
func (x *UpdateBackupPolicyRequest) Reset()func (*UpdateBackupPolicyRequest) String
func (x *UpdateBackupPolicyRequest) String() stringUpdateBackupRequest
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() *Backupfunc (*UpdateBackupRequest) GetUpdateMask
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupRequest) ProtoMessage
func (*UpdateBackupRequest) ProtoMessage()func (*UpdateBackupRequest) ProtoReflect
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupRequest) Reset
func (x *UpdateBackupRequest) Reset()func (*UpdateBackupRequest) String
func (x *UpdateBackupRequest) String() stringUpdateBackupVaultRequest
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() *BackupVaultfunc (*UpdateBackupVaultRequest) GetUpdateMask
func (x *UpdateBackupVaultRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupVaultRequest) ProtoMessage
func (*UpdateBackupVaultRequest) ProtoMessage()func (*UpdateBackupVaultRequest) ProtoReflect
func (x *UpdateBackupVaultRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupVaultRequest) Reset
func (x *UpdateBackupVaultRequest) Reset()func (*UpdateBackupVaultRequest) String
func (x *UpdateBackupVaultRequest) String() stringUpdateKmsConfigRequest
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() *KmsConfigfunc (*UpdateKmsConfigRequest) GetUpdateMask
func (x *UpdateKmsConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateKmsConfigRequest) ProtoMessage
func (*UpdateKmsConfigRequest) ProtoMessage()func (*UpdateKmsConfigRequest) ProtoReflect
func (x *UpdateKmsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateKmsConfigRequest) Reset
func (x *UpdateKmsConfigRequest) Reset()func (*UpdateKmsConfigRequest) String
func (x *UpdateKmsConfigRequest) String() stringUpdateQuotaRuleRequest
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() *QuotaRulefunc (*UpdateQuotaRuleRequest) GetUpdateMask
func (x *UpdateQuotaRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateQuotaRuleRequest) ProtoMessage
func (*UpdateQuotaRuleRequest) ProtoMessage()func (*UpdateQuotaRuleRequest) ProtoReflect
func (x *UpdateQuotaRuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateQuotaRuleRequest) Reset
func (x *UpdateQuotaRuleRequest) Reset()func (*UpdateQuotaRuleRequest) String
func (x *UpdateQuotaRuleRequest) String() stringUpdateReplicationRequest
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() *Replicationfunc (*UpdateReplicationRequest) GetUpdateMask
func (x *UpdateReplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateReplicationRequest) ProtoMessage
func (*UpdateReplicationRequest) ProtoMessage()func (*UpdateReplicationRequest) ProtoReflect
func (x *UpdateReplicationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateReplicationRequest) Reset
func (x *UpdateReplicationRequest) Reset()func (*UpdateReplicationRequest) String
func (x *UpdateReplicationRequest) String() stringUpdateSnapshotRequest
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() *Snapshotfunc (*UpdateSnapshotRequest) GetUpdateMask
func (x *UpdateSnapshotRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSnapshotRequest) ProtoMessage
func (*UpdateSnapshotRequest) ProtoMessage()func (*UpdateSnapshotRequest) ProtoReflect
func (x *UpdateSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSnapshotRequest) Reset
func (x *UpdateSnapshotRequest) Reset()func (*UpdateSnapshotRequest) String
func (x *UpdateSnapshotRequest) String() stringUpdateStoragePoolRequest
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() *StoragePoolfunc (*UpdateStoragePoolRequest) GetUpdateMask
func (x *UpdateStoragePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateStoragePoolRequest) ProtoMessage
func (*UpdateStoragePoolRequest) ProtoMessage()func (*UpdateStoragePoolRequest) ProtoReflect
func (x *UpdateStoragePoolRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateStoragePoolRequest) Reset
func (x *UpdateStoragePoolRequest) Reset()func (*UpdateStoragePoolRequest) String
func (x *UpdateStoragePoolRequest) String() stringUpdateVolumeRequest
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.FieldMaskfunc (*UpdateVolumeRequest) GetVolume
func (x *UpdateVolumeRequest) GetVolume() *Volumefunc (*UpdateVolumeRequest) ProtoMessage
func (*UpdateVolumeRequest) ProtoMessage()func (*UpdateVolumeRequest) ProtoReflect
func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateVolumeRequest) Reset
func (x *UpdateVolumeRequest) Reset()func (*UpdateVolumeRequest) String
func (x *UpdateVolumeRequest) String() stringUserCommands
type UserCommands struct {
// Output only. List of commands to be executed by the customer.
Commands []string `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
// contains filtered or unexported fields
}UserCommands contains the commands to be executed by the customer.
func (*UserCommands) Descriptor
func (*UserCommands) Descriptor() ([]byte, []int)Deprecated: Use UserCommands.ProtoReflect.Descriptor instead.
func (*UserCommands) GetCommands
func (x *UserCommands) GetCommands() []stringfunc (*UserCommands) ProtoMessage
func (*UserCommands) ProtoMessage()func (*UserCommands) ProtoReflect
func (x *UserCommands) ProtoReflect() protoreflect.Messagefunc (*UserCommands) Reset
func (x *UserCommands) Reset()func (*UserCommands) String
func (x *UserCommands) String() stringValidateDirectoryServiceRequest
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() DirectoryServiceTypefunc (*ValidateDirectoryServiceRequest) GetName
func (x *ValidateDirectoryServiceRequest) GetName() stringfunc (*ValidateDirectoryServiceRequest) ProtoMessage
func (*ValidateDirectoryServiceRequest) ProtoMessage()func (*ValidateDirectoryServiceRequest) ProtoReflect
func (x *ValidateDirectoryServiceRequest) ProtoReflect() protoreflect.Messagefunc (*ValidateDirectoryServiceRequest) Reset
func (x *ValidateDirectoryServiceRequest) Reset()func (*ValidateDirectoryServiceRequest) String
func (x *ValidateDirectoryServiceRequest) String() stringVerifyKmsConfigRequest
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() stringfunc (*VerifyKmsConfigRequest) ProtoMessage
func (*VerifyKmsConfigRequest) ProtoMessage()func (*VerifyKmsConfigRequest) ProtoReflect
func (x *VerifyKmsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*VerifyKmsConfigRequest) Reset
func (x *VerifyKmsConfigRequest) Reset()func (*VerifyKmsConfigRequest) String
func (x *VerifyKmsConfigRequest) String() stringVerifyKmsConfigResponse
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() stringfunc (*VerifyKmsConfigResponse) GetHealthy
func (x *VerifyKmsConfigResponse) GetHealthy() boolfunc (*VerifyKmsConfigResponse) GetInstructions
func (x *VerifyKmsConfigResponse) GetInstructions() stringfunc (*VerifyKmsConfigResponse) ProtoMessage
func (*VerifyKmsConfigResponse) ProtoMessage()func (*VerifyKmsConfigResponse) ProtoReflect
func (x *VerifyKmsConfigResponse) ProtoReflect() protoreflect.Messagefunc (*VerifyKmsConfigResponse) Reset
func (x *VerifyKmsConfigResponse) Reset()func (*VerifyKmsConfigResponse) String
func (x *VerifyKmsConfigResponse) String() stringVolume
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 rounded down to the nearest
// 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"`
// Optional. Throughput of the volume (in MiB/s)
ThroughputMibps float64 `protobuf:"fixed64,41,opt,name=throughput_mibps,json=throughputMibps,proto3" json:"throughput_mibps,omitempty"`
// Output only. Total hot tier data rounded down to the nearest GiB used by
// the Volume. This field is only used for flex Service Level
HotTierSizeUsedGib int64 `protobuf:"varint,44,opt,name=hot_tier_size_used_gib,json=hotTierSizeUsedGib,proto3" json:"hot_tier_size_used_gib,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() *BackupConfigfunc (*Volume) GetCapacityGib
func (*Volume) GetColdTierSizeGib
func (*Volume) GetCreateTime
func (x *Volume) GetCreateTime() *timestamppb.Timestampfunc (*Volume) GetDescription
func (*Volume) GetEncryptionType
func (x *Volume) GetEncryptionType() EncryptionTypefunc (*Volume) GetExportPolicy
func (x *Volume) GetExportPolicy() *ExportPolicyfunc (*Volume) GetHasReplication
func (*Volume) GetHotTierSizeUsedGib
func (*Volume) GetHybridReplicationParameters
func (x *Volume) GetHybridReplicationParameters() *HybridReplicationParametersfunc (*Volume) GetKerberosEnabled
func (*Volume) GetKmsConfig
func (*Volume) GetLabels
func (*Volume) GetLargeCapacity
func (*Volume) GetLdapEnabled
func (*Volume) GetMountOptions
func (x *Volume) GetMountOptions() []*MountOptionfunc (*Volume) GetMultipleEndpoints
func (*Volume) GetName
func (*Volume) GetNetwork
func (*Volume) GetProtocols
func (*Volume) GetPsaRange
func (*Volume) GetReplicaZone
func (*Volume) GetRestoreParameters
func (x *Volume) GetRestoreParameters() *RestoreParametersfunc (*Volume) GetRestrictedActions
func (x *Volume) GetRestrictedActions() []RestrictedActionfunc (*Volume) GetSecurityStyle
func (x *Volume) GetSecurityStyle() SecurityStylefunc (*Volume) GetServiceLevel
func (x *Volume) GetServiceLevel() ServiceLevelfunc (*Volume) GetShareName
func (*Volume) GetSmbSettings
func (x *Volume) GetSmbSettings() []SMBSettingsfunc (*Volume) GetSnapReserve
func (*Volume) GetSnapshotDirectory
func (*Volume) GetSnapshotPolicy
func (x *Volume) GetSnapshotPolicy() *SnapshotPolicyfunc (*Volume) GetState
func (x *Volume) GetState() Volume_Statefunc (*Volume) GetStateDetails
func (*Volume) GetStoragePool
func (*Volume) GetThroughputMibps
func (*Volume) GetTieringPolicy
func (x *Volume) GetTieringPolicy() *TieringPolicyfunc (*Volume) GetUnixPermissions
func (*Volume) GetUsedGib
func (*Volume) GetZone
func (*Volume) ProtoMessage
func (*Volume) ProtoMessage()func (*Volume) ProtoReflect
func (x *Volume) ProtoReflect() protoreflect.Messagefunc (*Volume) Reset
func (x *Volume) Reset()func (*Volume) String
Volume_State
type Volume_State int32The 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.EnumDescriptorfunc (Volume_State) Enum
func (x Volume_State) Enum() *Volume_Statefunc (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.EnumNumberfunc (Volume_State) String
func (x Volume_State) String() stringfunc (Volume_State) Type
func (Volume_State) Type() protoreflect.EnumTypeWeeklySchedule
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() stringfunc (*WeeklySchedule) GetHour
func (x *WeeklySchedule) GetHour() float64func (*WeeklySchedule) GetMinute
func (x *WeeklySchedule) GetMinute() float64func (*WeeklySchedule) GetSnapshotsToKeep
func (x *WeeklySchedule) GetSnapshotsToKeep() float64func (*WeeklySchedule) ProtoMessage
func (*WeeklySchedule) ProtoMessage()func (*WeeklySchedule) ProtoReflect
func (x *WeeklySchedule) ProtoReflect() protoreflect.Messagefunc (*WeeklySchedule) Reset
func (x *WeeklySchedule) Reset()func (*WeeklySchedule) String
func (x *WeeklySchedule) String() string