Class v1.ManagedIdentitiesServiceClient (1.0.7)

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. v1

Package

@google-cloud/managed-identities!

Constructors

(constructor)(opts)

constructor(opts?: ClientOptions);

Construct an instance of ManagedIdentitiesServiceClient.

Parameter
NameDescription
opts ClientOptions

Properties

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath(), exists for compatibility reasons.

Property Value
TypeDescription
string

auth

auth: gax.GoogleAuth;
Property Value
TypeDescription
gax.GoogleAuth

descriptors

descriptors: Descriptors;
Property Value
TypeDescription
Descriptors

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };
Property Value
TypeDescription
{ [name: string]: Function; }

managedIdentitiesServiceStub

managedIdentitiesServiceStub?: Promise<{
        [name: string]: Function;
    }>;
Property Value
TypeDescription
Promise<{ [name: string]: Function; }>

operationsClient

operationsClient: gax.OperationsClient;
Property Value
TypeDescription
gax.OperationsClient

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };
Property Value
TypeDescription
{ [name: string]: gax.PathTemplate; }

port

static get port(): number;

The port for this API service.

Property Value
TypeDescription
number

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

Property Value
TypeDescription
string[]

servicePath

static get servicePath(): string;

The DNS address for this API service.

Property Value
TypeDescription
string

warn

warn: (code: string, message: string, warnType?: string) => void;
Property Value
TypeDescription
(code: string, message: string, warnType?: string) => void

Methods

attachTrust(request, options)

