Class v1.BusinessGlossaryServiceClient (5.5.0)

BusinessGlossaryService provides APIs for managing business glossary resources for enterprise customers. The resources currently supported in Business Glossary are: 1. Glossary 2. GlossaryCategory 3. GlossaryTerm v1

Package

@google-cloud/dataplex

Constructors

(constructor)(opts, gaxInstance)

constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);

Construct an instance of BusinessGlossaryServiceClient.

Parameters
Name Description
opts ClientOptions
gaxInstance typeof gax | typeof fallback

: loaded instance of google-gax. Useful if you need to avoid loading the default gRPC version and want to use the fallback HTTP implementation. Load only fallback version and pass it to the constructor: ``` const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC const client = new BusinessGlossaryServiceClient({fallback: true}, gax); ```

Properties

apiEndpoint

get apiEndpoint(): string;

The DNS address for this API service.

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath.

auth

auth: gax.GoogleAuth;

businessGlossaryServiceStub

businessGlossaryServiceStub?: Promise<{
        [name: string]: Function;
    }>;

descriptors

descriptors: Descriptors;

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };

locationsClient

locationsClient: LocationsClient;

operationsClient

operationsClient: gax.OperationsClient;

pathTemplates

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

port

static get port(): number;

The port for this API service.

scopes

static get scopes(): string[];

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

servicePath

static get servicePath(): string;

The DNS address for this API service.

universeDomain

get universeDomain(): string;

warn

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

Methods

aspectTypePath(project, location, aspectType)

aspectTypePath(project: string, location: string, aspectType: string): string;

Return a fully-qualified aspectType resource name string.

Parameters
Name Description
project string
location string
aspectType string
Returns
Type Description
string

{string} Resource name string.

assetPath(project, location, lake, zone, asset)

assetPath(project: string, location: string, lake: string, zone: string, asset: string): string;

Return a fully-qualified asset resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
asset string
Returns
Type Description
string

{string} Resource name string.

cancelOperation(request, optionsOrCallback, callback)

cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an value with a of 1, corresponding to Code.CANCELLED.

Parameters
Name Description
request CancelOperationRequest

The request object that will be sent.

optionsOrCallback CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>
callback Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>

The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.

Returns
Type Description
Promise<protos.google.protobuf.Empty>
Example

const client = longrunning.operationsClient();
await client.cancelOperation({name: ''});

checkCreateGlossaryProgress(name)

checkCreateGlossaryProgress(name: string): Promise<LROperation<protos.google.cloud.dataplex.v1.Glossary, protos.google.cloud.dataplex.v1.OperationMetadata>>;

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

Parameter
Name Description
name string

The operation name that will be passed.

Returns
Type Description
Promise<LROperation<protos.google.cloud.dataplex.v1.Glossary, protos.google.cloud.dataplex.v1.OperationMetadata>>

