Class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub (1.52.0)

public static final class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub extends AbstractFutureStub<ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub

Methods

attachTrust(AttachTrustRequest request)

public ListenableFuture<Operation> attachTrust(AttachTrustRequest request)

Adds an AD trust to a domain.

Parameter
Name Description
request AttachTrustRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request)

public ListenableFuture<Operation> createMicrosoftAdDomain(CreateMicrosoftAdDomainRequest request)

Creates a Microsoft AD domain.

Parameter
Name Description
request CreateMicrosoftAdDomainRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDomain(DeleteDomainRequest request)

public ListenableFuture<Operation> deleteDomain(DeleteDomainRequest request)

Deletes a domain.

Parameter
Name Description
request DeleteDomainRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

detachTrust(DetachTrustRequest request)

public ListenableFuture<Operation> detachTrust(DetachTrustRequest request)

Removes an AD trust.

Parameter
Name Description
request DetachTrustRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getDomain(GetDomainRequest request)

public ListenableFuture<Domain> getDomain(GetDomainRequest request)

Gets information about a domain.

Parameter
Name Description
request GetDomainRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Domain>

listDomains(ListDomainsRequest request)

public ListenableFuture<ListDomainsResponse> listDomains(ListDomainsRequest request)

Lists domains in a project.

Parameter
Name Description
request ListDomainsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDomainsResponse>

reconfigureTrust(ReconfigureTrustRequest request)

public ListenableFuture<Operation> reconfigureTrust(ReconfigureTrustRequest request)

Updates the DNS conditional forwarder.

Parameter
Name Description
request ReconfigureTrustRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

resetAdminPassword(ResetAdminPasswordRequest request)

public ListenableFuture<ResetAdminPasswordResponse> resetAdminPassword(ResetAdminPasswordRequest request)

Resets a domain's administrator password.

Parameter
Name Description
request ResetAdminPasswordRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ResetAdminPasswordResponse>

updateDomain(UpdateDomainRequest request)

public ListenableFuture<Operation> updateDomain(UpdateDomainRequest request)

Updates the metadata and configuration of a domain.

Parameter
Name Description
request UpdateDomainRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

validateTrust(ValidateTrustRequest request)

public ListenableFuture<Operation> validateTrust(ValidateTrustRequest request)

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

Parameter
Name Description
request ValidateTrustRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>