attachTrust(request?: protos.google.cloud.managedidentities.v1.IAttachTrustRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IAttachTrustRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

attachTrust(request, options, callback)

attachTrust(request: protos.google.cloud.managedidentities.v1.IAttachTrustRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IAttachTrustRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

attachTrust(request, callback)

attachTrust(request: protos.google.cloud.managedidentities.v1.IAttachTrustRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IAttachTrustRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

checkAttachTrustProgress(name)

checkAttachTrustProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by attachTrust().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkCreateMicrosoftAdDomainProgress(name)

checkCreateMicrosoftAdDomainProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by createMicrosoftAdDomain().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkDeleteDomainProgress(name)

checkDeleteDomainProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by deleteDomain().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkDetachTrustProgress(name)

checkDetachTrustProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by detachTrust().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkReconfigureTrustProgress(name)

checkReconfigureTrustProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by reconfigureTrust().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkUpdateDomainProgress(name)

checkUpdateDomainProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by updateDomain().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

checkValidateTrustProgress(name)

checkValidateTrustProgress(name: string): Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>;

Check the status of the long running operation returned by validateTrust().

Parameter
NameDescription
name string

The operation name that will be passed.

Returns
TypeDescription
Promise<LROperation<protos.google.cloud.managedidentities.v1.Domain, protos.google.cloud.managedidentities.v1.OpMetadata>>

{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
TypeDescription
Promise<void>

{Promise} A promise that resolves when the client is closed.

createMicrosoftAdDomain(request, options)

createMicrosoftAdDomain(request?: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

createMicrosoftAdDomain(request, options, callback)

createMicrosoftAdDomain(request: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

createMicrosoftAdDomain(request, callback)

createMicrosoftAdDomain(request: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteDomain(request, options)

deleteDomain(request?: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDeleteDomainRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

deleteDomain(request, options, callback)

deleteDomain(request: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDeleteDomainRequest
options CallOptions
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteDomain(request, callback)

deleteDomain(request: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDeleteDomainRequest
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

detachTrust(request, options)

detachTrust(request?: protos.google.cloud.managedidentities.v1.IDetachTrustRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDetachTrustRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

detachTrust(request, options, callback)

detachTrust(request: protos.google.cloud.managedidentities.v1.IDetachTrustRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDetachTrustRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

detachTrust(request, callback)

detachTrust(request: protos.google.cloud.managedidentities.v1.IDetachTrustRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IDetachTrustRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

domainPath(project, location, domain)

domainPath(project: string, location: string, domain: string): string;

Return a fully-qualified domain resource name string.

Parameters
NameDescription
project string
location string
domain string
Returns
TypeDescription
string

{string} Resource name string.

getDomain(request, options)

getDomain(request?: protos.google.cloud.managedidentities.v1.IGetDomainRequest, options?: CallOptions): Promise<[
        protos.google.cloud.managedidentities.v1.IDomain,
        protos.google.cloud.managedidentities.v1.IGetDomainRequest | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IGetDomainRequest
options CallOptions
Returns
TypeDescription
Promise<[ protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IGetDomainRequest | undefined, {} | undefined ]>

getDomain(request, options, callback)

getDomain(request: protos.google.cloud.managedidentities.v1.IGetDomainRequest, options: CallOptions, callback: Callback<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IGetDomainRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IGetDomainRequest
options CallOptions
callback Callback<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IGetDomainRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getDomain(request, callback)

getDomain(request: protos.google.cloud.managedidentities.v1.IGetDomainRequest, callback: Callback<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IGetDomainRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IGetDomainRequest
callback Callback<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IGetDomainRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectId()

getProjectId(): Promise<string>;
Returns
TypeDescription
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
NameDescription
callback Callback<string, undefined, undefined>
Returns
TypeDescription
void

initialize()

initialize(): Promise<{
        [name: string]: Function;
    }>;

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
TypeDescription
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

listDomains(request, options)

listDomains(request?: protos.google.cloud.managedidentities.v1.IListDomainsRequest, options?: CallOptions): Promise<[
        protos.google.cloud.managedidentities.v1.IDomain[],
        protos.google.cloud.managedidentities.v1.IListDomainsRequest | null,
        protos.google.cloud.managedidentities.v1.IListDomainsResponse
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IListDomainsRequest
options CallOptions
Returns
TypeDescription
Promise<[ protos.google.cloud.managedidentities.v1.IDomain[], protos.google.cloud.managedidentities.v1.IListDomainsRequest | null, protos.google.cloud.managedidentities.v1.IListDomainsResponse ]>

listDomains(request, options, callback)

listDomains(request: protos.google.cloud.managedidentities.v1.IListDomainsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.managedidentities.v1.IListDomainsRequest, protos.google.cloud.managedidentities.v1.IListDomainsResponse | null | undefined, protos.google.cloud.managedidentities.v1.IDomain>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IListDomainsRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.managedidentities.v1.IListDomainsRequest, protos.google.cloud.managedidentities.v1.IListDomainsResponse | null | undefined, protos.google.cloud.managedidentities.v1.IDomain>
Returns
TypeDescription
void

listDomains(request, callback)

listDomains(request: protos.google.cloud.managedidentities.v1.IListDomainsRequest, callback: PaginationCallback<protos.google.cloud.managedidentities.v1.IListDomainsRequest, protos.google.cloud.managedidentities.v1.IListDomainsResponse | null | undefined, protos.google.cloud.managedidentities.v1.IDomain>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IListDomainsRequest
callback PaginationCallback<protos.google.cloud.managedidentities.v1.IListDomainsRequest, protos.google.cloud.managedidentities.v1.IListDomainsResponse | null | undefined, protos.google.cloud.managedidentities.v1.IDomain>
Returns
TypeDescription
void

listDomainsAsync(request, options)

listDomainsAsync(request?: protos.google.cloud.managedidentities.v1.IListDomainsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.managedidentities.v1.IDomain>;

Equivalent to listDomains, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IListDomainsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.cloud.managedidentities.v1.IDomain>

{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Domain]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

listDomainsStream(request, options)

listDomainsStream(request?: protos.google.cloud.managedidentities.v1.IListDomainsRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IListDomainsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [Domain] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listDomainsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

locationPath(project, location)

locationPath(project: string, location: string): string;

Return a fully-qualified location resource name string.

Parameters
NameDescription
project string
location string
Returns
TypeDescription
string

{string} Resource name string.

matchDomainFromDomainName(domainName)

matchDomainFromDomainName(domainName: string): string | number;

Parse the domain from Domain resource.

Parameter
NameDescription
domainName string

A fully-qualified path representing Domain resource.

Returns
TypeDescription
string | number

{string} A string representing the domain.

matchLocationFromDomainName(domainName)

matchLocationFromDomainName(domainName: string): string | number;

Parse the location from Domain resource.

Parameter
NameDescription
domainName string

A fully-qualified path representing Domain resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromLocationName(locationName)

matchLocationFromLocationName(locationName: string): string | number;

Parse the location from Location resource.

Parameter
NameDescription
locationName string

A fully-qualified path representing Location resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchProjectFromDomainName(domainName)

matchProjectFromDomainName(domainName: string): string | number;

Parse the project from Domain resource.

Parameter
NameDescription
domainName string

A fully-qualified path representing Domain resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromLocationName(locationName)

matchProjectFromLocationName(locationName: string): string | number;

Parse the project from Location resource.

Parameter
NameDescription
locationName string

A fully-qualified path representing Location resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectName(projectName)

matchProjectFromProjectName(projectName: string): string | number;

Parse the project from Project resource.

Parameter
NameDescription
projectName string

A fully-qualified path representing Project resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

projectPath(project)

projectPath(project: string): string;

Return a fully-qualified project resource name string.

Parameter
NameDescription
project string
Returns
TypeDescription
string

{string} Resource name string.

reconfigureTrust(request, options)

reconfigureTrust(request?: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

reconfigureTrust(request, options, callback)

reconfigureTrust(request: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

reconfigureTrust(request, callback)

reconfigureTrust(request: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

resetAdminPassword(request, options)

resetAdminPassword(request?: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest, options?: CallOptions): Promise<[
        protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse,
        (protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | undefined),
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest
options CallOptions
Returns
TypeDescription
Promise<[ protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse, (protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | undefined), {} | undefined ]>

resetAdminPassword(request, options, callback)

resetAdminPassword(request: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest, options: CallOptions, callback: Callback<protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse, protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest
options CallOptions
callback Callback<protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse, protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

resetAdminPassword(request, callback)

resetAdminPassword(request: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest, callback: Callback<protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse, protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest
callback Callback<protos.google.cloud.managedidentities.v1.IResetAdminPasswordResponse, protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateDomain(request, options)

updateDomain(request?: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IUpdateDomainRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

updateDomain(request, options, callback)

updateDomain(request: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IUpdateDomainRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateDomain(request, callback)

updateDomain(request: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IUpdateDomainRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

validateTrust(request, options)

validateTrust(request?: protos.google.cloud.managedidentities.v1.IValidateTrustRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IValidateTrustRequest
options CallOptions
Returns
TypeDescription
Promise<[ LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

validateTrust(request, options, callback)

validateTrust(request: protos.google.cloud.managedidentities.v1.IValidateTrustRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IValidateTrustRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

validateTrust(request, callback)

validateTrust(request: protos.google.cloud.managedidentities.v1.IValidateTrustRequest, callback: Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.managedidentities.v1.IValidateTrustRequest
callback Callback<LROperation<protos.google.cloud.managedidentities.v1.IDomain, protos.google.cloud.managedidentities.v1.IOpMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
TypeDescription
void