Class FoldersConnection (2.14.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 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 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 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 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 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 >