google-api-client 0.44.2 → 0.46.2
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/.gitignore +2 -0
- data/CHANGELOG.md +295 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +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_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +442 -14
- data/generated/google/apis/apigee_v1/representations.rb +161 -1
- data/generated/google/apis/apigee_v1/service.rb +264 -44
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +140 -23
- data/generated/google/apis/bigquery_v2/representations.rb +36 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
- data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
- data/generated/google/apis/cloudidentity_v1beta1.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/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +336 -53
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +50 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +108 -5
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -3
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
- data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
- data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +21 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +30 -3
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_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_v1beta.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/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
- data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- 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_v3.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_v3p1beta1.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/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +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_v1alpha1.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_v1beta1.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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +99 -45
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +48 -47
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +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/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -135
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.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/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -2
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.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/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +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/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +3 -198
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +41 -19
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class ExistingDisk
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class FailedEvent
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class PersistentDisk
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class Pipeline
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -232,6 +244,12 @@ module Google
|
|
232
244
|
include Google::Apis::Core::JsonObjectSupport
|
233
245
|
end
|
234
246
|
|
247
|
+
class Volume
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
235
253
|
class WorkerAssignedEvent
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
255
|
|
@@ -384,6 +402,13 @@ module Google
|
|
384
402
|
end
|
385
403
|
end
|
386
404
|
|
405
|
+
class ExistingDisk
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
property :disk, as: 'disk'
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
387
412
|
class FailedEvent
|
388
413
|
# @private
|
389
414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -470,6 +495,15 @@ module Google
|
|
470
495
|
end
|
471
496
|
end
|
472
497
|
|
498
|
+
class PersistentDisk
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :size_gb, as: 'sizeGb'
|
502
|
+
property :source_image, as: 'sourceImage'
|
503
|
+
property :type, as: 'type'
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
473
507
|
class Pipeline
|
474
508
|
# @private
|
475
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -591,6 +625,19 @@ module Google
|
|
591
625
|
property :preemptible, as: 'preemptible'
|
592
626
|
property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation
|
593
627
|
|
628
|
+
collection :volumes, as: 'volumes', class: Google::Apis::GenomicsV2alpha1::Volume, decorator: Google::Apis::GenomicsV2alpha1::Volume::Representation
|
629
|
+
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class Volume
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :existing_disk, as: 'existingDisk', class: Google::Apis::GenomicsV2alpha1::ExistingDisk, decorator: Google::Apis::GenomicsV2alpha1::ExistingDisk::Representation
|
637
|
+
|
638
|
+
property :persistent_disk, as: 'persistentDisk', class: Google::Apis::GenomicsV2alpha1::PersistentDisk, decorator: Google::Apis::GenomicsV2alpha1::PersistentDisk::Representation
|
639
|
+
|
640
|
+
property :volume, as: 'volume'
|
594
641
|
end
|
595
642
|
end
|
596
643
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/gmail/api/
|
27
27
|
module GmailV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200919'
|
30
30
|
|
31
31
|
# Read, compose, send, and permanently delete all your email from Gmail
|
32
32
|
AUTH_SCOPE = 'https://mail.google.com/'
|
@@ -1624,7 +1624,7 @@ module Google
|
|
1624
1624
|
execute_or_queue_command(command, &block)
|
1625
1625
|
end
|
1626
1626
|
|
1627
|
-
# Creates a filter.
|
1627
|
+
# Creates a filter. Note: you can only create a maximum of 1,000 filters.
|
1628
1628
|
# @param [String] user_id
|
1629
1629
|
# User's email address. The special value "me" can be used to indicate the
|
1630
1630
|
# authenticated user.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/gmail/postmaster
|
28
28
|
module GmailpostmastertoolsV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201012'
|
31
31
|
|
32
32
|
# See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
|
33
33
|
AUTH_POSTMASTER_READONLY = 'https://www.googleapis.com/auth/postmaster.readonly'
|
@@ -159,14 +159,14 @@ module Google
|
|
159
159
|
# should have the form `domains/`domain_name``, where domain_name is the fully
|
160
160
|
# qualified domain name.
|
161
161
|
# @param [Fixnum] end_date_day
|
162
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
163
|
-
#
|
164
|
-
# significant.
|
162
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
163
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
165
164
|
# @param [Fixnum] end_date_month
|
166
|
-
# Month of year. Must be from 1 to 12, or 0
|
165
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
167
166
|
# and day.
|
168
167
|
# @param [Fixnum] end_date_year
|
169
|
-
# Year of date. Must be from 1 to 9999, or 0
|
168
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
169
|
+
# year.
|
170
170
|
# @param [Fixnum] page_size
|
171
171
|
# Requested page size. Server may return fewer TrafficStats than requested. If
|
172
172
|
# unspecified, server will pick an appropriate default.
|
@@ -175,14 +175,14 @@ module Google
|
|
175
175
|
# is the value of ListTrafficStatsResponse.next_page_token returned from the
|
176
176
|
# previous call to `ListTrafficStats` method.
|
177
177
|
# @param [Fixnum] start_date_day
|
178
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
179
|
-
#
|
180
|
-
# significant.
|
178
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
179
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
181
180
|
# @param [Fixnum] start_date_month
|
182
|
-
# Month of year. Must be from 1 to 12, or 0
|
181
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
183
182
|
# and day.
|
184
183
|
# @param [Fixnum] start_date_year
|
185
|
-
# Year of date. Must be from 1 to 9999, or 0
|
184
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
185
|
+
# year.
|
186
186
|
# @param [String] fields
|
187
187
|
# Selector specifying which fields to include in a partial response.
|
188
188
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201006'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -789,10 +789,10 @@ module Google
|
|
789
789
|
# updateCreate). This determines if the client can use an Update operation to
|
790
790
|
# create a new resource with a client-specified ID. If false, all IDs are server-
|
791
791
|
# assigned through the Create operation and attempts to update a non-existent
|
792
|
-
# resource return errors.
|
793
|
-
#
|
794
|
-
#
|
795
|
-
#
|
792
|
+
# resource return errors. Be careful with the audit logs if client-specified
|
793
|
+
# resource IDs contain sensitive data such as patient identifiers, those IDs are
|
794
|
+
# part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub
|
795
|
+
# notifications.
|
796
796
|
# Corresponds to the JSON property `enableUpdateCreate`
|
797
797
|
# @return [Boolean]
|
798
798
|
attr_accessor :enable_update_create
|
@@ -1798,7 +1798,9 @@ module Google
|
|
1798
1798
|
# that send notifications to fail. If a notification can't be published to Cloud
|
1799
1799
|
# Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
|
1800
1800
|
# docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
|
1801
|
-
# aren't submitted.
|
1801
|
+
# aren't submitted. Note that not all operations trigger notifications, see [
|
1802
|
+
# Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
|
1803
|
+
# how-tos/pubsub) for specific details.
|
1802
1804
|
# Corresponds to the JSON property `pubsubTopic`
|
1803
1805
|
# @return [String]
|
1804
1806
|
attr_accessor :pubsub_topic
|
@@ -118,9 +118,7 @@ module Google
|
|
118
118
|
|
119
119
|
# Creates a new health dataset. Results are returned through the Operation
|
120
120
|
# interface which returns either an `Operation.response` which contains a
|
121
|
-
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
122
|
-
# Google Cloud Platform project can contain up to 500 datasets across all
|
123
|
-
# regions.
|
121
|
+
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
124
122
|
# @param [String] parent
|
125
123
|
# The name of the project where the server creates the dataset. For example, `
|
126
124
|
# projects/`project_id`/locations/`location_id``.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201006'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,43 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module HealthcareV1beta1
|
24
24
|
|
25
|
+
# Activates the latest revision of the specified Consent by committing a new
|
26
|
+
# revision with `state` updated to `ACTIVE`. If the latest revision of the given
|
27
|
+
# consent is in the `ACTIVE` state, no new revision is committed.
|
28
|
+
class ActivateConsentRequest
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# Required. The resource name of the consent artifact that contains proof of the
|
32
|
+
# end user's consent, of the form `projects/`project_id`/locations/`location_id`/
|
33
|
+
# datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
|
34
|
+
# consent_artifact_id``. If the draft consent had a consent artifact, this
|
35
|
+
# consent artifact overwrites it.
|
36
|
+
# Corresponds to the JSON property `consentArtifact`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :consent_artifact
|
39
|
+
|
40
|
+
# Timestamp in UTC of when this consent is considered expired.
|
41
|
+
# Corresponds to the JSON property `expireTime`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :expire_time
|
44
|
+
|
45
|
+
# The time to live for this consent from when it is marked as active.
|
46
|
+
# Corresponds to the JSON property `ttl`
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :ttl
|
49
|
+
|
50
|
+
def initialize(**args)
|
51
|
+
update!(**args)
|
52
|
+
end
|
53
|
+
|
54
|
+
# Update properties of this object
|
55
|
+
def update!(**args)
|
56
|
+
@consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
|
57
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
58
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
25
62
|
# An annotation record.
|
26
63
|
class Annotation
|
27
64
|
include Google::Apis::Core::Hashable
|
@@ -160,6 +197,119 @@ module Google
|
|
160
197
|
end
|
161
198
|
end
|
162
199
|
|
200
|
+
# Archives the specified User data mapping.
|
201
|
+
class ArchiveUserDataMappingRequest
|
202
|
+
include Google::Apis::Core::Hashable
|
203
|
+
|
204
|
+
def initialize(**args)
|
205
|
+
update!(**args)
|
206
|
+
end
|
207
|
+
|
208
|
+
# Update properties of this object
|
209
|
+
def update!(**args)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
# Archives the specified User data mapping.
|
214
|
+
class ArchiveUserDataMappingResponse
|
215
|
+
include Google::Apis::Core::Hashable
|
216
|
+
|
217
|
+
def initialize(**args)
|
218
|
+
update!(**args)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Update properties of this object
|
222
|
+
def update!(**args)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# An attribute value for a consent or data mapping. Each Attribute must have a
|
227
|
+
# corresponding AttributeDefinition in the consent store that defines the
|
228
|
+
# default and allowed values.
|
229
|
+
class Attribute
|
230
|
+
include Google::Apis::Core::Hashable
|
231
|
+
|
232
|
+
# Indicates the name of an attribute defined at the consent store.
|
233
|
+
# Corresponds to the JSON property `attributeDefinitionId`
|
234
|
+
# @return [String]
|
235
|
+
attr_accessor :attribute_definition_id
|
236
|
+
|
237
|
+
# The value of the attribute. Must be an acceptable value as defined in the
|
238
|
+
# consent store. For example, if the consent store defines "data type" with
|
239
|
+
# acceptable values "questionnaire" and "step-count", when the attribute name is
|
240
|
+
# data type, this field must contain one of those values.
|
241
|
+
# Corresponds to the JSON property `values`
|
242
|
+
# @return [Array<String>]
|
243
|
+
attr_accessor :values
|
244
|
+
|
245
|
+
def initialize(**args)
|
246
|
+
update!(**args)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Update properties of this object
|
250
|
+
def update!(**args)
|
251
|
+
@attribute_definition_id = args[:attribute_definition_id] if args.key?(:attribute_definition_id)
|
252
|
+
@values = args[:values] if args.key?(:values)
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# A client-defined consent attribute.
|
257
|
+
class AttributeDefinition
|
258
|
+
include Google::Apis::Core::Hashable
|
259
|
+
|
260
|
+
# Required. Possible values for the attribute. The number of allowed values must
|
261
|
+
# not exceed 100. An empty list is invalid. The list can only be expanded after
|
262
|
+
# creation.
|
263
|
+
# Corresponds to the JSON property `allowedValues`
|
264
|
+
# @return [Array<String>]
|
265
|
+
attr_accessor :allowed_values
|
266
|
+
|
267
|
+
# Required. The category of the attribute. The value of this field cannot be
|
268
|
+
# changed after creation.
|
269
|
+
# Corresponds to the JSON property `category`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :category
|
272
|
+
|
273
|
+
# Default values of the attribute in consents. If no default values are
|
274
|
+
# specified, it defaults to an empty value.
|
275
|
+
# Corresponds to the JSON property `consentDefaultValues`
|
276
|
+
# @return [Array<String>]
|
277
|
+
attr_accessor :consent_default_values
|
278
|
+
|
279
|
+
# Default value of the attribute in user data mappings. If no default value is
|
280
|
+
# specified, it defaults to an empty value. This field is only applicable to
|
281
|
+
# attributes of the category `RESOURCE`.
|
282
|
+
# Corresponds to the JSON property `dataMappingDefaultValue`
|
283
|
+
# @return [String]
|
284
|
+
attr_accessor :data_mapping_default_value
|
285
|
+
|
286
|
+
# A description of the attribute.
|
287
|
+
# Corresponds to the JSON property `description`
|
288
|
+
# @return [String]
|
289
|
+
attr_accessor :description
|
290
|
+
|
291
|
+
# Resource name of the attribute definition, of the form `projects/`project_id`/
|
292
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
293
|
+
# attributeDefinitions/`attribute_definition_id``.
|
294
|
+
# Corresponds to the JSON property `name`
|
295
|
+
# @return [String]
|
296
|
+
attr_accessor :name
|
297
|
+
|
298
|
+
def initialize(**args)
|
299
|
+
update!(**args)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Update properties of this object
|
303
|
+
def update!(**args)
|
304
|
+
@allowed_values = args[:allowed_values] if args.key?(:allowed_values)
|
305
|
+
@category = args[:category] if args.key?(:category)
|
306
|
+
@consent_default_values = args[:consent_default_values] if args.key?(:consent_default_values)
|
307
|
+
@data_mapping_default_value = args[:data_mapping_default_value] if args.key?(:data_mapping_default_value)
|
308
|
+
@description = args[:description] if args.key?(:description)
|
309
|
+
@name = args[:name] if args.key?(:name)
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
163
313
|
# Specifies the audit configuration for a service. The configuration determines
|
164
314
|
# which permission types are logged, and what identities, if any, are exempted
|
165
315
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -359,6 +509,72 @@ module Google
|
|
359
509
|
end
|
360
510
|
end
|
361
511
|
|
512
|
+
# Checks if a particular data_id of a User data mapping in the given Consent
|
513
|
+
# store is consented for a given use.
|
514
|
+
class CheckDataAccessRequest
|
515
|
+
include Google::Apis::Core::Hashable
|
516
|
+
|
517
|
+
# List of resource names of Consent resources.
|
518
|
+
# Corresponds to the JSON property `consentList`
|
519
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentList]
|
520
|
+
attr_accessor :consent_list
|
521
|
+
|
522
|
+
# The unique identifier of the data to check access for. It must exist in the
|
523
|
+
# given `consent_store`.
|
524
|
+
# Corresponds to the JSON property `dataId`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :data_id
|
527
|
+
|
528
|
+
# The values of request attributes associated with this access request.
|
529
|
+
# Corresponds to the JSON property `requestAttributes`
|
530
|
+
# @return [Hash<String,String>]
|
531
|
+
attr_accessor :request_attributes
|
532
|
+
|
533
|
+
# The view for CheckDataAccessResponse.
|
534
|
+
# Corresponds to the JSON property `responseView`
|
535
|
+
# @return [String]
|
536
|
+
attr_accessor :response_view
|
537
|
+
|
538
|
+
def initialize(**args)
|
539
|
+
update!(**args)
|
540
|
+
end
|
541
|
+
|
542
|
+
# Update properties of this object
|
543
|
+
def update!(**args)
|
544
|
+
@consent_list = args[:consent_list] if args.key?(:consent_list)
|
545
|
+
@data_id = args[:data_id] if args.key?(:data_id)
|
546
|
+
@request_attributes = args[:request_attributes] if args.key?(:request_attributes)
|
547
|
+
@response_view = args[:response_view] if args.key?(:response_view)
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
# Checks if a particular data_id of a User data mapping in the given Consent
|
552
|
+
# store is consented for a given use.
|
553
|
+
class CheckDataAccessResponse
|
554
|
+
include Google::Apis::Core::Hashable
|
555
|
+
|
556
|
+
# The resource names of all evaluated Consents mapped to their evaluation.
|
557
|
+
# Corresponds to the JSON property `consentDetails`
|
558
|
+
# @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
|
559
|
+
attr_accessor :consent_details
|
560
|
+
|
561
|
+
# Whether the requested data is consented for the given use.
|
562
|
+
# Corresponds to the JSON property `consented`
|
563
|
+
# @return [Boolean]
|
564
|
+
attr_accessor :consented
|
565
|
+
alias_method :consented?, :consented
|
566
|
+
|
567
|
+
def initialize(**args)
|
568
|
+
update!(**args)
|
569
|
+
end
|
570
|
+
|
571
|
+
# Update properties of this object
|
572
|
+
def update!(**args)
|
573
|
+
@consent_details = args[:consent_details] if args.key?(:consent_details)
|
574
|
+
@consented = args[:consented] if args.key?(:consented)
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
362
578
|
# Cloud Healthcare API resource.
|
363
579
|
class CloudHealthcareSource
|
364
580
|
include Google::Apis::Core::Hashable
|
@@ -378,6 +594,232 @@ module Google
|
|
378
594
|
end
|
379
595
|
end
|
380
596
|
|
597
|
+
# Represents an end user's consent.
|
598
|
+
class Consent
|
599
|
+
include Google::Apis::Core::Hashable
|
600
|
+
|
601
|
+
# Required. The resource name of the consent artifact that contains proof of the
|
602
|
+
# end user's consent, of the form `projects/`project_id`/locations/`location_id`/
|
603
|
+
# datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
|
604
|
+
# consent_artifact_id``.
|
605
|
+
# Corresponds to the JSON property `consentArtifact`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :consent_artifact
|
608
|
+
|
609
|
+
# Timestamp in UTC of when this consent is considered expired.
|
610
|
+
# Corresponds to the JSON property `expireTime`
|
611
|
+
# @return [String]
|
612
|
+
attr_accessor :expire_time
|
613
|
+
|
614
|
+
# Resource name of the Consent, of the form `projects/`project_id`/locations/`
|
615
|
+
# location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
|
616
|
+
# consent_id``.
|
617
|
+
# Corresponds to the JSON property `name`
|
618
|
+
# @return [String]
|
619
|
+
attr_accessor :name
|
620
|
+
|
621
|
+
# Represents an end user's consent in terms of the resources that can be
|
622
|
+
# accessed and under what conditions.
|
623
|
+
# Corresponds to the JSON property `policies`
|
624
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy>]
|
625
|
+
attr_accessor :policies
|
626
|
+
|
627
|
+
# Output only. The timestamp that the revision was created.
|
628
|
+
# Corresponds to the JSON property `revisionCreateTime`
|
629
|
+
# @return [String]
|
630
|
+
attr_accessor :revision_create_time
|
631
|
+
|
632
|
+
# Output only. The revision ID of the consent. The format is an 8-character
|
633
|
+
# hexadecimal string. Refer to a specific revision of a Consent by appending `@`
|
634
|
+
# revision_id`` to the Consent's resource name.
|
635
|
+
# Corresponds to the JSON property `revisionId`
|
636
|
+
# @return [String]
|
637
|
+
attr_accessor :revision_id
|
638
|
+
|
639
|
+
# Indicates the current state of this consent.
|
640
|
+
# Corresponds to the JSON property `state`
|
641
|
+
# @return [String]
|
642
|
+
attr_accessor :state
|
643
|
+
|
644
|
+
# Input only. The time to live for this consent from when it is created.
|
645
|
+
# Corresponds to the JSON property `ttl`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :ttl
|
648
|
+
|
649
|
+
# Required. User's UUID provided by the client.
|
650
|
+
# Corresponds to the JSON property `userId`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :user_id
|
653
|
+
|
654
|
+
def initialize(**args)
|
655
|
+
update!(**args)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Update properties of this object
|
659
|
+
def update!(**args)
|
660
|
+
@consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
|
661
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
662
|
+
@name = args[:name] if args.key?(:name)
|
663
|
+
@policies = args[:policies] if args.key?(:policies)
|
664
|
+
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
665
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
666
|
+
@state = args[:state] if args.key?(:state)
|
667
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
668
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# Proof of an end user's consent.
|
673
|
+
class ConsentArtifact
|
674
|
+
include Google::Apis::Core::Hashable
|
675
|
+
|
676
|
+
# Screenshots of the consent content.
|
677
|
+
# Corresponds to the JSON property `consentContentScreenshots`
|
678
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Image>]
|
679
|
+
attr_accessor :consent_content_screenshots
|
680
|
+
|
681
|
+
# An string indicating the version of the consent content.
|
682
|
+
# Corresponds to the JSON property `consentContentVersion`
|
683
|
+
# @return [String]
|
684
|
+
attr_accessor :consent_content_version
|
685
|
+
|
686
|
+
# User signature.
|
687
|
+
# Corresponds to the JSON property `guardianSignature`
|
688
|
+
# @return [Google::Apis::HealthcareV1beta1::Signature]
|
689
|
+
attr_accessor :guardian_signature
|
690
|
+
|
691
|
+
# Metadata associated with the consent artifact. For example, the consent locale
|
692
|
+
# or user agent version.
|
693
|
+
# Corresponds to the JSON property `metadata`
|
694
|
+
# @return [Hash<String,String>]
|
695
|
+
attr_accessor :metadata
|
696
|
+
|
697
|
+
# Resource name of the Consent artifact, of the form `projects/`project_id`/
|
698
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
699
|
+
# consentArtifacts/`consent_artifact_id``.
|
700
|
+
# Corresponds to the JSON property `name`
|
701
|
+
# @return [String]
|
702
|
+
attr_accessor :name
|
703
|
+
|
704
|
+
# Required. User's UUID provided by the client.
|
705
|
+
# Corresponds to the JSON property `userId`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :user_id
|
708
|
+
|
709
|
+
# User signature.
|
710
|
+
# Corresponds to the JSON property `userSignature`
|
711
|
+
# @return [Google::Apis::HealthcareV1beta1::Signature]
|
712
|
+
attr_accessor :user_signature
|
713
|
+
|
714
|
+
# User signature.
|
715
|
+
# Corresponds to the JSON property `witnessSignature`
|
716
|
+
# @return [Google::Apis::HealthcareV1beta1::Signature]
|
717
|
+
attr_accessor :witness_signature
|
718
|
+
|
719
|
+
def initialize(**args)
|
720
|
+
update!(**args)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Update properties of this object
|
724
|
+
def update!(**args)
|
725
|
+
@consent_content_screenshots = args[:consent_content_screenshots] if args.key?(:consent_content_screenshots)
|
726
|
+
@consent_content_version = args[:consent_content_version] if args.key?(:consent_content_version)
|
727
|
+
@guardian_signature = args[:guardian_signature] if args.key?(:guardian_signature)
|
728
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
729
|
+
@name = args[:name] if args.key?(:name)
|
730
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
731
|
+
@user_signature = args[:user_signature] if args.key?(:user_signature)
|
732
|
+
@witness_signature = args[:witness_signature] if args.key?(:witness_signature)
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# The detailed evaluation of a particular Consent.
|
737
|
+
class ConsentEvaluation
|
738
|
+
include Google::Apis::Core::Hashable
|
739
|
+
|
740
|
+
# The evaluation result.
|
741
|
+
# Corresponds to the JSON property `evaluationResult`
|
742
|
+
# @return [String]
|
743
|
+
attr_accessor :evaluation_result
|
744
|
+
|
745
|
+
def initialize(**args)
|
746
|
+
update!(**args)
|
747
|
+
end
|
748
|
+
|
749
|
+
# Update properties of this object
|
750
|
+
def update!(**args)
|
751
|
+
@evaluation_result = args[:evaluation_result] if args.key?(:evaluation_result)
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
# List of resource names of Consent resources.
|
756
|
+
class ConsentList
|
757
|
+
include Google::Apis::Core::Hashable
|
758
|
+
|
759
|
+
# The resource names of the Consents to evaluate against, of the form `projects/`
|
760
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
|
761
|
+
# consent_store_id`/consents/`consent_id``.
|
762
|
+
# Corresponds to the JSON property `consents`
|
763
|
+
# @return [Array<String>]
|
764
|
+
attr_accessor :consents
|
765
|
+
|
766
|
+
def initialize(**args)
|
767
|
+
update!(**args)
|
768
|
+
end
|
769
|
+
|
770
|
+
# Update properties of this object
|
771
|
+
def update!(**args)
|
772
|
+
@consents = args[:consents] if args.key?(:consents)
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# Represents a Consent store.
|
777
|
+
class ConsentStore
|
778
|
+
include Google::Apis::Core::Hashable
|
779
|
+
|
780
|
+
# Default time to live for consents in this store. Must be at least 24 hours.
|
781
|
+
# Updating this field will not affect the expiration time of existing consents.
|
782
|
+
# Corresponds to the JSON property `defaultConsentTtl`
|
783
|
+
# @return [String]
|
784
|
+
attr_accessor :default_consent_ttl
|
785
|
+
|
786
|
+
# If true, UpdateConsent creates the consent if it does not already exist.
|
787
|
+
# Corresponds to the JSON property `enableConsentCreateOnUpdate`
|
788
|
+
# @return [Boolean]
|
789
|
+
attr_accessor :enable_consent_create_on_update
|
790
|
+
alias_method :enable_consent_create_on_update?, :enable_consent_create_on_update
|
791
|
+
|
792
|
+
# User-supplied key-value pairs used to organize Consent stores. Label keys must
|
793
|
+
# be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
|
794
|
+
# bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
|
795
|
+
# 0,62` Label values must be between 1 and 63 characters long, have a UTF-8
|
796
|
+
# encoding of maximum 128 bytes, and must conform to the following PCRE regular
|
797
|
+
# expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
|
798
|
+
# associated with a given store.
|
799
|
+
# Corresponds to the JSON property `labels`
|
800
|
+
# @return [Hash<String,String>]
|
801
|
+
attr_accessor :labels
|
802
|
+
|
803
|
+
# Resource name of the Consent store, of the form `projects/`project_id`/
|
804
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
|
805
|
+
# .
|
806
|
+
# Corresponds to the JSON property `name`
|
807
|
+
# @return [String]
|
808
|
+
attr_accessor :name
|
809
|
+
|
810
|
+
def initialize(**args)
|
811
|
+
update!(**args)
|
812
|
+
end
|
813
|
+
|
814
|
+
# Update properties of this object
|
815
|
+
def update!(**args)
|
816
|
+
@default_consent_ttl = args[:default_consent_ttl] if args.key?(:default_consent_ttl)
|
817
|
+
@enable_consent_create_on_update = args[:enable_consent_create_on_update] if args.key?(:enable_consent_create_on_update)
|
818
|
+
@labels = args[:labels] if args.key?(:labels)
|
819
|
+
@name = args[:name] if args.key?(:name)
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
381
823
|
# Creates a new message.
|
382
824
|
class CreateMessageRequest
|
383
825
|
include Google::Apis::Core::Hashable
|
@@ -592,43 +1034,6 @@ module Google
|
|
592
1034
|
end
|
593
1035
|
end
|
594
1036
|
|
595
|
-
# Deprecated. Contains the status of the Deidentify operation.
|
596
|
-
class DeidentifyErrorDetails
|
597
|
-
include Google::Apis::Core::Hashable
|
598
|
-
|
599
|
-
# Number of resources that failed to process.
|
600
|
-
# Corresponds to the JSON property `failureResourceCount`
|
601
|
-
# @return [Fixnum]
|
602
|
-
attr_accessor :failure_resource_count
|
603
|
-
|
604
|
-
# Number of stores that failed to process.
|
605
|
-
# Corresponds to the JSON property `failureStoreCount`
|
606
|
-
# @return [Fixnum]
|
607
|
-
attr_accessor :failure_store_count
|
608
|
-
|
609
|
-
# Number of resources successfully processed.
|
610
|
-
# Corresponds to the JSON property `successResourceCount`
|
611
|
-
# @return [Fixnum]
|
612
|
-
attr_accessor :success_resource_count
|
613
|
-
|
614
|
-
# Number of stores successfully processed.
|
615
|
-
# Corresponds to the JSON property `successStoreCount`
|
616
|
-
# @return [Fixnum]
|
617
|
-
attr_accessor :success_store_count
|
618
|
-
|
619
|
-
def initialize(**args)
|
620
|
-
update!(**args)
|
621
|
-
end
|
622
|
-
|
623
|
-
# Update properties of this object
|
624
|
-
def update!(**args)
|
625
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
626
|
-
@failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
|
627
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
628
|
-
@success_store_count = args[:success_store_count] if args.key?(:success_store_count)
|
629
|
-
end
|
630
|
-
end
|
631
|
-
|
632
1037
|
# Creates a new FHIR store with sensitive information de-identified.
|
633
1038
|
class DeidentifyFhirStoreRequest
|
634
1039
|
include Google::Apis::Core::Hashable
|
@@ -672,31 +1077,12 @@ module Google
|
|
672
1077
|
class DeidentifySummary
|
673
1078
|
include Google::Apis::Core::Hashable
|
674
1079
|
|
675
|
-
# Number of resources that failed to process. The failures might be caused by: *
|
676
|
-
# Invalid user input data * Transient errors that could be skipped
|
677
|
-
# Corresponds to the JSON property `failureResourceCount`
|
678
|
-
# @return [Fixnum]
|
679
|
-
attr_accessor :failure_resource_count
|
680
|
-
|
681
|
-
# Number of resources successfully processed.
|
682
|
-
# Corresponds to the JSON property `successResourceCount`
|
683
|
-
# @return [Fixnum]
|
684
|
-
attr_accessor :success_resource_count
|
685
|
-
|
686
|
-
# Number of stores successfully processed.
|
687
|
-
# Corresponds to the JSON property `successStoreCount`
|
688
|
-
# @return [Fixnum]
|
689
|
-
attr_accessor :success_store_count
|
690
|
-
|
691
1080
|
def initialize(**args)
|
692
1081
|
update!(**args)
|
693
1082
|
end
|
694
1083
|
|
695
1084
|
# Update properties of this object
|
696
1085
|
def update!(**args)
|
697
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
698
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
699
|
-
@success_store_count = args[:success_store_count] if args.key?(:success_store_count)
|
700
1086
|
end
|
701
1087
|
end
|
702
1088
|
|
@@ -928,13 +1314,6 @@ module Google
|
|
928
1314
|
# @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
|
929
1315
|
attr_accessor :info_type_config
|
930
1316
|
|
931
|
-
# The Annotation store to compare against `golden_store`, in the format of `
|
932
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
933
|
-
# annotationStores/`annotation_store_id``.
|
934
|
-
# Corresponds to the JSON property `name`
|
935
|
-
# @return [String]
|
936
|
-
attr_accessor :name
|
937
|
-
|
938
1317
|
def initialize(**args)
|
939
1318
|
update!(**args)
|
940
1319
|
end
|
@@ -946,7 +1325,6 @@ module Google
|
|
946
1325
|
@golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
|
947
1326
|
@golden_store = args[:golden_store] if args.key?(:golden_store)
|
948
1327
|
@info_type_config = args[:info_type_config] if args.key?(:info_type_config)
|
949
|
-
@name = args[:name] if args.key?(:name)
|
950
1328
|
end
|
951
1329
|
end
|
952
1330
|
|
@@ -955,32 +1333,55 @@ module Google
|
|
955
1333
|
class EvaluateAnnotationStoreResponse
|
956
1334
|
include Google::Apis::Core::Hashable
|
957
1335
|
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
#
|
963
|
-
|
1336
|
+
def initialize(**args)
|
1337
|
+
update!(**args)
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# Update properties of this object
|
1341
|
+
def update!(**args)
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# Evaluate an end user's Consents for all matching User data mappings.
|
1346
|
+
class EvaluateUserConsentsRequest
|
1347
|
+
include Google::Apis::Core::Hashable
|
1348
|
+
|
1349
|
+
# List of resource names of Consent resources.
|
1350
|
+
# Corresponds to the JSON property `consentList`
|
1351
|
+
# @return [Google::Apis::HealthcareV1beta1::ConsentList]
|
1352
|
+
attr_accessor :consent_list
|
964
1353
|
|
965
|
-
#
|
966
|
-
#
|
967
|
-
# Corresponds to the JSON property `
|
1354
|
+
# Limit on the number of user data mappings to return in a single response. If
|
1355
|
+
# zero the default page size of 100 is used.
|
1356
|
+
# Corresponds to the JSON property `pageSize`
|
968
1357
|
# @return [Fixnum]
|
969
|
-
attr_accessor :
|
1358
|
+
attr_accessor :page_size
|
970
1359
|
|
971
|
-
#
|
972
|
-
#
|
973
|
-
# annotation_store_id``.
|
974
|
-
# Corresponds to the JSON property `goldenStore`
|
1360
|
+
# Token to retrieve the next page of results to get the first page.
|
1361
|
+
# Corresponds to the JSON property `pageToken`
|
975
1362
|
# @return [String]
|
976
|
-
attr_accessor :
|
1363
|
+
attr_accessor :page_token
|
977
1364
|
|
978
|
-
# The
|
979
|
-
#
|
980
|
-
#
|
981
|
-
|
982
|
-
|
983
|
-
|
1365
|
+
# The values of request attributes associated with this access request.
|
1366
|
+
# Corresponds to the JSON property `requestAttributes`
|
1367
|
+
# @return [Hash<String,String>]
|
1368
|
+
attr_accessor :request_attributes
|
1369
|
+
|
1370
|
+
# The values of resources attributes associated with the type of data being
|
1371
|
+
# requested. If no values are specified, then all data types are queried.
|
1372
|
+
# Corresponds to the JSON property `resourceAttributes`
|
1373
|
+
# @return [Hash<String,String>]
|
1374
|
+
attr_accessor :resource_attributes
|
1375
|
+
|
1376
|
+
# The view for EvaluateUserConsentsResponse.
|
1377
|
+
# Corresponds to the JSON property `responseView`
|
1378
|
+
# @return [String]
|
1379
|
+
attr_accessor :response_view
|
1380
|
+
|
1381
|
+
# Required. User ID to evaluate consents for.
|
1382
|
+
# Corresponds to the JSON property `userId`
|
1383
|
+
# @return [String]
|
1384
|
+
attr_accessor :user_id
|
984
1385
|
|
985
1386
|
def initialize(**args)
|
986
1387
|
update!(**args)
|
@@ -988,34 +1389,30 @@ module Google
|
|
988
1389
|
|
989
1390
|
# Update properties of this object
|
990
1391
|
def update!(**args)
|
991
|
-
@
|
992
|
-
@
|
993
|
-
@
|
994
|
-
@
|
1392
|
+
@consent_list = args[:consent_list] if args.key?(:consent_list)
|
1393
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
1394
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
1395
|
+
@request_attributes = args[:request_attributes] if args.key?(:request_attributes)
|
1396
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
1397
|
+
@response_view = args[:response_view] if args.key?(:response_view)
|
1398
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
995
1399
|
end
|
996
1400
|
end
|
997
1401
|
|
998
|
-
#
|
999
|
-
|
1000
|
-
class ExportAnnotationsErrorDetails
|
1402
|
+
# Evaluate an end user's Consents for all matching User data mappings.
|
1403
|
+
class EvaluateUserConsentsResponse
|
1001
1404
|
include Google::Apis::Core::Hashable
|
1002
1405
|
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
# Corresponds to the JSON property `annotationStore`
|
1406
|
+
# Token to retrieve the next page of results or empty if there are no more
|
1407
|
+
# results in the list. This token is valid for 72 hours after it is created.
|
1408
|
+
# Corresponds to the JSON property `nextPageToken`
|
1007
1409
|
# @return [String]
|
1008
|
-
attr_accessor :
|
1009
|
-
|
1010
|
-
# The number of annotations that had error.
|
1011
|
-
# Corresponds to the JSON property `errorCount`
|
1012
|
-
# @return [Fixnum]
|
1013
|
-
attr_accessor :error_count
|
1410
|
+
attr_accessor :next_page_token
|
1014
1411
|
|
1015
|
-
# The
|
1016
|
-
# Corresponds to the JSON property `
|
1017
|
-
# @return [
|
1018
|
-
attr_accessor :
|
1412
|
+
# The consent evaluation result for each `data_id`.
|
1413
|
+
# Corresponds to the JSON property `results`
|
1414
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Result>]
|
1415
|
+
attr_accessor :results
|
1019
1416
|
|
1020
1417
|
def initialize(**args)
|
1021
1418
|
update!(**args)
|
@@ -1023,9 +1420,8 @@ module Google
|
|
1023
1420
|
|
1024
1421
|
# Update properties of this object
|
1025
1422
|
def update!(**args)
|
1026
|
-
@
|
1027
|
-
@
|
1028
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
1423
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1424
|
+
@results = args[:results] if args.key?(:results)
|
1029
1425
|
end
|
1030
1426
|
end
|
1031
1427
|
|
@@ -1044,13 +1440,6 @@ module Google
|
|
1044
1440
|
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
|
1045
1441
|
attr_accessor :gcs_destination
|
1046
1442
|
|
1047
|
-
# The name of the Annotation store to export annotations to, in the format of `
|
1048
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1049
|
-
# annotationStores/`annotation_store_id``.
|
1050
|
-
# Corresponds to the JSON property `name`
|
1051
|
-
# @return [String]
|
1052
|
-
attr_accessor :name
|
1053
|
-
|
1054
1443
|
def initialize(**args)
|
1055
1444
|
update!(**args)
|
1056
1445
|
end
|
@@ -1059,7 +1448,6 @@ module Google
|
|
1059
1448
|
def update!(**args)
|
1060
1449
|
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
1061
1450
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
1062
|
-
@name = args[:name] if args.key?(:name)
|
1063
1451
|
end
|
1064
1452
|
end
|
1065
1453
|
|
@@ -1068,26 +1456,12 @@ module Google
|
|
1068
1456
|
class ExportAnnotationsResponse
|
1069
1457
|
include Google::Apis::Core::Hashable
|
1070
1458
|
|
1071
|
-
# The annotation_store used for the export operation, in the format of `projects/
|
1072
|
-
# `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
1073
|
-
# annotation_store_id``.
|
1074
|
-
# Corresponds to the JSON property `annotationStore`
|
1075
|
-
# @return [String]
|
1076
|
-
attr_accessor :annotation_store
|
1077
|
-
|
1078
|
-
# The total number of annotations successfully exported.
|
1079
|
-
# Corresponds to the JSON property `successCount`
|
1080
|
-
# @return [Fixnum]
|
1081
|
-
attr_accessor :success_count
|
1082
|
-
|
1083
1459
|
def initialize(**args)
|
1084
1460
|
update!(**args)
|
1085
1461
|
end
|
1086
1462
|
|
1087
1463
|
# Update properties of this object
|
1088
1464
|
def update!(**args)
|
1089
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
1090
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
1091
1465
|
end
|
1092
1466
|
end
|
1093
1467
|
|
@@ -1144,7 +1518,7 @@ module Google
|
|
1144
1518
|
|
1145
1519
|
# The configuration for exporting to Cloud Storage.
|
1146
1520
|
# Corresponds to the JSON property `gcsDestination`
|
1147
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
1521
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
|
1148
1522
|
attr_accessor :gcs_destination
|
1149
1523
|
|
1150
1524
|
def initialize(**args)
|
@@ -1296,10 +1670,10 @@ module Google
|
|
1296
1670
|
# updateCreate). This determines if the client can use an Update operation to
|
1297
1671
|
# create a new resource with a client-specified ID. If false, all IDs are server-
|
1298
1672
|
# assigned through the Create operation and attempts to update a non-existent
|
1299
|
-
# resource return errors.
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
#
|
1673
|
+
# resource return errors. Be careful with the audit logs if client-specified
|
1674
|
+
# resource IDs contain sensitive data such as patient identifiers, those IDs are
|
1675
|
+
# part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub
|
1676
|
+
# notifications.
|
1303
1677
|
# Corresponds to the JSON property `enableUpdateCreate`
|
1304
1678
|
# @return [Boolean]
|
1305
1679
|
attr_accessor :enable_update_create
|
@@ -1544,9 +1918,9 @@ module Google
|
|
1544
1918
|
class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
|
1545
1919
|
include Google::Apis::Core::Hashable
|
1546
1920
|
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1921
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
1922
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
1923
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
1550
1924
|
# Corresponds to the JSON property `force`
|
1551
1925
|
# @return [Boolean]
|
1552
1926
|
attr_accessor :force
|
@@ -1563,6 +1937,13 @@ module Google
|
|
1563
1937
|
# @return [String]
|
1564
1938
|
attr_accessor :table_uri
|
1565
1939
|
|
1940
|
+
# Determines whether existing tables in the destination dataset are overwritten
|
1941
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
1942
|
+
# ignored.
|
1943
|
+
# Corresponds to the JSON property `writeDisposition`
|
1944
|
+
# @return [String]
|
1945
|
+
attr_accessor :write_disposition
|
1946
|
+
|
1566
1947
|
def initialize(**args)
|
1567
1948
|
update!(**args)
|
1568
1949
|
end
|
@@ -1572,6 +1953,7 @@ module Google
|
|
1572
1953
|
@force = args[:force] if args.key?(:force)
|
1573
1954
|
@schema_type = args[:schema_type] if args.key?(:schema_type)
|
1574
1955
|
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
1956
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
1575
1957
|
end
|
1576
1958
|
end
|
1577
1959
|
|
@@ -1627,19 +2009,73 @@ module Google
|
|
1627
2009
|
end
|
1628
2010
|
end
|
1629
2011
|
|
1630
|
-
#
|
1631
|
-
class
|
2012
|
+
# The Cloud Storage location for export.
|
2013
|
+
class GoogleCloudHealthcareV1beta1ConsentGcsDestination
|
1632
2014
|
include Google::Apis::Core::Hashable
|
1633
2015
|
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
|
2016
|
+
# URI for a Cloud Storage directory where the server writes result files, in the
|
2017
|
+
# format `gs://`bucket-id`/`path/to/destination/dir``. If there is no trailing
|
2018
|
+
# slash, the service appends one when composing the object path. The user is
|
2019
|
+
# responsible for creating the Cloud Storage bucket and directory referenced in `
|
2020
|
+
# uri_prefix`.
|
2021
|
+
# Corresponds to the JSON property `uriPrefix`
|
2022
|
+
# @return [String]
|
2023
|
+
attr_accessor :uri_prefix
|
1638
2024
|
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
2025
|
+
def initialize(**args)
|
2026
|
+
update!(**args)
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# Update properties of this object
|
2030
|
+
def update!(**args)
|
2031
|
+
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
2032
|
+
end
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
# Represents an end user's consent in terms of the resources that can be
|
2036
|
+
# accessed and under what conditions.
|
2037
|
+
class GoogleCloudHealthcareV1beta1ConsentPolicy
|
2038
|
+
include Google::Apis::Core::Hashable
|
2039
|
+
|
2040
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
2041
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
2042
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
2043
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
2044
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
2045
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
2046
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
2047
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
2048
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
2049
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
2050
|
+
# string" description: "Create a notification string with a timestamp."
|
2051
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
2052
|
+
# exact variables and functions that may be referenced within an expression are
|
2053
|
+
# determined by the service that evaluates it. See the service documentation for
|
2054
|
+
# additional information.
|
2055
|
+
# Corresponds to the JSON property `authorizationRule`
|
2056
|
+
# @return [Google::Apis::HealthcareV1beta1::Expr]
|
2057
|
+
attr_accessor :authorization_rule
|
2058
|
+
|
2059
|
+
# The data resources that this policy applies to. A data resource is a match if
|
2060
|
+
# it matches all the attributes listed here.
|
2061
|
+
# Corresponds to the JSON property `resourceAttributes`
|
2062
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
|
2063
|
+
attr_accessor :resource_attributes
|
2064
|
+
|
2065
|
+
def initialize(**args)
|
2066
|
+
update!(**args)
|
2067
|
+
end
|
2068
|
+
|
2069
|
+
# Update properties of this object
|
2070
|
+
def update!(**args)
|
2071
|
+
@authorization_rule = args[:authorization_rule] if args.key?(:authorization_rule)
|
2072
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
2073
|
+
end
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
# Contains a summary of the DeidentifyDicomStore operation.
|
2077
|
+
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
|
2078
|
+
include Google::Apis::Core::Hashable
|
1643
2079
|
|
1644
2080
|
def initialize(**args)
|
1645
2081
|
update!(**args)
|
@@ -1647,8 +2083,6 @@ module Google
|
|
1647
2083
|
|
1648
2084
|
# Update properties of this object
|
1649
2085
|
def update!(**args)
|
1650
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
1651
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
1652
2086
|
end
|
1653
2087
|
end
|
1654
2088
|
|
@@ -1656,18 +2090,12 @@ module Google
|
|
1656
2090
|
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary
|
1657
2091
|
include Google::Apis::Core::Hashable
|
1658
2092
|
|
1659
|
-
# Number of resources successfully processed.
|
1660
|
-
# Corresponds to the JSON property `successResourceCount`
|
1661
|
-
# @return [Fixnum]
|
1662
|
-
attr_accessor :success_resource_count
|
1663
|
-
|
1664
2093
|
def initialize(**args)
|
1665
2094
|
update!(**args)
|
1666
2095
|
end
|
1667
2096
|
|
1668
2097
|
# Update properties of this object
|
1669
2098
|
def update!(**args)
|
1670
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
1671
2099
|
end
|
1672
2100
|
end
|
1673
2101
|
|
@@ -1675,9 +2103,9 @@ module Google
|
|
1675
2103
|
class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
|
1676
2104
|
include Google::Apis::Core::Hashable
|
1677
2105
|
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
#
|
2106
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
2107
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
2108
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
1681
2109
|
# Corresponds to the JSON property `force`
|
1682
2110
|
# @return [Boolean]
|
1683
2111
|
attr_accessor :force
|
@@ -1689,6 +2117,13 @@ module Google
|
|
1689
2117
|
# @return [String]
|
1690
2118
|
attr_accessor :table_uri
|
1691
2119
|
|
2120
|
+
# Determines whether the existing table in the destination is to be overwritten
|
2121
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
2122
|
+
# ignored.
|
2123
|
+
# Corresponds to the JSON property `writeDisposition`
|
2124
|
+
# @return [String]
|
2125
|
+
attr_accessor :write_disposition
|
2126
|
+
|
1692
2127
|
def initialize(**args)
|
1693
2128
|
update!(**args)
|
1694
2129
|
end
|
@@ -1697,6 +2132,7 @@ module Google
|
|
1697
2132
|
def update!(**args)
|
1698
2133
|
@force = args[:force] if args.key?(:force)
|
1699
2134
|
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
2135
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
1700
2136
|
end
|
1701
2137
|
end
|
1702
2138
|
|
@@ -1805,10 +2241,9 @@ module Google
|
|
1805
2241
|
# @return [String]
|
1806
2242
|
attr_accessor :dataset_uri
|
1807
2243
|
|
1808
|
-
#
|
1809
|
-
#
|
1810
|
-
#
|
1811
|
-
# used for the streaming export.
|
2244
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
2245
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
2246
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
1812
2247
|
# Corresponds to the JSON property `force`
|
1813
2248
|
# @return [Boolean]
|
1814
2249
|
attr_accessor :force
|
@@ -1820,6 +2255,13 @@ module Google
|
|
1820
2255
|
# @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
|
1821
2256
|
attr_accessor :schema_config
|
1822
2257
|
|
2258
|
+
# Determines whether existing tables in the destination dataset are overwritten
|
2259
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
2260
|
+
# ignored.
|
2261
|
+
# Corresponds to the JSON property `writeDisposition`
|
2262
|
+
# @return [String]
|
2263
|
+
attr_accessor :write_disposition
|
2264
|
+
|
1823
2265
|
def initialize(**args)
|
1824
2266
|
update!(**args)
|
1825
2267
|
end
|
@@ -1829,6 +2271,88 @@ module Google
|
|
1829
2271
|
@dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
|
1830
2272
|
@force = args[:force] if args.key?(:force)
|
1831
2273
|
@schema_config = args[:schema_config] if args.key?(:schema_config)
|
2274
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2275
|
+
end
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
# Response when all resources export successfully. This structure is included in
|
2279
|
+
# the response to describe the detailed outcome after the operation finishes
|
2280
|
+
# successfully.
|
2281
|
+
class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
|
2282
|
+
include Google::Apis::Core::Hashable
|
2283
|
+
|
2284
|
+
def initialize(**args)
|
2285
|
+
update!(**args)
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
# Update properties of this object
|
2289
|
+
def update!(**args)
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# The configuration for exporting to Cloud Storage.
|
2294
|
+
class GoogleCloudHealthcareV1beta1FhirGcsDestination
|
2295
|
+
include Google::Apis::Core::Hashable
|
2296
|
+
|
2297
|
+
# URI for a Cloud Storage directory where result files should be written (in the
|
2298
|
+
# format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
|
2299
|
+
# slash, the service appends one when composing the object path. The Cloud
|
2300
|
+
# Storage bucket referenced in `uri_prefix` must exist or an error occurs.
|
2301
|
+
# Corresponds to the JSON property `uriPrefix`
|
2302
|
+
# @return [String]
|
2303
|
+
attr_accessor :uri_prefix
|
2304
|
+
|
2305
|
+
def initialize(**args)
|
2306
|
+
update!(**args)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Update properties of this object
|
2310
|
+
def update!(**args)
|
2311
|
+
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
2312
|
+
end
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
2316
|
+
class GoogleCloudHealthcareV1beta1FhirGcsSource
|
2317
|
+
include Google::Apis::Core::Hashable
|
2318
|
+
|
2319
|
+
# Points to a Cloud Storage URI containing file(s) to import. The URI must be in
|
2320
|
+
# the following format: `gs://`bucket_id`/`object_id``. The URI can include
|
2321
|
+
# wildcards in `object_id` and thus identify multiple files. Supported wildcards:
|
2322
|
+
# * `*` to match 0 or more non-separator characters * `**` to match 0 or more
|
2323
|
+
# characters (including separators). Must be used at the end of a path and with
|
2324
|
+
# no other wildcards in the path. Can also be used with a file extension (such
|
2325
|
+
# as .ndjson), which imports all files with the extension in the specified
|
2326
|
+
# directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
|
2327
|
+
# .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
|
2328
|
+
# its sub-directories. * `?` to match 1 character Files matching the wildcard
|
2329
|
+
# are expected to contain content only, no metadata.
|
2330
|
+
# Corresponds to the JSON property `uri`
|
2331
|
+
# @return [String]
|
2332
|
+
attr_accessor :uri
|
2333
|
+
|
2334
|
+
def initialize(**args)
|
2335
|
+
update!(**args)
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
# Update properties of this object
|
2339
|
+
def update!(**args)
|
2340
|
+
@uri = args[:uri] if args.key?(:uri)
|
2341
|
+
end
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
# Final response of importing resources. This structure is included in the
|
2345
|
+
# response to describe the detailed outcome after the operation finishes
|
2346
|
+
# successfully.
|
2347
|
+
class GoogleCloudHealthcareV1beta1FhirImportResourcesResponse
|
2348
|
+
include Google::Apis::Core::Hashable
|
2349
|
+
|
2350
|
+
def initialize(**args)
|
2351
|
+
update!(**args)
|
2352
|
+
end
|
2353
|
+
|
2354
|
+
# Update properties of this object
|
2355
|
+
def update!(**args)
|
1832
2356
|
end
|
1833
2357
|
end
|
1834
2358
|
|
@@ -1903,57 +2427,6 @@ module Google
|
|
1903
2427
|
end
|
1904
2428
|
end
|
1905
2429
|
|
1906
|
-
# The configuration for exporting to Cloud Storage.
|
1907
|
-
class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
|
1908
|
-
include Google::Apis::Core::Hashable
|
1909
|
-
|
1910
|
-
# URI for a Cloud Storage directory where result files should be written (in the
|
1911
|
-
# format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
|
1912
|
-
# slash, the service appends one when composing the object path. The user is
|
1913
|
-
# responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.
|
1914
|
-
# Corresponds to the JSON property `uriPrefix`
|
1915
|
-
# @return [String]
|
1916
|
-
attr_accessor :uri_prefix
|
1917
|
-
|
1918
|
-
def initialize(**args)
|
1919
|
-
update!(**args)
|
1920
|
-
end
|
1921
|
-
|
1922
|
-
# Update properties of this object
|
1923
|
-
def update!(**args)
|
1924
|
-
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
1925
|
-
end
|
1926
|
-
end
|
1927
|
-
|
1928
|
-
# Specifies the configuration for importing data from Cloud Storage.
|
1929
|
-
class GoogleCloudHealthcareV1beta1FhirRestGcsSource
|
1930
|
-
include Google::Apis::Core::Hashable
|
1931
|
-
|
1932
|
-
# Points to a Cloud Storage URI containing file(s) to import. The URI must be in
|
1933
|
-
# the following format: `gs://`bucket_id`/`object_id``. The URI can include
|
1934
|
-
# wildcards in `object_id` and thus identify multiple files. Supported wildcards:
|
1935
|
-
# * `*` to match 0 or more non-separator characters * `**` to match 0 or more
|
1936
|
-
# characters (including separators). Must be used at the end of a path and with
|
1937
|
-
# no other wildcards in the path. Can also be used with a file extension (such
|
1938
|
-
# as .ndjson), which imports all files with the extension in the specified
|
1939
|
-
# directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
|
1940
|
-
# .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
|
1941
|
-
# its sub-directories. * `?` to match 1 character Files matching the wildcard
|
1942
|
-
# are expected to contain content only, no metadata.
|
1943
|
-
# Corresponds to the JSON property `uri`
|
1944
|
-
# @return [String]
|
1945
|
-
attr_accessor :uri
|
1946
|
-
|
1947
|
-
def initialize(**args)
|
1948
|
-
update!(**args)
|
1949
|
-
end
|
1950
|
-
|
1951
|
-
# Update properties of this object
|
1952
|
-
def update!(**args)
|
1953
|
-
@uri = args[:uri] if args.key?(:uri)
|
1954
|
-
end
|
1955
|
-
end
|
1956
|
-
|
1957
2430
|
# Error response of importing resources. This structure is included in the
|
1958
2431
|
# error details to describe the detailed error after the operation finishes with
|
1959
2432
|
# some failure.
|
@@ -2275,6 +2748,39 @@ module Google
|
|
2275
2748
|
end
|
2276
2749
|
end
|
2277
2750
|
|
2751
|
+
# An image.
|
2752
|
+
class Image
|
2753
|
+
include Google::Apis::Core::Hashable
|
2754
|
+
|
2755
|
+
# Input only. Points to a Cloud Storage URI containing the image. The URI must
|
2756
|
+
# be in the following format: `gs://`bucket_id`/`object_id``. The Cloud
|
2757
|
+
# Healthcare API service account must have the `roles/storage.objectViewer`
|
2758
|
+
# Cloud IAM role for this Cloud Storage location. The image at this URI is
|
2759
|
+
# copied to a Cloud Storage location managed by the Cloud Healthcare API.
|
2760
|
+
# Responses to image fetching requests return the image in raw_bytes.
|
2761
|
+
# Corresponds to the JSON property `gcsUri`
|
2762
|
+
# @return [String]
|
2763
|
+
attr_accessor :gcs_uri
|
2764
|
+
|
2765
|
+
# Image content represented as a stream of bytes. This field is populated when
|
2766
|
+
# returned in GetConsentArtifact response, but not included in
|
2767
|
+
# CreateConsentArtifact and ListConsentArtifact response.
|
2768
|
+
# Corresponds to the JSON property `rawBytes`
|
2769
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2770
|
+
# @return [String]
|
2771
|
+
attr_accessor :raw_bytes
|
2772
|
+
|
2773
|
+
def initialize(**args)
|
2774
|
+
update!(**args)
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
# Update properties of this object
|
2778
|
+
def update!(**args)
|
2779
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
2780
|
+
@raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
|
2781
|
+
end
|
2782
|
+
end
|
2783
|
+
|
2278
2784
|
# Image annotation.
|
2279
2785
|
class ImageAnnotation
|
2280
2786
|
include Google::Apis::Core::Hashable
|
@@ -2305,43 +2811,10 @@ module Google
|
|
2305
2811
|
class ImageConfig
|
2306
2812
|
include Google::Apis::Core::Hashable
|
2307
2813
|
|
2308
|
-
# Determines how to redact text from image.
|
2309
|
-
# Corresponds to the JSON property `textRedactionMode`
|
2310
|
-
# @return [String]
|
2311
|
-
attr_accessor :text_redaction_mode
|
2312
|
-
|
2313
|
-
def initialize(**args)
|
2314
|
-
update!(**args)
|
2315
|
-
end
|
2316
|
-
|
2317
|
-
# Update properties of this object
|
2318
|
-
def update!(**args)
|
2319
|
-
@text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
|
2320
|
-
end
|
2321
|
-
end
|
2322
|
-
|
2323
|
-
# Deprecated. Final response of importing Annotations in partial or total
|
2324
|
-
# failure case. This structure is included in the error details. It is only
|
2325
|
-
# included when the operation finishes.
|
2326
|
-
class ImportAnnotationsErrorDetails
|
2327
|
-
include Google::Apis::Core::Hashable
|
2328
|
-
|
2329
|
-
# The annotation_store that the annotations were imported to. The name is in the
|
2330
|
-
# format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
2331
|
-
# annotationStores/`annotation_store_id``.
|
2332
|
-
# Corresponds to the JSON property `annotationStore`
|
2814
|
+
# Determines how to redact text from image.
|
2815
|
+
# Corresponds to the JSON property `textRedactionMode`
|
2333
2816
|
# @return [String]
|
2334
|
-
attr_accessor :
|
2335
|
-
|
2336
|
-
# The number of annotations that had errors.
|
2337
|
-
# Corresponds to the JSON property `errorCount`
|
2338
|
-
# @return [Fixnum]
|
2339
|
-
attr_accessor :error_count
|
2340
|
-
|
2341
|
-
# The number of annotations that have been imported.
|
2342
|
-
# Corresponds to the JSON property `successCount`
|
2343
|
-
# @return [Fixnum]
|
2344
|
-
attr_accessor :success_count
|
2817
|
+
attr_accessor :text_redaction_mode
|
2345
2818
|
|
2346
2819
|
def initialize(**args)
|
2347
2820
|
update!(**args)
|
@@ -2349,9 +2822,7 @@ module Google
|
|
2349
2822
|
|
2350
2823
|
# Update properties of this object
|
2351
2824
|
def update!(**args)
|
2352
|
-
@
|
2353
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
2354
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
2825
|
+
@text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
|
2355
2826
|
end
|
2356
2827
|
end
|
2357
2828
|
|
@@ -2367,13 +2838,6 @@ module Google
|
|
2367
2838
|
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
|
2368
2839
|
attr_accessor :gcs_source
|
2369
2840
|
|
2370
|
-
# The name of the Annotation store to which the server imports annotations, in
|
2371
|
-
# the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
|
2372
|
-
# /annotationStores/`annotation_store_id``.
|
2373
|
-
# Corresponds to the JSON property `name`
|
2374
|
-
# @return [String]
|
2375
|
-
attr_accessor :name
|
2376
|
-
|
2377
2841
|
def initialize(**args)
|
2378
2842
|
update!(**args)
|
2379
2843
|
end
|
@@ -2381,7 +2845,6 @@ module Google
|
|
2381
2845
|
# Update properties of this object
|
2382
2846
|
def update!(**args)
|
2383
2847
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
2384
|
-
@name = args[:name] if args.key?(:name)
|
2385
2848
|
end
|
2386
2849
|
end
|
2387
2850
|
|
@@ -2390,26 +2853,12 @@ module Google
|
|
2390
2853
|
class ImportAnnotationsResponse
|
2391
2854
|
include Google::Apis::Core::Hashable
|
2392
2855
|
|
2393
|
-
# The annotation_store that the annotations were imported to, in the format `
|
2394
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
2395
|
-
# annotationStores/`annotation_store_id``.
|
2396
|
-
# Corresponds to the JSON property `annotationStore`
|
2397
|
-
# @return [String]
|
2398
|
-
attr_accessor :annotation_store
|
2399
|
-
|
2400
|
-
# The number of the input annotations. All input have been imported successfully.
|
2401
|
-
# Corresponds to the JSON property `successCount`
|
2402
|
-
# @return [Fixnum]
|
2403
|
-
attr_accessor :success_count
|
2404
|
-
|
2405
2856
|
def initialize(**args)
|
2406
2857
|
update!(**args)
|
2407
2858
|
end
|
2408
2859
|
|
2409
2860
|
# Update properties of this object
|
2410
2861
|
def update!(**args)
|
2411
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
2412
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
2413
2862
|
end
|
2414
2863
|
end
|
2415
2864
|
|
@@ -2515,7 +2964,7 @@ module Google
|
|
2515
2964
|
|
2516
2965
|
# Specifies the configuration for importing data from Cloud Storage.
|
2517
2966
|
# Corresponds to the JSON property `gcsSource`
|
2518
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2967
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
|
2519
2968
|
attr_accessor :gcs_source
|
2520
2969
|
|
2521
2970
|
def initialize(**args)
|
@@ -2728,6 +3177,141 @@ module Google
|
|
2728
3177
|
end
|
2729
3178
|
end
|
2730
3179
|
|
3180
|
+
# Lists the Attribute definitions in the given Consent store.
|
3181
|
+
class ListAttributeDefinitionsResponse
|
3182
|
+
include Google::Apis::Core::Hashable
|
3183
|
+
|
3184
|
+
# The returned attribute definitions. The maximum number of attributes returned
|
3185
|
+
# is determined by the value of page_size in the ListAttributeDefinitionsRequest.
|
3186
|
+
# Corresponds to the JSON property `attributeDefinitions`
|
3187
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::AttributeDefinition>]
|
3188
|
+
attr_accessor :attribute_definitions
|
3189
|
+
|
3190
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3191
|
+
# results in the list.
|
3192
|
+
# Corresponds to the JSON property `nextPageToken`
|
3193
|
+
# @return [String]
|
3194
|
+
attr_accessor :next_page_token
|
3195
|
+
|
3196
|
+
def initialize(**args)
|
3197
|
+
update!(**args)
|
3198
|
+
end
|
3199
|
+
|
3200
|
+
# Update properties of this object
|
3201
|
+
def update!(**args)
|
3202
|
+
@attribute_definitions = args[:attribute_definitions] if args.key?(:attribute_definitions)
|
3203
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3204
|
+
end
|
3205
|
+
end
|
3206
|
+
|
3207
|
+
# Lists the Consent artifacts in the given Consent store.
|
3208
|
+
class ListConsentArtifactsResponse
|
3209
|
+
include Google::Apis::Core::Hashable
|
3210
|
+
|
3211
|
+
# The returned consent artifacts. The maximum number of artifacts returned is
|
3212
|
+
# determined by the value of page_size in the ListConsentArtifactsRequest.
|
3213
|
+
# Corresponds to the JSON property `consentArtifacts`
|
3214
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::ConsentArtifact>]
|
3215
|
+
attr_accessor :consent_artifacts
|
3216
|
+
|
3217
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3218
|
+
# results in the list.
|
3219
|
+
# Corresponds to the JSON property `nextPageToken`
|
3220
|
+
# @return [String]
|
3221
|
+
attr_accessor :next_page_token
|
3222
|
+
|
3223
|
+
def initialize(**args)
|
3224
|
+
update!(**args)
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# Update properties of this object
|
3228
|
+
def update!(**args)
|
3229
|
+
@consent_artifacts = args[:consent_artifacts] if args.key?(:consent_artifacts)
|
3230
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3231
|
+
end
|
3232
|
+
end
|
3233
|
+
|
3234
|
+
# Lists the revisions of the given Consent in reverse chronological order.
|
3235
|
+
class ListConsentRevisionsResponse
|
3236
|
+
include Google::Apis::Core::Hashable
|
3237
|
+
|
3238
|
+
# The returned consent revisions. The maximum number of revisions returned is
|
3239
|
+
# determined by the value of `page_size` in the ListConsentRevisionsRequest.
|
3240
|
+
# Corresponds to the JSON property `consents`
|
3241
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
|
3242
|
+
attr_accessor :consents
|
3243
|
+
|
3244
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3245
|
+
# results in the list.
|
3246
|
+
# Corresponds to the JSON property `nextPageToken`
|
3247
|
+
# @return [String]
|
3248
|
+
attr_accessor :next_page_token
|
3249
|
+
|
3250
|
+
def initialize(**args)
|
3251
|
+
update!(**args)
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
# Update properties of this object
|
3255
|
+
def update!(**args)
|
3256
|
+
@consents = args[:consents] if args.key?(:consents)
|
3257
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3258
|
+
end
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
# Lists the Consent stores in the given dataset.
|
3262
|
+
class ListConsentStoresResponse
|
3263
|
+
include Google::Apis::Core::Hashable
|
3264
|
+
|
3265
|
+
# The returned Consent stores. The maximum number of stores returned is
|
3266
|
+
# determined by the value of page_size in the ListConsentStoresRequest.
|
3267
|
+
# Corresponds to the JSON property `consentStores`
|
3268
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::ConsentStore>]
|
3269
|
+
attr_accessor :consent_stores
|
3270
|
+
|
3271
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3272
|
+
# results in the list.
|
3273
|
+
# Corresponds to the JSON property `nextPageToken`
|
3274
|
+
# @return [String]
|
3275
|
+
attr_accessor :next_page_token
|
3276
|
+
|
3277
|
+
def initialize(**args)
|
3278
|
+
update!(**args)
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# Update properties of this object
|
3282
|
+
def update!(**args)
|
3283
|
+
@consent_stores = args[:consent_stores] if args.key?(:consent_stores)
|
3284
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3285
|
+
end
|
3286
|
+
end
|
3287
|
+
|
3288
|
+
# Lists the Consents in the given Consent store.
|
3289
|
+
class ListConsentsResponse
|
3290
|
+
include Google::Apis::Core::Hashable
|
3291
|
+
|
3292
|
+
# The returned consents. The maximum number of consents returned is determined
|
3293
|
+
# by the value of page_size in the ListConsentsRequest.
|
3294
|
+
# Corresponds to the JSON property `consents`
|
3295
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
|
3296
|
+
attr_accessor :consents
|
3297
|
+
|
3298
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3299
|
+
# results in the list.
|
3300
|
+
# Corresponds to the JSON property `nextPageToken`
|
3301
|
+
# @return [String]
|
3302
|
+
attr_accessor :next_page_token
|
3303
|
+
|
3304
|
+
def initialize(**args)
|
3305
|
+
update!(**args)
|
3306
|
+
end
|
3307
|
+
|
3308
|
+
# Update properties of this object
|
3309
|
+
def update!(**args)
|
3310
|
+
@consents = args[:consents] if args.key?(:consents)
|
3311
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3312
|
+
end
|
3313
|
+
end
|
3314
|
+
|
2731
3315
|
# Lists the available datasets.
|
2732
3316
|
class ListDatasetsResponse
|
2733
3317
|
include Google::Apis::Core::Hashable
|
@@ -2912,6 +3496,34 @@ module Google
|
|
2912
3496
|
end
|
2913
3497
|
end
|
2914
3498
|
|
3499
|
+
# Lists the User data mappings in the given Consent store.
|
3500
|
+
class ListUserDataMappingsResponse
|
3501
|
+
include Google::Apis::Core::Hashable
|
3502
|
+
|
3503
|
+
# Token to retrieve the next page of results or empty if there are no more
|
3504
|
+
# results in the list.
|
3505
|
+
# Corresponds to the JSON property `nextPageToken`
|
3506
|
+
# @return [String]
|
3507
|
+
attr_accessor :next_page_token
|
3508
|
+
|
3509
|
+
# The returned user data mappings. The maximum number of user data mappings
|
3510
|
+
# returned is determined by the value of page_size in the
|
3511
|
+
# ListUserDataMappingsRequest.
|
3512
|
+
# Corresponds to the JSON property `userDataMappings`
|
3513
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::UserDataMapping>]
|
3514
|
+
attr_accessor :user_data_mappings
|
3515
|
+
|
3516
|
+
def initialize(**args)
|
3517
|
+
update!(**args)
|
3518
|
+
end
|
3519
|
+
|
3520
|
+
# Update properties of this object
|
3521
|
+
def update!(**args)
|
3522
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3523
|
+
@user_data_mappings = args[:user_data_mappings] if args.key?(:user_data_mappings)
|
3524
|
+
end
|
3525
|
+
end
|
3526
|
+
|
2915
3527
|
# A resource that represents Google Cloud Platform location.
|
2916
3528
|
class Location
|
2917
3529
|
include Google::Apis::Core::Hashable
|
@@ -3059,7 +3671,9 @@ module Google
|
|
3059
3671
|
# that send notifications to fail. If a notification can't be published to Cloud
|
3060
3672
|
# Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
|
3061
3673
|
# docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
|
3062
|
-
# aren't submitted.
|
3674
|
+
# aren't submitted. Note that not all operations trigger notifications, see [
|
3675
|
+
# Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
|
3676
|
+
# how-tos/pubsub) for specific details.
|
3063
3677
|
# Corresponds to the JSON property `pubsubTopic`
|
3064
3678
|
# @return [String]
|
3065
3679
|
attr_accessor :pubsub_topic
|
@@ -3231,6 +3845,12 @@ module Google
|
|
3231
3845
|
# @return [String]
|
3232
3846
|
attr_accessor :segment_terminator
|
3233
3847
|
|
3848
|
+
# Immutable. Determines the version of the unschematized parser to be used when `
|
3849
|
+
# schema` is not given. This field is immutable after store creation.
|
3850
|
+
# Corresponds to the JSON property `version`
|
3851
|
+
# @return [String]
|
3852
|
+
attr_accessor :version
|
3853
|
+
|
3234
3854
|
def initialize(**args)
|
3235
3855
|
update!(**args)
|
3236
3856
|
end
|
@@ -3240,6 +3860,7 @@ module Google
|
|
3240
3860
|
@allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
|
3241
3861
|
@schema = args[:schema] if args.key?(:schema)
|
3242
3862
|
@segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
|
3863
|
+
@version = args[:version] if args.key?(:version)
|
3243
3864
|
end
|
3244
3865
|
end
|
3245
3866
|
|
@@ -3389,6 +4010,43 @@ module Google
|
|
3389
4010
|
end
|
3390
4011
|
end
|
3391
4012
|
|
4013
|
+
# Queries all data_ids that are consented for a given use in the given Consent
|
4014
|
+
# store and writes them to a specified destination. The returned Operation
|
4015
|
+
# includes a progress counter for the number of User data mappings processed.
|
4016
|
+
# Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
|
4017
|
+
# tos/logging) and [QueryAccessibleData] for a sample log entry).
|
4018
|
+
class QueryAccessibleDataRequest
|
4019
|
+
include Google::Apis::Core::Hashable
|
4020
|
+
|
4021
|
+
# The Cloud Storage location for export.
|
4022
|
+
# Corresponds to the JSON property `gcsDestination`
|
4023
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination]
|
4024
|
+
attr_accessor :gcs_destination
|
4025
|
+
|
4026
|
+
# The values of request attributes associated with this access request.
|
4027
|
+
# Corresponds to the JSON property `requestAttributes`
|
4028
|
+
# @return [Hash<String,String>]
|
4029
|
+
attr_accessor :request_attributes
|
4030
|
+
|
4031
|
+
# The values of resources attributes associated with the type of data being
|
4032
|
+
# requested. If no values are specified, then all data types are included in the
|
4033
|
+
# output.
|
4034
|
+
# Corresponds to the JSON property `resourceAttributes`
|
4035
|
+
# @return [Hash<String,String>]
|
4036
|
+
attr_accessor :resource_attributes
|
4037
|
+
|
4038
|
+
def initialize(**args)
|
4039
|
+
update!(**args)
|
4040
|
+
end
|
4041
|
+
|
4042
|
+
# Update properties of this object
|
4043
|
+
def update!(**args)
|
4044
|
+
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
4045
|
+
@request_attributes = args[:request_attributes] if args.key?(:request_attributes)
|
4046
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
4047
|
+
end
|
4048
|
+
end
|
4049
|
+
|
3392
4050
|
# Define how to redact sensitive values. Default behaviour is erase. For example,
|
3393
4051
|
# "My name is Jane." becomes "My name is ."
|
3394
4052
|
class RedactConfig
|
@@ -3403,6 +4061,31 @@ module Google
|
|
3403
4061
|
end
|
3404
4062
|
end
|
3405
4063
|
|
4064
|
+
# Rejects the latest revision of the specified Consent by committing a new
|
4065
|
+
# revision with `state` updated to `REJECTED`. If the latest revision of the
|
4066
|
+
# given consent is in the `REJECTED` state, no new revision is committed.
|
4067
|
+
class RejectConsentRequest
|
4068
|
+
include Google::Apis::Core::Hashable
|
4069
|
+
|
4070
|
+
# The resource name of the consent artifact that contains proof of the end user'
|
4071
|
+
# s rejection of the draft consent, of the form `projects/`project_id`/locations/
|
4072
|
+
# `location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
4073
|
+
# consentArtifacts/`consent_artifact_id``. If the draft consent had a consent
|
4074
|
+
# artifact, this consent artifact overwrites it.
|
4075
|
+
# Corresponds to the JSON property `consentArtifact`
|
4076
|
+
# @return [String]
|
4077
|
+
attr_accessor :consent_artifact
|
4078
|
+
|
4079
|
+
def initialize(**args)
|
4080
|
+
update!(**args)
|
4081
|
+
end
|
4082
|
+
|
4083
|
+
# Update properties of this object
|
4084
|
+
def update!(**args)
|
4085
|
+
@consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
3406
4089
|
# When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
|
3407
4090
|
# name of the info_type. For example, "My name is Jane" becomes "My name is [
|
3408
4091
|
# PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
@@ -3456,6 +4139,62 @@ module Google
|
|
3456
4139
|
end
|
3457
4140
|
end
|
3458
4141
|
|
4142
|
+
# The consent evaluation result for a single `data_id`.
|
4143
|
+
class Result
|
4144
|
+
include Google::Apis::Core::Hashable
|
4145
|
+
|
4146
|
+
# The resource names of all evaluated Consents mapped to their evaluation.
|
4147
|
+
# Corresponds to the JSON property `consentDetails`
|
4148
|
+
# @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
|
4149
|
+
attr_accessor :consent_details
|
4150
|
+
|
4151
|
+
# Whether the requested data is consented for the given use.
|
4152
|
+
# Corresponds to the JSON property `consented`
|
4153
|
+
# @return [Boolean]
|
4154
|
+
attr_accessor :consented
|
4155
|
+
alias_method :consented?, :consented
|
4156
|
+
|
4157
|
+
# The unique identifier of the data the consents were checked for.
|
4158
|
+
# Corresponds to the JSON property `dataId`
|
4159
|
+
# @return [String]
|
4160
|
+
attr_accessor :data_id
|
4161
|
+
|
4162
|
+
def initialize(**args)
|
4163
|
+
update!(**args)
|
4164
|
+
end
|
4165
|
+
|
4166
|
+
# Update properties of this object
|
4167
|
+
def update!(**args)
|
4168
|
+
@consent_details = args[:consent_details] if args.key?(:consent_details)
|
4169
|
+
@consented = args[:consented] if args.key?(:consented)
|
4170
|
+
@data_id = args[:data_id] if args.key?(:data_id)
|
4171
|
+
end
|
4172
|
+
end
|
4173
|
+
|
4174
|
+
# Revokes the latest revision of the specified Consent by committing a new
|
4175
|
+
# revision with `state` updated to `REVOKED`. If the latest revision of the
|
4176
|
+
# given consent is in the `REVOKED` state, no new revision is committed.
|
4177
|
+
class RevokeConsentRequest
|
4178
|
+
include Google::Apis::Core::Hashable
|
4179
|
+
|
4180
|
+
# The resource name of the consent artifact that contains proof of the end user'
|
4181
|
+
# s revocation of the consent, of the form `projects/`project_id`/locations/`
|
4182
|
+
# location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
4183
|
+
# consentArtifacts/`consent_artifact_id``.
|
4184
|
+
# Corresponds to the JSON property `consentArtifact`
|
4185
|
+
# @return [String]
|
4186
|
+
attr_accessor :consent_artifact
|
4187
|
+
|
4188
|
+
def initialize(**args)
|
4189
|
+
update!(**args)
|
4190
|
+
end
|
4191
|
+
|
4192
|
+
# Update properties of this object
|
4193
|
+
def update!(**args)
|
4194
|
+
@consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
|
4195
|
+
end
|
4196
|
+
end
|
4197
|
+
|
3459
4198
|
# Configuration for the FHIR BigQuery schema. Determines how the server
|
3460
4199
|
# generates the schema.
|
3461
4200
|
class SchemaConfig
|
@@ -3780,6 +4519,44 @@ module Google
|
|
3780
4519
|
end
|
3781
4520
|
end
|
3782
4521
|
|
4522
|
+
# User signature.
|
4523
|
+
class Signature
|
4524
|
+
include Google::Apis::Core::Hashable
|
4525
|
+
|
4526
|
+
# An image.
|
4527
|
+
# Corresponds to the JSON property `image`
|
4528
|
+
# @return [Google::Apis::HealthcareV1beta1::Image]
|
4529
|
+
attr_accessor :image
|
4530
|
+
|
4531
|
+
# Metadata associated with the user's signature. For example, the user's name or
|
4532
|
+
# the user's title.
|
4533
|
+
# Corresponds to the JSON property `metadata`
|
4534
|
+
# @return [Hash<String,String>]
|
4535
|
+
attr_accessor :metadata
|
4536
|
+
|
4537
|
+
# Timestamp of the signature.
|
4538
|
+
# Corresponds to the JSON property `signatureTime`
|
4539
|
+
# @return [String]
|
4540
|
+
attr_accessor :signature_time
|
4541
|
+
|
4542
|
+
# User's UUID provided by the client.
|
4543
|
+
# Corresponds to the JSON property `userId`
|
4544
|
+
# @return [String]
|
4545
|
+
attr_accessor :user_id
|
4546
|
+
|
4547
|
+
def initialize(**args)
|
4548
|
+
update!(**args)
|
4549
|
+
end
|
4550
|
+
|
4551
|
+
# Update properties of this object
|
4552
|
+
def update!(**args)
|
4553
|
+
@image = args[:image] if args.key?(:image)
|
4554
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4555
|
+
@signature_time = args[:signature_time] if args.key?(:signature_time)
|
4556
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
4557
|
+
end
|
4558
|
+
end
|
4559
|
+
|
3783
4560
|
# The `Status` type defines a logical error model that is suitable for different
|
3784
4561
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3785
4562
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -3961,6 +4738,62 @@ module Google
|
|
3961
4738
|
end
|
3962
4739
|
end
|
3963
4740
|
|
4741
|
+
# Maps a user data entry to its end user and Attributes.
|
4742
|
+
class UserDataMapping
|
4743
|
+
include Google::Apis::Core::Hashable
|
4744
|
+
|
4745
|
+
# Output only. Indicates the time when this data mapping was archived.
|
4746
|
+
# Corresponds to the JSON property `archiveTime`
|
4747
|
+
# @return [String]
|
4748
|
+
attr_accessor :archive_time
|
4749
|
+
|
4750
|
+
# Output only. Indicates whether this data mapping is archived.
|
4751
|
+
# Corresponds to the JSON property `archived`
|
4752
|
+
# @return [Boolean]
|
4753
|
+
attr_accessor :archived
|
4754
|
+
alias_method :archived?, :archived
|
4755
|
+
|
4756
|
+
# Required. A unique identifier for the mapped data.
|
4757
|
+
# Corresponds to the JSON property `dataId`
|
4758
|
+
# @return [String]
|
4759
|
+
attr_accessor :data_id
|
4760
|
+
|
4761
|
+
# Resource name of the User data mapping, of the form `projects/`project_id`/
|
4762
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
4763
|
+
# userDataMappings/`user_data_mapping_id``.
|
4764
|
+
# Corresponds to the JSON property `name`
|
4765
|
+
# @return [String]
|
4766
|
+
attr_accessor :name
|
4767
|
+
|
4768
|
+
# Attributes of end user data. Each attribute can have exactly one value
|
4769
|
+
# specified. Only explicitly set attributes are displayed here. Attribute
|
4770
|
+
# definitions with defaults set implicitly apply to these User data mappings.
|
4771
|
+
# Attributes listed here must be single valued, that is, exactly one value is
|
4772
|
+
# specified for the field "values" in each Attribute.
|
4773
|
+
# Corresponds to the JSON property `resourceAttributes`
|
4774
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
|
4775
|
+
attr_accessor :resource_attributes
|
4776
|
+
|
4777
|
+
# Required. User's UUID provided by the client.
|
4778
|
+
# Corresponds to the JSON property `userId`
|
4779
|
+
# @return [String]
|
4780
|
+
attr_accessor :user_id
|
4781
|
+
|
4782
|
+
def initialize(**args)
|
4783
|
+
update!(**args)
|
4784
|
+
end
|
4785
|
+
|
4786
|
+
# Update properties of this object
|
4787
|
+
def update!(**args)
|
4788
|
+
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
4789
|
+
@archived = args[:archived] if args.key?(:archived)
|
4790
|
+
@data_id = args[:data_id] if args.key?(:data_id)
|
4791
|
+
@name = args[:name] if args.key?(:name)
|
4792
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
4793
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
4794
|
+
end
|
4795
|
+
end
|
4796
|
+
|
3964
4797
|
# Describes a selector for extracting and matching an MSH field to a value.
|
3965
4798
|
class VersionSource
|
3966
4799
|
include Google::Apis::Core::Hashable
|