DatasetServiceClient

DatasetServiceClient

The service that manages Vertex AI Dataset and its child resources.

Constructor

new DatasetServiceClient(optionsopt, gaxInstanceopt)

Construct an instance of DatasetServiceClient.

Parameters:
Name Type Attributes Description
options object <optional>

The configuration object. The options accepted by the constructor are described in detail in this document. The common options are:

Properties
Name Type Attributes Description
credentials object <optional>

Credentials object.

Properties
Name Type Attributes Description
client_email string <optional>
private_key string <optional>
email string <optional>

Account email address. Required when using a .pem or .p12 keyFilename.

keyFilename string <optional>

Full path to the a .json, .pem, or .p12 key downloaded from the Google Developers Console. If you provide a path to a JSON file, the projectId option below is not necessary. NOTE: .pem and .p12 require you to specify options.email as well.

port number <optional>

The port on which to connect to the remote host.

projectId string <optional>

The project ID from the Google Developer's Console, e.g. 'grape-spaceship-123'. We will also check the environment variable GCLOUD_PROJECT for your project ID. If your app is running in an environment which supports Application Default Credentials, your project ID will be detected automatically.

apiEndpoint string <optional>

The domain name of the API remote host.

clientConfig gax.ClientConfig <optional>

Client configuration override. Follows the structure of gapicConfig.

fallback boolean <optional>

Use HTTP/1.1 REST mode. For more information, please check the documentation.

gaxInstance gax <optional>

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 DatasetServiceClient({fallback: true}, gax);

Members

apiEndpoint

The DNS address for this API service.

apiEndpoint

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

port

The port for this API service.

scopes

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

servicePath

The DNS address for this API service.

Methods

annotationPath(project, location, dataset, data_item, annotation) → {string}

Return a fully-qualified annotation resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
data_item string
annotation string
Returns:
Type Description
string

Resource name string.

annotationSpecPath(project, location, dataset, annotation_spec) → {string}

Return a fully-qualified annotationSpec resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
annotation_spec string
Returns:
Type Description
string

Resource name string.

artifactPath(project, location, metadata_store, artifact) → {string}

Return a fully-qualified artifact resource name string.

Parameters:
Name Type Description
project string
location string
metadata_store string
artifact string
Returns:
Type Description
string

Resource name string.

batchPredictionJobPath(project, location, batch_prediction_job) → {string}

Return a fully-qualified batchPredictionJob resource name string.

Parameters:
Name Type Description
project string
location string
batch_prediction_job string
Returns:
Type Description
string

Resource name string.

cachedContentPath(project, location, cached_content) → {string}

Return a fully-qualified cachedContent resource name string.

Parameters:
Name Type Description
project string
location string
cached_content string
Returns:
Type Description
string

Resource name string.

cancelOperation(request, optionsopt, callbackopt) → {Promise}

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 Operations.GetOperation 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 Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

The name of the operation resource to be cancelled.

options Object <optional>

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

callback function <optional>

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

Returns:
Type Description
Promise
  • The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.
Example
```
const client = longrunning.operationsClient();
await client.cancelOperation({name: ''});
```

(async) checkAssembleDataProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 Dataset resource (used only for MULTIMODAL
   *  datasets). Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const name = 'abc123'
  /**
   *  Optional. The read config for the dataset.
   */
  // const geminiRequestReadConfig = {}

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callAssembleData();

(async) checkAssessDataProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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.
   */
  /**
   *  Optional. Configuration for the tuning validation assessment.
   */
  // const tuningValidationAssessmentConfig = {}
  /**
   *  Optional. Configuration for the tuning resource usage assessment.
   */
  // const tuningResourceUsageAssessmentConfig = {}
  /**
   *  Optional. Configuration for the batch prediction validation assessment.
   */
  // const batchPredictionValidationAssessmentConfig = {}
  /**
   *  Optional. Configuration for the batch prediction resource usage
   *  assessment.
   */
  // const batchPredictionResourceUsageAssessmentConfig = {}
  /**
   *  Required. The name of the Dataset resource. Used only for MULTIMODAL
   *  datasets. Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const name = 'abc123'
  /**
   *  Optional. The Gemini request read config for the dataset.
   */
  // const geminiRequestReadConfig = {}

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callAssessData();

(async) checkCreateDatasetProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 resource name of the Location to create the Dataset in.
   *  Format: `projects/{project}/locations/{location}`
   */
  // const parent = 'abc123'
  /**
   *  Required. The Dataset to create.
   */
  // const dataset = {}

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callCreateDataset();

(async) checkCreateDatasetVersionProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 Dataset resource.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const parent = 'abc123'
  /**
   *  Required. The version to be created. The same CMEK policies with the
   *  original Dataset will be applied the dataset version. So here we don't need
   *  to specify the EncryptionSpecType here.
   */
  // const datasetVersion = {}

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callCreateDatasetVersion();

(async) checkDeleteDatasetProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 resource name of the Dataset to delete.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const name = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callDeleteDataset();

(async) checkDeleteDatasetVersionProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 resource name of the Dataset version to delete.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
   */
  // const name = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callDeleteDatasetVersion();

(async) checkDeleteSavedQueryProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 resource name of the SavedQuery to delete.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}`
   */
  // const name = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callDeleteSavedQuery();

(async) checkExportDataProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 Dataset resource.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const name = 'abc123'
  /**
   *  Required. The desired output location.
   */
  // const exportConfig = {}

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callExportData();

(async) checkImportDataProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 Dataset resource.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const name = 'abc123'
  /**
   *  Required. The desired input locations. The contents of all input locations
   *  will be imported in one batch.
   */
  // const importConfigs = [1,2,3,4]

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callImportData();

(async) checkRestoreDatasetVersionProgress(name) → {Promise}

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

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
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 DatasetVersion resource.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
   */
  // const name = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callRestoreDatasetVersion();

close() → {Promise}

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

A promise that resolves when the client is closed.

contextPath(project, location, metadata_store, context) → {string}

Return a fully-qualified context resource name string.

Parameters:
Name Type Description
project string
location string
metadata_store string
context string
Returns:
Type Description
string

Resource name string.

customJobPath(project, location, custom_job) → {string}

Return a fully-qualified customJob resource name string.

Parameters:
Name Type Description
project string
location string
custom_job string
Returns:
Type Description
string

Resource name string.

dataItemPath(project, location, dataset, data_item) → {string}

Return a fully-qualified dataItem resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
data_item string
Returns:
Type Description
string

Resource name string.

dataLabelingJobPath(project, location, data_labeling_job) → {string}

Return a fully-qualified dataLabelingJob resource name string.

Parameters:
Name Type Description
project string
location string
data_labeling_job string
Returns:
Type Description
string

Resource name string.

datasetPath(project, location, dataset) → {string}

Return a fully-qualified dataset resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
Returns:
Type Description
string

Resource name string.

datasetVersionPath(project, location, dataset, dataset_version) → {string}

Return a fully-qualified datasetVersion resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
dataset_version string
Returns:
Type Description
string

Resource name string.

deleteOperation(request, optionsopt, callbackopt) → {Promise}

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 Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

The name of the operation resource to be deleted.

options Object <optional>

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

callback function <optional>

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

Returns:
Type Description
Promise
  • The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.
Example
```
const client = longrunning.operationsClient();
await client.deleteOperation({name: ''});
```

deploymentResourcePoolPath(project, location, deployment_resource_pool) → {string}

Return a fully-qualified deploymentResourcePool resource name string.

Parameters:
Name Type Description
project string
location string
deployment_resource_pool string
Returns:
Type Description
string

Resource name string.

entityTypePath(project, location, featurestore, entity_type) → {string}

Return a fully-qualified entityType resource name string.

Parameters:
Name Type Description
project string
location string
featurestore string
entity_type string
Returns:
Type Description
string

Resource name string.

exampleStorePath(project, location, example_store) → {string}

Return a fully-qualified exampleStore resource name string.

Parameters:
Name Type Description
project string
location string
example_store string
Returns:
Type Description
string

Resource name string.

executionPath(project, location, metadata_store, execution) → {string}

Return a fully-qualified execution resource name string.

Parameters:
Name Type Description
project string
location string
metadata_store string
execution string
Returns:
Type Description
string

Resource name string.

extensionPath(project, location, extension) → {string}

Return a fully-qualified extension resource name string.

Parameters:
Name Type Description
project string
location string
extension string
Returns:
Type Description
string

Resource name string.

featureGroupPath(project, location, feature_group) → {string}

Return a fully-qualified featureGroup resource name string.

Parameters:
Name Type Description
project string
location string
feature_group string
Returns:
Type Description
string

Resource name string.

featureMonitorJobPath(project, location, feature_group, feature_monitor, feature_monitor_job) → {string}

Return a fully-qualified featureMonitorJob resource name string.

Parameters:
Name Type Description
project string
location string
feature_group string
feature_monitor string
feature_monitor_job string
Returns:
Type Description
string

Resource name string.

featureMonitorPath(project, location, feature_group, feature_monitor) → {string}

Return a fully-qualified featureMonitor resource name string.

Parameters:
Name Type Description
project string
location string
feature_group string
feature_monitor string
Returns:
Type Description
string

Resource name string.

featureOnlineStorePath(project, location, feature_online_store) → {string}

Return a fully-qualified featureOnlineStore resource name string.

Parameters:
Name Type Description
project string
location string
feature_online_store string
Returns:
Type Description
string

Resource name string.

featureViewPath(project, location, feature_online_store, feature_view) → {string}

Return a fully-qualified featureView resource name string.

Parameters:
Name Type Description
project string
location string
feature_online_store string
feature_view string
Returns:
Type Description
string

Resource name string.

featureViewSyncPath(project, location, feature_online_store, feature_view) → {string}

Return a fully-qualified featureViewSync resource name string.

Parameters:
Name Type Description
project string
location string
feature_online_store string
feature_view string
Returns:
Type Description
string

Resource name string.

featurestorePath(project, location, featurestore) → {string}

Return a fully-qualified featurestore resource name string.

Parameters:
Name Type Description
project string
location string
featurestore string
Returns:
Type Description
string

Resource name string.

getIamPolicy(request, optionsopt, callbackopt) → {Promise}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Attributes Description
resource string

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

options Object <optional>

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. This field is only used by Cloud IAM.

This object should have the same structure as GetPolicyOptions.

options Object <optional>

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

callback function <optional>

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

The second parameter to the callback is an object representing Policy.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing Policy. The promise has a method named "cancel" which cancels the ongoing API call.

getLocation(request, optionsopt) → {Promise}

Gets information about a location.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Resource name for the location.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing Location. Please see the documentation for more details and examples.
Example
```
const [response] = await client.getLocation(request);
```

getOperation(request, optionsopt, callbackopt) → {Promise}

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 Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

The name of the operation resource.

options Object <optional>

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

callback function <optional>

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

The second parameter to the callback is an object representing google.longrunning.Operation.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing google.longrunning.Operation. The promise has a method named "cancel" which cancels the ongoing API call.
Example
```
const client = longrunning.operationsClient();
const name = '';
const [response] = await client.getOperation({name});
// doThingsWith(response)
```

getProjectId() → {Promise}

Return the project ID used by this class.

Returns:
Type Description
Promise

A promise that resolves to string containing the project ID.

hyperparameterTuningJobPath(project, location, hyperparameter_tuning_job) → {string}

Return a fully-qualified hyperparameterTuningJob resource name string.

Parameters:
Name Type Description
project string
location string
hyperparameter_tuning_job string
Returns:
Type Description
string

Resource name string.

indexEndpointPath(project, location, index_endpoint) → {string}

Return a fully-qualified indexEndpoint resource name string.

Parameters:
Name Type Description
project string
location string
index_endpoint string
Returns:
Type Description
string

Resource name string.

indexPath(project, location, index) → {string}

Return a fully-qualified index resource name string.

Parameters:
Name Type Description
project string
location string
index string
Returns:
Type Description
string

Resource name string.

initialize() → {Promise}

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

A promise that resolves to an authenticated service stub.

listAnnotationsAsync(request, optionsopt) → {Object}

Equivalent to listAnnotations, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the DataItem to list Annotations from. Format: projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Annotation. 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 resource name of the DataItem to list Annotations from.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}`
   */
  // const parent = 'abc123'
  /**
   *  The standard list filter.
   */
  // const filter = 'abc123'
  /**
   *  The standard list page size.
   */
  // const pageSize = 1234
  /**
   *  The standard list page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Mask specifying which fields to read.
   */
  // const readMask = {}
  /**
   *  A comma-separated list of fields to order by, sorted in ascending order.
   *  Use "desc" after a field name for descending.
   */
  // const orderBy = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callListAnnotations();

