@@ -86,23 +86,39 @@ To run this sample:
86
86
87
87
$ python datasets.py
88
88
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]
92
91
[--destination_dataset_id DESTINATION_DATASET_ID]
93
- [--keeplist_tags KEEPLIST_TAGS] [--member MEMBER]
94
- [--role ROLE]
92
+ [--member MEMBER] [--role ROLE]
95
93
{create-dataset,delete-dataset,get-dataset,list-datasets,patch-dataset,get_iam_policy,set_iam_policy,deidentify-dataset}
96
94
...
97
95
98
96
positional arguments:
99
97
{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.
106
122
set_iam_policy Sets the IAM policy for the specified dataset. A
107
123
single member will be assigned a single role. A member
108
124
can be any of: - allUsers, that is, anyone -
@@ -114,26 +130,29 @@ To run this sample:
114
130
' serviceAccount:my-other-
115
131
app@appspot.gserviceaccount.com' A role can be any IAM
116
132
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.
120
143
121
144
optional arguments:
122
145
-h, --help show this help message and exit
123
146
--project_id PROJECT_ID
124
147
GCP project name
125
- --cloud_region CLOUD_REGION
126
- GCP cloud region
148
+ --location LOCATION GCP cloud region
127
149
--dataset_id DATASET_ID
128
150
Name of dataset
129
151
--time_zone TIME_ZONE
130
152
The default timezone used by a dataset
131
153
--destination_dataset_id DESTINATION_DATASET_ID
132
154
The name of the new dataset where the de-identified
133
155
data will be written
134
- --keeplist_tags KEEPLIST_TAGS
135
- The data to keeplist, for example " PatientID" or
136
- " StudyInstanceUID"
137
156
--member MEMBER Member to add to IAM policy (e.g.
138
157
" domain:example.com" )
139
158
--role ROLE IAM Role to give to member (e.g. " roles/viewer" )
0 commit comments