google-api-client 0.44.1 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +356 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1641 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +259 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +442 -14
- data/generated/google/apis/apigee_v1/representations.rb +161 -1
- data/generated/google/apis/apigee_v1/service.rb +264 -44
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +86 -18
- data/generated/google/apis/bigquery_v2/representations.rb +18 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -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 +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
- data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +336 -53
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +80 -8
- data/generated/google/apis/container_v1beta1/representations.rb +21 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +115 -4
- data/generated/google/apis/content_v2_1/representations.rb +48 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +47 -8
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +250 -56
- data/generated/google/apis/dialogflow_v2/representations.rb +119 -7
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -72
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +119 -7
- data/generated/google/apis/dialogflow_v2beta1/service.rb +518 -330
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +353 -66
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +154 -8
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +15 -12
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +31 -5
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +15 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +75 -1
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +183 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1106 -274
- data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1708 -265
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +91 -37
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +59 -98
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +13 -134
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +190 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -2
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +78 -16
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
|
@@ -118,9 +118,7 @@ module Google
|
|
|
118
118
|
|
|
119
119
|
# Creates a new health dataset. Results are returned through the Operation
|
|
120
120
|
# interface which returns either an `Operation.response` which contains a
|
|
121
|
-
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
|
122
|
-
# Google Cloud Platform project can contain up to 500 datasets across all
|
|
123
|
-
# regions.
|
|
121
|
+
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
|
124
122
|
# @param [String] parent
|
|
125
123
|
# The name of the project where the server creates the dataset. For example, `
|
|
126
124
|
# projects/`project_id`/locations/`location_id``.
|
|
@@ -528,7 +526,7 @@ module Google
|
|
|
528
526
|
# EvaluateAnnotationStoreResponse, contained in the response. The metadata field
|
|
529
527
|
# type is OperationMetadata. Errors are logged to Cloud Logging (see [Viewing
|
|
530
528
|
# logs](/healthcare/docs/how-tos/logging)).
|
|
531
|
-
# @param [String]
|
|
529
|
+
# @param [String] name
|
|
532
530
|
# The Annotation store to compare against `golden_store`, in the format of `
|
|
533
531
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
534
532
|
# annotationStores/`annotation_store_id``.
|
|
@@ -550,28 +548,1367 @@ module Google
|
|
|
550
548
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
551
549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
552
550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
553
|
-
def evaluate_annotation_store(
|
|
554
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
|
555
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest::Representation
|
|
556
|
-
command.request_object = evaluate_annotation_store_request_object
|
|
557
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
558
|
-
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
559
|
-
command.params['
|
|
551
|
+
def evaluate_annotation_store(name, evaluate_annotation_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
552
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:evaluate', options)
|
|
553
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest::Representation
|
|
554
|
+
command.request_object = evaluate_annotation_store_request_object
|
|
555
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
556
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
557
|
+
command.params['name'] = name unless name.nil?
|
|
558
|
+
command.query['fields'] = fields unless fields.nil?
|
|
559
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
560
|
+
execute_or_queue_command(command, &block)
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# Export Annotations from the Annotation store. If the request is successful, a
|
|
564
|
+
# detailed response is returned of type ExportAnnotationsResponse, contained in
|
|
565
|
+
# the response field when the operation finishes. The metadata field type is
|
|
566
|
+
# OperationMetadata. Errors are logged to Cloud Logging (see [Viewing logs](/
|
|
567
|
+
# healthcare/docs/how-tos/logging)).
|
|
568
|
+
# @param [String] name
|
|
569
|
+
# The name of the Annotation store to export annotations to, in the format of `
|
|
570
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
571
|
+
# annotationStores/`annotation_store_id``.
|
|
572
|
+
# @param [Google::Apis::HealthcareV1beta1::ExportAnnotationsRequest] export_annotations_request_object
|
|
573
|
+
# @param [String] fields
|
|
574
|
+
# Selector specifying which fields to include in a partial response.
|
|
575
|
+
# @param [String] quota_user
|
|
576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
578
|
+
# @param [Google::Apis::RequestOptions] options
|
|
579
|
+
# Request-specific options
|
|
580
|
+
#
|
|
581
|
+
# @yield [result, err] Result & error if block supplied
|
|
582
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
|
583
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
584
|
+
#
|
|
585
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
|
586
|
+
#
|
|
587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
590
|
+
def export_annotation_store_annotations(name, export_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
591
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
|
|
592
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ExportAnnotationsRequest::Representation
|
|
593
|
+
command.request_object = export_annotations_request_object
|
|
594
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
595
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
596
|
+
command.params['name'] = name unless name.nil?
|
|
597
|
+
command.query['fields'] = fields unless fields.nil?
|
|
598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
599
|
+
execute_or_queue_command(command, &block)
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
# Gets the specified Annotation store or returns NOT_FOUND if it does not exist.
|
|
603
|
+
# @param [String] name
|
|
604
|
+
# The resource name of the Annotation store to get.
|
|
605
|
+
# @param [String] fields
|
|
606
|
+
# Selector specifying which fields to include in a partial response.
|
|
607
|
+
# @param [String] quota_user
|
|
608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
610
|
+
# @param [Google::Apis::RequestOptions] options
|
|
611
|
+
# Request-specific options
|
|
612
|
+
#
|
|
613
|
+
# @yield [result, err] Result & error if block supplied
|
|
614
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AnnotationStore] parsed result object
|
|
615
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
616
|
+
#
|
|
617
|
+
# @return [Google::Apis::HealthcareV1beta1::AnnotationStore]
|
|
618
|
+
#
|
|
619
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
620
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
621
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
622
|
+
def get_project_location_dataset_annotation_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
623
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
624
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AnnotationStore::Representation
|
|
625
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AnnotationStore
|
|
626
|
+
command.params['name'] = name unless name.nil?
|
|
627
|
+
command.query['fields'] = fields unless fields.nil?
|
|
628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
629
|
+
execute_or_queue_command(command, &block)
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
633
|
+
# resource exists and does not have a policy set.
|
|
634
|
+
# @param [String] resource
|
|
635
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
636
|
+
# operation documentation for the appropriate value for this field.
|
|
637
|
+
# @param [Fixnum] options_requested_policy_version
|
|
638
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
639
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
640
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
641
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
642
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
643
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
644
|
+
# resource-policies).
|
|
645
|
+
# @param [String] fields
|
|
646
|
+
# Selector specifying which fields to include in a partial response.
|
|
647
|
+
# @param [String] quota_user
|
|
648
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
649
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
650
|
+
# @param [Google::Apis::RequestOptions] options
|
|
651
|
+
# Request-specific options
|
|
652
|
+
#
|
|
653
|
+
# @yield [result, err] Result & error if block supplied
|
|
654
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
|
655
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
656
|
+
#
|
|
657
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
|
658
|
+
#
|
|
659
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
660
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
661
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
662
|
+
def get_project_location_dataset_annotation_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
663
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
664
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
|
665
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
|
666
|
+
command.params['resource'] = resource unless resource.nil?
|
|
667
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
668
|
+
command.query['fields'] = fields unless fields.nil?
|
|
669
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
670
|
+
execute_or_queue_command(command, &block)
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
# Import Annotations to the Annotation store by loading data from the specified
|
|
674
|
+
# sources. If the request is successful, a detailed response is returned as of
|
|
675
|
+
# type ImportAnnotationsResponse, contained in the response field when the
|
|
676
|
+
# operation finishes. The metadata field type is OperationMetadata. Errors are
|
|
677
|
+
# logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
|
678
|
+
# @param [String] name
|
|
679
|
+
# The name of the Annotation store to which the server imports annotations, in
|
|
680
|
+
# the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
|
|
681
|
+
# /annotationStores/`annotation_store_id``.
|
|
682
|
+
# @param [Google::Apis::HealthcareV1beta1::ImportAnnotationsRequest] import_annotations_request_object
|
|
683
|
+
# @param [String] fields
|
|
684
|
+
# Selector specifying which fields to include in a partial response.
|
|
685
|
+
# @param [String] quota_user
|
|
686
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
687
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
688
|
+
# @param [Google::Apis::RequestOptions] options
|
|
689
|
+
# Request-specific options
|
|
690
|
+
#
|
|
691
|
+
# @yield [result, err] Result & error if block supplied
|
|
692
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
|
693
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
694
|
+
#
|
|
695
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
|
696
|
+
#
|
|
697
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
698
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
699
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
700
|
+
def import_annotation_store_annotations(name, import_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
701
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:import', options)
|
|
702
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ImportAnnotationsRequest::Representation
|
|
703
|
+
command.request_object = import_annotations_request_object
|
|
704
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
705
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
706
|
+
command.params['name'] = name unless name.nil?
|
|
707
|
+
command.query['fields'] = fields unless fields.nil?
|
|
708
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
709
|
+
execute_or_queue_command(command, &block)
|
|
710
|
+
end
|
|
711
|
+
|
|
712
|
+
# Lists the Annotation stores in the given dataset for a source store.
|
|
713
|
+
# @param [String] parent
|
|
714
|
+
# Name of the dataset.
|
|
715
|
+
# @param [String] filter
|
|
716
|
+
# Restricts stores returned to those matching a filter. Syntax: https://cloud.
|
|
717
|
+
# google.com/appengine/docs/standard/python/search/query_strings Only filtering
|
|
718
|
+
# on labels is supported, for example `labels.key=value`.
|
|
719
|
+
# @param [Fixnum] page_size
|
|
720
|
+
# Limit on the number of Annotation stores to return in a single response. If
|
|
721
|
+
# zero the default page size of 100 is used.
|
|
722
|
+
# @param [String] page_token
|
|
723
|
+
# The next_page_token value returned from the previous List request, if any.
|
|
724
|
+
# @param [String] fields
|
|
725
|
+
# Selector specifying which fields to include in a partial response.
|
|
726
|
+
# @param [String] quota_user
|
|
727
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
728
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
729
|
+
# @param [Google::Apis::RequestOptions] options
|
|
730
|
+
# Request-specific options
|
|
731
|
+
#
|
|
732
|
+
# @yield [result, err] Result & error if block supplied
|
|
733
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListAnnotationStoresResponse] parsed result object
|
|
734
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
735
|
+
#
|
|
736
|
+
# @return [Google::Apis::HealthcareV1beta1::ListAnnotationStoresResponse]
|
|
737
|
+
#
|
|
738
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
739
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
740
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
741
|
+
def list_project_location_dataset_annotation_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
742
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/annotationStores', options)
|
|
743
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListAnnotationStoresResponse::Representation
|
|
744
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListAnnotationStoresResponse
|
|
745
|
+
command.params['parent'] = parent unless parent.nil?
|
|
746
|
+
command.query['filter'] = filter unless filter.nil?
|
|
747
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
748
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
749
|
+
command.query['fields'] = fields unless fields.nil?
|
|
750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
751
|
+
execute_or_queue_command(command, &block)
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
# Updates the specified Annotation store.
|
|
755
|
+
# @param [String] name
|
|
756
|
+
# Resource name of the Annotation store, of the form `projects/`project_id`/
|
|
757
|
+
# locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
|
758
|
+
# annotation_store_id``.
|
|
759
|
+
# @param [Google::Apis::HealthcareV1beta1::AnnotationStore] annotation_store_object
|
|
760
|
+
# @param [String] update_mask
|
|
761
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
|
762
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
763
|
+
# fieldmask
|
|
764
|
+
# @param [String] fields
|
|
765
|
+
# Selector specifying which fields to include in a partial response.
|
|
766
|
+
# @param [String] quota_user
|
|
767
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
768
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
769
|
+
# @param [Google::Apis::RequestOptions] options
|
|
770
|
+
# Request-specific options
|
|
771
|
+
#
|
|
772
|
+
# @yield [result, err] Result & error if block supplied
|
|
773
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AnnotationStore] parsed result object
|
|
774
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
775
|
+
#
|
|
776
|
+
# @return [Google::Apis::HealthcareV1beta1::AnnotationStore]
|
|
777
|
+
#
|
|
778
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
779
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
780
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
781
|
+
def patch_project_location_dataset_annotation_store(name, annotation_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
782
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
783
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::AnnotationStore::Representation
|
|
784
|
+
command.request_object = annotation_store_object
|
|
785
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AnnotationStore::Representation
|
|
786
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AnnotationStore
|
|
787
|
+
command.params['name'] = name unless name.nil?
|
|
788
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
789
|
+
command.query['fields'] = fields unless fields.nil?
|
|
790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
791
|
+
execute_or_queue_command(command, &block)
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
795
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
796
|
+
# PERMISSION_DENIED` errors.
|
|
797
|
+
# @param [String] resource
|
|
798
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
799
|
+
# operation documentation for the appropriate value for this field.
|
|
800
|
+
# @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
801
|
+
# @param [String] fields
|
|
802
|
+
# Selector specifying which fields to include in a partial response.
|
|
803
|
+
# @param [String] quota_user
|
|
804
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
805
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
806
|
+
# @param [Google::Apis::RequestOptions] options
|
|
807
|
+
# Request-specific options
|
|
808
|
+
#
|
|
809
|
+
# @yield [result, err] Result & error if block supplied
|
|
810
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
|
811
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
812
|
+
#
|
|
813
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
|
814
|
+
#
|
|
815
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
816
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
817
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
818
|
+
def set_annotation_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
819
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
|
820
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
|
|
821
|
+
command.request_object = set_iam_policy_request_object
|
|
822
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
|
823
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
|
824
|
+
command.params['resource'] = resource unless resource.nil?
|
|
825
|
+
command.query['fields'] = fields unless fields.nil?
|
|
826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
827
|
+
execute_or_queue_command(command, &block)
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
831
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
832
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
833
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
834
|
+
# This operation may "fail open" without warning.
|
|
835
|
+
# @param [String] resource
|
|
836
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
837
|
+
# operation documentation for the appropriate value for this field.
|
|
838
|
+
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
839
|
+
# @param [String] fields
|
|
840
|
+
# Selector specifying which fields to include in a partial response.
|
|
841
|
+
# @param [String] quota_user
|
|
842
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
843
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
844
|
+
# @param [Google::Apis::RequestOptions] options
|
|
845
|
+
# Request-specific options
|
|
846
|
+
#
|
|
847
|
+
# @yield [result, err] Result & error if block supplied
|
|
848
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
|
|
849
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
850
|
+
#
|
|
851
|
+
# @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
|
|
852
|
+
#
|
|
853
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
854
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
855
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
856
|
+
def test_annotation_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
857
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
|
858
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
|
|
859
|
+
command.request_object = test_iam_permissions_request_object
|
|
860
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
|
|
861
|
+
command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
|
|
862
|
+
command.params['resource'] = resource unless resource.nil?
|
|
863
|
+
command.query['fields'] = fields unless fields.nil?
|
|
864
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
865
|
+
execute_or_queue_command(command, &block)
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# Creates a new Annotation record. It is valid to create Annotation objects for
|
|
869
|
+
# the same source more than once since a unique ID is assigned to each record by
|
|
870
|
+
# this service.
|
|
871
|
+
# @param [String] parent
|
|
872
|
+
# The name of the Annotation store this annotation belongs to. For example, `
|
|
873
|
+
# projects/my-project/locations/us-central1/datasets/mydataset/annotationStores/
|
|
874
|
+
# myannotationstore`.
|
|
875
|
+
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
|
876
|
+
# @param [String] fields
|
|
877
|
+
# Selector specifying which fields to include in a partial response.
|
|
878
|
+
# @param [String] quota_user
|
|
879
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
880
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
881
|
+
# @param [Google::Apis::RequestOptions] options
|
|
882
|
+
# Request-specific options
|
|
883
|
+
#
|
|
884
|
+
# @yield [result, err] Result & error if block supplied
|
|
885
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
|
886
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
887
|
+
#
|
|
888
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
|
889
|
+
#
|
|
890
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
891
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
892
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
893
|
+
def create_project_location_dataset_annotation_store_annotation(parent, annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
894
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/annotations', options)
|
|
895
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
|
896
|
+
command.request_object = annotation_object
|
|
897
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
|
898
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
|
899
|
+
command.params['parent'] = parent unless parent.nil?
|
|
900
|
+
command.query['fields'] = fields unless fields.nil?
|
|
901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
902
|
+
execute_or_queue_command(command, &block)
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
# Deletes an Annotation or returns NOT_FOUND if it does not exist.
|
|
906
|
+
# @param [String] name
|
|
907
|
+
# The resource name of the Annotation to delete.
|
|
908
|
+
# @param [String] fields
|
|
909
|
+
# Selector specifying which fields to include in a partial response.
|
|
910
|
+
# @param [String] quota_user
|
|
911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
913
|
+
# @param [Google::Apis::RequestOptions] options
|
|
914
|
+
# Request-specific options
|
|
915
|
+
#
|
|
916
|
+
# @yield [result, err] Result & error if block supplied
|
|
917
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
918
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
919
|
+
#
|
|
920
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
921
|
+
#
|
|
922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
925
|
+
def delete_project_location_dataset_annotation_store_annotation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
926
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
927
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
928
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
929
|
+
command.params['name'] = name unless name.nil?
|
|
930
|
+
command.query['fields'] = fields unless fields.nil?
|
|
931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
932
|
+
execute_or_queue_command(command, &block)
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
# Gets an Annotation.
|
|
936
|
+
# @param [String] name
|
|
937
|
+
# The resource name of the Annotation to retrieve.
|
|
938
|
+
# @param [String] fields
|
|
939
|
+
# Selector specifying which fields to include in a partial response.
|
|
940
|
+
# @param [String] quota_user
|
|
941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
943
|
+
# @param [Google::Apis::RequestOptions] options
|
|
944
|
+
# Request-specific options
|
|
945
|
+
#
|
|
946
|
+
# @yield [result, err] Result & error if block supplied
|
|
947
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
|
948
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
949
|
+
#
|
|
950
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
|
951
|
+
#
|
|
952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
955
|
+
def get_project_location_dataset_annotation_store_annotation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
956
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
957
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
|
958
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
|
959
|
+
command.params['name'] = name unless name.nil?
|
|
960
|
+
command.query['fields'] = fields unless fields.nil?
|
|
961
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
962
|
+
execute_or_queue_command(command, &block)
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
# Lists the Annotations in the given Annotation store for a source resource.
|
|
966
|
+
# @param [String] parent
|
|
967
|
+
# Name of the Annotation store to retrieve Annotations from.
|
|
968
|
+
# @param [String] filter
|
|
969
|
+
# Restricts Annotations returned to those matching a filter. Functions available
|
|
970
|
+
# for filtering are: - `matches("annotation_source.cloud_healthcare_source.name",
|
|
971
|
+
# substring)`. Filter on `cloud_healthcare_source.name`. For example: `matches("
|
|
972
|
+
# annotation_source.cloud_healthcare_source.name", "some source")`. - `matches("
|
|
973
|
+
# annotation", substring)`. Filter on all fields of annotation. For example: `
|
|
974
|
+
# matches("annotation", "some-content")`. - `type("text")`, `type("image")`, `
|
|
975
|
+
# type("resource")`. Filter on the type of annotation `data`.
|
|
976
|
+
# @param [Fixnum] page_size
|
|
977
|
+
# Limit on the number of Annotations to return in a single response. If zero the
|
|
978
|
+
# default page size of 100 is used.
|
|
979
|
+
# @param [String] page_token
|
|
980
|
+
# The next_page_token value returned from the previous List request, if any.
|
|
981
|
+
# @param [String] view
|
|
982
|
+
# Controls which fields are populated in the response.
|
|
983
|
+
# @param [String] fields
|
|
984
|
+
# Selector specifying which fields to include in a partial response.
|
|
985
|
+
# @param [String] quota_user
|
|
986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
988
|
+
# @param [Google::Apis::RequestOptions] options
|
|
989
|
+
# Request-specific options
|
|
990
|
+
#
|
|
991
|
+
# @yield [result, err] Result & error if block supplied
|
|
992
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListAnnotationsResponse] parsed result object
|
|
993
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
994
|
+
#
|
|
995
|
+
# @return [Google::Apis::HealthcareV1beta1::ListAnnotationsResponse]
|
|
996
|
+
#
|
|
997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1000
|
+
def list_project_location_dataset_annotation_store_annotations(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1001
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/annotations', options)
|
|
1002
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListAnnotationsResponse::Representation
|
|
1003
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListAnnotationsResponse
|
|
1004
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1005
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1006
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1007
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1008
|
+
command.query['view'] = view unless view.nil?
|
|
1009
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1011
|
+
execute_or_queue_command(command, &block)
|
|
1012
|
+
end
|
|
1013
|
+
|
|
1014
|
+
# Updates the Annotation.
|
|
1015
|
+
# @param [String] name
|
|
1016
|
+
# Resource name of the Annotation, of the form `projects/`project_id`/locations/`
|
|
1017
|
+
# location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id`/
|
|
1018
|
+
# annotations/`annotation_id``.
|
|
1019
|
+
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
|
1020
|
+
# @param [String] update_mask
|
|
1021
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
|
1022
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
1023
|
+
# fieldmask
|
|
1024
|
+
# @param [String] fields
|
|
1025
|
+
# Selector specifying which fields to include in a partial response.
|
|
1026
|
+
# @param [String] quota_user
|
|
1027
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1028
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1029
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1030
|
+
# Request-specific options
|
|
1031
|
+
#
|
|
1032
|
+
# @yield [result, err] Result & error if block supplied
|
|
1033
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
|
1034
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1035
|
+
#
|
|
1036
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
|
1037
|
+
#
|
|
1038
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1039
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1040
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1041
|
+
def patch_project_location_dataset_annotation_store_annotation(name, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1042
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1043
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
|
1044
|
+
command.request_object = annotation_object
|
|
1045
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
|
1046
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
|
1047
|
+
command.params['name'] = name unless name.nil?
|
|
1048
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1049
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1051
|
+
execute_or_queue_command(command, &block)
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
# Checks if a particular data_id of a User data mapping in the given Consent
|
|
1055
|
+
# store is consented for a given use.
|
|
1056
|
+
# @param [String] consent_store
|
|
1057
|
+
# Name of the Consent store where the requested data_id is stored, of the form `
|
|
1058
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1059
|
+
# consentStores/`consent_store_id``.
|
|
1060
|
+
# @param [Google::Apis::HealthcareV1beta1::CheckDataAccessRequest] check_data_access_request_object
|
|
1061
|
+
# @param [String] fields
|
|
1062
|
+
# Selector specifying which fields to include in a partial response.
|
|
1063
|
+
# @param [String] quota_user
|
|
1064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1066
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1067
|
+
# Request-specific options
|
|
1068
|
+
#
|
|
1069
|
+
# @yield [result, err] Result & error if block supplied
|
|
1070
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::CheckDataAccessResponse] parsed result object
|
|
1071
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1072
|
+
#
|
|
1073
|
+
# @return [Google::Apis::HealthcareV1beta1::CheckDataAccessResponse]
|
|
1074
|
+
#
|
|
1075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1078
|
+
def check_consent_store_data_access(consent_store, check_data_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1079
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:checkDataAccess', options)
|
|
1080
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessRequest::Representation
|
|
1081
|
+
command.request_object = check_data_access_request_object
|
|
1082
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse::Representation
|
|
1083
|
+
command.response_class = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
|
|
1084
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
|
1085
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1087
|
+
execute_or_queue_command(command, &block)
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1090
|
+
# Creates a new Consent store in the parent dataset. Attempting to create a
|
|
1091
|
+
# consent store with the same ID as an existing store fails with an
|
|
1092
|
+
# ALREADY_EXISTS error.
|
|
1093
|
+
# @param [String] parent
|
|
1094
|
+
# Required. The name of the dataset this Consent store belongs to.
|
|
1095
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentStore] consent_store_object
|
|
1096
|
+
# @param [String] consent_store_id
|
|
1097
|
+
# The ID of the consent store to create. The string must match the following
|
|
1098
|
+
# regex: `[\p`L`\p`N`_\-\.]`1,256``.
|
|
1099
|
+
# @param [String] fields
|
|
1100
|
+
# Selector specifying which fields to include in a partial response.
|
|
1101
|
+
# @param [String] quota_user
|
|
1102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1104
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1105
|
+
# Request-specific options
|
|
1106
|
+
#
|
|
1107
|
+
# @yield [result, err] Result & error if block supplied
|
|
1108
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
|
1109
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1110
|
+
#
|
|
1111
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
|
1112
|
+
#
|
|
1113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1116
|
+
def create_project_location_dataset_consent_store(parent, consent_store_object = nil, consent_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1117
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consentStores', options)
|
|
1118
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
|
1119
|
+
command.request_object = consent_store_object
|
|
1120
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
|
1121
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
|
1122
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1123
|
+
command.query['consentStoreId'] = consent_store_id unless consent_store_id.nil?
|
|
1124
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1126
|
+
execute_or_queue_command(command, &block)
|
|
1127
|
+
end
|
|
1128
|
+
|
|
1129
|
+
# Deletes the specified Consent store and removes all consent data in the
|
|
1130
|
+
# specified consent store.
|
|
1131
|
+
# @param [String] name
|
|
1132
|
+
# Required. The resource name of the Consent store to delete.
|
|
1133
|
+
# @param [String] fields
|
|
1134
|
+
# Selector specifying which fields to include in a partial response.
|
|
1135
|
+
# @param [String] quota_user
|
|
1136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1138
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1139
|
+
# Request-specific options
|
|
1140
|
+
#
|
|
1141
|
+
# @yield [result, err] Result & error if block supplied
|
|
1142
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
1143
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1144
|
+
#
|
|
1145
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
1146
|
+
#
|
|
1147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1150
|
+
def delete_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1151
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1152
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
1153
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
1154
|
+
command.params['name'] = name unless name.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
|
+
# Evaluates the end user's Consents for all matching User data mappings. Note:
|
|
1161
|
+
# User data mappings are indexed asynchronously, so there might be a slight
|
|
1162
|
+
# delay between the time a mapping is created or updated and when it is included
|
|
1163
|
+
# in the results of EvaluateUserConsents.
|
|
1164
|
+
# @param [String] consent_store
|
|
1165
|
+
# Name of the Consent store to retrieve user data mappings from.
|
|
1166
|
+
# @param [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsRequest] evaluate_user_consents_request_object
|
|
1167
|
+
# @param [String] fields
|
|
1168
|
+
# Selector specifying which fields to include in a partial response.
|
|
1169
|
+
# @param [String] quota_user
|
|
1170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1172
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1173
|
+
# Request-specific options
|
|
1174
|
+
#
|
|
1175
|
+
# @yield [result, err] Result & error if block supplied
|
|
1176
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse] parsed result object
|
|
1177
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1178
|
+
#
|
|
1179
|
+
# @return [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse]
|
|
1180
|
+
#
|
|
1181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1184
|
+
def evaluate_consent_store_user_consents(consent_store, evaluate_user_consents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1185
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:evaluateUserConsents', options)
|
|
1186
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsRequest::Representation
|
|
1187
|
+
command.request_object = evaluate_user_consents_request_object
|
|
1188
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse::Representation
|
|
1189
|
+
command.response_class = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse
|
|
1190
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
|
1191
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1193
|
+
execute_or_queue_command(command, &block)
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1196
|
+
# Gets the specified Consent store.
|
|
1197
|
+
# @param [String] name
|
|
1198
|
+
# Required. The resource name of the Consent store to get.
|
|
1199
|
+
# @param [String] fields
|
|
1200
|
+
# Selector specifying which fields to include in a partial response.
|
|
1201
|
+
# @param [String] quota_user
|
|
1202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1204
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1205
|
+
# Request-specific options
|
|
1206
|
+
#
|
|
1207
|
+
# @yield [result, err] Result & error if block supplied
|
|
1208
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
|
1209
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1210
|
+
#
|
|
1211
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
|
1212
|
+
#
|
|
1213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1216
|
+
def get_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1217
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1218
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
|
1219
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
|
1220
|
+
command.params['name'] = name unless name.nil?
|
|
1221
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1222
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1223
|
+
execute_or_queue_command(command, &block)
|
|
1224
|
+
end
|
|
1225
|
+
|
|
1226
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
1227
|
+
# resource exists and does not have a policy set.
|
|
1228
|
+
# @param [String] resource
|
|
1229
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
1230
|
+
# operation documentation for the appropriate value for this field.
|
|
1231
|
+
# @param [Fixnum] options_requested_policy_version
|
|
1232
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
1233
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1234
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
1235
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
1236
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
1237
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1238
|
+
# resource-policies).
|
|
1239
|
+
# @param [String] fields
|
|
1240
|
+
# Selector specifying which fields to include in a partial response.
|
|
1241
|
+
# @param [String] quota_user
|
|
1242
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1243
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1244
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1245
|
+
# Request-specific options
|
|
1246
|
+
#
|
|
1247
|
+
# @yield [result, err] Result & error if block supplied
|
|
1248
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
|
1249
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1250
|
+
#
|
|
1251
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
|
1252
|
+
#
|
|
1253
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1254
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1255
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1256
|
+
def get_project_location_dataset_consent_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1257
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
1258
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
|
1259
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
|
1260
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1261
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
1262
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1264
|
+
execute_or_queue_command(command, &block)
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
# Lists the Consent stores in the given dataset.
|
|
1268
|
+
# @param [String] parent
|
|
1269
|
+
# Required. Name of the dataset.
|
|
1270
|
+
# @param [String] filter
|
|
1271
|
+
# Restricts the stores returned to those matching a filter. Syntax: https://
|
|
1272
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings. Only
|
|
1273
|
+
# filtering on labels is supported. For example, `labels.key=value`.
|
|
1274
|
+
# @param [Fixnum] page_size
|
|
1275
|
+
# Limit on the number of Consent stores to return in a single response. If zero
|
|
1276
|
+
# the default page size of 100 is used.
|
|
1277
|
+
# @param [String] page_token
|
|
1278
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
|
1279
|
+
# @param [String] fields
|
|
1280
|
+
# Selector specifying which fields to include in a partial response.
|
|
1281
|
+
# @param [String] quota_user
|
|
1282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1284
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1285
|
+
# Request-specific options
|
|
1286
|
+
#
|
|
1287
|
+
# @yield [result, err] Result & error if block supplied
|
|
1288
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentStoresResponse] parsed result object
|
|
1289
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1290
|
+
#
|
|
1291
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentStoresResponse]
|
|
1292
|
+
#
|
|
1293
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1294
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1295
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1296
|
+
def list_project_location_dataset_consent_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1297
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/consentStores', options)
|
|
1298
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse::Representation
|
|
1299
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse
|
|
1300
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1301
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1302
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1303
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1304
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1306
|
+
execute_or_queue_command(command, &block)
|
|
1307
|
+
end
|
|
1308
|
+
|
|
1309
|
+
# Updates the specified Consent store.
|
|
1310
|
+
# @param [String] name
|
|
1311
|
+
# Resource name of the Consent store, of the form `projects/`project_id`/
|
|
1312
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
|
|
1313
|
+
# .
|
|
1314
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentStore] consent_store_object
|
|
1315
|
+
# @param [String] update_mask
|
|
1316
|
+
# The update mask that applies to the resource. For the `FieldMask` definition,
|
|
1317
|
+
# see https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
1318
|
+
# protobuf#fieldmask. The `labels` field is allowed to be updated.
|
|
1319
|
+
# @param [String] fields
|
|
1320
|
+
# Selector specifying which fields to include in a partial response.
|
|
1321
|
+
# @param [String] quota_user
|
|
1322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1324
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1325
|
+
# Request-specific options
|
|
1326
|
+
#
|
|
1327
|
+
# @yield [result, err] Result & error if block supplied
|
|
1328
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
|
1329
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1330
|
+
#
|
|
1331
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
|
1332
|
+
#
|
|
1333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1336
|
+
def patch_project_location_dataset_consent_store(name, consent_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1337
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1338
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
|
1339
|
+
command.request_object = consent_store_object
|
|
1340
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
|
1341
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
|
1342
|
+
command.params['name'] = name unless name.nil?
|
|
1343
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1344
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1346
|
+
execute_or_queue_command(command, &block)
|
|
1347
|
+
end
|
|
1348
|
+
|
|
1349
|
+
# Queries all data_ids that are consented for a given use in the given Consent
|
|
1350
|
+
# store and writes them to a specified destination. The returned Operation
|
|
1351
|
+
# includes a progress counter for the number of User data mappings processed.
|
|
1352
|
+
# Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
|
|
1353
|
+
# tos/logging)). For example, the following sample log entry shows a `failed to
|
|
1354
|
+
# evaluate consent policy` error that occurred during a QueryAccessibleData call
|
|
1355
|
+
# to consent store `projects/`project_id`/locations/`location_id`/datasets/`
|
|
1356
|
+
# dataset_id`/consentStores/`consent_store_id``. ```json jsonPayload: ` @type: "
|
|
1357
|
+
# type.googleapis.com/google.cloud.healthcare.logging.
|
|
1358
|
+
# QueryAccessibleDataLogEntry" error: ` code: 9 message: "failed to evaluate
|
|
1359
|
+
# consent policy" ` resourceName: "projects/`project_id`/locations/`location_id`/
|
|
1360
|
+
# datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`consent_id`" `
|
|
1361
|
+
# logName: "projects/`project_id`/logs/healthcare.googleapis.com%
|
|
1362
|
+
# 2Fquery_accessible_data" operation: ` id: "projects/`project_id`/locations/`
|
|
1363
|
+
# location_id`/datasets/`dataset_id`/operations/`operation_id`" producer: "
|
|
1364
|
+
# healthcare.googleapis.com/QueryAccessibleData" ` receiveTimestamp: "TIMESTAMP"
|
|
1365
|
+
# resource: ` labels: ` consent_store_id: "`consent_store_id`" dataset_id: "`
|
|
1366
|
+
# dataset_id`" location: "`location_id`" project_id: "`project_id`" ` type: "
|
|
1367
|
+
# healthcare_consent_store" ` severity: "ERROR" timestamp: "TIMESTAMP" ```
|
|
1368
|
+
# @param [String] consent_store
|
|
1369
|
+
# Name of the Consent store to retrieve user data mappings from.
|
|
1370
|
+
# @param [Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest] query_accessible_data_request_object
|
|
1371
|
+
# @param [String] fields
|
|
1372
|
+
# Selector specifying which fields to include in a partial response.
|
|
1373
|
+
# @param [String] quota_user
|
|
1374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1376
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1377
|
+
# Request-specific options
|
|
1378
|
+
#
|
|
1379
|
+
# @yield [result, err] Result & error if block supplied
|
|
1380
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
|
1381
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1382
|
+
#
|
|
1383
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
|
1384
|
+
#
|
|
1385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1388
|
+
def query_consent_store_accessible_data(consent_store, query_accessible_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1389
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:queryAccessibleData', options)
|
|
1390
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest::Representation
|
|
1391
|
+
command.request_object = query_accessible_data_request_object
|
|
1392
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
1393
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
1394
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
|
1395
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1397
|
+
execute_or_queue_command(command, &block)
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
1401
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
1402
|
+
# PERMISSION_DENIED` errors.
|
|
1403
|
+
# @param [String] resource
|
|
1404
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
1405
|
+
# operation documentation for the appropriate value for this field.
|
|
1406
|
+
# @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1407
|
+
# @param [String] fields
|
|
1408
|
+
# Selector specifying which fields to include in a partial response.
|
|
1409
|
+
# @param [String] quota_user
|
|
1410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1412
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1413
|
+
# Request-specific options
|
|
1414
|
+
#
|
|
1415
|
+
# @yield [result, err] Result & error if block supplied
|
|
1416
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
|
1417
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1418
|
+
#
|
|
1419
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
|
1420
|
+
#
|
|
1421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1424
|
+
def set_consent_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1425
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
|
1426
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
|
|
1427
|
+
command.request_object = set_iam_policy_request_object
|
|
1428
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
|
1429
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
|
1430
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1431
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1433
|
+
execute_or_queue_command(command, &block)
|
|
1434
|
+
end
|
|
1435
|
+
|
|
1436
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
1437
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
1438
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
1439
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
1440
|
+
# This operation may "fail open" without warning.
|
|
1441
|
+
# @param [String] resource
|
|
1442
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
1443
|
+
# operation documentation for the appropriate value for this field.
|
|
1444
|
+
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1445
|
+
# @param [String] fields
|
|
1446
|
+
# Selector specifying which fields to include in a partial response.
|
|
1447
|
+
# @param [String] quota_user
|
|
1448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1450
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1451
|
+
# Request-specific options
|
|
1452
|
+
#
|
|
1453
|
+
# @yield [result, err] Result & error if block supplied
|
|
1454
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
|
|
1455
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1456
|
+
#
|
|
1457
|
+
# @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
|
|
1458
|
+
#
|
|
1459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1462
|
+
def test_consent_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1463
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
|
1464
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
|
|
1465
|
+
command.request_object = test_iam_permissions_request_object
|
|
1466
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
|
|
1467
|
+
command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
|
|
1468
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1469
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1471
|
+
execute_or_queue_command(command, &block)
|
|
1472
|
+
end
|
|
1473
|
+
|
|
1474
|
+
# Creates a new Attribute definition in the parent Consent store.
|
|
1475
|
+
# @param [String] parent
|
|
1476
|
+
# Required. The name of the consent store that this Attribute definition belongs
|
|
1477
|
+
# to.
|
|
1478
|
+
# @param [Google::Apis::HealthcareV1beta1::AttributeDefinition] attribute_definition_object
|
|
1479
|
+
# @param [String] attribute_definition_id
|
|
1480
|
+
# Required. The ID of the Attribute definition to create. The string must match
|
|
1481
|
+
# the following regex: `_a-zA-Z`0,255`` and must not be a reserved keyword
|
|
1482
|
+
# within the Common Expression Language as listed on https://github.com/google/
|
|
1483
|
+
# cel-spec/blob/master/doc/langdef.md.
|
|
1484
|
+
# @param [String] fields
|
|
1485
|
+
# Selector specifying which fields to include in a partial response.
|
|
1486
|
+
# @param [String] quota_user
|
|
1487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1489
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1490
|
+
# Request-specific options
|
|
1491
|
+
#
|
|
1492
|
+
# @yield [result, err] Result & error if block supplied
|
|
1493
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
|
1494
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1495
|
+
#
|
|
1496
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
|
1497
|
+
#
|
|
1498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1501
|
+
def create_project_location_dataset_consent_store_attribute_definition(parent, attribute_definition_object = nil, attribute_definition_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1502
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/attributeDefinitions', options)
|
|
1503
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
|
1504
|
+
command.request_object = attribute_definition_object
|
|
1505
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
|
1506
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
|
1507
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1508
|
+
command.query['attributeDefinitionId'] = attribute_definition_id unless attribute_definition_id.nil?
|
|
1509
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1511
|
+
execute_or_queue_command(command, &block)
|
|
1512
|
+
end
|
|
1513
|
+
|
|
1514
|
+
# Deletes the specified Attribute definition. Fails if it is referenced by the
|
|
1515
|
+
# latest revision of any Consent or User data mapping.
|
|
1516
|
+
# @param [String] name
|
|
1517
|
+
# Required. The resource name of the Attribute definition to delete.
|
|
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::HealthcareV1beta1::Empty] parsed result object
|
|
1528
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1529
|
+
#
|
|
1530
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
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 delete_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1536
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1537
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
1538
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
1539
|
+
command.params['name'] = name unless name.nil?
|
|
1540
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1542
|
+
execute_or_queue_command(command, &block)
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
# Gets the specified Attribute definition.
|
|
1546
|
+
# @param [String] name
|
|
1547
|
+
# Required. The resource name of the Attribute definition to get.
|
|
1548
|
+
# @param [String] fields
|
|
1549
|
+
# Selector specifying which fields to include in a partial response.
|
|
1550
|
+
# @param [String] quota_user
|
|
1551
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1552
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1553
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1554
|
+
# Request-specific options
|
|
1555
|
+
#
|
|
1556
|
+
# @yield [result, err] Result & error if block supplied
|
|
1557
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
|
1558
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1559
|
+
#
|
|
1560
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
|
1561
|
+
#
|
|
1562
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1563
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1564
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1565
|
+
def get_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1566
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1567
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
|
1568
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
|
1569
|
+
command.params['name'] = name unless name.nil?
|
|
1570
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1571
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1572
|
+
execute_or_queue_command(command, &block)
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
# Lists the Attribute definitions in the given Consent store.
|
|
1576
|
+
# @param [String] parent
|
|
1577
|
+
# Required. Name of the Consent store to retrieve attribute definitions from.
|
|
1578
|
+
# @param [String] filter
|
|
1579
|
+
# Restricts the attributes returned to those matching a filter. Syntax: https://
|
|
1580
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings. The only
|
|
1581
|
+
# field available for filtering is `category`.
|
|
1582
|
+
# @param [Fixnum] page_size
|
|
1583
|
+
# Limit on the number of attribute definitions to return in a single response.
|
|
1584
|
+
# If zero the default page size of 100 is used.
|
|
1585
|
+
# @param [String] page_token
|
|
1586
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
|
1587
|
+
# @param [String] fields
|
|
1588
|
+
# Selector specifying which fields to include in a partial response.
|
|
1589
|
+
# @param [String] quota_user
|
|
1590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1592
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1593
|
+
# Request-specific options
|
|
1594
|
+
#
|
|
1595
|
+
# @yield [result, err] Result & error if block supplied
|
|
1596
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse] parsed result object
|
|
1597
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1598
|
+
#
|
|
1599
|
+
# @return [Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse]
|
|
1600
|
+
#
|
|
1601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1604
|
+
def list_project_location_dataset_consent_store_attribute_definitions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1605
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/attributeDefinitions', options)
|
|
1606
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse::Representation
|
|
1607
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse
|
|
1608
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1609
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1610
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1611
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1612
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1614
|
+
execute_or_queue_command(command, &block)
|
|
1615
|
+
end
|
|
1616
|
+
|
|
1617
|
+
# Updates the specified Attribute definition.
|
|
1618
|
+
# @param [String] name
|
|
1619
|
+
# Resource name of the attribute definition, of the form `projects/`project_id`/
|
|
1620
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
|
1621
|
+
# attributeDefinitions/`attribute_definition_id``.
|
|
1622
|
+
# @param [Google::Apis::HealthcareV1beta1::AttributeDefinition] attribute_definition_object
|
|
1623
|
+
# @param [String] update_mask
|
|
1624
|
+
# The update mask that applies to the resource. For the `FieldMask` definition,
|
|
1625
|
+
# see https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
1626
|
+
# protobuf#fieldmask. The `description`, `allowed_values`, `
|
|
1627
|
+
# consent_default_values`, and `data_mapping_default_value` fields are allowed
|
|
1628
|
+
# to be updated. The updated `allowed_values` must contain all values from the
|
|
1629
|
+
# previous `allowed_values`.
|
|
1630
|
+
# @param [String] fields
|
|
1631
|
+
# Selector specifying which fields to include in a partial response.
|
|
1632
|
+
# @param [String] quota_user
|
|
1633
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1634
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1635
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1636
|
+
# Request-specific options
|
|
1637
|
+
#
|
|
1638
|
+
# @yield [result, err] Result & error if block supplied
|
|
1639
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
|
1640
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1641
|
+
#
|
|
1642
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
|
1643
|
+
#
|
|
1644
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1645
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1646
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1647
|
+
def patch_project_location_dataset_consent_store_attribute_definition(name, attribute_definition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1648
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1649
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
|
1650
|
+
command.request_object = attribute_definition_object
|
|
1651
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
|
1652
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
|
1653
|
+
command.params['name'] = name unless name.nil?
|
|
1654
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1655
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1657
|
+
execute_or_queue_command(command, &block)
|
|
1658
|
+
end
|
|
1659
|
+
|
|
1660
|
+
# Creates a new Consent artifact in the parent Consent store.
|
|
1661
|
+
# @param [String] parent
|
|
1662
|
+
# Required. The name of the Consent store this consent artifact belongs to.
|
|
1663
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentArtifact] consent_artifact_object
|
|
1664
|
+
# @param [String] fields
|
|
1665
|
+
# Selector specifying which fields to include in a partial response.
|
|
1666
|
+
# @param [String] quota_user
|
|
1667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1669
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1670
|
+
# Request-specific options
|
|
1671
|
+
#
|
|
1672
|
+
# @yield [result, err] Result & error if block supplied
|
|
1673
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentArtifact] parsed result object
|
|
1674
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1675
|
+
#
|
|
1676
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentArtifact]
|
|
1677
|
+
#
|
|
1678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1681
|
+
def create_project_location_dataset_consent_store_consent_artifact(parent, consent_artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1682
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consentArtifacts', options)
|
|
1683
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
|
1684
|
+
command.request_object = consent_artifact_object
|
|
1685
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
|
1686
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact
|
|
1687
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1688
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1689
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1690
|
+
execute_or_queue_command(command, &block)
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1693
|
+
# Deletes the specified Consent artifact. Fails if it is referenced by the
|
|
1694
|
+
# latest revision of any Consent.
|
|
1695
|
+
# @param [String] name
|
|
1696
|
+
# Required. The resource name of the consent artifact to delete.
|
|
1697
|
+
# @param [String] fields
|
|
1698
|
+
# Selector specifying which fields to include in a partial response.
|
|
1699
|
+
# @param [String] quota_user
|
|
1700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1702
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1703
|
+
# Request-specific options
|
|
1704
|
+
#
|
|
1705
|
+
# @yield [result, err] Result & error if block supplied
|
|
1706
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
1707
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1708
|
+
#
|
|
1709
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
1710
|
+
#
|
|
1711
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1712
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1713
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1714
|
+
def delete_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1715
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1716
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
1717
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
1718
|
+
command.params['name'] = name unless name.nil?
|
|
1719
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1721
|
+
execute_or_queue_command(command, &block)
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
# Gets the specified Consent artifact.
|
|
1725
|
+
# @param [String] name
|
|
1726
|
+
# Required. The resource name of the consent artifact to retrieve.
|
|
1727
|
+
# @param [String] fields
|
|
1728
|
+
# Selector specifying which fields to include in a partial response.
|
|
1729
|
+
# @param [String] quota_user
|
|
1730
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1731
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1732
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1733
|
+
# Request-specific options
|
|
1734
|
+
#
|
|
1735
|
+
# @yield [result, err] Result & error if block supplied
|
|
1736
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentArtifact] parsed result object
|
|
1737
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1738
|
+
#
|
|
1739
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentArtifact]
|
|
1740
|
+
#
|
|
1741
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1742
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1743
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1744
|
+
def get_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1745
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1746
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
|
1747
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact
|
|
1748
|
+
command.params['name'] = name unless name.nil?
|
|
1749
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1751
|
+
execute_or_queue_command(command, &block)
|
|
1752
|
+
end
|
|
1753
|
+
|
|
1754
|
+
# Lists the Consent artifacts in the given Consent store.
|
|
1755
|
+
# @param [String] parent
|
|
1756
|
+
# Required. Name of the Consent store to retrieve consent artifacts from.
|
|
1757
|
+
# @param [String] filter
|
|
1758
|
+
# Restricts the artifacts returned to those matching a filter. Syntax: https://
|
|
1759
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings The
|
|
1760
|
+
# fields available for filtering are: - user_id - consent_content_version
|
|
1761
|
+
# @param [Fixnum] page_size
|
|
1762
|
+
# Limit on the number of consent artifacts to return in a single response. If
|
|
1763
|
+
# zero the default page size of 100 is used.
|
|
1764
|
+
# @param [String] page_token
|
|
1765
|
+
# The next_page_token value returned from the previous List request, if any.
|
|
1766
|
+
# @param [String] fields
|
|
1767
|
+
# Selector specifying which fields to include in a partial response.
|
|
1768
|
+
# @param [String] quota_user
|
|
1769
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1770
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1771
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1772
|
+
# Request-specific options
|
|
1773
|
+
#
|
|
1774
|
+
# @yield [result, err] Result & error if block supplied
|
|
1775
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse] parsed result object
|
|
1776
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1777
|
+
#
|
|
1778
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse]
|
|
1779
|
+
#
|
|
1780
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1781
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1782
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1783
|
+
def list_project_location_dataset_consent_store_consent_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1784
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/consentArtifacts', options)
|
|
1785
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse::Representation
|
|
1786
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse
|
|
1787
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1788
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1789
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1790
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1791
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1793
|
+
execute_or_queue_command(command, &block)
|
|
1794
|
+
end
|
|
1795
|
+
|
|
1796
|
+
# Activates the latest revision of the specified Consent by committing a new
|
|
1797
|
+
# revision with `state` updated to `ACTIVE`. If the latest revision of the given
|
|
1798
|
+
# consent is in the `ACTIVE` state, no new revision is committed. A
|
|
1799
|
+
# FAILED_PRECONDITION error occurs if the latest revision of the given consent
|
|
1800
|
+
# is in the `REJECTED` or `REVOKED` state.
|
|
1801
|
+
# @param [String] name
|
|
1802
|
+
# Required. The resource name of the consent to activate, of the form `projects/`
|
|
1803
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
|
1804
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
|
1805
|
+
# revision_id` is specified in the name.
|
|
1806
|
+
# @param [Google::Apis::HealthcareV1beta1::ActivateConsentRequest] activate_consent_request_object
|
|
1807
|
+
# @param [String] fields
|
|
1808
|
+
# Selector specifying which fields to include in a partial response.
|
|
1809
|
+
# @param [String] quota_user
|
|
1810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1812
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1813
|
+
# Request-specific options
|
|
1814
|
+
#
|
|
1815
|
+
# @yield [result, err] Result & error if block supplied
|
|
1816
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
1817
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1818
|
+
#
|
|
1819
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
1820
|
+
#
|
|
1821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1824
|
+
def activate_consent(name, activate_consent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1825
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:activate', options)
|
|
1826
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ActivateConsentRequest::Representation
|
|
1827
|
+
command.request_object = activate_consent_request_object
|
|
1828
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
1829
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
1830
|
+
command.params['name'] = name unless name.nil?
|
|
1831
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1833
|
+
execute_or_queue_command(command, &block)
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
# Creates a new Consent in the parent Consent store.
|
|
1837
|
+
# @param [String] parent
|
|
1838
|
+
# Required. Name of the consent store.
|
|
1839
|
+
# @param [Google::Apis::HealthcareV1beta1::Consent] consent_object
|
|
1840
|
+
# @param [String] fields
|
|
1841
|
+
# Selector specifying which fields to include in a partial response.
|
|
1842
|
+
# @param [String] quota_user
|
|
1843
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1844
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1845
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1846
|
+
# Request-specific options
|
|
1847
|
+
#
|
|
1848
|
+
# @yield [result, err] Result & error if block supplied
|
|
1849
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
1850
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1851
|
+
#
|
|
1852
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
1853
|
+
#
|
|
1854
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1855
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1856
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1857
|
+
def create_project_location_dataset_consent_store_consent(parent, consent_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1858
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consents', options)
|
|
1859
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
1860
|
+
command.request_object = consent_object
|
|
1861
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
1862
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
1863
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1864
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1865
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1866
|
+
execute_or_queue_command(command, &block)
|
|
1867
|
+
end
|
|
1868
|
+
|
|
1869
|
+
# Deletes the Consent and its revisions. To keep a record of the Consent but
|
|
1870
|
+
# mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [
|
|
1871
|
+
# DeleteConsentRevision]. This operation does not delete the related consent
|
|
1872
|
+
# artifact.
|
|
1873
|
+
# @param [String] name
|
|
1874
|
+
# Required. The resource name of the consent to delete, of the form `projects/`
|
|
1875
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
|
1876
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
|
1877
|
+
# revision_id` is specified in the name.
|
|
1878
|
+
# @param [String] fields
|
|
1879
|
+
# Selector specifying which fields to include in a partial response.
|
|
1880
|
+
# @param [String] quota_user
|
|
1881
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1882
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1883
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1884
|
+
# Request-specific options
|
|
1885
|
+
#
|
|
1886
|
+
# @yield [result, err] Result & error if block supplied
|
|
1887
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
1888
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1889
|
+
#
|
|
1890
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
1891
|
+
#
|
|
1892
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1893
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1894
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1895
|
+
def delete_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1896
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1897
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
1898
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
1899
|
+
command.params['name'] = name unless name.nil?
|
|
560
1900
|
command.query['fields'] = fields unless fields.nil?
|
|
561
1901
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
562
1902
|
execute_or_queue_command(command, &block)
|
|
563
1903
|
end
|
|
564
1904
|
|
|
565
|
-
#
|
|
566
|
-
#
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
# healthcare/docs/how-tos/logging)).
|
|
570
|
-
# @param [String] annotation_store
|
|
571
|
-
# The name of the Annotation store to export annotations to, in the format of `
|
|
1905
|
+
# Deletes the specified revision of a Consent. An INVALID_ARGUMENT error occurs
|
|
1906
|
+
# if the specified revision is the latest revision.
|
|
1907
|
+
# @param [String] name
|
|
1908
|
+
# Required. The resource name of the consent revision to delete, of the form `
|
|
572
1909
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
573
|
-
#
|
|
574
|
-
#
|
|
1910
|
+
# consentStores/`consent_store_id`/consents/`consent_id`@`revision_id``. An
|
|
1911
|
+
# INVALID_ARGUMENT error occurs if `revision_id` is not specified in the name.
|
|
575
1912
|
# @param [String] fields
|
|
576
1913
|
# Selector specifying which fields to include in a partial response.
|
|
577
1914
|
# @param [String] quota_user
|
|
@@ -581,29 +1918,33 @@ module Google
|
|
|
581
1918
|
# Request-specific options
|
|
582
1919
|
#
|
|
583
1920
|
# @yield [result, err] Result & error if block supplied
|
|
584
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
1921
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
585
1922
|
# @yieldparam err [StandardError] error object if request failed
|
|
586
1923
|
#
|
|
587
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
1924
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
588
1925
|
#
|
|
589
1926
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
590
1927
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
591
1928
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
592
|
-
def
|
|
593
|
-
command = make_simple_command(:
|
|
594
|
-
command.
|
|
595
|
-
command.
|
|
596
|
-
command.
|
|
597
|
-
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
598
|
-
command.params['annotationStore'] = annotation_store unless annotation_store.nil?
|
|
1929
|
+
def delete_project_location_dataset_consent_store_consent_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1930
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}:deleteRevision', options)
|
|
1931
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
1932
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
1933
|
+
command.params['name'] = name unless name.nil?
|
|
599
1934
|
command.query['fields'] = fields unless fields.nil?
|
|
600
1935
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
601
1936
|
execute_or_queue_command(command, &block)
|
|
602
1937
|
end
|
|
603
1938
|
|
|
604
|
-
# Gets the specified
|
|
1939
|
+
# Gets the specified revision of a Consent, or the latest revision if `
|
|
1940
|
+
# revision_id` is not specified in the resource name.
|
|
605
1941
|
# @param [String] name
|
|
606
|
-
# The resource name of the
|
|
1942
|
+
# Required. The resource name of the consent to retrieve, of the form `projects/`
|
|
1943
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
|
1944
|
+
# consent_store_id`/consents/`consent_id``. In order to retrieve a previous
|
|
1945
|
+
# revision of the consent, also provide the revision ID: `projects/`project_id`/
|
|
1946
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
|
1947
|
+
# consents/`consent_id`@`revision_id``
|
|
607
1948
|
# @param [String] fields
|
|
608
1949
|
# Selector specifying which fields to include in a partial response.
|
|
609
1950
|
# @param [String] quota_user
|
|
@@ -613,37 +1954,38 @@ module Google
|
|
|
613
1954
|
# Request-specific options
|
|
614
1955
|
#
|
|
615
1956
|
# @yield [result, err] Result & error if block supplied
|
|
616
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
1957
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
617
1958
|
# @yieldparam err [StandardError] error object if request failed
|
|
618
1959
|
#
|
|
619
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
1960
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
620
1961
|
#
|
|
621
1962
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
622
1963
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
623
1964
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
624
|
-
def
|
|
1965
|
+
def get_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
625
1966
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
626
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
627
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
1967
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
1968
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
628
1969
|
command.params['name'] = name unless name.nil?
|
|
629
1970
|
command.query['fields'] = fields unless fields.nil?
|
|
630
1971
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
631
1972
|
execute_or_queue_command(command, &block)
|
|
632
1973
|
end
|
|
633
1974
|
|
|
634
|
-
#
|
|
635
|
-
#
|
|
636
|
-
# @param [String]
|
|
637
|
-
#
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
#
|
|
642
|
-
#
|
|
643
|
-
#
|
|
644
|
-
#
|
|
645
|
-
#
|
|
646
|
-
#
|
|
1975
|
+
# Lists the Consent in the given Consent store, returning each consent's latest
|
|
1976
|
+
# revision.
|
|
1977
|
+
# @param [String] parent
|
|
1978
|
+
# Required. Name of the Consent store to retrieve consents from.
|
|
1979
|
+
# @param [String] filter
|
|
1980
|
+
# Restricts the consents returned to those matching a filter. Syntax: https://
|
|
1981
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings The
|
|
1982
|
+
# fields available for filtering are: - user_id - consent_artifact - state -
|
|
1983
|
+
# revision_create_time
|
|
1984
|
+
# @param [Fixnum] page_size
|
|
1985
|
+
# Limit on the number of consents to return in a single response. If zero the
|
|
1986
|
+
# default page size of 100 is used.
|
|
1987
|
+
# @param [String] page_token
|
|
1988
|
+
# The next_page_token value returned from the previous List request, if any.
|
|
647
1989
|
# @param [String] fields
|
|
648
1990
|
# Selector specifying which fields to include in a partial response.
|
|
649
1991
|
# @param [String] quota_user
|
|
@@ -653,35 +1995,41 @@ module Google
|
|
|
653
1995
|
# Request-specific options
|
|
654
1996
|
#
|
|
655
1997
|
# @yield [result, err] Result & error if block supplied
|
|
656
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
1998
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentsResponse] parsed result object
|
|
657
1999
|
# @yieldparam err [StandardError] error object if request failed
|
|
658
2000
|
#
|
|
659
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2001
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentsResponse]
|
|
660
2002
|
#
|
|
661
2003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
662
2004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
663
2005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
664
|
-
def
|
|
665
|
-
command = make_simple_command(:get, 'v1beta1/{+
|
|
666
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
667
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
668
|
-
command.params['
|
|
669
|
-
command.query['
|
|
2006
|
+
def list_project_location_dataset_consent_store_consents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2007
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/consents', options)
|
|
2008
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentsResponse::Representation
|
|
2009
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentsResponse
|
|
2010
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2011
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2012
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2013
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
670
2014
|
command.query['fields'] = fields unless fields.nil?
|
|
671
2015
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
672
2016
|
execute_or_queue_command(command, &block)
|
|
673
2017
|
end
|
|
674
2018
|
|
|
675
|
-
#
|
|
676
|
-
#
|
|
677
|
-
#
|
|
678
|
-
#
|
|
679
|
-
#
|
|
680
|
-
#
|
|
681
|
-
#
|
|
682
|
-
#
|
|
683
|
-
#
|
|
684
|
-
#
|
|
2019
|
+
# Lists the revisions of the given Consent in reverse chronological order.
|
|
2020
|
+
# @param [String] name
|
|
2021
|
+
# Required. The resource name of the consent to retrieve revisions for.
|
|
2022
|
+
# @param [String] filter
|
|
2023
|
+
# Restricts the revisions returned to those matching a filter. Syntax: https://
|
|
2024
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings. Fields/
|
|
2025
|
+
# functions available for filtering are: - user_id - consent_artifact - state -
|
|
2026
|
+
# revision_create_time
|
|
2027
|
+
# @param [Fixnum] page_size
|
|
2028
|
+
# Limit on the number of revisions to return in a single response. If zero the
|
|
2029
|
+
# default page size of 100 is used.
|
|
2030
|
+
# @param [String] page_token
|
|
2031
|
+
# Token to retrieve the next page of results or empty if there are no more
|
|
2032
|
+
# results in the list.
|
|
685
2033
|
# @param [String] fields
|
|
686
2034
|
# Selector specifying which fields to include in a partial response.
|
|
687
2035
|
# @param [String] quota_user
|
|
@@ -691,38 +2039,40 @@ module Google
|
|
|
691
2039
|
# Request-specific options
|
|
692
2040
|
#
|
|
693
2041
|
# @yield [result, err] Result & error if block supplied
|
|
694
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2042
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse] parsed result object
|
|
695
2043
|
# @yieldparam err [StandardError] error object if request failed
|
|
696
2044
|
#
|
|
697
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2045
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse]
|
|
698
2046
|
#
|
|
699
2047
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
700
2048
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
701
2049
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
702
|
-
def
|
|
703
|
-
command = make_simple_command(:
|
|
704
|
-
command.
|
|
705
|
-
command.
|
|
706
|
-
command.
|
|
707
|
-
command.
|
|
708
|
-
command.
|
|
2050
|
+
def list_project_location_dataset_consent_store_consent_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2051
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:listRevisions', options)
|
|
2052
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse::Representation
|
|
2053
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse
|
|
2054
|
+
command.params['name'] = name unless name.nil?
|
|
2055
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2056
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2057
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
709
2058
|
command.query['fields'] = fields unless fields.nil?
|
|
710
2059
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
711
2060
|
execute_or_queue_command(command, &block)
|
|
712
2061
|
end
|
|
713
2062
|
|
|
714
|
-
#
|
|
715
|
-
#
|
|
716
|
-
#
|
|
717
|
-
# @param [String]
|
|
718
|
-
#
|
|
719
|
-
#
|
|
720
|
-
#
|
|
721
|
-
# @param [
|
|
722
|
-
#
|
|
723
|
-
#
|
|
724
|
-
#
|
|
725
|
-
# The
|
|
2063
|
+
# Updates the latest revision of the specified Consent by committing a new
|
|
2064
|
+
# revision with the changes. A FAILED_PRECONDITION error occurs if the latest
|
|
2065
|
+
# revision of the given consent is in the `REJECTED` or `REVOKED` state.
|
|
2066
|
+
# @param [String] name
|
|
2067
|
+
# Resource name of the Consent, of the form `projects/`project_id`/locations/`
|
|
2068
|
+
# location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
|
|
2069
|
+
# consent_id``.
|
|
2070
|
+
# @param [Google::Apis::HealthcareV1beta1::Consent] consent_object
|
|
2071
|
+
# @param [String] update_mask
|
|
2072
|
+
# The update mask to apply to the resource. For the `FieldMask` definition, see
|
|
2073
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
2074
|
+
# fieldmask. The `user_id`, `policies`, and `consent_artifact` fields can be
|
|
2075
|
+
# updated.
|
|
726
2076
|
# @param [String] fields
|
|
727
2077
|
# Selector specifying which fields to include in a partial response.
|
|
728
2078
|
# @param [String] quota_user
|
|
@@ -732,37 +2082,38 @@ module Google
|
|
|
732
2082
|
# Request-specific options
|
|
733
2083
|
#
|
|
734
2084
|
# @yield [result, err] Result & error if block supplied
|
|
735
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2085
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
736
2086
|
# @yieldparam err [StandardError] error object if request failed
|
|
737
2087
|
#
|
|
738
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2088
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
739
2089
|
#
|
|
740
2090
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
741
2091
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
742
2092
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
743
|
-
def
|
|
744
|
-
command = make_simple_command(:
|
|
745
|
-
command.
|
|
746
|
-
command.
|
|
747
|
-
command.
|
|
748
|
-
command.
|
|
749
|
-
command.
|
|
750
|
-
command.query['
|
|
2093
|
+
def patch_project_location_dataset_consent_store_consent(name, consent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2094
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
2095
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
2096
|
+
command.request_object = consent_object
|
|
2097
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
2098
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
2099
|
+
command.params['name'] = name unless name.nil?
|
|
2100
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
751
2101
|
command.query['fields'] = fields unless fields.nil?
|
|
752
2102
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
753
2103
|
execute_or_queue_command(command, &block)
|
|
754
2104
|
end
|
|
755
2105
|
|
|
756
|
-
#
|
|
2106
|
+
# Rejects the latest revision of the specified Consent by committing a new
|
|
2107
|
+
# revision with `state` updated to `REJECTED`. If the latest revision of the
|
|
2108
|
+
# given consent is in the `REJECTED` state, no new revision is committed. A
|
|
2109
|
+
# FAILED_PRECONDITION error occurs if the latest revision of the given consent
|
|
2110
|
+
# is in the `ACTIVE` or `REVOKED` state.
|
|
757
2111
|
# @param [String] name
|
|
758
|
-
#
|
|
759
|
-
# locations/`location_id`/datasets/`dataset_id`/
|
|
760
|
-
#
|
|
761
|
-
#
|
|
762
|
-
# @param [
|
|
763
|
-
# The update mask applies to the resource. For the `FieldMask` definition, see
|
|
764
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
|
765
|
-
# fieldmask
|
|
2112
|
+
# Required. The resource name of the consent to reject, of the form `projects/`
|
|
2113
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
|
2114
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
|
2115
|
+
# revision_id` is specified in the name.
|
|
2116
|
+
# @param [Google::Apis::HealthcareV1beta1::RejectConsentRequest] reject_consent_request_object
|
|
766
2117
|
# @param [String] fields
|
|
767
2118
|
# Selector specifying which fields to include in a partial response.
|
|
768
2119
|
# @param [String] quota_user
|
|
@@ -772,34 +2123,37 @@ module Google
|
|
|
772
2123
|
# Request-specific options
|
|
773
2124
|
#
|
|
774
2125
|
# @yield [result, err] Result & error if block supplied
|
|
775
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2126
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
776
2127
|
# @yieldparam err [StandardError] error object if request failed
|
|
777
2128
|
#
|
|
778
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2129
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
779
2130
|
#
|
|
780
2131
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
781
2132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
782
2133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
783
|
-
def
|
|
784
|
-
command = make_simple_command(:
|
|
785
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
|
786
|
-
command.request_object =
|
|
787
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
788
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
2134
|
+
def reject_consent(name, reject_consent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2135
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:reject', options)
|
|
2136
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::RejectConsentRequest::Representation
|
|
2137
|
+
command.request_object = reject_consent_request_object
|
|
2138
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
2139
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
789
2140
|
command.params['name'] = name unless name.nil?
|
|
790
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
791
2141
|
command.query['fields'] = fields unless fields.nil?
|
|
792
2142
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
793
2143
|
execute_or_queue_command(command, &block)
|
|
794
2144
|
end
|
|
795
2145
|
|
|
796
|
-
#
|
|
797
|
-
#
|
|
798
|
-
#
|
|
799
|
-
#
|
|
800
|
-
#
|
|
801
|
-
#
|
|
802
|
-
#
|
|
2146
|
+
# Revokes the latest revision of the specified Consent by committing a new
|
|
2147
|
+
# revision with `state` updated to `REVOKED`. If the latest revision of the
|
|
2148
|
+
# given consent is in the `REVOKED` state, no new revision is committed. A
|
|
2149
|
+
# FAILED_PRECONDITION error occurs if the latest revision of the given consent
|
|
2150
|
+
# is in `DRAFT` or `REJECTED` state.
|
|
2151
|
+
# @param [String] name
|
|
2152
|
+
# Required. The resource name of the consent to revoke, of the form `projects/`
|
|
2153
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
|
2154
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
|
2155
|
+
# revision_id` is specified in the name.
|
|
2156
|
+
# @param [Google::Apis::HealthcareV1beta1::RevokeConsentRequest] revoke_consent_request_object
|
|
803
2157
|
# @param [String] fields
|
|
804
2158
|
# Selector specifying which fields to include in a partial response.
|
|
805
2159
|
# @param [String] quota_user
|
|
@@ -809,35 +2163,30 @@ module Google
|
|
|
809
2163
|
# Request-specific options
|
|
810
2164
|
#
|
|
811
2165
|
# @yield [result, err] Result & error if block supplied
|
|
812
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2166
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
813
2167
|
# @yieldparam err [StandardError] error object if request failed
|
|
814
2168
|
#
|
|
815
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2169
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
816
2170
|
#
|
|
817
2171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
818
2172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
819
2173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
820
|
-
def
|
|
821
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
|
822
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
|
823
|
-
command.request_object =
|
|
824
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
825
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
826
|
-
command.params['
|
|
2174
|
+
def revoke_consent(name, revoke_consent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2175
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:revoke', options)
|
|
2176
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::RevokeConsentRequest::Representation
|
|
2177
|
+
command.request_object = revoke_consent_request_object
|
|
2178
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
2179
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
2180
|
+
command.params['name'] = name unless name.nil?
|
|
827
2181
|
command.query['fields'] = fields unless fields.nil?
|
|
828
2182
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
829
2183
|
execute_or_queue_command(command, &block)
|
|
830
2184
|
end
|
|
831
2185
|
|
|
832
|
-
#
|
|
833
|
-
#
|
|
834
|
-
#
|
|
835
|
-
#
|
|
836
|
-
# This operation may "fail open" without warning.
|
|
837
|
-
# @param [String] resource
|
|
838
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
839
|
-
# operation documentation for the appropriate value for this field.
|
|
840
|
-
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
2186
|
+
# Archives the specified User data mapping.
|
|
2187
|
+
# @param [String] name
|
|
2188
|
+
# The resource name of the user data mapping to archive.
|
|
2189
|
+
# @param [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingRequest] archive_user_data_mapping_request_object
|
|
841
2190
|
# @param [String] fields
|
|
842
2191
|
# Selector specifying which fields to include in a partial response.
|
|
843
2192
|
# @param [String] quota_user
|
|
@@ -847,34 +2196,30 @@ module Google
|
|
|
847
2196
|
# Request-specific options
|
|
848
2197
|
#
|
|
849
2198
|
# @yield [result, err] Result & error if block supplied
|
|
850
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2199
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse] parsed result object
|
|
851
2200
|
# @yieldparam err [StandardError] error object if request failed
|
|
852
2201
|
#
|
|
853
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2202
|
+
# @return [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse]
|
|
854
2203
|
#
|
|
855
2204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
856
2205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
857
2206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
858
|
-
def
|
|
859
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
|
860
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
|
861
|
-
command.request_object =
|
|
862
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
863
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
864
|
-
command.params['
|
|
2207
|
+
def archive_user_data_mapping(name, archive_user_data_mapping_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2208
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:archive', options)
|
|
2209
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingRequest::Representation
|
|
2210
|
+
command.request_object = archive_user_data_mapping_request_object
|
|
2211
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse::Representation
|
|
2212
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse
|
|
2213
|
+
command.params['name'] = name unless name.nil?
|
|
865
2214
|
command.query['fields'] = fields unless fields.nil?
|
|
866
2215
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
867
2216
|
execute_or_queue_command(command, &block)
|
|
868
2217
|
end
|
|
869
2218
|
|
|
870
|
-
# Creates a new
|
|
871
|
-
# the same source more than once since a unique ID is assigned to each record by
|
|
872
|
-
# this service.
|
|
2219
|
+
# Creates a new User data mapping in the parent Consent store.
|
|
873
2220
|
# @param [String] parent
|
|
874
|
-
#
|
|
875
|
-
#
|
|
876
|
-
# myannotationstore`.
|
|
877
|
-
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
|
2221
|
+
# Required. Name of the consent store.
|
|
2222
|
+
# @param [Google::Apis::HealthcareV1beta1::UserDataMapping] user_data_mapping_object
|
|
878
2223
|
# @param [String] fields
|
|
879
2224
|
# Selector specifying which fields to include in a partial response.
|
|
880
2225
|
# @param [String] quota_user
|
|
@@ -884,29 +2229,29 @@ module Google
|
|
|
884
2229
|
# Request-specific options
|
|
885
2230
|
#
|
|
886
2231
|
# @yield [result, err] Result & error if block supplied
|
|
887
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2232
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
888
2233
|
# @yieldparam err [StandardError] error object if request failed
|
|
889
2234
|
#
|
|
890
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2235
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
891
2236
|
#
|
|
892
2237
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
893
2238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
894
2239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
895
|
-
def
|
|
896
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/
|
|
897
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
|
898
|
-
command.request_object =
|
|
899
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
900
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
2240
|
+
def create_project_location_dataset_consent_store_user_data_mapping(parent, user_data_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2241
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/userDataMappings', options)
|
|
2242
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2243
|
+
command.request_object = user_data_mapping_object
|
|
2244
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2245
|
+
command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping
|
|
901
2246
|
command.params['parent'] = parent unless parent.nil?
|
|
902
2247
|
command.query['fields'] = fields unless fields.nil?
|
|
903
2248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
904
2249
|
execute_or_queue_command(command, &block)
|
|
905
2250
|
end
|
|
906
2251
|
|
|
907
|
-
# Deletes
|
|
2252
|
+
# Deletes the specified User data mapping.
|
|
908
2253
|
# @param [String] name
|
|
909
|
-
# The resource name of the
|
|
2254
|
+
# Required. The resource name of the user data mapping to delete.
|
|
910
2255
|
# @param [String] fields
|
|
911
2256
|
# Selector specifying which fields to include in a partial response.
|
|
912
2257
|
# @param [String] quota_user
|
|
@@ -924,7 +2269,7 @@ module Google
|
|
|
924
2269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
925
2270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
926
2271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
927
|
-
def
|
|
2272
|
+
def delete_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
928
2273
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
929
2274
|
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
930
2275
|
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
@@ -934,9 +2279,9 @@ module Google
|
|
|
934
2279
|
execute_or_queue_command(command, &block)
|
|
935
2280
|
end
|
|
936
2281
|
|
|
937
|
-
# Gets
|
|
2282
|
+
# Gets the specified User data mapping.
|
|
938
2283
|
# @param [String] name
|
|
939
|
-
# The resource name of the
|
|
2284
|
+
# Required. The resource name of the user data mapping to retrieve.
|
|
940
2285
|
# @param [String] fields
|
|
941
2286
|
# Selector specifying which fields to include in a partial response.
|
|
942
2287
|
# @param [String] quota_user
|
|
@@ -946,42 +2291,37 @@ module Google
|
|
|
946
2291
|
# Request-specific options
|
|
947
2292
|
#
|
|
948
2293
|
# @yield [result, err] Result & error if block supplied
|
|
949
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2294
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
950
2295
|
# @yieldparam err [StandardError] error object if request failed
|
|
951
2296
|
#
|
|
952
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2297
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
953
2298
|
#
|
|
954
2299
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
955
2300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
956
2301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
957
|
-
def
|
|
2302
|
+
def get_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
958
2303
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
959
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
960
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
2304
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2305
|
+
command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping
|
|
961
2306
|
command.params['name'] = name unless name.nil?
|
|
962
2307
|
command.query['fields'] = fields unless fields.nil?
|
|
963
2308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
964
2309
|
execute_or_queue_command(command, &block)
|
|
965
2310
|
end
|
|
966
2311
|
|
|
967
|
-
# Lists the
|
|
2312
|
+
# Lists the User data mappings in the given Consent store.
|
|
968
2313
|
# @param [String] parent
|
|
969
|
-
# Name of the
|
|
2314
|
+
# Required. Name of the Consent store to retrieve user data mappings from.
|
|
970
2315
|
# @param [String] filter
|
|
971
|
-
# Restricts
|
|
972
|
-
#
|
|
973
|
-
#
|
|
974
|
-
#
|
|
975
|
-
# annotation", substring)`. Filter on all fields of annotation. For example: `
|
|
976
|
-
# matches("annotation", "some-content")`. - `type("text")`, `type("image")`, `
|
|
977
|
-
# type("resource")`. Filter on the type of annotation `data`.
|
|
2316
|
+
# Restricts the user data mappings returned to those matching a filter. Syntax:
|
|
2317
|
+
# https://cloud.google.com/appengine/docs/standard/python/search/query_strings
|
|
2318
|
+
# The fields available for filtering are: - data_id - user_id - archived -
|
|
2319
|
+
# archive_time
|
|
978
2320
|
# @param [Fixnum] page_size
|
|
979
|
-
# Limit on the number of
|
|
980
|
-
# default page size of 100 is used.
|
|
2321
|
+
# Limit on the number of user data mappings to return in a single response. If
|
|
2322
|
+
# zero the default page size of 100 is used.
|
|
981
2323
|
# @param [String] page_token
|
|
982
|
-
#
|
|
983
|
-
# @param [String] view
|
|
984
|
-
# Controls which fields are populated in the response.
|
|
2324
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
|
985
2325
|
# @param [String] fields
|
|
986
2326
|
# Selector specifying which fields to include in a partial response.
|
|
987
2327
|
# @param [String] quota_user
|
|
@@ -991,38 +2331,37 @@ module Google
|
|
|
991
2331
|
# Request-specific options
|
|
992
2332
|
#
|
|
993
2333
|
# @yield [result, err] Result & error if block supplied
|
|
994
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2334
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse] parsed result object
|
|
995
2335
|
# @yieldparam err [StandardError] error object if request failed
|
|
996
2336
|
#
|
|
997
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2337
|
+
# @return [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse]
|
|
998
2338
|
#
|
|
999
2339
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1000
2340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1001
2341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1002
|
-
def
|
|
1003
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
|
1004
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
1005
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
2342
|
+
def list_project_location_dataset_consent_store_user_data_mappings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2343
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/userDataMappings', options)
|
|
2344
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse::Representation
|
|
2345
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse
|
|
1006
2346
|
command.params['parent'] = parent unless parent.nil?
|
|
1007
2347
|
command.query['filter'] = filter unless filter.nil?
|
|
1008
2348
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1009
2349
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1010
|
-
command.query['view'] = view unless view.nil?
|
|
1011
2350
|
command.query['fields'] = fields unless fields.nil?
|
|
1012
2351
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1013
2352
|
execute_or_queue_command(command, &block)
|
|
1014
2353
|
end
|
|
1015
2354
|
|
|
1016
|
-
# Updates the
|
|
2355
|
+
# Updates the specified User data mapping.
|
|
1017
2356
|
# @param [String] name
|
|
1018
|
-
# Resource name of the
|
|
1019
|
-
# location_id`/datasets/`dataset_id`/
|
|
1020
|
-
#
|
|
1021
|
-
# @param [Google::Apis::HealthcareV1beta1::
|
|
2357
|
+
# Resource name of the User data mapping, of the form `projects/`project_id`/
|
|
2358
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
|
2359
|
+
# userDataMappings/`user_data_mapping_id``.
|
|
2360
|
+
# @param [Google::Apis::HealthcareV1beta1::UserDataMapping] user_data_mapping_object
|
|
1022
2361
|
# @param [String] update_mask
|
|
1023
|
-
# The update mask applies to the resource. For the `FieldMask` definition,
|
|
1024
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
1025
|
-
# fieldmask
|
|
2362
|
+
# The update mask that applies to the resource. For the `FieldMask` definition,
|
|
2363
|
+
# see https://developers.google.com/protocol-buffers/docs/reference/google.
|
|
2364
|
+
# protobuf#fieldmask.
|
|
1026
2365
|
# @param [String] fields
|
|
1027
2366
|
# Selector specifying which fields to include in a partial response.
|
|
1028
2367
|
# @param [String] quota_user
|
|
@@ -1032,20 +2371,20 @@ module Google
|
|
|
1032
2371
|
# Request-specific options
|
|
1033
2372
|
#
|
|
1034
2373
|
# @yield [result, err] Result & error if block supplied
|
|
1035
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
2374
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
1036
2375
|
# @yieldparam err [StandardError] error object if request failed
|
|
1037
2376
|
#
|
|
1038
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
2377
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
1039
2378
|
#
|
|
1040
2379
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1041
2380
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1042
2381
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1043
|
-
def
|
|
2382
|
+
def patch_project_location_dataset_consent_store_user_data_mapping(name, user_data_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1044
2383
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1045
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
|
1046
|
-
command.request_object =
|
|
1047
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
1048
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
2384
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2385
|
+
command.request_object = user_data_mapping_object
|
|
2386
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2387
|
+
command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping
|
|
1049
2388
|
command.params['name'] = name unless name.nil?
|
|
1050
2389
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1051
2390
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1391,7 +2730,13 @@ module Google
|
|
|
1391
2730
|
|
|
1392
2731
|
# SearchForInstances returns a list of matching instances. See [
|
|
1393
2732
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1394
|
-
# part18.html#sect_10.4).
|
|
2733
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
2734
|
+
# SearchForInstances, see [Search transaction](https://cloud.google.com/
|
|
2735
|
+
# healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
|
|
2736
|
+
# conformance statement. For samples that show how to call SearchForInstances,
|
|
2737
|
+
# see [Searching for studies, series, instances, and frames](https://cloud.
|
|
2738
|
+
# google.com/healthcare/docs/how-tos/dicomweb#
|
|
2739
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1395
2740
|
# @param [String] parent
|
|
1396
2741
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1397
2742
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1430,6 +2775,12 @@ module Google
|
|
|
1430
2775
|
|
|
1431
2776
|
# SearchForSeries returns a list of matching series. See [RetrieveTransaction](
|
|
1432
2777
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
2778
|
+
# For details on the implementation of SearchForSeries, see [Search transaction]
|
|
2779
|
+
# (https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the
|
|
2780
|
+
# Cloud Healthcare API conformance statement. For samples that show how to call
|
|
2781
|
+
# SearchForSeries, see [Searching for studies, series, instances, and frames](
|
|
2782
|
+
# https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
2783
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1433
2784
|
# @param [String] parent
|
|
1434
2785
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1435
2786
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1467,6 +2818,12 @@ module Google
|
|
|
1467
2818
|
|
|
1468
2819
|
# SearchForStudies returns a list of matching studies. See [RetrieveTransaction](
|
|
1469
2820
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
2821
|
+
# For details on the implementation of SearchForStudies, see [Search
|
|
2822
|
+
# transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction)
|
|
2823
|
+
# in the Cloud Healthcare API conformance statement. For samples that show how
|
|
2824
|
+
# to call SearchForStudies, see [Searching for studies, series, instances, and
|
|
2825
|
+
# frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
2826
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1470
2827
|
# @param [String] parent
|
|
1471
2828
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1472
2829
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1539,7 +2896,12 @@ module Google
|
|
|
1539
2896
|
|
|
1540
2897
|
# StoreInstances stores DICOM instances associated with study instance unique
|
|
1541
2898
|
# identifiers (SUID). See [Store Transaction](http://dicom.nema.org/medical/
|
|
1542
|
-
# dicom/current/output/html/part18.html#sect_10.5).
|
|
2899
|
+
# dicom/current/output/html/part18.html#sect_10.5). For details on the
|
|
2900
|
+
# implementation of StoreInstances, see [Store transaction](https://cloud.google.
|
|
2901
|
+
# com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API
|
|
2902
|
+
# conformance statement. For samples that show how to call StoreInstances, see [
|
|
2903
|
+
# Storing DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
2904
|
+
# storing_dicom_data).
|
|
1543
2905
|
# @param [String] parent
|
|
1544
2906
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1545
2907
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1616,8 +2978,13 @@ module Google
|
|
|
1616
2978
|
execute_or_queue_command(command, &block)
|
|
1617
2979
|
end
|
|
1618
2980
|
|
|
1619
|
-
#
|
|
1620
|
-
# equivalent to the GET requests specified in the
|
|
2981
|
+
# DeleteStudyAsync deletes all instances within the given study using an
|
|
2982
|
+
# operation. Delete requests are equivalent to the GET requests specified in the
|
|
2983
|
+
# Retrieve transaction. The method returns an Operation which will be marked
|
|
2984
|
+
# successful when the deletion is complete. Warning: Inserting instances into a
|
|
2985
|
+
# study while a delete operation is running for that study could result in the
|
|
2986
|
+
# new instances not appearing in search results until the deletion operation
|
|
2987
|
+
# finishes.
|
|
1621
2988
|
# @param [String] parent
|
|
1622
2989
|
# @param [String] dicom_web_path
|
|
1623
2990
|
# The path of the DeleteStudy request. For example, `studies/`study_uid``.
|
|
@@ -1630,18 +2997,18 @@ module Google
|
|
|
1630
2997
|
# Request-specific options
|
|
1631
2998
|
#
|
|
1632
2999
|
# @yield [result, err] Result & error if block supplied
|
|
1633
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
3000
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
|
1634
3001
|
# @yieldparam err [StandardError] error object if request failed
|
|
1635
3002
|
#
|
|
1636
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
3003
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
|
1637
3004
|
#
|
|
1638
3005
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1639
3006
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1640
3007
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1641
3008
|
def delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
|
1642
3009
|
command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
|
1643
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
1644
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
3010
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
3011
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
1645
3012
|
command.params['parent'] = parent unless parent.nil?
|
|
1646
3013
|
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
|
1647
3014
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1652,6 +3019,11 @@ module Google
|
|
|
1652
3019
|
# RetrieveStudyMetadata returns instance associated with the given study
|
|
1653
3020
|
# presented as metadata with the bulk data removed. See [RetrieveTransaction](
|
|
1654
3021
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3022
|
+
# For details on the implementation of RetrieveStudyMetadata, see [Metadata
|
|
3023
|
+
# resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources)
|
|
3024
|
+
# in the Cloud Healthcare API conformance statement. For samples that show how
|
|
3025
|
+
# to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud.google.
|
|
3026
|
+
# com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
1655
3027
|
# @param [String] parent
|
|
1656
3028
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1657
3029
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1689,7 +3061,12 @@ module Google
|
|
|
1689
3061
|
|
|
1690
3062
|
# RetrieveStudy returns all instances within the given study. See [
|
|
1691
3063
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1692
|
-
# part18.html#sect_10.4).
|
|
3064
|
+
# part18.html#sect_10.4). For details on the implementation of RetrieveStudy,
|
|
3065
|
+
# see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
|
|
3066
|
+
# dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
|
|
3067
|
+
# statement. For samples that show how to call RetrieveStudy, see [Retrieving
|
|
3068
|
+
# DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3069
|
+
# retrieving_dicom_data).
|
|
1693
3070
|
# @param [String] parent
|
|
1694
3071
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1695
3072
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1727,7 +3104,13 @@ module Google
|
|
|
1727
3104
|
|
|
1728
3105
|
# SearchForInstances returns a list of matching instances. See [
|
|
1729
3106
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1730
|
-
# part18.html#sect_10.4).
|
|
3107
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3108
|
+
# SearchForInstances, see [Search transaction](https://cloud.google.com/
|
|
3109
|
+
# healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
|
|
3110
|
+
# conformance statement. For samples that show how to call SearchForInstances,
|
|
3111
|
+
# see [Searching for studies, series, instances, and frames](https://cloud.
|
|
3112
|
+
# google.com/healthcare/docs/how-tos/dicomweb#
|
|
3113
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1731
3114
|
# @param [String] parent
|
|
1732
3115
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1733
3116
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1766,6 +3149,12 @@ module Google
|
|
|
1766
3149
|
|
|
1767
3150
|
# SearchForSeries returns a list of matching series. See [RetrieveTransaction](
|
|
1768
3151
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3152
|
+
# For details on the implementation of SearchForSeries, see [Search transaction]
|
|
3153
|
+
# (https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the
|
|
3154
|
+
# Cloud Healthcare API conformance statement. For samples that show how to call
|
|
3155
|
+
# SearchForSeries, see [Searching for studies, series, instances, and frames](
|
|
3156
|
+
# https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3157
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1769
3158
|
# @param [String] parent
|
|
1770
3159
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1771
3160
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1803,7 +3192,12 @@ module Google
|
|
|
1803
3192
|
|
|
1804
3193
|
# StoreInstances stores DICOM instances associated with study instance unique
|
|
1805
3194
|
# identifiers (SUID). See [Store Transaction](http://dicom.nema.org/medical/
|
|
1806
|
-
# dicom/current/output/html/part18.html#sect_10.5).
|
|
3195
|
+
# dicom/current/output/html/part18.html#sect_10.5). For details on the
|
|
3196
|
+
# implementation of StoreInstances, see [Store transaction](https://cloud.google.
|
|
3197
|
+
# com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API
|
|
3198
|
+
# conformance statement. For samples that show how to call StoreInstances, see [
|
|
3199
|
+
# Storing DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3200
|
+
# storing_dicom_data).
|
|
1807
3201
|
# @param [String] parent
|
|
1808
3202
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1809
3203
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1842,9 +3236,13 @@ module Google
|
|
|
1842
3236
|
execute_or_queue_command(command, &block)
|
|
1843
3237
|
end
|
|
1844
3238
|
|
|
1845
|
-
#
|
|
1846
|
-
# requests are equivalent to the GET requests
|
|
1847
|
-
# transaction.
|
|
3239
|
+
# DeleteSeriesAsync deletes all instances within the given study and series
|
|
3240
|
+
# using an operation. Delete requests are equivalent to the GET requests
|
|
3241
|
+
# specified in the Retrieve transaction. The method returns an Operation which
|
|
3242
|
+
# will be marked successful when the deletion is complete. Warning: Inserting
|
|
3243
|
+
# instances into a series while a delete operation is running for that series
|
|
3244
|
+
# could result in the new instances not appearing in search results until the
|
|
3245
|
+
# deletion operation finishes.
|
|
1848
3246
|
# @param [String] parent
|
|
1849
3247
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1850
3248
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1861,18 +3259,18 @@ module Google
|
|
|
1861
3259
|
# Request-specific options
|
|
1862
3260
|
#
|
|
1863
3261
|
# @yield [result, err] Result & error if block supplied
|
|
1864
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
|
3262
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
|
1865
3263
|
# @yieldparam err [StandardError] error object if request failed
|
|
1866
3264
|
#
|
|
1867
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
|
3265
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
|
1868
3266
|
#
|
|
1869
3267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1870
3268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1871
3269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1872
3270
|
def delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
|
1873
3271
|
command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
|
1874
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
|
1875
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
|
3272
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
|
3273
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
|
1876
3274
|
command.params['parent'] = parent unless parent.nil?
|
|
1877
3275
|
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
|
1878
3276
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1883,7 +3281,12 @@ module Google
|
|
|
1883
3281
|
# RetrieveSeriesMetadata returns instance associated with the given study and
|
|
1884
3282
|
# series, presented as metadata with the bulk data removed. See [
|
|
1885
3283
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1886
|
-
# part18.html#sect_10.4).
|
|
3284
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3285
|
+
# RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/
|
|
3286
|
+
# healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
|
|
3287
|
+
# conformance statement. For samples that show how to call
|
|
3288
|
+
# RetrieveSeriesMetadata, see [Retrieving metadata](https://cloud.google.com/
|
|
3289
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
1887
3290
|
# @param [String] parent
|
|
1888
3291
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1889
3292
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1921,7 +3324,12 @@ module Google
|
|
|
1921
3324
|
|
|
1922
3325
|
# RetrieveSeries returns all instances within the given study and series. See [
|
|
1923
3326
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1924
|
-
# part18.html#sect_10.4).
|
|
3327
|
+
# part18.html#sect_10.4). For details on the implementation of RetrieveSeries,
|
|
3328
|
+
# see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
|
|
3329
|
+
# dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
|
|
3330
|
+
# statement. For samples that show how to call RetrieveSeries, see [Retrieving
|
|
3331
|
+
# DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3332
|
+
# retrieving_dicom_data).
|
|
1925
3333
|
# @param [String] parent
|
|
1926
3334
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1927
3335
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1959,7 +3367,13 @@ module Google
|
|
|
1959
3367
|
|
|
1960
3368
|
# SearchForInstances returns a list of matching instances. See [
|
|
1961
3369
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1962
|
-
# part18.html#sect_10.4).
|
|
3370
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3371
|
+
# SearchForInstances, see [Search transaction](https://cloud.google.com/
|
|
3372
|
+
# healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
|
|
3373
|
+
# conformance statement. For samples that show how to call SearchForInstances,
|
|
3374
|
+
# see [Searching for studies, series, instances, and frames](https://cloud.
|
|
3375
|
+
# google.com/healthcare/docs/how-tos/dicomweb#
|
|
3376
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1963
3377
|
# @param [String] parent
|
|
1964
3378
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1965
3379
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2000,7 +3414,9 @@ module Google
|
|
|
2000
3414
|
# and SOP Instance UID. Delete requests are equivalent to the GET requests
|
|
2001
3415
|
# specified in the Retrieve transaction. Study and series search results can
|
|
2002
3416
|
# take a few seconds to be updated after an instance is deleted using
|
|
2003
|
-
# DeleteInstance.
|
|
3417
|
+
# DeleteInstance. For samples that show how to call DeleteInstance, see [
|
|
3418
|
+
# Deleting a study, series, or instance](https://cloud.google.com/healthcare/
|
|
3419
|
+
# docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
|
|
2004
3420
|
# @param [String] parent
|
|
2005
3421
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2006
3422
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2038,7 +3454,13 @@ module Google
|
|
|
2038
3454
|
|
|
2039
3455
|
# RetrieveInstance returns instance associated with the given study, series, and
|
|
2040
3456
|
# SOP Instance UID. See [RetrieveTransaction](http://dicom.nema.org/medical/
|
|
2041
|
-
# dicom/current/output/html/part18.html#sect_10.4).
|
|
3457
|
+
# dicom/current/output/html/part18.html#sect_10.4). For details on the
|
|
3458
|
+
# implementation of RetrieveInstance, see [DICOM study/series/instances](https://
|
|
3459
|
+
# cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM
|
|
3460
|
+
# instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in
|
|
3461
|
+
# the Cloud Healthcare API conformance statement. For samples that show how to
|
|
3462
|
+
# call RetrieveInstance, see [Retrieving an instance](https://cloud.google.com/
|
|
3463
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_an_instance).
|
|
2042
3464
|
# @param [String] parent
|
|
2043
3465
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2044
3466
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2077,7 +3499,12 @@ module Google
|
|
|
2077
3499
|
# RetrieveInstanceMetadata returns instance associated with the given study,
|
|
2078
3500
|
# series, and SOP Instance UID presented as metadata with the bulk data removed.
|
|
2079
3501
|
# See [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/
|
|
2080
|
-
# html/part18.html#sect_10.4).
|
|
3502
|
+
# html/part18.html#sect_10.4). For details on the implementation of
|
|
3503
|
+
# RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/
|
|
3504
|
+
# healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
|
|
3505
|
+
# conformance statement. For samples that show how to call
|
|
3506
|
+
# RetrieveInstanceMetadata, see [Retrieving metadata](https://cloud.google.com/
|
|
3507
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
2081
3508
|
# @param [String] parent
|
|
2082
3509
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2083
3510
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2116,7 +3543,13 @@ module Google
|
|
|
2116
3543
|
# RetrieveRenderedInstance returns instance associated with the given study,
|
|
2117
3544
|
# series, and SOP Instance UID in an acceptable Rendered Media Type. See [
|
|
2118
3545
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
2119
|
-
# part18.html#sect_10.4).
|
|
3546
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3547
|
+
# RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/
|
|
3548
|
+
# healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
|
|
3549
|
+
# conformance statement. For samples that show how to call
|
|
3550
|
+
# RetrieveRenderedInstance, see [Retrieving consumer image formats](https://
|
|
3551
|
+
# cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3552
|
+
# retrieving_consumer_image_formats).
|
|
2120
3553
|
# @param [String] parent
|
|
2121
3554
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2122
3555
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2154,7 +3587,12 @@ module Google
|
|
|
2154
3587
|
|
|
2155
3588
|
# RetrieveFrames returns instances associated with the given study, series, SOP
|
|
2156
3589
|
# Instance UID and frame numbers. See [RetrieveTransaction](http://dicom.nema.
|
|
2157
|
-
# org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3590
|
+
# org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on
|
|
3591
|
+
# the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.
|
|
3592
|
+
# com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API
|
|
3593
|
+
# conformance statement. For samples that show how to call RetrieveFrames, see [
|
|
3594
|
+
# Retrieving DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
|
|
3595
|
+
# dicomweb#retrieving_dicom_data).
|
|
2158
3596
|
# @param [String] parent
|
|
2159
3597
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2160
3598
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2193,7 +3631,12 @@ module Google
|
|
|
2193
3631
|
# RetrieveRenderedFrames returns instances associated with the given study,
|
|
2194
3632
|
# series, SOP Instance UID and frame numbers in an acceptable Rendered Media
|
|
2195
3633
|
# Type. See [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/
|
|
2196
|
-
# output/html/part18.html#sect_10.4).
|
|
3634
|
+
# output/html/part18.html#sect_10.4). For details on the implementation of
|
|
3635
|
+
# RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/
|
|
3636
|
+
# healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
|
|
3637
|
+
# conformance statement. For samples that show how to call
|
|
3638
|
+
# RetrieveRenderedFrames, see [Retrieving consumer image formats](https://cloud.
|
|
3639
|
+
# google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
|
|
2197
3640
|
# @param [String] parent
|
|
2198
3641
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2199
3642
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2336,13 +3779,13 @@ module Google
|
|
|
2336
3779
|
execute_or_queue_command(command, &block)
|
|
2337
3780
|
end
|
|
2338
3781
|
|
|
2339
|
-
# Export resources from the FHIR store to the specified destination. This
|
|
2340
|
-
#
|
|
2341
|
-
#
|
|
2342
|
-
#
|
|
2343
|
-
# how-tos/logging)). Otherwise, when the operation finishes, a
|
|
2344
|
-
# of type ExportResourcesResponse is returned in the response
|
|
2345
|
-
# metadata field type for this operation is OperationMetadata.
|
|
3782
|
+
# Export resources from the FHIR store to the specified destination. This method
|
|
3783
|
+
# returns an Operation that can be used to track the status of the export by
|
|
3784
|
+
# calling GetOperation. Immediate fatal errors appear in the error field, errors
|
|
3785
|
+
# are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](/
|
|
3786
|
+
# healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a
|
|
3787
|
+
# detailed response of type ExportResourcesResponse is returned in the response
|
|
3788
|
+
# field. The metadata field type for this operation is OperationMetadata.
|
|
2346
3789
|
# @param [String] name
|
|
2347
3790
|
# The name of the FHIR store to export resource from, in the format of `projects/
|
|
2348
3791
|
# `project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/`
|
|
@@ -2462,10 +3905,10 @@ module Google
|
|
|
2462
3905
|
# considering grouping or ordering, but if the input data contains invalid
|
|
2463
3906
|
# references or if some resources fail to be imported, the FHIR store might be
|
|
2464
3907
|
# left in a state that violates referential integrity. The import process does
|
|
2465
|
-
# not trigger
|
|
2466
|
-
#
|
|
2467
|
-
#
|
|
2468
|
-
#
|
|
3908
|
+
# not trigger Pub/Sub notification or BigQuery streaming update, regardless of
|
|
3909
|
+
# how those are configured on the FHIR store. If a resource with the specified
|
|
3910
|
+
# ID already exists, the most recent version of the resource is overwritten
|
|
3911
|
+
# without creating a new historical version, regardless of the
|
|
2469
3912
|
# disable_resource_versioning setting on the FHIR store. If transient failures
|
|
2470
3913
|
# occur during the import, it is possible that successfully imported resources
|
|
2471
3914
|
# will be overwritten more than once. The import operation is idempotent unless
|
|
@@ -2480,22 +3923,22 @@ module Google
|
|
|
2480
3923
|
# copy of a resource such as Practitioner that might be referred to by many
|
|
2481
3924
|
# patients. If some resources fail to import, for example due to parsing errors,
|
|
2482
3925
|
# successfully imported resources are not rolled back. The location and format
|
|
2483
|
-
# of the input data
|
|
2484
|
-
# is specified, this method assumes the `BUNDLE` format.
|
|
2485
|
-
# format this method ignores the `Bundle.type` field,
|
|
2486
|
-
# bundles are rejected, and does not apply any of the
|
|
2487
|
-
# semantics for batch or transaction bundles. Unlike in
|
|
2488
|
-
# transaction bundles are not executed as a single transaction
|
|
2489
|
-
# internal references are not rewritten. The bundle is treated as a
|
|
2490
|
-
# of resources to be written as provided in `Bundle.entry.resource`,
|
|
2491
|
-
# Bundle.entry.request`. As an example, this allows the import of `
|
|
2492
|
-
# bundles produced by a FHIR search or Patient-everything operation.
|
|
2493
|
-
# returns an Operation that can be used to track the status of the
|
|
2494
|
-
# calling GetOperation. Immediate fatal errors appear in the error
|
|
2495
|
-
# are also logged to Cloud Logging (see [Viewing logs](/healthcare/
|
|
2496
|
-
# logging)). Otherwise, when the operation finishes, a detailed
|
|
2497
|
-
# ImportResourcesResponse is returned in the response field.
|
|
2498
|
-
# type for this operation is OperationMetadata.
|
|
3926
|
+
# of the input data are specified by the parameters in ImportResourcesRequest.
|
|
3927
|
+
# Note that if no format is specified, this method assumes the `BUNDLE` format.
|
|
3928
|
+
# When using the `BUNDLE` format this method ignores the `Bundle.type` field,
|
|
3929
|
+
# except that `history` bundles are rejected, and does not apply any of the
|
|
3930
|
+
# bundle processing semantics for batch or transaction bundles. Unlike in
|
|
3931
|
+
# ExecuteBundle, transaction bundles are not executed as a single transaction
|
|
3932
|
+
# and bundle-internal references are not rewritten. The bundle is treated as a
|
|
3933
|
+
# collection of resources to be written as provided in `Bundle.entry.resource`,
|
|
3934
|
+
# ignoring `Bundle.entry.request`. As an example, this allows the import of `
|
|
3935
|
+
# searchset` bundles produced by a FHIR search or Patient-everything operation.
|
|
3936
|
+
# This method returns an Operation that can be used to track the status of the
|
|
3937
|
+
# import by calling GetOperation. Immediate fatal errors appear in the error
|
|
3938
|
+
# field, errors are also logged to Cloud Logging (see [Viewing logs](/healthcare/
|
|
3939
|
+
# docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed
|
|
3940
|
+
# response of type ImportResourcesResponse is returned in the response field.
|
|
3941
|
+
# The metadata field type for this operation is OperationMetadata.
|
|
2499
3942
|
# @param [String] name
|
|
2500
3943
|
# The name of the FHIR store to import FHIR resources to, in the format of `
|
|
2501
3944
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
|