{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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent resource where this Glossary will be created.
   *  Format: projects/{project_id_or_number}/locations/{location_id}
   *  where `location_id` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Required. Glossary ID: Glossary identifier.
   */
  // const glossaryId = 'abc123'
  /**
   *  Required. The Glossary to create.
   */
  // const glossary = {}
  /**
   *  Optional. Validates the request without actually creating the Glossary.
   *  Default: false.
   */
  // const validateOnly = true

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callCreateGlossary() {
    // Construct request
    const request = {
      parent,
      glossaryId,
      glossary,
    };

    // Run request
    const [operation] = await dataplexClient.createGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callCreateGlossary();

checkDeleteGlossaryProgress(name)

checkDeleteGlossaryProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataplex.v1.OperationMetadata>>;

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

Parameter
Name Description
name string

The operation name that will be passed.

Returns
Type Description
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.dataplex.v1.OperationMetadata>>

{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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the Glossary to delete.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   */
  // const name = 'abc123'
  /**
   *  Optional. The etag of the Glossary.
   *  If this is provided, it must match the server's etag.
   *  If the etag is provided and does not match the server-computed etag,
   *  the request must fail with a ABORTED error code.
   */
  // const etag = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callDeleteGlossary() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const [operation] = await dataplexClient.deleteGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callDeleteGlossary();

checkUpdateGlossaryProgress(name)

checkUpdateGlossaryProgress(name: string): Promise<LROperation<protos.google.cloud.dataplex.v1.Glossary, protos.google.cloud.dataplex.v1.OperationMetadata>>;

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

Parameter
Name Description
name string

The operation name that will be passed.

Returns
Type Description
Promise<LROperation<protos.google.cloud.dataplex.v1.Glossary, protos.google.cloud.dataplex.v1.OperationMetadata>>

{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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The Glossary to update.
   *  The Glossary's `name` field is used to identify the Glossary to update.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   */
  // const glossary = {}
  /**
   *  Required. The list of fields to update.
   */
  // const updateMask = {}
  /**
   *  Optional. Validates the request without actually updating the Glossary.
   *  Default: false.
   */
  // const validateOnly = true

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callUpdateGlossary() {
    // Construct request
    const request = {
      glossary,
      updateMask,
    };

    // Run request
    const [operation] = await dataplexClient.updateGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callUpdateGlossary();

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
Type Description
Promise<void>

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

contentPath(project, location, lake, content)

contentPath(project: string, location: string, lake: string, content: string): string;

Return a fully-qualified content resource name string.

Parameters
Name Description
project string
location string
lake string
content string
Returns
Type Description
string

{string} Resource name string.

createGlossary(request, options)

createGlossary(request?: protos.google.cloud.dataplex.v1.ICreateGlossaryRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;

Creates a new Glossary resource.

Parameters
Name Description
request ICreateGlossaryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its promise() method returns a promise you can await for. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent resource where this Glossary will be created.
   *  Format: projects/{project_id_or_number}/locations/{location_id}
   *  where `location_id` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Required. Glossary ID: Glossary identifier.
   */
  // const glossaryId = 'abc123'
  /**
   *  Required. The Glossary to create.
   */
  // const glossary = {}
  /**
   *  Optional. Validates the request without actually creating the Glossary.
   *  Default: false.
   */
  // const validateOnly = true

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callCreateGlossary() {
    // Construct request
    const request = {
      parent,
      glossaryId,
      glossary,
    };

    // Run request
    const [operation] = await dataplexClient.createGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callCreateGlossary();

createGlossary(request, options, callback)

createGlossary(request: protos.google.cloud.dataplex.v1.ICreateGlossaryRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

createGlossary(request, callback)

createGlossary(request: protos.google.cloud.dataplex.v1.ICreateGlossaryRequest, callback: Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryRequest
callback Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

createGlossaryCategory(request, options)

createGlossaryCategory(request?: protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryCategory,
        protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | undefined,
        {} | undefined
    ]>;

Creates a new GlossaryCategory resource.

Parameters
Name Description
request ICreateGlossaryCategoryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryCategory. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent resource where this GlossaryCategory will be created.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   *  where `locationId` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Required. GlossaryCategory identifier.
   */
  // const categoryId = 'abc123'
  /**
   *  Required. The GlossaryCategory to create.
   */
  // const category = {}

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callCreateGlossaryCategory() {
    // Construct request
    const request = {
      parent,
      categoryId,
      category,
    };

    // Run request
    const response = await dataplexClient.createGlossaryCategory(request);
    console.log(response);
  }

  callCreateGlossaryCategory();

createGlossaryCategory(request, options, callback)

createGlossaryCategory(request: protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryCategoryRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createGlossaryCategory(request, callback)

createGlossaryCategory(request: protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryCategoryRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.ICreateGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createGlossaryTerm(request, options)

createGlossaryTerm(request?: protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryTerm,
        protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | undefined,
        {} | undefined
    ]>;

Creates a new GlossaryTerm resource.

Parameters
Name Description
request ICreateGlossaryTermRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryTerm. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent resource where the GlossaryTerm will be created.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   *  where `location_id` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Required. GlossaryTerm identifier.
   */
  // const termId = 'abc123'
  /**
   *  Required. The GlossaryTerm to create.
   */
  // const term = {}

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callCreateGlossaryTerm() {
    // Construct request
    const request = {
      parent,
      termId,
      term,
    };

    // Run request
    const response = await dataplexClient.createGlossaryTerm(request);
    console.log(response);
  }

  callCreateGlossaryTerm();

createGlossaryTerm(request, options, callback)

createGlossaryTerm(request: protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryTermRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

createGlossaryTerm(request, callback)

createGlossaryTerm(request: protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request ICreateGlossaryTermRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.ICreateGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

dataAssetPath(project, location, dataProduct, dataAsset)

dataAssetPath(project: string, location: string, dataProduct: string, dataAsset: string): string;

Return a fully-qualified dataAsset resource name string.

Parameters
Name Description
project string
location string
dataProduct string
dataAsset string
Returns
Type Description
string

{string} Resource name string.

dataAttributeBindingPath(project, location, dataAttributeBindingId)

dataAttributeBindingPath(project: string, location: string, dataAttributeBindingId: string): string;

Return a fully-qualified dataAttributeBinding resource name string.

Parameters
Name Description
project string
location string
dataAttributeBindingId string
Returns
Type Description
string

{string} Resource name string.

dataAttributePath(project, location, dataTaxonomy, dataAttributeId)

dataAttributePath(project: string, location: string, dataTaxonomy: string, dataAttributeId: string): string;

Return a fully-qualified dataAttribute resource name string.

Parameters
Name Description
project string
location string
dataTaxonomy string
dataAttributeId string
Returns
Type Description
string

{string} Resource name string.

dataProductPath(project, location, dataProduct)

dataProductPath(project: string, location: string, dataProduct: string): string;

Return a fully-qualified dataProduct resource name string.

Parameters
Name Description
project string
location string
dataProduct string
Returns
Type Description
string

{string} Resource name string.

dataScanJobPath(project, location, dataScan, job)

dataScanJobPath(project: string, location: string, dataScan: string, job: string): string;

Return a fully-qualified dataScanJob resource name string.

Parameters
Name Description
project string
location string
dataScan string
job string
Returns
Type Description
string

{string} Resource name string.

dataScanPath(project, location, dataScan)

dataScanPath(project: string, location: string, dataScan: string): string;

Return a fully-qualified dataScan resource name string.

Parameters
Name Description
project string
location string
dataScan string
Returns
Type Description
string

{string} Resource name string.

dataTaxonomyPath(project, location, dataTaxonomyId)

dataTaxonomyPath(project: string, location: string, dataTaxonomyId: string): string;

Return a fully-qualified dataTaxonomy resource name string.

Parameters
Name Description
project string
location string
dataTaxonomyId string
Returns
Type Description
string

{string} Resource name string.

deleteGlossary(request, options)

deleteGlossary(request?: protos.google.cloud.dataplex.v1.IDeleteGlossaryRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;

Deletes a Glossary resource. All the categories and terms within the Glossary must be deleted before the Glossary can be deleted.

Parameters
Name Description
request IDeleteGlossaryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its promise() method returns a promise you can await for. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the Glossary to delete.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   */
  // const name = 'abc123'
  /**
   *  Optional. The etag of the Glossary.
   *  If this is provided, it must match the server's etag.
   *  If the etag is provided and does not match the server-computed etag,
   *  the request must fail with a ABORTED error code.
   */
  // const etag = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callDeleteGlossary() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const [operation] = await dataplexClient.deleteGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callDeleteGlossary();

deleteGlossary(request, options, callback)

deleteGlossary(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryRequest
options CallOptions
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteGlossary(request, callback)

deleteGlossary(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryRequest
callback Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteGlossaryCategory(request, options)

deleteGlossaryCategory(request?: protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest, options?: CallOptions): Promise<[
        protos.google.protobuf.IEmpty,
        protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | undefined,
        {} | undefined
    ]>;

Deletes a GlossaryCategory resource. All the GlossaryCategories and GlossaryTerms nested directly under the specified GlossaryCategory will be moved one level up to the parent in the hierarchy.

Parameters
Name Description
request IDeleteGlossaryCategoryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the GlossaryCategory to delete.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}
   */
  // const name = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callDeleteGlossaryCategory() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await dataplexClient.deleteGlossaryCategory(request);
    console.log(response);
  }

  callDeleteGlossaryCategory();

deleteGlossaryCategory(request, options, callback)

deleteGlossaryCategory(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryCategoryRequest
options CallOptions
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteGlossaryCategory(request, callback)

deleteGlossaryCategory(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryCategoryRequest
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteGlossaryTerm(request, options)

deleteGlossaryTerm(request?: protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest, options?: CallOptions): Promise<[
        protos.google.protobuf.IEmpty,
        protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | undefined,
        {} | undefined
    ]>;

Deletes a GlossaryTerm resource.

Parameters
Name Description
request IDeleteGlossaryTermRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the GlossaryTerm to delete.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id}
   */
  // const name = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callDeleteGlossaryTerm() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await dataplexClient.deleteGlossaryTerm(request);
    console.log(response);
  }

  callDeleteGlossaryTerm();

deleteGlossaryTerm(request, options, callback)

deleteGlossaryTerm(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryTermRequest
options CallOptions
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteGlossaryTerm(request, callback)

deleteGlossaryTerm(request: protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IDeleteGlossaryTermRequest
callback Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dataplex.v1.IDeleteGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

deleteOperation(request, optionsOrCallback, callback)

deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

Parameters
Name Description
request DeleteOperationRequest

The request object that will be sent.

optionsOrCallback CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>
callback Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>

The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.

Returns
Type Description
Promise<protos.google.protobuf.Empty>
Example

const client = longrunning.operationsClient();
await client.deleteOperation({name: ''});

encryptionConfigPath(organization, location, encryptionConfig)

encryptionConfigPath(organization: string, location: string, encryptionConfig: string): string;

Return a fully-qualified encryptionConfig resource name string.

Parameters
Name Description
organization string
location string
encryptionConfig string
Returns
Type Description
string

{string} Resource name string.

entityPath(project, location, lake, zone, entity)

entityPath(project: string, location: string, lake: string, zone: string, entity: string): string;

Return a fully-qualified entity resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
entity string
Returns
Type Description
string

{string} Resource name string.

entryGroupPath(project, location, entryGroup)

entryGroupPath(project: string, location: string, entryGroup: string): string;

Return a fully-qualified entryGroup resource name string.

Parameters
Name Description
project string
location string
entryGroup string
Returns
Type Description
string

{string} Resource name string.

entryLinkPath(project, location, entryGroup, entryLink)

entryLinkPath(project: string, location: string, entryGroup: string, entryLink: string): string;

Return a fully-qualified entryLink resource name string.

Parameters
Name Description
project string
location string
entryGroup string
entryLink string
Returns
Type Description
string

{string} Resource name string.

entryPath(project, location, entryGroup, entry)

entryPath(project: string, location: string, entryGroup: string, entry: string): string;

Return a fully-qualified entry resource name string.

Parameters
Name Description
project string
location string
entryGroup string
entry string
Returns
Type Description
string

{string} Resource name string.

entryTypePath(project, location, entryType)

entryTypePath(project: string, location: string, entryType: string): string;

Return a fully-qualified entryType resource name string.

Parameters
Name Description
project string
location string
entryType string
Returns
Type Description
string

{string} Resource name string.

environmentPath(project, location, lake, environment)

environmentPath(project: string, location: string, lake: string, environment: string): string;

Return a fully-qualified environment resource name string.

Parameters
Name Description
project string
location string
lake string
environment string
Returns
Type Description
string

{string} Resource name string.

getGlossary(request, options)

getGlossary(request?: protos.google.cloud.dataplex.v1.IGetGlossaryRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossary,
        protos.google.cloud.dataplex.v1.IGetGlossaryRequest | undefined,
        {} | undefined
    ]>;

Gets a Glossary resource.

Parameters
Name Description
request IGetGlossaryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IGetGlossaryRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Glossary. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the Glossary to retrieve.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   */
  // const name = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callGetGlossary() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await dataplexClient.getGlossary(request);
    console.log(response);
  }

  callGetGlossary();

getGlossary(request, options, callback)

getGlossary(request: protos.google.cloud.dataplex.v1.IGetGlossaryRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IGetGlossaryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IGetGlossaryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getGlossary(request, callback)

getGlossary(request: protos.google.cloud.dataplex.v1.IGetGlossaryRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IGetGlossaryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IGetGlossaryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getGlossaryCategory(request, options)

getGlossaryCategory(request?: protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryCategory,
        protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | undefined,
        {} | undefined
    ]>;

Gets a GlossaryCategory resource.

Parameters
Name Description
request IGetGlossaryCategoryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryCategory. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the GlossaryCategory to retrieve.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}
   */
  // const name = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callGetGlossaryCategory() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await dataplexClient.getGlossaryCategory(request);
    console.log(response);
  }

  callGetGlossaryCategory();

getGlossaryCategory(request, options, callback)

getGlossaryCategory(request: protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryCategoryRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getGlossaryCategory(request, callback)

getGlossaryCategory(request: protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryCategoryRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IGetGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getGlossaryTerm(request, options)

getGlossaryTerm(request?: protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryTerm,
        protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | undefined,
        {} | undefined
    ]>;

Gets a GlossaryTerm resource.

Parameters
Name Description
request IGetGlossaryTermRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryTerm. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the GlossaryTerm to retrieve.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id}
   */
  // const name = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callGetGlossaryTerm() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await dataplexClient.getGlossaryTerm(request);
    console.log(response);
  }

  callGetGlossaryTerm();

getGlossaryTerm(request, options, callback)

getGlossaryTerm(request: protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryTermRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getGlossaryTerm(request, callback)

getGlossaryTerm(request: protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IGetGlossaryTermRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IGetGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

getLocation(request, options, callback)

getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;

Gets information about a location.

Parameters
Name Description
request LocationProtos.google.cloud.location.IGetLocationRequest

The request object that will be sent.

options CallOptions | Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>

Call options. See CallOptions for more details.

callback Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
Returns
Type Description
Promise<google.cloud.location.ILocation>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

const [response] = await client.getLocation(request);

getOperation(request, optionsOrCallback, callback)

getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Parameters
Name Description
request GetOperationRequest

The request object that will be sent.

optionsOrCallback CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>
callback Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>

The function which will be called with the result of the API call.

The second parameter to the callback is an object representing . {Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call.

Returns
Type Description
Promise<[protos.google.longrunning.Operation]>
Example

const client = longrunning.operationsClient();
const name = '';
const [response] = await client.getOperation({name});
// doThingsWith(response)

getProjectId()

getProjectId(): Promise<string>;
Returns
Type Description
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
Name Description
callback Callback<string, undefined, undefined>
Returns
Type Description
void

glossaryCategoryPath(project, location, glossary, glossaryCategory)

glossaryCategoryPath(project: string, location: string, glossary: string, glossaryCategory: string): string;

Return a fully-qualified glossaryCategory resource name string.

Parameters
Name Description
project string
location string
glossary string
glossaryCategory string
Returns
Type Description
string

{string} Resource name string.

glossaryPath(project, location, glossary)

glossaryPath(project: string, location: string, glossary: string): string;

Return a fully-qualified glossary resource name string.

Parameters
Name Description
project string
location string
glossary string
Returns
Type Description
string

{string} Resource name string.

glossaryTermPath(project, location, glossary, glossaryTerm)

glossaryTermPath(project: string, location: string, glossary: string, glossaryTerm: string): string;

Return a fully-qualified glossaryTerm resource name string.

Parameters
Name Description
project string
location string
glossary string
glossaryTerm string
Returns
Type Description
string

{string} Resource name string.

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
Type Description
Promise<{ [name: string]: Function; }>

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

jobPath(project, location, lake, task, job)

jobPath(project: string, location: string, lake: string, task: string, job: string): string;

Return a fully-qualified job resource name string.

Parameters
Name Description
project string
location string
lake string
task string
job string
Returns
Type Description
string

{string} Resource name string.

lakePath(project, location, lake)

lakePath(project: string, location: string, lake: string): string;

Return a fully-qualified lake resource name string.

Parameters
Name Description
project string
location string
lake string
Returns
Type Description
string

{string} Resource name string.

listGlossaries(request, options)

listGlossaries(request?: protos.google.cloud.dataplex.v1.IListGlossariesRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossary[],
        protos.google.cloud.dataplex.v1.IListGlossariesRequest | null,
        protos.google.cloud.dataplex.v1.IListGlossariesResponse
    ]>;

Lists Glossary resources in a project and location.

Parameters
Name Description
request IListGlossariesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossary[], protos.google.cloud.dataplex.v1.IListGlossariesRequest | null, protos.google.cloud.dataplex.v1.IListGlossariesResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of Glossary. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listGlossariesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listGlossaries(request, options, callback)

listGlossaries(request: protos.google.cloud.dataplex.v1.IListGlossariesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossariesRequest, protos.google.cloud.dataplex.v1.IListGlossariesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossary>): void;
Parameters
Name Description
request IListGlossariesRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossariesRequest, protos.google.cloud.dataplex.v1.IListGlossariesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossary>
Returns
Type Description
void

listGlossaries(request, callback)

listGlossaries(request: protos.google.cloud.dataplex.v1.IListGlossariesRequest, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossariesRequest, protos.google.cloud.dataplex.v1.IListGlossariesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossary>): void;
Parameters
Name Description
request IListGlossariesRequest
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossariesRequest, protos.google.cloud.dataplex.v1.IListGlossariesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossary>
Returns
Type Description
void

listGlossariesAsync(request, options)

listGlossariesAsync(request?: protos.google.cloud.dataplex.v1.IListGlossariesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dataplex.v1.IGlossary>;

Equivalent to listGlossaries, but returns an iterable object.

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

Parameters
Name Description
request IListGlossariesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<protos.google.cloud.dataplex.v1.IGlossary>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Glossary. 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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent, which has this collection of Glossaries.
   *  Format: projects/{project_id_or_number}/locations/{location_id}
   *  where `location_id` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Optional. The maximum number of Glossaries to return. The service may
   *  return fewer than this value. If unspecified, at most 50 Glossaries will be
   *  returned. The maximum value is 1000; values above 1000 will be coerced to
   *  1000.
   */
  // const pageSize = 1234
  /**
   *  Optional. A page token, received from a previous `ListGlossaries` call.
   *  Provide this to retrieve the subsequent page.
   *  When paginating, all other parameters provided to `ListGlossaries` must
   *  match the call that provided the page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Filter expression that filters Glossaries listed in the response.
   *  Filters on proto fields of Glossary are supported.
   *  Examples of using a filter are:
   *    - `display_name="my-glossary"`
   *    - `categoryCount=1`
   *    - `termCount=0`
   */
  // const filter = 'abc123'
  /**
   *  Optional. Order by expression that orders Glossaries listed in the
   *  response. Order by fields are: `name` or `create_time` for the result. If
   *  not specified, the ordering is undefined.
   */
  // const orderBy = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callListGlossaries() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = dataplexClient.listGlossariesAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListGlossaries();

listGlossariesStream(request, options)

listGlossariesStream(request?: protos.google.cloud.dataplex.v1.IListGlossariesRequest, options?: CallOptions): Transform;

Equivalent to listGlossaries, but returns a NodeJS Stream object.

Parameters
Name Description
request IListGlossariesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Transform

{Stream} An object stream which emits an object representing Glossary 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 listGlossariesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listGlossaryCategories(request, options)

listGlossaryCategories(request?: protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryCategory[],
        protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest | null,
        protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse
    ]>;

Lists GlossaryCategory resources in a Glossary.

Parameters
Name Description
request IListGlossaryCategoriesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryCategory[], protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest | null, protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of GlossaryCategory. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listGlossaryCategoriesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listGlossaryCategories(request, options, callback)

listGlossaryCategories(request: protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryCategory>): void;
Parameters
Name Description
request IListGlossaryCategoriesRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryCategory>
Returns
Type Description
void

listGlossaryCategories(request, callback)

listGlossaryCategories(request: protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryCategory>): void;
Parameters
Name Description
request IListGlossaryCategoriesRequest
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, protos.google.cloud.dataplex.v1.IListGlossaryCategoriesResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryCategory>
Returns
Type Description
void

listGlossaryCategoriesAsync(request, options)

listGlossaryCategoriesAsync(request?: protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dataplex.v1.IGlossaryCategory>;

Equivalent to listGlossaryCategories, but returns an iterable object.

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

Parameters
Name Description
request IListGlossaryCategoriesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<protos.google.cloud.dataplex.v1.IGlossaryCategory>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing GlossaryCategory. 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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent, which has this collection of GlossaryCategories.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   *  Location is the Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Optional. The maximum number of GlossaryCategories to return. The service
   *  may return fewer than this value. If unspecified, at most 50
   *  GlossaryCategories will be returned. The maximum value is 1000; values
   *  above 1000 will be coerced to 1000.
   */
  // const pageSize = 1234
  /**
   *  Optional. A page token, received from a previous `ListGlossaryCategories`
   *  call. Provide this to retrieve the subsequent page. When paginating, all
   *  other parameters provided to `ListGlossaryCategories` must match the call
   *  that provided the page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Filter expression that filters GlossaryCategories listed in the
   *  response. Filters are supported on the following fields:
   *    - immediate_parent
   *  Examples of using a filter are:
   *    -
   *    `immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}"`
   *    -
   *    `immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}"`
   *  This will only return the GlossaryCategories that are directly nested
   *  under the specified parent.
   */
  // const filter = 'abc123'
  /**
   *  Optional. Order by expression that orders GlossaryCategories listed in the
   *  response. Order by fields are: `name` or `create_time` for the result. If
   *  not specified, the ordering is undefined.
   */
  // const orderBy = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callListGlossaryCategories() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = dataplexClient.listGlossaryCategoriesAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListGlossaryCategories();

listGlossaryCategoriesStream(request, options)

listGlossaryCategoriesStream(request?: protos.google.cloud.dataplex.v1.IListGlossaryCategoriesRequest, options?: CallOptions): Transform;

Equivalent to listGlossaryCategories, but returns a NodeJS Stream object.

Parameters
Name Description
request IListGlossaryCategoriesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Transform

{Stream} An object stream which emits an object representing GlossaryCategory 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 listGlossaryCategoriesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listGlossaryTerms(request, options)

listGlossaryTerms(request?: protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryTerm[],
        protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest | null,
        protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse
    ]>;

Lists GlossaryTerm resources in a Glossary.

Parameters
Name Description
request IListGlossaryTermsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryTerm[], protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest | null, protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of GlossaryTerm. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listGlossaryTermsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listGlossaryTerms(request, options, callback)

listGlossaryTerms(request: protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryTerm>): void;
Parameters
Name Description
request IListGlossaryTermsRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryTerm>
Returns
Type Description
void

listGlossaryTerms(request, callback)

listGlossaryTerms(request: protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, callback: PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryTerm>): void;
Parameters
Name Description
request IListGlossaryTermsRequest
callback PaginationCallback<protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, protos.google.cloud.dataplex.v1.IListGlossaryTermsResponse | null | undefined, protos.google.cloud.dataplex.v1.IGlossaryTerm>
Returns
Type Description
void

listGlossaryTermsAsync(request, options)

listGlossaryTermsAsync(request?: protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dataplex.v1.IGlossaryTerm>;

Equivalent to listGlossaryTerms, but returns an iterable object.

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

Parameters
Name Description
request IListGlossaryTermsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<protos.google.cloud.dataplex.v1.IGlossaryTerm>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing GlossaryTerm. 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 for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The parent, which has this collection of GlossaryTerms.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   *  where `location_id` refers to a Google Cloud region.
   */
  // const parent = 'abc123'
  /**
   *  Optional. The maximum number of GlossaryTerms to return. The service may
   *  return fewer than this value. If unspecified, at most 50 GlossaryTerms will
   *  be returned. The maximum value is 1000; values above 1000 will be coerced
   *  to 1000.
   */
  // const pageSize = 1234
  /**
   *  Optional. A page token, received from a previous `ListGlossaryTerms` call.
   *  Provide this to retrieve the subsequent page.
   *  When paginating, all other parameters provided to `ListGlossaryTerms` must
   *  match the call that provided the page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Filter expression that filters GlossaryTerms listed in the
   *  response. Filters are supported on the following fields:
   *    - immediate_parent
   *  Examples of using a filter are:
   *    -
   *    `immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}"`
   *    -
   *    `immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}"`
   *  This will only return the GlossaryTerms that are directly nested under the
   *  specified parent.
   */
  // const filter = 'abc123'
  /**
   *  Optional. Order by expression that orders GlossaryTerms listed in the
   *  response. Order by fields are: `name` or `create_time` for the result. If
   *  not specified, the ordering is undefined.
   */
  // const orderBy = 'abc123'

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callListGlossaryTerms() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = dataplexClient.listGlossaryTermsAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListGlossaryTerms();

listGlossaryTermsStream(request, options)

listGlossaryTermsStream(request?: protos.google.cloud.dataplex.v1.IListGlossaryTermsRequest, options?: CallOptions): Transform;

Equivalent to listGlossaryTerms, but returns a NodeJS Stream object.

Parameters
Name Description
request IListGlossaryTermsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Transform

{Stream} An object stream which emits an object representing GlossaryTerm 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 listGlossaryTermsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listLocationsAsync(request, options)

listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;

Lists information about the supported locations for this service. Returns an iterable object.

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

Parameters
Name Description
request LocationProtos.google.cloud.location.IListLocationsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
AsyncIterable<google.cloud.location.ILocation>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 for more details and examples.

Example

const iterable = client.listLocationsAsync(request);
for await (const response of iterable) {
  // process response
}

listOperationsAsync(request, options)

listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. Returns an iterable object.

For-await-of syntax is used with the iterable to recursively get response element on-demand.

Parameters
Name Description
request ListOperationsRequest

The request object that will be sent.

options CallOptions

Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details.

Returns
Type Description
AsyncIterable<protos.google.longrunning.IOperation>

{Object} An iterable Object that conforms to iteration protocols.

Example

const client = longrunning.operationsClient();
for await (const response of client.listOperationsAsync(request));
// doThingsWith(response)

locationPath(project, location)

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

Return a fully-qualified location resource name string.

Parameters
Name Description
project string
location string
Returns
Type Description
string

{string} Resource name string.

matchActionFromProjectLocationLakeActionName(projectLocationLakeActionName)

matchActionFromProjectLocationLakeActionName(projectLocationLakeActionName: string): string | number;

Parse the action from ProjectLocationLakeAction resource.

Parameter
Name Description
projectLocationLakeActionName string

A fully-qualified path representing project_location_lake_action resource.

Returns
Type Description
string | number

{string} A string representing the action.

matchActionFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName)

matchActionFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName: string): string | number;

Parse the action from ProjectLocationLakeZoneAction resource.

Parameter
Name Description
projectLocationLakeZoneActionName string

A fully-qualified path representing project_location_lake_zone_action resource.

Returns
Type Description
string | number

{string} A string representing the action.

matchActionFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchActionFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the action from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the action.

matchAspectTypeFromAspectTypeName(aspectTypeName)

matchAspectTypeFromAspectTypeName(aspectTypeName: string): string | number;

Parse the aspect_type from AspectType resource.

Parameter
Name Description
aspectTypeName string

A fully-qualified path representing AspectType resource.

Returns
Type Description
string | number

{string} A string representing the aspect_type.

matchAssetFromAssetName(assetName)

matchAssetFromAssetName(assetName: string): string | number;

Parse the asset from Asset resource.

Parameter
Name Description
assetName string

A fully-qualified path representing Asset resource.

Returns
Type Description
string | number

{string} A string representing the asset.

matchAssetFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchAssetFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the asset from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the asset.

matchContentFromContentName(contentName)

matchContentFromContentName(contentName: string): string | number;

Parse the content from Content resource.

Parameter
Name Description
contentName string

A fully-qualified path representing Content resource.

Returns
Type Description
string | number

{string} A string representing the content.

matchDataAssetFromDataAssetName(dataAssetName)

matchDataAssetFromDataAssetName(dataAssetName: string): string | number;

Parse the data_asset from DataAsset resource.

Parameter
Name Description
dataAssetName string

A fully-qualified path representing DataAsset resource.

Returns
Type Description
string | number

{string} A string representing the data_asset.

matchDataAttributeBindingIdFromDataAttributeBindingName(dataAttributeBindingName)

matchDataAttributeBindingIdFromDataAttributeBindingName(dataAttributeBindingName: string): string | number;

Parse the data_attribute_binding_id from DataAttributeBinding resource.

Parameter
Name Description
dataAttributeBindingName string

A fully-qualified path representing DataAttributeBinding resource.

Returns
Type Description
string | number

{string} A string representing the data_attribute_binding_id.

matchDataAttributeIdFromDataAttributeName(dataAttributeName)

matchDataAttributeIdFromDataAttributeName(dataAttributeName: string): string | number;

Parse the data_attribute_id from DataAttribute resource.

Parameter
Name Description
dataAttributeName string

A fully-qualified path representing DataAttribute resource.

Returns
Type Description
string | number

{string} A string representing the data_attribute_id.

matchDataProductFromDataAssetName(dataAssetName)

matchDataProductFromDataAssetName(dataAssetName: string): string | number;

Parse the data_product from DataAsset resource.

Parameter
Name Description
dataAssetName string

A fully-qualified path representing DataAsset resource.

Returns
Type Description
string | number

{string} A string representing the data_product.

matchDataProductFromDataProductName(dataProductName)

matchDataProductFromDataProductName(dataProductName: string): string | number;

Parse the data_product from DataProduct resource.

Parameter
Name Description
dataProductName string

A fully-qualified path representing DataProduct resource.

Returns
Type Description
string | number

{string} A string representing the data_product.

matchDataScanFromDataScanJobName(dataScanJobName)

matchDataScanFromDataScanJobName(dataScanJobName: string): string | number;

Parse the dataScan from DataScanJob resource.

Parameter
Name Description
dataScanJobName string

A fully-qualified path representing DataScanJob resource.

Returns
Type Description
string | number

{string} A string representing the dataScan.

matchDataScanFromDataScanName(dataScanName)

matchDataScanFromDataScanName(dataScanName: string): string | number;

Parse the dataScan from DataScan resource.

Parameter
Name Description
dataScanName string

A fully-qualified path representing DataScan resource.

Returns
Type Description
string | number

{string} A string representing the dataScan.

matchDataTaxonomyFromDataAttributeName(dataAttributeName)

matchDataTaxonomyFromDataAttributeName(dataAttributeName: string): string | number;

Parse the dataTaxonomy from DataAttribute resource.

Parameter
Name Description
dataAttributeName string

A fully-qualified path representing DataAttribute resource.

Returns
Type Description
string | number

{string} A string representing the dataTaxonomy.

matchDataTaxonomyIdFromDataTaxonomyName(dataTaxonomyName)

matchDataTaxonomyIdFromDataTaxonomyName(dataTaxonomyName: string): string | number;

Parse the data_taxonomy_id from DataTaxonomy resource.

Parameter
Name Description
dataTaxonomyName string

A fully-qualified path representing DataTaxonomy resource.

Returns
Type Description
string | number

{string} A string representing the data_taxonomy_id.

matchEncryptionConfigFromEncryptionConfigName(encryptionConfigName)

matchEncryptionConfigFromEncryptionConfigName(encryptionConfigName: string): string | number;

Parse the encryption_config from EncryptionConfig resource.

Parameter
Name Description
encryptionConfigName string

A fully-qualified path representing EncryptionConfig resource.

Returns
Type Description
string | number

{string} A string representing the encryption_config.

matchEntityFromEntityName(entityName)

matchEntityFromEntityName(entityName: string): string | number;

Parse the entity from Entity resource.

Parameter
Name Description
entityName string

A fully-qualified path representing Entity resource.

Returns
Type Description
string | number

{string} A string representing the entity.

matchEntityFromPartitionName(partitionName)

matchEntityFromPartitionName(partitionName: string): string | number;

Parse the entity from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the entity.

matchEntryFromEntryName(entryName)

matchEntryFromEntryName(entryName: string): string | number;

Parse the entry from Entry resource.

Parameter
Name Description
entryName string

A fully-qualified path representing Entry resource.

Returns
Type Description
string | number

{string} A string representing the entry.

matchEntryGroupFromEntryGroupName(entryGroupName)

matchEntryGroupFromEntryGroupName(entryGroupName: string): string | number;

Parse the entry_group from EntryGroup resource.

Parameter
Name Description
entryGroupName string

A fully-qualified path representing EntryGroup resource.

Returns
Type Description
string | number

{string} A string representing the entry_group.

matchEntryGroupFromEntryLinkName(entryLinkName)

matchEntryGroupFromEntryLinkName(entryLinkName: string): string | number;

Parse the entry_group from EntryLink resource.

Parameter
Name Description
entryLinkName string

A fully-qualified path representing EntryLink resource.

Returns
Type Description
string | number

{string} A string representing the entry_group.

matchEntryGroupFromEntryName(entryName)

matchEntryGroupFromEntryName(entryName: string): string | number;

Parse the entry_group from Entry resource.

Parameter
Name Description
entryName string

A fully-qualified path representing Entry resource.

Returns
Type Description
string | number

{string} A string representing the entry_group.

matchEntryLinkFromEntryLinkName(entryLinkName)

matchEntryLinkFromEntryLinkName(entryLinkName: string): string | number;

Parse the entry_link from EntryLink resource.

Parameter
Name Description
entryLinkName string

A fully-qualified path representing EntryLink resource.

Returns
Type Description
string | number

{string} A string representing the entry_link.

matchEntryTypeFromEntryTypeName(entryTypeName)

matchEntryTypeFromEntryTypeName(entryTypeName: string): string | number;

Parse the entry_type from EntryType resource.

Parameter
Name Description
entryTypeName string

A fully-qualified path representing EntryType resource.

Returns
Type Description
string | number

{string} A string representing the entry_type.

matchEnvironmentFromEnvironmentName(environmentName)

matchEnvironmentFromEnvironmentName(environmentName: string): string | number;

Parse the environment from Environment resource.

Parameter
Name Description
environmentName string

A fully-qualified path representing Environment resource.

Returns
Type Description
string | number

{string} A string representing the environment.

matchEnvironmentFromSessionName(sessionName)

matchEnvironmentFromSessionName(sessionName: string): string | number;

Parse the environment from Session resource.

Parameter
Name Description
sessionName string

A fully-qualified path representing Session resource.

Returns
Type Description
string | number

{string} A string representing the environment.

matchGlossaryCategoryFromGlossaryCategoryName(glossaryCategoryName)

matchGlossaryCategoryFromGlossaryCategoryName(glossaryCategoryName: string): string | number;

Parse the glossary_category from GlossaryCategory resource.

Parameter
Name Description
glossaryCategoryName string

A fully-qualified path representing GlossaryCategory resource.

Returns
Type Description
string | number

{string} A string representing the glossary_category.

matchGlossaryFromGlossaryCategoryName(glossaryCategoryName)

matchGlossaryFromGlossaryCategoryName(glossaryCategoryName: string): string | number;

Parse the glossary from GlossaryCategory resource.

Parameter
Name Description
glossaryCategoryName string

A fully-qualified path representing GlossaryCategory resource.

Returns
Type Description
string | number

{string} A string representing the glossary.

matchGlossaryFromGlossaryName(glossaryName)

matchGlossaryFromGlossaryName(glossaryName: string): string | number;

Parse the glossary from Glossary resource.

Parameter
Name Description
glossaryName string

A fully-qualified path representing Glossary resource.

Returns
Type Description
string | number

{string} A string representing the glossary.

matchGlossaryFromGlossaryTermName(glossaryTermName)

matchGlossaryFromGlossaryTermName(glossaryTermName: string): string | number;

Parse the glossary from GlossaryTerm resource.

Parameter
Name Description
glossaryTermName string

A fully-qualified path representing GlossaryTerm resource.

Returns
Type Description
string | number

{string} A string representing the glossary.

matchGlossaryTermFromGlossaryTermName(glossaryTermName)

matchGlossaryTermFromGlossaryTermName(glossaryTermName: string): string | number;

Parse the glossary_term from GlossaryTerm resource.

Parameter
Name Description
glossaryTermName string

A fully-qualified path representing GlossaryTerm resource.

Returns
Type Description
string | number

{string} A string representing the glossary_term.

matchJobFromDataScanJobName(dataScanJobName)

matchJobFromDataScanJobName(dataScanJobName: string): string | number;

Parse the job from DataScanJob resource.

Parameter
Name Description
dataScanJobName string

A fully-qualified path representing DataScanJob resource.

Returns
Type Description
string | number

{string} A string representing the job.

matchJobFromJobName(jobName)

matchJobFromJobName(jobName: string): string | number;

Parse the job from Job resource.

Parameter
Name Description
jobName string

A fully-qualified path representing Job resource.

Returns
Type Description
string | number

{string} A string representing the job.

matchLakeFromAssetName(assetName)

matchLakeFromAssetName(assetName: string): string | number;

Parse the lake from Asset resource.

Parameter
Name Description
assetName string

A fully-qualified path representing Asset resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromContentName(contentName)

matchLakeFromContentName(contentName: string): string | number;

Parse the lake from Content resource.

Parameter
Name Description
contentName string

A fully-qualified path representing Content resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromEntityName(entityName)

matchLakeFromEntityName(entityName: string): string | number;

Parse the lake from Entity resource.

Parameter
Name Description
entityName string

A fully-qualified path representing Entity resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromEnvironmentName(environmentName)

matchLakeFromEnvironmentName(environmentName: string): string | number;

Parse the lake from Environment resource.

Parameter
Name Description
environmentName string

A fully-qualified path representing Environment resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromJobName(jobName)

matchLakeFromJobName(jobName: string): string | number;

Parse the lake from Job resource.

Parameter
Name Description
jobName string

A fully-qualified path representing Job resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromLakeName(lakeName)

matchLakeFromLakeName(lakeName: string): string | number;

Parse the lake from Lake resource.

Parameter
Name Description
lakeName string

A fully-qualified path representing Lake resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromPartitionName(partitionName)

matchLakeFromPartitionName(partitionName: string): string | number;

Parse the lake from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromProjectLocationLakeActionName(projectLocationLakeActionName)

matchLakeFromProjectLocationLakeActionName(projectLocationLakeActionName: string): string | number;

Parse the lake from ProjectLocationLakeAction resource.

Parameter
Name Description
projectLocationLakeActionName string

A fully-qualified path representing project_location_lake_action resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName)

matchLakeFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName: string): string | number;

Parse the lake from ProjectLocationLakeZoneAction resource.

Parameter
Name Description
projectLocationLakeZoneActionName string

A fully-qualified path representing project_location_lake_zone_action resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchLakeFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the lake from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromSessionName(sessionName)

matchLakeFromSessionName(sessionName: string): string | number;

Parse the lake from Session resource.

Parameter
Name Description
sessionName string

A fully-qualified path representing Session resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromTaskName(taskName)

matchLakeFromTaskName(taskName: string): string | number;

Parse the lake from Task resource.

Parameter
Name Description
taskName string

A fully-qualified path representing Task resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLakeFromZoneName(zoneName)

matchLakeFromZoneName(zoneName: string): string | number;

Parse the lake from Zone resource.

Parameter
Name Description
zoneName string

A fully-qualified path representing Zone resource.

Returns
Type Description
string | number

{string} A string representing the lake.

matchLocationFromAspectTypeName(aspectTypeName)

matchLocationFromAspectTypeName(aspectTypeName: string): string | number;

Parse the location from AspectType resource.

Parameter
Name Description
aspectTypeName string

A fully-qualified path representing AspectType resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromAssetName(assetName)

matchLocationFromAssetName(assetName: string): string | number;

Parse the location from Asset resource.

Parameter
Name Description
assetName string

A fully-qualified path representing Asset resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromContentName(contentName)

matchLocationFromContentName(contentName: string): string | number;

Parse the location from Content resource.

Parameter
Name Description
contentName string

A fully-qualified path representing Content resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataAssetName(dataAssetName)

matchLocationFromDataAssetName(dataAssetName: string): string | number;

Parse the location from DataAsset resource.

Parameter
Name Description
dataAssetName string

A fully-qualified path representing DataAsset resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataAttributeBindingName(dataAttributeBindingName)

matchLocationFromDataAttributeBindingName(dataAttributeBindingName: string): string | number;

Parse the location from DataAttributeBinding resource.

Parameter
Name Description
dataAttributeBindingName string

A fully-qualified path representing DataAttributeBinding resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataAttributeName(dataAttributeName)

matchLocationFromDataAttributeName(dataAttributeName: string): string | number;

Parse the location from DataAttribute resource.

Parameter
Name Description
dataAttributeName string

A fully-qualified path representing DataAttribute resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataProductName(dataProductName)

matchLocationFromDataProductName(dataProductName: string): string | number;

Parse the location from DataProduct resource.

Parameter
Name Description
dataProductName string

A fully-qualified path representing DataProduct resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataScanJobName(dataScanJobName)

matchLocationFromDataScanJobName(dataScanJobName: string): string | number;

Parse the location from DataScanJob resource.

Parameter
Name Description
dataScanJobName string

A fully-qualified path representing DataScanJob resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataScanName(dataScanName)

matchLocationFromDataScanName(dataScanName: string): string | number;

Parse the location from DataScan resource.

Parameter
Name Description
dataScanName string

A fully-qualified path representing DataScan resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromDataTaxonomyName(dataTaxonomyName)

matchLocationFromDataTaxonomyName(dataTaxonomyName: string): string | number;

Parse the location from DataTaxonomy resource.

Parameter
Name Description
dataTaxonomyName string

A fully-qualified path representing DataTaxonomy resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEncryptionConfigName(encryptionConfigName)

matchLocationFromEncryptionConfigName(encryptionConfigName: string): string | number;

Parse the location from EncryptionConfig resource.

Parameter
Name Description
encryptionConfigName string

A fully-qualified path representing EncryptionConfig resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEntityName(entityName)

matchLocationFromEntityName(entityName: string): string | number;

Parse the location from Entity resource.

Parameter
Name Description
entityName string

A fully-qualified path representing Entity resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEntryGroupName(entryGroupName)

matchLocationFromEntryGroupName(entryGroupName: string): string | number;

Parse the location from EntryGroup resource.

Parameter
Name Description
entryGroupName string

A fully-qualified path representing EntryGroup resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEntryLinkName(entryLinkName)

matchLocationFromEntryLinkName(entryLinkName: string): string | number;

Parse the location from EntryLink resource.

Parameter
Name Description
entryLinkName string

A fully-qualified path representing EntryLink resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEntryName(entryName)

matchLocationFromEntryName(entryName: string): string | number;

Parse the location from Entry resource.

Parameter
Name Description
entryName string

A fully-qualified path representing Entry resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEntryTypeName(entryTypeName)

matchLocationFromEntryTypeName(entryTypeName: string): string | number;

Parse the location from EntryType resource.

Parameter
Name Description
entryTypeName string

A fully-qualified path representing EntryType resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromEnvironmentName(environmentName)

matchLocationFromEnvironmentName(environmentName: string): string | number;

Parse the location from Environment resource.

Parameter
Name Description
environmentName string

A fully-qualified path representing Environment resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromGlossaryCategoryName(glossaryCategoryName)

matchLocationFromGlossaryCategoryName(glossaryCategoryName: string): string | number;

Parse the location from GlossaryCategory resource.

Parameter
Name Description
glossaryCategoryName string

A fully-qualified path representing GlossaryCategory resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromGlossaryName(glossaryName)

matchLocationFromGlossaryName(glossaryName: string): string | number;

Parse the location from Glossary resource.

Parameter
Name Description
glossaryName string

A fully-qualified path representing Glossary resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromGlossaryTermName(glossaryTermName)

matchLocationFromGlossaryTermName(glossaryTermName: string): string | number;

Parse the location from GlossaryTerm resource.

Parameter
Name Description
glossaryTermName string

A fully-qualified path representing GlossaryTerm resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromJobName(jobName)

matchLocationFromJobName(jobName: string): string | number;

Parse the location from Job resource.

Parameter
Name Description
jobName string

A fully-qualified path representing Job resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromLakeName(lakeName)

matchLocationFromLakeName(lakeName: string): string | number;

Parse the location from Lake resource.

Parameter
Name Description
lakeName string

A fully-qualified path representing Lake resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromLocationName(locationName)

matchLocationFromLocationName(locationName: string): string | number;

Parse the location from Location resource.

Parameter
Name Description
locationName string

A fully-qualified path representing Location resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromMetadataFeedName(metadataFeedName)

matchLocationFromMetadataFeedName(metadataFeedName: string): string | number;

Parse the location from MetadataFeed resource.

Parameter
Name Description
metadataFeedName string

A fully-qualified path representing MetadataFeed resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromMetadataJobName(metadataJobName)

matchLocationFromMetadataJobName(metadataJobName: string): string | number;

Parse the location from MetadataJob resource.

Parameter
Name Description
metadataJobName string

A fully-qualified path representing MetadataJob resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromPartitionName(partitionName)

matchLocationFromPartitionName(partitionName: string): string | number;

Parse the location from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromProjectLocationLakeActionName(projectLocationLakeActionName)

matchLocationFromProjectLocationLakeActionName(projectLocationLakeActionName: string): string | number;

Parse the location from ProjectLocationLakeAction resource.

Parameter
Name Description
projectLocationLakeActionName string

A fully-qualified path representing project_location_lake_action resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName)

matchLocationFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName: string): string | number;

Parse the location from ProjectLocationLakeZoneAction resource.

Parameter
Name Description
projectLocationLakeZoneActionName string

A fully-qualified path representing project_location_lake_zone_action resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchLocationFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the location from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromSessionName(sessionName)

matchLocationFromSessionName(sessionName: string): string | number;

Parse the location from Session resource.

Parameter
Name Description
sessionName string

A fully-qualified path representing Session resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromTaskName(taskName)

matchLocationFromTaskName(taskName: string): string | number;

Parse the location from Task resource.

Parameter
Name Description
taskName string

A fully-qualified path representing Task resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchLocationFromZoneName(zoneName)

matchLocationFromZoneName(zoneName: string): string | number;

Parse the location from Zone resource.

Parameter
Name Description
zoneName string

A fully-qualified path representing Zone resource.

Returns
Type Description
string | number

{string} A string representing the location.

matchMetadataFeedFromMetadataFeedName(metadataFeedName)

matchMetadataFeedFromMetadataFeedName(metadataFeedName: string): string | number;

Parse the metadata_feed from MetadataFeed resource.

Parameter
Name Description
metadataFeedName string

A fully-qualified path representing MetadataFeed resource.

Returns
Type Description
string | number

{string} A string representing the metadata_feed.

matchMetadataJobFromMetadataJobName(metadataJobName)

matchMetadataJobFromMetadataJobName(metadataJobName: string): string | number;

Parse the metadataJob from MetadataJob resource.

Parameter
Name Description
metadataJobName string

A fully-qualified path representing MetadataJob resource.

Returns
Type Description
string | number

{string} A string representing the metadataJob.

matchOrganizationFromEncryptionConfigName(encryptionConfigName)

matchOrganizationFromEncryptionConfigName(encryptionConfigName: string): string | number;

Parse the organization from EncryptionConfig resource.

Parameter
Name Description
encryptionConfigName string

A fully-qualified path representing EncryptionConfig resource.

Returns
Type Description
string | number

{string} A string representing the organization.

matchPartitionFromPartitionName(partitionName)

matchPartitionFromPartitionName(partitionName: string): string | number;

Parse the partition from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the partition.

matchProjectFromAspectTypeName(aspectTypeName)

matchProjectFromAspectTypeName(aspectTypeName: string): string | number;

Parse the project from AspectType resource.

Parameter
Name Description
aspectTypeName string

A fully-qualified path representing AspectType resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromAssetName(assetName)

matchProjectFromAssetName(assetName: string): string | number;

Parse the project from Asset resource.

Parameter
Name Description
assetName string

A fully-qualified path representing Asset resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromContentName(contentName)

matchProjectFromContentName(contentName: string): string | number;

Parse the project from Content resource.

Parameter
Name Description
contentName string

A fully-qualified path representing Content resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataAssetName(dataAssetName)

matchProjectFromDataAssetName(dataAssetName: string): string | number;

Parse the project from DataAsset resource.

Parameter
Name Description
dataAssetName string

A fully-qualified path representing DataAsset resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataAttributeBindingName(dataAttributeBindingName)

matchProjectFromDataAttributeBindingName(dataAttributeBindingName: string): string | number;

Parse the project from DataAttributeBinding resource.

Parameter
Name Description
dataAttributeBindingName string

A fully-qualified path representing DataAttributeBinding resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataAttributeName(dataAttributeName)

matchProjectFromDataAttributeName(dataAttributeName: string): string | number;

Parse the project from DataAttribute resource.

Parameter
Name Description
dataAttributeName string

A fully-qualified path representing DataAttribute resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataProductName(dataProductName)

matchProjectFromDataProductName(dataProductName: string): string | number;

Parse the project from DataProduct resource.

Parameter
Name Description
dataProductName string

A fully-qualified path representing DataProduct resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataScanJobName(dataScanJobName)

matchProjectFromDataScanJobName(dataScanJobName: string): string | number;

Parse the project from DataScanJob resource.

Parameter
Name Description
dataScanJobName string

A fully-qualified path representing DataScanJob resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataScanName(dataScanName)

matchProjectFromDataScanName(dataScanName: string): string | number;

Parse the project from DataScan resource.

Parameter
Name Description
dataScanName string

A fully-qualified path representing DataScan resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromDataTaxonomyName(dataTaxonomyName)

matchProjectFromDataTaxonomyName(dataTaxonomyName: string): string | number;

Parse the project from DataTaxonomy resource.

Parameter
Name Description
dataTaxonomyName string

A fully-qualified path representing DataTaxonomy resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEntityName(entityName)

matchProjectFromEntityName(entityName: string): string | number;

Parse the project from Entity resource.

Parameter
Name Description
entityName string

A fully-qualified path representing Entity resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEntryGroupName(entryGroupName)

matchProjectFromEntryGroupName(entryGroupName: string): string | number;

Parse the project from EntryGroup resource.

Parameter
Name Description
entryGroupName string

A fully-qualified path representing EntryGroup resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEntryLinkName(entryLinkName)

matchProjectFromEntryLinkName(entryLinkName: string): string | number;

Parse the project from EntryLink resource.

Parameter
Name Description
entryLinkName string

A fully-qualified path representing EntryLink resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEntryName(entryName)

matchProjectFromEntryName(entryName: string): string | number;

Parse the project from Entry resource.

Parameter
Name Description
entryName string

A fully-qualified path representing Entry resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEntryTypeName(entryTypeName)

matchProjectFromEntryTypeName(entryTypeName: string): string | number;

Parse the project from EntryType resource.

Parameter
Name Description
entryTypeName string

A fully-qualified path representing EntryType resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromEnvironmentName(environmentName)

matchProjectFromEnvironmentName(environmentName: string): string | number;

Parse the project from Environment resource.

Parameter
Name Description
environmentName string

A fully-qualified path representing Environment resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromGlossaryCategoryName(glossaryCategoryName)

matchProjectFromGlossaryCategoryName(glossaryCategoryName: string): string | number;

Parse the project from GlossaryCategory resource.

Parameter
Name Description
glossaryCategoryName string

A fully-qualified path representing GlossaryCategory resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromGlossaryName(glossaryName)

matchProjectFromGlossaryName(glossaryName: string): string | number;

Parse the project from Glossary resource.

Parameter
Name Description
glossaryName string

A fully-qualified path representing Glossary resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromGlossaryTermName(glossaryTermName)

matchProjectFromGlossaryTermName(glossaryTermName: string): string | number;

Parse the project from GlossaryTerm resource.

Parameter
Name Description
glossaryTermName string

A fully-qualified path representing GlossaryTerm resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromJobName(jobName)

matchProjectFromJobName(jobName: string): string | number;

Parse the project from Job resource.

Parameter
Name Description
jobName string

A fully-qualified path representing Job resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromLakeName(lakeName)

matchProjectFromLakeName(lakeName: string): string | number;

Parse the project from Lake resource.

Parameter
Name Description
lakeName string

A fully-qualified path representing Lake resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromLocationName(locationName)

matchProjectFromLocationName(locationName: string): string | number;

Parse the project from Location resource.

Parameter
Name Description
locationName string

A fully-qualified path representing Location resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromMetadataFeedName(metadataFeedName)

matchProjectFromMetadataFeedName(metadataFeedName: string): string | number;

Parse the project from MetadataFeed resource.

Parameter
Name Description
metadataFeedName string

A fully-qualified path representing MetadataFeed resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromMetadataJobName(metadataJobName)

matchProjectFromMetadataJobName(metadataJobName: string): string | number;

Parse the project from MetadataJob resource.

Parameter
Name Description
metadataJobName string

A fully-qualified path representing MetadataJob resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromPartitionName(partitionName)

matchProjectFromPartitionName(partitionName: string): string | number;

Parse the project from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromProjectLocationLakeActionName(projectLocationLakeActionName)

matchProjectFromProjectLocationLakeActionName(projectLocationLakeActionName: string): string | number;

Parse the project from ProjectLocationLakeAction resource.

Parameter
Name Description
projectLocationLakeActionName string

A fully-qualified path representing project_location_lake_action resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName)

matchProjectFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName: string): string | number;

Parse the project from ProjectLocationLakeZoneAction resource.

Parameter
Name Description
projectLocationLakeZoneActionName string

A fully-qualified path representing project_location_lake_zone_action resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchProjectFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the project from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromSessionName(sessionName)

matchProjectFromSessionName(sessionName: string): string | number;

Parse the project from Session resource.

Parameter
Name Description
sessionName string

A fully-qualified path representing Session resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromTaskName(taskName)

matchProjectFromTaskName(taskName: string): string | number;

Parse the project from Task resource.

Parameter
Name Description
taskName string

A fully-qualified path representing Task resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchProjectFromZoneName(zoneName)

matchProjectFromZoneName(zoneName: string): string | number;

Parse the project from Zone resource.

Parameter
Name Description
zoneName string

A fully-qualified path representing Zone resource.

Returns
Type Description
string | number

{string} A string representing the project.

matchSessionFromSessionName(sessionName)

matchSessionFromSessionName(sessionName: string): string | number;

Parse the session from Session resource.

Parameter
Name Description
sessionName string

A fully-qualified path representing Session resource.

Returns
Type Description
string | number

{string} A string representing the session.

matchTaskFromJobName(jobName)

matchTaskFromJobName(jobName: string): string | number;

Parse the task from Job resource.

Parameter
Name Description
jobName string

A fully-qualified path representing Job resource.

Returns
Type Description
string | number

{string} A string representing the task.

matchTaskFromTaskName(taskName)

matchTaskFromTaskName(taskName: string): string | number;

Parse the task from Task resource.

Parameter
Name Description
taskName string

A fully-qualified path representing Task resource.

Returns
Type Description
string | number

{string} A string representing the task.

matchZoneFromAssetName(assetName)

matchZoneFromAssetName(assetName: string): string | number;

Parse the zone from Asset resource.

Parameter
Name Description
assetName string

A fully-qualified path representing Asset resource.

Returns
Type Description
string | number

{string} A string representing the zone.

matchZoneFromEntityName(entityName)

matchZoneFromEntityName(entityName: string): string | number;

Parse the zone from Entity resource.

Parameter
Name Description
entityName string

A fully-qualified path representing Entity resource.

Returns
Type Description
string | number

{string} A string representing the zone.

matchZoneFromPartitionName(partitionName)

matchZoneFromPartitionName(partitionName: string): string | number;

Parse the zone from Partition resource.

Parameter
Name Description
partitionName string

A fully-qualified path representing Partition resource.

Returns
Type Description
string | number

{string} A string representing the zone.

matchZoneFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName)

matchZoneFromProjectLocationLakeZoneActionName(projectLocationLakeZoneActionName: string): string | number;

Parse the zone from ProjectLocationLakeZoneAction resource.

Parameter
Name Description
projectLocationLakeZoneActionName string

A fully-qualified path representing project_location_lake_zone_action resource.

Returns
Type Description
string | number

{string} A string representing the zone.

matchZoneFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName)

matchZoneFromProjectLocationLakeZoneAssetActionName(projectLocationLakeZoneAssetActionName: string): string | number;

Parse the zone from ProjectLocationLakeZoneAssetAction resource.

Parameter
Name Description
projectLocationLakeZoneAssetActionName string

A fully-qualified path representing project_location_lake_zone_asset_action resource.

Returns
Type Description
string | number

{string} A string representing the zone.

matchZoneFromZoneName(zoneName)

matchZoneFromZoneName(zoneName: string): string | number;

Parse the zone from Zone resource.

Parameter
Name Description
zoneName string

A fully-qualified path representing Zone resource.

Returns
Type Description
string | number

{string} A string representing the zone.

metadataFeedPath(project, location, metadataFeed)

metadataFeedPath(project: string, location: string, metadataFeed: string): string;

Return a fully-qualified metadataFeed resource name string.

Parameters
Name Description
project string
location string
metadataFeed string
Returns
Type Description
string

{string} Resource name string.

metadataJobPath(project, location, metadataJob)

metadataJobPath(project: string, location: string, metadataJob: string): string;

Return a fully-qualified metadataJob resource name string.

Parameters
Name Description
project string
location string
metadataJob string
Returns
Type Description
string

{string} Resource name string.

partitionPath(project, location, lake, zone, entity, partition)

partitionPath(project: string, location: string, lake: string, zone: string, entity: string, partition: string): string;

Return a fully-qualified partition resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
entity string
partition string
Returns
Type Description
string

{string} Resource name string.

projectLocationLakeActionPath(project, location, lake, action)

projectLocationLakeActionPath(project: string, location: string, lake: string, action: string): string;

Return a fully-qualified projectLocationLakeAction resource name string.

Parameters
Name Description
project string
location string
lake string
action string
Returns
Type Description
string

{string} Resource name string.

projectLocationLakeZoneActionPath(project, location, lake, zone, action)

projectLocationLakeZoneActionPath(project: string, location: string, lake: string, zone: string, action: string): string;

Return a fully-qualified projectLocationLakeZoneAction resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
action string
Returns
Type Description
string

{string} Resource name string.

projectLocationLakeZoneAssetActionPath(project, location, lake, zone, asset, action)

projectLocationLakeZoneAssetActionPath(project: string, location: string, lake: string, zone: string, asset: string, action: string): string;

Return a fully-qualified projectLocationLakeZoneAssetAction resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
asset string
action string
Returns
Type Description
string

{string} Resource name string.

sessionPath(project, location, lake, environment, session)

sessionPath(project: string, location: string, lake: string, environment: string, session: string): string;

Return a fully-qualified session resource name string.

Parameters
Name Description
project string
location string
lake string
environment string
session string
Returns
Type Description
string

{string} Resource name string.

taskPath(project, location, lake, task)

taskPath(project: string, location: string, lake: string, task: string): string;

Return a fully-qualified task resource name string.

Parameters
Name Description
project string
location string
lake string
task string
Returns
Type Description
string

{string} Resource name string.

updateGlossary(request, options)

updateGlossary(request?: protos.google.cloud.dataplex.v1.IUpdateGlossaryRequest, options?: CallOptions): Promise<[
        LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>,
        protos.google.longrunning.IOperation | undefined,
        {} | undefined
    ]>;

Updates a Glossary resource.

Parameters
Name Description
request IUpdateGlossaryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its promise() method returns a promise you can await for. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The Glossary to update.
   *  The Glossary's `name` field is used to identify the Glossary to update.
   *  Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
   */
  // const glossary = {}
  /**
   *  Required. The list of fields to update.
   */
  // const updateMask = {}
  /**
   *  Optional. Validates the request without actually updating the Glossary.
   *  Default: false.
   */
  // const validateOnly = true

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callUpdateGlossary() {
    // Construct request
    const request = {
      glossary,
      updateMask,
    };

    // Run request
    const [operation] = await dataplexClient.updateGlossary(request);
    const [response] = await operation.promise();
    console.log(response);
  }

  callUpdateGlossary();

updateGlossary(request, options, callback)

updateGlossary(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryRequest
options CallOptions
callback Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateGlossary(request, callback)

updateGlossary(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryRequest, callback: Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryRequest
callback Callback<LROperation<protos.google.cloud.dataplex.v1.IGlossary, protos.google.cloud.dataplex.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateGlossaryCategory(request, options)

updateGlossaryCategory(request?: protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryCategory,
        protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | undefined,
        {} | undefined
    ]>;

Updates a GlossaryCategory resource.

Parameters
Name Description
request IUpdateGlossaryCategoryRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryCategory. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The GlossaryCategory to update.
   *  The GlossaryCategory's `name` field is used to identify the
   *  GlossaryCategory to update. Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}
   */
  // const category = {}
  /**
   *  Required. The list of fields to update.
   */
  // const updateMask = {}

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callUpdateGlossaryCategory() {
    // Construct request
    const request = {
      category,
      updateMask,
    };

    // Run request
    const response = await dataplexClient.updateGlossaryCategory(request);
    console.log(response);
  }

  callUpdateGlossaryCategory();

updateGlossaryCategory(request, options, callback)

updateGlossaryCategory(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryCategoryRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateGlossaryCategory(request, callback)

updateGlossaryCategory(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryCategoryRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryCategory, protos.google.cloud.dataplex.v1.IUpdateGlossaryCategoryRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateGlossaryTerm(request, options)

updateGlossaryTerm(request?: protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest, options?: CallOptions): Promise<[
        protos.google.cloud.dataplex.v1.IGlossaryTerm,
        protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | undefined,
        {} | undefined
    ]>;

Updates a GlossaryTerm resource.

Parameters
Name Description
request IUpdateGlossaryTermRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
Type Description
Promise<[ protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | undefined, {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing GlossaryTerm. Please see the documentation for more details and examples.

Example

  /**
   * 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.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The GlossaryTerm to update.
   *  The GlossaryTerm's `name` field is used to identify the GlossaryTerm to
   *  update. Format:
   *  projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id}
   */
  // const term = {}
  /**
   *  Required. The list of fields to update.
   */
  // const updateMask = {}

  // Imports the Dataplex library
  const {BusinessGlossaryServiceClient} = require('@google-cloud/dataplex').v1;

  // Instantiates a client
  const dataplexClient = new BusinessGlossaryServiceClient();

  async function callUpdateGlossaryTerm() {
    // Construct request
    const request = {
      term,
      updateMask,
    };

    // Run request
    const response = await dataplexClient.updateGlossaryTerm(request);
    console.log(response);
  }

  callUpdateGlossaryTerm();

updateGlossaryTerm(request, options, callback)

updateGlossaryTerm(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest, options: CallOptions, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryTermRequest
options CallOptions
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

updateGlossaryTerm(request, callback)

updateGlossaryTerm(request: protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest, callback: Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | null | undefined, {} | null | undefined>): void;
Parameters
Name Description
request IUpdateGlossaryTermRequest
callback Callback<protos.google.cloud.dataplex.v1.IGlossaryTerm, protos.google.cloud.dataplex.v1.IUpdateGlossaryTermRequest | null | undefined, {} | null | undefined>
Returns
Type Description
void

zonePath(project, location, lake, zone)

zonePath(project: string, location: string, lake: string, zone: string): string;

Return a fully-qualified zone resource name string.

Parameters
Name Description
project string
location string
lake string
zone string
Returns
Type Description
string

{string} Resource name string.