google-api-client 0.45.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +664 -188
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- 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 +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -66
- data/generated/google/apis/apigee_v1/representations.rb +88 -19
- data/generated/google/apis/apigee_v1/service.rb +244 -38
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +212 -23
- data/generated/google/apis/bigquery_v2/representations.rb +69 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
- data/generated/google/apis/cloudbuild_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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +943 -802
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- 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.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.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
- data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +59 -32
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.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/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
- data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -60
- data/generated/google/apis/logging_v2/representations.rb +64 -0
- data/generated/google/apis/logging_v2/service.rb +1422 -127
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +24 -22
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -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/run_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -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/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.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_v1.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_v1beta1.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/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
- data/generated/google/apis/sqladmin_v1beta4.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/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +51 -12
- 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
@@ -526,7 +526,7 @@ module Google
|
|
526
526
|
# EvaluateAnnotationStoreResponse, contained in the response. The metadata field
|
527
527
|
# type is OperationMetadata. Errors are logged to Cloud Logging (see [Viewing
|
528
528
|
# logs](/healthcare/docs/how-tos/logging)).
|
529
|
-
# @param [String]
|
529
|
+
# @param [String] name
|
530
530
|
# The Annotation store to compare against `golden_store`, in the format of `
|
531
531
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
532
532
|
# annotationStores/`annotation_store_id``.
|
@@ -548,13 +548,13 @@ module Google
|
|
548
548
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
549
549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
550
550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
551
|
-
def evaluate_annotation_store(
|
552
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
551
|
+
def evaluate_annotation_store(name, evaluate_annotation_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
552
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:evaluate', options)
|
553
553
|
command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest::Representation
|
554
554
|
command.request_object = evaluate_annotation_store_request_object
|
555
555
|
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
556
556
|
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
557
|
-
command.params['
|
557
|
+
command.params['name'] = name unless name.nil?
|
558
558
|
command.query['fields'] = fields unless fields.nil?
|
559
559
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
560
560
|
execute_or_queue_command(command, &block)
|
@@ -565,7 +565,7 @@ module Google
|
|
565
565
|
# the response field when the operation finishes. The metadata field type is
|
566
566
|
# OperationMetadata. Errors are logged to Cloud Logging (see [Viewing logs](/
|
567
567
|
# healthcare/docs/how-tos/logging)).
|
568
|
-
# @param [String]
|
568
|
+
# @param [String] name
|
569
569
|
# The name of the Annotation store to export annotations to, in the format of `
|
570
570
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
571
571
|
# annotationStores/`annotation_store_id``.
|
@@ -587,13 +587,13 @@ module Google
|
|
587
587
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
588
588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
589
589
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
590
|
-
def export_annotation_store_annotations(
|
591
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
590
|
+
def export_annotation_store_annotations(name, export_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
|
592
592
|
command.request_representation = Google::Apis::HealthcareV1beta1::ExportAnnotationsRequest::Representation
|
593
593
|
command.request_object = export_annotations_request_object
|
594
594
|
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
595
595
|
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
596
|
-
command.params['
|
596
|
+
command.params['name'] = name unless name.nil?
|
597
597
|
command.query['fields'] = fields unless fields.nil?
|
598
598
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
599
|
execute_or_queue_command(command, &block)
|
@@ -675,7 +675,7 @@ module Google
|
|
675
675
|
# type ImportAnnotationsResponse, contained in the response field when the
|
676
676
|
# operation finishes. The metadata field type is OperationMetadata. Errors are
|
677
677
|
# logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
678
|
-
# @param [String]
|
678
|
+
# @param [String] name
|
679
679
|
# The name of the Annotation store to which the server imports annotations, in
|
680
680
|
# the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
|
681
681
|
# /annotationStores/`annotation_store_id``.
|
@@ -697,13 +697,13 @@ module Google
|
|
697
697
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
698
698
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
699
699
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
700
|
-
def import_annotation_store_annotations(
|
701
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
700
|
+
def import_annotation_store_annotations(name, import_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
701
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:import', options)
|
702
702
|
command.request_representation = Google::Apis::HealthcareV1beta1::ImportAnnotationsRequest::Representation
|
703
703
|
command.request_object = import_annotations_request_object
|
704
704
|
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
705
705
|
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
706
|
-
command.params['
|
706
|
+
command.params['name'] = name unless name.nil?
|
707
707
|
command.query['fields'] = fields unless fields.nil?
|
708
708
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
709
709
|
execute_or_queue_command(command, &block)
|
@@ -807,35 +807,1272 @@ module Google
|
|
807
807
|
# Request-specific options
|
808
808
|
#
|
809
809
|
# @yield [result, err] Result & error if block supplied
|
810
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
810
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
811
|
+
# @yieldparam err [StandardError] error object if request failed
|
812
|
+
#
|
813
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
814
|
+
#
|
815
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
816
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
817
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
818
|
+
def set_annotation_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
819
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
820
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
|
821
|
+
command.request_object = set_iam_policy_request_object
|
822
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
823
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
824
|
+
command.params['resource'] = resource unless resource.nil?
|
825
|
+
command.query['fields'] = fields unless fields.nil?
|
826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
827
|
+
execute_or_queue_command(command, &block)
|
828
|
+
end
|
829
|
+
|
830
|
+
# Returns permissions that a caller has on the specified resource. If the
|
831
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
832
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
833
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
834
|
+
# This operation may "fail open" without warning.
|
835
|
+
# @param [String] resource
|
836
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
837
|
+
# operation documentation for the appropriate value for this field.
|
838
|
+
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
839
|
+
# @param [String] fields
|
840
|
+
# Selector specifying which fields to include in a partial response.
|
841
|
+
# @param [String] quota_user
|
842
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
843
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
844
|
+
# @param [Google::Apis::RequestOptions] options
|
845
|
+
# Request-specific options
|
846
|
+
#
|
847
|
+
# @yield [result, err] Result & error if block supplied
|
848
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
|
849
|
+
# @yieldparam err [StandardError] error object if request failed
|
850
|
+
#
|
851
|
+
# @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
|
852
|
+
#
|
853
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
854
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
855
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
856
|
+
def test_annotation_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
857
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
858
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
|
859
|
+
command.request_object = test_iam_permissions_request_object
|
860
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
|
861
|
+
command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
|
862
|
+
command.params['resource'] = resource unless resource.nil?
|
863
|
+
command.query['fields'] = fields unless fields.nil?
|
864
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
865
|
+
execute_or_queue_command(command, &block)
|
866
|
+
end
|
867
|
+
|
868
|
+
# Creates a new Annotation record. It is valid to create Annotation objects for
|
869
|
+
# the same source more than once since a unique ID is assigned to each record by
|
870
|
+
# this service.
|
871
|
+
# @param [String] parent
|
872
|
+
# The name of the Annotation store this annotation belongs to. For example, `
|
873
|
+
# projects/my-project/locations/us-central1/datasets/mydataset/annotationStores/
|
874
|
+
# myannotationstore`.
|
875
|
+
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
876
|
+
# @param [String] fields
|
877
|
+
# Selector specifying which fields to include in a partial response.
|
878
|
+
# @param [String] quota_user
|
879
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
880
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
881
|
+
# @param [Google::Apis::RequestOptions] options
|
882
|
+
# Request-specific options
|
883
|
+
#
|
884
|
+
# @yield [result, err] Result & error if block supplied
|
885
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
886
|
+
# @yieldparam err [StandardError] error object if request failed
|
887
|
+
#
|
888
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
889
|
+
#
|
890
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
891
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
892
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
893
|
+
def create_project_location_dataset_annotation_store_annotation(parent, annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
894
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/annotations', options)
|
895
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
896
|
+
command.request_object = annotation_object
|
897
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
898
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
899
|
+
command.params['parent'] = parent unless parent.nil?
|
900
|
+
command.query['fields'] = fields unless fields.nil?
|
901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
902
|
+
execute_or_queue_command(command, &block)
|
903
|
+
end
|
904
|
+
|
905
|
+
# Deletes an Annotation or returns NOT_FOUND if it does not exist.
|
906
|
+
# @param [String] name
|
907
|
+
# The resource name of the Annotation to delete.
|
908
|
+
# @param [String] fields
|
909
|
+
# Selector specifying which fields to include in a partial response.
|
910
|
+
# @param [String] quota_user
|
911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
913
|
+
# @param [Google::Apis::RequestOptions] options
|
914
|
+
# Request-specific options
|
915
|
+
#
|
916
|
+
# @yield [result, err] Result & error if block supplied
|
917
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
918
|
+
# @yieldparam err [StandardError] error object if request failed
|
919
|
+
#
|
920
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
921
|
+
#
|
922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
925
|
+
def delete_project_location_dataset_annotation_store_annotation(name, fields: nil, quota_user: nil, options: nil, &block)
|
926
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
927
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
928
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
929
|
+
command.params['name'] = name unless name.nil?
|
930
|
+
command.query['fields'] = fields unless fields.nil?
|
931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
932
|
+
execute_or_queue_command(command, &block)
|
933
|
+
end
|
934
|
+
|
935
|
+
# Gets an Annotation.
|
936
|
+
# @param [String] name
|
937
|
+
# The resource name of the Annotation to retrieve.
|
938
|
+
# @param [String] fields
|
939
|
+
# Selector specifying which fields to include in a partial response.
|
940
|
+
# @param [String] quota_user
|
941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
943
|
+
# @param [Google::Apis::RequestOptions] options
|
944
|
+
# Request-specific options
|
945
|
+
#
|
946
|
+
# @yield [result, err] Result & error if block supplied
|
947
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
948
|
+
# @yieldparam err [StandardError] error object if request failed
|
949
|
+
#
|
950
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
951
|
+
#
|
952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
955
|
+
def get_project_location_dataset_annotation_store_annotation(name, fields: nil, quota_user: nil, options: nil, &block)
|
956
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
957
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
958
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
959
|
+
command.params['name'] = name unless name.nil?
|
960
|
+
command.query['fields'] = fields unless fields.nil?
|
961
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
962
|
+
execute_or_queue_command(command, &block)
|
963
|
+
end
|
964
|
+
|
965
|
+
# Lists the Annotations in the given Annotation store for a source resource.
|
966
|
+
# @param [String] parent
|
967
|
+
# Name of the Annotation store to retrieve Annotations from.
|
968
|
+
# @param [String] filter
|
969
|
+
# Restricts Annotations returned to those matching a filter. Functions available
|
970
|
+
# for filtering are: - `matches("annotation_source.cloud_healthcare_source.name",
|
971
|
+
# substring)`. Filter on `cloud_healthcare_source.name`. For example: `matches("
|
972
|
+
# annotation_source.cloud_healthcare_source.name", "some source")`. - `matches("
|
973
|
+
# annotation", substring)`. Filter on all fields of annotation. For example: `
|
974
|
+
# matches("annotation", "some-content")`. - `type("text")`, `type("image")`, `
|
975
|
+
# type("resource")`. Filter on the type of annotation `data`.
|
976
|
+
# @param [Fixnum] page_size
|
977
|
+
# Limit on the number of Annotations to return in a single response. If zero the
|
978
|
+
# default page size of 100 is used.
|
979
|
+
# @param [String] page_token
|
980
|
+
# The next_page_token value returned from the previous List request, if any.
|
981
|
+
# @param [String] view
|
982
|
+
# Controls which fields are populated in the response.
|
983
|
+
# @param [String] fields
|
984
|
+
# Selector specifying which fields to include in a partial response.
|
985
|
+
# @param [String] quota_user
|
986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
988
|
+
# @param [Google::Apis::RequestOptions] options
|
989
|
+
# Request-specific options
|
990
|
+
#
|
991
|
+
# @yield [result, err] Result & error if block supplied
|
992
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListAnnotationsResponse] parsed result object
|
993
|
+
# @yieldparam err [StandardError] error object if request failed
|
994
|
+
#
|
995
|
+
# @return [Google::Apis::HealthcareV1beta1::ListAnnotationsResponse]
|
996
|
+
#
|
997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1000
|
+
def list_project_location_dataset_annotation_store_annotations(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1001
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/annotations', options)
|
1002
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListAnnotationsResponse::Representation
|
1003
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListAnnotationsResponse
|
1004
|
+
command.params['parent'] = parent unless parent.nil?
|
1005
|
+
command.query['filter'] = filter unless filter.nil?
|
1006
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1007
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1008
|
+
command.query['view'] = view unless view.nil?
|
1009
|
+
command.query['fields'] = fields unless fields.nil?
|
1010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1011
|
+
execute_or_queue_command(command, &block)
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# Updates the Annotation.
|
1015
|
+
# @param [String] name
|
1016
|
+
# Resource name of the Annotation, of the form `projects/`project_id`/locations/`
|
1017
|
+
# location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id`/
|
1018
|
+
# annotations/`annotation_id``.
|
1019
|
+
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
1020
|
+
# @param [String] update_mask
|
1021
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
1022
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1023
|
+
# fieldmask
|
1024
|
+
# @param [String] fields
|
1025
|
+
# Selector specifying which fields to include in a partial response.
|
1026
|
+
# @param [String] quota_user
|
1027
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1028
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1029
|
+
# @param [Google::Apis::RequestOptions] options
|
1030
|
+
# Request-specific options
|
1031
|
+
#
|
1032
|
+
# @yield [result, err] Result & error if block supplied
|
1033
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Annotation] parsed result object
|
1034
|
+
# @yieldparam err [StandardError] error object if request failed
|
1035
|
+
#
|
1036
|
+
# @return [Google::Apis::HealthcareV1beta1::Annotation]
|
1037
|
+
#
|
1038
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1039
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1040
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1041
|
+
def patch_project_location_dataset_annotation_store_annotation(name, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1042
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1043
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
1044
|
+
command.request_object = annotation_object
|
1045
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
1046
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
1047
|
+
command.params['name'] = name unless name.nil?
|
1048
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1049
|
+
command.query['fields'] = fields unless fields.nil?
|
1050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1051
|
+
execute_or_queue_command(command, &block)
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# Checks if a particular data_id of a User data mapping in the given Consent
|
1055
|
+
# store is consented for a given use.
|
1056
|
+
# @param [String] consent_store
|
1057
|
+
# Name of the Consent store where the requested data_id is stored, of the form `
|
1058
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1059
|
+
# consentStores/`consent_store_id``.
|
1060
|
+
# @param [Google::Apis::HealthcareV1beta1::CheckDataAccessRequest] check_data_access_request_object
|
1061
|
+
# @param [String] fields
|
1062
|
+
# Selector specifying which fields to include in a partial response.
|
1063
|
+
# @param [String] quota_user
|
1064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1066
|
+
# @param [Google::Apis::RequestOptions] options
|
1067
|
+
# Request-specific options
|
1068
|
+
#
|
1069
|
+
# @yield [result, err] Result & error if block supplied
|
1070
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::CheckDataAccessResponse] parsed result object
|
1071
|
+
# @yieldparam err [StandardError] error object if request failed
|
1072
|
+
#
|
1073
|
+
# @return [Google::Apis::HealthcareV1beta1::CheckDataAccessResponse]
|
1074
|
+
#
|
1075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1078
|
+
def check_consent_store_data_access(consent_store, check_data_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:checkDataAccess', options)
|
1080
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessRequest::Representation
|
1081
|
+
command.request_object = check_data_access_request_object
|
1082
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse::Representation
|
1083
|
+
command.response_class = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
|
1084
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
1085
|
+
command.query['fields'] = fields unless fields.nil?
|
1086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1087
|
+
execute_or_queue_command(command, &block)
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# Creates a new Consent store in the parent dataset. Attempting to create a
|
1091
|
+
# consent store with the same ID as an existing store fails with an
|
1092
|
+
# ALREADY_EXISTS error.
|
1093
|
+
# @param [String] parent
|
1094
|
+
# Required. The name of the dataset this Consent store belongs to.
|
1095
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentStore] consent_store_object
|
1096
|
+
# @param [String] consent_store_id
|
1097
|
+
# The ID of the consent store to create. The string must match the following
|
1098
|
+
# regex: `[\p`L`\p`N`_\-\.]`1,256``.
|
1099
|
+
# @param [String] fields
|
1100
|
+
# Selector specifying which fields to include in a partial response.
|
1101
|
+
# @param [String] quota_user
|
1102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1104
|
+
# @param [Google::Apis::RequestOptions] options
|
1105
|
+
# Request-specific options
|
1106
|
+
#
|
1107
|
+
# @yield [result, err] Result & error if block supplied
|
1108
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
1109
|
+
# @yieldparam err [StandardError] error object if request failed
|
1110
|
+
#
|
1111
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
1112
|
+
#
|
1113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1116
|
+
def create_project_location_dataset_consent_store(parent, consent_store_object = nil, consent_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1117
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consentStores', options)
|
1118
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
1119
|
+
command.request_object = consent_store_object
|
1120
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
1121
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
1122
|
+
command.params['parent'] = parent unless parent.nil?
|
1123
|
+
command.query['consentStoreId'] = consent_store_id unless consent_store_id.nil?
|
1124
|
+
command.query['fields'] = fields unless fields.nil?
|
1125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1126
|
+
execute_or_queue_command(command, &block)
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# Deletes the specified Consent store and removes all consent data in the
|
1130
|
+
# specified consent store.
|
1131
|
+
# @param [String] name
|
1132
|
+
# Required. The resource name of the Consent store to delete.
|
1133
|
+
# @param [String] fields
|
1134
|
+
# Selector specifying which fields to include in a partial response.
|
1135
|
+
# @param [String] quota_user
|
1136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1138
|
+
# @param [Google::Apis::RequestOptions] options
|
1139
|
+
# Request-specific options
|
1140
|
+
#
|
1141
|
+
# @yield [result, err] Result & error if block supplied
|
1142
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
1143
|
+
# @yieldparam err [StandardError] error object if request failed
|
1144
|
+
#
|
1145
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
1146
|
+
#
|
1147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
|
+
def delete_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
1151
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1152
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
1153
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
1154
|
+
command.params['name'] = name unless name.nil?
|
1155
|
+
command.query['fields'] = fields unless fields.nil?
|
1156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1157
|
+
execute_or_queue_command(command, &block)
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# Evaluates the end user's Consents for all matching User data mappings. Note:
|
1161
|
+
# User data mappings are indexed asynchronously, so there might be a slight
|
1162
|
+
# delay between the time a mapping is created or updated and when it is included
|
1163
|
+
# in the results of EvaluateUserConsents.
|
1164
|
+
# @param [String] consent_store
|
1165
|
+
# Name of the Consent store to retrieve user data mappings from.
|
1166
|
+
# @param [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsRequest] evaluate_user_consents_request_object
|
1167
|
+
# @param [String] fields
|
1168
|
+
# Selector specifying which fields to include in a partial response.
|
1169
|
+
# @param [String] quota_user
|
1170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1172
|
+
# @param [Google::Apis::RequestOptions] options
|
1173
|
+
# Request-specific options
|
1174
|
+
#
|
1175
|
+
# @yield [result, err] Result & error if block supplied
|
1176
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse] parsed result object
|
1177
|
+
# @yieldparam err [StandardError] error object if request failed
|
1178
|
+
#
|
1179
|
+
# @return [Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse]
|
1180
|
+
#
|
1181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
|
+
def evaluate_consent_store_user_consents(consent_store, evaluate_user_consents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1185
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:evaluateUserConsents', options)
|
1186
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsRequest::Representation
|
1187
|
+
command.request_object = evaluate_user_consents_request_object
|
1188
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse::Representation
|
1189
|
+
command.response_class = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse
|
1190
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
1191
|
+
command.query['fields'] = fields unless fields.nil?
|
1192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1193
|
+
execute_or_queue_command(command, &block)
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
# Gets the specified Consent store.
|
1197
|
+
# @param [String] name
|
1198
|
+
# Required. The resource name of the Consent store to get.
|
1199
|
+
# @param [String] fields
|
1200
|
+
# Selector specifying which fields to include in a partial response.
|
1201
|
+
# @param [String] quota_user
|
1202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1204
|
+
# @param [Google::Apis::RequestOptions] options
|
1205
|
+
# Request-specific options
|
1206
|
+
#
|
1207
|
+
# @yield [result, err] Result & error if block supplied
|
1208
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
1209
|
+
# @yieldparam err [StandardError] error object if request failed
|
1210
|
+
#
|
1211
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
1212
|
+
#
|
1213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1216
|
+
def get_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
1217
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1218
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
1219
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
1220
|
+
command.params['name'] = name unless name.nil?
|
1221
|
+
command.query['fields'] = fields unless fields.nil?
|
1222
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1223
|
+
execute_or_queue_command(command, &block)
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1227
|
+
# resource exists and does not have a policy set.
|
1228
|
+
# @param [String] resource
|
1229
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1230
|
+
# operation documentation for the appropriate value for this field.
|
1231
|
+
# @param [Fixnum] options_requested_policy_version
|
1232
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1233
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1234
|
+
# policies with any conditional bindings must specify version 3. Policies
|
1235
|
+
# without any conditional bindings may specify any valid value or leave the
|
1236
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
1237
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1238
|
+
# resource-policies).
|
1239
|
+
# @param [String] fields
|
1240
|
+
# Selector specifying which fields to include in a partial response.
|
1241
|
+
# @param [String] quota_user
|
1242
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1243
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1244
|
+
# @param [Google::Apis::RequestOptions] options
|
1245
|
+
# Request-specific options
|
1246
|
+
#
|
1247
|
+
# @yield [result, err] Result & error if block supplied
|
1248
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
1249
|
+
# @yieldparam err [StandardError] error object if request failed
|
1250
|
+
#
|
1251
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
1252
|
+
#
|
1253
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1254
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1255
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1256
|
+
def get_project_location_dataset_consent_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1257
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
1258
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
1259
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
1260
|
+
command.params['resource'] = resource unless resource.nil?
|
1261
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1262
|
+
command.query['fields'] = fields unless fields.nil?
|
1263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1264
|
+
execute_or_queue_command(command, &block)
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# Lists the Consent stores in the given dataset.
|
1268
|
+
# @param [String] parent
|
1269
|
+
# Required. Name of the dataset.
|
1270
|
+
# @param [String] filter
|
1271
|
+
# Restricts the stores returned to those matching a filter. Syntax: https://
|
1272
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings. Only
|
1273
|
+
# filtering on labels is supported. For example, `labels.key=value`.
|
1274
|
+
# @param [Fixnum] page_size
|
1275
|
+
# Limit on the number of Consent stores to return in a single response. If zero
|
1276
|
+
# the default page size of 100 is used.
|
1277
|
+
# @param [String] page_token
|
1278
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
1279
|
+
# @param [String] fields
|
1280
|
+
# Selector specifying which fields to include in a partial response.
|
1281
|
+
# @param [String] quota_user
|
1282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1284
|
+
# @param [Google::Apis::RequestOptions] options
|
1285
|
+
# Request-specific options
|
1286
|
+
#
|
1287
|
+
# @yield [result, err] Result & error if block supplied
|
1288
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentStoresResponse] parsed result object
|
1289
|
+
# @yieldparam err [StandardError] error object if request failed
|
1290
|
+
#
|
1291
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentStoresResponse]
|
1292
|
+
#
|
1293
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1294
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1295
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1296
|
+
def list_project_location_dataset_consent_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1297
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/consentStores', options)
|
1298
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse::Representation
|
1299
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse
|
1300
|
+
command.params['parent'] = parent unless parent.nil?
|
1301
|
+
command.query['filter'] = filter unless filter.nil?
|
1302
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1303
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1304
|
+
command.query['fields'] = fields unless fields.nil?
|
1305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1306
|
+
execute_or_queue_command(command, &block)
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# Updates the specified Consent store.
|
1310
|
+
# @param [String] name
|
1311
|
+
# Resource name of the Consent store, of the form `projects/`project_id`/
|
1312
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
|
1313
|
+
# .
|
1314
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentStore] consent_store_object
|
1315
|
+
# @param [String] update_mask
|
1316
|
+
# The update mask that applies to the resource. For the `FieldMask` definition,
|
1317
|
+
# see https://developers.google.com/protocol-buffers/docs/reference/google.
|
1318
|
+
# protobuf#fieldmask. The `labels` field is allowed to be updated.
|
1319
|
+
# @param [String] fields
|
1320
|
+
# Selector specifying which fields to include in a partial response.
|
1321
|
+
# @param [String] quota_user
|
1322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1324
|
+
# @param [Google::Apis::RequestOptions] options
|
1325
|
+
# Request-specific options
|
1326
|
+
#
|
1327
|
+
# @yield [result, err] Result & error if block supplied
|
1328
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentStore] parsed result object
|
1329
|
+
# @yieldparam err [StandardError] error object if request failed
|
1330
|
+
#
|
1331
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentStore]
|
1332
|
+
#
|
1333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1336
|
+
def patch_project_location_dataset_consent_store(name, consent_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1337
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1338
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
1339
|
+
command.request_object = consent_store_object
|
1340
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation
|
1341
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore
|
1342
|
+
command.params['name'] = name unless name.nil?
|
1343
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1344
|
+
command.query['fields'] = fields unless fields.nil?
|
1345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1346
|
+
execute_or_queue_command(command, &block)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# Queries all data_ids that are consented for a given use in the given Consent
|
1350
|
+
# store and writes them to a specified destination. The returned Operation
|
1351
|
+
# includes a progress counter for the number of User data mappings processed.
|
1352
|
+
# Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
|
1353
|
+
# tos/logging)). For example, the following sample log entry shows a `failed to
|
1354
|
+
# evaluate consent policy` error that occurred during a QueryAccessibleData call
|
1355
|
+
# to consent store `projects/`project_id`/locations/`location_id`/datasets/`
|
1356
|
+
# dataset_id`/consentStores/`consent_store_id``. ```json jsonPayload: ` @type: "
|
1357
|
+
# type.googleapis.com/google.cloud.healthcare.logging.
|
1358
|
+
# QueryAccessibleDataLogEntry" error: ` code: 9 message: "failed to evaluate
|
1359
|
+
# consent policy" ` resourceName: "projects/`project_id`/locations/`location_id`/
|
1360
|
+
# datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`consent_id`" `
|
1361
|
+
# logName: "projects/`project_id`/logs/healthcare.googleapis.com%
|
1362
|
+
# 2Fquery_accessible_data" operation: ` id: "projects/`project_id`/locations/`
|
1363
|
+
# location_id`/datasets/`dataset_id`/operations/`operation_id`" producer: "
|
1364
|
+
# healthcare.googleapis.com/QueryAccessibleData" ` receiveTimestamp: "TIMESTAMP"
|
1365
|
+
# resource: ` labels: ` consent_store_id: "`consent_store_id`" dataset_id: "`
|
1366
|
+
# dataset_id`" location: "`location_id`" project_id: "`project_id`" ` type: "
|
1367
|
+
# healthcare_consent_store" ` severity: "ERROR" timestamp: "TIMESTAMP" ```
|
1368
|
+
# @param [String] consent_store
|
1369
|
+
# Name of the Consent store to retrieve user data mappings from.
|
1370
|
+
# @param [Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest] query_accessible_data_request_object
|
1371
|
+
# @param [String] fields
|
1372
|
+
# Selector specifying which fields to include in a partial response.
|
1373
|
+
# @param [String] quota_user
|
1374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1376
|
+
# @param [Google::Apis::RequestOptions] options
|
1377
|
+
# Request-specific options
|
1378
|
+
#
|
1379
|
+
# @yield [result, err] Result & error if block supplied
|
1380
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
1381
|
+
# @yieldparam err [StandardError] error object if request failed
|
1382
|
+
#
|
1383
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
1384
|
+
#
|
1385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1388
|
+
def query_consent_store_accessible_data(consent_store, query_accessible_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1389
|
+
command = make_simple_command(:post, 'v1beta1/{+consentStore}:queryAccessibleData', options)
|
1390
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest::Representation
|
1391
|
+
command.request_object = query_accessible_data_request_object
|
1392
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
1393
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
1394
|
+
command.params['consentStore'] = consent_store unless consent_store.nil?
|
1395
|
+
command.query['fields'] = fields unless fields.nil?
|
1396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1397
|
+
execute_or_queue_command(command, &block)
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1401
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1402
|
+
# PERMISSION_DENIED` errors.
|
1403
|
+
# @param [String] resource
|
1404
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1405
|
+
# operation documentation for the appropriate value for this field.
|
1406
|
+
# @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
1407
|
+
# @param [String] fields
|
1408
|
+
# Selector specifying which fields to include in a partial response.
|
1409
|
+
# @param [String] quota_user
|
1410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1412
|
+
# @param [Google::Apis::RequestOptions] options
|
1413
|
+
# Request-specific options
|
1414
|
+
#
|
1415
|
+
# @yield [result, err] Result & error if block supplied
|
1416
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
1417
|
+
# @yieldparam err [StandardError] error object if request failed
|
1418
|
+
#
|
1419
|
+
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
1420
|
+
#
|
1421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1424
|
+
def set_consent_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1425
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
1426
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
|
1427
|
+
command.request_object = set_iam_policy_request_object
|
1428
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
1429
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
1430
|
+
command.params['resource'] = resource unless resource.nil?
|
1431
|
+
command.query['fields'] = fields unless fields.nil?
|
1432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1433
|
+
execute_or_queue_command(command, &block)
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1437
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1438
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1439
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1440
|
+
# This operation may "fail open" without warning.
|
1441
|
+
# @param [String] resource
|
1442
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1443
|
+
# operation documentation for the appropriate value for this field.
|
1444
|
+
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1445
|
+
# @param [String] fields
|
1446
|
+
# Selector specifying which fields to include in a partial response.
|
1447
|
+
# @param [String] quota_user
|
1448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1450
|
+
# @param [Google::Apis::RequestOptions] options
|
1451
|
+
# Request-specific options
|
1452
|
+
#
|
1453
|
+
# @yield [result, err] Result & error if block supplied
|
1454
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
|
1455
|
+
# @yieldparam err [StandardError] error object if request failed
|
1456
|
+
#
|
1457
|
+
# @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
|
1458
|
+
#
|
1459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1462
|
+
def test_consent_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1463
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
1464
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
|
1465
|
+
command.request_object = test_iam_permissions_request_object
|
1466
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
|
1467
|
+
command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
|
1468
|
+
command.params['resource'] = resource unless resource.nil?
|
1469
|
+
command.query['fields'] = fields unless fields.nil?
|
1470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1471
|
+
execute_or_queue_command(command, &block)
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# Creates a new Attribute definition in the parent Consent store.
|
1475
|
+
# @param [String] parent
|
1476
|
+
# Required. The name of the consent store that this Attribute definition belongs
|
1477
|
+
# to.
|
1478
|
+
# @param [Google::Apis::HealthcareV1beta1::AttributeDefinition] attribute_definition_object
|
1479
|
+
# @param [String] attribute_definition_id
|
1480
|
+
# Required. The ID of the Attribute definition to create. The string must match
|
1481
|
+
# the following regex: `_a-zA-Z`0,255`` and must not be a reserved keyword
|
1482
|
+
# within the Common Expression Language as listed on https://github.com/google/
|
1483
|
+
# cel-spec/blob/master/doc/langdef.md.
|
1484
|
+
# @param [String] fields
|
1485
|
+
# Selector specifying which fields to include in a partial response.
|
1486
|
+
# @param [String] quota_user
|
1487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1489
|
+
# @param [Google::Apis::RequestOptions] options
|
1490
|
+
# Request-specific options
|
1491
|
+
#
|
1492
|
+
# @yield [result, err] Result & error if block supplied
|
1493
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
1494
|
+
# @yieldparam err [StandardError] error object if request failed
|
1495
|
+
#
|
1496
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
1497
|
+
#
|
1498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1501
|
+
def create_project_location_dataset_consent_store_attribute_definition(parent, attribute_definition_object = nil, attribute_definition_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1502
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/attributeDefinitions', options)
|
1503
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
1504
|
+
command.request_object = attribute_definition_object
|
1505
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
1506
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
1507
|
+
command.params['parent'] = parent unless parent.nil?
|
1508
|
+
command.query['attributeDefinitionId'] = attribute_definition_id unless attribute_definition_id.nil?
|
1509
|
+
command.query['fields'] = fields unless fields.nil?
|
1510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1511
|
+
execute_or_queue_command(command, &block)
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
# Deletes the specified Attribute definition. Fails if it is referenced by the
|
1515
|
+
# latest revision of any Consent or User data mapping.
|
1516
|
+
# @param [String] name
|
1517
|
+
# Required. The resource name of the Attribute definition to delete.
|
1518
|
+
# @param [String] fields
|
1519
|
+
# Selector specifying which fields to include in a partial response.
|
1520
|
+
# @param [String] quota_user
|
1521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1523
|
+
# @param [Google::Apis::RequestOptions] options
|
1524
|
+
# Request-specific options
|
1525
|
+
#
|
1526
|
+
# @yield [result, err] Result & error if block supplied
|
1527
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
1528
|
+
# @yieldparam err [StandardError] error object if request failed
|
1529
|
+
#
|
1530
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
1531
|
+
#
|
1532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1535
|
+
def delete_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil, &block)
|
1536
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1537
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
1538
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
1539
|
+
command.params['name'] = name unless name.nil?
|
1540
|
+
command.query['fields'] = fields unless fields.nil?
|
1541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1542
|
+
execute_or_queue_command(command, &block)
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
# Gets the specified Attribute definition.
|
1546
|
+
# @param [String] name
|
1547
|
+
# Required. The resource name of the Attribute definition to get.
|
1548
|
+
# @param [String] fields
|
1549
|
+
# Selector specifying which fields to include in a partial response.
|
1550
|
+
# @param [String] quota_user
|
1551
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1552
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1553
|
+
# @param [Google::Apis::RequestOptions] options
|
1554
|
+
# Request-specific options
|
1555
|
+
#
|
1556
|
+
# @yield [result, err] Result & error if block supplied
|
1557
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
1558
|
+
# @yieldparam err [StandardError] error object if request failed
|
1559
|
+
#
|
1560
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
1561
|
+
#
|
1562
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1563
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1564
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1565
|
+
def get_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil, &block)
|
1566
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1567
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
1568
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
1569
|
+
command.params['name'] = name unless name.nil?
|
1570
|
+
command.query['fields'] = fields unless fields.nil?
|
1571
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1572
|
+
execute_or_queue_command(command, &block)
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
# Lists the Attribute definitions in the given Consent store.
|
1576
|
+
# @param [String] parent
|
1577
|
+
# Required. Name of the Consent store to retrieve attribute definitions from.
|
1578
|
+
# @param [String] filter
|
1579
|
+
# Restricts the attributes returned to those matching a filter. Syntax: https://
|
1580
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings. The only
|
1581
|
+
# field available for filtering is `category`.
|
1582
|
+
# @param [Fixnum] page_size
|
1583
|
+
# Limit on the number of attribute definitions to return in a single response.
|
1584
|
+
# If zero the default page size of 100 is used.
|
1585
|
+
# @param [String] page_token
|
1586
|
+
# Token to retrieve the next page of results or empty to get the first page.
|
1587
|
+
# @param [String] fields
|
1588
|
+
# Selector specifying which fields to include in a partial response.
|
1589
|
+
# @param [String] quota_user
|
1590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1592
|
+
# @param [Google::Apis::RequestOptions] options
|
1593
|
+
# Request-specific options
|
1594
|
+
#
|
1595
|
+
# @yield [result, err] Result & error if block supplied
|
1596
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse] parsed result object
|
1597
|
+
# @yieldparam err [StandardError] error object if request failed
|
1598
|
+
#
|
1599
|
+
# @return [Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse]
|
1600
|
+
#
|
1601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1604
|
+
def list_project_location_dataset_consent_store_attribute_definitions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1605
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/attributeDefinitions', options)
|
1606
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse::Representation
|
1607
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse
|
1608
|
+
command.params['parent'] = parent unless parent.nil?
|
1609
|
+
command.query['filter'] = filter unless filter.nil?
|
1610
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1611
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1612
|
+
command.query['fields'] = fields unless fields.nil?
|
1613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1614
|
+
execute_or_queue_command(command, &block)
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
# Updates the specified Attribute definition.
|
1618
|
+
# @param [String] name
|
1619
|
+
# Resource name of the attribute definition, of the form `projects/`project_id`/
|
1620
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
1621
|
+
# attributeDefinitions/`attribute_definition_id``.
|
1622
|
+
# @param [Google::Apis::HealthcareV1beta1::AttributeDefinition] attribute_definition_object
|
1623
|
+
# @param [String] update_mask
|
1624
|
+
# The update mask that applies to the resource. For the `FieldMask` definition,
|
1625
|
+
# see https://developers.google.com/protocol-buffers/docs/reference/google.
|
1626
|
+
# protobuf#fieldmask. The `description`, `allowed_values`, `
|
1627
|
+
# consent_default_values`, and `data_mapping_default_value` fields are allowed
|
1628
|
+
# to be updated. The updated `allowed_values` must contain all values from the
|
1629
|
+
# previous `allowed_values`.
|
1630
|
+
# @param [String] fields
|
1631
|
+
# Selector specifying which fields to include in a partial response.
|
1632
|
+
# @param [String] quota_user
|
1633
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1634
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1635
|
+
# @param [Google::Apis::RequestOptions] options
|
1636
|
+
# Request-specific options
|
1637
|
+
#
|
1638
|
+
# @yield [result, err] Result & error if block supplied
|
1639
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::AttributeDefinition] parsed result object
|
1640
|
+
# @yieldparam err [StandardError] error object if request failed
|
1641
|
+
#
|
1642
|
+
# @return [Google::Apis::HealthcareV1beta1::AttributeDefinition]
|
1643
|
+
#
|
1644
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1645
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1646
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1647
|
+
def patch_project_location_dataset_consent_store_attribute_definition(name, attribute_definition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1648
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1649
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
1650
|
+
command.request_object = attribute_definition_object
|
1651
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
|
1652
|
+
command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition
|
1653
|
+
command.params['name'] = name unless name.nil?
|
1654
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1655
|
+
command.query['fields'] = fields unless fields.nil?
|
1656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1657
|
+
execute_or_queue_command(command, &block)
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
# Creates a new Consent artifact in the parent Consent store.
|
1661
|
+
# @param [String] parent
|
1662
|
+
# Required. The name of the Consent store this consent artifact belongs to.
|
1663
|
+
# @param [Google::Apis::HealthcareV1beta1::ConsentArtifact] consent_artifact_object
|
1664
|
+
# @param [String] fields
|
1665
|
+
# Selector specifying which fields to include in a partial response.
|
1666
|
+
# @param [String] quota_user
|
1667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1669
|
+
# @param [Google::Apis::RequestOptions] options
|
1670
|
+
# Request-specific options
|
1671
|
+
#
|
1672
|
+
# @yield [result, err] Result & error if block supplied
|
1673
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentArtifact] parsed result object
|
1674
|
+
# @yieldparam err [StandardError] error object if request failed
|
1675
|
+
#
|
1676
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentArtifact]
|
1677
|
+
#
|
1678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1681
|
+
def create_project_location_dataset_consent_store_consent_artifact(parent, consent_artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1682
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consentArtifacts', options)
|
1683
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
1684
|
+
command.request_object = consent_artifact_object
|
1685
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
1686
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact
|
1687
|
+
command.params['parent'] = parent unless parent.nil?
|
1688
|
+
command.query['fields'] = fields unless fields.nil?
|
1689
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1690
|
+
execute_or_queue_command(command, &block)
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
# Deletes the specified Consent artifact. Fails if it is referenced by the
|
1694
|
+
# latest revision of any Consent.
|
1695
|
+
# @param [String] name
|
1696
|
+
# Required. The resource name of the consent artifact to delete.
|
1697
|
+
# @param [String] fields
|
1698
|
+
# Selector specifying which fields to include in a partial response.
|
1699
|
+
# @param [String] quota_user
|
1700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1702
|
+
# @param [Google::Apis::RequestOptions] options
|
1703
|
+
# Request-specific options
|
1704
|
+
#
|
1705
|
+
# @yield [result, err] Result & error if block supplied
|
1706
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
1707
|
+
# @yieldparam err [StandardError] error object if request failed
|
1708
|
+
#
|
1709
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
1710
|
+
#
|
1711
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1712
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1713
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1714
|
+
def delete_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
|
1715
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1716
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
1717
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
1718
|
+
command.params['name'] = name unless name.nil?
|
1719
|
+
command.query['fields'] = fields unless fields.nil?
|
1720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1721
|
+
execute_or_queue_command(command, &block)
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
# Gets the specified Consent artifact.
|
1725
|
+
# @param [String] name
|
1726
|
+
# Required. The resource name of the consent artifact to retrieve.
|
1727
|
+
# @param [String] fields
|
1728
|
+
# Selector specifying which fields to include in a partial response.
|
1729
|
+
# @param [String] quota_user
|
1730
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1731
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1732
|
+
# @param [Google::Apis::RequestOptions] options
|
1733
|
+
# Request-specific options
|
1734
|
+
#
|
1735
|
+
# @yield [result, err] Result & error if block supplied
|
1736
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ConsentArtifact] parsed result object
|
1737
|
+
# @yieldparam err [StandardError] error object if request failed
|
1738
|
+
#
|
1739
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentArtifact]
|
1740
|
+
#
|
1741
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1742
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1743
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1744
|
+
def get_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
|
1745
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1746
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
|
1747
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact
|
1748
|
+
command.params['name'] = name unless name.nil?
|
1749
|
+
command.query['fields'] = fields unless fields.nil?
|
1750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1751
|
+
execute_or_queue_command(command, &block)
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
# Lists the Consent artifacts in the given Consent store.
|
1755
|
+
# @param [String] parent
|
1756
|
+
# Required. Name of the Consent store to retrieve consent artifacts from.
|
1757
|
+
# @param [String] filter
|
1758
|
+
# Restricts the artifacts returned to those matching a filter. Syntax: https://
|
1759
|
+
# cloud.google.com/appengine/docs/standard/python/search/query_strings The
|
1760
|
+
# fields available for filtering are: - user_id - consent_content_version
|
1761
|
+
# @param [Fixnum] page_size
|
1762
|
+
# Limit on the number of consent artifacts to return in a single response. If
|
1763
|
+
# zero the default page size of 100 is used.
|
1764
|
+
# @param [String] page_token
|
1765
|
+
# The next_page_token value returned from the previous List request, if any.
|
1766
|
+
# @param [String] fields
|
1767
|
+
# Selector specifying which fields to include in a partial response.
|
1768
|
+
# @param [String] quota_user
|
1769
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1770
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1771
|
+
# @param [Google::Apis::RequestOptions] options
|
1772
|
+
# Request-specific options
|
1773
|
+
#
|
1774
|
+
# @yield [result, err] Result & error if block supplied
|
1775
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse] parsed result object
|
1776
|
+
# @yieldparam err [StandardError] error object if request failed
|
1777
|
+
#
|
1778
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse]
|
1779
|
+
#
|
1780
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1781
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1782
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1783
|
+
def list_project_location_dataset_consent_store_consent_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1784
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/consentArtifacts', options)
|
1785
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse::Representation
|
1786
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse
|
1787
|
+
command.params['parent'] = parent unless parent.nil?
|
1788
|
+
command.query['filter'] = filter unless filter.nil?
|
1789
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1790
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1791
|
+
command.query['fields'] = fields unless fields.nil?
|
1792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1793
|
+
execute_or_queue_command(command, &block)
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
# Activates the latest revision of the specified Consent by committing a new
|
1797
|
+
# revision with `state` updated to `ACTIVE`. If the latest revision of the given
|
1798
|
+
# consent is in the `ACTIVE` state, no new revision is committed. A
|
1799
|
+
# FAILED_PRECONDITION error occurs if the latest revision of the given consent
|
1800
|
+
# is in the `REJECTED` or `REVOKED` state.
|
1801
|
+
# @param [String] name
|
1802
|
+
# Required. The resource name of the consent to activate, of the form `projects/`
|
1803
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
1804
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
1805
|
+
# revision_id` is specified in the name.
|
1806
|
+
# @param [Google::Apis::HealthcareV1beta1::ActivateConsentRequest] activate_consent_request_object
|
1807
|
+
# @param [String] fields
|
1808
|
+
# Selector specifying which fields to include in a partial response.
|
1809
|
+
# @param [String] quota_user
|
1810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1812
|
+
# @param [Google::Apis::RequestOptions] options
|
1813
|
+
# Request-specific options
|
1814
|
+
#
|
1815
|
+
# @yield [result, err] Result & error if block supplied
|
1816
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
1817
|
+
# @yieldparam err [StandardError] error object if request failed
|
1818
|
+
#
|
1819
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
1820
|
+
#
|
1821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1824
|
+
def activate_consent(name, activate_consent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1825
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:activate', options)
|
1826
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ActivateConsentRequest::Representation
|
1827
|
+
command.request_object = activate_consent_request_object
|
1828
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
1829
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
1830
|
+
command.params['name'] = name unless name.nil?
|
1831
|
+
command.query['fields'] = fields unless fields.nil?
|
1832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1833
|
+
execute_or_queue_command(command, &block)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Creates a new Consent in the parent Consent store.
|
1837
|
+
# @param [String] parent
|
1838
|
+
# Required. Name of the consent store.
|
1839
|
+
# @param [Google::Apis::HealthcareV1beta1::Consent] consent_object
|
1840
|
+
# @param [String] fields
|
1841
|
+
# Selector specifying which fields to include in a partial response.
|
1842
|
+
# @param [String] quota_user
|
1843
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1844
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1845
|
+
# @param [Google::Apis::RequestOptions] options
|
1846
|
+
# Request-specific options
|
1847
|
+
#
|
1848
|
+
# @yield [result, err] Result & error if block supplied
|
1849
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
1850
|
+
# @yieldparam err [StandardError] error object if request failed
|
1851
|
+
#
|
1852
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
1853
|
+
#
|
1854
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1855
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1856
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1857
|
+
def create_project_location_dataset_consent_store_consent(parent, consent_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1858
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consents', options)
|
1859
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
1860
|
+
command.request_object = consent_object
|
1861
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation
|
1862
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Consent
|
1863
|
+
command.params['parent'] = parent unless parent.nil?
|
1864
|
+
command.query['fields'] = fields unless fields.nil?
|
1865
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1866
|
+
execute_or_queue_command(command, &block)
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# Deletes the Consent and its revisions. To keep a record of the Consent but
|
1870
|
+
# mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [
|
1871
|
+
# DeleteConsentRevision]. This operation does not delete the related consent
|
1872
|
+
# artifact.
|
1873
|
+
# @param [String] name
|
1874
|
+
# Required. The resource name of the consent to delete, of the form `projects/`
|
1875
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
1876
|
+
# consent_store_id`/consents/`consent_id``. An INVALID_ARGUMENT error occurs if `
|
1877
|
+
# revision_id` is specified in the name.
|
1878
|
+
# @param [String] fields
|
1879
|
+
# Selector specifying which fields to include in a partial response.
|
1880
|
+
# @param [String] quota_user
|
1881
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1882
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1883
|
+
# @param [Google::Apis::RequestOptions] options
|
1884
|
+
# Request-specific options
|
1885
|
+
#
|
1886
|
+
# @yield [result, err] Result & error if block supplied
|
1887
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
1888
|
+
# @yieldparam err [StandardError] error object if request failed
|
1889
|
+
#
|
1890
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
1891
|
+
#
|
1892
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1893
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1894
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1895
|
+
def delete_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil, &block)
|
1896
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1897
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
|
1898
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Empty
|
1899
|
+
command.params['name'] = name unless name.nil?
|
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
|
+
# revision_create_time
|
1984
|
+
# @param [Fixnum] page_size
|
1985
|
+
# Limit on the number of consents to return in a single response. If zero the
|
1986
|
+
# default page size of 100 is used.
|
1987
|
+
# @param [String] page_token
|
1988
|
+
# The next_page_token value returned from the previous List request, if any.
|
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
|
811
2043
|
# @yieldparam err [StandardError] error object if request failed
|
812
2044
|
#
|
813
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2045
|
+
# @return [Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse]
|
814
2046
|
#
|
815
2047
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
816
2048
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
817
2049
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
818
|
-
def
|
819
|
-
command = make_simple_command(:
|
820
|
-
command.
|
821
|
-
command.
|
822
|
-
command.
|
823
|
-
command.
|
824
|
-
command.
|
2050
|
+
def list_project_location_dataset_consent_store_consent_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2051
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:listRevisions', options)
|
2052
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse::Representation
|
2053
|
+
command.response_class = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse
|
2054
|
+
command.params['name'] = name unless name.nil?
|
2055
|
+
command.query['filter'] = filter unless filter.nil?
|
2056
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2057
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
825
2058
|
command.query['fields'] = fields unless fields.nil?
|
826
2059
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
827
2060
|
execute_or_queue_command(command, &block)
|
828
2061
|
end
|
829
2062
|
|
830
|
-
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
# @param [
|
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.
|
839
2076
|
# @param [String] fields
|
840
2077
|
# Selector specifying which fields to include in a partial response.
|
841
2078
|
# @param [String] quota_user
|
@@ -845,34 +2082,38 @@ module Google
|
|
845
2082
|
# Request-specific options
|
846
2083
|
#
|
847
2084
|
# @yield [result, err] Result & error if block supplied
|
848
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2085
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
849
2086
|
# @yieldparam err [StandardError] error object if request failed
|
850
2087
|
#
|
851
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2088
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
852
2089
|
#
|
853
2090
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
854
2091
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
855
2092
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
856
|
-
def
|
857
|
-
command = make_simple_command(:
|
858
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
859
|
-
command.request_object =
|
860
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
861
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
862
|
-
command.params['
|
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?
|
863
2101
|
command.query['fields'] = fields unless fields.nil?
|
864
2102
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
865
2103
|
execute_or_queue_command(command, &block)
|
866
2104
|
end
|
867
2105
|
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
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
|
876
2117
|
# @param [String] fields
|
877
2118
|
# Selector specifying which fields to include in a partial response.
|
878
2119
|
# @param [String] quota_user
|
@@ -882,29 +2123,37 @@ module Google
|
|
882
2123
|
# Request-specific options
|
883
2124
|
#
|
884
2125
|
# @yield [result, err] Result & error if block supplied
|
885
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2126
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
886
2127
|
# @yieldparam err [StandardError] error object if request failed
|
887
2128
|
#
|
888
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2129
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
889
2130
|
#
|
890
2131
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
891
2132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
892
2133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
893
|
-
def
|
894
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
895
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
896
|
-
command.request_object =
|
897
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
898
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
899
|
-
command.params['
|
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?
|
900
2141
|
command.query['fields'] = fields unless fields.nil?
|
901
2142
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
902
2143
|
execute_or_queue_command(command, &block)
|
903
2144
|
end
|
904
2145
|
|
905
|
-
#
|
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.
|
906
2151
|
# @param [String] name
|
907
|
-
# The resource name of the
|
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
|
908
2157
|
# @param [String] fields
|
909
2158
|
# Selector specifying which fields to include in a partial response.
|
910
2159
|
# @param [String] quota_user
|
@@ -914,27 +2163,30 @@ module Google
|
|
914
2163
|
# Request-specific options
|
915
2164
|
#
|
916
2165
|
# @yield [result, err] Result & error if block supplied
|
917
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2166
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Consent] parsed result object
|
918
2167
|
# @yieldparam err [StandardError] error object if request failed
|
919
2168
|
#
|
920
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2169
|
+
# @return [Google::Apis::HealthcareV1beta1::Consent]
|
921
2170
|
#
|
922
2171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
923
2172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
924
2173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
925
|
-
def
|
926
|
-
command = make_simple_command(:
|
927
|
-
command.
|
928
|
-
command.
|
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
|
929
2180
|
command.params['name'] = name unless name.nil?
|
930
2181
|
command.query['fields'] = fields unless fields.nil?
|
931
2182
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
932
2183
|
execute_or_queue_command(command, &block)
|
933
2184
|
end
|
934
2185
|
|
935
|
-
#
|
2186
|
+
# Archives the specified User data mapping.
|
936
2187
|
# @param [String] name
|
937
|
-
# The resource name of the
|
2188
|
+
# The resource name of the user data mapping to archive.
|
2189
|
+
# @param [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingRequest] archive_user_data_mapping_request_object
|
938
2190
|
# @param [String] fields
|
939
2191
|
# Selector specifying which fields to include in a partial response.
|
940
2192
|
# @param [String] quota_user
|
@@ -944,42 +2196,30 @@ module Google
|
|
944
2196
|
# Request-specific options
|
945
2197
|
#
|
946
2198
|
# @yield [result, err] Result & error if block supplied
|
947
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2199
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse] parsed result object
|
948
2200
|
# @yieldparam err [StandardError] error object if request failed
|
949
2201
|
#
|
950
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2202
|
+
# @return [Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse]
|
951
2203
|
#
|
952
2204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
953
2205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
954
2206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
955
|
-
def
|
956
|
-
command = make_simple_command(:
|
957
|
-
command.
|
958
|
-
command.
|
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
|
959
2213
|
command.params['name'] = name unless name.nil?
|
960
2214
|
command.query['fields'] = fields unless fields.nil?
|
961
2215
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
962
2216
|
execute_or_queue_command(command, &block)
|
963
2217
|
end
|
964
2218
|
|
965
|
-
#
|
2219
|
+
# Creates a new User data mapping in the parent Consent store.
|
966
2220
|
# @param [String] parent
|
967
|
-
# Name of the
|
968
|
-
# @param [
|
969
|
-
# Restricts Annotations returned to those matching a filter. Functions available
|
970
|
-
# for filtering are: - `matches("annotation_source.cloud_healthcare_source.name",
|
971
|
-
# substring)`. Filter on `cloud_healthcare_source.name`. For example: `matches("
|
972
|
-
# annotation_source.cloud_healthcare_source.name", "some source")`. - `matches("
|
973
|
-
# annotation", substring)`. Filter on all fields of annotation. For example: `
|
974
|
-
# matches("annotation", "some-content")`. - `type("text")`, `type("image")`, `
|
975
|
-
# type("resource")`. Filter on the type of annotation `data`.
|
976
|
-
# @param [Fixnum] page_size
|
977
|
-
# Limit on the number of Annotations to return in a single response. If zero the
|
978
|
-
# default page size of 100 is used.
|
979
|
-
# @param [String] page_token
|
980
|
-
# The next_page_token value returned from the previous List request, if any.
|
981
|
-
# @param [String] view
|
982
|
-
# Controls which fields are populated in the response.
|
2221
|
+
# Required. Name of the consent store.
|
2222
|
+
# @param [Google::Apis::HealthcareV1beta1::UserDataMapping] user_data_mapping_object
|
983
2223
|
# @param [String] fields
|
984
2224
|
# Selector specifying which fields to include in a partial response.
|
985
2225
|
# @param [String] quota_user
|
@@ -989,38 +2229,29 @@ module Google
|
|
989
2229
|
# Request-specific options
|
990
2230
|
#
|
991
2231
|
# @yield [result, err] Result & error if block supplied
|
992
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2232
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
993
2233
|
# @yieldparam err [StandardError] error object if request failed
|
994
2234
|
#
|
995
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2235
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
996
2236
|
#
|
997
2237
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
998
2238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
999
2239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1000
|
-
def
|
1001
|
-
command = make_simple_command(:
|
1002
|
-
command.
|
1003
|
-
command.
|
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
|
1004
2246
|
command.params['parent'] = parent unless parent.nil?
|
1005
|
-
command.query['filter'] = filter unless filter.nil?
|
1006
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1007
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1008
|
-
command.query['view'] = view unless view.nil?
|
1009
2247
|
command.query['fields'] = fields unless fields.nil?
|
1010
2248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1011
2249
|
execute_or_queue_command(command, &block)
|
1012
2250
|
end
|
1013
2251
|
|
1014
|
-
#
|
2252
|
+
# Deletes the specified User data mapping.
|
1015
2253
|
# @param [String] name
|
1016
|
-
#
|
1017
|
-
# location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id`/
|
1018
|
-
# annotations/`annotation_id``.
|
1019
|
-
# @param [Google::Apis::HealthcareV1beta1::Annotation] annotation_object
|
1020
|
-
# @param [String] update_mask
|
1021
|
-
# The update mask applies to the resource. For the `FieldMask` definition, see
|
1022
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1023
|
-
# fieldmask
|
2254
|
+
# Required. The resource name of the user data mapping to delete.
|
1024
2255
|
# @param [String] fields
|
1025
2256
|
# Selector specifying which fields to include in a partial response.
|
1026
2257
|
# @param [String] quota_user
|
@@ -1030,40 +2261,27 @@ module Google
|
|
1030
2261
|
# Request-specific options
|
1031
2262
|
#
|
1032
2263
|
# @yield [result, err] Result & error if block supplied
|
1033
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2264
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
|
1034
2265
|
# @yieldparam err [StandardError] error object if request failed
|
1035
2266
|
#
|
1036
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2267
|
+
# @return [Google::Apis::HealthcareV1beta1::Empty]
|
1037
2268
|
#
|
1038
2269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1039
2270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1040
2271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1041
|
-
def
|
1042
|
-
command = make_simple_command(:
|
1043
|
-
command.
|
1044
|
-
command.
|
1045
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::Annotation::Representation
|
1046
|
-
command.response_class = Google::Apis::HealthcareV1beta1::Annotation
|
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
|
1047
2276
|
command.params['name'] = name unless name.nil?
|
1048
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1049
2277
|
command.query['fields'] = fields unless fields.nil?
|
1050
2278
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1051
2279
|
execute_or_queue_command(command, &block)
|
1052
2280
|
end
|
1053
2281
|
|
1054
|
-
# Gets the
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
# REQUIRED: The resource for which the policy is being requested. See the
|
1058
|
-
# operation documentation for the appropriate value for this field.
|
1059
|
-
# @param [Fixnum] options_requested_policy_version
|
1060
|
-
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1061
|
-
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1062
|
-
# policies with any conditional bindings must specify version 3. Policies
|
1063
|
-
# without any conditional bindings may specify any valid value or leave the
|
1064
|
-
# field unset. To learn which resources support conditions in their IAM policies,
|
1065
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1066
|
-
# resource-policies).
|
2282
|
+
# Gets the specified User data mapping.
|
2283
|
+
# @param [String] name
|
2284
|
+
# Required. The resource name of the user data mapping to retrieve.
|
1067
2285
|
# @param [String] fields
|
1068
2286
|
# Selector specifying which fields to include in a partial response.
|
1069
2287
|
# @param [String] quota_user
|
@@ -1073,32 +2291,37 @@ module Google
|
|
1073
2291
|
# Request-specific options
|
1074
2292
|
#
|
1075
2293
|
# @yield [result, err] Result & error if block supplied
|
1076
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2294
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
1077
2295
|
# @yieldparam err [StandardError] error object if request failed
|
1078
2296
|
#
|
1079
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2297
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
1080
2298
|
#
|
1081
2299
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1082
2300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1083
2301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1084
|
-
def
|
1085
|
-
command = make_simple_command(:get, 'v1beta1/{+
|
1086
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
1087
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
1088
|
-
command.params['
|
1089
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
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?
|
1090
2307
|
command.query['fields'] = fields unless fields.nil?
|
1091
2308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1092
2309
|
execute_or_queue_command(command, &block)
|
1093
2310
|
end
|
1094
2311
|
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
# @param [String]
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
#
|
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.
|
1102
2325
|
# @param [String] fields
|
1103
2326
|
# Selector specifying which fields to include in a partial response.
|
1104
2327
|
# @param [String] quota_user
|
@@ -1108,35 +2331,37 @@ module Google
|
|
1108
2331
|
# Request-specific options
|
1109
2332
|
#
|
1110
2333
|
# @yield [result, err] Result & error if block supplied
|
1111
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2334
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse] parsed result object
|
1112
2335
|
# @yieldparam err [StandardError] error object if request failed
|
1113
2336
|
#
|
1114
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2337
|
+
# @return [Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse]
|
1115
2338
|
#
|
1116
2339
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1117
2340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1118
2341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1119
|
-
def
|
1120
|
-
command = make_simple_command(:
|
1121
|
-
command.
|
1122
|
-
command.
|
1123
|
-
command.
|
1124
|
-
command.
|
1125
|
-
command.
|
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?
|
1126
2350
|
command.query['fields'] = fields unless fields.nil?
|
1127
2351
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1128
2352
|
execute_or_queue_command(command, &block)
|
1129
2353
|
end
|
1130
2354
|
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
# @param [
|
1137
|
-
#
|
1138
|
-
#
|
1139
|
-
#
|
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.
|
1140
2365
|
# @param [String] fields
|
1141
2366
|
# Selector specifying which fields to include in a partial response.
|
1142
2367
|
# @param [String] quota_user
|
@@ -1146,21 +2371,22 @@ module Google
|
|
1146
2371
|
# Request-specific options
|
1147
2372
|
#
|
1148
2373
|
# @yield [result, err] Result & error if block supplied
|
1149
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
2374
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::UserDataMapping] parsed result object
|
1150
2375
|
# @yieldparam err [StandardError] error object if request failed
|
1151
2376
|
#
|
1152
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2377
|
+
# @return [Google::Apis::HealthcareV1beta1::UserDataMapping]
|
1153
2378
|
#
|
1154
2379
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1155
2380
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1156
2381
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1157
|
-
def
|
1158
|
-
command = make_simple_command(:
|
1159
|
-
command.request_representation = Google::Apis::HealthcareV1beta1::
|
1160
|
-
command.request_object =
|
1161
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
1162
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
1163
|
-
command.params['
|
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?
|
1164
2390
|
command.query['fields'] = fields unless fields.nil?
|
1165
2391
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1166
2392
|
execute_or_queue_command(command, &block)
|
@@ -1752,11 +2978,13 @@ module Google
|
|
1752
2978
|
execute_or_queue_command(command, &block)
|
1753
2979
|
end
|
1754
2980
|
|
1755
|
-
#
|
1756
|
-
# equivalent to the GET requests specified in the
|
1757
|
-
#
|
1758
|
-
#
|
1759
|
-
#
|
2981
|
+
# DeleteStudyAsync deletes all instances within the given study using an
|
2982
|
+
# operation. Delete requests are equivalent to the GET requests specified in the
|
2983
|
+
# Retrieve transaction. The method returns an Operation which will be marked
|
2984
|
+
# successful when the deletion is complete. Warning: Inserting instances into a
|
2985
|
+
# study while a delete operation is running for that study could result in the
|
2986
|
+
# new instances not appearing in search results until the deletion operation
|
2987
|
+
# finishes.
|
1760
2988
|
# @param [String] parent
|
1761
2989
|
# @param [String] dicom_web_path
|
1762
2990
|
# The path of the DeleteStudy request. For example, `studies/`study_uid``.
|
@@ -1769,18 +2997,18 @@ module Google
|
|
1769
2997
|
# Request-specific options
|
1770
2998
|
#
|
1771
2999
|
# @yield [result, err] Result & error if block supplied
|
1772
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
3000
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
1773
3001
|
# @yieldparam err [StandardError] error object if request failed
|
1774
3002
|
#
|
1775
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
3003
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
1776
3004
|
#
|
1777
3005
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1778
3006
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1779
3007
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1780
3008
|
def delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
1781
3009
|
command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
1782
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
1783
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
3010
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
3011
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
1784
3012
|
command.params['parent'] = parent unless parent.nil?
|
1785
3013
|
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
1786
3014
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2008,11 +3236,13 @@ module Google
|
|
2008
3236
|
execute_or_queue_command(command, &block)
|
2009
3237
|
end
|
2010
3238
|
|
2011
|
-
#
|
2012
|
-
# requests are equivalent to the GET requests
|
2013
|
-
#
|
2014
|
-
#
|
2015
|
-
#
|
3239
|
+
# DeleteSeriesAsync deletes all instances within the given study and series
|
3240
|
+
# using an operation. Delete requests are equivalent to the GET requests
|
3241
|
+
# specified in the Retrieve transaction. The method returns an Operation which
|
3242
|
+
# will be marked successful when the deletion is complete. Warning: Inserting
|
3243
|
+
# instances into a series while a delete operation is running for that series
|
3244
|
+
# could result in the new instances not appearing in search results until the
|
3245
|
+
# deletion operation finishes.
|
2016
3246
|
# @param [String] parent
|
2017
3247
|
# The name of the DICOM store that is being accessed. For example, `projects/`
|
2018
3248
|
# project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
|
@@ -2029,18 +3259,18 @@ module Google
|
|
2029
3259
|
# Request-specific options
|
2030
3260
|
#
|
2031
3261
|
# @yield [result, err] Result & error if block supplied
|
2032
|
-
# @yieldparam result [Google::Apis::HealthcareV1beta1::
|
3262
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
2033
3263
|
# @yieldparam err [StandardError] error object if request failed
|
2034
3264
|
#
|
2035
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
3265
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
2036
3266
|
#
|
2037
3267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2038
3268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2039
3269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2040
3270
|
def delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
2041
3271
|
command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
2042
|
-
command.response_representation = Google::Apis::HealthcareV1beta1::
|
2043
|
-
command.response_class = Google::Apis::HealthcareV1beta1::
|
3272
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
3273
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
2044
3274
|
command.params['parent'] = parent unless parent.nil?
|
2045
3275
|
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
2046
3276
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2549,13 +3779,13 @@ module Google
|
|
2549
3779
|
execute_or_queue_command(command, &block)
|
2550
3780
|
end
|
2551
3781
|
|
2552
|
-
# Export resources from the FHIR store to the specified destination. This
|
2553
|
-
#
|
2554
|
-
#
|
2555
|
-
#
|
2556
|
-
# how-tos/logging)). Otherwise, when the operation finishes, a
|
2557
|
-
# of type ExportResourcesResponse is returned in the response
|
2558
|
-
# metadata field type for this operation is OperationMetadata.
|
3782
|
+
# Export resources from the FHIR store to the specified destination. This method
|
3783
|
+
# returns an Operation that can be used to track the status of the export by
|
3784
|
+
# calling GetOperation. Immediate fatal errors appear in the error field, errors
|
3785
|
+
# are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](/
|
3786
|
+
# healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a
|
3787
|
+
# detailed response of type ExportResourcesResponse is returned in the response
|
3788
|
+
# field. The metadata field type for this operation is OperationMetadata.
|
2559
3789
|
# @param [String] name
|
2560
3790
|
# The name of the FHIR store to export resource from, in the format of `projects/
|
2561
3791
|
# `project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/`
|
@@ -2675,10 +3905,10 @@ module Google
|
|
2675
3905
|
# considering grouping or ordering, but if the input data contains invalid
|
2676
3906
|
# references or if some resources fail to be imported, the FHIR store might be
|
2677
3907
|
# left in a state that violates referential integrity. The import process does
|
2678
|
-
# not trigger
|
2679
|
-
#
|
2680
|
-
#
|
2681
|
-
#
|
3908
|
+
# not trigger Pub/Sub notification or BigQuery streaming update, regardless of
|
3909
|
+
# how those are configured on the FHIR store. If a resource with the specified
|
3910
|
+
# ID already exists, the most recent version of the resource is overwritten
|
3911
|
+
# without creating a new historical version, regardless of the
|
2682
3912
|
# disable_resource_versioning setting on the FHIR store. If transient failures
|
2683
3913
|
# occur during the import, it is possible that successfully imported resources
|
2684
3914
|
# will be overwritten more than once. The import operation is idempotent unless
|
@@ -2693,22 +3923,22 @@ module Google
|
|
2693
3923
|
# copy of a resource such as Practitioner that might be referred to by many
|
2694
3924
|
# patients. If some resources fail to import, for example due to parsing errors,
|
2695
3925
|
# successfully imported resources are not rolled back. The location and format
|
2696
|
-
# of the input data
|
2697
|
-
# is specified, this method assumes the `BUNDLE` format.
|
2698
|
-
# format this method ignores the `Bundle.type` field,
|
2699
|
-
# bundles are rejected, and does not apply any of the
|
2700
|
-
# semantics for batch or transaction bundles. Unlike in
|
2701
|
-
# transaction bundles are not executed as a single transaction
|
2702
|
-
# internal references are not rewritten. The bundle is treated as a
|
2703
|
-
# of resources to be written as provided in `Bundle.entry.resource`,
|
2704
|
-
# Bundle.entry.request`. As an example, this allows the import of `
|
2705
|
-
# bundles produced by a FHIR search or Patient-everything operation.
|
2706
|
-
# returns an Operation that can be used to track the status of the
|
2707
|
-
# calling GetOperation. Immediate fatal errors appear in the error
|
2708
|
-
# are also logged to Cloud Logging (see [Viewing logs](/healthcare/
|
2709
|
-
# logging)). Otherwise, when the operation finishes, a detailed
|
2710
|
-
# ImportResourcesResponse is returned in the response field.
|
2711
|
-
# type for this operation is OperationMetadata.
|
3926
|
+
# of the input data are specified by the parameters in ImportResourcesRequest.
|
3927
|
+
# Note that if no format is specified, this method assumes the `BUNDLE` format.
|
3928
|
+
# When using the `BUNDLE` format this method ignores the `Bundle.type` field,
|
3929
|
+
# except that `history` bundles are rejected, and does not apply any of the
|
3930
|
+
# bundle processing semantics for batch or transaction bundles. Unlike in
|
3931
|
+
# ExecuteBundle, transaction bundles are not executed as a single transaction
|
3932
|
+
# and bundle-internal references are not rewritten. The bundle is treated as a
|
3933
|
+
# collection of resources to be written as provided in `Bundle.entry.resource`,
|
3934
|
+
# ignoring `Bundle.entry.request`. As an example, this allows the import of `
|
3935
|
+
# searchset` bundles produced by a FHIR search or Patient-everything operation.
|
3936
|
+
# This method returns an Operation that can be used to track the status of the
|
3937
|
+
# import by calling GetOperation. Immediate fatal errors appear in the error
|
3938
|
+
# field, errors are also logged to Cloud Logging (see [Viewing logs](/healthcare/
|
3939
|
+
# docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed
|
3940
|
+
# response of type ImportResourcesResponse is returned in the response field.
|
3941
|
+
# The metadata field type for this operation is OperationMetadata.
|
2712
3942
|
# @param [String] name
|
2713
3943
|
# The name of the FHIR store to import FHIR resources to, in the format of `
|
2714
3944
|
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
|
@@ -2960,16 +4190,17 @@ module Google
|
|
2960
4190
|
execute_or_queue_command(command, &block)
|
2961
4191
|
end
|
2962
4192
|
|
2963
|
-
# Translates a code from one value set to another using a concept map.
|
2964
|
-
#
|
2965
|
-
#
|
2966
|
-
# fhir/
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
2970
|
-
#
|
2971
|
-
#
|
2972
|
-
#
|
4193
|
+
# Translates a code from one value set to another using a concept map. You can
|
4194
|
+
# provide your own concept maps to translate any code system to another code
|
4195
|
+
# system. Implements the FHIR standard $translate operation ([DSTU2](https://www.
|
4196
|
+
# hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.
|
4197
|
+
# hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.
|
4198
|
+
# org/fhir/R4/operation-conceptmap-translate.html)). On success, the response
|
4199
|
+
# body contains a JSON-encoded representation of a FHIR Parameters resource,
|
4200
|
+
# which includes the translation result. Errors generated by the FHIR store
|
4201
|
+
# contain a JSON-encoded `OperationOutcome` resource describing the reason for
|
4202
|
+
# the error. If the request cannot be mapped to a valid API method on a FHIR
|
4203
|
+
# store, a generic GCP error might be returned instead.
|
2973
4204
|
# @param [String] name
|
2974
4205
|
# The URL for the concept map to use for the translation.
|
2975
4206
|
# @param [String] code
|
@@ -3575,7 +4806,8 @@ module Google
|
|
3575
4806
|
# entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `
|
3576
4807
|
# _at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`
|
3577
4808
|
# @param [Fixnum] _count
|
3578
|
-
# The maximum number of search results on a page.
|
4809
|
+
# The maximum number of search results on a page. Default value is 100. Maximum
|
4810
|
+
# value is 1,000.
|
3579
4811
|
# @param [String] _page_token
|
3580
4812
|
# Used to retrieve the first, previous, next, or last page of resource versions
|
3581
4813
|
# when using pagination. Value should be set to the value of `_page_token` set
|
@@ -3936,6 +5168,46 @@ module Google
|
|
3936
5168
|
execute_or_queue_command(command, &block)
|
3937
5169
|
end
|
3938
5170
|
|
5171
|
+
# Exports the messages to a destination. To filter messages to be exported,
|
5172
|
+
# define a filter using the start and end time, relative to the message
|
5173
|
+
# generation time (MSH.7). This API returns an Operation that can be used to
|
5174
|
+
# track the status of the job by calling GetOperation. Immediate fatal errors
|
5175
|
+
# appear in the error field. Otherwise, when the operation finishes, a detailed
|
5176
|
+
# response of type ExportMessagesResponse is returned in the response field. The
|
5177
|
+
# metadata field type for this operation is OperationMetadata.
|
5178
|
+
# @param [String] name
|
5179
|
+
# The name of the source HL7v2 store, in the format `projects/`project_id`/
|
5180
|
+
# locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
|
5181
|
+
# @param [Google::Apis::HealthcareV1beta1::ExportMessagesRequest] export_messages_request_object
|
5182
|
+
# @param [String] fields
|
5183
|
+
# Selector specifying which fields to include in a partial response.
|
5184
|
+
# @param [String] quota_user
|
5185
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5186
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5187
|
+
# @param [Google::Apis::RequestOptions] options
|
5188
|
+
# Request-specific options
|
5189
|
+
#
|
5190
|
+
# @yield [result, err] Result & error if block supplied
|
5191
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
5192
|
+
# @yieldparam err [StandardError] error object if request failed
|
5193
|
+
#
|
5194
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
5195
|
+
#
|
5196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5199
|
+
def export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5200
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
|
5201
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::ExportMessagesRequest::Representation
|
5202
|
+
command.request_object = export_messages_request_object
|
5203
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
5204
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
5205
|
+
command.params['name'] = name unless name.nil?
|
5206
|
+
command.query['fields'] = fields unless fields.nil?
|
5207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5208
|
+
execute_or_queue_command(command, &block)
|
5209
|
+
end
|
5210
|
+
|
3939
5211
|
# Gets the specified HL7v2 store.
|
3940
5212
|
# @param [String] name
|
3941
5213
|
# The resource name of the HL7v2 store to get.
|