Class FoldersConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::GetFolderRequest const &
Returns
TypeDescription
StatusOr< google::cloud::resourcemanager::v3::Folder >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::ListFoldersRequest
Returns
TypeDescription
StreamRange< google::cloud::resourcemanager::v3::Folder >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::SearchFoldersRequest
Returns
TypeDescription
StreamRange< google::cloud::resourcemanager::v3::Folder >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::CreateFolderRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::UpdateFolderRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::MoveFolderRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::DeleteFolderRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

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

Parameter
NameDescription
request google::cloud::resourcemanager::v3::UndeleteFolderRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::Folder > >

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

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >