Class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub (1.27.0)

public static final class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub extends AbstractAsyncStub<ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub>

A stub to allow clients to do asynchronous rpc calls to service ManagedIdentitiesService.

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub

Methods

attachTrust(AttachTrustRequest request, StreamObserver<Operation> responseObserver)

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

Adds an AD trust to a domain.

Parameters
NameDescription
requestAttachTrustRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

protected ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request, StreamObserver<Operation> responseObserver)

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

Creates a Microsoft AD domain.

Parameters
NameDescription
requestCreateMicrosoftAdDomainRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteDomain(DeleteDomainRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a domain.

Parameters
NameDescription
requestDeleteDomainRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

detachTrust(DetachTrustRequest request, StreamObserver<Operation> responseObserver)

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

Removes an AD trust.

Parameters
NameDescription
requestDetachTrustRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)

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

Gets information about a domain.

Parameters
NameDescription
requestGetDomainRequest
responseObserverio.grpc.stub.StreamObserver<Domain>

listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)

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

Lists domains in a project.

Parameters
NameDescription
requestListDomainsRequest
responseObserverio.grpc.stub.StreamObserver<ListDomainsResponse>

reconfigureTrust(ReconfigureTrustRequest request, StreamObserver<Operation> responseObserver)

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

Updates the DNS conditional forwarder.

Parameters
NameDescription
requestReconfigureTrustRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

resetAdminPassword(ResetAdminPasswordRequest request, StreamObserver<ResetAdminPasswordResponse> responseObserver)

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

Resets a domain's administrator password.

Parameters
NameDescription
requestResetAdminPasswordRequest
responseObserverio.grpc.stub.StreamObserver<ResetAdminPasswordResponse>

updateDomain(UpdateDomainRequest request, StreamObserver<Operation> responseObserver)

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

Updates the metadata and configuration of a domain.

Parameters
NameDescription
requestUpdateDomainRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

validateTrust(ValidateTrustRequest request, StreamObserver<Operation> responseObserver)

public 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
NameDescription
requestValidateTrustRequest
responseObserverio.grpc.stub.StreamObserver<Operation>