listAnnotationsStream(request, optionsopt) → {Stream}

Equivalent to listAnnotations, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the DataItem to list Annotations from. Format: projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

listDataItemsAsync(request, optionsopt) → {Object}

Equivalent to listDataItems, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the Dataset to list DataItems from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing DataItem. 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 resource name of the Dataset to list DataItems from.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const parent = 'abc123'
  /**
   *  The standard list filter.
   */
  // const filter = 'abc123'
  /**
   *  The standard list page size.
   */
  // const pageSize = 1234
  /**
   *  The standard list page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Mask specifying which fields to read.
   */
  // const readMask = {}
  /**
   *  A comma-separated list of fields to order by, sorted in ascending order.
   *  Use "desc" after a field name for descending.
   */
  // const orderBy = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callListDataItems();

listDataItemsStream(request, optionsopt) → {Stream}

Equivalent to listDataItems, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the Dataset to list DataItems from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

listDatasetVersionsAsync(request, optionsopt) → {Object}

Equivalent to listDatasetVersions, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Attributes Description
parent string

Required. The resource name of the Dataset to list DatasetVersions from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string <optional>

Optional. The standard list filter.

pageSize number <optional>

Optional. The standard list page size.

pageToken string <optional>

Optional. The standard list page token.

readMask google.protobuf.FieldMask <optional>

Optional. Mask specifying which fields to read.

orderBy string <optional>

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing DatasetVersion. 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 resource name of the Dataset to list DatasetVersions from.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const parent = 'abc123'
  /**
   *  Optional. The standard list filter.
   */
  // const filter = 'abc123'
  /**
   *  Optional. The standard list page size.
   */
  // const pageSize = 1234
  /**
   *  Optional. The standard list page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Mask specifying which fields to read.
   */
  // const readMask = {}
  /**
   *  Optional. A comma-separated list of fields to order by, sorted in ascending
   *  order. Use "desc" after a field name for descending.
   */
  // const orderBy = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callListDatasetVersions();

listDatasetVersionsStream(request, optionsopt) → {Stream}

Equivalent to listDatasetVersions, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Attributes Description
parent string

Required. The resource name of the Dataset to list DatasetVersions from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string <optional>

Optional. The standard list filter.

pageSize number <optional>

Optional. The standard list page size.

pageToken string <optional>

Optional. The standard list page token.

readMask google.protobuf.FieldMask <optional>

Optional. Mask specifying which fields to read.

orderBy string <optional>

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

listDatasetsAsync(request, optionsopt) → {Object}

Equivalent to listDatasets, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The name of the Dataset's parent resource. Format: projects/{project}/locations/{location}

filter string

An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.

* `display_name`: supports = and !=
* `metadata_schema_uri`: supports = and !=
* `labels` supports general map functions that is:
  * `labels.key=value` - key:value equality
  * `labels.key:* or labels:key - key existence
  * A key including a space must be quoted. `labels."a key"`.

Some examples:

* `displayName="myDisplayName"`
* `labels.myKey="myValue"`
pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:

* `display_name`
* `create_time`
* `update_time`
options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Dataset. 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 name of the Dataset's parent resource.
   *  Format: `projects/{project}/locations/{location}`
   */
  // const parent = 'abc123'
  /**
   *  An expression for filtering the results of the request. For field names
   *  both snake_case and camelCase are supported.
   *    * `display_name`: supports = and !=
   *    * `metadata_schema_uri`: supports = and !=
   *    * `labels` supports general map functions that is:
   *      * `labels.key=value` - key:value equality
   *      * `labels.key:* or labels:key - key existence
   *      * A key including a space must be quoted. `labels."a key"`.
   *  Some examples:
   *    * `displayName="myDisplayName"`
   *    * `labels.myKey="myValue"`
   */
  // const filter = 'abc123'
  /**
   *  The standard list page size.
   */
  // const pageSize = 1234
  /**
   *  The standard list page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Mask specifying which fields to read.
   */
  // const readMask = {}
  /**
   *  A comma-separated list of fields to order by, sorted in ascending order.
   *  Use "desc" after a field name for descending.
   *  Supported fields:
   *    * `display_name`
   *    * `create_time`
   *    * `update_time`
   */
  // const orderBy = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callListDatasets();

listDatasetsStream(request, optionsopt) → {Stream}

Equivalent to listDatasets, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The name of the Dataset's parent resource. Format: projects/{project}/locations/{location}

filter string

An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.

