Class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub (1.41.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
Name Description
request AttachTrustRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

protected ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateMicrosoftAdDomainRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDomain(DeleteDomainRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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>