Interface ManagedIdentitiesServiceGrpc.AsyncService (1.42.0)

public static interface ManagedIdentitiesServiceGrpc.AsyncService

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.

Methods

attachTrust(AttachTrustRequest request, StreamObserver<Operation> responseObserver)

public default void attachTrust(AttachTrustRequest request, StreamObserver<Operation> responseObserver)

Adds an AD trust to a domain.

Parameters
Name Description
request AttachTrustRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, StreamObserver<Operation> responseObserver)

public default void createMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, StreamObserver<Operation> responseObserver)

Creates a Microsoft AD domain.

Parameters
Name Description
request CreateMicrosoftAdDomainRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDomain(DeleteDomainRequest request, StreamObserver<Operation> responseObserver)

public default void deleteDomain(DeleteDomainRequest request, StreamObserver<Operation> responseObserver)

Deletes a domain.

Parameters
Name Description
request DeleteDomainRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

detachTrust(DetachTrustRequest request, StreamObserver<Operation> responseObserver)

public default void detachTrust(DetachTrustRequest request, StreamObserver<Operation> responseObserver)

Removes an AD trust.

Parameters
Name Description
request DetachTrustRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)

public default void getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)

Gets information about a domain.

Parameters
Name Description
request GetDomainRequest
responseObserver io.grpc.stub.StreamObserver<Domain>

listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)

public default void listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)

Lists domains in a project.

Parameters
Name Description
request ListDomainsRequest
responseObserver io.grpc.stub.StreamObserver<ListDomainsResponse>

reconfigureTrust(ReconfigureTrustRequest request, StreamObserver<Operation> responseObserver)

public default void reconfigureTrust(ReconfigureTrustRequest request, StreamObserver<Operation> responseObserver)

Updates the DNS conditional forwarder.

Parameters
Name Description
request ReconfigureTrustRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

resetAdminPassword(ResetAdminPasswordRequest request, StreamObserver<ResetAdminPasswordResponse> responseObserver)

public default void resetAdminPassword(ResetAdminPasswordRequest request, StreamObserver<ResetAdminPasswordResponse> responseObserver)

Resets a domain's administrator password.

Parameters
Name Description
request ResetAdminPasswordRequest
responseObserver io.grpc.stub.StreamObserver<ResetAdminPasswordResponse>

updateDomain(UpdateDomainRequest request, StreamObserver<Operation> responseObserver)

public default void updateDomain(UpdateDomainRequest request, StreamObserver<Operation> responseObserver)

Updates the metadata and configuration of a domain.

Parameters
Name Description
request UpdateDomainRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

validateTrust(ValidateTrustRequest request, StreamObserver<Operation> responseObserver)

public default void validateTrust(ValidateTrustRequest request, StreamObserver<Operation> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<Operation>