Class ManagedIdentitiesServiceConnection (2.30.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 CreateMicrosoftAdDomain(NoAwaitTag, google::cloud::managedidentities::v1::CreateMicrosoftAdDomainRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::CreateMicrosoftAdDomainRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 UpdateDomain(NoAwaitTag, google::cloud::managedidentities::v1::UpdateDomainRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::UpdateDomainRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 DeleteDomain(NoAwaitTag, google::cloud::managedidentities::v1::DeleteDomainRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::DeleteDomainRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 AttachTrust(NoAwaitTag, google::cloud::managedidentities::v1::AttachTrustRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::AttachTrustRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 ReconfigureTrust(NoAwaitTag, google::cloud::managedidentities::v1::ReconfigureTrustRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::ReconfigureTrustRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 DetachTrust(NoAwaitTag, google::cloud::managedidentities::v1::DetachTrustRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::DetachTrustRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 > >

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

Parameters
Name Description
NoAwaitTag
request google::cloud::managedidentities::v1::ValidateTrustRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::managedidentities::v1::Domain > >