Class NetAppConnection (2.21.0)

This interface defines virtual methods for each of the user-facing overload sets in NetAppClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type NetAppClient.

To create a concrete instance, see MakeNetAppConnection().

For mocking, see netapp_v1_mocks::MockNetAppConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListStoragePools(google::cloud::netapp::v1::ListStoragePoolsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListStoragePoolsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::StoragePool >

virtual CreateStoragePool(google::cloud::netapp::v1::CreateStoragePoolRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateStoragePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::StoragePool > >

virtual GetStoragePool(google::cloud::netapp::v1::GetStoragePoolRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetStoragePoolRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::StoragePool >

virtual UpdateStoragePool(google::cloud::netapp::v1::UpdateStoragePoolRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateStoragePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::StoragePool > >

virtual DeleteStoragePool(google::cloud::netapp::v1::DeleteStoragePoolRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteStoragePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual ListVolumes(google::cloud::netapp::v1::ListVolumesRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListVolumesRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::Volume >

virtual GetVolume(google::cloud::netapp::v1::GetVolumeRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetVolumeRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::Volume >

virtual CreateVolume(google::cloud::netapp::v1::CreateVolumeRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateVolumeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Volume > >

virtual UpdateVolume(google::cloud::netapp::v1::UpdateVolumeRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateVolumeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Volume > >

virtual DeleteVolume(google::cloud::netapp::v1::DeleteVolumeRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteVolumeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual RevertVolume(google::cloud::netapp::v1::RevertVolumeRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::RevertVolumeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Volume > >

virtual ListSnapshots(google::cloud::netapp::v1::ListSnapshotsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListSnapshotsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::Snapshot >

virtual GetSnapshot(google::cloud::netapp::v1::GetSnapshotRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetSnapshotRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::Snapshot >

virtual CreateSnapshot(google::cloud::netapp::v1::CreateSnapshotRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateSnapshotRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Snapshot > >

virtual DeleteSnapshot(google::cloud::netapp::v1::DeleteSnapshotRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteSnapshotRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual UpdateSnapshot(google::cloud::netapp::v1::UpdateSnapshotRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateSnapshotRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Snapshot > >

virtual ListActiveDirectories(google::cloud::netapp::v1::ListActiveDirectoriesRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListActiveDirectoriesRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::ActiveDirectory >

virtual GetActiveDirectory(google::cloud::netapp::v1::GetActiveDirectoryRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetActiveDirectoryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::ActiveDirectory >

virtual CreateActiveDirectory(google::cloud::netapp::v1::CreateActiveDirectoryRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateActiveDirectoryRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::ActiveDirectory > >

virtual UpdateActiveDirectory(google::cloud::netapp::v1::UpdateActiveDirectoryRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateActiveDirectoryRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::ActiveDirectory > >

virtual DeleteActiveDirectory(google::cloud::netapp::v1::DeleteActiveDirectoryRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteActiveDirectoryRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual ListKmsConfigs(google::cloud::netapp::v1::ListKmsConfigsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListKmsConfigsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::KmsConfig >

virtual CreateKmsConfig(google::cloud::netapp::v1::CreateKmsConfigRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateKmsConfigRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

virtual GetKmsConfig(google::cloud::netapp::v1::GetKmsConfigRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetKmsConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::KmsConfig >

virtual UpdateKmsConfig(google::cloud::netapp::v1::UpdateKmsConfigRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateKmsConfigRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

virtual EncryptVolumes(google::cloud::netapp::v1::EncryptVolumesRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::EncryptVolumesRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

virtual VerifyKmsConfig(google::cloud::netapp::v1::VerifyKmsConfigRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::VerifyKmsConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::VerifyKmsConfigResponse >

virtual DeleteKmsConfig(google::cloud::netapp::v1::DeleteKmsConfigRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteKmsConfigRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual ListReplications(google::cloud::netapp::v1::ListReplicationsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListReplicationsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::Replication >

virtual GetReplication(google::cloud::netapp::v1::GetReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetReplicationRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::Replication >

virtual CreateReplication(google::cloud::netapp::v1::CreateReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateReplicationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Replication > >

virtual DeleteReplication(google::cloud::netapp::v1::DeleteReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteReplicationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual UpdateReplication(google::cloud::netapp::v1::UpdateReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateReplicationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Replication > >

virtual StopReplication(google::cloud::netapp::v1::StopReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::StopReplicationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Replication > >

virtual ResumeReplication(google::cloud::netapp::v1::ResumeReplicationRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::ResumeReplicationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Replication > >

virtual ReverseReplicationDirection(google::cloud::netapp::v1::ReverseReplicationDirectionRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::ReverseReplicationDirectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Replication > >

virtual CreateBackupVault(google::cloud::netapp::v1::CreateBackupVaultRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateBackupVaultRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::BackupVault > >

virtual GetBackupVault(google::cloud::netapp::v1::GetBackupVaultRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetBackupVaultRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::BackupVault >

virtual ListBackupVaults(google::cloud::netapp::v1::ListBackupVaultsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListBackupVaultsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::BackupVault >

virtual UpdateBackupVault(google::cloud::netapp::v1::UpdateBackupVaultRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateBackupVaultRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::BackupVault > >

virtual DeleteBackupVault(google::cloud::netapp::v1::DeleteBackupVaultRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteBackupVaultRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual CreateBackup(google::cloud::netapp::v1::CreateBackupRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateBackupRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Backup > >

virtual GetBackup(google::cloud::netapp::v1::GetBackupRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetBackupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::Backup >

virtual ListBackups(google::cloud::netapp::v1::ListBackupsRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListBackupsRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::Backup >

virtual DeleteBackup(google::cloud::netapp::v1::DeleteBackupRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteBackupRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

virtual UpdateBackup(google::cloud::netapp::v1::UpdateBackupRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateBackupRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::Backup > >

virtual CreateBackupPolicy(google::cloud::netapp::v1::CreateBackupPolicyRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::CreateBackupPolicyRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::BackupPolicy > >

virtual GetBackupPolicy(google::cloud::netapp::v1::GetBackupPolicyRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::GetBackupPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::netapp::v1::BackupPolicy >

virtual ListBackupPolicies(google::cloud::netapp::v1::ListBackupPoliciesRequest)

Parameter
NameDescription
request google::cloud::netapp::v1::ListBackupPoliciesRequest
Returns
TypeDescription
StreamRange< google::cloud::netapp::v1::BackupPolicy >

virtual UpdateBackupPolicy(google::cloud::netapp::v1::UpdateBackupPolicyRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::UpdateBackupPolicyRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::BackupPolicy > >

virtual DeleteBackupPolicy(google::cloud::netapp::v1::DeleteBackupPolicyRequest const &)

Parameter
NameDescription
request google::cloud::netapp::v1::DeleteBackupPolicyRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >