@@ -86,23 +86,39 @@ To run this sample:
8686
8787 $ python datasets.py
8888
89- usage: datasets.py [-h] [--project_id PROJECT_ID]
90- [--cloud_region CLOUD_REGION] [--dataset_id DATASET_ID]
91- [--time_zone TIME_ZONE]
89+ usage: datasets.py [-h] [--project_id PROJECT_ID] [--location LOCATION]
90+ [--dataset_id DATASET_ID] [--time_zone TIME_ZONE]
9291 [--destination_dataset_id DESTINATION_DATASET_ID]
93- [--keeplist_tags KEEPLIST_TAGS] [--member MEMBER]
94- [--role ROLE]
92+ [--member MEMBER] [--role ROLE]
9593 {create-dataset,delete-dataset,get-dataset,list-datasets,patch-dataset,get_iam_policy,set_iam_policy,deidentify-dataset}
9694 ...
9795
9896 positional arguments:
9997 {create-dataset,delete-dataset,get-dataset,list-datasets,patch-dataset,get_iam_policy,set_iam_policy,deidentify-dataset}
100- create-dataset Creates a dataset.
101- delete-dataset Deletes a dataset.
102- get-dataset Gets any metadata associated with a dataset.
103- list-datasets Lists the datasets in the project.
104- patch-dataset Updates dataset metadata.
105- get_iam_policy Gets the IAM policy for the specified dataset.
98+ create-dataset Creates a dataset. See
99+ https://github.com/GoogleCloudPlatform/python-docs-
100+ samples/tree/master/healthcare/api-client/v1/datasets
101+ before running the sample.
102+ delete-dataset Deletes a dataset. See
103+ https://github.com/GoogleCloudPlatform/python-docs-
104+ samples/tree/master/healthcare/api-client/v1/datasets
105+ before running the sample.
106+ get-dataset Gets any metadata associated with a dataset. See
107+ https://github.com/GoogleCloudPlatform/python-docs-
108+ samples/tree/master/healthcare/api-client/v1/datasets
109+ before running the sample.
110+ list-datasets Lists the datasets in the project. See
111+ https://github.com/GoogleCloudPlatform/python-docs-
112+ samples/tree/master/healthcare/api-client/v1/datasets
113+ before running the sample.
114+ patch-dataset Updates dataset metadata. See
115+ https://github.com/GoogleCloudPlatform/python-docs-
116+ samples/tree/master/healthcare/api-client/v1/datasets
117+ before running the sample.
118+ get_iam_policy Gets the IAM policy for the specified dataset. See
119+ https://github.com/GoogleCloudPlatform/python-docs-
120+ samples/tree/master/healthcare/api-client/v1/datasets
121+ before running the sample.
106122 set_iam_policy Sets the IAM policy for the specified dataset. A
107123 single member will be assigned a single role. A member
108124 can be any of: - allUsers, that is, anyone -
@@ -114,26 +130,29 @@ To run this sample:
114130 ' serviceAccount:my-other-
115131 [email protected] ' A role can be any IAM116132 role, such as ' roles/viewer' , ' roles/owner' , or
117- ' roles/editor'
118- deidentify-dataset Creates a new dataset containing de-identified data
119- from the source dataset.
133+ ' roles/editor' See
134+ https://github.com/GoogleCloudPlatform/python-docs-
135+ samples/tree/master/healthcare/api-client/v1/datasets
136+ before running the sample.
137+ deidentify-dataset Uses a DICOM tag keeplist to create a new dataset
138+ containing de-identified DICOM data from the source
139+ dataset. See
140+ https://github.com/GoogleCloudPlatform/python-docs-
141+ samples/tree/master/healthcare/api-client/v1/datasets
142+ before running the sample.
120143
121144 optional arguments:
122145 -h, --help show this help message and exit
123146 --project_id PROJECT_ID
124147 GCP project name
125- --cloud_region CLOUD_REGION
126- GCP cloud region
148+ --location LOCATION GCP cloud region
127149 --dataset_id DATASET_ID
128150 Name of dataset
129151 --time_zone TIME_ZONE
130152 The default timezone used by a dataset
131153 --destination_dataset_id DESTINATION_DATASET_ID
132154 The name of the new dataset where the de-identified
133155 data will be written
134- --keeplist_tags KEEPLIST_TAGS
135- The data to keeplist, for example " PatientID" or
136- " StudyInstanceUID"
137156 --member MEMBER Member to add to IAM policy (e.g.
138157 " domain:example.com" )
139158 --role ROLE IAM Role to give to member (e.g. " roles/viewer" )
0 commit comments