Class ManagedIdentitiesServiceClientImpl (3.0.0)

public sealed class ManagedIdentitiesServiceClientImpl : ManagedIdentitiesServiceClient

ManagedIdentitiesService client wrapper implementation, for convenient use.

Inheritance

Object > ManagedIdentitiesServiceClient > ManagedIdentitiesServiceClientImpl

Namespace

Google.Cloud.ManagedIdentities.V1

Assembly

Google.Cloud.ManagedIdentities.V1.dll

Remarks

API Overview

The managedidentites.googleapis.com service implements the Google Cloud Managed Identites API for identity services (e.g. Microsoft Active Directory).

The Managed Identities service provides methods to manage (create/read/update/delete) domains, reset managed identities admin password, add/remove domain controllers in GCP regions and add/remove VPC peering.

Data Model

The Managed Identities service exposes the following resources:

  • Locations as global, named as follows: projects/{project_id}/locations/global.

  • Domains, named as follows: /projects/{project_id}/locations/global/domain/{domain_name}.

The {domain_name} refers to fully qualified domain name in the customer project e.g. mydomain.myorganization.com, with the following restrictions:

  • Must contain only lowercase letters, numbers, periods and hyphens.
  • Must start with a letter.
  • Must contain between 2-64 characters.
  • Must end with a number or a letter.
  • Must not start with period.
  • First segement length (mydomain form example above) shouldn't exceed 15 chars.
  • The last segment cannot be fully numeric.
  • Must be unique within the customer project.

Constructors

ManagedIdentitiesServiceClientImpl(ManagedIdentitiesService.ManagedIdentitiesServiceClient, ManagedIdentitiesServiceSettings, ILogger)

public ManagedIdentitiesServiceClientImpl(ManagedIdentitiesService.ManagedIdentitiesServiceClient grpcClient, ManagedIdentitiesServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ManagedIdentitiesService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientManagedIdentitiesService.ManagedIdentitiesServiceClient

The underlying gRPC client.

settingsManagedIdentitiesServiceSettings

The base ManagedIdentitiesServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

AttachTrustOperationsClient

public override OperationsClient AttachTrustOperationsClient { get; }

The long-running operations client for AttachTrust.

Property Value
TypeDescription
OperationsClient
Overrides

CreateMicrosoftAdDomainOperationsClient

public override OperationsClient CreateMicrosoftAdDomainOperationsClient { get; }

The long-running operations client for CreateMicrosoftAdDomain.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteDomainOperationsClient

public override OperationsClient DeleteDomainOperationsClient { get; }

The long-running operations client for DeleteDomain.

Property Value
TypeDescription
OperationsClient
Overrides

DetachTrustOperationsClient

public override OperationsClient DetachTrustOperationsClient { get; }

The long-running operations client for DetachTrust.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override ManagedIdentitiesService.ManagedIdentitiesServiceClient GrpcClient { get; }

The underlying gRPC ManagedIdentitiesService client

Property Value
TypeDescription
ManagedIdentitiesService.ManagedIdentitiesServiceClient
Overrides

ReconfigureTrustOperationsClient

public override OperationsClient ReconfigureTrustOperationsClient { get; }

The long-running operations client for ReconfigureTrust.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateDomainOperationsClient

public override OperationsClient UpdateDomainOperationsClient { get; }

The long-running operations client for UpdateDomain.

Property Value
TypeDescription
OperationsClient
Overrides

ValidateTrustOperationsClient

public override OperationsClient ValidateTrustOperationsClient { get; }

The long-running operations client for ValidateTrust.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AttachTrust(AttachTrustRequest, CallSettings)

public override Operation<Domain, OpMetadata> AttachTrust(AttachTrustRequest request, CallSettings callSettings = null)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

AttachTrustAsync(AttachTrustRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> AttachTrustAsync(AttachTrustRequest request, CallSettings callSettings = null)

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides

CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest, CallSettings)

public override Operation<Domain, OpMetadata> CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, CallSettings callSettings = null)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> CreateMicrosoftAdDomainAsync(CreateMicrosoftAdDomainRequest request, CallSettings callSettings = null)

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides

DeleteDomain(DeleteDomainRequest, CallSettings)

public override Operation<Empty, OpMetadata> DeleteDomain(DeleteDomainRequest request, CallSettings callSettings = null)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OpMetadata>

The RPC response.

Overrides

DeleteDomainAsync(DeleteDomainRequest, CallSettings)

public override async Task<Operation<Empty, OpMetadata>> DeleteDomainAsync(DeleteDomainRequest request, CallSettings callSettings = null)

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OpMetadata>>

A Task containing the RPC response.

Overrides

DetachTrust(DetachTrustRequest, CallSettings)

public override Operation<Domain, OpMetadata> DetachTrust(DetachTrustRequest request, CallSettings callSettings = null)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

DetachTrustAsync(DetachTrustRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> DetachTrustAsync(DetachTrustRequest request, CallSettings callSettings = null)

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides

GetDomain(GetDomainRequest, CallSettings)

public override Domain GetDomain(GetDomainRequest request, CallSettings callSettings = null)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Domain

The RPC response.

Overrides

GetDomainAsync(GetDomainRequest, CallSettings)

public override Task<Domain> GetDomainAsync(GetDomainRequest request, CallSettings callSettings = null)

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Domain>

A Task containing the RPC response.

Overrides

ListDomains(ListDomainsRequest, CallSettings)

public override PagedEnumerable<ListDomainsResponse, Domain> ListDomains(ListDomainsRequest request, CallSettings callSettings = null)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDomainsResponse, Domain>

A pageable sequence of Domain resources.

Overrides

ListDomainsAsync(ListDomainsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDomainsResponse, Domain> ListDomainsAsync(ListDomainsRequest request, CallSettings callSettings = null)

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDomainsResponse, Domain>

A pageable asynchronous sequence of Domain resources.

Overrides

ReconfigureTrust(ReconfigureTrustRequest, CallSettings)

public override Operation<Domain, OpMetadata> ReconfigureTrust(ReconfigureTrustRequest request, CallSettings callSettings = null)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

ReconfigureTrustAsync(ReconfigureTrustRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> ReconfigureTrustAsync(ReconfigureTrustRequest request, CallSettings callSettings = null)

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides

ResetAdminPassword(ResetAdminPasswordRequest, CallSettings)

public override ResetAdminPasswordResponse ResetAdminPassword(ResetAdminPasswordRequest request, CallSettings callSettings = null)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ResetAdminPasswordResponse

The RPC response.

Overrides

ResetAdminPasswordAsync(ResetAdminPasswordRequest, CallSettings)

public override Task<ResetAdminPasswordResponse> ResetAdminPasswordAsync(ResetAdminPasswordRequest request, CallSettings callSettings = null)

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ResetAdminPasswordResponse>

A Task containing the RPC response.

Overrides

UpdateDomain(UpdateDomainRequest, CallSettings)

public override Operation<Domain, OpMetadata> UpdateDomain(UpdateDomainRequest request, CallSettings callSettings = null)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

UpdateDomainAsync(UpdateDomainRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> UpdateDomainAsync(UpdateDomainRequest request, CallSettings callSettings = null)

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides

ValidateTrust(ValidateTrustRequest, CallSettings)

public override Operation<Domain, OpMetadata> ValidateTrust(ValidateTrustRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Domain, OpMetadata>

The RPC response.

Overrides

ValidateTrustAsync(ValidateTrustRequest, CallSettings)

public override async Task<Operation<Domain, OpMetadata>> ValidateTrustAsync(ValidateTrustRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Domain, OpMetadata>>

A Task containing the RPC response.

Overrides