Class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub (1.22.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
NameDescription
requestAttachTrustRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateMicrosoftAdDomainRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDomain(DeleteDomainRequest request)

public ListenableFuture<Operation> deleteDomain(DeleteDomainRequest request)

Deletes a domain.

Parameter
NameDescription
requestDeleteDomainRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

detachTrust(DetachTrustRequest request)

public ListenableFuture<Operation> detachTrust(DetachTrustRequest request)

Removes an AD trust.

Parameter
NameDescription
requestDetachTrustRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getDomain(GetDomainRequest request)

public ListenableFuture<Domain> getDomain(GetDomainRequest request)

Gets information about a domain.

Parameter
NameDescription
requestGetDomainRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Domain>

listDomains(ListDomainsRequest request)

public ListenableFuture<ListDomainsResponse> listDomains(ListDomainsRequest request)

Lists domains in a project.

Parameter
NameDescription
requestListDomainsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDomainsResponse>

reconfigureTrust(ReconfigureTrustRequest request)

public ListenableFuture<Operation> reconfigureTrust(ReconfigureTrustRequest request)

Updates the DNS conditional forwarder.

Parameter
NameDescription
requestReconfigureTrustRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

resetAdminPassword(ResetAdminPasswordRequest request)

public ListenableFuture<ResetAdminPasswordResponse> resetAdminPassword(ResetAdminPasswordRequest request)

Resets a domain's administrator password.

Parameter
NameDescription
requestResetAdminPasswordRequest
Returns
TypeDescription
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
NameDescription
requestUpdateDomainRequest
Returns
TypeDescription
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
NameDescription
requestValidateTrustRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>