* `display_name`: supports = and !=
* `metadata_schema_uri`: supports = and !=
* `labels` supports general map functions that is:
  * `labels.key=value` - key:value equality
  * `labels.key:* or labels:key - key existence
  * A key including a space must be quoted. `labels."a key"`.

Some examples:

* `displayName="myDisplayName"`
* `labels.myKey="myValue"`
pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:

* `display_name`
* `create_time`
* `update_time`
options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

listLocationsAsync(request, optionsopt) → {Object}

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 Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

The resource that owns the locations collection, if applicable.

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Location. 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, optionsopt) → {Object}

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 Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Attributes Description
name string

The name of the operation collection.

filter string

The standard list filter.

pageSize number <optional>

The maximum number of resources contained in the underlying API response. If page streaming is performed per-resource, this parameter does not affect the return value. If page streaming is performed per-page, this determines the maximum number of resources in a page.

options Object <optional>

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
Object

An iterable Object that conforms to iteration protocols.

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

listSavedQueriesAsync(request, optionsopt) → {Object}

Equivalent to listSavedQueries, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the Dataset to list SavedQueries from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing SavedQuery. 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 resource name of the Dataset to list SavedQueries from.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const parent = 'abc123'
  /**
   *  The standard list filter.
   */
  // const filter = 'abc123'
  /**
   *  The standard list page size.
   */
  // const pageSize = 1234
  /**
   *  The standard list page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Mask specifying which fields to read.
   */
  // const readMask = {}
  /**
   *  A comma-separated list of fields to order by, sorted in ascending order.
   *  Use "desc" after a field name for descending.
   */
  // const orderBy = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

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

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

  callListSavedQueries();

listSavedQueriesStream(request, optionsopt) → {Stream}

Equivalent to listSavedQueries, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
parent string

Required. The resource name of the Dataset to list SavedQueries from. Format: projects/{project}/locations/{location}/datasets/{dataset}

filter string

The standard list filter.

pageSize number

The standard list page size.

pageToken string

The standard list page token.

readMask google.protobuf.FieldMask

Mask specifying which fields to read.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

locationPath(project, location) → {string}

Return a fully-qualified location resource name string.

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

Resource name string.

matchAnnotationFromAnnotationName(annotationName) → {string}

Parse the annotation from Annotation resource.

Parameters:
Name Type Description
annotationName string

A fully-qualified path representing Annotation resource.

Returns:
Type Description
string

A string representing the annotation.

matchAnnotationSpecFromAnnotationSpecName(annotationSpecName) → {string}

Parse the annotation_spec from AnnotationSpec resource.

Parameters:
Name Type Description
annotationSpecName string

A fully-qualified path representing AnnotationSpec resource.

Returns:
Type Description
string

A string representing the annotation_spec.

matchArtifactFromArtifactName(artifactName) → {string}

Parse the artifact from Artifact resource.

Parameters:
Name Type Description
artifactName string

A fully-qualified path representing Artifact resource.

Returns:
Type Description
string

A string representing the artifact.

matchBatchPredictionJobFromBatchPredictionJobName(batchPredictionJobName) → {string}

Parse the batch_prediction_job from BatchPredictionJob resource.

Parameters:
Name Type Description
batchPredictionJobName string

A fully-qualified path representing BatchPredictionJob resource.

Returns:
Type Description
string

A string representing the batch_prediction_job.

matchCachedContentFromCachedContentName(cachedContentName) → {string}

Parse the cached_content from CachedContent resource.

Parameters:
Name Type Description
cachedContentName string

A fully-qualified path representing CachedContent resource.

Returns:
Type Description
string

A string representing the cached_content.

matchContextFromContextName(contextName) → {string}

Parse the context from Context resource.

Parameters:
Name Type Description
contextName string

A fully-qualified path representing Context resource.

Returns:
Type Description
string

A string representing the context.

matchCustomJobFromCustomJobName(customJobName) → {string}

Parse the custom_job from CustomJob resource.

Parameters:
Name Type Description
customJobName string

A fully-qualified path representing CustomJob resource.

Returns:
Type Description
string

A string representing the custom_job.

matchDataItemFromAnnotationName(annotationName) → {string}

Parse the data_item from Annotation resource.

Parameters:
Name Type Description
annotationName string

A fully-qualified path representing Annotation resource.

Returns:
Type Description
string

A string representing the data_item.

matchDataItemFromDataItemName(dataItemName) → {string}

Parse the data_item from DataItem resource.

Parameters:
Name Type Description
dataItemName string

A fully-qualified path representing DataItem resource.

Returns:
Type Description
string

A string representing the data_item.

matchDataLabelingJobFromDataLabelingJobName(dataLabelingJobName) → {string}

Parse the data_labeling_job from DataLabelingJob resource.

Parameters:
Name Type Description
dataLabelingJobName string

A fully-qualified path representing DataLabelingJob resource.

Returns:
Type Description
string

A string representing the data_labeling_job.

matchDatasetFromAnnotationName(annotationName) → {string}

Parse the dataset from Annotation resource.

Parameters:
Name Type Description
annotationName string

A fully-qualified path representing Annotation resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetFromAnnotationSpecName(annotationSpecName) → {string}

Parse the dataset from AnnotationSpec resource.

Parameters:
Name Type Description
annotationSpecName string

A fully-qualified path representing AnnotationSpec resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetFromDataItemName(dataItemName) → {string}

Parse the dataset from DataItem resource.

Parameters:
Name Type Description
dataItemName string

A fully-qualified path representing DataItem resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetFromDatasetName(datasetName) → {string}

Parse the dataset from Dataset resource.

Parameters:
Name Type Description
datasetName string

A fully-qualified path representing Dataset resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetFromDatasetVersionName(datasetVersionName) → {string}

Parse the dataset from DatasetVersion resource.

Parameters:
Name Type Description
datasetVersionName string

A fully-qualified path representing DatasetVersion resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetFromSavedQueryName(savedQueryName) → {string}

Parse the dataset from SavedQuery resource.

Parameters:
Name Type Description
savedQueryName string

A fully-qualified path representing SavedQuery resource.

Returns:
Type Description
string

A string representing the dataset.

matchDatasetVersionFromDatasetVersionName(datasetVersionName) → {string}

Parse the dataset_version from DatasetVersion resource.

Parameters:
Name Type Description
datasetVersionName string

A fully-qualified path representing DatasetVersion resource.

Returns:
Type Description
string

A string representing the dataset_version.

matchDeploymentResourcePoolFromDeploymentResourcePoolName(deploymentResourcePoolName) → {string}

Parse the deployment_resource_pool from DeploymentResourcePool resource.

Parameters:
Name Type Description
deploymentResourcePoolName string

A fully-qualified path representing DeploymentResourcePool resource.

Returns:
Type Description
string

A string representing the deployment_resource_pool.

matchEndpointFromProjectLocationEndpointName(projectLocationEndpointName) → {string}

Parse the endpoint from ProjectLocationEndpoint resource.

Parameters:
Name Type Description
projectLocationEndpointName string

A fully-qualified path representing project_location_endpoint resource.

Returns:
Type Description
string

A string representing the endpoint.

matchEntityTypeFromEntityTypeName(entityTypeName) → {string}

Parse the entity_type from EntityType resource.

Parameters:
Name Type Description
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns:
Type Description
string

A string representing the entity_type.

matchEntityTypeFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName) → {string}

Parse the entity_type from ProjectLocationFeaturestoreEntityTypeFeatures resource.

Parameters:
Name Type Description
projectLocationFeaturestoreEntityTypeFeaturesName string

A fully-qualified path representing project_location_featurestore_entity_type_features resource.

Returns:
Type Description
string

A string representing the entity_type.

matchEvaluationFromModelEvaluationName(modelEvaluationName) → {string}

Parse the evaluation from ModelEvaluation resource.

Parameters:
Name Type Description
modelEvaluationName string

A fully-qualified path representing ModelEvaluation resource.

Returns:
Type Description
string

A string representing the evaluation.

matchEvaluationFromModelEvaluationSliceName(modelEvaluationSliceName) → {string}

Parse the evaluation from ModelEvaluationSlice resource.

Parameters:
Name Type Description
modelEvaluationSliceName string

A fully-qualified path representing ModelEvaluationSlice resource.

Returns:
Type Description
string

A string representing the evaluation.

matchEventFromSessionEventName(sessionEventName) → {string}

Parse the event from SessionEvent resource.

Parameters:
Name Type Description
sessionEventName string

A fully-qualified path representing SessionEvent resource.

Returns:
Type Description
string

A string representing the event.

matchExampleStoreFromExampleStoreName(exampleStoreName) → {string}

Parse the example_store from ExampleStore resource.

Parameters:
Name Type Description
exampleStoreName string

A fully-qualified path representing ExampleStore resource.

Returns:
Type Description
string

A string representing the example_store.

matchExecutionFromExecutionName(executionName) → {string}

Parse the execution from Execution resource.

Parameters:
Name Type Description
executionName string

A fully-qualified path representing Execution resource.

Returns:
Type Description
string

A string representing the execution.

matchExperimentFromTensorboardExperimentName(tensorboardExperimentName) → {string}

Parse the experiment from TensorboardExperiment resource.

Parameters:
Name Type Description
tensorboardExperimentName string

A fully-qualified path representing TensorboardExperiment resource.

Returns:
Type Description
string

A string representing the experiment.

matchExperimentFromTensorboardRunName(tensorboardRunName) → {string}

Parse the experiment from TensorboardRun resource.

Parameters:
Name Type Description
tensorboardRunName string

A fully-qualified path representing TensorboardRun resource.

Returns:
Type Description
string

A string representing the experiment.

matchExperimentFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the experiment from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the experiment.

matchExtensionFromExtensionName(extensionName) → {string}

Parse the extension from Extension resource.

Parameters:
Name Type Description
extensionName string

A fully-qualified path representing Extension resource.

Returns:
Type Description
string

A string representing the extension.

matchFeatureFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName) → {string}

Parse the feature from ProjectLocationFeatureGroupFeatures resource.

Parameters:
Name Type Description
projectLocationFeatureGroupFeaturesName string

A fully-qualified path representing project_location_feature_group_features resource.

Returns:
Type Description
string

A string representing the feature.

matchFeatureFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName) → {string}

Parse the feature from ProjectLocationFeaturestoreEntityTypeFeatures resource.

Parameters:
Name Type Description
projectLocationFeaturestoreEntityTypeFeaturesName string

A fully-qualified path representing project_location_featurestore_entity_type_features resource.

Returns:
Type Description
string

A string representing the feature.

matchFeatureGroupFromFeatureGroupName(featureGroupName) → {string}

Parse the feature_group from FeatureGroup resource.

Parameters:
Name Type Description
featureGroupName string

A fully-qualified path representing FeatureGroup resource.

Returns:
Type Description
string

A string representing the feature_group.

matchFeatureGroupFromFeatureMonitorJobName(featureMonitorJobName) → {string}

Parse the feature_group from FeatureMonitorJob resource.

Parameters:
Name Type Description
featureMonitorJobName string

A fully-qualified path representing FeatureMonitorJob resource.

Returns:
Type Description
string

A string representing the feature_group.

matchFeatureGroupFromFeatureMonitorName(featureMonitorName) → {string}

Parse the feature_group from FeatureMonitor resource.

Parameters:
Name Type Description
featureMonitorName string

A fully-qualified path representing FeatureMonitor resource.

Returns:
Type Description
string

A string representing the feature_group.

matchFeatureGroupFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName) → {string}

Parse the feature_group from ProjectLocationFeatureGroupFeatures resource.

Parameters:
Name Type Description
projectLocationFeatureGroupFeaturesName string

A fully-qualified path representing project_location_feature_group_features resource.

Returns:
Type Description
string

A string representing the feature_group.

matchFeatureMonitorFromFeatureMonitorJobName(featureMonitorJobName) → {string}

Parse the feature_monitor from FeatureMonitorJob resource.

Parameters:
Name Type Description
featureMonitorJobName string

A fully-qualified path representing FeatureMonitorJob resource.

Returns:
Type Description
string

A string representing the feature_monitor.

matchFeatureMonitorFromFeatureMonitorName(featureMonitorName) → {string}

Parse the feature_monitor from FeatureMonitor resource.

Parameters:
Name Type Description
featureMonitorName string

A fully-qualified path representing FeatureMonitor resource.

Returns:
Type Description
string

A string representing the feature_monitor.

matchFeatureMonitorJobFromFeatureMonitorJobName(featureMonitorJobName) → {string}

Parse the feature_monitor_job from FeatureMonitorJob resource.

Parameters:
Name Type Description
featureMonitorJobName string

A fully-qualified path representing FeatureMonitorJob resource.

Returns:
Type Description
string

A string representing the feature_monitor_job.

matchFeatureOnlineStoreFromFeatureOnlineStoreName(featureOnlineStoreName) → {string}

Parse the feature_online_store from FeatureOnlineStore resource.

Parameters:
Name Type Description
featureOnlineStoreName string

A fully-qualified path representing FeatureOnlineStore resource.

Returns:
Type Description
string

A string representing the feature_online_store.

matchFeatureOnlineStoreFromFeatureViewName(featureViewName) → {string}

Parse the feature_online_store from FeatureView resource.

Parameters:
Name Type Description
featureViewName string

A fully-qualified path representing FeatureView resource.

Returns:
Type Description
string

A string representing the feature_online_store.

matchFeatureOnlineStoreFromFeatureViewSyncName(featureViewSyncName) → {string}

Parse the feature_online_store from FeatureViewSync resource.

Parameters:
Name Type Description
featureViewSyncName string

A fully-qualified path representing FeatureViewSync resource.

Returns:
Type Description
string

A string representing the feature_online_store.

matchFeatureViewFromFeatureViewName(featureViewName) → {string}

Parse the feature_view from FeatureView resource.

Parameters:
Name Type Description
featureViewName string

A fully-qualified path representing FeatureView resource.

Returns:
Type Description
string

A string representing the feature_view.

matchFeatureViewFromFeatureViewSyncName(featureViewSyncName) → {string}

Parse the feature_view from FeatureViewSync resource.

Parameters:
Name Type Description
featureViewSyncName string

A fully-qualified path representing FeatureViewSync resource.

Returns:
Type Description
string

A string representing the feature_view.

matchFeaturestoreFromEntityTypeName(entityTypeName) → {string}

Parse the featurestore from EntityType resource.

Parameters:
Name Type Description
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns:
Type Description
string

A string representing the featurestore.

matchFeaturestoreFromFeaturestoreName(featurestoreName) → {string}

Parse the featurestore from Featurestore resource.

Parameters:
Name Type Description
featurestoreName string

A fully-qualified path representing Featurestore resource.

Returns:
Type Description
string

A string representing the featurestore.

matchFeaturestoreFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName) → {string}

Parse the featurestore from ProjectLocationFeaturestoreEntityTypeFeatures resource.

Parameters:
Name Type Description
projectLocationFeaturestoreEntityTypeFeaturesName string

A fully-qualified path representing project_location_featurestore_entity_type_features resource.

Returns:
Type Description
string

A string representing the featurestore.

matchHyperparameterTuningJobFromHyperparameterTuningJobName(hyperparameterTuningJobName) → {string}

Parse the hyperparameter_tuning_job from HyperparameterTuningJob resource.

Parameters:
Name Type Description
hyperparameterTuningJobName string

A fully-qualified path representing HyperparameterTuningJob resource.

Returns:
Type Description
string

A string representing the hyperparameter_tuning_job.

matchIndexEndpointFromIndexEndpointName(indexEndpointName) → {string}

Parse the index_endpoint from IndexEndpoint resource.

Parameters:
Name Type Description
indexEndpointName string

A fully-qualified path representing IndexEndpoint resource.

Returns:
Type Description
string

A string representing the index_endpoint.

matchIndexFromIndexName(indexName) → {string}

Parse the index from Index resource.

Parameters:
Name Type Description
indexName string

A fully-qualified path representing Index resource.

Returns:
Type Description
string

A string representing the index.

matchLocationFromAnnotationName(annotationName) → {string}

Parse the location from Annotation resource.

Parameters:
Name Type Description
annotationName string

A fully-qualified path representing Annotation resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromAnnotationSpecName(annotationSpecName) → {string}

Parse the location from AnnotationSpec resource.

Parameters:
Name Type Description
annotationSpecName string

A fully-qualified path representing AnnotationSpec resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromArtifactName(artifactName) → {string}

Parse the location from Artifact resource.

Parameters:
Name Type Description
artifactName string

A fully-qualified path representing Artifact resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromBatchPredictionJobName(batchPredictionJobName) → {string}

Parse the location from BatchPredictionJob resource.

Parameters:
Name Type Description
batchPredictionJobName string

A fully-qualified path representing BatchPredictionJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromCachedContentName(cachedContentName) → {string}

Parse the location from CachedContent resource.

Parameters:
Name Type Description
cachedContentName string

A fully-qualified path representing CachedContent resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromContextName(contextName) → {string}

Parse the location from Context resource.

Parameters:
Name Type Description
contextName string

A fully-qualified path representing Context resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromCustomJobName(customJobName) → {string}

Parse the location from CustomJob resource.

Parameters:
Name Type Description
customJobName string

A fully-qualified path representing CustomJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromDataItemName(dataItemName) → {string}

Parse the location from DataItem resource.

Parameters:
Name Type Description
dataItemName string

A fully-qualified path representing DataItem resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromDataLabelingJobName(dataLabelingJobName) → {string}

Parse the location from DataLabelingJob resource.

Parameters:
Name Type Description
dataLabelingJobName string

A fully-qualified path representing DataLabelingJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromDatasetName(datasetName) → {string}

Parse the location from Dataset resource.

Parameters:
Name Type Description
datasetName string

A fully-qualified path representing Dataset resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromDatasetVersionName(datasetVersionName) → {string}

Parse the location from DatasetVersion resource.

Parameters:
Name Type Description
datasetVersionName string

A fully-qualified path representing DatasetVersion resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromDeploymentResourcePoolName(deploymentResourcePoolName) → {string}

Parse the location from DeploymentResourcePool resource.

Parameters:
Name Type Description
deploymentResourcePoolName string

A fully-qualified path representing DeploymentResourcePool resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromEntityTypeName(entityTypeName) → {string}

Parse the location from EntityType resource.

Parameters:
Name Type Description
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromExampleStoreName(exampleStoreName) → {string}

Parse the location from ExampleStore resource.

Parameters:
Name Type Description
exampleStoreName string

A fully-qualified path representing ExampleStore resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromExecutionName(executionName) → {string}

Parse the location from Execution resource.

Parameters:
Name Type Description
executionName string

A fully-qualified path representing Execution resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromExtensionName(extensionName) → {string}

Parse the location from Extension resource.

Parameters:
Name Type Description
extensionName string

A fully-qualified path representing Extension resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureGroupName(featureGroupName) → {string}

Parse the location from FeatureGroup resource.

Parameters:
Name Type Description
featureGroupName string

A fully-qualified path representing FeatureGroup resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureMonitorJobName(featureMonitorJobName) → {string}

Parse the location from FeatureMonitorJob resource.

Parameters:
Name Type Description
featureMonitorJobName string

A fully-qualified path representing FeatureMonitorJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureMonitorName(featureMonitorName) → {string}

Parse the location from FeatureMonitor resource.

Parameters:
Name Type Description
featureMonitorName string

A fully-qualified path representing FeatureMonitor resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureOnlineStoreName(featureOnlineStoreName) → {string}

Parse the location from FeatureOnlineStore resource.

Parameters:
Name Type Description
featureOnlineStoreName string

A fully-qualified path representing FeatureOnlineStore resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureViewName(featureViewName) → {string}

Parse the location from FeatureView resource.

Parameters:
Name Type Description
featureViewName string

A fully-qualified path representing FeatureView resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeatureViewSyncName(featureViewSyncName) → {string}

Parse the location from FeatureViewSync resource.

Parameters:
Name Type Description
featureViewSyncName string

A fully-qualified path representing FeatureViewSync resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromFeaturestoreName(featurestoreName) → {string}

Parse the location from Featurestore resource.

Parameters:
Name Type Description
featurestoreName string

A fully-qualified path representing Featurestore resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromHyperparameterTuningJobName(hyperparameterTuningJobName) → {string}

Parse the location from HyperparameterTuningJob resource.

Parameters:
Name Type Description
hyperparameterTuningJobName string

A fully-qualified path representing HyperparameterTuningJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromIndexEndpointName(indexEndpointName) → {string}

Parse the location from IndexEndpoint resource.

Parameters:
Name Type Description
indexEndpointName string

A fully-qualified path representing IndexEndpoint resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromIndexName(indexName) → {string}

Parse the location from Index resource.

Parameters:
Name Type Description
indexName string

A fully-qualified path representing Index resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromLocationName(locationName) → {string}

Parse the location from Location resource.

Parameters:
Name Type Description
locationName string

A fully-qualified path representing Location resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromMemoryName(memoryName) → {string}

Parse the location from Memory resource.

Parameters:
Name Type Description
memoryName string

A fully-qualified path representing Memory resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromMetadataSchemaName(metadataSchemaName) → {string}

Parse the location from MetadataSchema resource.

Parameters:
Name Type Description
metadataSchemaName string

A fully-qualified path representing MetadataSchema resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromMetadataStoreName(metadataStoreName) → {string}

Parse the location from MetadataStore resource.

Parameters:
Name Type Description
metadataStoreName string

A fully-qualified path representing MetadataStore resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName) → {string}

Parse the location from ModelDeploymentMonitoringJob resource.

Parameters:
Name Type Description
modelDeploymentMonitoringJobName string

A fully-qualified path representing ModelDeploymentMonitoringJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelEvaluationName(modelEvaluationName) → {string}

Parse the location from ModelEvaluation resource.

Parameters:
Name Type Description
modelEvaluationName string

A fully-qualified path representing ModelEvaluation resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelEvaluationSliceName(modelEvaluationSliceName) → {string}

Parse the location from ModelEvaluationSlice resource.

Parameters:
Name Type Description
modelEvaluationSliceName string

A fully-qualified path representing ModelEvaluationSlice resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelMonitorName(modelMonitorName) → {string}

Parse the location from ModelMonitor resource.

Parameters:
Name Type Description
modelMonitorName string

A fully-qualified path representing ModelMonitor resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelMonitoringJobName(modelMonitoringJobName) → {string}

Parse the location from ModelMonitoringJob resource.

Parameters:
Name Type Description
modelMonitoringJobName string

A fully-qualified path representing ModelMonitoringJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromModelName(modelName) → {string}

Parse the location from Model resource.

Parameters:
Name Type Description
modelName string

A fully-qualified path representing Model resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromNasJobName(nasJobName) → {string}

Parse the location from NasJob resource.

Parameters:
Name Type Description
nasJobName string

A fully-qualified path representing NasJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromNasTrialDetailName(nasTrialDetailName) → {string}

Parse the location from NasTrialDetail resource.

Parameters:
Name Type Description
nasTrialDetailName string

A fully-qualified path representing NasTrialDetail resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromNotebookExecutionJobName(notebookExecutionJobName) → {string}

Parse the location from NotebookExecutionJob resource.

Parameters:
Name Type Description
notebookExecutionJobName string

A fully-qualified path representing NotebookExecutionJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromNotebookRuntimeName(notebookRuntimeName) → {string}

Parse the location from NotebookRuntime resource.

Parameters:
Name Type Description
notebookRuntimeName string

A fully-qualified path representing NotebookRuntime resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName) → {string}

Parse the location from NotebookRuntimeTemplate resource.

Parameters:
Name Type Description
notebookRuntimeTemplateName string

A fully-qualified path representing NotebookRuntimeTemplate resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromOnlineEvaluatorName(onlineEvaluatorName) → {string}

Parse the location from OnlineEvaluator resource.

Parameters:
Name Type Description
onlineEvaluatorName string

A fully-qualified path representing OnlineEvaluator resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromPersistentResourceName(persistentResourceName) → {string}

Parse the location from PersistentResource resource.

Parameters:
Name Type Description
persistentResourceName string

A fully-qualified path representing PersistentResource resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromPipelineJobName(pipelineJobName) → {string}

Parse the location from PipelineJob resource.

Parameters:
Name Type Description
pipelineJobName string

A fully-qualified path representing PipelineJob resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromProjectLocationEndpointName(projectLocationEndpointName) → {string}

Parse the location from ProjectLocationEndpoint resource.

Parameters:
Name Type Description
projectLocationEndpointName string

A fully-qualified path representing project_location_endpoint resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName) → {string}

Parse the location from ProjectLocationFeatureGroupFeatures resource.

Parameters:
Name Type Description
projectLocationFeatureGroupFeaturesName string

A fully-qualified path representing project_location_feature_group_features resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName) → {string}

Parse the location from ProjectLocationFeaturestoreEntityTypeFeatures resource.

Parameters:
Name Type Description
projectLocationFeaturestoreEntityTypeFeaturesName string

A fully-qualified path representing project_location_featurestore_entity_type_features resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromProjectLocationPublisherModelName(projectLocationPublisherModelName) → {string}

Parse the location from ProjectLocationPublisherModel resource.

Parameters:
Name Type Description
projectLocationPublisherModelName string

A fully-qualified path representing project_location_publisher_model resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromRagCorpusName(ragCorpusName) → {string}

Parse the location from RagCorpus resource.

Parameters:
Name Type Description
ragCorpusName string

A fully-qualified path representing RagCorpus resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromRagDataSchemaName(ragDataSchemaName) → {string}

Parse the location from RagDataSchema resource.

Parameters:
Name Type Description
ragDataSchemaName string

A fully-qualified path representing RagDataSchema resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromRagEngineConfigName(ragEngineConfigName) → {string}

Parse the location from RagEngineConfig resource.

Parameters:
Name Type Description
ragEngineConfigName string

A fully-qualified path representing RagEngineConfig resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromRagFileName(ragFileName) → {string}

Parse the location from RagFile resource.

Parameters:
Name Type Description
ragFileName string

A fully-qualified path representing RagFile resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromRagMetadataName(ragMetadataName) → {string}

Parse the location from RagMetadata resource.

Parameters:
Name Type Description
ragMetadataName string

A fully-qualified path representing RagMetadata resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromReasoningEngineName(reasoningEngineName) → {string}

Parse the location from ReasoningEngine resource.

Parameters:
Name Type Description
reasoningEngineName string

A fully-qualified path representing ReasoningEngine resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromReasoningEngineRuntimeRevisionName(reasoningEngineRuntimeRevisionName) → {string}

Parse the location from ReasoningEngineRuntimeRevision resource.

Parameters:
Name Type Description
reasoningEngineRuntimeRevisionName string

A fully-qualified path representing ReasoningEngineRuntimeRevision resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromSavedQueryName(savedQueryName) → {string}

Parse the location from SavedQuery resource.

Parameters:
Name Type Description
savedQueryName string

A fully-qualified path representing SavedQuery resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromScheduleName(scheduleName) → {string}

Parse the location from Schedule resource.

Parameters:
Name Type Description
scheduleName string

A fully-qualified path representing Schedule resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromSessionEventName(sessionEventName) → {string}

Parse the location from SessionEvent resource.

Parameters:
Name Type Description
sessionEventName string

A fully-qualified path representing SessionEvent resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromSessionName(sessionName) → {string}

Parse the location from Session resource.

Parameters:
Name Type Description
sessionName string

A fully-qualified path representing Session resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromSpecialistPoolName(specialistPoolName) → {string}

Parse the location from SpecialistPool resource.

Parameters:
Name Type Description
specialistPoolName string

A fully-qualified path representing SpecialistPool resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromStudyName(studyName) → {string}

Parse the location from Study resource.

Parameters:
Name Type Description
studyName string

A fully-qualified path representing Study resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTensorboardExperimentName(tensorboardExperimentName) → {string}

Parse the location from TensorboardExperiment resource.

Parameters:
Name Type Description
tensorboardExperimentName string

A fully-qualified path representing TensorboardExperiment resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTensorboardName(tensorboardName) → {string}

Parse the location from Tensorboard resource.

Parameters:
Name Type Description
tensorboardName string

A fully-qualified path representing Tensorboard resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTensorboardRunName(tensorboardRunName) → {string}

Parse the location from TensorboardRun resource.

Parameters:
Name Type Description
tensorboardRunName string

A fully-qualified path representing TensorboardRun resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the location from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTrainingPipelineName(trainingPipelineName) → {string}

Parse the location from TrainingPipeline resource.

Parameters:
Name Type Description
trainingPipelineName string

A fully-qualified path representing TrainingPipeline resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTrialName(trialName) → {string}

Parse the location from Trial resource.

Parameters:
Name Type Description
trialName string

A fully-qualified path representing Trial resource.

Returns:
Type Description
string

A string representing the location.

matchLocationFromTuningJobName(tuningJobName) → {string}

Parse the location from TuningJob resource.

Parameters:
Name Type Description
tuningJobName string

A fully-qualified path representing TuningJob resource.

Returns:
Type Description
string

A string representing the location.

matchMemoryFromMemoryName(memoryName) → {string}

Parse the memory from Memory resource.

Parameters:
Name Type Description
memoryName string

A fully-qualified path representing Memory resource.

Returns:
Type Description
string

A string representing the memory.

matchMetadataSchemaFromMetadataSchemaName(metadataSchemaName) → {string}

Parse the metadata_schema from MetadataSchema resource.

Parameters:
Name Type Description
metadataSchemaName string

A fully-qualified path representing MetadataSchema resource.

Returns:
Type Description
string

A string representing the metadata_schema.

matchMetadataStoreFromArtifactName(artifactName) → {string}

Parse the metadata_store from Artifact resource.

Parameters:
Name Type Description
artifactName string

A fully-qualified path representing Artifact resource.

Returns:
Type Description
string

A string representing the metadata_store.

matchMetadataStoreFromContextName(contextName) → {string}

Parse the metadata_store from Context resource.

Parameters:
Name Type Description
contextName string

A fully-qualified path representing Context resource.

Returns:
Type Description
string

A string representing the metadata_store.

matchMetadataStoreFromExecutionName(executionName) → {string}

Parse the metadata_store from Execution resource.

Parameters:
Name Type Description
executionName string

A fully-qualified path representing Execution resource.

Returns:
Type Description
string

A string representing the metadata_store.

matchMetadataStoreFromMetadataSchemaName(metadataSchemaName) → {string}

Parse the metadata_store from MetadataSchema resource.

Parameters:
Name Type Description
metadataSchemaName string

A fully-qualified path representing MetadataSchema resource.

Returns:
Type Description
string

A string representing the metadata_store.

matchMetadataStoreFromMetadataStoreName(metadataStoreName) → {string}

Parse the metadata_store from MetadataStore resource.

Parameters:
Name Type Description
metadataStoreName string

A fully-qualified path representing MetadataStore resource.

Returns:
Type Description
string

A string representing the metadata_store.

matchModelDeploymentMonitoringJobFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName) → {string}

Parse the model_deployment_monitoring_job from ModelDeploymentMonitoringJob resource.

Parameters:
Name Type Description
modelDeploymentMonitoringJobName string

A fully-qualified path representing ModelDeploymentMonitoringJob resource.

Returns:
Type Description
string

A string representing the model_deployment_monitoring_job.

matchModelFromModelEvaluationName(modelEvaluationName) → {string}

Parse the model from ModelEvaluation resource.

Parameters:
Name Type Description
modelEvaluationName string

A fully-qualified path representing ModelEvaluation resource.

Returns:
Type Description
string

A string representing the model.

matchModelFromModelEvaluationSliceName(modelEvaluationSliceName) → {string}

Parse the model from ModelEvaluationSlice resource.

Parameters:
Name Type Description
modelEvaluationSliceName string

A fully-qualified path representing ModelEvaluationSlice resource.

Returns:
Type Description
string

A string representing the model.

matchModelFromModelName(modelName) → {string}

Parse the model from Model resource.

Parameters:
Name Type Description
modelName string

A fully-qualified path representing Model resource.

Returns:
Type Description
string

A string representing the model.

matchModelFromProjectLocationPublisherModelName(projectLocationPublisherModelName) → {string}

Parse the model from ProjectLocationPublisherModel resource.

Parameters:
Name Type Description
projectLocationPublisherModelName string

A fully-qualified path representing project_location_publisher_model resource.

Returns:
Type Description
string

A string representing the model.

matchModelFromPublisherModelName(publisherModelName) → {string}

Parse the model from PublisherModel resource.

Parameters:
Name Type Description
publisherModelName string

A fully-qualified path representing PublisherModel resource.

Returns:
Type Description
string

A string representing the model.

matchModelMonitorFromModelMonitorName(modelMonitorName) → {string}

Parse the model_monitor from ModelMonitor resource.

Parameters:
Name Type Description
modelMonitorName string

A fully-qualified path representing ModelMonitor resource.

Returns:
Type Description
string

A string representing the model_monitor.

matchModelMonitorFromModelMonitoringJobName(modelMonitoringJobName) → {string}

Parse the model_monitor from ModelMonitoringJob resource.

Parameters:
Name Type Description
modelMonitoringJobName string

A fully-qualified path representing ModelMonitoringJob resource.

Returns:
Type Description
string

A string representing the model_monitor.

matchModelMonitoringJobFromModelMonitoringJobName(modelMonitoringJobName) → {string}

Parse the model_monitoring_job from ModelMonitoringJob resource.

Parameters:
Name Type Description
modelMonitoringJobName string

A fully-qualified path representing ModelMonitoringJob resource.

Returns:
Type Description
string

A string representing the model_monitoring_job.

matchNasJobFromNasJobName(nasJobName) → {string}

Parse the nas_job from NasJob resource.

Parameters:
Name Type Description
nasJobName string

A fully-qualified path representing NasJob resource.

Returns:
Type Description
string

A string representing the nas_job.

matchNasJobFromNasTrialDetailName(nasTrialDetailName) → {string}

Parse the nas_job from NasTrialDetail resource.

Parameters:
Name Type Description
nasTrialDetailName string

A fully-qualified path representing NasTrialDetail resource.

Returns:
Type Description
string

A string representing the nas_job.

matchNasTrialDetailFromNasTrialDetailName(nasTrialDetailName) → {string}

Parse the nas_trial_detail from NasTrialDetail resource.

Parameters:
Name Type Description
nasTrialDetailName string

A fully-qualified path representing NasTrialDetail resource.

Returns:
Type Description
string

A string representing the nas_trial_detail.

matchNotebookExecutionJobFromNotebookExecutionJobName(notebookExecutionJobName) → {string}

Parse the notebook_execution_job from NotebookExecutionJob resource.

Parameters:
Name Type Description
notebookExecutionJobName string

A fully-qualified path representing NotebookExecutionJob resource.

Returns:
Type Description
string

A string representing the notebook_execution_job.

matchNotebookRuntimeFromNotebookRuntimeName(notebookRuntimeName) → {string}

Parse the notebook_runtime from NotebookRuntime resource.

Parameters:
Name Type Description
notebookRuntimeName string

A fully-qualified path representing NotebookRuntime resource.

Returns:
Type Description
string

A string representing the notebook_runtime.

matchNotebookRuntimeTemplateFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName) → {string}

Parse the notebook_runtime_template from NotebookRuntimeTemplate resource.

Parameters:
Name Type Description
notebookRuntimeTemplateName string

A fully-qualified path representing NotebookRuntimeTemplate resource.

Returns:
Type Description
string

A string representing the notebook_runtime_template.

matchOnlineEvaluatorFromOnlineEvaluatorName(onlineEvaluatorName) → {string}

Parse the online_evaluator from OnlineEvaluator resource.

Parameters:
Name Type Description
onlineEvaluatorName string

A fully-qualified path representing OnlineEvaluator resource.

Returns:
Type Description
string

A string representing the online_evaluator.

matchPersistentResourceFromPersistentResourceName(persistentResourceName) → {string}

Parse the persistent_resource from PersistentResource resource.

Parameters:
Name Type Description
persistentResourceName string

A fully-qualified path representing PersistentResource resource.

Returns:
Type Description
string

A string representing the persistent_resource.

matchPipelineJobFromPipelineJobName(pipelineJobName) → {string}

Parse the pipeline_job from PipelineJob resource.

Parameters:
Name Type Description
pipelineJobName string

A fully-qualified path representing PipelineJob resource.

Returns:
Type Description
string

A string representing the pipeline_job.

matchProjectFromAnnotationName(annotationName) → {string}

Parse the project from Annotation resource.

Parameters:
Name Type Description
annotationName string

A fully-qualified path representing Annotation resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromAnnotationSpecName(annotationSpecName) → {string}

Parse the project from AnnotationSpec resource.

Parameters:
Name Type Description
annotationSpecName string

A fully-qualified path representing AnnotationSpec resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromArtifactName(artifactName) → {string}

Parse the project from Artifact resource.

Parameters:
Name Type Description
artifactName string

A fully-qualified path representing Artifact resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromBatchPredictionJobName(batchPredictionJobName) → {string}

Parse the project from BatchPredictionJob resource.

Parameters:
Name Type Description
batchPredictionJobName string

A fully-qualified path representing BatchPredictionJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromCachedContentName(cachedContentName) → {string}

Parse the project from CachedContent resource.

Parameters:
Name Type Description
cachedContentName string

A fully-qualified path representing CachedContent resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromContextName(contextName) → {string}

Parse the project from Context resource.

Parameters:
Name Type Description
contextName string

A fully-qualified path representing Context resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromCustomJobName(customJobName) → {string}

Parse the project from CustomJob resource.

Parameters:
Name Type Description
customJobName string

A fully-qualified path representing CustomJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromDataItemName(dataItemName) → {string}

Parse the project from DataItem resource.

Parameters:
Name Type Description
dataItemName string

A fully-qualified path representing DataItem resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromDataLabelingJobName(dataLabelingJobName) → {string}

Parse the project from DataLabelingJob resource.

Parameters:
Name Type Description
dataLabelingJobName string

A fully-qualified path representing DataLabelingJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromDatasetName(datasetName) → {string}

Parse the project from Dataset resource.

Parameters:
Name Type Description
datasetName string

A fully-qualified path representing Dataset resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromDatasetVersionName(datasetVersionName) → {string}

Parse the project from DatasetVersion resource.

Parameters:
Name Type Description
datasetVersionName string

A fully-qualified path representing DatasetVersion resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromDeploymentResourcePoolName(deploymentResourcePoolName) → {string}

Parse the project from DeploymentResourcePool resource.

Parameters:
Name Type Description
deploymentResourcePoolName string

A fully-qualified path representing DeploymentResourcePool resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromEntityTypeName(entityTypeName) → {string}

Parse the project from EntityType resource.

Parameters:
Name Type Description
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromExampleStoreName(exampleStoreName) → {string}

Parse the project from ExampleStore resource.

Parameters:
Name Type Description
exampleStoreName string

A fully-qualified path representing ExampleStore resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromExecutionName(executionName) → {string}

Parse the project from Execution resource.

Parameters:
Name Type Description
executionName string

A fully-qualified path representing Execution resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromExtensionName(extensionName) → {string}

Parse the project from Extension resource.

Parameters:
Name Type Description
extensionName string

A fully-qualified path representing Extension resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureGroupName(featureGroupName) → {string}

Parse the project from FeatureGroup resource.

Parameters:
Name Type Description
featureGroupName string

A fully-qualified path representing FeatureGroup resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureMonitorJobName(featureMonitorJobName) → {string}

Parse the project from FeatureMonitorJob resource.

Parameters:
Name Type Description
featureMonitorJobName string

A fully-qualified path representing FeatureMonitorJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureMonitorName(featureMonitorName) → {string}

Parse the project from FeatureMonitor resource.

Parameters:
Name Type Description
featureMonitorName string

A fully-qualified path representing FeatureMonitor resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureOnlineStoreName(featureOnlineStoreName) → {string}

Parse the project from FeatureOnlineStore resource.

Parameters:
Name Type Description
featureOnlineStoreName string

A fully-qualified path representing FeatureOnlineStore resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureViewName(featureViewName) → {string}

Parse the project from FeatureView resource.

Parameters:
Name Type Description
featureViewName string

A fully-qualified path representing FeatureView resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeatureViewSyncName(featureViewSyncName) → {string}

Parse the project from FeatureViewSync resource.

Parameters:
Name Type Description
featureViewSyncName string

A fully-qualified path representing FeatureViewSync resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromFeaturestoreName(featurestoreName) → {string}

Parse the project from Featurestore resource.

Parameters:
Name Type Description
featurestoreName string

A fully-qualified path representing Featurestore resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromHyperparameterTuningJobName(hyperparameterTuningJobName) → {string}

Parse the project from HyperparameterTuningJob resource.

Parameters:
Name Type Description
hyperparameterTuningJobName string

A fully-qualified path representing HyperparameterTuningJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromIndexEndpointName(indexEndpointName) → {string}

Parse the project from IndexEndpoint resource.

Parameters:
Name Type Description
indexEndpointName string

A fully-qualified path representing IndexEndpoint resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromIndexName(indexName) → {string}

Parse the project from Index resource.

Parameters:
Name Type Description
indexName string

A fully-qualified path representing Index resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromLocationName(locationName) → {string}

Parse the project from Location resource.

Parameters:
Name Type Description
locationName string

A fully-qualified path representing Location resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromMemoryName(memoryName) → {string}

Parse the project from Memory resource.

Parameters:
Name Type Description
memoryName string

A fully-qualified path representing Memory resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromMetadataSchemaName(metadataSchemaName) → {string}

Parse the project from MetadataSchema resource.

Parameters:
Name Type Description
metadataSchemaName string

A fully-qualified path representing MetadataSchema resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromMetadataStoreName(metadataStoreName) → {string}

Parse the project from MetadataStore resource.

Parameters:
Name Type Description
metadataStoreName string

A fully-qualified path representing MetadataStore resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName) → {string}

Parse the project from ModelDeploymentMonitoringJob resource.

Parameters:
Name Type Description
modelDeploymentMonitoringJobName string

A fully-qualified path representing ModelDeploymentMonitoringJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelEvaluationName(modelEvaluationName) → {string}

Parse the project from ModelEvaluation resource.

Parameters:
Name Type Description
modelEvaluationName string

A fully-qualified path representing ModelEvaluation resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelEvaluationSliceName(modelEvaluationSliceName) → {string}

Parse the project from ModelEvaluationSlice resource.

Parameters:
Name Type Description
modelEvaluationSliceName string

A fully-qualified path representing ModelEvaluationSlice resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelMonitorName(modelMonitorName) → {string}

Parse the project from ModelMonitor resource.

Parameters:
Name Type Description
modelMonitorName string

A fully-qualified path representing ModelMonitor resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelMonitoringJobName(modelMonitoringJobName) → {string}

Parse the project from ModelMonitoringJob resource.

Parameters:
Name Type Description
modelMonitoringJobName string

A fully-qualified path representing ModelMonitoringJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromModelName(modelName) → {string}

Parse the project from Model resource.

Parameters:
Name Type Description
modelName string

A fully-qualified path representing Model resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromNasJobName(nasJobName) → {string}

Parse the project from NasJob resource.

Parameters:
Name Type Description
nasJobName string

A fully-qualified path representing NasJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromNasTrialDetailName(nasTrialDetailName) → {string}

Parse the project from NasTrialDetail resource.

Parameters:
Name Type Description
nasTrialDetailName string

A fully-qualified path representing NasTrialDetail resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromNotebookExecutionJobName(notebookExecutionJobName) → {string}

Parse the project from NotebookExecutionJob resource.

Parameters:
Name Type Description
notebookExecutionJobName string

A fully-qualified path representing NotebookExecutionJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromNotebookRuntimeName(notebookRuntimeName) → {string}

Parse the project from NotebookRuntime resource.

Parameters:
Name Type Description
notebookRuntimeName string

A fully-qualified path representing NotebookRuntime resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName) → {string}

Parse the project from NotebookRuntimeTemplate resource.

Parameters:
Name Type Description
notebookRuntimeTemplateName string

A fully-qualified path representing NotebookRuntimeTemplate resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromOnlineEvaluatorName(onlineEvaluatorName) → {string}

Parse the project from OnlineEvaluator resource.

Parameters:
Name Type Description
onlineEvaluatorName string

A fully-qualified path representing OnlineEvaluator resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromPersistentResourceName(persistentResourceName) → {string}

Parse the project from PersistentResource resource.

Parameters:
Name Type Description
persistentResourceName string

A fully-qualified path representing PersistentResource resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromPipelineJobName(pipelineJobName) → {string}

Parse the project from PipelineJob resource.

Parameters:
Name Type Description
pipelineJobName string

A fully-qualified path representing PipelineJob resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectLocationEndpointName(projectLocationEndpointName) → {string}

Parse the project from ProjectLocationEndpoint resource.

Parameters:
Name Type Description
projectLocationEndpointName string

A fully-qualified path representing project_location_endpoint resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName) → {string}

Parse the project from ProjectLocationFeatureGroupFeatures resource.

Parameters:
Name Type Description
projectLocationFeatureGroupFeaturesName string

A fully-qualified path representing project_location_feature_group_features resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName) → {string}

Parse the project from ProjectLocationFeaturestoreEntityTypeFeatures resource.

Parameters:
Name Type Description
projectLocationFeaturestoreEntityTypeFeaturesName string

A fully-qualified path representing project_location_featurestore_entity_type_features resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectLocationPublisherModelName(projectLocationPublisherModelName) → {string}

Parse the project from ProjectLocationPublisherModel resource.

Parameters:
Name Type Description
projectLocationPublisherModelName string

A fully-qualified path representing project_location_publisher_model resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromRagCorpusName(ragCorpusName) → {string}

Parse the project from RagCorpus resource.

Parameters:
Name Type Description
ragCorpusName string

A fully-qualified path representing RagCorpus resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromRagDataSchemaName(ragDataSchemaName) → {string}

Parse the project from RagDataSchema resource.

Parameters:
Name Type Description
ragDataSchemaName string

A fully-qualified path representing RagDataSchema resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromRagEngineConfigName(ragEngineConfigName) → {string}

Parse the project from RagEngineConfig resource.

Parameters:
Name Type Description
ragEngineConfigName string

A fully-qualified path representing RagEngineConfig resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromRagFileName(ragFileName) → {string}

Parse the project from RagFile resource.

Parameters:
Name Type Description
ragFileName string

A fully-qualified path representing RagFile resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromRagMetadataName(ragMetadataName) → {string}

Parse the project from RagMetadata resource.

Parameters:
Name Type Description
ragMetadataName string

A fully-qualified path representing RagMetadata resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromReasoningEngineName(reasoningEngineName) → {string}

Parse the project from ReasoningEngine resource.

Parameters:
Name Type Description
reasoningEngineName string

A fully-qualified path representing ReasoningEngine resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromReasoningEngineRuntimeRevisionName(reasoningEngineRuntimeRevisionName) → {string}

Parse the project from ReasoningEngineRuntimeRevision resource.

Parameters:
Name Type Description
reasoningEngineRuntimeRevisionName string

A fully-qualified path representing ReasoningEngineRuntimeRevision resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromSavedQueryName(savedQueryName) → {string}

Parse the project from SavedQuery resource.

Parameters:
Name Type Description
savedQueryName string

A fully-qualified path representing SavedQuery resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromScheduleName(scheduleName) → {string}

Parse the project from Schedule resource.

Parameters:
Name Type Description
scheduleName string

A fully-qualified path representing Schedule resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromSessionEventName(sessionEventName) → {string}

Parse the project from SessionEvent resource.

Parameters:
Name Type Description
sessionEventName string

A fully-qualified path representing SessionEvent resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromSessionName(sessionName) → {string}

Parse the project from Session resource.

Parameters:
Name Type Description
sessionName string

A fully-qualified path representing Session resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromSpecialistPoolName(specialistPoolName) → {string}

Parse the project from SpecialistPool resource.

Parameters:
Name Type Description
specialistPoolName string

A fully-qualified path representing SpecialistPool resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromStudyName(studyName) → {string}

Parse the project from Study resource.

Parameters:
Name Type Description
studyName string

A fully-qualified path representing Study resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTensorboardExperimentName(tensorboardExperimentName) → {string}

Parse the project from TensorboardExperiment resource.

Parameters:
Name Type Description
tensorboardExperimentName string

A fully-qualified path representing TensorboardExperiment resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTensorboardName(tensorboardName) → {string}

Parse the project from Tensorboard resource.

Parameters:
Name Type Description
tensorboardName string

A fully-qualified path representing Tensorboard resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTensorboardRunName(tensorboardRunName) → {string}

Parse the project from TensorboardRun resource.

Parameters:
Name Type Description
tensorboardRunName string

A fully-qualified path representing TensorboardRun resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the project from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTrainingPipelineName(trainingPipelineName) → {string}

Parse the project from TrainingPipeline resource.

Parameters:
Name Type Description
trainingPipelineName string

A fully-qualified path representing TrainingPipeline resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTrialName(trialName) → {string}

Parse the project from Trial resource.

Parameters:
Name Type Description
trialName string

A fully-qualified path representing Trial resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromTuningJobName(tuningJobName) → {string}

Parse the project from TuningJob resource.

Parameters:
Name Type Description
tuningJobName string

A fully-qualified path representing TuningJob resource.

Returns:
Type Description
string

A string representing the project.

matchPublisherFromProjectLocationPublisherModelName(projectLocationPublisherModelName) → {string}

Parse the publisher from ProjectLocationPublisherModel resource.

Parameters:
Name Type Description
projectLocationPublisherModelName string

A fully-qualified path representing project_location_publisher_model resource.

Returns:
Type Description
string

A string representing the publisher.

matchPublisherFromPublisherModelName(publisherModelName) → {string}

Parse the publisher from PublisherModel resource.

Parameters:
Name Type Description
publisherModelName string

A fully-qualified path representing PublisherModel resource.

Returns:
Type Description
string

A string representing the publisher.

matchRagCorpusFromRagCorpusName(ragCorpusName) → {string}

Parse the rag_corpus from RagCorpus resource.

Parameters:
Name Type Description
ragCorpusName string

A fully-qualified path representing RagCorpus resource.

Returns:
Type Description
string

A string representing the rag_corpus.

matchRagCorpusFromRagDataSchemaName(ragDataSchemaName) → {string}

Parse the rag_corpus from RagDataSchema resource.

Parameters:
Name Type Description
ragDataSchemaName string

A fully-qualified path representing RagDataSchema resource.

Returns:
Type Description
string

A string representing the rag_corpus.

matchRagCorpusFromRagFileName(ragFileName) → {string}

Parse the rag_corpus from RagFile resource.

Parameters:
Name Type Description
ragFileName string

A fully-qualified path representing RagFile resource.

Returns:
Type Description
string

A string representing the rag_corpus.

matchRagCorpusFromRagMetadataName(ragMetadataName) → {string}

Parse the rag_corpus from RagMetadata resource.

Parameters:
Name Type Description
ragMetadataName string

A fully-qualified path representing RagMetadata resource.

Returns:
Type Description
string

A string representing the rag_corpus.

matchRagDataSchemaFromRagDataSchemaName(ragDataSchemaName) → {string}

Parse the rag_data_schema from RagDataSchema resource.

Parameters:
Name Type Description
ragDataSchemaName string

A fully-qualified path representing RagDataSchema resource.

Returns:
Type Description
string

A string representing the rag_data_schema.

matchRagFileFromRagFileName(ragFileName) → {string}

Parse the rag_file from RagFile resource.

Parameters:
Name Type Description
ragFileName string

A fully-qualified path representing RagFile resource.

Returns:
Type Description
string

A string representing the rag_file.

matchRagFileFromRagMetadataName(ragMetadataName) → {string}

Parse the rag_file from RagMetadata resource.

Parameters:
Name Type Description
ragMetadataName string

A fully-qualified path representing RagMetadata resource.

Returns:
Type Description
string

A string representing the rag_file.

matchRagMetadataFromRagMetadataName(ragMetadataName) → {string}

Parse the rag_metadata from RagMetadata resource.

Parameters:
Name Type Description
ragMetadataName string

A fully-qualified path representing RagMetadata resource.

Returns:
Type Description
string

A string representing the rag_metadata.

matchReasoningEngineFromMemoryName(memoryName) → {string}

Parse the reasoning_engine from Memory resource.

Parameters:
Name Type Description
memoryName string

A fully-qualified path representing Memory resource.

Returns:
Type Description
string

A string representing the reasoning_engine.

matchReasoningEngineFromReasoningEngineName(reasoningEngineName) → {string}

Parse the reasoning_engine from ReasoningEngine resource.

Parameters:
Name Type Description
reasoningEngineName string

A fully-qualified path representing ReasoningEngine resource.

Returns:
Type Description
string

A string representing the reasoning_engine.

matchReasoningEngineFromReasoningEngineRuntimeRevisionName(reasoningEngineRuntimeRevisionName) → {string}

Parse the reasoning_engine from ReasoningEngineRuntimeRevision resource.

Parameters:
Name Type Description
reasoningEngineRuntimeRevisionName string

A fully-qualified path representing ReasoningEngineRuntimeRevision resource.

Returns:
Type Description
string

A string representing the reasoning_engine.

matchReasoningEngineFromSessionEventName(sessionEventName) → {string}

Parse the reasoning_engine from SessionEvent resource.

Parameters:
Name Type Description
sessionEventName string

A fully-qualified path representing SessionEvent resource.

Returns:
Type Description
string

A string representing the reasoning_engine.

matchReasoningEngineFromSessionName(sessionName) → {string}

Parse the reasoning_engine from Session resource.

Parameters:
Name Type Description
sessionName string

A fully-qualified path representing Session resource.

Returns:
Type Description
string

A string representing the reasoning_engine.

matchRunFromTensorboardRunName(tensorboardRunName) → {string}

Parse the run from TensorboardRun resource.

Parameters:
Name Type Description
tensorboardRunName string

A fully-qualified path representing TensorboardRun resource.

Returns:
Type Description
string

A string representing the run.

matchRunFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the run from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the run.

matchRuntimeRevisionFromReasoningEngineRuntimeRevisionName(reasoningEngineRuntimeRevisionName) → {string}

Parse the runtime_revision from ReasoningEngineRuntimeRevision resource.

Parameters:
Name Type Description
reasoningEngineRuntimeRevisionName string

A fully-qualified path representing ReasoningEngineRuntimeRevision resource.

Returns:
Type Description
string

A string representing the runtime_revision.

matchSavedQueryFromSavedQueryName(savedQueryName) → {string}

Parse the saved_query from SavedQuery resource.

Parameters:
Name Type Description
savedQueryName string

A fully-qualified path representing SavedQuery resource.

Returns:
Type Description
string

A string representing the saved_query.

matchScheduleFromScheduleName(scheduleName) → {string}

Parse the schedule from Schedule resource.

Parameters:
Name Type Description
scheduleName string

A fully-qualified path representing Schedule resource.

Returns:
Type Description
string

A string representing the schedule.

matchSessionFromSessionEventName(sessionEventName) → {string}

Parse the session from SessionEvent resource.

Parameters:
Name Type Description
sessionEventName string

A fully-qualified path representing SessionEvent resource.

Returns:
Type Description
string

A string representing the session.

matchSessionFromSessionName(sessionName) → {string}

Parse the session from Session resource.

Parameters:
Name Type Description
sessionName string

A fully-qualified path representing Session resource.

Returns:
Type Description
string

A string representing the session.

matchSliceFromModelEvaluationSliceName(modelEvaluationSliceName) → {string}

Parse the slice from ModelEvaluationSlice resource.

Parameters:
Name Type Description
modelEvaluationSliceName string

A fully-qualified path representing ModelEvaluationSlice resource.

Returns:
Type Description
string

A string representing the slice.

matchSpecialistPoolFromSpecialistPoolName(specialistPoolName) → {string}

Parse the specialist_pool from SpecialistPool resource.

Parameters:
Name Type Description
specialistPoolName string

A fully-qualified path representing SpecialistPool resource.

Returns:
Type Description
string

A string representing the specialist_pool.

matchStudyFromStudyName(studyName) → {string}

Parse the study from Study resource.

Parameters:
Name Type Description
studyName string

A fully-qualified path representing Study resource.

Returns:
Type Description
string

A string representing the study.

matchStudyFromTrialName(trialName) → {string}

Parse the study from Trial resource.

Parameters:
Name Type Description
trialName string

A fully-qualified path representing Trial resource.

Returns:
Type Description
string

A string representing the study.

matchTensorboardFromTensorboardExperimentName(tensorboardExperimentName) → {string}

Parse the tensorboard from TensorboardExperiment resource.

Parameters:
Name Type Description
tensorboardExperimentName string

A fully-qualified path representing TensorboardExperiment resource.

Returns:
Type Description
string

A string representing the tensorboard.

matchTensorboardFromTensorboardName(tensorboardName) → {string}

Parse the tensorboard from Tensorboard resource.

Parameters:
Name Type Description
tensorboardName string

A fully-qualified path representing Tensorboard resource.

Returns:
Type Description
string

A string representing the tensorboard.

matchTensorboardFromTensorboardRunName(tensorboardRunName) → {string}

Parse the tensorboard from TensorboardRun resource.

Parameters:
Name Type Description
tensorboardRunName string

A fully-qualified path representing TensorboardRun resource.

Returns:
Type Description
string

A string representing the tensorboard.

matchTensorboardFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the tensorboard from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the tensorboard.

matchTimeSeriesFromTensorboardTimeSeriesName(tensorboardTimeSeriesName) → {string}

Parse the time_series from TensorboardTimeSeries resource.

Parameters:
Name Type Description
tensorboardTimeSeriesName string

A fully-qualified path representing TensorboardTimeSeries resource.

Returns:
Type Description
string

A string representing the time_series.

matchTrainingPipelineFromTrainingPipelineName(trainingPipelineName) → {string}

Parse the training_pipeline from TrainingPipeline resource.

Parameters:
Name Type Description
trainingPipelineName string

A fully-qualified path representing TrainingPipeline resource.

Returns:
Type Description
string

A string representing the training_pipeline.

matchTrialFromTrialName(trialName) → {string}

Parse the trial from Trial resource.

Parameters:
Name Type Description
trialName string

A fully-qualified path representing Trial resource.

Returns:
Type Description
string

A string representing the trial.

matchTuningJobFromTuningJobName(tuningJobName) → {string}

Parse the tuning_job from TuningJob resource.

Parameters:
Name Type Description
tuningJobName string

A fully-qualified path representing TuningJob resource.

Returns:
Type Description
string

A string representing the tuning_job.

memoryPath(project, location, reasoning_engine, memory) → {string}

Return a fully-qualified memory resource name string.

Parameters:
Name Type Description
project string
location string
reasoning_engine string
memory string
Returns:
Type Description
string

Resource name string.

metadataSchemaPath(project, location, metadata_store, metadata_schema) → {string}

Return a fully-qualified metadataSchema resource name string.

Parameters:
Name Type Description
project string
location string
metadata_store string
metadata_schema string
Returns:
Type Description
string

Resource name string.

metadataStorePath(project, location, metadata_store) → {string}

Return a fully-qualified metadataStore resource name string.

Parameters:
Name Type Description
project string
location string
metadata_store string
Returns:
Type Description
string

Resource name string.

modelDeploymentMonitoringJobPath(project, location, model_deployment_monitoring_job) → {string}

Return a fully-qualified modelDeploymentMonitoringJob resource name string.

Parameters:
Name Type Description
project string
location string
model_deployment_monitoring_job string
Returns:
Type Description
string

Resource name string.

modelEvaluationPath(project, location, model, evaluation) → {string}

Return a fully-qualified modelEvaluation resource name string.

Parameters:
Name Type Description
project string
location string
model string
evaluation string
Returns:
Type Description
string

Resource name string.

modelEvaluationSlicePath(project, location, model, evaluation, slice) → {string}

Return a fully-qualified modelEvaluationSlice resource name string.

Parameters:
Name Type Description
project string
location string
model string
evaluation string
slice string
Returns:
Type Description
string

Resource name string.

modelMonitorPath(project, location, model_monitor) → {string}

Return a fully-qualified modelMonitor resource name string.

Parameters:
Name Type Description
project string
location string
model_monitor string
Returns:
Type Description
string

Resource name string.

modelMonitoringJobPath(project, location, model_monitor, model_monitoring_job) → {string}

Return a fully-qualified modelMonitoringJob resource name string.

Parameters:
Name Type Description
project string
location string
model_monitor string
model_monitoring_job string
Returns:
Type Description
string

Resource name string.

modelPath(project, location, model) → {string}

Return a fully-qualified model resource name string.

Parameters:
Name Type Description
project string
location string
model string
Returns:
Type Description
string

Resource name string.

nasJobPath(project, location, nas_job) → {string}

Return a fully-qualified nasJob resource name string.

Parameters:
Name Type Description
project string
location string
nas_job string
Returns:
Type Description
string

Resource name string.

nasTrialDetailPath(project, location, nas_job, nas_trial_detail) → {string}

Return a fully-qualified nasTrialDetail resource name string.

Parameters:
Name Type Description
project string
location string
nas_job string
nas_trial_detail string
Returns:
Type Description
string

Resource name string.

notebookExecutionJobPath(project, location, notebook_execution_job) → {string}

Return a fully-qualified notebookExecutionJob resource name string.

Parameters:
Name Type Description
project string
location string
notebook_execution_job string
Returns:
Type Description
string

Resource name string.

notebookRuntimePath(project, location, notebook_runtime) → {string}

Return a fully-qualified notebookRuntime resource name string.

Parameters:
Name Type Description
project string
location string
notebook_runtime string
Returns:
Type Description
string

Resource name string.

notebookRuntimeTemplatePath(project, location, notebook_runtime_template) → {string}

Return a fully-qualified notebookRuntimeTemplate resource name string.

Parameters:
Name Type Description
project string
location string
notebook_runtime_template string
Returns:
Type Description
string

Resource name string.

onlineEvaluatorPath(project, location, online_evaluator) → {string}

Return a fully-qualified onlineEvaluator resource name string.

Parameters:
Name Type Description
project string
location string
online_evaluator string
Returns:
Type Description
string

Resource name string.

persistentResourcePath(project, location, persistent_resource) → {string}

Return a fully-qualified persistentResource resource name string.

Parameters:
Name Type Description
project string
location string
persistent_resource string
Returns:
Type Description
string

Resource name string.

pipelineJobPath(project, location, pipeline_job) → {string}

Return a fully-qualified pipelineJob resource name string.

Parameters:
Name Type Description
project string
location string
pipeline_job string
Returns:
Type Description
string

Resource name string.

projectLocationEndpointPath(project, location, endpoint) → {string}

Return a fully-qualified projectLocationEndpoint resource name string.

Parameters:
Name Type Description
project string
location string
endpoint string
Returns:
Type Description
string

Resource name string.

projectLocationFeatureGroupFeaturesPath(project, location, feature_group, feature) → {string}

Return a fully-qualified projectLocationFeatureGroupFeatures resource name string.

Parameters:
Name Type Description
project string
location string
feature_group string
feature string
Returns:
Type Description
string

Resource name string.

projectLocationFeaturestoreEntityTypeFeaturesPath(project, location, featurestore, entity_type, feature) → {string}

Return a fully-qualified projectLocationFeaturestoreEntityTypeFeatures resource name string.

Parameters:
Name Type Description
project string
location string
featurestore string
entity_type string
feature string
Returns:
Type Description
string

Resource name string.

projectLocationPublisherModelPath(project, location, publisher, model) → {string}

Return a fully-qualified projectLocationPublisherModel resource name string.

Parameters:
Name Type Description
project string
location string
publisher string
model string
Returns:
Type Description
string

Resource name string.

publisherModelPath(publisher, model) → {string}

Return a fully-qualified publisherModel resource name string.

Parameters:
Name Type Description
publisher string
model string
Returns:
Type Description
string

Resource name string.

ragCorpusPath(project, location, rag_corpus) → {string}

Return a fully-qualified ragCorpus resource name string.

Parameters:
Name Type Description
project string
location string
rag_corpus string
Returns:
Type Description
string

Resource name string.

ragDataSchemaPath(project, location, rag_corpus, rag_data_schema) → {string}

Return a fully-qualified ragDataSchema resource name string.

Parameters:
Name Type Description
project string
location string
rag_corpus string
rag_data_schema string
Returns:
Type Description
string

Resource name string.

ragEngineConfigPath(project, location) → {string}

Return a fully-qualified ragEngineConfig resource name string.

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

Resource name string.

ragFilePath(project, location, rag_corpus, rag_file) → {string}

Return a fully-qualified ragFile resource name string.

Parameters:
Name Type Description
project string
location string
rag_corpus string
rag_file string
Returns:
Type Description
string

Resource name string.

ragMetadataPath(project, location, rag_corpus, rag_file, rag_metadata) → {string}

Return a fully-qualified ragMetadata resource name string.

Parameters:
Name Type Description
project string
location string
rag_corpus string
rag_file string
rag_metadata string
Returns:
Type Description
string

Resource name string.

reasoningEnginePath(project, location, reasoning_engine) → {string}

Return a fully-qualified reasoningEngine resource name string.

Parameters:
Name Type Description
project string
location string
reasoning_engine string
Returns:
Type Description
string

Resource name string.

reasoningEngineRuntimeRevisionPath(project, location, reasoning_engine, runtime_revision) → {string}

Return a fully-qualified reasoningEngineRuntimeRevision resource name string.

Parameters:
Name Type Description
project string
location string
reasoning_engine string
runtime_revision string
Returns:
Type Description
string

Resource name string.

savedQueryPath(project, location, dataset, saved_query) → {string}

Return a fully-qualified savedQuery resource name string.

Parameters:
Name Type Description
project string
location string
dataset string
saved_query string
Returns:
Type Description
string

Resource name string.

schedulePath(project, location, schedule) → {string}

Return a fully-qualified schedule resource name string.

Parameters:
Name Type Description
project string
location string
schedule string
Returns:
Type Description
string

Resource name string.

searchDataItemsAsync(request, optionsopt) → {Object}

Equivalent to searchDataItems, but returns an iterable object.

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

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
orderByDataItem string

A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

orderByAnnotation google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.OrderByAnnotation

Expression that allows ranking results based on annotation's property.

dataset string

Required. The resource name of the Dataset from which to search DataItems. Format: projects/{project}/locations/{location}/datasets/{dataset}

savedQuery string

The resource name of a SavedQuery(annotation set in UI). Format: projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query} All of the search will be done in the context of this SavedQuery.

dataLabelingJob string

The resource name of a DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} If this field is set, all of the search will be done in the context of this DataLabelingJob.

dataItemFilter string

An expression for filtering the DataItem that will be returned.

* `data_item_id` - for = or !=.
* `labeled` - for = or !=.
* `has_annotation(ANNOTATION_SPEC_ID)` - true only for DataItem that
  have at least one annotation with annotation_spec_id =
  `ANNOTATION_SPEC_ID` in the context of SavedQuery or DataLabelingJob.

For example:

  • data_item=1
  • has_annotation(5)
annotationsFilter string

An expression for filtering the Annotations that will be returned per DataItem. * annotation_spec_id - for = or !=.

annotationFilters Array.<string>

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned. * annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

fieldMask google.protobuf.FieldMask

Mask specifying which fields of DataItemView to read.

annotationsLimit number

If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.

pageSize number

Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

pageToken string

A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Object

An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing DataItemView. 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.
   */
  /**
   *  A comma-separated list of data item fields to order by, sorted in
   *  ascending order. Use "desc" after a field name for descending.
   */
  // const orderByDataItem = 'abc123'
  /**
   *  Expression that allows ranking results based on annotation's property.
   */
  // const orderByAnnotation = {}
  /**
   *  Required. The resource name of the Dataset from which to search DataItems.
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}`
   */
  // const dataset = 'abc123'
  /**
   *  The resource name of a SavedQuery(annotation set in UI).
   *  Format:
   *  `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}`
   *  All of the search will be done in the context of this SavedQuery.
   */
  // const savedQuery = 'abc123'
  /**
   *  The resource name of a DataLabelingJob.
   *  Format:
   *  `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
   *  If this field is set, all of the search will be done in the context of
   *  this DataLabelingJob.
   */
  // const dataLabelingJob = 'abc123'
  /**
   *  An expression for filtering the DataItem that will be returned.
   *    * `data_item_id` - for = or !=.
   *    * `labeled` - for = or !=.
   *    * `has_annotation(ANNOTATION_SPEC_ID)` - true only for DataItem that
   *      have at least one annotation with annotation_spec_id =
   *      `ANNOTATION_SPEC_ID` in the context of SavedQuery or DataLabelingJob.
   *  For example:
   *  * `data_item=1`
   *  * `has_annotation(5)`
   */
  // const dataItemFilter = 'abc123'
  /**
   *  An expression for filtering the Annotations that will be returned per
   *  DataItem.
   *    * `annotation_spec_id` - for = or !=.
   */
  // const annotationsFilter = 'abc123'
  /**
   *  An expression that specifies what Annotations will be returned per
   *  DataItem. Annotations satisfied either of the conditions will be returned.
   *    * `annotation_spec_id` - for = or !=.
   *  Must specify `saved_query_id=` - saved query id that annotations should
   *  belong to.
   */
  // const annotationFilters = ['abc','def']
  /**
   *  Mask specifying which fields of
   *  DataItemView google.cloud.aiplatform.v1beta1.DataItemView  to read.
   */
  // const fieldMask = {}
  /**
   *  If set, only up to this many of Annotations will be returned per
   *  DataItemView. The maximum value is 1000. If not set, the maximum value will
   *  be used.
   */
  // const annotationsLimit = 1234
  /**
   *  Requested page size. Server may return fewer results than requested.
   *  Default and maximum page size is 100.
   */
  // const pageSize = 1234
  /**
   *  A comma-separated list of fields to order by, sorted in ascending order.
   *  Use "desc" after a field name for descending.
   */
  // const orderBy = 'abc123'
  /**
   *  A token identifying a page of results for the server to return
   *  Typically obtained via
   *  SearchDataItemsResponse.next_page_token google.cloud.aiplatform.v1beta1.SearchDataItemsResponse.next_page_token 
   *  of the previous
   *  DatasetService.SearchDataItems google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems 
   *  call.
   */
  // const pageToken = 'abc123'

  // Imports the Aiplatform library
  const {DatasetServiceClient} = require('@google-cloud/aiplatform').v1beta1;

  // Instantiates a client
  const aiplatformClient = new DatasetServiceClient();

  async function callSearchDataItems() {
    // Construct request
    const request = {
      dataset,
    };

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

  callSearchDataItems();

searchDataItemsStream(request, optionsopt) → {Stream}

Equivalent to searchDataItems, but returns a NodeJS Stream object.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
orderByDataItem string

A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

orderByAnnotation google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.OrderByAnnotation

Expression that allows ranking results based on annotation's property.

dataset string

Required. The resource name of the Dataset from which to search DataItems. Format: projects/{project}/locations/{location}/datasets/{dataset}

savedQuery string

The resource name of a SavedQuery(annotation set in UI). Format: projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query} All of the search will be done in the context of this SavedQuery.

