google-api-client 0.44.0 → 0.46.0
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 +305 -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_v1beta.rb +1 -1
- 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 +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- 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 +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -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/androidmanagement_v1/classes.rb +4 -3
- 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/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 +247 -27
- data/generated/google/apis/apigee_v1/representations.rb +90 -3
- data/generated/google/apis/apigee_v1/service.rb +63 -43
- 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_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 +4 -2
- 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/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_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- 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 +16 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/content_v2_1/service.rb +1 -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 +202 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
- 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 +2 -2
- 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/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/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 +1 -2
- 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 +3 -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 +1007 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
- 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 +55 -85
- 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/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 +43 -37
- 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/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/service.rb +8 -6
- 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 +4 -4
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- 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 +8 -132
- 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 +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -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 +180 -104
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -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/service.rb +1 -1
- data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
- data/generated/google/apis/sts_v1/classes.rb +120 -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 +194 -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 +2 -2
- 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 +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- 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 +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- 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_v1alpha.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 +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- 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 +70 -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.rb +0 -43
- 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``.
|
|
@@ -1053,6 +1051,1347 @@ module Google
|
|
|
1053
1051
|
execute_or_queue_command(command, &block)
|
|
1054
1052
|
end
|
|
1055
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`, `possible_values`, `
|
|
1627
|
+
# consent_default_values`, and `data_mapping_default_value` fields are allowed
|
|
1628
|
+
# to be updated. The updated `possible_values` must contain all values from the
|
|
1629
|
+
# previous `possible_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?
|
|
1900
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1902
|
+
execute_or_queue_command(command, &block)
|
|
1903
|
+
end
|
|
1904
|
+
|
|
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 `
|
|
1909
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
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.
|
|
1912
|
+
# @param [String] fields
|
|
1913
|
+
# Selector specifying which fields to include in a partial response.
|
|
1914
|
+
# @param [String] quota_user
|
|
1915
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1916
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1917
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1918
|
+
# Request-specific options
|
|
1919
|
+
#
|
|
1920
|
+
# @yield [result, err] Result & error if block supplied
|
|
1921
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
1922
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1923
|
+
#
|
|
1924
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
1925
|
+
#
|
|
1926
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1927
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1928
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
1934
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1935
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1936
|
+
execute_or_queue_command(command, &block)
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1939
|
+
# Gets the specified revision of a Consent, or the latest revision if `
|
|
1940
|
+
# revision_id` is not specified in the resource name.
|
|
1941
|
+
# @param [String] name
|
|
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``
|
|
1948
|
+
# @param [String] fields
|
|
1949
|
+
# Selector specifying which fields to include in a partial response.
|
|
1950
|
+
# @param [String] quota_user
|
|
1951
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1952
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1953
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1954
|
+
# Request-specific options
|
|
1955
|
+
#
|
|
1956
|
+
# @yield [result, err] Result & error if block supplied
|
|
1957
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
1958
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1959
|
+
#
|
|
1960
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
1961
|
+
#
|
|
1962
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1963
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1964
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1965
|
+
def get_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1966
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1967
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
|
1968
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
|
1969
|
+
command.params['name'] = name unless name.nil?
|
|
1970
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1972
|
+
execute_or_queue_command(command, &block)
|
|
1973
|
+
end
|
|
1974
|
+
|
|
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
|
+
# state_change_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.
|
|
1989
|
+
# @param [String] fields
|
|
1990
|
+
# Selector specifying which fields to include in a partial response.
|
|
1991
|
+
# @param [String] quota_user
|
|
1992
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1993
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1994
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1995
|
+
# Request-specific options
|
|
1996
|
+
#
|
|
1997
|
+
# @yield [result, err] Result & error if block supplied
|
|
1998
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentsResponse] parsed result object
|
|
1999
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2000
|
+
#
|
|
2001
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentsResponse]
|
|
2002
|
+
#
|
|
2003
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2004
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2005
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
2014
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2015
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2016
|
+
execute_or_queue_command(command, &block)
|
|
2017
|
+
end
|
|
2018
|
+
|
|
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.
|
|
2033
|
+
# @param [String] fields
|
|
2034
|
+
# Selector specifying which fields to include in a partial response.
|
|
2035
|
+
# @param [String] quota_user
|
|
2036
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2037
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2038
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2039
|
+
# Request-specific options
|
|
2040
|
+
#
|
|
2041
|
+
# @yield [result, err] Result & error if block supplied
|
|
2042
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse] parsed result object
|
|
2043
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2044
|
+
#
|
|
2045
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse]
|
|
2046
|
+
#
|
|
2047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
2058
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2059
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2060
|
+
execute_or_queue_command(command, &block)
|
|
2061
|
+
end
|
|
2062
|
+
|
|
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.
|
|
2076
|
+
# @param [String] fields
|
|
2077
|
+
# Selector specifying which fields to include in a partial response.
|
|
2078
|
+
# @param [String] quota_user
|
|
2079
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2080
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2081
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2082
|
+
# Request-specific options
|
|
2083
|
+
#
|
|
2084
|
+
# @yield [result, err] Result & error if block supplied
|
|
2085
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
2086
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2087
|
+
#
|
|
2088
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
2089
|
+
#
|
|
2090
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2091
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2092
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
2101
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2102
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2103
|
+
execute_or_queue_command(command, &block)
|
|
2104
|
+
end
|
|
2105
|
+
|
|
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.
|
|
2111
|
+
# @param [String] name
|
|
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
|
|
2117
|
+
# @param [String] fields
|
|
2118
|
+
# Selector specifying which fields to include in a partial response.
|
|
2119
|
+
# @param [String] quota_user
|
|
2120
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2121
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2122
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2123
|
+
# Request-specific options
|
|
2124
|
+
#
|
|
2125
|
+
# @yield [result, err] Result & error if block supplied
|
|
2126
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
2127
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2128
|
+
#
|
|
2129
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
2130
|
+
#
|
|
2131
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2132
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2133
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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
|
|
2140
|
+
command.params['name'] = name unless name.nil?
|
|
2141
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2143
|
+
execute_or_queue_command(command, &block)
|
|
2144
|
+
end
|
|
2145
|
+
|
|
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
|
|
2157
|
+
# @param [String] fields
|
|
2158
|
+
# Selector specifying which fields to include in a partial response.
|
|
2159
|
+
# @param [String] quota_user
|
|
2160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2162
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2163
|
+
# Request-specific options
|
|
2164
|
+
#
|
|
2165
|
+
# @yield [result, err] Result & error if block supplied
|
|
2166
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
|
2167
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2168
|
+
#
|
|
2169
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
|
2170
|
+
#
|
|
2171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
2181
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2182
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2183
|
+
execute_or_queue_command(command, &block)
|
|
2184
|
+
end
|
|
2185
|
+
|
|
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
|
|
2190
|
+
# @param [String] fields
|
|
2191
|
+
# Selector specifying which fields to include in a partial response.
|
|
2192
|
+
# @param [String] quota_user
|
|
2193
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2194
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2195
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2196
|
+
# Request-specific options
|
|
2197
|
+
#
|
|
2198
|
+
# @yield [result, err] Result & error if block supplied
|
|
2199
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse] parsed result object
|
|
2200
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2201
|
+
#
|
|
2202
|
+
# @return [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse]
|
|
2203
|
+
#
|
|
2204
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2205
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2206
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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?
|
|
2214
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2216
|
+
execute_or_queue_command(command, &block)
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
# Creates a new User data mapping in the parent Consent store.
|
|
2220
|
+
# @param [String] parent
|
|
2221
|
+
# Required. Name of the consent store.
|
|
2222
|
+
# @param [Google::Apis::HealthcareV1beta1::UserDataMapping] user_data_mapping_object
|
|
2223
|
+
# @param [String] fields
|
|
2224
|
+
# Selector specifying which fields to include in a partial response.
|
|
2225
|
+
# @param [String] quota_user
|
|
2226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2228
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2229
|
+
# Request-specific options
|
|
2230
|
+
#
|
|
2231
|
+
# @yield [result, err] Result & error if block supplied
|
|
2232
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
2233
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2234
|
+
#
|
|
2235
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
2236
|
+
#
|
|
2237
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2238
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2239
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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
|
|
2246
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2247
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2249
|
+
execute_or_queue_command(command, &block)
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
# Deletes the specified User data mapping.
|
|
2253
|
+
# @param [String] name
|
|
2254
|
+
# Required. The resource name of the user data mapping to delete.
|
|
2255
|
+
# @param [String] fields
|
|
2256
|
+
# Selector specifying which fields to include in a partial response.
|
|
2257
|
+
# @param [String] quota_user
|
|
2258
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2259
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2260
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2261
|
+
# Request-specific options
|
|
2262
|
+
#
|
|
2263
|
+
# @yield [result, err] Result & error if block supplied
|
|
2264
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
|
2265
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2266
|
+
#
|
|
2267
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
|
2268
|
+
#
|
|
2269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2272
|
+
def delete_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2273
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
2274
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
|
2275
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
|
2276
|
+
command.params['name'] = name unless name.nil?
|
|
2277
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2278
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2279
|
+
execute_or_queue_command(command, &block)
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# Gets the specified User data mapping.
|
|
2283
|
+
# @param [String] name
|
|
2284
|
+
# Required. The resource name of the user data mapping to retrieve.
|
|
2285
|
+
# @param [String] fields
|
|
2286
|
+
# Selector specifying which fields to include in a partial response.
|
|
2287
|
+
# @param [String] quota_user
|
|
2288
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2289
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2290
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2291
|
+
# Request-specific options
|
|
2292
|
+
#
|
|
2293
|
+
# @yield [result, err] Result & error if block supplied
|
|
2294
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
2295
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2296
|
+
#
|
|
2297
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
2298
|
+
#
|
|
2299
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2300
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2301
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2302
|
+
def get_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2303
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
2304
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
|
|
2305
|
+
command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping
|
|
2306
|
+
command.params['name'] = name unless name.nil?
|
|
2307
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2308
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2309
|
+
execute_or_queue_command(command, &block)
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2312
|
+
# Lists the User data mappings in the given Consent store.
|
|
2313
|
+
# @param [String] parent
|
|
2314
|
+
# Required. Name of the Consent store to retrieve user data mappings from.
|
|
2315
|
+
# @param [String] filter
|
|
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
|
|
2320
|
+
# @param [Fixnum] page_size
|
|
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.
|
|
2323
|
+
# @param [String] page_token
|
|
2324
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
|
2325
|
+
# @param [String] fields
|
|
2326
|
+
# Selector specifying which fields to include in a partial response.
|
|
2327
|
+
# @param [String] quota_user
|
|
2328
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2329
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2330
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2331
|
+
# Request-specific options
|
|
2332
|
+
#
|
|
2333
|
+
# @yield [result, err] Result & error if block supplied
|
|
2334
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse] parsed result object
|
|
2335
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2336
|
+
#
|
|
2337
|
+
# @return [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse]
|
|
2338
|
+
#
|
|
2339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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
|
|
2346
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2347
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2348
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2349
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2350
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2352
|
+
execute_or_queue_command(command, &block)
|
|
2353
|
+
end
|
|
2354
|
+
|
|
2355
|
+
# Updates the specified User data mapping.
|
|
2356
|
+
# @param [String] name
|
|
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
|
|
2361
|
+
# @param [String] update_mask
|
|
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.
|
|
2365
|
+
# @param [String] fields
|
|
2366
|
+
# Selector specifying which fields to include in a partial response.
|
|
2367
|
+
# @param [String] quota_user
|
|
2368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2370
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2371
|
+
# Request-specific options
|
|
2372
|
+
#
|
|
2373
|
+
# @yield [result, err] Result & error if block supplied
|
|
2374
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
|
2375
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2376
|
+
#
|
|
2377
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
|
2378
|
+
#
|
|
2379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2382
|
+
def 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)
|
|
2383
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
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
|
|
2388
|
+
command.params['name'] = name unless name.nil?
|
|
2389
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2390
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2392
|
+
execute_or_queue_command(command, &block)
|
|
2393
|
+
end
|
|
2394
|
+
|
|
1056
2395
|
# Creates a new DICOM store within the parent dataset.
|
|
1057
2396
|
# @param [String] parent
|
|
1058
2397
|
# The name of the dataset this DICOM store belongs to.
|
|
@@ -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/`
|
|
@@ -1617,7 +2979,10 @@ module Google
|
|
|
1617
2979
|
end
|
|
1618
2980
|
|
|
1619
2981
|
# DeleteStudy deletes all instances within the given study. Delete requests are
|
|
1620
|
-
# equivalent to the GET requests specified in the Retrieve transaction.
|
|
2982
|
+
# equivalent to the GET requests specified in the Retrieve transaction. For
|
|
2983
|
+
# samples that show how to call DeleteStudy, see [Deleting a study, series, or
|
|
2984
|
+
# instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
2985
|
+
# deleting_a_study_series_or_instance).
|
|
1621
2986
|
# @param [String] parent
|
|
1622
2987
|
# @param [String] dicom_web_path
|
|
1623
2988
|
# The path of the DeleteStudy request. For example, `studies/`study_uid``.
|
|
@@ -1652,6 +3017,11 @@ module Google
|
|
|
1652
3017
|
# RetrieveStudyMetadata returns instance associated with the given study
|
|
1653
3018
|
# presented as metadata with the bulk data removed. See [RetrieveTransaction](
|
|
1654
3019
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3020
|
+
# For details on the implementation of RetrieveStudyMetadata, see [Metadata
|
|
3021
|
+
# resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources)
|
|
3022
|
+
# in the Cloud Healthcare API conformance statement. For samples that show how
|
|
3023
|
+
# to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud.google.
|
|
3024
|
+
# com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
1655
3025
|
# @param [String] parent
|
|
1656
3026
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1657
3027
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1689,7 +3059,12 @@ module Google
|
|
|
1689
3059
|
|
|
1690
3060
|
# RetrieveStudy returns all instances within the given study. See [
|
|
1691
3061
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1692
|
-
# part18.html#sect_10.4).
|
|
3062
|
+
# part18.html#sect_10.4). For details on the implementation of RetrieveStudy,
|
|
3063
|
+
# see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
|
|
3064
|
+
# dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
|
|
3065
|
+
# statement. For samples that show how to call RetrieveStudy, see [Retrieving
|
|
3066
|
+
# DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3067
|
+
# retrieving_dicom_data).
|
|
1693
3068
|
# @param [String] parent
|
|
1694
3069
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1695
3070
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1727,7 +3102,13 @@ module Google
|
|
|
1727
3102
|
|
|
1728
3103
|
# SearchForInstances returns a list of matching instances. See [
|
|
1729
3104
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1730
|
-
# part18.html#sect_10.4).
|
|
3105
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3106
|
+
# SearchForInstances, see [Search transaction](https://cloud.google.com/
|
|
3107
|
+
# healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
|
|
3108
|
+
# conformance statement. For samples that show how to call SearchForInstances,
|
|
3109
|
+
# see [Searching for studies, series, instances, and frames](https://cloud.
|
|
3110
|
+
# google.com/healthcare/docs/how-tos/dicomweb#
|
|
3111
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1731
3112
|
# @param [String] parent
|
|
1732
3113
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1733
3114
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1766,6 +3147,12 @@ module Google
|
|
|
1766
3147
|
|
|
1767
3148
|
# SearchForSeries returns a list of matching series. See [RetrieveTransaction](
|
|
1768
3149
|
# http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3150
|
+
# For details on the implementation of SearchForSeries, see [Search transaction]
|
|
3151
|
+
# (https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the
|
|
3152
|
+
# Cloud Healthcare API conformance statement. For samples that show how to call
|
|
3153
|
+
# SearchForSeries, see [Searching for studies, series, instances, and frames](
|
|
3154
|
+
# https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3155
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1769
3156
|
# @param [String] parent
|
|
1770
3157
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1771
3158
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1803,7 +3190,12 @@ module Google
|
|
|
1803
3190
|
|
|
1804
3191
|
# StoreInstances stores DICOM instances associated with study instance unique
|
|
1805
3192
|
# identifiers (SUID). See [Store Transaction](http://dicom.nema.org/medical/
|
|
1806
|
-
# dicom/current/output/html/part18.html#sect_10.5).
|
|
3193
|
+
# dicom/current/output/html/part18.html#sect_10.5). For details on the
|
|
3194
|
+
# implementation of StoreInstances, see [Store transaction](https://cloud.google.
|
|
3195
|
+
# com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API
|
|
3196
|
+
# conformance statement. For samples that show how to call StoreInstances, see [
|
|
3197
|
+
# Storing DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3198
|
+
# storing_dicom_data).
|
|
1807
3199
|
# @param [String] parent
|
|
1808
3200
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1809
3201
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1844,7 +3236,9 @@ module Google
|
|
|
1844
3236
|
|
|
1845
3237
|
# DeleteSeries deletes all instances within the given study and series. Delete
|
|
1846
3238
|
# requests are equivalent to the GET requests specified in the Retrieve
|
|
1847
|
-
# transaction.
|
|
3239
|
+
# transaction. For samples that show how to call DeleteSeries, see [Deleting a
|
|
3240
|
+
# study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/
|
|
3241
|
+
# dicomweb#deleting_a_study_series_or_instance).
|
|
1848
3242
|
# @param [String] parent
|
|
1849
3243
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1850
3244
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1883,7 +3277,12 @@ module Google
|
|
|
1883
3277
|
# RetrieveSeriesMetadata returns instance associated with the given study and
|
|
1884
3278
|
# series, presented as metadata with the bulk data removed. See [
|
|
1885
3279
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1886
|
-
# part18.html#sect_10.4).
|
|
3280
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3281
|
+
# RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/
|
|
3282
|
+
# healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
|
|
3283
|
+
# conformance statement. For samples that show how to call
|
|
3284
|
+
# RetrieveSeriesMetadata, see [Retrieving metadata](https://cloud.google.com/
|
|
3285
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
1887
3286
|
# @param [String] parent
|
|
1888
3287
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1889
3288
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1921,7 +3320,12 @@ module Google
|
|
|
1921
3320
|
|
|
1922
3321
|
# RetrieveSeries returns all instances within the given study and series. See [
|
|
1923
3322
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1924
|
-
# part18.html#sect_10.4).
|
|
3323
|
+
# part18.html#sect_10.4). For details on the implementation of RetrieveSeries,
|
|
3324
|
+
# see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
|
|
3325
|
+
# dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
|
|
3326
|
+
# statement. For samples that show how to call RetrieveSeries, see [Retrieving
|
|
3327
|
+
# DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3328
|
+
# retrieving_dicom_data).
|
|
1925
3329
|
# @param [String] parent
|
|
1926
3330
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1927
3331
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -1959,7 +3363,13 @@ module Google
|
|
|
1959
3363
|
|
|
1960
3364
|
# SearchForInstances returns a list of matching instances. See [
|
|
1961
3365
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
1962
|
-
# part18.html#sect_10.4).
|
|
3366
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3367
|
+
# SearchForInstances, see [Search transaction](https://cloud.google.com/
|
|
3368
|
+
# healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
|
|
3369
|
+
# conformance statement. For samples that show how to call SearchForInstances,
|
|
3370
|
+
# see [Searching for studies, series, instances, and frames](https://cloud.
|
|
3371
|
+
# google.com/healthcare/docs/how-tos/dicomweb#
|
|
3372
|
+
# searching_for_studies_series_instances_and_frames).
|
|
1963
3373
|
# @param [String] parent
|
|
1964
3374
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
1965
3375
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2000,7 +3410,9 @@ module Google
|
|
|
2000
3410
|
# and SOP Instance UID. Delete requests are equivalent to the GET requests
|
|
2001
3411
|
# specified in the Retrieve transaction. Study and series search results can
|
|
2002
3412
|
# take a few seconds to be updated after an instance is deleted using
|
|
2003
|
-
# DeleteInstance.
|
|
3413
|
+
# DeleteInstance. For samples that show how to call DeleteInstance, see [
|
|
3414
|
+
# Deleting a study, series, or instance](https://cloud.google.com/healthcare/
|
|
3415
|
+
# docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
|
|
2004
3416
|
# @param [String] parent
|
|
2005
3417
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2006
3418
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2038,7 +3450,13 @@ module Google
|
|
|
2038
3450
|
|
|
2039
3451
|
# RetrieveInstance returns instance associated with the given study, series, and
|
|
2040
3452
|
# SOP Instance UID. See [RetrieveTransaction](http://dicom.nema.org/medical/
|
|
2041
|
-
# dicom/current/output/html/part18.html#sect_10.4).
|
|
3453
|
+
# dicom/current/output/html/part18.html#sect_10.4). For details on the
|
|
3454
|
+
# implementation of RetrieveInstance, see [DICOM study/series/instances](https://
|
|
3455
|
+
# cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM
|
|
3456
|
+
# instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in
|
|
3457
|
+
# the Cloud Healthcare API conformance statement. For samples that show how to
|
|
3458
|
+
# call RetrieveInstance, see [Retrieving an instance](https://cloud.google.com/
|
|
3459
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_an_instance).
|
|
2042
3460
|
# @param [String] parent
|
|
2043
3461
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2044
3462
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2077,7 +3495,12 @@ module Google
|
|
|
2077
3495
|
# RetrieveInstanceMetadata returns instance associated with the given study,
|
|
2078
3496
|
# series, and SOP Instance UID presented as metadata with the bulk data removed.
|
|
2079
3497
|
# See [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/
|
|
2080
|
-
# html/part18.html#sect_10.4).
|
|
3498
|
+
# html/part18.html#sect_10.4). For details on the implementation of
|
|
3499
|
+
# RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/
|
|
3500
|
+
# healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
|
|
3501
|
+
# conformance statement. For samples that show how to call
|
|
3502
|
+
# RetrieveInstanceMetadata, see [Retrieving metadata](https://cloud.google.com/
|
|
3503
|
+
# healthcare/docs/how-tos/dicomweb#retrieving_metadata).
|
|
2081
3504
|
# @param [String] parent
|
|
2082
3505
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2083
3506
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2116,7 +3539,13 @@ module Google
|
|
|
2116
3539
|
# RetrieveRenderedInstance returns instance associated with the given study,
|
|
2117
3540
|
# series, and SOP Instance UID in an acceptable Rendered Media Type. See [
|
|
2118
3541
|
# RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
|
|
2119
|
-
# part18.html#sect_10.4).
|
|
3542
|
+
# part18.html#sect_10.4). For details on the implementation of
|
|
3543
|
+
# RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/
|
|
3544
|
+
# healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
|
|
3545
|
+
# conformance statement. For samples that show how to call
|
|
3546
|
+
# RetrieveRenderedInstance, see [Retrieving consumer image formats](https://
|
|
3547
|
+
# cloud.google.com/healthcare/docs/how-tos/dicomweb#
|
|
3548
|
+
# retrieving_consumer_image_formats).
|
|
2120
3549
|
# @param [String] parent
|
|
2121
3550
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2122
3551
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2154,7 +3583,12 @@ module Google
|
|
|
2154
3583
|
|
|
2155
3584
|
# RetrieveFrames returns instances associated with the given study, series, SOP
|
|
2156
3585
|
# Instance UID and frame numbers. See [RetrieveTransaction](http://dicom.nema.
|
|
2157
|
-
# org/medical/dicom/current/output/html/part18.html#sect_10.4).
|
|
3586
|
+
# org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on
|
|
3587
|
+
# the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.
|
|
3588
|
+
# com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API
|
|
3589
|
+
# conformance statement. For samples that show how to call RetrieveFrames, see [
|
|
3590
|
+
# Retrieving DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
|
|
3591
|
+
# dicomweb#retrieving_dicom_data).
|
|
2158
3592
|
# @param [String] parent
|
|
2159
3593
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2160
3594
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
|
@@ -2193,7 +3627,12 @@ module Google
|
|
|
2193
3627
|
# RetrieveRenderedFrames returns instances associated with the given study,
|
|
2194
3628
|
# series, SOP Instance UID and frame numbers in an acceptable Rendered Media
|
|
2195
3629
|
# Type. See [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/
|
|
2196
|
-
# output/html/part18.html#sect_10.4).
|
|
3630
|
+
# output/html/part18.html#sect_10.4). For details on the implementation of
|
|
3631
|
+
# RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/
|
|
3632
|
+
# healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
|
|
3633
|
+
# conformance statement. For samples that show how to call
|
|
3634
|
+
# RetrieveRenderedFrames, see [Retrieving consumer image formats](https://cloud.
|
|
3635
|
+
# google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
|
|
2197
3636
|
# @param [String] parent
|
|
2198
3637
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
|
2199
3638
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|