Class NetAppConnection (2.23.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::netapp::v1::ListStoragePoolsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::StoragePool >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateStoragePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::StoragePool > >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetStoragePoolRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::StoragePool >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateStoragePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::StoragePool > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteStoragePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListVolumesRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::Volume >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetVolumeRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::Volume >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateVolumeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Volume > >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateVolumeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Volume > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteVolumeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::RevertVolumeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Volume > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListSnapshotsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::Snapshot >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetSnapshotRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::Snapshot >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateSnapshotRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Snapshot > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteSnapshotRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateSnapshotRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Snapshot > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListActiveDirectoriesRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::ActiveDirectory >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetActiveDirectoryRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::ActiveDirectory >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateActiveDirectoryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::ActiveDirectory > >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateActiveDirectoryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::ActiveDirectory > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteActiveDirectoryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListKmsConfigsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::KmsConfig >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateKmsConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetKmsConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::KmsConfig >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateKmsConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

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

Parameter
Name Description
request google::cloud::netapp::v1::EncryptVolumesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::KmsConfig > >

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

Parameter
Name Description
request google::cloud::netapp::v1::VerifyKmsConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::VerifyKmsConfigResponse >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteKmsConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListReplicationsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::Replication >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetReplicationRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::Replication >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateReplicationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Replication > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteReplicationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateReplicationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Replication > >

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

Parameter
Name Description
request google::cloud::netapp::v1::StopReplicationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Replication > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ResumeReplicationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Replication > >

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

Parameter
Name Description
request google::cloud::netapp::v1::ReverseReplicationDirectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Replication > >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateBackupVaultRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::BackupVault > >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetBackupVaultRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::BackupVault >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListBackupVaultsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::BackupVault >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateBackupVaultRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::BackupVault > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteBackupVaultRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateBackupRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Backup > >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetBackupRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::Backup >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListBackupsRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::Backup >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteBackupRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateBackupRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::Backup > >

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

Parameter
Name Description
request google::cloud::netapp::v1::CreateBackupPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::BackupPolicy > >

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

Parameter
Name Description
request google::cloud::netapp::v1::GetBackupPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::netapp::v1::BackupPolicy >

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

Parameter
Name Description
request google::cloud::netapp::v1::ListBackupPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::netapp::v1::BackupPolicy >

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

Parameter
Name Description
request google::cloud::netapp::v1::UpdateBackupPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::BackupPolicy > >

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

Parameter
Name Description
request google::cloud::netapp::v1::DeleteBackupPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::netapp::v1::OperationMetadata > >