@Generated("by gapic-generator-java")
Package com.google.cloud.managedidentities.v1
The interfaces provided are listed below, along with usage samples.
======================= ManagedIdentitiesServiceClient =======================
Service Description: 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.
Sample for ManagedIdentitiesServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ManagedIdentitiesServiceClient managedIdentitiesServiceClient =
ManagedIdentitiesServiceClient.create()) {
DomainName name = DomainName.of("[PROJECT]", "[LOCATION]", "[DOMAIN]");
ResetAdminPasswordResponse response = managedIdentitiesServiceClient.resetAdminPassword(name);
}
-
Interface Summary Interface Description AttachTrustRequestOrBuilder CreateMicrosoftAdDomainRequestOrBuilder DeleteDomainRequestOrBuilder DetachTrustRequestOrBuilder DomainOrBuilder GetDomainRequestOrBuilder ListDomainsRequestOrBuilder ListDomainsResponseOrBuilder ManagedIdentitiesServiceGrpc.AsyncService API Overview The `managedidentites.googleapis.com` service implements the Google Cloud Managed Identites API for identity services (e.g.OpMetadataOrBuilder ReconfigureTrustRequestOrBuilder ResetAdminPasswordRequestOrBuilder ResetAdminPasswordResponseOrBuilder TrustOrBuilder UpdateDomainRequestOrBuilder ValidateTrustRequestOrBuilder -
Class Summary Class Description AttachTrustRequest Request message for [AttachTrust][google.cloud.managedidentities.v1.AttachTrust]AttachTrustRequest.Builder Request message for [AttachTrust][google.cloud.managedidentities.v1.AttachTrust]CreateMicrosoftAdDomainRequest Request message for [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain]CreateMicrosoftAdDomainRequest.Builder Request message for [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain]DeleteDomainRequest Request message for [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain]DeleteDomainRequest.Builder Request message for [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain]DetachTrustRequest Request message for [DetachTrust][google.cloud.managedidentities.v1.DetachTrust]DetachTrustRequest.Builder Request message for [DetachTrust][google.cloud.managedidentities.v1.DetachTrust]Domain Represents a managed Microsoft Active Directory domain.Domain.Builder Represents a managed Microsoft Active Directory domain.DomainName DomainName.Builder Builder for projects/{project}/locations/{location}/domains/{domain}.GetDomainRequest Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain]GetDomainRequest.Builder Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain]ListDomainsRequest Request message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]ListDomainsRequest.Builder Request message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]ListDomainsResponse Response message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]ListDomainsResponse.Builder Response message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.ManagedIdentitiesServiceClient Service Description: API OverviewManagedIdentitiesServiceClient.ListDomainsFixedSizeCollection ManagedIdentitiesServiceClient.ListDomainsPage ManagedIdentitiesServiceClient.ListDomainsPagedResponse ManagedIdentitiesServiceGrpc API Overview The `managedidentites.googleapis.com` service implements the Google Cloud Managed Identites API for identity services (e.g.ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ManagedIdentitiesService.ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ManagedIdentitiesService.ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceImplBase Base class for the server implementation of the service ManagedIdentitiesService.ManagedIdentitiesServiceGrpc.ManagedIdentitiesServiceStub A stub to allow clients to do asynchronous rpc calls to service ManagedIdentitiesService.ManagedIdentitiesServiceProto ManagedIdentitiesServiceSettings Settings class to configure an instance ofManagedIdentitiesServiceClient
.ManagedIdentitiesServiceSettings.Builder Builder for ManagedIdentitiesServiceSettings.OpMetadata Represents the metadata of the long-running operation.OpMetadata.Builder Represents the metadata of the long-running operation.ReconfigureTrustRequest Request message for [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust]ReconfigureTrustRequest.Builder Request message for [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust]ResetAdminPasswordRequest Request message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]ResetAdminPasswordRequest.Builder Request message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]ResetAdminPasswordResponse Response message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]ResetAdminPasswordResponse.Builder Response message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]ResourceProto Trust Represents a relationship between two domains.Trust.Builder Represents a relationship between two domains.UpdateDomainRequest Request message for [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain]UpdateDomainRequest.Builder Request message for [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain]ValidateTrustRequest Request message for [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust]ValidateTrustRequest.Builder Request message for [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust] -
Enum Summary Enum Description Domain.State Represents the different states of a managed domain.Trust.State Represents the different states of a domain trust.Trust.TrustDirection Represents the direction of trust.Trust.TrustType Represents the different inter-forest trust types.