Class ManagedIdentitiesServiceConnection (2.21.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::CreateMicrosoftAdDomainRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::ResetAdminPasswordRequest const &
Returns
TypeDescription
StatusOr< google::cloud::managedidentities::v1::ResetAdminPasswordResponse >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::ListDomainsRequest
Returns
TypeDescription
StreamRange< google::cloud::managedidentities::v1::Domain >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::GetDomainRequest const &
Returns
TypeDescription
StatusOr< google::cloud::managedidentities::v1::Domain >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::UpdateDomainRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::DeleteDomainRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::OpMetadata > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::AttachTrustRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::ReconfigureTrustRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::DetachTrustRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >

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

Parameter
NameDescription
request google::cloud::managedidentities::v1::ValidateTrustRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::managedidentities::v1::Domain > >