Managed Service for Microsoft Active Directory v1 API - Class ManagedIdentitiesService.ManagedIdentitiesServiceClient (3.2.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ManagedIdentitiesServiceClient(ChannelBase)

public ManagedIdentitiesServiceClient(ChannelBase channel)

Creates a new client for ManagedIdentitiesService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ManagedIdentitiesServiceClient(ClientBaseConfiguration)

protected ManagedIdentitiesServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

AttachTrust(AttachTrustRequest, CallOptions)

public virtual Operation AttachTrust(AttachTrustRequest request, CallOptions options)

Adds an AD trust to a domain.

Parameters
Name Description
request AttachTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request AttachTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request AttachTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request AttachTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest, CallOptions)

public virtual Operation CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, CallOptions options)

Creates a Microsoft AD domain.

Parameters
Name Description
request CreateMicrosoftAdDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateMicrosoftAdDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request CreateMicrosoftAdDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateMicrosoftAdDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Type Description
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
Name Description
request DeleteDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteDomainAsync(DeleteDomainRequest, CallOptions)

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

Deletes a domain.

Parameters
Name Description
request DeleteDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DetachTrust(DetachTrustRequest, CallOptions)

public virtual Operation DetachTrust(DetachTrustRequest request, CallOptions options)

Removes an AD trust.

Parameters
Name Description
request DetachTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DetachTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DetachTrustAsync(DetachTrustRequest, CallOptions)

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

Removes an AD trust.

Parameters
Name Description
request DetachTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DetachTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetDomain(GetDomainRequest, CallOptions)

public virtual Domain GetDomain(GetDomainRequest request, CallOptions options)

Gets information about a domain.

Parameters
Name Description
request GetDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request GetDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDomain

The call object.

ListDomains(ListDomainsRequest, CallOptions)

public virtual ListDomainsResponse ListDomains(ListDomainsRequest request, CallOptions options)

Lists domains in a project.

Parameters
Name Description
request ListDomainsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListDomainsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ListDomainsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListDomainsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDomainsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ManagedIdentitiesServiceManagedIdentitiesServiceClient
Overrides

ReconfigureTrust(ReconfigureTrustRequest, CallOptions)

public virtual Operation ReconfigureTrust(ReconfigureTrustRequest request, CallOptions options)

Updates the DNS conditional forwarder.

Parameters
Name Description
request ReconfigureTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ReconfigureTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ReconfigureTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ReconfigureTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ResetAdminPassword(ResetAdminPasswordRequest, CallOptions)

public virtual ResetAdminPasswordResponse ResetAdminPassword(ResetAdminPasswordRequest request, CallOptions options)

Resets a domain's administrator password.

Parameters
Name Description
request ResetAdminPasswordRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ResetAdminPasswordRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ResetAdminPasswordRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ResetAdminPasswordRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallResetAdminPasswordResponse

The call object.

UpdateDomain(UpdateDomainRequest, CallOptions)

public virtual Operation UpdateDomain(UpdateDomainRequest request, CallOptions options)

Updates the metadata and configuration of a domain.

Parameters
Name Description
request UpdateDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request UpdateDomainRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateDomainRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ValidateTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ValidateTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ValidateTrustRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ValidateTrustRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.