dataLabelingJob string

The resource name of a DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} If this field is set, all of the search will be done in the context of this DataLabelingJob.

dataItemFilter string

An expression for filtering the DataItem that will be returned.

* `data_item_id` - for = or !=.
* `labeled` - for = or !=.
* `has_annotation(ANNOTATION_SPEC_ID)` - true only for DataItem that
  have at least one annotation with annotation_spec_id =
  `ANNOTATION_SPEC_ID` in the context of SavedQuery or DataLabelingJob.

For example:

  • data_item=1
  • has_annotation(5)
annotationsFilter string

An expression for filtering the Annotations that will be returned per DataItem. * annotation_spec_id - for = or !=.

annotationFilters Array.<string>

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned. * annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

fieldMask google.protobuf.FieldMask

Mask specifying which fields of DataItemView to read.

annotationsLimit number

If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.

pageSize number

Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

pageToken string

A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

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

sessionEventPath(project, location, reasoning_engine, session, event) → {string}

Return a fully-qualified sessionEvent resource name string.

Parameters:
Name Type Description
project string
location string
reasoning_engine string
session string
event string
Returns:
Type Description
string

Resource name string.

sessionPath(project, location, reasoning_engine, session) → {string}

Return a fully-qualified session resource name string.

Parameters:
Name Type Description
project string
location string
reasoning_engine string
session string
Returns:
Type Description
string

Resource name string.

setIamPolicy(request, optionsopt, callbackopt) → {Promise}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
resource string

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.

permissions Array.<string>

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

options Object <optional>

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

callback function <optional>

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

The second parameter to the callback is an object representing TestIamPermissionsResponse.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing TestIamPermissionsResponse. The promise has a method named "cancel" which cancels the ongoing API call.

specialistPoolPath(project, location, specialist_pool) → {string}

Return a fully-qualified specialistPool resource name string.

Parameters:
Name Type Description
project string
location string
specialist_pool string
Returns:
Type Description
string

Resource name string.

studyPath(project, location, study) → {string}

Return a fully-qualified study resource name string.

Parameters:
Name Type Description
project string
location string
study string
Returns:
Type Description
string

Resource name string.

tensorboardExperimentPath(project, location, tensorboard, experiment) → {string}

Return a fully-qualified tensorboardExperiment resource name string.

Parameters:
Name Type Description
project string
location string
tensorboard string
experiment string
Returns:
Type Description
string

Resource name string.

tensorboardPath(project, location, tensorboard) → {string}

Return a fully-qualified tensorboard resource name string.

Parameters:
Name Type Description
project string
location string
tensorboard string
Returns:
Type Description
string

Resource name string.

tensorboardRunPath(project, location, tensorboard, experiment, run) → {string}

Return a fully-qualified tensorboardRun resource name string.

Parameters:
Name Type Description
project string
location string
tensorboard string
experiment string
run string
Returns:
Type Description
string

Resource name string.

tensorboardTimeSeriesPath(project, location, tensorboard, experiment, run, time_series) → {string}

Return a fully-qualified tensorboardTimeSeries resource name string.

Parameters:
Name Type Description
project string
location string
tensorboard string
experiment string
run string
time_series string
Returns:
Type Description
string

Resource name string.

testIamPermissions(request, optionsopt, callbackopt) → {Promise}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
resource string

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.

permissions Array.<string>

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

options Object <optional>

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

callback function <optional>

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

The second parameter to the callback is an object representing TestIamPermissionsResponse.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing TestIamPermissionsResponse. The promise has a method named "cancel" which cancels the ongoing API call.

trainingPipelinePath(project, location, training_pipeline) → {string}

Return a fully-qualified trainingPipeline resource name string.

Parameters:
Name Type Description
project string
location string
training_pipeline string
Returns:
Type Description
string

Resource name string.

trialPath(project, location, study, trial) → {string}

Return a fully-qualified trial resource name string.

Parameters:
Name Type Description
project string
location string
study string
trial string
Returns:
Type Description
string

Resource name string.

tuningJobPath(project, location, tuning_job) → {string}

Return a fully-qualified tuningJob resource name string.

Parameters:
Name Type Description
project string
location string
tuning_job string
Returns:
Type Description
string

Resource name string.