Class ManagedIdentitiesServiceConnection (2.24.0)

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

To create a concrete instance, see MakeManagedIdentitiesServiceConnection().

For mocking, see managedidentities_v1_mocks::MockManagedIdentitiesServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateMicrosoftAdDomain(google::cloud::managedidentities::v1::CreateMicrosoftAdDomainRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::CreateMicrosoftAdDomainRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

virtual ResetAdminPassword(google::cloud::managedidentities::v1::ResetAdminPasswordRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::ResetAdminPasswordRequest const &
Returns
Type Description
StatusOr< google::cloud::managedidentities::v1::ResetAdminPasswordResponse >

virtual ListDomains(google::cloud::managedidentities::v1::ListDomainsRequest)

Parameter
Name Description
request google::cloud::managedidentities::v1::ListDomainsRequest
Returns
Type Description
StreamRange< google::cloud::managedidentities::v1::Domain >

virtual GetDomain(google::cloud::managedidentities::v1::GetDomainRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::GetDomainRequest const &
Returns
Type Description
StatusOr< google::cloud::managedidentities::v1::Domain >

virtual UpdateDomain(google::cloud::managedidentities::v1::UpdateDomainRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::UpdateDomainRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

virtual DeleteDomain(google::cloud::managedidentities::v1::DeleteDomainRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::DeleteDomainRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::OpMetadata > >

virtual AttachTrust(google::cloud::managedidentities::v1::AttachTrustRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::AttachTrustRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

virtual ReconfigureTrust(google::cloud::managedidentities::v1::ReconfigureTrustRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::ReconfigureTrustRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

virtual DetachTrust(google::cloud::managedidentities::v1::DetachTrustRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::DetachTrustRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

virtual ValidateTrust(google::cloud::managedidentities::v1::ValidateTrustRequest const &)

Parameter
Name Description
request google::cloud::managedidentities::v1::ValidateTrustRequest const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >