Managed Service for Microsoft Active Directory v1 API - Class ManagedIdentitiesService.ManagedIdentitiesServiceClient (3.1.0)

public class ManagedIdentitiesService.ManagedIdentitiesServiceClient : ClientBase<ManagedIdentitiesService.ManagedIdentitiesServiceClient>

Reference documentation and code samples for the Managed Service for Microsoft Active Directory v1 API class ManagedIdentitiesService.ManagedIdentitiesServiceClient.

Client for ManagedIdentitiesService

Inheritance

object > ClientBase > ClientBaseManagedIdentitiesServiceManagedIdentitiesServiceClient > ManagedIdentitiesService.ManagedIdentitiesServiceClient

Namespace

Google.Cloud.ManagedIdentities.V1

Assembly

Google.Cloud.ManagedIdentities.V1.dll

Constructors

ManagedIdentitiesServiceClient()

protected ManagedIdentitiesServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ManagedIdentitiesServiceClient(CallInvoker)

public ManagedIdentitiesServiceClient(CallInvoker callInvoker)

Creates a new client for ManagedIdentitiesService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ManagedIdentitiesServiceClient(ChannelBase)

public ManagedIdentitiesServiceClient(ChannelBase channel)

Creates a new client for ManagedIdentitiesService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ManagedIdentitiesServiceClient(ClientBaseConfiguration)

protected ManagedIdentitiesServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AttachTrust(AttachTrustRequest, CallOptions)

public virtual Operation AttachTrust(AttachTrustRequest request, CallOptions options)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AttachTrust(AttachTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation AttachTrust(AttachTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

AttachTrustAsync(AttachTrustRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AttachTrustAsync(AttachTrustRequest request, CallOptions options)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AttachTrustAsync(AttachTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> AttachTrustAsync(AttachTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest, CallOptions)

public virtual Operation CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, CallOptions options)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest request, CallOptions options)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteDomain(DeleteDomainRequest, CallOptions)

public virtual Operation DeleteDomain(DeleteDomainRequest request, CallOptions options)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDomain(DeleteDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteDomain(DeleteDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDomainAsync(DeleteDomainRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDomainAsync(DeleteDomainRequest request, CallOptions options)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteDomainAsync(DeleteDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteDomainAsync(DeleteDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DetachTrust(DetachTrustRequest, CallOptions)

public virtual Operation DetachTrust(DetachTrustRequest request, CallOptions options)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DetachTrust(DetachTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DetachTrust(DetachTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DetachTrustAsync(DetachTrustRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DetachTrustAsync(DetachTrustRequest request, CallOptions options)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DetachTrustAsync(DetachTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DetachTrustAsync(DetachTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetDomain(GetDomainRequest, CallOptions)

public virtual Domain GetDomain(GetDomainRequest request, CallOptions options)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Domain

The response received from the server.

GetDomain(GetDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual Domain GetDomain(GetDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Domain

The response received from the server.

GetDomainAsync(GetDomainRequest, CallOptions)

public virtual AsyncUnaryCall<Domain> GetDomainAsync(GetDomainRequest request, CallOptions options)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDomain

The call object.

GetDomainAsync(GetDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Domain> GetDomainAsync(GetDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallDomain

The call object.

ListDomains(ListDomainsRequest, CallOptions)

public virtual ListDomainsResponse ListDomains(ListDomainsRequest request, CallOptions options)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDomainsResponse

The response received from the server.

ListDomains(ListDomainsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDomainsResponse ListDomains(ListDomainsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDomainsResponse

The response received from the server.

ListDomainsAsync(ListDomainsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDomainsResponse> ListDomainsAsync(ListDomainsRequest request, CallOptions options)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListDomainsResponse

The call object.

ListDomainsAsync(ListDomainsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDomainsResponse> ListDomainsAsync(ListDomainsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListDomainsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ManagedIdentitiesService.ManagedIdentitiesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ManagedIdentitiesServiceManagedIdentitiesServiceClient
Overrides

ReconfigureTrust(ReconfigureTrustRequest, CallOptions)

public virtual Operation ReconfigureTrust(ReconfigureTrustRequest request, CallOptions options)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ReconfigureTrust(ReconfigureTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ReconfigureTrust(ReconfigureTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

ReconfigureTrustAsync(ReconfigureTrustRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ReconfigureTrustAsync(ReconfigureTrustRequest request, CallOptions options)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ReconfigureTrustAsync(ReconfigureTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ReconfigureTrustAsync(ReconfigureTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ResetAdminPassword(ResetAdminPasswordRequest, CallOptions)

public virtual ResetAdminPasswordResponse ResetAdminPassword(ResetAdminPasswordRequest request, CallOptions options)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ResetAdminPasswordResponse

The response received from the server.

ResetAdminPassword(ResetAdminPasswordRequest, Metadata, DateTime?, CancellationToken)

public virtual ResetAdminPasswordResponse ResetAdminPassword(ResetAdminPasswordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ResetAdminPasswordResponse

The response received from the server.

ResetAdminPasswordAsync(ResetAdminPasswordRequest, CallOptions)

public virtual AsyncUnaryCall<ResetAdminPasswordResponse> ResetAdminPasswordAsync(ResetAdminPasswordRequest request, CallOptions options)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallResetAdminPasswordResponse

The call object.

ResetAdminPasswordAsync(ResetAdminPasswordRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ResetAdminPasswordResponse> ResetAdminPasswordAsync(ResetAdminPasswordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallResetAdminPasswordResponse

The call object.

UpdateDomain(UpdateDomainRequest, CallOptions)

public virtual Operation UpdateDomain(UpdateDomainRequest request, CallOptions options)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateDomain(UpdateDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateDomain(UpdateDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateDomainAsync(UpdateDomainRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateDomainAsync(UpdateDomainRequest request, CallOptions options)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateDomainAsync(UpdateDomainRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateDomainAsync(UpdateDomainRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ValidateTrust(ValidateTrustRequest, CallOptions)

public virtual Operation ValidateTrust(ValidateTrustRequest request, CallOptions options)

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

Parameters
NameDescription
requestValidateTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ValidateTrust(ValidateTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ValidateTrust(ValidateTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

Parameters
NameDescription
requestValidateTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

ValidateTrustAsync(ValidateTrustRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ValidateTrustAsync(ValidateTrustRequest request, CallOptions options)

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

Parameters
NameDescription
requestValidateTrustRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ValidateTrustAsync(ValidateTrustRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ValidateTrustAsync(ValidateTrustRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

Parameters
NameDescription
requestValidateTrustRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.