Class ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub (1.2.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.2.0keyboard_arrow_down
public static final class ManagedIdentitiesServiceGrpc . ManagedIdentitiesServiceStub extends AbstractAsyncStub<ManagedIdentitiesServiceGrpc . ManagedIdentitiesServiceStub >
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
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
attachTrust(AttachTrustRequest request, StreamObserver<Operation> responseObserver)
public void attachTrust ( AttachTrustRequest request , StreamObserver<Operation> responseObserver )
Adds an AD trust to a domain.
Parameters
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
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
deleteDomain(DeleteDomainRequest request, StreamObserver<Operation> responseObserver)
public void deleteDomain ( DeleteDomainRequest request , StreamObserver<Operation> responseObserver )
Parameters
detachTrust(DetachTrustRequest request, StreamObserver<Operation> responseObserver)
public void detachTrust ( DetachTrustRequest request , StreamObserver<Operation> responseObserver )
Parameters
getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)
public void getDomain ( GetDomainRequest request , StreamObserver<Domain> responseObserver )
Gets information about a domain.
Parameters
listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)
public void listDomains ( ListDomainsRequest request , StreamObserver<ListDomainsResponse> responseObserver )
Lists domains in a project.
Parameters
public void reconfigureTrust ( ReconfigureTrustRequest request , StreamObserver<Operation> responseObserver )
Updates the DNS conditional forwarder.
Parameters
resetAdminPassword(ResetAdminPasswordRequest request, StreamObserver<ResetAdminPasswordResponse> responseObserver)
public void resetAdminPassword ( ResetAdminPasswordRequest request , StreamObserver<ResetAdminPasswordResponse> responseObserver )
Resets a domain's administrator password.
Parameters
updateDomain(UpdateDomainRequest request, StreamObserver<Operation> responseObserver)
public void updateDomain ( UpdateDomainRequest request , StreamObserver<Operation> responseObserver )
Updates the metadata and configuration of a domain.
Parameters
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]