google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -0,0 +1,3470 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module HealthcareV1
|
23
|
+
# Cloud Healthcare API
|
24
|
+
#
|
25
|
+
# Manage, store, and access healthcare data in Google Cloud Platform.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/healthcare_v1'
|
29
|
+
#
|
30
|
+
# Healthcare = Google::Apis::HealthcareV1 # Alias the module
|
31
|
+
# service = Healthcare::CloudHealthcareService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/healthcare
|
34
|
+
class CloudHealthcareService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://healthcare.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Creates a new health dataset. Results are returned through the
|
51
|
+
# Operation interface which returns either an
|
52
|
+
# `Operation.response` which contains a Dataset or
|
53
|
+
# `Operation.error`. The metadata
|
54
|
+
# field type is OperationMetadata.
|
55
|
+
# A Google Cloud Platform project can contain up to 500 datasets across all
|
56
|
+
# regions.
|
57
|
+
# @param [String] parent
|
58
|
+
# The name of the project where the server creates the dataset. For
|
59
|
+
# example, `projects/`project_id`/locations/`location_id``.
|
60
|
+
# @param [Google::Apis::HealthcareV1::Dataset] dataset_object
|
61
|
+
# @param [String] dataset_id
|
62
|
+
# The ID of the dataset that is being created.
|
63
|
+
# The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
|
64
|
+
# @param [String] fields
|
65
|
+
# Selector specifying which fields to include in a partial response.
|
66
|
+
# @param [String] quota_user
|
67
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
68
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
69
|
+
# @param [Google::Apis::RequestOptions] options
|
70
|
+
# Request-specific options
|
71
|
+
#
|
72
|
+
# @yield [result, err] Result & error if block supplied
|
73
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
74
|
+
# @yieldparam err [StandardError] error object if request failed
|
75
|
+
#
|
76
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
77
|
+
#
|
78
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
+
def create_project_location_dataset(parent, dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
+
command = make_simple_command(:post, 'v1/{+parent}/datasets', options)
|
83
|
+
command.request_representation = Google::Apis::HealthcareV1::Dataset::Representation
|
84
|
+
command.request_object = dataset_object
|
85
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
86
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
87
|
+
command.params['parent'] = parent unless parent.nil?
|
88
|
+
command.query['datasetId'] = dataset_id unless dataset_id.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
94
|
+
# Creates a new dataset containing de-identified data from the source
|
95
|
+
# dataset. The metadata field type
|
96
|
+
# is OperationMetadata.
|
97
|
+
# If the request is successful, the
|
98
|
+
# response field type is
|
99
|
+
# DeidentifySummary.
|
100
|
+
# If errors occur, error is set.
|
101
|
+
# The LRO result may still be successful if de-identification fails for some
|
102
|
+
# DICOM instances. The new de-identified dataset will not contain these
|
103
|
+
# failed resources. Failed resource totals are tracked in
|
104
|
+
# Operation.metadata.
|
105
|
+
# Error details are also logged to Stackdriver Logging. For more information,
|
106
|
+
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
107
|
+
# @param [String] source_dataset
|
108
|
+
# Source dataset resource name. For example,
|
109
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
110
|
+
# @param [Google::Apis::HealthcareV1::DeidentifyDatasetRequest] deidentify_dataset_request_object
|
111
|
+
# @param [String] fields
|
112
|
+
# Selector specifying which fields to include in a partial response.
|
113
|
+
# @param [String] quota_user
|
114
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
115
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
116
|
+
# @param [Google::Apis::RequestOptions] options
|
117
|
+
# Request-specific options
|
118
|
+
#
|
119
|
+
# @yield [result, err] Result & error if block supplied
|
120
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
121
|
+
# @yieldparam err [StandardError] error object if request failed
|
122
|
+
#
|
123
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
124
|
+
#
|
125
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
126
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
127
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
128
|
+
def deidentify_dataset(source_dataset, deidentify_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
129
|
+
command = make_simple_command(:post, 'v1/{+sourceDataset}:deidentify', options)
|
130
|
+
command.request_representation = Google::Apis::HealthcareV1::DeidentifyDatasetRequest::Representation
|
131
|
+
command.request_object = deidentify_dataset_request_object
|
132
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
133
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
134
|
+
command.params['sourceDataset'] = source_dataset unless source_dataset.nil?
|
135
|
+
command.query['fields'] = fields unless fields.nil?
|
136
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
137
|
+
execute_or_queue_command(command, &block)
|
138
|
+
end
|
139
|
+
|
140
|
+
# Deletes the specified health dataset and all data contained in the dataset.
|
141
|
+
# Deleting a dataset does not affect the sources from which the dataset was
|
142
|
+
# imported (if any).
|
143
|
+
# @param [String] name
|
144
|
+
# The name of the dataset to delete. For example,
|
145
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
146
|
+
# @param [String] fields
|
147
|
+
# Selector specifying which fields to include in a partial response.
|
148
|
+
# @param [String] quota_user
|
149
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
150
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
151
|
+
# @param [Google::Apis::RequestOptions] options
|
152
|
+
# Request-specific options
|
153
|
+
#
|
154
|
+
# @yield [result, err] Result & error if block supplied
|
155
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
156
|
+
# @yieldparam err [StandardError] error object if request failed
|
157
|
+
#
|
158
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
159
|
+
#
|
160
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
161
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
|
+
def delete_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
164
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
165
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
166
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
167
|
+
command.params['name'] = name unless name.nil?
|
168
|
+
command.query['fields'] = fields unless fields.nil?
|
169
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
170
|
+
execute_or_queue_command(command, &block)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Gets any metadata associated with a dataset.
|
174
|
+
# @param [String] name
|
175
|
+
# The name of the dataset to read. For example,
|
176
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
177
|
+
# @param [String] fields
|
178
|
+
# Selector specifying which fields to include in a partial response.
|
179
|
+
# @param [String] quota_user
|
180
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
181
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
182
|
+
# @param [Google::Apis::RequestOptions] options
|
183
|
+
# Request-specific options
|
184
|
+
#
|
185
|
+
# @yield [result, err] Result & error if block supplied
|
186
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Dataset] parsed result object
|
187
|
+
# @yieldparam err [StandardError] error object if request failed
|
188
|
+
#
|
189
|
+
# @return [Google::Apis::HealthcareV1::Dataset]
|
190
|
+
#
|
191
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
192
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
193
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
194
|
+
def get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
195
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
196
|
+
command.response_representation = Google::Apis::HealthcareV1::Dataset::Representation
|
197
|
+
command.response_class = Google::Apis::HealthcareV1::Dataset
|
198
|
+
command.params['name'] = name unless name.nil?
|
199
|
+
command.query['fields'] = fields unless fields.nil?
|
200
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
201
|
+
execute_or_queue_command(command, &block)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Gets the access control policy for a resource.
|
205
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
206
|
+
# set.
|
207
|
+
# @param [String] resource
|
208
|
+
# REQUIRED: The resource for which the policy is being requested.
|
209
|
+
# See the operation documentation for the appropriate value for this field.
|
210
|
+
# @param [Fixnum] options_requested_policy_version
|
211
|
+
# Optional. The policy format version to be returned.
|
212
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
213
|
+
# rejected.
|
214
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
215
|
+
# Policies without any conditional bindings may specify any valid value or
|
216
|
+
# leave the field unset.
|
217
|
+
# @param [String] fields
|
218
|
+
# Selector specifying which fields to include in a partial response.
|
219
|
+
# @param [String] quota_user
|
220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
222
|
+
# @param [Google::Apis::RequestOptions] options
|
223
|
+
# Request-specific options
|
224
|
+
#
|
225
|
+
# @yield [result, err] Result & error if block supplied
|
226
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
227
|
+
# @yieldparam err [StandardError] error object if request failed
|
228
|
+
#
|
229
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
230
|
+
#
|
231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
|
+
def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
236
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
237
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
238
|
+
command.params['resource'] = resource unless resource.nil?
|
239
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
240
|
+
command.query['fields'] = fields unless fields.nil?
|
241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
242
|
+
execute_or_queue_command(command, &block)
|
243
|
+
end
|
244
|
+
|
245
|
+
# Lists the health datasets in the current project.
|
246
|
+
# @param [String] parent
|
247
|
+
# The name of the project whose datasets should be listed.
|
248
|
+
# For example, `projects/`project_id`/locations/`location_id``.
|
249
|
+
# @param [Fixnum] page_size
|
250
|
+
# The maximum number of items to return. Capped to 100 if not specified.
|
251
|
+
# May not be larger than 1000.
|
252
|
+
# @param [String] page_token
|
253
|
+
# The next_page_token value returned from a previous List request, if any.
|
254
|
+
# @param [String] fields
|
255
|
+
# Selector specifying which fields to include in a partial response.
|
256
|
+
# @param [String] quota_user
|
257
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
258
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
259
|
+
# @param [Google::Apis::RequestOptions] options
|
260
|
+
# Request-specific options
|
261
|
+
#
|
262
|
+
# @yield [result, err] Result & error if block supplied
|
263
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListDatasetsResponse] parsed result object
|
264
|
+
# @yieldparam err [StandardError] error object if request failed
|
265
|
+
#
|
266
|
+
# @return [Google::Apis::HealthcareV1::ListDatasetsResponse]
|
267
|
+
#
|
268
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
269
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
270
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
271
|
+
def list_project_location_datasets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
272
|
+
command = make_simple_command(:get, 'v1/{+parent}/datasets', options)
|
273
|
+
command.response_representation = Google::Apis::HealthcareV1::ListDatasetsResponse::Representation
|
274
|
+
command.response_class = Google::Apis::HealthcareV1::ListDatasetsResponse
|
275
|
+
command.params['parent'] = parent unless parent.nil?
|
276
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
277
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
278
|
+
command.query['fields'] = fields unless fields.nil?
|
279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
+
execute_or_queue_command(command, &block)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Updates dataset metadata.
|
284
|
+
# @param [String] name
|
285
|
+
# Output only. Resource name of the dataset, of the form
|
286
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
287
|
+
# @param [Google::Apis::HealthcareV1::Dataset] dataset_object
|
288
|
+
# @param [String] update_mask
|
289
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
290
|
+
# see
|
291
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
292
|
+
# fieldmask
|
293
|
+
# @param [String] fields
|
294
|
+
# Selector specifying which fields to include in a partial response.
|
295
|
+
# @param [String] quota_user
|
296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
298
|
+
# @param [Google::Apis::RequestOptions] options
|
299
|
+
# Request-specific options
|
300
|
+
#
|
301
|
+
# @yield [result, err] Result & error if block supplied
|
302
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Dataset] parsed result object
|
303
|
+
# @yieldparam err [StandardError] error object if request failed
|
304
|
+
#
|
305
|
+
# @return [Google::Apis::HealthcareV1::Dataset]
|
306
|
+
#
|
307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
310
|
+
def patch_project_location_dataset(name, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
311
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
312
|
+
command.request_representation = Google::Apis::HealthcareV1::Dataset::Representation
|
313
|
+
command.request_object = dataset_object
|
314
|
+
command.response_representation = Google::Apis::HealthcareV1::Dataset::Representation
|
315
|
+
command.response_class = Google::Apis::HealthcareV1::Dataset
|
316
|
+
command.params['name'] = name unless name.nil?
|
317
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
318
|
+
command.query['fields'] = fields unless fields.nil?
|
319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
320
|
+
execute_or_queue_command(command, &block)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Sets the access control policy on the specified resource. Replaces any
|
324
|
+
# existing policy.
|
325
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
326
|
+
# @param [String] resource
|
327
|
+
# REQUIRED: The resource for which the policy is being specified.
|
328
|
+
# See the operation documentation for the appropriate value for this field.
|
329
|
+
# @param [Google::Apis::HealthcareV1::SetIamPolicyRequest] set_iam_policy_request_object
|
330
|
+
# @param [String] fields
|
331
|
+
# Selector specifying which fields to include in a partial response.
|
332
|
+
# @param [String] quota_user
|
333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
335
|
+
# @param [Google::Apis::RequestOptions] options
|
336
|
+
# Request-specific options
|
337
|
+
#
|
338
|
+
# @yield [result, err] Result & error if block supplied
|
339
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
340
|
+
# @yieldparam err [StandardError] error object if request failed
|
341
|
+
#
|
342
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
343
|
+
#
|
344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
347
|
+
def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
349
|
+
command.request_representation = Google::Apis::HealthcareV1::SetIamPolicyRequest::Representation
|
350
|
+
command.request_object = set_iam_policy_request_object
|
351
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
352
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
353
|
+
command.params['resource'] = resource unless resource.nil?
|
354
|
+
command.query['fields'] = fields unless fields.nil?
|
355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
356
|
+
execute_or_queue_command(command, &block)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Returns permissions that a caller has on the specified resource.
|
360
|
+
# If the resource does not exist, this will return an empty set of
|
361
|
+
# permissions, not a NOT_FOUND error.
|
362
|
+
# Note: This operation is designed to be used for building permission-aware
|
363
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
364
|
+
# may "fail open" without warning.
|
365
|
+
# @param [String] resource
|
366
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
367
|
+
# See the operation documentation for the appropriate value for this field.
|
368
|
+
# @param [Google::Apis::HealthcareV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
369
|
+
# @param [String] fields
|
370
|
+
# Selector specifying which fields to include in a partial response.
|
371
|
+
# @param [String] quota_user
|
372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
374
|
+
# @param [Google::Apis::RequestOptions] options
|
375
|
+
# Request-specific options
|
376
|
+
#
|
377
|
+
# @yield [result, err] Result & error if block supplied
|
378
|
+
# @yieldparam result [Google::Apis::HealthcareV1::TestIamPermissionsResponse] parsed result object
|
379
|
+
# @yieldparam err [StandardError] error object if request failed
|
380
|
+
#
|
381
|
+
# @return [Google::Apis::HealthcareV1::TestIamPermissionsResponse]
|
382
|
+
#
|
383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
386
|
+
def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
387
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
388
|
+
command.request_representation = Google::Apis::HealthcareV1::TestIamPermissionsRequest::Representation
|
389
|
+
command.request_object = test_iam_permissions_request_object
|
390
|
+
command.response_representation = Google::Apis::HealthcareV1::TestIamPermissionsResponse::Representation
|
391
|
+
command.response_class = Google::Apis::HealthcareV1::TestIamPermissionsResponse
|
392
|
+
command.params['resource'] = resource unless resource.nil?
|
393
|
+
command.query['fields'] = fields unless fields.nil?
|
394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
395
|
+
execute_or_queue_command(command, &block)
|
396
|
+
end
|
397
|
+
|
398
|
+
# Creates a new DICOM store within the parent dataset.
|
399
|
+
# @param [String] parent
|
400
|
+
# The name of the dataset this DICOM store belongs to.
|
401
|
+
# @param [Google::Apis::HealthcareV1::DicomStore] dicom_store_object
|
402
|
+
# @param [String] dicom_store_id
|
403
|
+
# The ID of the DICOM store that is being created.
|
404
|
+
# Any string value up to 256 characters in length.
|
405
|
+
# @param [String] fields
|
406
|
+
# Selector specifying which fields to include in a partial response.
|
407
|
+
# @param [String] quota_user
|
408
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
409
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
410
|
+
# @param [Google::Apis::RequestOptions] options
|
411
|
+
# Request-specific options
|
412
|
+
#
|
413
|
+
# @yield [result, err] Result & error if block supplied
|
414
|
+
# @yieldparam result [Google::Apis::HealthcareV1::DicomStore] parsed result object
|
415
|
+
# @yieldparam err [StandardError] error object if request failed
|
416
|
+
#
|
417
|
+
# @return [Google::Apis::HealthcareV1::DicomStore]
|
418
|
+
#
|
419
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
420
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
421
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
422
|
+
def create_project_location_dataset_dicom_store(parent, dicom_store_object = nil, dicom_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
423
|
+
command = make_simple_command(:post, 'v1/{+parent}/dicomStores', options)
|
424
|
+
command.request_representation = Google::Apis::HealthcareV1::DicomStore::Representation
|
425
|
+
command.request_object = dicom_store_object
|
426
|
+
command.response_representation = Google::Apis::HealthcareV1::DicomStore::Representation
|
427
|
+
command.response_class = Google::Apis::HealthcareV1::DicomStore
|
428
|
+
command.params['parent'] = parent unless parent.nil?
|
429
|
+
command.query['dicomStoreId'] = dicom_store_id unless dicom_store_id.nil?
|
430
|
+
command.query['fields'] = fields unless fields.nil?
|
431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
432
|
+
execute_or_queue_command(command, &block)
|
433
|
+
end
|
434
|
+
|
435
|
+
# De-identifies data from the source store and writes it to the destination
|
436
|
+
# store. The metadata field type
|
437
|
+
# is OperationMetadata.
|
438
|
+
# If the request is successful, the
|
439
|
+
# response field type is
|
440
|
+
# DeidentifyDicomStoreSummary. If errors occur,
|
441
|
+
# error is set.
|
442
|
+
# The LRO result may still be successful if de-identification fails for some
|
443
|
+
# DICOM instances. The output DICOM store will not contain
|
444
|
+
# these failed resources. Failed resource totals are tracked in
|
445
|
+
# Operation.metadata.
|
446
|
+
# Error details are also logged to Stackdriver
|
447
|
+
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
448
|
+
# @param [String] source_store
|
449
|
+
# Source DICOM store resource name. For example,
|
450
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
451
|
+
# dicomStores/`dicom_store_id``.
|
452
|
+
# @param [Google::Apis::HealthcareV1::DeidentifyDicomStoreRequest] deidentify_dicom_store_request_object
|
453
|
+
# @param [String] fields
|
454
|
+
# Selector specifying which fields to include in a partial response.
|
455
|
+
# @param [String] quota_user
|
456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
458
|
+
# @param [Google::Apis::RequestOptions] options
|
459
|
+
# Request-specific options
|
460
|
+
#
|
461
|
+
# @yield [result, err] Result & error if block supplied
|
462
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
463
|
+
# @yieldparam err [StandardError] error object if request failed
|
464
|
+
#
|
465
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
466
|
+
#
|
467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
470
|
+
def deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
471
|
+
command = make_simple_command(:post, 'v1/{+sourceStore}:deidentify', options)
|
472
|
+
command.request_representation = Google::Apis::HealthcareV1::DeidentifyDicomStoreRequest::Representation
|
473
|
+
command.request_object = deidentify_dicom_store_request_object
|
474
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
475
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
476
|
+
command.params['sourceStore'] = source_store unless source_store.nil?
|
477
|
+
command.query['fields'] = fields unless fields.nil?
|
478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
|
+
execute_or_queue_command(command, &block)
|
480
|
+
end
|
481
|
+
|
482
|
+
# Deletes the specified DICOM store and removes all images that are contained
|
483
|
+
# within it.
|
484
|
+
# @param [String] name
|
485
|
+
# The resource name of the DICOM store to delete.
|
486
|
+
# @param [String] fields
|
487
|
+
# Selector specifying which fields to include in a partial response.
|
488
|
+
# @param [String] quota_user
|
489
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
490
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
491
|
+
# @param [Google::Apis::RequestOptions] options
|
492
|
+
# Request-specific options
|
493
|
+
#
|
494
|
+
# @yield [result, err] Result & error if block supplied
|
495
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
496
|
+
# @yieldparam err [StandardError] error object if request failed
|
497
|
+
#
|
498
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
499
|
+
#
|
500
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
501
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
502
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
503
|
+
def delete_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
504
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
505
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
506
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
507
|
+
command.params['name'] = name unless name.nil?
|
508
|
+
command.query['fields'] = fields unless fields.nil?
|
509
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
510
|
+
execute_or_queue_command(command, &block)
|
511
|
+
end
|
512
|
+
|
513
|
+
# Exports data to the specified destination by copying it from the DICOM
|
514
|
+
# store.
|
515
|
+
# Errors are also logged to Stackdriver Logging. For more information,
|
516
|
+
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
517
|
+
# The metadata field type is
|
518
|
+
# OperationMetadata.
|
519
|
+
# @param [String] name
|
520
|
+
# The DICOM store resource name from which to export the data. For
|
521
|
+
# example,
|
522
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
523
|
+
# dicomStores/`dicom_store_id``.
|
524
|
+
# @param [Google::Apis::HealthcareV1::ExportDicomDataRequest] export_dicom_data_request_object
|
525
|
+
# @param [String] fields
|
526
|
+
# Selector specifying which fields to include in a partial response.
|
527
|
+
# @param [String] quota_user
|
528
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
529
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
530
|
+
# @param [Google::Apis::RequestOptions] options
|
531
|
+
# Request-specific options
|
532
|
+
#
|
533
|
+
# @yield [result, err] Result & error if block supplied
|
534
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
535
|
+
# @yieldparam err [StandardError] error object if request failed
|
536
|
+
#
|
537
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
538
|
+
#
|
539
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
540
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
541
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
542
|
+
def export_dicom_store_dicom_data(name, export_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
543
|
+
command = make_simple_command(:post, 'v1/{+name}:export', options)
|
544
|
+
command.request_representation = Google::Apis::HealthcareV1::ExportDicomDataRequest::Representation
|
545
|
+
command.request_object = export_dicom_data_request_object
|
546
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
547
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
548
|
+
command.params['name'] = name unless name.nil?
|
549
|
+
command.query['fields'] = fields unless fields.nil?
|
550
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
551
|
+
execute_or_queue_command(command, &block)
|
552
|
+
end
|
553
|
+
|
554
|
+
# Gets the specified DICOM store.
|
555
|
+
# @param [String] name
|
556
|
+
# The resource name of the DICOM store to get.
|
557
|
+
# @param [String] fields
|
558
|
+
# Selector specifying which fields to include in a partial response.
|
559
|
+
# @param [String] quota_user
|
560
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
561
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
562
|
+
# @param [Google::Apis::RequestOptions] options
|
563
|
+
# Request-specific options
|
564
|
+
#
|
565
|
+
# @yield [result, err] Result & error if block supplied
|
566
|
+
# @yieldparam result [Google::Apis::HealthcareV1::DicomStore] parsed result object
|
567
|
+
# @yieldparam err [StandardError] error object if request failed
|
568
|
+
#
|
569
|
+
# @return [Google::Apis::HealthcareV1::DicomStore]
|
570
|
+
#
|
571
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
572
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
|
+
def get_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
575
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
576
|
+
command.response_representation = Google::Apis::HealthcareV1::DicomStore::Representation
|
577
|
+
command.response_class = Google::Apis::HealthcareV1::DicomStore
|
578
|
+
command.params['name'] = name unless name.nil?
|
579
|
+
command.query['fields'] = fields unless fields.nil?
|
580
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
581
|
+
execute_or_queue_command(command, &block)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Gets the access control policy for a resource.
|
585
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
586
|
+
# set.
|
587
|
+
# @param [String] resource
|
588
|
+
# REQUIRED: The resource for which the policy is being requested.
|
589
|
+
# See the operation documentation for the appropriate value for this field.
|
590
|
+
# @param [Fixnum] options_requested_policy_version
|
591
|
+
# Optional. The policy format version to be returned.
|
592
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
593
|
+
# rejected.
|
594
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
595
|
+
# Policies without any conditional bindings may specify any valid value or
|
596
|
+
# leave the field unset.
|
597
|
+
# @param [String] fields
|
598
|
+
# Selector specifying which fields to include in a partial response.
|
599
|
+
# @param [String] quota_user
|
600
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
601
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
602
|
+
# @param [Google::Apis::RequestOptions] options
|
603
|
+
# Request-specific options
|
604
|
+
#
|
605
|
+
# @yield [result, err] Result & error if block supplied
|
606
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
607
|
+
# @yieldparam err [StandardError] error object if request failed
|
608
|
+
#
|
609
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
610
|
+
#
|
611
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
612
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
613
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
614
|
+
def get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
615
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
616
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
617
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
618
|
+
command.params['resource'] = resource unless resource.nil?
|
619
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
620
|
+
command.query['fields'] = fields unless fields.nil?
|
621
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
622
|
+
execute_or_queue_command(command, &block)
|
623
|
+
end
|
624
|
+
|
625
|
+
# Imports data into the DICOM store by copying it from the specified source.
|
626
|
+
# Errors are logged to Stackdriver Logging. For more information, see
|
627
|
+
# [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging). The
|
628
|
+
# metadata field type is
|
629
|
+
# OperationMetadata.
|
630
|
+
# @param [String] name
|
631
|
+
# The name of the DICOM store resource into which the data is imported.
|
632
|
+
# For example,
|
633
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
634
|
+
# dicomStores/`dicom_store_id``.
|
635
|
+
# @param [Google::Apis::HealthcareV1::ImportDicomDataRequest] import_dicom_data_request_object
|
636
|
+
# @param [String] fields
|
637
|
+
# Selector specifying which fields to include in a partial response.
|
638
|
+
# @param [String] quota_user
|
639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
641
|
+
# @param [Google::Apis::RequestOptions] options
|
642
|
+
# Request-specific options
|
643
|
+
#
|
644
|
+
# @yield [result, err] Result & error if block supplied
|
645
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
646
|
+
# @yieldparam err [StandardError] error object if request failed
|
647
|
+
#
|
648
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
649
|
+
#
|
650
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
651
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
652
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
653
|
+
def import_dicom_store_dicom_data(name, import_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
654
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
655
|
+
command.request_representation = Google::Apis::HealthcareV1::ImportDicomDataRequest::Representation
|
656
|
+
command.request_object = import_dicom_data_request_object
|
657
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
658
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
659
|
+
command.params['name'] = name unless name.nil?
|
660
|
+
command.query['fields'] = fields unless fields.nil?
|
661
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
662
|
+
execute_or_queue_command(command, &block)
|
663
|
+
end
|
664
|
+
|
665
|
+
# Lists the DICOM stores in the given dataset.
|
666
|
+
# @param [String] parent
|
667
|
+
# Name of the dataset.
|
668
|
+
# @param [String] filter
|
669
|
+
# Restricts stores returned to those matching a filter. Syntax:
|
670
|
+
# https://cloud.google.com/appengine/docs/standard/python/search/query_strings
|
671
|
+
# Only filtering on labels is supported. For example, `labels.key=value`.
|
672
|
+
# @param [Fixnum] page_size
|
673
|
+
# Limit on the number of DICOM stores to return in a single response.
|
674
|
+
# If zero the default page size of 100 is used.
|
675
|
+
# @param [String] page_token
|
676
|
+
# The next_page_token value returned from the previous List request, if any.
|
677
|
+
# @param [String] fields
|
678
|
+
# Selector specifying which fields to include in a partial response.
|
679
|
+
# @param [String] quota_user
|
680
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
681
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
682
|
+
# @param [Google::Apis::RequestOptions] options
|
683
|
+
# Request-specific options
|
684
|
+
#
|
685
|
+
# @yield [result, err] Result & error if block supplied
|
686
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListDicomStoresResponse] parsed result object
|
687
|
+
# @yieldparam err [StandardError] error object if request failed
|
688
|
+
#
|
689
|
+
# @return [Google::Apis::HealthcareV1::ListDicomStoresResponse]
|
690
|
+
#
|
691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
694
|
+
def list_project_location_dataset_dicom_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
695
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomStores', options)
|
696
|
+
command.response_representation = Google::Apis::HealthcareV1::ListDicomStoresResponse::Representation
|
697
|
+
command.response_class = Google::Apis::HealthcareV1::ListDicomStoresResponse
|
698
|
+
command.params['parent'] = parent unless parent.nil?
|
699
|
+
command.query['filter'] = filter unless filter.nil?
|
700
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
701
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
702
|
+
command.query['fields'] = fields unless fields.nil?
|
703
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
704
|
+
execute_or_queue_command(command, &block)
|
705
|
+
end
|
706
|
+
|
707
|
+
# Updates the specified DICOM store.
|
708
|
+
# @param [String] name
|
709
|
+
# Output only. Resource name of the DICOM store, of the form
|
710
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
711
|
+
# dicomStores/`dicom_store_id``.
|
712
|
+
# @param [Google::Apis::HealthcareV1::DicomStore] dicom_store_object
|
713
|
+
# @param [String] update_mask
|
714
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
715
|
+
# see
|
716
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
717
|
+
# fieldmask
|
718
|
+
# @param [String] fields
|
719
|
+
# Selector specifying which fields to include in a partial response.
|
720
|
+
# @param [String] quota_user
|
721
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
722
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
723
|
+
# @param [Google::Apis::RequestOptions] options
|
724
|
+
# Request-specific options
|
725
|
+
#
|
726
|
+
# @yield [result, err] Result & error if block supplied
|
727
|
+
# @yieldparam result [Google::Apis::HealthcareV1::DicomStore] parsed result object
|
728
|
+
# @yieldparam err [StandardError] error object if request failed
|
729
|
+
#
|
730
|
+
# @return [Google::Apis::HealthcareV1::DicomStore]
|
731
|
+
#
|
732
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
733
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
734
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
735
|
+
def patch_project_location_dataset_dicom_store(name, dicom_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
736
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
737
|
+
command.request_representation = Google::Apis::HealthcareV1::DicomStore::Representation
|
738
|
+
command.request_object = dicom_store_object
|
739
|
+
command.response_representation = Google::Apis::HealthcareV1::DicomStore::Representation
|
740
|
+
command.response_class = Google::Apis::HealthcareV1::DicomStore
|
741
|
+
command.params['name'] = name unless name.nil?
|
742
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
745
|
+
execute_or_queue_command(command, &block)
|
746
|
+
end
|
747
|
+
|
748
|
+
# SearchForInstances returns a list of matching instances. See
|
749
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
750
|
+
# @param [String] parent
|
751
|
+
# The name of the DICOM store that is being accessed. For example,
|
752
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
753
|
+
# dicomStores/`dicom_store_id``.
|
754
|
+
# @param [String] dicom_web_path
|
755
|
+
# The path of the SearchForInstancesRequest DICOMweb request. For example,
|
756
|
+
# `instances`, `series/`series_uid`/instances`, or
|
757
|
+
# `studies/`study_uid`/instances`.
|
758
|
+
# @param [String] fields
|
759
|
+
# Selector specifying which fields to include in a partial response.
|
760
|
+
# @param [String] quota_user
|
761
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
762
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
763
|
+
# @param [Google::Apis::RequestOptions] options
|
764
|
+
# Request-specific options
|
765
|
+
#
|
766
|
+
# @yield [result, err] Result & error if block supplied
|
767
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
768
|
+
# @yieldparam err [StandardError] error object if request failed
|
769
|
+
#
|
770
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
771
|
+
#
|
772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
775
|
+
def search_project_location_dataset_dicom_store_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
776
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
777
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
778
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
779
|
+
command.params['parent'] = parent unless parent.nil?
|
780
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
781
|
+
command.query['fields'] = fields unless fields.nil?
|
782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
783
|
+
execute_or_queue_command(command, &block)
|
784
|
+
end
|
785
|
+
|
786
|
+
# SearchForSeries returns a list of matching series. See
|
787
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
788
|
+
# @param [String] parent
|
789
|
+
# The name of the DICOM store that is being accessed. For example,
|
790
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
791
|
+
# dicomStores/`dicom_store_id``.
|
792
|
+
# @param [String] dicom_web_path
|
793
|
+
# The path of the SearchForSeries DICOMweb request. For example, `series` or
|
794
|
+
# `studies/`study_uid`/series`.
|
795
|
+
# @param [String] fields
|
796
|
+
# Selector specifying which fields to include in a partial response.
|
797
|
+
# @param [String] quota_user
|
798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
800
|
+
# @param [Google::Apis::RequestOptions] options
|
801
|
+
# Request-specific options
|
802
|
+
#
|
803
|
+
# @yield [result, err] Result & error if block supplied
|
804
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
805
|
+
# @yieldparam err [StandardError] error object if request failed
|
806
|
+
#
|
807
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
808
|
+
#
|
809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
812
|
+
def search_project_location_dataset_dicom_store_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
813
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
814
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
815
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
816
|
+
command.params['parent'] = parent unless parent.nil?
|
817
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
818
|
+
command.query['fields'] = fields unless fields.nil?
|
819
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
|
+
execute_or_queue_command(command, &block)
|
821
|
+
end
|
822
|
+
|
823
|
+
# SearchForStudies returns a list of matching studies. See
|
824
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
825
|
+
# @param [String] parent
|
826
|
+
# The name of the DICOM store that is being accessed. For example,
|
827
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
828
|
+
# dicomStores/`dicom_store_id``.
|
829
|
+
# @param [String] dicom_web_path
|
830
|
+
# The path of the SearchForStudies DICOMweb request. For example, `studies`.
|
831
|
+
# @param [String] fields
|
832
|
+
# Selector specifying which fields to include in a partial response.
|
833
|
+
# @param [String] quota_user
|
834
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
835
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
836
|
+
# @param [Google::Apis::RequestOptions] options
|
837
|
+
# Request-specific options
|
838
|
+
#
|
839
|
+
# @yield [result, err] Result & error if block supplied
|
840
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
841
|
+
# @yieldparam err [StandardError] error object if request failed
|
842
|
+
#
|
843
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
844
|
+
#
|
845
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
846
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
847
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
848
|
+
def search_project_location_dataset_dicom_store_for_studies(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
849
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
850
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
851
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
852
|
+
command.params['parent'] = parent unless parent.nil?
|
853
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
854
|
+
command.query['fields'] = fields unless fields.nil?
|
855
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
856
|
+
execute_or_queue_command(command, &block)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Sets the access control policy on the specified resource. Replaces any
|
860
|
+
# existing policy.
|
861
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
862
|
+
# @param [String] resource
|
863
|
+
# REQUIRED: The resource for which the policy is being specified.
|
864
|
+
# See the operation documentation for the appropriate value for this field.
|
865
|
+
# @param [Google::Apis::HealthcareV1::SetIamPolicyRequest] set_iam_policy_request_object
|
866
|
+
# @param [String] fields
|
867
|
+
# Selector specifying which fields to include in a partial response.
|
868
|
+
# @param [String] quota_user
|
869
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
870
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
871
|
+
# @param [Google::Apis::RequestOptions] options
|
872
|
+
# Request-specific options
|
873
|
+
#
|
874
|
+
# @yield [result, err] Result & error if block supplied
|
875
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
876
|
+
# @yieldparam err [StandardError] error object if request failed
|
877
|
+
#
|
878
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
879
|
+
#
|
880
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
881
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
882
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
883
|
+
def set_dicom_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
884
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
885
|
+
command.request_representation = Google::Apis::HealthcareV1::SetIamPolicyRequest::Representation
|
886
|
+
command.request_object = set_iam_policy_request_object
|
887
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
888
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
889
|
+
command.params['resource'] = resource unless resource.nil?
|
890
|
+
command.query['fields'] = fields unless fields.nil?
|
891
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
892
|
+
execute_or_queue_command(command, &block)
|
893
|
+
end
|
894
|
+
|
895
|
+
# StoreInstances stores DICOM instances associated with study instance unique
|
896
|
+
# identifiers (SUID). See
|
897
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
|
898
|
+
# @param [String] parent
|
899
|
+
# The name of the DICOM store that is being accessed. For example,
|
900
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
901
|
+
# dicomStores/`dicom_store_id``.
|
902
|
+
# @param [String] dicom_web_path
|
903
|
+
# The path of the StoreInstances DICOMweb request. For example,
|
904
|
+
# `studies/[`study_uid`]`. Note that the `study_uid` is optional.
|
905
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
906
|
+
# @param [String] fields
|
907
|
+
# Selector specifying which fields to include in a partial response.
|
908
|
+
# @param [String] quota_user
|
909
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
910
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
911
|
+
# @param [Google::Apis::RequestOptions] options
|
912
|
+
# Request-specific options
|
913
|
+
#
|
914
|
+
# @yield [result, err] Result & error if block supplied
|
915
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
916
|
+
# @yieldparam err [StandardError] error object if request failed
|
917
|
+
#
|
918
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
919
|
+
#
|
920
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
921
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
922
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
923
|
+
def store_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
924
|
+
command = make_simple_command(:post, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
925
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
926
|
+
command.request_object = http_body_object
|
927
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
928
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
929
|
+
command.params['parent'] = parent unless parent.nil?
|
930
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
931
|
+
command.query['fields'] = fields unless fields.nil?
|
932
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
933
|
+
execute_or_queue_command(command, &block)
|
934
|
+
end
|
935
|
+
|
936
|
+
# Returns permissions that a caller has on the specified resource.
|
937
|
+
# If the resource does not exist, this will return an empty set of
|
938
|
+
# permissions, not a NOT_FOUND error.
|
939
|
+
# Note: This operation is designed to be used for building permission-aware
|
940
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
941
|
+
# may "fail open" without warning.
|
942
|
+
# @param [String] resource
|
943
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
944
|
+
# See the operation documentation for the appropriate value for this field.
|
945
|
+
# @param [Google::Apis::HealthcareV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
946
|
+
# @param [String] fields
|
947
|
+
# Selector specifying which fields to include in a partial response.
|
948
|
+
# @param [String] quota_user
|
949
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
950
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
951
|
+
# @param [Google::Apis::RequestOptions] options
|
952
|
+
# Request-specific options
|
953
|
+
#
|
954
|
+
# @yield [result, err] Result & error if block supplied
|
955
|
+
# @yieldparam result [Google::Apis::HealthcareV1::TestIamPermissionsResponse] parsed result object
|
956
|
+
# @yieldparam err [StandardError] error object if request failed
|
957
|
+
#
|
958
|
+
# @return [Google::Apis::HealthcareV1::TestIamPermissionsResponse]
|
959
|
+
#
|
960
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
961
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
962
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
963
|
+
def test_dicom_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
964
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
965
|
+
command.request_representation = Google::Apis::HealthcareV1::TestIamPermissionsRequest::Representation
|
966
|
+
command.request_object = test_iam_permissions_request_object
|
967
|
+
command.response_representation = Google::Apis::HealthcareV1::TestIamPermissionsResponse::Representation
|
968
|
+
command.response_class = Google::Apis::HealthcareV1::TestIamPermissionsResponse
|
969
|
+
command.params['resource'] = resource unless resource.nil?
|
970
|
+
command.query['fields'] = fields unless fields.nil?
|
971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
972
|
+
execute_or_queue_command(command, &block)
|
973
|
+
end
|
974
|
+
|
975
|
+
# DeleteStudy deletes all instances within the given study. Delete requests
|
976
|
+
# are equivalent to the GET requests specified in the Retrieve transaction.
|
977
|
+
# The method returns an Operation which
|
978
|
+
# will be marked successful when the deletion is complete.
|
979
|
+
# @param [String] parent
|
980
|
+
# @param [String] dicom_web_path
|
981
|
+
# The path of the DeleteStudy request. For example, `studies/`study_uid``.
|
982
|
+
# @param [String] fields
|
983
|
+
# Selector specifying which fields to include in a partial response.
|
984
|
+
# @param [String] quota_user
|
985
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
986
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
987
|
+
# @param [Google::Apis::RequestOptions] options
|
988
|
+
# Request-specific options
|
989
|
+
#
|
990
|
+
# @yield [result, err] Result & error if block supplied
|
991
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
992
|
+
# @yieldparam err [StandardError] error object if request failed
|
993
|
+
#
|
994
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
995
|
+
#
|
996
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
997
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
998
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
999
|
+
def delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1000
|
+
command = make_simple_command(:delete, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1001
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
1002
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
1003
|
+
command.params['parent'] = parent unless parent.nil?
|
1004
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1005
|
+
command.query['fields'] = fields unless fields.nil?
|
1006
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1007
|
+
execute_or_queue_command(command, &block)
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# RetrieveStudyMetadata returns instance associated with the given study
|
1011
|
+
# presented as metadata with the bulk data removed. See
|
1012
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1013
|
+
# @param [String] parent
|
1014
|
+
# The name of the DICOM store that is being accessed. For example,
|
1015
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1016
|
+
# dicomStores/`dicom_store_id``.
|
1017
|
+
# @param [String] dicom_web_path
|
1018
|
+
# The path of the RetrieveStudyMetadata DICOMweb request. For example,
|
1019
|
+
# `studies/`study_uid`/metadata`.
|
1020
|
+
# @param [String] fields
|
1021
|
+
# Selector specifying which fields to include in a partial response.
|
1022
|
+
# @param [String] quota_user
|
1023
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1024
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1025
|
+
# @param [Google::Apis::RequestOptions] options
|
1026
|
+
# Request-specific options
|
1027
|
+
#
|
1028
|
+
# @yield [result, err] Result & error if block supplied
|
1029
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1030
|
+
# @yieldparam err [StandardError] error object if request failed
|
1031
|
+
#
|
1032
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1033
|
+
#
|
1034
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1035
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1036
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1037
|
+
def retrieve_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1038
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1039
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1040
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1041
|
+
command.params['parent'] = parent unless parent.nil?
|
1042
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1043
|
+
command.query['fields'] = fields unless fields.nil?
|
1044
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1045
|
+
execute_or_queue_command(command, &block)
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# RetrieveStudy returns all instances within the given study. See
|
1049
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1050
|
+
# @param [String] parent
|
1051
|
+
# The name of the DICOM store that is being accessed. For example,
|
1052
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1053
|
+
# dicomStores/`dicom_store_id``.
|
1054
|
+
# @param [String] dicom_web_path
|
1055
|
+
# The path of the RetrieveStudy DICOMweb request. For example,
|
1056
|
+
# `studies/`study_uid``.
|
1057
|
+
# @param [String] fields
|
1058
|
+
# Selector specifying which fields to include in a partial response.
|
1059
|
+
# @param [String] quota_user
|
1060
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1061
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1062
|
+
# @param [Google::Apis::RequestOptions] options
|
1063
|
+
# Request-specific options
|
1064
|
+
#
|
1065
|
+
# @yield [result, err] Result & error if block supplied
|
1066
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1067
|
+
# @yieldparam err [StandardError] error object if request failed
|
1068
|
+
#
|
1069
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1070
|
+
#
|
1071
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1072
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1073
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1074
|
+
def retrieve_project_location_dataset_dicom_store_study_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1075
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1076
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1077
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1078
|
+
command.params['parent'] = parent unless parent.nil?
|
1079
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1080
|
+
command.query['fields'] = fields unless fields.nil?
|
1081
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1082
|
+
execute_or_queue_command(command, &block)
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
# SearchForInstances returns a list of matching instances. See
|
1086
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
1087
|
+
# @param [String] parent
|
1088
|
+
# The name of the DICOM store that is being accessed. For example,
|
1089
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1090
|
+
# dicomStores/`dicom_store_id``.
|
1091
|
+
# @param [String] dicom_web_path
|
1092
|
+
# The path of the SearchForInstancesRequest DICOMweb request. For example,
|
1093
|
+
# `instances`, `series/`series_uid`/instances`, or
|
1094
|
+
# `studies/`study_uid`/instances`.
|
1095
|
+
# @param [String] fields
|
1096
|
+
# Selector specifying which fields to include in a partial response.
|
1097
|
+
# @param [String] quota_user
|
1098
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1099
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1100
|
+
# @param [Google::Apis::RequestOptions] options
|
1101
|
+
# Request-specific options
|
1102
|
+
#
|
1103
|
+
# @yield [result, err] Result & error if block supplied
|
1104
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1105
|
+
# @yieldparam err [StandardError] error object if request failed
|
1106
|
+
#
|
1107
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1108
|
+
#
|
1109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1112
|
+
def search_project_location_dataset_dicom_store_study_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1113
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1114
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1115
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1116
|
+
command.params['parent'] = parent unless parent.nil?
|
1117
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1118
|
+
command.query['fields'] = fields unless fields.nil?
|
1119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1120
|
+
execute_or_queue_command(command, &block)
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# SearchForSeries returns a list of matching series. See
|
1124
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
1125
|
+
# @param [String] parent
|
1126
|
+
# The name of the DICOM store that is being accessed. For example,
|
1127
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1128
|
+
# dicomStores/`dicom_store_id``.
|
1129
|
+
# @param [String] dicom_web_path
|
1130
|
+
# The path of the SearchForSeries DICOMweb request. For example, `series` or
|
1131
|
+
# `studies/`study_uid`/series`.
|
1132
|
+
# @param [String] fields
|
1133
|
+
# Selector specifying which fields to include in a partial response.
|
1134
|
+
# @param [String] quota_user
|
1135
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1136
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1137
|
+
# @param [Google::Apis::RequestOptions] options
|
1138
|
+
# Request-specific options
|
1139
|
+
#
|
1140
|
+
# @yield [result, err] Result & error if block supplied
|
1141
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1142
|
+
# @yieldparam err [StandardError] error object if request failed
|
1143
|
+
#
|
1144
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1145
|
+
#
|
1146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1149
|
+
def search_project_location_dataset_dicom_store_study_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1150
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1151
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1152
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1153
|
+
command.params['parent'] = parent unless parent.nil?
|
1154
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1155
|
+
command.query['fields'] = fields unless fields.nil?
|
1156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1157
|
+
execute_or_queue_command(command, &block)
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# StoreInstances stores DICOM instances associated with study instance unique
|
1161
|
+
# identifiers (SUID). See
|
1162
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
|
1163
|
+
# @param [String] parent
|
1164
|
+
# The name of the DICOM store that is being accessed. For example,
|
1165
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1166
|
+
# dicomStores/`dicom_store_id``.
|
1167
|
+
# @param [String] dicom_web_path
|
1168
|
+
# The path of the StoreInstances DICOMweb request. For example,
|
1169
|
+
# `studies/[`study_uid`]`. Note that the `study_uid` is optional.
|
1170
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
1171
|
+
# @param [String] fields
|
1172
|
+
# Selector specifying which fields to include in a partial response.
|
1173
|
+
# @param [String] quota_user
|
1174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1176
|
+
# @param [Google::Apis::RequestOptions] options
|
1177
|
+
# Request-specific options
|
1178
|
+
#
|
1179
|
+
# @yield [result, err] Result & error if block supplied
|
1180
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1181
|
+
# @yieldparam err [StandardError] error object if request failed
|
1182
|
+
#
|
1183
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1184
|
+
#
|
1185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
|
+
def store_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1189
|
+
command = make_simple_command(:post, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1190
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1191
|
+
command.request_object = http_body_object
|
1192
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1193
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1194
|
+
command.params['parent'] = parent unless parent.nil?
|
1195
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1196
|
+
command.query['fields'] = fields unless fields.nil?
|
1197
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1198
|
+
execute_or_queue_command(command, &block)
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# DeleteSeries deletes all instances within the given study and series.
|
1202
|
+
# Delete requests are equivalent to the GET requests specified in the
|
1203
|
+
# Retrieve transaction.
|
1204
|
+
# The method returns an Operation which
|
1205
|
+
# will be marked successful when the deletion is complete.
|
1206
|
+
# @param [String] parent
|
1207
|
+
# The name of the DICOM store that is being accessed. For example,
|
1208
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1209
|
+
# dicomStores/`dicom_store_id``.
|
1210
|
+
# @param [String] dicom_web_path
|
1211
|
+
# The path of the DeleteSeries request. For example,
|
1212
|
+
# `studies/`study_uid`/series/`series_uid``.
|
1213
|
+
# @param [String] fields
|
1214
|
+
# Selector specifying which fields to include in a partial response.
|
1215
|
+
# @param [String] quota_user
|
1216
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1217
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1218
|
+
# @param [Google::Apis::RequestOptions] options
|
1219
|
+
# Request-specific options
|
1220
|
+
#
|
1221
|
+
# @yield [result, err] Result & error if block supplied
|
1222
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
1223
|
+
# @yieldparam err [StandardError] error object if request failed
|
1224
|
+
#
|
1225
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
1226
|
+
#
|
1227
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1228
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1229
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1230
|
+
def delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1231
|
+
command = make_simple_command(:delete, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1232
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
1233
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
1234
|
+
command.params['parent'] = parent unless parent.nil?
|
1235
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1236
|
+
command.query['fields'] = fields unless fields.nil?
|
1237
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1238
|
+
execute_or_queue_command(command, &block)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# RetrieveSeriesMetadata returns instance associated with the given study and
|
1242
|
+
# series, presented as metadata with the bulk data removed. See
|
1243
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1244
|
+
# @param [String] parent
|
1245
|
+
# The name of the DICOM store that is being accessed. For example,
|
1246
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1247
|
+
# dicomStores/`dicom_store_id``.
|
1248
|
+
# @param [String] dicom_web_path
|
1249
|
+
# The path of the RetrieveSeriesMetadata DICOMweb request. For example,
|
1250
|
+
# `studies/`study_uid`/series/`series_uid`/metadata`.
|
1251
|
+
# @param [String] fields
|
1252
|
+
# Selector specifying which fields to include in a partial response.
|
1253
|
+
# @param [String] quota_user
|
1254
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1255
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1256
|
+
# @param [Google::Apis::RequestOptions] options
|
1257
|
+
# Request-specific options
|
1258
|
+
#
|
1259
|
+
# @yield [result, err] Result & error if block supplied
|
1260
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1261
|
+
# @yieldparam err [StandardError] error object if request failed
|
1262
|
+
#
|
1263
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1264
|
+
#
|
1265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1268
|
+
def retrieve_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1269
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1270
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1271
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1272
|
+
command.params['parent'] = parent unless parent.nil?
|
1273
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1274
|
+
command.query['fields'] = fields unless fields.nil?
|
1275
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1276
|
+
execute_or_queue_command(command, &block)
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# RetrieveSeries returns all instances within the given study and series. See
|
1280
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1281
|
+
# @param [String] parent
|
1282
|
+
# The name of the DICOM store that is being accessed. For example,
|
1283
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1284
|
+
# dicomStores/`dicom_store_id``.
|
1285
|
+
# @param [String] dicom_web_path
|
1286
|
+
# The path of the RetrieveSeries DICOMweb request. For example,
|
1287
|
+
# `studies/`study_uid`/series/`series_uid``.
|
1288
|
+
# @param [String] fields
|
1289
|
+
# Selector specifying which fields to include in a partial response.
|
1290
|
+
# @param [String] quota_user
|
1291
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1292
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1293
|
+
# @param [Google::Apis::RequestOptions] options
|
1294
|
+
# Request-specific options
|
1295
|
+
#
|
1296
|
+
# @yield [result, err] Result & error if block supplied
|
1297
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1298
|
+
# @yieldparam err [StandardError] error object if request failed
|
1299
|
+
#
|
1300
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1301
|
+
#
|
1302
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1303
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1304
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1305
|
+
def retrieve_project_location_dataset_dicom_store_study_series_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1306
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1307
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1308
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1309
|
+
command.params['parent'] = parent unless parent.nil?
|
1310
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1311
|
+
command.query['fields'] = fields unless fields.nil?
|
1312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1313
|
+
execute_or_queue_command(command, &block)
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# SearchForInstances returns a list of matching instances. See
|
1317
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
|
1318
|
+
# @param [String] parent
|
1319
|
+
# The name of the DICOM store that is being accessed. For example,
|
1320
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1321
|
+
# dicomStores/`dicom_store_id``.
|
1322
|
+
# @param [String] dicom_web_path
|
1323
|
+
# The path of the SearchForInstancesRequest DICOMweb request. For example,
|
1324
|
+
# `instances`, `series/`series_uid`/instances`, or
|
1325
|
+
# `studies/`study_uid`/instances`.
|
1326
|
+
# @param [String] fields
|
1327
|
+
# Selector specifying which fields to include in a partial response.
|
1328
|
+
# @param [String] quota_user
|
1329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1331
|
+
# @param [Google::Apis::RequestOptions] options
|
1332
|
+
# Request-specific options
|
1333
|
+
#
|
1334
|
+
# @yield [result, err] Result & error if block supplied
|
1335
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1336
|
+
# @yieldparam err [StandardError] error object if request failed
|
1337
|
+
#
|
1338
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1339
|
+
#
|
1340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1343
|
+
def search_project_location_dataset_dicom_store_study_series_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1344
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1345
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1346
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1347
|
+
command.params['parent'] = parent unless parent.nil?
|
1348
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1349
|
+
command.query['fields'] = fields unless fields.nil?
|
1350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1351
|
+
execute_or_queue_command(command, &block)
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# DeleteInstance deletes an instance associated with the given study, series,
|
1355
|
+
# and SOP Instance UID. Delete requests are equivalent to the GET requests
|
1356
|
+
# specified in the Retrieve transaction.
|
1357
|
+
# @param [String] parent
|
1358
|
+
# The name of the DICOM store that is being accessed. For example,
|
1359
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1360
|
+
# dicomStores/`dicom_store_id``.
|
1361
|
+
# @param [String] dicom_web_path
|
1362
|
+
# The path of the DeleteInstance request. For example,
|
1363
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
|
1364
|
+
# @param [String] fields
|
1365
|
+
# Selector specifying which fields to include in a partial response.
|
1366
|
+
# @param [String] quota_user
|
1367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1369
|
+
# @param [Google::Apis::RequestOptions] options
|
1370
|
+
# Request-specific options
|
1371
|
+
#
|
1372
|
+
# @yield [result, err] Result & error if block supplied
|
1373
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
1374
|
+
# @yieldparam err [StandardError] error object if request failed
|
1375
|
+
#
|
1376
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
1377
|
+
#
|
1378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1381
|
+
def delete_project_location_dataset_dicom_store_study_series_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1382
|
+
command = make_simple_command(:delete, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1383
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
1384
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
1385
|
+
command.params['parent'] = parent unless parent.nil?
|
1386
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1387
|
+
command.query['fields'] = fields unless fields.nil?
|
1388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1389
|
+
execute_or_queue_command(command, &block)
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
# RetrieveInstance returns instance associated with the given study, series,
|
1393
|
+
# and SOP Instance UID. See
|
1394
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1395
|
+
# @param [String] parent
|
1396
|
+
# The name of the DICOM store that is being accessed. For example,
|
1397
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1398
|
+
# dicomStores/`dicom_store_id``.
|
1399
|
+
# @param [String] dicom_web_path
|
1400
|
+
# The path of the RetrieveInstance DICOMweb request. For example,
|
1401
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
|
1402
|
+
# @param [String] fields
|
1403
|
+
# Selector specifying which fields to include in a partial response.
|
1404
|
+
# @param [String] quota_user
|
1405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1407
|
+
# @param [Google::Apis::RequestOptions] options
|
1408
|
+
# Request-specific options
|
1409
|
+
#
|
1410
|
+
# @yield [result, err] Result & error if block supplied
|
1411
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1412
|
+
# @yieldparam err [StandardError] error object if request failed
|
1413
|
+
#
|
1414
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1415
|
+
#
|
1416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1419
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1420
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1421
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1422
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1423
|
+
command.params['parent'] = parent unless parent.nil?
|
1424
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1425
|
+
command.query['fields'] = fields unless fields.nil?
|
1426
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1427
|
+
execute_or_queue_command(command, &block)
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
# RetrieveInstanceMetadata returns instance associated with the given study,
|
1431
|
+
# series, and SOP Instance UID presented as metadata with the bulk data
|
1432
|
+
# removed. See
|
1433
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1434
|
+
# @param [String] parent
|
1435
|
+
# The name of the DICOM store that is being accessed. For example,
|
1436
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1437
|
+
# dicomStores/`dicom_store_id``.
|
1438
|
+
# @param [String] dicom_web_path
|
1439
|
+
# The path of the RetrieveInstanceMetadata DICOMweb request. For example,
|
1440
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/metadata`.
|
1441
|
+
# @param [String] fields
|
1442
|
+
# Selector specifying which fields to include in a partial response.
|
1443
|
+
# @param [String] quota_user
|
1444
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1445
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1446
|
+
# @param [Google::Apis::RequestOptions] options
|
1447
|
+
# Request-specific options
|
1448
|
+
#
|
1449
|
+
# @yield [result, err] Result & error if block supplied
|
1450
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1451
|
+
# @yieldparam err [StandardError] error object if request failed
|
1452
|
+
#
|
1453
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1454
|
+
#
|
1455
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1456
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1457
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1458
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1459
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1460
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1461
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1462
|
+
command.params['parent'] = parent unless parent.nil?
|
1463
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1464
|
+
command.query['fields'] = fields unless fields.nil?
|
1465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1466
|
+
execute_or_queue_command(command, &block)
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# RetrieveRenderedInstance returns instance associated with the given study,
|
1470
|
+
# series, and SOP Instance UID in an acceptable Rendered Media Type. See
|
1471
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1472
|
+
# @param [String] parent
|
1473
|
+
# The name of the DICOM store that is being accessed. For example,
|
1474
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1475
|
+
# dicomStores/`dicom_store_id``.
|
1476
|
+
# @param [String] dicom_web_path
|
1477
|
+
# The path of the RetrieveRenderedInstance DICOMweb request. For example,
|
1478
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/rendered`.
|
1479
|
+
# @param [String] fields
|
1480
|
+
# Selector specifying which fields to include in a partial response.
|
1481
|
+
# @param [String] quota_user
|
1482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1484
|
+
# @param [Google::Apis::RequestOptions] options
|
1485
|
+
# Request-specific options
|
1486
|
+
#
|
1487
|
+
# @yield [result, err] Result & error if block supplied
|
1488
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1489
|
+
# @yieldparam err [StandardError] error object if request failed
|
1490
|
+
#
|
1491
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1492
|
+
#
|
1493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1496
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1497
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1498
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1499
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1500
|
+
command.params['parent'] = parent unless parent.nil?
|
1501
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1502
|
+
command.query['fields'] = fields unless fields.nil?
|
1503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1504
|
+
execute_or_queue_command(command, &block)
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# RetrieveFrames returns instances associated with the given study, series,
|
1508
|
+
# SOP Instance UID and frame numbers. See
|
1509
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1510
|
+
# @param [String] parent
|
1511
|
+
# The name of the DICOM store that is being accessed. For example,
|
1512
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1513
|
+
# dicomStores/`dicom_store_id``.
|
1514
|
+
# @param [String] dicom_web_path
|
1515
|
+
# The path of the RetrieveFrames DICOMweb request. For example,
|
1516
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
|
1517
|
+
# frame_list``.
|
1518
|
+
# @param [String] fields
|
1519
|
+
# Selector specifying which fields to include in a partial response.
|
1520
|
+
# @param [String] quota_user
|
1521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1523
|
+
# @param [Google::Apis::RequestOptions] options
|
1524
|
+
# Request-specific options
|
1525
|
+
#
|
1526
|
+
# @yield [result, err] Result & error if block supplied
|
1527
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1528
|
+
# @yieldparam err [StandardError] error object if request failed
|
1529
|
+
#
|
1530
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1531
|
+
#
|
1532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1535
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1536
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1537
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1538
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1539
|
+
command.params['parent'] = parent unless parent.nil?
|
1540
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1541
|
+
command.query['fields'] = fields unless fields.nil?
|
1542
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1543
|
+
execute_or_queue_command(command, &block)
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
# RetrieveRenderedFrames returns instances associated with the given study,
|
1547
|
+
# series, SOP Instance UID and frame numbers in an acceptable Rendered Media
|
1548
|
+
# Type. See
|
1549
|
+
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
|
1550
|
+
# @param [String] parent
|
1551
|
+
# The name of the DICOM store that is being accessed. For example,
|
1552
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1553
|
+
# dicomStores/`dicom_store_id``.
|
1554
|
+
# @param [String] dicom_web_path
|
1555
|
+
# The path of the RetrieveRenderedFrames DICOMweb request. For example,
|
1556
|
+
# `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
|
1557
|
+
# frame_list`/rendered`.
|
1558
|
+
# @param [String] fields
|
1559
|
+
# Selector specifying which fields to include in a partial response.
|
1560
|
+
# @param [String] quota_user
|
1561
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1562
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1563
|
+
# @param [Google::Apis::RequestOptions] options
|
1564
|
+
# Request-specific options
|
1565
|
+
#
|
1566
|
+
# @yield [result, err] Result & error if block supplied
|
1567
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
1568
|
+
# @yieldparam err [StandardError] error object if request failed
|
1569
|
+
#
|
1570
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
1571
|
+
#
|
1572
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1573
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1574
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1575
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1576
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1577
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
1578
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
1579
|
+
command.params['parent'] = parent unless parent.nil?
|
1580
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1581
|
+
command.query['fields'] = fields unless fields.nil?
|
1582
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1583
|
+
execute_or_queue_command(command, &block)
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# Creates a new FHIR store within the parent dataset.
|
1587
|
+
# @param [String] parent
|
1588
|
+
# The name of the dataset this FHIR store belongs to.
|
1589
|
+
# @param [Google::Apis::HealthcareV1::FhirStore] fhir_store_object
|
1590
|
+
# @param [String] fhir_store_id
|
1591
|
+
# The ID of the FHIR store that is being created.
|
1592
|
+
# The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
|
1593
|
+
# @param [String] fields
|
1594
|
+
# Selector specifying which fields to include in a partial response.
|
1595
|
+
# @param [String] quota_user
|
1596
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1597
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1598
|
+
# @param [Google::Apis::RequestOptions] options
|
1599
|
+
# Request-specific options
|
1600
|
+
#
|
1601
|
+
# @yield [result, err] Result & error if block supplied
|
1602
|
+
# @yieldparam result [Google::Apis::HealthcareV1::FhirStore] parsed result object
|
1603
|
+
# @yieldparam err [StandardError] error object if request failed
|
1604
|
+
#
|
1605
|
+
# @return [Google::Apis::HealthcareV1::FhirStore]
|
1606
|
+
#
|
1607
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1608
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1609
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1610
|
+
def create_project_location_dataset_fhir_store(parent, fhir_store_object = nil, fhir_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1611
|
+
command = make_simple_command(:post, 'v1/{+parent}/fhirStores', options)
|
1612
|
+
command.request_representation = Google::Apis::HealthcareV1::FhirStore::Representation
|
1613
|
+
command.request_object = fhir_store_object
|
1614
|
+
command.response_representation = Google::Apis::HealthcareV1::FhirStore::Representation
|
1615
|
+
command.response_class = Google::Apis::HealthcareV1::FhirStore
|
1616
|
+
command.params['parent'] = parent unless parent.nil?
|
1617
|
+
command.query['fhirStoreId'] = fhir_store_id unless fhir_store_id.nil?
|
1618
|
+
command.query['fields'] = fields unless fields.nil?
|
1619
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1620
|
+
execute_or_queue_command(command, &block)
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# De-identifies data from the source store and writes it to the destination
|
1624
|
+
# store. The metadata field type
|
1625
|
+
# is OperationMetadata.
|
1626
|
+
# If the request is successful, the
|
1627
|
+
# response field type is
|
1628
|
+
# DeidentifyFhirStoreSummary. If errors occur,
|
1629
|
+
# error is set.
|
1630
|
+
# Error details are also logged to Stackdriver
|
1631
|
+
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
1632
|
+
# @param [String] source_store
|
1633
|
+
# Source FHIR store resource name. For example,
|
1634
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1635
|
+
# fhirStores/`fhir_store_id``.
|
1636
|
+
# @param [Google::Apis::HealthcareV1::DeidentifyFhirStoreRequest] deidentify_fhir_store_request_object
|
1637
|
+
# @param [String] fields
|
1638
|
+
# Selector specifying which fields to include in a partial response.
|
1639
|
+
# @param [String] quota_user
|
1640
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1641
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1642
|
+
# @param [Google::Apis::RequestOptions] options
|
1643
|
+
# Request-specific options
|
1644
|
+
#
|
1645
|
+
# @yield [result, err] Result & error if block supplied
|
1646
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
1647
|
+
# @yieldparam err [StandardError] error object if request failed
|
1648
|
+
#
|
1649
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
1650
|
+
#
|
1651
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1652
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1653
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1654
|
+
def deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1655
|
+
command = make_simple_command(:post, 'v1/{+sourceStore}:deidentify', options)
|
1656
|
+
command.request_representation = Google::Apis::HealthcareV1::DeidentifyFhirStoreRequest::Representation
|
1657
|
+
command.request_object = deidentify_fhir_store_request_object
|
1658
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
1659
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
1660
|
+
command.params['sourceStore'] = source_store unless source_store.nil?
|
1661
|
+
command.query['fields'] = fields unless fields.nil?
|
1662
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1663
|
+
execute_or_queue_command(command, &block)
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
# Deletes the specified FHIR store and removes all resources within it.
|
1667
|
+
# @param [String] name
|
1668
|
+
# The resource name of the FHIR store to delete.
|
1669
|
+
# @param [String] fields
|
1670
|
+
# Selector specifying which fields to include in a partial response.
|
1671
|
+
# @param [String] quota_user
|
1672
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1673
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1674
|
+
# @param [Google::Apis::RequestOptions] options
|
1675
|
+
# Request-specific options
|
1676
|
+
#
|
1677
|
+
# @yield [result, err] Result & error if block supplied
|
1678
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
1679
|
+
# @yieldparam err [StandardError] error object if request failed
|
1680
|
+
#
|
1681
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
1682
|
+
#
|
1683
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1684
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1685
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1686
|
+
def delete_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
1687
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1688
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
1689
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
1690
|
+
command.params['name'] = name unless name.nil?
|
1691
|
+
command.query['fields'] = fields unless fields.nil?
|
1692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1693
|
+
execute_or_queue_command(command, &block)
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# Export resources from the FHIR store to the specified destination.
|
1697
|
+
# This method returns an Operation that can
|
1698
|
+
# be used to track the status of the export by calling
|
1699
|
+
# GetOperation.
|
1700
|
+
# Immediate fatal errors appear in the
|
1701
|
+
# error field, errors are also logged
|
1702
|
+
# to Stackdriver (see [Viewing
|
1703
|
+
# logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
1704
|
+
# Otherwise, when the operation finishes, a detailed response of type
|
1705
|
+
# ExportResourcesResponse is returned in the
|
1706
|
+
# response field.
|
1707
|
+
# The metadata field type for this
|
1708
|
+
# operation is OperationMetadata.
|
1709
|
+
# @param [String] name
|
1710
|
+
# The name of the FHIR store to export resource from. The name should be in
|
1711
|
+
# the format of
|
1712
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1713
|
+
# fhirStores/`fhir_store_id``.
|
1714
|
+
# @param [Google::Apis::HealthcareV1::ExportResourcesRequest] export_resources_request_object
|
1715
|
+
# @param [String] fields
|
1716
|
+
# Selector specifying which fields to include in a partial response.
|
1717
|
+
# @param [String] quota_user
|
1718
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1719
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1720
|
+
# @param [Google::Apis::RequestOptions] options
|
1721
|
+
# Request-specific options
|
1722
|
+
#
|
1723
|
+
# @yield [result, err] Result & error if block supplied
|
1724
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
1725
|
+
# @yieldparam err [StandardError] error object if request failed
|
1726
|
+
#
|
1727
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
1728
|
+
#
|
1729
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1730
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1731
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1732
|
+
def export_fhir_store_resources(name, export_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1733
|
+
command = make_simple_command(:post, 'v1/{+name}:export', options)
|
1734
|
+
command.request_representation = Google::Apis::HealthcareV1::ExportResourcesRequest::Representation
|
1735
|
+
command.request_object = export_resources_request_object
|
1736
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
1737
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
1738
|
+
command.params['name'] = name unless name.nil?
|
1739
|
+
command.query['fields'] = fields unless fields.nil?
|
1740
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1741
|
+
execute_or_queue_command(command, &block)
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
# Gets the configuration of the specified FHIR store.
|
1745
|
+
# @param [String] name
|
1746
|
+
# The resource name of the FHIR store to get.
|
1747
|
+
# @param [String] fields
|
1748
|
+
# Selector specifying which fields to include in a partial response.
|
1749
|
+
# @param [String] quota_user
|
1750
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1751
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1752
|
+
# @param [Google::Apis::RequestOptions] options
|
1753
|
+
# Request-specific options
|
1754
|
+
#
|
1755
|
+
# @yield [result, err] Result & error if block supplied
|
1756
|
+
# @yieldparam result [Google::Apis::HealthcareV1::FhirStore] parsed result object
|
1757
|
+
# @yieldparam err [StandardError] error object if request failed
|
1758
|
+
#
|
1759
|
+
# @return [Google::Apis::HealthcareV1::FhirStore]
|
1760
|
+
#
|
1761
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1762
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1763
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1764
|
+
def get_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
1765
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1766
|
+
command.response_representation = Google::Apis::HealthcareV1::FhirStore::Representation
|
1767
|
+
command.response_class = Google::Apis::HealthcareV1::FhirStore
|
1768
|
+
command.params['name'] = name unless name.nil?
|
1769
|
+
command.query['fields'] = fields unless fields.nil?
|
1770
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1771
|
+
execute_or_queue_command(command, &block)
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# Gets the access control policy for a resource.
|
1775
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
1776
|
+
# set.
|
1777
|
+
# @param [String] resource
|
1778
|
+
# REQUIRED: The resource for which the policy is being requested.
|
1779
|
+
# See the operation documentation for the appropriate value for this field.
|
1780
|
+
# @param [Fixnum] options_requested_policy_version
|
1781
|
+
# Optional. The policy format version to be returned.
|
1782
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1783
|
+
# rejected.
|
1784
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
1785
|
+
# Policies without any conditional bindings may specify any valid value or
|
1786
|
+
# leave the field unset.
|
1787
|
+
# @param [String] fields
|
1788
|
+
# Selector specifying which fields to include in a partial response.
|
1789
|
+
# @param [String] quota_user
|
1790
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1791
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1792
|
+
# @param [Google::Apis::RequestOptions] options
|
1793
|
+
# Request-specific options
|
1794
|
+
#
|
1795
|
+
# @yield [result, err] Result & error if block supplied
|
1796
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
1797
|
+
# @yieldparam err [StandardError] error object if request failed
|
1798
|
+
#
|
1799
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
1800
|
+
#
|
1801
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1802
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1803
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1804
|
+
def get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1805
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1806
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
1807
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
1808
|
+
command.params['resource'] = resource unless resource.nil?
|
1809
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1810
|
+
command.query['fields'] = fields unless fields.nil?
|
1811
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1812
|
+
execute_or_queue_command(command, &block)
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
# Import resources to the FHIR store by loading data from the specified
|
1816
|
+
# sources. This method is optimized to load large quantities of data using
|
1817
|
+
# import semantics that ignore some FHIR store configuration options and are
|
1818
|
+
# not suitable for all use cases. It is primarily intended to load data into
|
1819
|
+
# an empty FHIR store that is not being used by other clients. In cases
|
1820
|
+
# where this method is not appropriate, consider using ExecuteBundle to
|
1821
|
+
# load data.
|
1822
|
+
# Every resource in the input must contain a client-supplied ID, and will be
|
1823
|
+
# stored using that ID regardless of the
|
1824
|
+
# enable_update_create setting on the FHIR
|
1825
|
+
# store.
|
1826
|
+
# The import process does not enforce referential integrity, regardless of
|
1827
|
+
# the
|
1828
|
+
# disable_referential_integrity
|
1829
|
+
# setting on the FHIR store. This allows the import of resources with
|
1830
|
+
# arbitrary interdependencies without considering grouping or ordering, but
|
1831
|
+
# if the input data contains invalid references or if some resources fail to
|
1832
|
+
# be imported, the FHIR store might be left in a state that violates
|
1833
|
+
# referential integrity.
|
1834
|
+
# The import process does not trigger PubSub notification or BigQuery
|
1835
|
+
# streaming update, regardless of how those are configured on the FHIR store.
|
1836
|
+
# If a resource with the specified ID already exists, the most recent
|
1837
|
+
# version of the resource is overwritten without creating a new historical
|
1838
|
+
# version, regardless of the
|
1839
|
+
# disable_resource_versioning
|
1840
|
+
# setting on the FHIR store. If transient failures occur during the import,
|
1841
|
+
# it is possible that successfully imported resources will be overwritten
|
1842
|
+
# more than once.
|
1843
|
+
# The import operation is idempotent unless the input data contains multiple
|
1844
|
+
# valid resources with the same ID but different contents. In that case,
|
1845
|
+
# after the import completes, the store will contain exactly one resource
|
1846
|
+
# with that ID but there is no ordering guarantee on which version of the
|
1847
|
+
# contents it will have. The operation result counters do not count
|
1848
|
+
# duplicate IDs as an error and will count one success for each resource in
|
1849
|
+
# the input, which might result in a success count larger than the number
|
1850
|
+
# of resources in the FHIR store. This often occurs when importing data
|
1851
|
+
# organized in bundles produced by Patient-everything
|
1852
|
+
# where each bundle contains its own copy of a resource such as Practitioner
|
1853
|
+
# that might be referred to by many patients.
|
1854
|
+
# If some resources fail to import, for example due to parsing errors,
|
1855
|
+
# successfully imported resources are not rolled back.
|
1856
|
+
# The location and format of the input data is specified by the parameters
|
1857
|
+
# below. Note that if no format is specified, this method assumes the
|
1858
|
+
# `BUNDLE` format. When using the `BUNDLE` format this method ignores the
|
1859
|
+
# `Bundle.type` field, except that `history` bundles are rejected, and does
|
1860
|
+
# not apply any of the bundle processing semantics for batch or transaction
|
1861
|
+
# bundles. Unlike in ExecuteBundle, transaction bundles are not executed
|
1862
|
+
# as a single transaction and bundle-internal references are not rewritten.
|
1863
|
+
# The bundle is treated as a collection of resources to be written as
|
1864
|
+
# provided in `Bundle.entry.resource`, ignoring `Bundle.entry.request`. As
|
1865
|
+
# an example, this allows the import of `searchset` bundles produced by a
|
1866
|
+
# FHIR search or
|
1867
|
+
# Patient-everything operation.
|
1868
|
+
# This method returns an Operation that can
|
1869
|
+
# be used to track the status of the import by calling
|
1870
|
+
# GetOperation.
|
1871
|
+
# Immediate fatal errors appear in the
|
1872
|
+
# error field, errors are also logged
|
1873
|
+
# to Stackdriver (see [Viewing
|
1874
|
+
# logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
|
1875
|
+
# operation finishes, a detailed response of type ImportResourcesResponse
|
1876
|
+
# is returned in the response field.
|
1877
|
+
# The metadata field type for this
|
1878
|
+
# operation is OperationMetadata.
|
1879
|
+
# @param [String] name
|
1880
|
+
# The name of the FHIR store to import FHIR resources to. The name should be
|
1881
|
+
# in the format of
|
1882
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1883
|
+
# fhirStores/`fhir_store_id``.
|
1884
|
+
# @param [Google::Apis::HealthcareV1::ImportResourcesRequest] import_resources_request_object
|
1885
|
+
# @param [String] fields
|
1886
|
+
# Selector specifying which fields to include in a partial response.
|
1887
|
+
# @param [String] quota_user
|
1888
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1889
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1890
|
+
# @param [Google::Apis::RequestOptions] options
|
1891
|
+
# Request-specific options
|
1892
|
+
#
|
1893
|
+
# @yield [result, err] Result & error if block supplied
|
1894
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
1895
|
+
# @yieldparam err [StandardError] error object if request failed
|
1896
|
+
#
|
1897
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
1898
|
+
#
|
1899
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1900
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1901
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1902
|
+
def import_fhir_store_resources(name, import_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1903
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
1904
|
+
command.request_representation = Google::Apis::HealthcareV1::ImportResourcesRequest::Representation
|
1905
|
+
command.request_object = import_resources_request_object
|
1906
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
1907
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
1908
|
+
command.params['name'] = name unless name.nil?
|
1909
|
+
command.query['fields'] = fields unless fields.nil?
|
1910
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1911
|
+
execute_or_queue_command(command, &block)
|
1912
|
+
end
|
1913
|
+
|
1914
|
+
# Lists the FHIR stores in the given dataset.
|
1915
|
+
# @param [String] parent
|
1916
|
+
# Name of the dataset.
|
1917
|
+
# @param [String] filter
|
1918
|
+
# Restricts stores returned to those matching a filter. Syntax:
|
1919
|
+
# https://cloud.google.com/appengine/docs/standard/python/search/query_strings
|
1920
|
+
# Only filtering on labels is supported, for example `labels.key=value`.
|
1921
|
+
# @param [Fixnum] page_size
|
1922
|
+
# Limit on the number of FHIR stores to return in a single response. If zero
|
1923
|
+
# the default page size of 100 is used.
|
1924
|
+
# @param [String] page_token
|
1925
|
+
# The next_page_token value returned from the previous List request, if any.
|
1926
|
+
# @param [String] fields
|
1927
|
+
# Selector specifying which fields to include in a partial response.
|
1928
|
+
# @param [String] quota_user
|
1929
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1930
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1931
|
+
# @param [Google::Apis::RequestOptions] options
|
1932
|
+
# Request-specific options
|
1933
|
+
#
|
1934
|
+
# @yield [result, err] Result & error if block supplied
|
1935
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListFhirStoresResponse] parsed result object
|
1936
|
+
# @yieldparam err [StandardError] error object if request failed
|
1937
|
+
#
|
1938
|
+
# @return [Google::Apis::HealthcareV1::ListFhirStoresResponse]
|
1939
|
+
#
|
1940
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1941
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1942
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1943
|
+
def list_project_location_dataset_fhir_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1944
|
+
command = make_simple_command(:get, 'v1/{+parent}/fhirStores', options)
|
1945
|
+
command.response_representation = Google::Apis::HealthcareV1::ListFhirStoresResponse::Representation
|
1946
|
+
command.response_class = Google::Apis::HealthcareV1::ListFhirStoresResponse
|
1947
|
+
command.params['parent'] = parent unless parent.nil?
|
1948
|
+
command.query['filter'] = filter unless filter.nil?
|
1949
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1950
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1951
|
+
command.query['fields'] = fields unless fields.nil?
|
1952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1953
|
+
execute_or_queue_command(command, &block)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Updates the configuration of the specified FHIR store.
|
1957
|
+
# @param [String] name
|
1958
|
+
# Output only. Resource name of the FHIR store, of the form
|
1959
|
+
# `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
|
1960
|
+
# @param [Google::Apis::HealthcareV1::FhirStore] fhir_store_object
|
1961
|
+
# @param [String] update_mask
|
1962
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
1963
|
+
# see
|
1964
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1965
|
+
# fieldmask
|
1966
|
+
# @param [String] fields
|
1967
|
+
# Selector specifying which fields to include in a partial response.
|
1968
|
+
# @param [String] quota_user
|
1969
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1970
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1971
|
+
# @param [Google::Apis::RequestOptions] options
|
1972
|
+
# Request-specific options
|
1973
|
+
#
|
1974
|
+
# @yield [result, err] Result & error if block supplied
|
1975
|
+
# @yieldparam result [Google::Apis::HealthcareV1::FhirStore] parsed result object
|
1976
|
+
# @yieldparam err [StandardError] error object if request failed
|
1977
|
+
#
|
1978
|
+
# @return [Google::Apis::HealthcareV1::FhirStore]
|
1979
|
+
#
|
1980
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1981
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1982
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1983
|
+
def patch_project_location_dataset_fhir_store(name, fhir_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1984
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1985
|
+
command.request_representation = Google::Apis::HealthcareV1::FhirStore::Representation
|
1986
|
+
command.request_object = fhir_store_object
|
1987
|
+
command.response_representation = Google::Apis::HealthcareV1::FhirStore::Representation
|
1988
|
+
command.response_class = Google::Apis::HealthcareV1::FhirStore
|
1989
|
+
command.params['name'] = name unless name.nil?
|
1990
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1991
|
+
command.query['fields'] = fields unless fields.nil?
|
1992
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1993
|
+
execute_or_queue_command(command, &block)
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# Searches for resources in the given FHIR store according to criteria
|
1997
|
+
# specified as query parameters.
|
1998
|
+
# Implements the FHIR standard search interaction
|
1999
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
|
2000
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search),
|
2001
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search))
|
2002
|
+
# using the search semantics described in the FHIR Search specification
|
2003
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
|
2004
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html),
|
2005
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/search.html)).
|
2006
|
+
# Supports three methods of search defined by the specification:
|
2007
|
+
# * `GET [base]?[parameters]` to search across all resources.
|
2008
|
+
# * `GET [base]/[type]?[parameters]` to search resources of a specified
|
2009
|
+
# type.
|
2010
|
+
# * `POST [base]/[type]/_search?[parameters]` as an alternate form having
|
2011
|
+
# the same semantics as the `GET` method.
|
2012
|
+
# The `GET` methods do not support compartment searches. The `POST` method
|
2013
|
+
# does not support `application/x-www-form-urlencoded` search parameters.
|
2014
|
+
# On success, the response body will contain a JSON-encoded representation
|
2015
|
+
# of a `Bundle` resource of type `searchset`, containing the results of the
|
2016
|
+
# search.
|
2017
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2018
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2019
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2020
|
+
# GCP error might be returned instead.
|
2021
|
+
# The server's capability statement, retrieved through
|
2022
|
+
# capabilities, indicates what search parameters
|
2023
|
+
# are supported on each FHIR resource. A list of all search parameters
|
2024
|
+
# defined by the specification can be found in the FHIR Search Parameter
|
2025
|
+
# Registry
|
2026
|
+
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
|
2027
|
+
# html),
|
2028
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html))
|
2029
|
+
# .
|
2030
|
+
# FHIR search parameters for DSTU2 can be found on each resource's definition
|
2031
|
+
# page.
|
2032
|
+
# Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
|
2033
|
+
# `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
|
2034
|
+
# Supported search result parameters: `_sort`, `_count`, `_include`,
|
2035
|
+
# `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
|
2036
|
+
# The maximum number of search results returned defaults to 100, which can
|
2037
|
+
# be overridden by the `_count` parameter up to a maximum limit of 1000. If
|
2038
|
+
# there are additional results, the returned `Bundle` will contain
|
2039
|
+
# pagination links.
|
2040
|
+
# Resources with a total size larger than 5MB or a field count larger than
|
2041
|
+
# 50,000 might not be fully searchable as the server might trim its generated
|
2042
|
+
# search index in those cases.
|
2043
|
+
# Note: FHIR resources are indexed asynchronously, so there might be a slight
|
2044
|
+
# delay between the time a resource is created or changes and when the change
|
2045
|
+
# is reflected in search results.
|
2046
|
+
# @param [String] parent
|
2047
|
+
# Name of the FHIR store to retrieve resources from.
|
2048
|
+
# @param [String] resource_type
|
2049
|
+
# The FHIR resource type to search, such as Patient or Observation. For a
|
2050
|
+
# complete list, see the FHIR Resource Index
|
2051
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
2052
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
|
2053
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
|
2054
|
+
# @param [String] fields
|
2055
|
+
# Selector specifying which fields to include in a partial response.
|
2056
|
+
# @param [String] quota_user
|
2057
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2058
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2059
|
+
# @param [Google::Apis::RequestOptions] options
|
2060
|
+
# Request-specific options
|
2061
|
+
#
|
2062
|
+
# @yield [result, err] Result & error if block supplied
|
2063
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2064
|
+
# @yieldparam err [StandardError] error object if request failed
|
2065
|
+
#
|
2066
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2067
|
+
#
|
2068
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2069
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2070
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2071
|
+
def search_project_location_dataset_fhir_stores(parent, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2072
|
+
command = make_simple_command(:get, 'v1/{+parent}/fhir', options)
|
2073
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2074
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2075
|
+
command.params['parent'] = parent unless parent.nil?
|
2076
|
+
command.query['resourceType'] = resource_type unless resource_type.nil?
|
2077
|
+
command.query['fields'] = fields unless fields.nil?
|
2078
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2079
|
+
execute_or_queue_command(command, &block)
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2083
|
+
# existing policy.
|
2084
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
2085
|
+
# @param [String] resource
|
2086
|
+
# REQUIRED: The resource for which the policy is being specified.
|
2087
|
+
# See the operation documentation for the appropriate value for this field.
|
2088
|
+
# @param [Google::Apis::HealthcareV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2089
|
+
# @param [String] fields
|
2090
|
+
# Selector specifying which fields to include in a partial response.
|
2091
|
+
# @param [String] quota_user
|
2092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2094
|
+
# @param [Google::Apis::RequestOptions] options
|
2095
|
+
# Request-specific options
|
2096
|
+
#
|
2097
|
+
# @yield [result, err] Result & error if block supplied
|
2098
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
2099
|
+
# @yieldparam err [StandardError] error object if request failed
|
2100
|
+
#
|
2101
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
2102
|
+
#
|
2103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2106
|
+
def set_fhir_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2107
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2108
|
+
command.request_representation = Google::Apis::HealthcareV1::SetIamPolicyRequest::Representation
|
2109
|
+
command.request_object = set_iam_policy_request_object
|
2110
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
2111
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
2112
|
+
command.params['resource'] = resource unless resource.nil?
|
2113
|
+
command.query['fields'] = fields unless fields.nil?
|
2114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2115
|
+
execute_or_queue_command(command, &block)
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
# Returns permissions that a caller has on the specified resource.
|
2119
|
+
# If the resource does not exist, this will return an empty set of
|
2120
|
+
# permissions, not a NOT_FOUND error.
|
2121
|
+
# Note: This operation is designed to be used for building permission-aware
|
2122
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
2123
|
+
# may "fail open" without warning.
|
2124
|
+
# @param [String] resource
|
2125
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
2126
|
+
# See the operation documentation for the appropriate value for this field.
|
2127
|
+
# @param [Google::Apis::HealthcareV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2128
|
+
# @param [String] fields
|
2129
|
+
# Selector specifying which fields to include in a partial response.
|
2130
|
+
# @param [String] quota_user
|
2131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2133
|
+
# @param [Google::Apis::RequestOptions] options
|
2134
|
+
# Request-specific options
|
2135
|
+
#
|
2136
|
+
# @yield [result, err] Result & error if block supplied
|
2137
|
+
# @yieldparam result [Google::Apis::HealthcareV1::TestIamPermissionsResponse] parsed result object
|
2138
|
+
# @yieldparam err [StandardError] error object if request failed
|
2139
|
+
#
|
2140
|
+
# @return [Google::Apis::HealthcareV1::TestIamPermissionsResponse]
|
2141
|
+
#
|
2142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2145
|
+
def test_fhir_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2146
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2147
|
+
command.request_representation = Google::Apis::HealthcareV1::TestIamPermissionsRequest::Representation
|
2148
|
+
command.request_object = test_iam_permissions_request_object
|
2149
|
+
command.response_representation = Google::Apis::HealthcareV1::TestIamPermissionsResponse::Representation
|
2150
|
+
command.response_class = Google::Apis::HealthcareV1::TestIamPermissionsResponse
|
2151
|
+
command.params['resource'] = resource unless resource.nil?
|
2152
|
+
command.query['fields'] = fields unless fields.nil?
|
2153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2154
|
+
execute_or_queue_command(command, &block)
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# On success, the response body will contain a JSON-encoded representation
|
2158
|
+
# of a `Bundle` resource of type `searchset`, containing the results of the
|
2159
|
+
# operation.
|
2160
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2161
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2162
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2163
|
+
# GCP error might be returned instead.
|
2164
|
+
# @param [String] name
|
2165
|
+
# Name of the `Patient` resource for which the information is required.
|
2166
|
+
# @param [Fixnum] _count
|
2167
|
+
# Maximum number of resources in a page. Defaults to 100.
|
2168
|
+
# @param [String] _page_token
|
2169
|
+
# Used to retrieve the next or previous page of results
|
2170
|
+
# when using pagination. Value should be set to the value of page_token set
|
2171
|
+
# in next or previous page links' urls. Next and previous page are returned
|
2172
|
+
# in the response bundle's links field, where `link.relation` is "previous"
|
2173
|
+
# or "next".
|
2174
|
+
# Omit `page_token` if no previous request has been made.
|
2175
|
+
# @param [String] end_
|
2176
|
+
# The response includes records prior to the end date. If no end date is
|
2177
|
+
# provided, all records subsequent to the start date are in scope.
|
2178
|
+
# @param [String] start
|
2179
|
+
# The response includes records subsequent to the start date. If no start
|
2180
|
+
# date is provided, all records prior to the end date are in scope.
|
2181
|
+
# @param [String] fields
|
2182
|
+
# Selector specifying which fields to include in a partial response.
|
2183
|
+
# @param [String] quota_user
|
2184
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2185
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2186
|
+
# @param [Google::Apis::RequestOptions] options
|
2187
|
+
# Request-specific options
|
2188
|
+
#
|
2189
|
+
# @yield [result, err] Result & error if block supplied
|
2190
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2191
|
+
# @yieldparam err [StandardError] error object if request failed
|
2192
|
+
#
|
2193
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2194
|
+
#
|
2195
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2196
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2197
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2198
|
+
def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2199
|
+
command = make_simple_command(:get, 'v1/{+name}/$everything', options)
|
2200
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2201
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2202
|
+
command.params['name'] = name unless name.nil?
|
2203
|
+
command.query['_count'] = _count unless _count.nil?
|
2204
|
+
command.query['_page_token'] = _page_token unless _page_token.nil?
|
2205
|
+
command.query['end'] = end_ unless end_.nil?
|
2206
|
+
command.query['start'] = start unless start.nil?
|
2207
|
+
command.query['fields'] = fields unless fields.nil?
|
2208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2209
|
+
execute_or_queue_command(command, &block)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# Deletes all the historical versions of a resource (excluding the current
|
2213
|
+
# version) from the FHIR store. To remove all versions of a resource, first
|
2214
|
+
# delete the current version and then call this method.
|
2215
|
+
# This is not a FHIR standard operation.
|
2216
|
+
# @param [String] name
|
2217
|
+
# The name of the resource to purge.
|
2218
|
+
# @param [String] fields
|
2219
|
+
# Selector specifying which fields to include in a partial response.
|
2220
|
+
# @param [String] quota_user
|
2221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2223
|
+
# @param [Google::Apis::RequestOptions] options
|
2224
|
+
# Request-specific options
|
2225
|
+
#
|
2226
|
+
# @yield [result, err] Result & error if block supplied
|
2227
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
2228
|
+
# @yieldparam err [StandardError] error object if request failed
|
2229
|
+
#
|
2230
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
2231
|
+
#
|
2232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2235
|
+
def resource_project_location_dataset_fhir_store_fhir_purge(name, fields: nil, quota_user: nil, options: nil, &block)
|
2236
|
+
command = make_simple_command(:delete, 'v1/{+name}/$purge', options)
|
2237
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
2238
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
2239
|
+
command.params['name'] = name unless name.nil?
|
2240
|
+
command.query['fields'] = fields unless fields.nil?
|
2241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2242
|
+
execute_or_queue_command(command, &block)
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
# Gets the FHIR capability statement
|
2246
|
+
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html),
|
2247
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/capabilitystatement.html)),
|
2248
|
+
# or the [conformance
|
2249
|
+
# statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
|
2250
|
+
# in the DSTU2 case for the store, which contains a description of
|
2251
|
+
# functionality supported by the server.
|
2252
|
+
# Implements the FHIR standard capabilities interaction
|
2253
|
+
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities),
|
2254
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#capabilities)),
|
2255
|
+
# or the [conformance
|
2256
|
+
# interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
|
2257
|
+
# conformance)
|
2258
|
+
# in the DSTU2 case.
|
2259
|
+
# On success, the response body will contain a JSON-encoded representation
|
2260
|
+
# of a `CapabilityStatement` resource.
|
2261
|
+
# @param [String] name
|
2262
|
+
# Name of the FHIR store to retrieve the capabilities for.
|
2263
|
+
# @param [String] fields
|
2264
|
+
# Selector specifying which fields to include in a partial response.
|
2265
|
+
# @param [String] quota_user
|
2266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2268
|
+
# @param [Google::Apis::RequestOptions] options
|
2269
|
+
# Request-specific options
|
2270
|
+
#
|
2271
|
+
# @yield [result, err] Result & error if block supplied
|
2272
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2273
|
+
# @yieldparam err [StandardError] error object if request failed
|
2274
|
+
#
|
2275
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2276
|
+
#
|
2277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2280
|
+
def capabilities_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
|
2281
|
+
command = make_simple_command(:get, 'v1/{+name}/fhir/metadata', options)
|
2282
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2283
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2284
|
+
command.params['name'] = name unless name.nil?
|
2285
|
+
command.query['fields'] = fields unless fields.nil?
|
2286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2287
|
+
execute_or_queue_command(command, &block)
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
# Creates a FHIR resource.
|
2291
|
+
# Implements the FHIR standard create interaction
|
2292
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create),
|
2293
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
|
2294
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#create)),
|
2295
|
+
# which creates a new resource with a server-assigned resource ID.
|
2296
|
+
# Also supports the FHIR standard conditional create interaction
|
2297
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate),
|
2298
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
|
2299
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#ccreate)),
|
2300
|
+
# specified by supplying an `If-None-Exist` header containing a FHIR search
|
2301
|
+
# query. If no resources match this search query, the server processes the
|
2302
|
+
# create operation as normal.
|
2303
|
+
# The request body must contain a JSON-encoded FHIR resource, and the request
|
2304
|
+
# headers must contain `Content-Type: application/fhir+json`.
|
2305
|
+
# On success, the response body will contain a JSON-encoded representation
|
2306
|
+
# of the resource as it was created on the server, including the
|
2307
|
+
# server-assigned resource ID and version ID.
|
2308
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2309
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2310
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2311
|
+
# GCP error might be returned instead.
|
2312
|
+
# @param [String] parent
|
2313
|
+
# The name of the FHIR store this resource belongs to.
|
2314
|
+
# @param [String] type
|
2315
|
+
# The FHIR resource type to create, such as Patient or Observation. For a
|
2316
|
+
# complete list, see the FHIR Resource Index
|
2317
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
2318
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
|
2319
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
|
2320
|
+
# Must match the resource type in the provided content.
|
2321
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
2322
|
+
# @param [String] fields
|
2323
|
+
# Selector specifying which fields to include in a partial response.
|
2324
|
+
# @param [String] quota_user
|
2325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2327
|
+
# @param [Google::Apis::RequestOptions] options
|
2328
|
+
# Request-specific options
|
2329
|
+
#
|
2330
|
+
# @yield [result, err] Result & error if block supplied
|
2331
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2332
|
+
# @yieldparam err [StandardError] error object if request failed
|
2333
|
+
#
|
2334
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2335
|
+
#
|
2336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2339
|
+
def create_project_location_dataset_fhir_store_fhir(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2340
|
+
command = make_simple_command(:post, 'v1/{+parent}/fhir/{+type}', options)
|
2341
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2342
|
+
command.request_object = http_body_object
|
2343
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2344
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2345
|
+
command.params['parent'] = parent unless parent.nil?
|
2346
|
+
command.params['type'] = type unless type.nil?
|
2347
|
+
command.query['fields'] = fields unless fields.nil?
|
2348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2349
|
+
execute_or_queue_command(command, &block)
|
2350
|
+
end
|
2351
|
+
|
2352
|
+
# Deletes a FHIR resource.
|
2353
|
+
# Implements the FHIR standard delete interaction
|
2354
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete),
|
2355
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete),
|
2356
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#delete)).
|
2357
|
+
# Note: Unless resource versioning is disabled by setting the
|
2358
|
+
# disable_resource_versioning flag
|
2359
|
+
# on the FHIR store, the deleted resources will be moved to a history
|
2360
|
+
# repository that can still be retrieved through vread
|
2361
|
+
# and related methods, unless they are removed by the
|
2362
|
+
# purge method.
|
2363
|
+
# @param [String] name
|
2364
|
+
# The name of the resource to delete.
|
2365
|
+
# @param [String] fields
|
2366
|
+
# Selector specifying which fields to include in a partial response.
|
2367
|
+
# @param [String] quota_user
|
2368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2370
|
+
# @param [Google::Apis::RequestOptions] options
|
2371
|
+
# Request-specific options
|
2372
|
+
#
|
2373
|
+
# @yield [result, err] Result & error if block supplied
|
2374
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2375
|
+
# @yieldparam err [StandardError] error object if request failed
|
2376
|
+
#
|
2377
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2378
|
+
#
|
2379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2382
|
+
def delete_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
|
2383
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2384
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2385
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2386
|
+
command.params['name'] = name unless name.nil?
|
2387
|
+
command.query['fields'] = fields unless fields.nil?
|
2388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2389
|
+
execute_or_queue_command(command, &block)
|
2390
|
+
end
|
2391
|
+
|
2392
|
+
# Executes all the requests in the given Bundle.
|
2393
|
+
# Implements the FHIR standard batch/transaction interaction
|
2394
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction),
|
2395
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#transaction),
|
2396
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#transaction)).
|
2397
|
+
# Supports all interactions within a bundle, except search. This method
|
2398
|
+
# accepts Bundles of type `batch` and `transaction`, processing them
|
2399
|
+
# according to the batch processing rules
|
2400
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1),
|
2401
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1),
|
2402
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#brules))
|
2403
|
+
# and transaction processing rules
|
2404
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2),
|
2405
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2),
|
2406
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#trules)).
|
2407
|
+
# The request body must contain a JSON-encoded FHIR `Bundle` resource, and
|
2408
|
+
# the request headers must contain `Content-Type: application/fhir+json`.
|
2409
|
+
# For a batch bundle or a successful transaction the response body will
|
2410
|
+
# contain a JSON-encoded representation of a `Bundle` resource of type
|
2411
|
+
# `batch-response` or `transaction-response` containing one entry for each
|
2412
|
+
# entry in the request, with the outcome of processing the entry. In the
|
2413
|
+
# case of an error for a transaction bundle, the response body will contain
|
2414
|
+
# a JSON-encoded `OperationOutcome` resource describing the reason for the
|
2415
|
+
# error. If the request cannot be mapped to a valid API method on a FHIR
|
2416
|
+
# store, a generic GCP error might be returned instead.
|
2417
|
+
# @param [String] parent
|
2418
|
+
# Name of the FHIR store in which this bundle will be executed.
|
2419
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
2420
|
+
# @param [String] fields
|
2421
|
+
# Selector specifying which fields to include in a partial response.
|
2422
|
+
# @param [String] quota_user
|
2423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2425
|
+
# @param [Google::Apis::RequestOptions] options
|
2426
|
+
# Request-specific options
|
2427
|
+
#
|
2428
|
+
# @yield [result, err] Result & error if block supplied
|
2429
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2430
|
+
# @yieldparam err [StandardError] error object if request failed
|
2431
|
+
#
|
2432
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2433
|
+
#
|
2434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2437
|
+
def execute_project_location_dataset_fhir_store_fhir_bundle(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2438
|
+
command = make_simple_command(:post, 'v1/{+parent}/fhir', options)
|
2439
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2440
|
+
command.request_object = http_body_object
|
2441
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2442
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2443
|
+
command.params['parent'] = parent unless parent.nil?
|
2444
|
+
command.query['fields'] = fields unless fields.nil?
|
2445
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2446
|
+
execute_or_queue_command(command, &block)
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# Lists all the versions of a resource (including the current version and
|
2450
|
+
# deleted versions) from the FHIR store.
|
2451
|
+
# Implements the per-resource form of the FHIR standard history interaction
|
2452
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history),
|
2453
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history),
|
2454
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#history)).
|
2455
|
+
# On success, the response body will contain a JSON-encoded representation
|
2456
|
+
# of a `Bundle` resource of type `history`, containing the version history
|
2457
|
+
# sorted from most recent to oldest versions.
|
2458
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2459
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2460
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2461
|
+
# GCP error might be returned instead.
|
2462
|
+
# @param [String] name
|
2463
|
+
# The name of the resource to retrieve.
|
2464
|
+
# @param [String] _at
|
2465
|
+
# Only include resource versions that were current at some point during the
|
2466
|
+
# time period specified in the date time value. The date parameter format is
|
2467
|
+
# yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm]
|
2468
|
+
# Clients may specify any of the following:
|
2469
|
+
# * An entire year: `_at=2019`
|
2470
|
+
# * An entire month: `_at=2019-01`
|
2471
|
+
# * A specific day: `_at=2019-01-20`
|
2472
|
+
# * A specific second: `_at=2018-12-31T23:59:58Z`
|
2473
|
+
# @param [Fixnum] _count
|
2474
|
+
# The maximum number of search results on a page. Defaults to 1000.
|
2475
|
+
# @param [String] _page_token
|
2476
|
+
# Used to retrieve the first, previous, next, or last page of resource
|
2477
|
+
# versions when using pagination. Value should be set to the value of
|
2478
|
+
# `_page_token` set in next or previous page links' URLs. Next and previous
|
2479
|
+
# page are returned in the response bundle's links field, where
|
2480
|
+
# `link.relation` is "previous" or "next".
|
2481
|
+
# Omit `_page_token` if no previous request has been made.
|
2482
|
+
# @param [String] _since
|
2483
|
+
# Only include resource versions that were created at or after the given
|
2484
|
+
# instant in time. The instant in time uses the format
|
2485
|
+
# YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or
|
2486
|
+
# 2017-01-01T00:00:00Z). The time must be specified to the second and
|
2487
|
+
# include a time zone.
|
2488
|
+
# @param [String] fields
|
2489
|
+
# Selector specifying which fields to include in a partial response.
|
2490
|
+
# @param [String] quota_user
|
2491
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2492
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2493
|
+
# @param [Google::Apis::RequestOptions] options
|
2494
|
+
# Request-specific options
|
2495
|
+
#
|
2496
|
+
# @yield [result, err] Result & error if block supplied
|
2497
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2498
|
+
# @yieldparam err [StandardError] error object if request failed
|
2499
|
+
#
|
2500
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2501
|
+
#
|
2502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2505
|
+
def history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2506
|
+
command = make_simple_command(:get, 'v1/{+name}/_history', options)
|
2507
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2508
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2509
|
+
command.params['name'] = name unless name.nil?
|
2510
|
+
command.query['_at'] = _at unless _at.nil?
|
2511
|
+
command.query['_count'] = _count unless _count.nil?
|
2512
|
+
command.query['_page_token'] = _page_token unless _page_token.nil?
|
2513
|
+
command.query['_since'] = _since unless _since.nil?
|
2514
|
+
command.query['fields'] = fields unless fields.nil?
|
2515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2516
|
+
execute_or_queue_command(command, &block)
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# Updates part of an existing resource by applying the operations specified
|
2520
|
+
# in a [JSON Patch](http://jsonpatch.com/) document.
|
2521
|
+
# Implements the FHIR standard patch interaction
|
2522
|
+
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch),
|
2523
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#patch)).
|
2524
|
+
# DSTU2 doesn't define a patch method, but the server supports it in the same
|
2525
|
+
# way it supports STU3.
|
2526
|
+
# The request body must contain a JSON Patch document, and the request
|
2527
|
+
# headers must contain `Content-Type: application/json-patch+json`.
|
2528
|
+
# On success, the response body will contain a JSON-encoded representation
|
2529
|
+
# of the updated resource, including the server-assigned version ID.
|
2530
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2531
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2532
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2533
|
+
# GCP error might be returned instead.
|
2534
|
+
# @param [String] name
|
2535
|
+
# The name of the resource to update.
|
2536
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
2537
|
+
# @param [String] fields
|
2538
|
+
# Selector specifying which fields to include in a partial response.
|
2539
|
+
# @param [String] quota_user
|
2540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2542
|
+
# @param [Google::Apis::RequestOptions] options
|
2543
|
+
# Request-specific options
|
2544
|
+
#
|
2545
|
+
# @yield [result, err] Result & error if block supplied
|
2546
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2547
|
+
# @yieldparam err [StandardError] error object if request failed
|
2548
|
+
#
|
2549
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2550
|
+
#
|
2551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2554
|
+
def patch_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2555
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2556
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2557
|
+
command.request_object = http_body_object
|
2558
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2559
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2560
|
+
command.params['name'] = name unless name.nil?
|
2561
|
+
command.query['fields'] = fields unless fields.nil?
|
2562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2563
|
+
execute_or_queue_command(command, &block)
|
2564
|
+
end
|
2565
|
+
|
2566
|
+
# Gets the contents of a FHIR resource.
|
2567
|
+
# Implements the FHIR standard read interaction
|
2568
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read),
|
2569
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read),
|
2570
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#read)).
|
2571
|
+
# Also supports the FHIR standard conditional read interaction
|
2572
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread),
|
2573
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread),
|
2574
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#cread))
|
2575
|
+
# specified by supplying an `If-Modified-Since` header with a date/time value
|
2576
|
+
# or an `If-None-Match` header with an ETag value.
|
2577
|
+
# On success, the response body will contain a JSON-encoded representation
|
2578
|
+
# of the resource.
|
2579
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2580
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2581
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2582
|
+
# GCP error might be returned instead.
|
2583
|
+
# @param [String] name
|
2584
|
+
# The name of the resource to retrieve.
|
2585
|
+
# @param [String] fields
|
2586
|
+
# Selector specifying which fields to include in a partial response.
|
2587
|
+
# @param [String] quota_user
|
2588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2590
|
+
# @param [Google::Apis::RequestOptions] options
|
2591
|
+
# Request-specific options
|
2592
|
+
#
|
2593
|
+
# @yield [result, err] Result & error if block supplied
|
2594
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2595
|
+
# @yieldparam err [StandardError] error object if request failed
|
2596
|
+
#
|
2597
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2598
|
+
#
|
2599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2602
|
+
def read_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
|
2603
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2604
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2605
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2606
|
+
command.params['name'] = name unless name.nil?
|
2607
|
+
command.query['fields'] = fields unless fields.nil?
|
2608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2609
|
+
execute_or_queue_command(command, &block)
|
2610
|
+
end
|
2611
|
+
|
2612
|
+
# Searches for resources in the given FHIR store according to criteria
|
2613
|
+
# specified as query parameters.
|
2614
|
+
# Implements the FHIR standard search interaction
|
2615
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
|
2616
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search),
|
2617
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search))
|
2618
|
+
# using the search semantics described in the FHIR Search specification
|
2619
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
|
2620
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html),
|
2621
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/search.html)).
|
2622
|
+
# Supports three methods of search defined by the specification:
|
2623
|
+
# * `GET [base]?[parameters]` to search across all resources.
|
2624
|
+
# * `GET [base]/[type]?[parameters]` to search resources of a specified
|
2625
|
+
# type.
|
2626
|
+
# * `POST [base]/[type]/_search?[parameters]` as an alternate form having
|
2627
|
+
# the same semantics as the `GET` method.
|
2628
|
+
# The `GET` methods do not support compartment searches. The `POST` method
|
2629
|
+
# does not support `application/x-www-form-urlencoded` search parameters.
|
2630
|
+
# On success, the response body will contain a JSON-encoded representation
|
2631
|
+
# of a `Bundle` resource of type `searchset`, containing the results of the
|
2632
|
+
# search.
|
2633
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2634
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2635
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2636
|
+
# GCP error might be returned instead.
|
2637
|
+
# The server's capability statement, retrieved through
|
2638
|
+
# capabilities, indicates what search parameters
|
2639
|
+
# are supported on each FHIR resource. A list of all search parameters
|
2640
|
+
# defined by the specification can be found in the FHIR Search Parameter
|
2641
|
+
# Registry
|
2642
|
+
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
|
2643
|
+
# html),
|
2644
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html))
|
2645
|
+
# .
|
2646
|
+
# FHIR search parameters for DSTU2 can be found on each resource's definition
|
2647
|
+
# page.
|
2648
|
+
# Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
|
2649
|
+
# `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
|
2650
|
+
# Supported search result parameters: `_sort`, `_count`, `_include`,
|
2651
|
+
# `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
|
2652
|
+
# The maximum number of search results returned defaults to 100, which can
|
2653
|
+
# be overridden by the `_count` parameter up to a maximum limit of 1000. If
|
2654
|
+
# there are additional results, the returned `Bundle` will contain
|
2655
|
+
# pagination links.
|
2656
|
+
# Resources with a total size larger than 5MB or a field count larger than
|
2657
|
+
# 50,000 might not be fully searchable as the server might trim its generated
|
2658
|
+
# search index in those cases.
|
2659
|
+
# Note: FHIR resources are indexed asynchronously, so there might be a slight
|
2660
|
+
# delay between the time a resource is created or changes and when the change
|
2661
|
+
# is reflected in search results.
|
2662
|
+
# @param [String] parent
|
2663
|
+
# Name of the FHIR store to retrieve resources from.
|
2664
|
+
# @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
|
2665
|
+
# @param [String] fields
|
2666
|
+
# Selector specifying which fields to include in a partial response.
|
2667
|
+
# @param [String] quota_user
|
2668
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2669
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2670
|
+
# @param [Google::Apis::RequestOptions] options
|
2671
|
+
# Request-specific options
|
2672
|
+
#
|
2673
|
+
# @yield [result, err] Result & error if block supplied
|
2674
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2675
|
+
# @yieldparam err [StandardError] error object if request failed
|
2676
|
+
#
|
2677
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2678
|
+
#
|
2679
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2680
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2681
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2682
|
+
def search_fhir_resources(parent, search_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2683
|
+
command = make_simple_command(:post, 'v1/{+parent}/fhir/_search', options)
|
2684
|
+
command.request_representation = Google::Apis::HealthcareV1::SearchResourcesRequest::Representation
|
2685
|
+
command.request_object = search_resources_request_object
|
2686
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2687
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2688
|
+
command.params['parent'] = parent unless parent.nil?
|
2689
|
+
command.query['fields'] = fields unless fields.nil?
|
2690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2691
|
+
execute_or_queue_command(command, &block)
|
2692
|
+
end
|
2693
|
+
|
2694
|
+
# Updates the entire contents of a resource.
|
2695
|
+
# Implements the FHIR standard update interaction
|
2696
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
|
2697
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update),
|
2698
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#update)).
|
2699
|
+
# If the specified resource does
|
2700
|
+
# not exist and the FHIR store has
|
2701
|
+
# enable_update_create set, creates the
|
2702
|
+
# resource with the client-specified ID.
|
2703
|
+
# The request body must contain a JSON-encoded FHIR resource, and the request
|
2704
|
+
# headers must contain `Content-Type: application/fhir+json`. The resource
|
2705
|
+
# must contain an `id` element having an identical value to the ID in the
|
2706
|
+
# REST path of the request.
|
2707
|
+
# On success, the response body will contain a JSON-encoded representation
|
2708
|
+
# of the updated resource, including the server-assigned version ID.
|
2709
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2710
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2711
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2712
|
+
# GCP error might be returned instead.
|
2713
|
+
# @param [String] name
|
2714
|
+
# The name of the resource to update.
|
2715
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
2716
|
+
# @param [String] fields
|
2717
|
+
# Selector specifying which fields to include in a partial response.
|
2718
|
+
# @param [String] quota_user
|
2719
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2720
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2721
|
+
# @param [Google::Apis::RequestOptions] options
|
2722
|
+
# Request-specific options
|
2723
|
+
#
|
2724
|
+
# @yield [result, err] Result & error if block supplied
|
2725
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2726
|
+
# @yieldparam err [StandardError] error object if request failed
|
2727
|
+
#
|
2728
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2729
|
+
#
|
2730
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2731
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2732
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2733
|
+
def update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2734
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
2735
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2736
|
+
command.request_object = http_body_object
|
2737
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2738
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2739
|
+
command.params['name'] = name unless name.nil?
|
2740
|
+
command.query['fields'] = fields unless fields.nil?
|
2741
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2742
|
+
execute_or_queue_command(command, &block)
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
# Gets the contents of a version (current or historical) of a FHIR resource
|
2746
|
+
# by version ID.
|
2747
|
+
# Implements the FHIR standard vread interaction
|
2748
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread),
|
2749
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread),
|
2750
|
+
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#vread)).
|
2751
|
+
# On success, the response body will contain a JSON-encoded representation
|
2752
|
+
# of the resource.
|
2753
|
+
# Errors generated by the FHIR store will contain a JSON-encoded
|
2754
|
+
# `OperationOutcome` resource describing the reason for the error. If the
|
2755
|
+
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
2756
|
+
# GCP error might be returned instead.
|
2757
|
+
# @param [String] name
|
2758
|
+
# The name of the resource version to retrieve.
|
2759
|
+
# @param [String] fields
|
2760
|
+
# Selector specifying which fields to include in a partial response.
|
2761
|
+
# @param [String] quota_user
|
2762
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2763
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2764
|
+
# @param [Google::Apis::RequestOptions] options
|
2765
|
+
# Request-specific options
|
2766
|
+
#
|
2767
|
+
# @yield [result, err] Result & error if block supplied
|
2768
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
2769
|
+
# @yieldparam err [StandardError] error object if request failed
|
2770
|
+
#
|
2771
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
2772
|
+
#
|
2773
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2774
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2775
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2776
|
+
def vread_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
|
2777
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2778
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
2779
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
2780
|
+
command.params['name'] = name unless name.nil?
|
2781
|
+
command.query['fields'] = fields unless fields.nil?
|
2782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2783
|
+
execute_or_queue_command(command, &block)
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
# Creates a new HL7v2 store within the parent dataset.
|
2787
|
+
# @param [String] parent
|
2788
|
+
# The name of the dataset this HL7v2 store belongs to.
|
2789
|
+
# @param [Google::Apis::HealthcareV1::Hl7V2Store] hl7_v2_store_object
|
2790
|
+
# @param [String] hl7_v2_store_id
|
2791
|
+
# The ID of the HL7v2 store that is being created.
|
2792
|
+
# The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
|
2793
|
+
# @param [String] fields
|
2794
|
+
# Selector specifying which fields to include in a partial response.
|
2795
|
+
# @param [String] quota_user
|
2796
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2797
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2798
|
+
# @param [Google::Apis::RequestOptions] options
|
2799
|
+
# Request-specific options
|
2800
|
+
#
|
2801
|
+
# @yield [result, err] Result & error if block supplied
|
2802
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Hl7V2Store] parsed result object
|
2803
|
+
# @yieldparam err [StandardError] error object if request failed
|
2804
|
+
#
|
2805
|
+
# @return [Google::Apis::HealthcareV1::Hl7V2Store]
|
2806
|
+
#
|
2807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2810
|
+
def create_project_location_dataset_hl7_v2_store(parent, hl7_v2_store_object = nil, hl7_v2_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2811
|
+
command = make_simple_command(:post, 'v1/{+parent}/hl7V2Stores', options)
|
2812
|
+
command.request_representation = Google::Apis::HealthcareV1::Hl7V2Store::Representation
|
2813
|
+
command.request_object = hl7_v2_store_object
|
2814
|
+
command.response_representation = Google::Apis::HealthcareV1::Hl7V2Store::Representation
|
2815
|
+
command.response_class = Google::Apis::HealthcareV1::Hl7V2Store
|
2816
|
+
command.params['parent'] = parent unless parent.nil?
|
2817
|
+
command.query['hl7V2StoreId'] = hl7_v2_store_id unless hl7_v2_store_id.nil?
|
2818
|
+
command.query['fields'] = fields unless fields.nil?
|
2819
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2820
|
+
execute_or_queue_command(command, &block)
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
# Deletes the specified HL7v2 store and removes all messages that are
|
2824
|
+
# contained within it.
|
2825
|
+
# @param [String] name
|
2826
|
+
# The resource name of the HL7v2 store to delete.
|
2827
|
+
# @param [String] fields
|
2828
|
+
# Selector specifying which fields to include in a partial response.
|
2829
|
+
# @param [String] quota_user
|
2830
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2831
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2832
|
+
# @param [Google::Apis::RequestOptions] options
|
2833
|
+
# Request-specific options
|
2834
|
+
#
|
2835
|
+
# @yield [result, err] Result & error if block supplied
|
2836
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
2837
|
+
# @yieldparam err [StandardError] error object if request failed
|
2838
|
+
#
|
2839
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
2840
|
+
#
|
2841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2844
|
+
def delete_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
2845
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2846
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
2847
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
2848
|
+
command.params['name'] = name unless name.nil?
|
2849
|
+
command.query['fields'] = fields unless fields.nil?
|
2850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2851
|
+
execute_or_queue_command(command, &block)
|
2852
|
+
end
|
2853
|
+
|
2854
|
+
# Gets the specified HL7v2 store.
|
2855
|
+
# @param [String] name
|
2856
|
+
# The resource name of the HL7v2 store to get.
|
2857
|
+
# @param [String] fields
|
2858
|
+
# Selector specifying which fields to include in a partial response.
|
2859
|
+
# @param [String] quota_user
|
2860
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2861
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2862
|
+
# @param [Google::Apis::RequestOptions] options
|
2863
|
+
# Request-specific options
|
2864
|
+
#
|
2865
|
+
# @yield [result, err] Result & error if block supplied
|
2866
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Hl7V2Store] parsed result object
|
2867
|
+
# @yieldparam err [StandardError] error object if request failed
|
2868
|
+
#
|
2869
|
+
# @return [Google::Apis::HealthcareV1::Hl7V2Store]
|
2870
|
+
#
|
2871
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2872
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2873
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2874
|
+
def get_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
2875
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2876
|
+
command.response_representation = Google::Apis::HealthcareV1::Hl7V2Store::Representation
|
2877
|
+
command.response_class = Google::Apis::HealthcareV1::Hl7V2Store
|
2878
|
+
command.params['name'] = name unless name.nil?
|
2879
|
+
command.query['fields'] = fields unless fields.nil?
|
2880
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2881
|
+
execute_or_queue_command(command, &block)
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# Gets the access control policy for a resource.
|
2885
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
2886
|
+
# set.
|
2887
|
+
# @param [String] resource
|
2888
|
+
# REQUIRED: The resource for which the policy is being requested.
|
2889
|
+
# See the operation documentation for the appropriate value for this field.
|
2890
|
+
# @param [Fixnum] options_requested_policy_version
|
2891
|
+
# Optional. The policy format version to be returned.
|
2892
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2893
|
+
# rejected.
|
2894
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
2895
|
+
# Policies without any conditional bindings may specify any valid value or
|
2896
|
+
# leave the field unset.
|
2897
|
+
# @param [String] fields
|
2898
|
+
# Selector specifying which fields to include in a partial response.
|
2899
|
+
# @param [String] quota_user
|
2900
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2901
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2902
|
+
# @param [Google::Apis::RequestOptions] options
|
2903
|
+
# Request-specific options
|
2904
|
+
#
|
2905
|
+
# @yield [result, err] Result & error if block supplied
|
2906
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
2907
|
+
# @yieldparam err [StandardError] error object if request failed
|
2908
|
+
#
|
2909
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
2910
|
+
#
|
2911
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2912
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2913
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2914
|
+
def get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2915
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2916
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
2917
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
2918
|
+
command.params['resource'] = resource unless resource.nil?
|
2919
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2920
|
+
command.query['fields'] = fields unless fields.nil?
|
2921
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2922
|
+
execute_or_queue_command(command, &block)
|
2923
|
+
end
|
2924
|
+
|
2925
|
+
# Lists the HL7v2 stores in the given dataset.
|
2926
|
+
# @param [String] parent
|
2927
|
+
# Name of the dataset.
|
2928
|
+
# @param [String] filter
|
2929
|
+
# Restricts stores returned to those matching a filter. Syntax:
|
2930
|
+
# https://cloud.google.com/appengine/docs/standard/python/search/query_strings
|
2931
|
+
# Only filtering on labels is supported. For example, `labels.key=value`.
|
2932
|
+
# @param [Fixnum] page_size
|
2933
|
+
# Limit on the number of HL7v2 stores to return in a single response.
|
2934
|
+
# If zero the default page size of 100 is used.
|
2935
|
+
# @param [String] page_token
|
2936
|
+
# The next_page_token value returned from the previous List request, if any.
|
2937
|
+
# @param [String] fields
|
2938
|
+
# Selector specifying which fields to include in a partial response.
|
2939
|
+
# @param [String] quota_user
|
2940
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2941
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2942
|
+
# @param [Google::Apis::RequestOptions] options
|
2943
|
+
# Request-specific options
|
2944
|
+
#
|
2945
|
+
# @yield [result, err] Result & error if block supplied
|
2946
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListHl7V2StoresResponse] parsed result object
|
2947
|
+
# @yieldparam err [StandardError] error object if request failed
|
2948
|
+
#
|
2949
|
+
# @return [Google::Apis::HealthcareV1::ListHl7V2StoresResponse]
|
2950
|
+
#
|
2951
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2952
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2953
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2954
|
+
def list_project_location_dataset_hl7_v2_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2955
|
+
command = make_simple_command(:get, 'v1/{+parent}/hl7V2Stores', options)
|
2956
|
+
command.response_representation = Google::Apis::HealthcareV1::ListHl7V2StoresResponse::Representation
|
2957
|
+
command.response_class = Google::Apis::HealthcareV1::ListHl7V2StoresResponse
|
2958
|
+
command.params['parent'] = parent unless parent.nil?
|
2959
|
+
command.query['filter'] = filter unless filter.nil?
|
2960
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2961
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2962
|
+
command.query['fields'] = fields unless fields.nil?
|
2963
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2964
|
+
execute_or_queue_command(command, &block)
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
# Updates the HL7v2 store.
|
2968
|
+
# @param [String] name
|
2969
|
+
# Output only. Resource name of the HL7v2 store, of the form
|
2970
|
+
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
|
2971
|
+
# @param [Google::Apis::HealthcareV1::Hl7V2Store] hl7_v2_store_object
|
2972
|
+
# @param [String] update_mask
|
2973
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
2974
|
+
# see
|
2975
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
2976
|
+
# fieldmask
|
2977
|
+
# @param [String] fields
|
2978
|
+
# Selector specifying which fields to include in a partial response.
|
2979
|
+
# @param [String] quota_user
|
2980
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2981
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2982
|
+
# @param [Google::Apis::RequestOptions] options
|
2983
|
+
# Request-specific options
|
2984
|
+
#
|
2985
|
+
# @yield [result, err] Result & error if block supplied
|
2986
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Hl7V2Store] parsed result object
|
2987
|
+
# @yieldparam err [StandardError] error object if request failed
|
2988
|
+
#
|
2989
|
+
# @return [Google::Apis::HealthcareV1::Hl7V2Store]
|
2990
|
+
#
|
2991
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2992
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2993
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2994
|
+
def patch_project_location_dataset_hl7_v2_store(name, hl7_v2_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2995
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2996
|
+
command.request_representation = Google::Apis::HealthcareV1::Hl7V2Store::Representation
|
2997
|
+
command.request_object = hl7_v2_store_object
|
2998
|
+
command.response_representation = Google::Apis::HealthcareV1::Hl7V2Store::Representation
|
2999
|
+
command.response_class = Google::Apis::HealthcareV1::Hl7V2Store
|
3000
|
+
command.params['name'] = name unless name.nil?
|
3001
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3002
|
+
command.query['fields'] = fields unless fields.nil?
|
3003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3004
|
+
execute_or_queue_command(command, &block)
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
# Sets the access control policy on the specified resource. Replaces any
|
3008
|
+
# existing policy.
|
3009
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
3010
|
+
# @param [String] resource
|
3011
|
+
# REQUIRED: The resource for which the policy is being specified.
|
3012
|
+
# See the operation documentation for the appropriate value for this field.
|
3013
|
+
# @param [Google::Apis::HealthcareV1::SetIamPolicyRequest] set_iam_policy_request_object
|
3014
|
+
# @param [String] fields
|
3015
|
+
# Selector specifying which fields to include in a partial response.
|
3016
|
+
# @param [String] quota_user
|
3017
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3018
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3019
|
+
# @param [Google::Apis::RequestOptions] options
|
3020
|
+
# Request-specific options
|
3021
|
+
#
|
3022
|
+
# @yield [result, err] Result & error if block supplied
|
3023
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
|
3024
|
+
# @yieldparam err [StandardError] error object if request failed
|
3025
|
+
#
|
3026
|
+
# @return [Google::Apis::HealthcareV1::Policy]
|
3027
|
+
#
|
3028
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3029
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3030
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3031
|
+
def set_hl7_v2_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3032
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
3033
|
+
command.request_representation = Google::Apis::HealthcareV1::SetIamPolicyRequest::Representation
|
3034
|
+
command.request_object = set_iam_policy_request_object
|
3035
|
+
command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
|
3036
|
+
command.response_class = Google::Apis::HealthcareV1::Policy
|
3037
|
+
command.params['resource'] = resource unless resource.nil?
|
3038
|
+
command.query['fields'] = fields unless fields.nil?
|
3039
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3040
|
+
execute_or_queue_command(command, &block)
|
3041
|
+
end
|
3042
|
+
|
3043
|
+
# Returns permissions that a caller has on the specified resource.
|
3044
|
+
# If the resource does not exist, this will return an empty set of
|
3045
|
+
# permissions, not a NOT_FOUND error.
|
3046
|
+
# Note: This operation is designed to be used for building permission-aware
|
3047
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
3048
|
+
# may "fail open" without warning.
|
3049
|
+
# @param [String] resource
|
3050
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
3051
|
+
# See the operation documentation for the appropriate value for this field.
|
3052
|
+
# @param [Google::Apis::HealthcareV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
3053
|
+
# @param [String] fields
|
3054
|
+
# Selector specifying which fields to include in a partial response.
|
3055
|
+
# @param [String] quota_user
|
3056
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3057
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3058
|
+
# @param [Google::Apis::RequestOptions] options
|
3059
|
+
# Request-specific options
|
3060
|
+
#
|
3061
|
+
# @yield [result, err] Result & error if block supplied
|
3062
|
+
# @yieldparam result [Google::Apis::HealthcareV1::TestIamPermissionsResponse] parsed result object
|
3063
|
+
# @yieldparam err [StandardError] error object if request failed
|
3064
|
+
#
|
3065
|
+
# @return [Google::Apis::HealthcareV1::TestIamPermissionsResponse]
|
3066
|
+
#
|
3067
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3068
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3069
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3070
|
+
def test_hl7_v2_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3071
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
3072
|
+
command.request_representation = Google::Apis::HealthcareV1::TestIamPermissionsRequest::Representation
|
3073
|
+
command.request_object = test_iam_permissions_request_object
|
3074
|
+
command.response_representation = Google::Apis::HealthcareV1::TestIamPermissionsResponse::Representation
|
3075
|
+
command.response_class = Google::Apis::HealthcareV1::TestIamPermissionsResponse
|
3076
|
+
command.params['resource'] = resource unless resource.nil?
|
3077
|
+
command.query['fields'] = fields unless fields.nil?
|
3078
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3079
|
+
execute_or_queue_command(command, &block)
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
# Creates a message and sends a notification to the Cloud Pub/Sub topic. If
|
3083
|
+
# configured, the MLLP adapter listens to messages created by this method and
|
3084
|
+
# sends those back to the hospital. A successful response indicates the
|
3085
|
+
# message has been persisted to storage and a Cloud Pub/Sub notification has
|
3086
|
+
# been sent. Sending to the hospital by the MLLP adapter happens
|
3087
|
+
# asynchronously.
|
3088
|
+
# @param [String] parent
|
3089
|
+
# The name of the dataset this message belongs to.
|
3090
|
+
# @param [Google::Apis::HealthcareV1::CreateMessageRequest] create_message_request_object
|
3091
|
+
# @param [String] fields
|
3092
|
+
# Selector specifying which fields to include in a partial response.
|
3093
|
+
# @param [String] quota_user
|
3094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3096
|
+
# @param [Google::Apis::RequestOptions] options
|
3097
|
+
# Request-specific options
|
3098
|
+
#
|
3099
|
+
# @yield [result, err] Result & error if block supplied
|
3100
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Message] parsed result object
|
3101
|
+
# @yieldparam err [StandardError] error object if request failed
|
3102
|
+
#
|
3103
|
+
# @return [Google::Apis::HealthcareV1::Message]
|
3104
|
+
#
|
3105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3108
|
+
def create_message(parent, create_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3109
|
+
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
3110
|
+
command.request_representation = Google::Apis::HealthcareV1::CreateMessageRequest::Representation
|
3111
|
+
command.request_object = create_message_request_object
|
3112
|
+
command.response_representation = Google::Apis::HealthcareV1::Message::Representation
|
3113
|
+
command.response_class = Google::Apis::HealthcareV1::Message
|
3114
|
+
command.params['parent'] = parent unless parent.nil?
|
3115
|
+
command.query['fields'] = fields unless fields.nil?
|
3116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3117
|
+
execute_or_queue_command(command, &block)
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
# Deletes an HL7v2 message.
|
3121
|
+
# @param [String] name
|
3122
|
+
# The resource name of the HL7v2 message to delete.
|
3123
|
+
# @param [String] fields
|
3124
|
+
# Selector specifying which fields to include in a partial response.
|
3125
|
+
# @param [String] quota_user
|
3126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3128
|
+
# @param [Google::Apis::RequestOptions] options
|
3129
|
+
# Request-specific options
|
3130
|
+
#
|
3131
|
+
# @yield [result, err] Result & error if block supplied
|
3132
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
3133
|
+
# @yieldparam err [StandardError] error object if request failed
|
3134
|
+
#
|
3135
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
3136
|
+
#
|
3137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3140
|
+
def delete_project_location_dataset_hl7_v2_store_message(name, fields: nil, quota_user: nil, options: nil, &block)
|
3141
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3142
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
3143
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
3144
|
+
command.params['name'] = name unless name.nil?
|
3145
|
+
command.query['fields'] = fields unless fields.nil?
|
3146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3147
|
+
execute_or_queue_command(command, &block)
|
3148
|
+
end
|
3149
|
+
|
3150
|
+
# Gets an HL7v2 message.
|
3151
|
+
# @param [String] name
|
3152
|
+
# The resource name of the HL7v2 message to retrieve.
|
3153
|
+
# @param [String] view
|
3154
|
+
# Specifies which parts of the Message resource to return in the response.
|
3155
|
+
# When unspecified, equivalent to FULL.
|
3156
|
+
# @param [String] fields
|
3157
|
+
# Selector specifying which fields to include in a partial response.
|
3158
|
+
# @param [String] quota_user
|
3159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3161
|
+
# @param [Google::Apis::RequestOptions] options
|
3162
|
+
# Request-specific options
|
3163
|
+
#
|
3164
|
+
# @yield [result, err] Result & error if block supplied
|
3165
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Message] parsed result object
|
3166
|
+
# @yieldparam err [StandardError] error object if request failed
|
3167
|
+
#
|
3168
|
+
# @return [Google::Apis::HealthcareV1::Message]
|
3169
|
+
#
|
3170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3173
|
+
def get_project_location_dataset_hl7_v2_store_message(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3174
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3175
|
+
command.response_representation = Google::Apis::HealthcareV1::Message::Representation
|
3176
|
+
command.response_class = Google::Apis::HealthcareV1::Message
|
3177
|
+
command.params['name'] = name unless name.nil?
|
3178
|
+
command.query['view'] = view unless view.nil?
|
3179
|
+
command.query['fields'] = fields unless fields.nil?
|
3180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3181
|
+
execute_or_queue_command(command, &block)
|
3182
|
+
end
|
3183
|
+
|
3184
|
+
# Ingests a new HL7v2 message from the hospital and sends a notification to
|
3185
|
+
# the Cloud Pub/Sub topic. Return is an HL7v2 ACK message if the message was
|
3186
|
+
# successfully stored. Otherwise an error is returned.
|
3187
|
+
# @param [String] parent
|
3188
|
+
# The name of the HL7v2 store this message belongs to.
|
3189
|
+
# @param [Google::Apis::HealthcareV1::IngestMessageRequest] ingest_message_request_object
|
3190
|
+
# @param [String] fields
|
3191
|
+
# Selector specifying which fields to include in a partial response.
|
3192
|
+
# @param [String] quota_user
|
3193
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3194
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3195
|
+
# @param [Google::Apis::RequestOptions] options
|
3196
|
+
# Request-specific options
|
3197
|
+
#
|
3198
|
+
# @yield [result, err] Result & error if block supplied
|
3199
|
+
# @yieldparam result [Google::Apis::HealthcareV1::IngestMessageResponse] parsed result object
|
3200
|
+
# @yieldparam err [StandardError] error object if request failed
|
3201
|
+
#
|
3202
|
+
# @return [Google::Apis::HealthcareV1::IngestMessageResponse]
|
3203
|
+
#
|
3204
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3205
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3206
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3207
|
+
def ingest_message(parent, ingest_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3208
|
+
command = make_simple_command(:post, 'v1/{+parent}/messages:ingest', options)
|
3209
|
+
command.request_representation = Google::Apis::HealthcareV1::IngestMessageRequest::Representation
|
3210
|
+
command.request_object = ingest_message_request_object
|
3211
|
+
command.response_representation = Google::Apis::HealthcareV1::IngestMessageResponse::Representation
|
3212
|
+
command.response_class = Google::Apis::HealthcareV1::IngestMessageResponse
|
3213
|
+
command.params['parent'] = parent unless parent.nil?
|
3214
|
+
command.query['fields'] = fields unless fields.nil?
|
3215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3216
|
+
execute_or_queue_command(command, &block)
|
3217
|
+
end
|
3218
|
+
|
3219
|
+
# Lists all the messages in the given HL7v2 store with support for filtering.
|
3220
|
+
# Note: HL7v2 messages are indexed asynchronously, so there might be a slight
|
3221
|
+
# delay between the time a message is created and when it can be found
|
3222
|
+
# through a filter.
|
3223
|
+
# @param [String] parent
|
3224
|
+
# Name of the HL7v2 store to retrieve messages from.
|
3225
|
+
# @param [String] filter
|
3226
|
+
# Restricts messages returned to those matching a filter. Syntax:
|
3227
|
+
# https://cloud.google.com/appengine/docs/standard/python/search/query_strings
|
3228
|
+
# Fields/functions available for filtering are:
|
3229
|
+
# * `message_type`, from the MSH-9.1 field. For example,
|
3230
|
+
# `NOT message_type = "ADT"`.
|
3231
|
+
# * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
|
3232
|
+
# the dataset's time_zone, from the MSH-7 segment. For example,
|
3233
|
+
# `send_date < "2017-01-02"`.
|
3234
|
+
# * `send_time`, the timestamp when the message was sent, using the
|
3235
|
+
# RFC3339 time format for comparisons, from the MSH-7 segment. For example,
|
3236
|
+
# `send_time < "2017-01-02T00:00:00-05:00"`.
|
3237
|
+
# * `send_facility`, the care center that the message came from, from the
|
3238
|
+
# MSH-4 segment. For example, `send_facility = "ABC"`.
|
3239
|
+
# * `PatientId(value, type)`, which matches if the message lists a patient
|
3240
|
+
# having an ID of the given value and type in the PID-2, PID-3, or PID-4
|
3241
|
+
# segments. For example, `PatientId("123456", "MRN")`.
|
3242
|
+
# * `labels.x`, a string value of the label with key `x` as set using the
|
3243
|
+
# Message.labels
|
3244
|
+
# map. For example, `labels."priority"="high"`. The operator `:*` can be used
|
3245
|
+
# to assert the existence of a label. For example, `labels."priority":*`.
|
3246
|
+
# @param [String] order_by
|
3247
|
+
# Orders messages returned by the specified order_by clause.
|
3248
|
+
# Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order
|
3249
|
+
# Fields available for ordering are:
|
3250
|
+
# * `send_time`
|
3251
|
+
# @param [Fixnum] page_size
|
3252
|
+
# Limit on the number of messages to return in a single response.
|
3253
|
+
# If zero the default page size of 100 is used.
|
3254
|
+
# @param [String] page_token
|
3255
|
+
# The next_page_token value returned from the previous List request, if any.
|
3256
|
+
# @param [String] view
|
3257
|
+
# Specifies the parts of the Message to return in the response.
|
3258
|
+
# When unspecified, equivalent to BASIC. Setting this to anything other than
|
3259
|
+
# BASIC with a `page_size` larger than the default can generate a large
|
3260
|
+
# response, which impacts the performance of this method.
|
3261
|
+
# @param [String] fields
|
3262
|
+
# Selector specifying which fields to include in a partial response.
|
3263
|
+
# @param [String] quota_user
|
3264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3266
|
+
# @param [Google::Apis::RequestOptions] options
|
3267
|
+
# Request-specific options
|
3268
|
+
#
|
3269
|
+
# @yield [result, err] Result & error if block supplied
|
3270
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListMessagesResponse] parsed result object
|
3271
|
+
# @yieldparam err [StandardError] error object if request failed
|
3272
|
+
#
|
3273
|
+
# @return [Google::Apis::HealthcareV1::ListMessagesResponse]
|
3274
|
+
#
|
3275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3278
|
+
def list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3279
|
+
command = make_simple_command(:get, 'v1/{+parent}/messages', options)
|
3280
|
+
command.response_representation = Google::Apis::HealthcareV1::ListMessagesResponse::Representation
|
3281
|
+
command.response_class = Google::Apis::HealthcareV1::ListMessagesResponse
|
3282
|
+
command.params['parent'] = parent unless parent.nil?
|
3283
|
+
command.query['filter'] = filter unless filter.nil?
|
3284
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3285
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3286
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3287
|
+
command.query['view'] = view unless view.nil?
|
3288
|
+
command.query['fields'] = fields unless fields.nil?
|
3289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3290
|
+
execute_or_queue_command(command, &block)
|
3291
|
+
end
|
3292
|
+
|
3293
|
+
# Update the message.
|
3294
|
+
# The contents of the message in Message.data and data extracted from
|
3295
|
+
# the contents such as Message.create_time cannot be altered. Only the
|
3296
|
+
# Message.labels field is allowed to be updated. The labels in the
|
3297
|
+
# request are merged with the existing set of labels. Existing labels with
|
3298
|
+
# the same keys are updated.
|
3299
|
+
# @param [String] name
|
3300
|
+
# Resource name of the Message, of the form
|
3301
|
+
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
|
3302
|
+
# messages/`message_id``.
|
3303
|
+
# Assigned by the server.
|
3304
|
+
# @param [Google::Apis::HealthcareV1::Message] message_object
|
3305
|
+
# @param [String] update_mask
|
3306
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
3307
|
+
# see
|
3308
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
3309
|
+
# fieldmask
|
3310
|
+
# @param [String] fields
|
3311
|
+
# Selector specifying which fields to include in a partial response.
|
3312
|
+
# @param [String] quota_user
|
3313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3315
|
+
# @param [Google::Apis::RequestOptions] options
|
3316
|
+
# Request-specific options
|
3317
|
+
#
|
3318
|
+
# @yield [result, err] Result & error if block supplied
|
3319
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Message] parsed result object
|
3320
|
+
# @yieldparam err [StandardError] error object if request failed
|
3321
|
+
#
|
3322
|
+
# @return [Google::Apis::HealthcareV1::Message]
|
3323
|
+
#
|
3324
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3325
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3326
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3327
|
+
def patch_project_location_dataset_hl7_v2_store_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3328
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3329
|
+
command.request_representation = Google::Apis::HealthcareV1::Message::Representation
|
3330
|
+
command.request_object = message_object
|
3331
|
+
command.response_representation = Google::Apis::HealthcareV1::Message::Representation
|
3332
|
+
command.response_class = Google::Apis::HealthcareV1::Message
|
3333
|
+
command.params['name'] = name unless name.nil?
|
3334
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3335
|
+
command.query['fields'] = fields unless fields.nil?
|
3336
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3337
|
+
execute_or_queue_command(command, &block)
|
3338
|
+
end
|
3339
|
+
|
3340
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
3341
|
+
# makes a best effort to cancel the operation, but success is not
|
3342
|
+
# guaranteed. If the server doesn't support this method, it returns
|
3343
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
3344
|
+
# Operations.GetOperation or
|
3345
|
+
# other methods to check whether the cancellation succeeded or whether the
|
3346
|
+
# operation completed despite cancellation. On successful cancellation,
|
3347
|
+
# the operation is not deleted; instead, it becomes an operation with
|
3348
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
3349
|
+
# corresponding to `Code.CANCELLED`.
|
3350
|
+
# @param [String] name
|
3351
|
+
# The name of the operation resource to be cancelled.
|
3352
|
+
# @param [Google::Apis::HealthcareV1::CancelOperationRequest] cancel_operation_request_object
|
3353
|
+
# @param [String] fields
|
3354
|
+
# Selector specifying which fields to include in a partial response.
|
3355
|
+
# @param [String] quota_user
|
3356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3358
|
+
# @param [Google::Apis::RequestOptions] options
|
3359
|
+
# Request-specific options
|
3360
|
+
#
|
3361
|
+
# @yield [result, err] Result & error if block supplied
|
3362
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Empty] parsed result object
|
3363
|
+
# @yieldparam err [StandardError] error object if request failed
|
3364
|
+
#
|
3365
|
+
# @return [Google::Apis::HealthcareV1::Empty]
|
3366
|
+
#
|
3367
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3368
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3369
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3370
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3371
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
3372
|
+
command.request_representation = Google::Apis::HealthcareV1::CancelOperationRequest::Representation
|
3373
|
+
command.request_object = cancel_operation_request_object
|
3374
|
+
command.response_representation = Google::Apis::HealthcareV1::Empty::Representation
|
3375
|
+
command.response_class = Google::Apis::HealthcareV1::Empty
|
3376
|
+
command.params['name'] = name unless name.nil?
|
3377
|
+
command.query['fields'] = fields unless fields.nil?
|
3378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3379
|
+
execute_or_queue_command(command, &block)
|
3380
|
+
end
|
3381
|
+
|
3382
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
3383
|
+
# method to poll the operation result at intervals as recommended by the API
|
3384
|
+
# service.
|
3385
|
+
# @param [String] name
|
3386
|
+
# The name of the operation resource.
|
3387
|
+
# @param [String] fields
|
3388
|
+
# Selector specifying which fields to include in a partial response.
|
3389
|
+
# @param [String] quota_user
|
3390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3392
|
+
# @param [Google::Apis::RequestOptions] options
|
3393
|
+
# Request-specific options
|
3394
|
+
#
|
3395
|
+
# @yield [result, err] Result & error if block supplied
|
3396
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
|
3397
|
+
# @yieldparam err [StandardError] error object if request failed
|
3398
|
+
#
|
3399
|
+
# @return [Google::Apis::HealthcareV1::Operation]
|
3400
|
+
#
|
3401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3404
|
+
def get_project_location_dataset_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
3405
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3406
|
+
command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
|
3407
|
+
command.response_class = Google::Apis::HealthcareV1::Operation
|
3408
|
+
command.params['name'] = name unless name.nil?
|
3409
|
+
command.query['fields'] = fields unless fields.nil?
|
3410
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3411
|
+
execute_or_queue_command(command, &block)
|
3412
|
+
end
|
3413
|
+
|
3414
|
+
# Lists operations that match the specified filter in the request. If the
|
3415
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
3416
|
+
# NOTE: the `name` binding allows API services to override the binding
|
3417
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
3418
|
+
# override the binding, API services can add a binding such as
|
3419
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
3420
|
+
# For backwards compatibility, the default name includes the operations
|
3421
|
+
# collection id, however overriding users must ensure the name binding
|
3422
|
+
# is the parent resource, without the operations collection id.
|
3423
|
+
# @param [String] name
|
3424
|
+
# The name of the operation's parent resource.
|
3425
|
+
# @param [String] filter
|
3426
|
+
# The standard list filter.
|
3427
|
+
# @param [Fixnum] page_size
|
3428
|
+
# The standard list page size.
|
3429
|
+
# @param [String] page_token
|
3430
|
+
# The standard list page token.
|
3431
|
+
# @param [String] fields
|
3432
|
+
# Selector specifying which fields to include in a partial response.
|
3433
|
+
# @param [String] quota_user
|
3434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3436
|
+
# @param [Google::Apis::RequestOptions] options
|
3437
|
+
# Request-specific options
|
3438
|
+
#
|
3439
|
+
# @yield [result, err] Result & error if block supplied
|
3440
|
+
# @yieldparam result [Google::Apis::HealthcareV1::ListOperationsResponse] parsed result object
|
3441
|
+
# @yieldparam err [StandardError] error object if request failed
|
3442
|
+
#
|
3443
|
+
# @return [Google::Apis::HealthcareV1::ListOperationsResponse]
|
3444
|
+
#
|
3445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3448
|
+
def list_project_location_dataset_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3449
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
3450
|
+
command.response_representation = Google::Apis::HealthcareV1::ListOperationsResponse::Representation
|
3451
|
+
command.response_class = Google::Apis::HealthcareV1::ListOperationsResponse
|
3452
|
+
command.params['name'] = name unless name.nil?
|
3453
|
+
command.query['filter'] = filter unless filter.nil?
|
3454
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3455
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3456
|
+
command.query['fields'] = fields unless fields.nil?
|
3457
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3458
|
+
execute_or_queue_command(command, &block)
|
3459
|
+
end
|
3460
|
+
|
3461
|
+
protected
|
3462
|
+
|
3463
|
+
def apply_command_defaults(command)
|
3464
|
+
command.query['key'] = key unless key.nil?
|
3465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3466
|
+
end
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
end
|
3470
|
+
end
|