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

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::UpdateDomainRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::DeleteDomainRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::AttachTrustRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::ReconfigureTrustRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::DetachTrustRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::managedidentities::v1::ValidateTrustRequest const &)

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

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

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