Class FoldersConnection (2.32.0)

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

To create a concrete instance, see MakeFoldersConnection().

For mocking, see resourcemanager_v3_mocks::MockFoldersConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetFolder(google::cloud::resourcemanager::v3::GetFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::GetFolderRequest const &
Returns
Type Description
StatusOr< google::cloud::resourcemanager::v3::Folder >

virtual ListFolders(google::cloud::resourcemanager::v3::ListFoldersRequest)

Parameter
Name Description
request google::cloud::resourcemanager::v3::ListFoldersRequest
Returns
Type Description
StreamRange< google::cloud::resourcemanager::v3::Folder >

virtual SearchFolders(google::cloud::resourcemanager::v3::SearchFoldersRequest)

Parameter
Name Description
request google::cloud::resourcemanager::v3::SearchFoldersRequest
Returns
Type Description
StreamRange< google::cloud::resourcemanager::v3::Folder >

virtual CreateFolder(google::cloud::resourcemanager::v3::CreateFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::CreateFolderRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual CreateFolder(NoAwaitTag, google::cloud::resourcemanager::v3::CreateFolderRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::resourcemanager::v3::CreateFolderRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateFolder(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual UpdateFolder(google::cloud::resourcemanager::v3::UpdateFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::UpdateFolderRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual UpdateFolder(NoAwaitTag, google::cloud::resourcemanager::v3::UpdateFolderRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::resourcemanager::v3::UpdateFolderRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateFolder(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual MoveFolder(google::cloud::resourcemanager::v3::MoveFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::MoveFolderRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual MoveFolder(NoAwaitTag, google::cloud::resourcemanager::v3::MoveFolderRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::resourcemanager::v3::MoveFolderRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual MoveFolder(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual DeleteFolder(google::cloud::resourcemanager::v3::DeleteFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::DeleteFolderRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual DeleteFolder(NoAwaitTag, google::cloud::resourcemanager::v3::DeleteFolderRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::resourcemanager::v3::DeleteFolderRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteFolder(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual UndeleteFolder(google::cloud::resourcemanager::v3::UndeleteFolderRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::UndeleteFolderRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual UndeleteFolder(NoAwaitTag, google::cloud::resourcemanager::v3::UndeleteFolderRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::resourcemanager::v3::UndeleteFolderRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UndeleteFolder(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >