gcloud healthcare datasets create

NAME
gcloud healthcare datasets create - create a Cloud Healthcare API dataset
SYNOPSIS
gcloud healthcare datasets create(DATASET :--location=LOCATION)[--async][--encryption-key=ENCRYPTION_KEY][--time-zone=TIME_ZONE][GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a new Cloud Healthcare API dataset
EXAMPLES
To create a dataset called 'test-dataset' in us-central1, run:
gcloudhealthcaredatasetscreatetest-dataset

To create a dataset in a different region (ex: asia-northeast1), run:

gcloudhealthcaredatasetscreatetest-dataset--location=asia-northeast1
POSITIONAL ARGUMENTS
Dataset resource - Cloud Healthcare API dataset to create. The arguments in thisgroup can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentdataset on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

DATASET
ID of the dataset or fully qualified identifier for the dataset.

To set thedataset attribute:

  • provide the argumentdataset on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Google Cloud location.

To set thelocation attribute:

  • provide the argumentdataset on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertyhealthcare/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--encryption-key=ENCRYPTION_KEY
KMS encryption key that is used to secure this dataset and its sub-resources.The key used for encryption and the dataset must be in the same location. Ifempty, the default Google encryption key will be used to secure this dataset.The format isprojects/{projectId}/locations/{locationId}/keyRings/{keyRingId}/cryptoKeys/{keyId}.
--time-zone=TIME_ZONE
Default timezone used by this dataset.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

API REFERENCE
This command uses thehealthcare/v1 API. The full documentation forthis API can be found at:https://cloud.google.com/healthcare
NOTES
These variants are also available:
gcloudalphahealthcaredatasetscreate
gcloudbetahealthcaredatasetscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.