google-api-client 0.40.0 → 0.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +297 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
- data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +144 -48
- data/generated/google/apis/apigee_v1/representations.rb +17 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- 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/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
- data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +801 -219
- data/generated/google/apis/compute_alpha/representations.rb +220 -32
- data/generated/google/apis/compute_alpha/service.rb +899 -113
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +490 -131
- data/generated/google/apis/compute_beta/representations.rb +97 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +706 -76
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +71 -24
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
- data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +9 -9
- data/generated/google/apis/healthcare_v1/service.rb +5 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -19
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommender_v1.rb +34 -0
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +16 -9
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +26 -22
- data/generated/google/apis/spanner_v1/service.rb +15 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- 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 +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -11
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/core/base_service'
|
|
16
|
+
require 'google/apis/core/json_representation'
|
|
17
|
+
require 'google/apis/core/hashable'
|
|
18
|
+
require 'google/apis/errors'
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apis
|
|
22
|
+
module GmailpostmastertoolsV1beta1
|
|
23
|
+
# Gmail Postmaster Tools API
|
|
24
|
+
#
|
|
25
|
+
# The Gmail Postmaster API is a RESTful API that provides programmatic access to
|
|
26
|
+
# email traffic metrics (like spam reports, delivery errors etc) otherwise
|
|
27
|
+
# available through the Gmail Postmaster Tools UI currently.
|
|
28
|
+
#
|
|
29
|
+
# @example
|
|
30
|
+
# require 'google/apis/gmailpostmastertools_v1beta1'
|
|
31
|
+
#
|
|
32
|
+
# Gmailpostmastertools = Google::Apis::GmailpostmastertoolsV1beta1 # Alias the module
|
|
33
|
+
# service = Gmailpostmastertools::PostmasterToolsService.new
|
|
34
|
+
#
|
|
35
|
+
# @see https://developers.google.com/gmail/postmaster
|
|
36
|
+
class PostmasterToolsService < Google::Apis::Core::BaseService
|
|
37
|
+
# @return [String]
|
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
40
|
+
attr_accessor :key
|
|
41
|
+
|
|
42
|
+
# @return [String]
|
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
45
|
+
attr_accessor :quota_user
|
|
46
|
+
|
|
47
|
+
def initialize
|
|
48
|
+
super('https://gmailpostmastertools.googleapis.com/', '')
|
|
49
|
+
@batch_path = 'batch'
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Gets a specific domain registered by the client.
|
|
53
|
+
# Returns NOT_FOUND if the domain does not exist.
|
|
54
|
+
# @param [String] name
|
|
55
|
+
# The resource name of the domain. It should have the form
|
|
56
|
+
# `domains/`domain_name``, where domain_name is the fully qualified
|
|
57
|
+
# domain name.
|
|
58
|
+
# @param [String] fields
|
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
|
60
|
+
# @param [String] quota_user
|
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
|
64
|
+
# Request-specific options
|
|
65
|
+
#
|
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
|
67
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::Domain] parsed result object
|
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
69
|
+
#
|
|
70
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::Domain]
|
|
71
|
+
#
|
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
+
def get_domain(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
76
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
77
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::Domain::Representation
|
|
78
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::Domain
|
|
79
|
+
command.params['name'] = name unless name.nil?
|
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
82
|
+
execute_or_queue_command(command, &block)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Lists the domains that have been registered by the client. The order of
|
|
86
|
+
# domains in the response is unspecified and non-deterministic. Newly created
|
|
87
|
+
# domains will not necessarily be added to the end of this list.
|
|
88
|
+
# @param [Fixnum] page_size
|
|
89
|
+
# Requested page size. Server may return fewer domains than requested.
|
|
90
|
+
# If unspecified, server will pick an appropriate default.
|
|
91
|
+
# @param [String] page_token
|
|
92
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
93
|
+
# This is the value of
|
|
94
|
+
# ListDomainsResponse.next_page_token
|
|
95
|
+
# returned from the previous call to `ListDomains` method.
|
|
96
|
+
# @param [String] fields
|
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
|
98
|
+
# @param [String] quota_user
|
|
99
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
101
|
+
# @param [Google::Apis::RequestOptions] options
|
|
102
|
+
# Request-specific options
|
|
103
|
+
#
|
|
104
|
+
# @yield [result, err] Result & error if block supplied
|
|
105
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse] parsed result object
|
|
106
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
107
|
+
#
|
|
108
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse]
|
|
109
|
+
#
|
|
110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
113
|
+
def list_domains(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
114
|
+
command = make_simple_command(:get, 'v1beta1/domains', options)
|
|
115
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse::Representation
|
|
116
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse
|
|
117
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
118
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
121
|
+
execute_or_queue_command(command, &block)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Get traffic statistics for a domain on a specific date.
|
|
125
|
+
# Returns PERMISSION_DENIED if user does not have permission to access
|
|
126
|
+
# TrafficStats for the domain.
|
|
127
|
+
# @param [String] name
|
|
128
|
+
# The resource name of the traffic statistics to get.
|
|
129
|
+
# E.g., domains/mymail.mydomain.com/trafficStats/20160807.
|
|
130
|
+
# @param [String] fields
|
|
131
|
+
# Selector specifying which fields to include in a partial response.
|
|
132
|
+
# @param [String] quota_user
|
|
133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
135
|
+
# @param [Google::Apis::RequestOptions] options
|
|
136
|
+
# Request-specific options
|
|
137
|
+
#
|
|
138
|
+
# @yield [result, err] Result & error if block supplied
|
|
139
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats] parsed result object
|
|
140
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
141
|
+
#
|
|
142
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats]
|
|
143
|
+
#
|
|
144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
147
|
+
def get_domain_traffic_stat(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
148
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
149
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats::Representation
|
|
150
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats
|
|
151
|
+
command.params['name'] = name unless name.nil?
|
|
152
|
+
command.query['fields'] = fields unless fields.nil?
|
|
153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
154
|
+
execute_or_queue_command(command, &block)
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# List traffic statistics for all available days.
|
|
158
|
+
# Returns PERMISSION_DENIED if user does not have permission to access
|
|
159
|
+
# TrafficStats for the domain.
|
|
160
|
+
# @param [String] parent
|
|
161
|
+
# The resource name of the domain whose traffic statistics we'd like to list.
|
|
162
|
+
# It should have the form `domains/`domain_name``, where domain_name is
|
|
163
|
+
# the fully qualified domain name.
|
|
164
|
+
# @param [Fixnum] end_date_day
|
|
165
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
|
166
|
+
# if specifying a year by itself or a year and month where the day is not
|
|
167
|
+
# significant.
|
|
168
|
+
# @param [Fixnum] end_date_month
|
|
169
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
|
170
|
+
# month and day.
|
|
171
|
+
# @param [Fixnum] end_date_year
|
|
172
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
|
173
|
+
# a year.
|
|
174
|
+
# @param [Fixnum] page_size
|
|
175
|
+
# Requested page size. Server may return fewer TrafficStats than
|
|
176
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
177
|
+
# @param [String] page_token
|
|
178
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
179
|
+
# This is the value of
|
|
180
|
+
# ListTrafficStatsResponse.next_page_token
|
|
181
|
+
# returned from the previous call to `ListTrafficStats` method.
|
|
182
|
+
# @param [Fixnum] start_date_day
|
|
183
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
|
184
|
+
# if specifying a year by itself or a year and month where the day is not
|
|
185
|
+
# significant.
|
|
186
|
+
# @param [Fixnum] start_date_month
|
|
187
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
|
188
|
+
# month and day.
|
|
189
|
+
# @param [Fixnum] start_date_year
|
|
190
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
|
191
|
+
# a year.
|
|
192
|
+
# @param [String] fields
|
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
|
194
|
+
# @param [String] quota_user
|
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
|
198
|
+
# Request-specific options
|
|
199
|
+
#
|
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
|
201
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse] parsed result object
|
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
203
|
+
#
|
|
204
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse]
|
|
205
|
+
#
|
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
209
|
+
def list_domain_traffic_stats(parent, end_date_day: nil, end_date_month: nil, end_date_year: nil, page_size: nil, page_token: nil, start_date_day: nil, start_date_month: nil, start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
210
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/trafficStats', options)
|
|
211
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse::Representation
|
|
212
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse
|
|
213
|
+
command.params['parent'] = parent unless parent.nil?
|
|
214
|
+
command.query['endDate.day'] = end_date_day unless end_date_day.nil?
|
|
215
|
+
command.query['endDate.month'] = end_date_month unless end_date_month.nil?
|
|
216
|
+
command.query['endDate.year'] = end_date_year unless end_date_year.nil?
|
|
217
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
218
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
219
|
+
command.query['startDate.day'] = start_date_day unless start_date_day.nil?
|
|
220
|
+
command.query['startDate.month'] = start_date_month unless start_date_month.nil?
|
|
221
|
+
command.query['startDate.year'] = start_date_year unless start_date_year.nil?
|
|
222
|
+
command.query['fields'] = fields unless fields.nil?
|
|
223
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
224
|
+
execute_or_queue_command(command, &block)
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
protected
|
|
228
|
+
|
|
229
|
+
def apply_command_defaults(command)
|
|
230
|
+
command.query['key'] = key unless key.nil?
|
|
231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|
|
@@ -20,12 +20,13 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Groups Migration API
|
|
22
22
|
#
|
|
23
|
-
# Groups Migration
|
|
23
|
+
# The Groups Migration API allows domain administrators to archive
|
|
24
|
+
# emails into Google groups.
|
|
24
25
|
#
|
|
25
26
|
# @see https://developers.google.com/google-apps/groups-migration/
|
|
26
27
|
module GroupsmigrationV1
|
|
27
28
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200608'
|
|
29
30
|
|
|
30
31
|
# Manage messages in groups on your domain
|
|
31
32
|
AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration'
|
|
@@ -22,7 +22,8 @@ module Google
|
|
|
22
22
|
module GroupsmigrationV1
|
|
23
23
|
# Groups Migration API
|
|
24
24
|
#
|
|
25
|
-
# Groups Migration
|
|
25
|
+
# The Groups Migration API allows domain administrators to archive
|
|
26
|
+
# emails into Google groups.
|
|
26
27
|
#
|
|
27
28
|
# @example
|
|
28
29
|
# require 'google/apis/groupsmigration_v1'
|
|
@@ -38,16 +39,12 @@ module Google
|
|
|
38
39
|
attr_accessor :key
|
|
39
40
|
|
|
40
41
|
# @return [String]
|
|
41
|
-
#
|
|
42
|
-
# characters.
|
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43
44
|
attr_accessor :quota_user
|
|
44
45
|
|
|
45
|
-
# @return [String]
|
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
|
47
|
-
attr_accessor :user_ip
|
|
48
|
-
|
|
49
46
|
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', '
|
|
47
|
+
super('https://www.googleapis.com/', '')
|
|
51
48
|
@batch_path = 'batch/groupsmigration/v1'
|
|
52
49
|
end
|
|
53
50
|
|
|
@@ -57,10 +54,8 @@ module Google
|
|
|
57
54
|
# @param [String] fields
|
|
58
55
|
# Selector specifying which fields to include in a partial response.
|
|
59
56
|
# @param [String] quota_user
|
|
60
|
-
#
|
|
61
|
-
# characters.
|
|
62
|
-
# @param [String] user_ip
|
|
63
|
-
# Deprecated. Please use quotaUser instead.
|
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
59
|
# @param [IO, String] upload_source
|
|
65
60
|
# IO stream or filename containing content to upload
|
|
66
61
|
# @param [String] content_type
|
|
@@ -77,11 +72,11 @@ module Google
|
|
|
77
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
78
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
79
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
80
|
-
def insert_archive(group_id, fields: nil, quota_user: nil,
|
|
75
|
+
def insert_archive(group_id, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
81
76
|
if upload_source.nil?
|
|
82
|
-
command = make_simple_command(:post, '{groupId}/archive', options)
|
|
77
|
+
command = make_simple_command(:post, 'groups/v1/groups/{groupId}/archive', options)
|
|
83
78
|
else
|
|
84
|
-
command = make_upload_command(:post, '{groupId}/archive', options)
|
|
79
|
+
command = make_upload_command(:post, 'groups/v1/groups/{groupId}/archive', options)
|
|
85
80
|
command.upload_source = upload_source
|
|
86
81
|
command.upload_content_type = content_type
|
|
87
82
|
end
|
|
@@ -90,7 +85,6 @@ module Google
|
|
|
90
85
|
command.params['groupId'] = group_id unless group_id.nil?
|
|
91
86
|
command.query['fields'] = fields unless fields.nil?
|
|
92
87
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
93
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
94
88
|
execute_or_queue_command(command, &block)
|
|
95
89
|
end
|
|
96
90
|
|
|
@@ -99,7 +93,6 @@ module Google
|
|
|
99
93
|
def apply_command_defaults(command)
|
|
100
94
|
command.query['key'] = key unless key.nil?
|
|
101
95
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
102
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
103
96
|
end
|
|
104
97
|
end
|
|
105
98
|
end
|
|
@@ -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 = '20200612'
|
|
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'
|
|
@@ -34,7 +34,7 @@ module Google
|
|
|
34
34
|
# `
|
|
35
35
|
# "audit_configs": [
|
|
36
36
|
# `
|
|
37
|
-
# "service": "allServices"
|
|
37
|
+
# "service": "allServices",
|
|
38
38
|
# "audit_log_configs": [
|
|
39
39
|
# `
|
|
40
40
|
# "log_type": "DATA_READ",
|
|
@@ -43,18 +43,18 @@ module Google
|
|
|
43
43
|
# ]
|
|
44
44
|
# `,
|
|
45
45
|
# `
|
|
46
|
-
# "log_type": "DATA_WRITE"
|
|
46
|
+
# "log_type": "DATA_WRITE"
|
|
47
47
|
# `,
|
|
48
48
|
# `
|
|
49
|
-
# "log_type": "ADMIN_READ"
|
|
49
|
+
# "log_type": "ADMIN_READ"
|
|
50
50
|
# `
|
|
51
51
|
# ]
|
|
52
52
|
# `,
|
|
53
53
|
# `
|
|
54
|
-
# "service": "sampleservice.googleapis.com"
|
|
54
|
+
# "service": "sampleservice.googleapis.com",
|
|
55
55
|
# "audit_log_configs": [
|
|
56
56
|
# `
|
|
57
|
-
# "log_type": "DATA_READ"
|
|
57
|
+
# "log_type": "DATA_READ"
|
|
58
58
|
# `,
|
|
59
59
|
# `
|
|
60
60
|
# "log_type": "DATA_WRITE",
|
|
@@ -106,7 +106,7 @@ module Google
|
|
|
106
106
|
# ]
|
|
107
107
|
# `,
|
|
108
108
|
# `
|
|
109
|
-
# "log_type": "DATA_WRITE"
|
|
109
|
+
# "log_type": "DATA_WRITE"
|
|
110
110
|
# `
|
|
111
111
|
# ]
|
|
112
112
|
# `
|
|
@@ -307,7 +307,7 @@ module Google
|
|
|
307
307
|
class Dataset
|
|
308
308
|
include Google::Apis::Core::Hashable
|
|
309
309
|
|
|
310
|
-
#
|
|
310
|
+
# Resource name of the dataset, of the form
|
|
311
311
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
|
312
312
|
# Corresponds to the JSON property `name`
|
|
313
313
|
# @return [String]
|
|
@@ -617,7 +617,7 @@ module Google
|
|
|
617
617
|
# @return [Hash<String,String>]
|
|
618
618
|
attr_accessor :labels
|
|
619
619
|
|
|
620
|
-
#
|
|
620
|
+
# Resource name of the DICOM store, of the form
|
|
621
621
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
622
622
|
# dicomStores/`dicom_store_id``.
|
|
623
623
|
# Corresponds to the JSON property `name`
|
|
@@ -1320,7 +1320,7 @@ module Google
|
|
|
1320
1320
|
# @return [Hash<String,String>]
|
|
1321
1321
|
attr_accessor :labels
|
|
1322
1322
|
|
|
1323
|
-
#
|
|
1323
|
+
# Resource name of the HL7v2 store, of the form
|
|
1324
1324
|
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
|
|
1325
1325
|
# Corresponds to the JSON property `name`
|
|
1326
1326
|
# @return [String]
|
|
@@ -285,7 +285,7 @@ module Google
|
|
|
285
285
|
|
|
286
286
|
# Updates dataset metadata.
|
|
287
287
|
# @param [String] name
|
|
288
|
-
#
|
|
288
|
+
# Resource name of the dataset, of the form
|
|
289
289
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
|
290
290
|
# @param [Google::Apis::HealthcareV1::Dataset] dataset_object
|
|
291
291
|
# @param [String] update_mask
|
|
@@ -712,7 +712,7 @@ module Google
|
|
|
712
712
|
|
|
713
713
|
# Updates the specified DICOM store.
|
|
714
714
|
# @param [String] name
|
|
715
|
-
#
|
|
715
|
+
# Resource name of the DICOM store, of the form
|
|
716
716
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
717
717
|
# dicomStores/`dicom_store_id``.
|
|
718
718
|
# @param [Google::Apis::HealthcareV1::DicomStore] dicom_store_object
|
|
@@ -1384,6 +1384,8 @@ module Google
|
|
|
1384
1384
|
# DeleteInstance deletes an instance associated with the given study, series,
|
|
1385
1385
|
# and SOP Instance UID. Delete requests are equivalent to the GET requests
|
|
1386
1386
|
# specified in the Retrieve transaction.
|
|
1387
|
+
# Study and series search results can take a few seconds to be updated after
|
|
1388
|
+
# an instance is deleted using DeleteInstance.
|
|
1387
1389
|
# @param [String] parent
|
|
1388
1390
|
# The name of the DICOM store that is being accessed. For example,
|
|
1389
1391
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
@@ -2935,7 +2937,7 @@ module Google
|
|
|
2935
2937
|
|
|
2936
2938
|
# Updates the HL7v2 store.
|
|
2937
2939
|
# @param [String] name
|
|
2938
|
-
#
|
|
2940
|
+
# Resource name of the HL7v2 store, of the form
|
|
2939
2941
|
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
|
|
2940
2942
|
# @param [Google::Apis::HealthcareV1::Hl7V2Store] hl7_v2_store_object
|
|
2941
2943
|
# @param [String] update_mask
|
|
@@ -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 = '20200612'
|
|
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,151 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module HealthcareV1beta1
|
|
24
24
|
|
|
25
|
+
# An annotation record.
|
|
26
|
+
class Annotation
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# AnnotationSource holds the source information of the annotation.
|
|
30
|
+
# Corresponds to the JSON property `annotationSource`
|
|
31
|
+
# @return [Google::Apis::HealthcareV1beta1::AnnotationSource]
|
|
32
|
+
attr_accessor :annotation_source
|
|
33
|
+
|
|
34
|
+
# Additional information for this annotation record, such as annotator and
|
|
35
|
+
# verifier information or study campaign.
|
|
36
|
+
# Corresponds to the JSON property `customData`
|
|
37
|
+
# @return [Hash<String,String>]
|
|
38
|
+
attr_accessor :custom_data
|
|
39
|
+
|
|
40
|
+
# Image annotation.
|
|
41
|
+
# Corresponds to the JSON property `imageAnnotation`
|
|
42
|
+
# @return [Google::Apis::HealthcareV1beta1::ImageAnnotation]
|
|
43
|
+
attr_accessor :image_annotation
|
|
44
|
+
|
|
45
|
+
# Resource name of the Annotation, of the form
|
|
46
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
47
|
+
# annotationStores/`annotation_store_id`/annotations/`annotation_id``.
|
|
48
|
+
# Corresponds to the JSON property `name`
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :name
|
|
51
|
+
|
|
52
|
+
# Resource level annotation.
|
|
53
|
+
# Corresponds to the JSON property `resourceAnnotation`
|
|
54
|
+
# @return [Google::Apis::HealthcareV1beta1::ResourceAnnotation]
|
|
55
|
+
attr_accessor :resource_annotation
|
|
56
|
+
|
|
57
|
+
# A TextAnnotation specifies a text range that includes sensitive information.
|
|
58
|
+
# Corresponds to the JSON property `textAnnotation`
|
|
59
|
+
# @return [Google::Apis::HealthcareV1beta1::SensitiveTextAnnotation]
|
|
60
|
+
attr_accessor :text_annotation
|
|
61
|
+
|
|
62
|
+
def initialize(**args)
|
|
63
|
+
update!(**args)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Update properties of this object
|
|
67
|
+
def update!(**args)
|
|
68
|
+
@annotation_source = args[:annotation_source] if args.key?(:annotation_source)
|
|
69
|
+
@custom_data = args[:custom_data] if args.key?(:custom_data)
|
|
70
|
+
@image_annotation = args[:image_annotation] if args.key?(:image_annotation)
|
|
71
|
+
@name = args[:name] if args.key?(:name)
|
|
72
|
+
@resource_annotation = args[:resource_annotation] if args.key?(:resource_annotation)
|
|
73
|
+
@text_annotation = args[:text_annotation] if args.key?(:text_annotation)
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Specifies how to store annotations during de-identification operation.
|
|
78
|
+
class AnnotationConfig
|
|
79
|
+
include Google::Apis::Core::Hashable
|
|
80
|
+
|
|
81
|
+
# The name of the annotation store, in the form
|
|
82
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
83
|
+
# annotationStores/`annotation_store_id``).
|
|
84
|
+
# * The destination annotation store must be in the same project as the
|
|
85
|
+
# source data. De-identifying data across multiple projects is not
|
|
86
|
+
# supported.
|
|
87
|
+
# * The destination annotation store must exist when using
|
|
88
|
+
# DeidentifyDicomStore or
|
|
89
|
+
# DeidentifyFhirStore.
|
|
90
|
+
# DeidentifyDataset
|
|
91
|
+
# automatically creates the destination annotation store.
|
|
92
|
+
# Corresponds to the JSON property `annotationStoreName`
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :annotation_store_name
|
|
95
|
+
|
|
96
|
+
# If set to true, the sensitive texts are included in
|
|
97
|
+
# SensitiveTextAnnotation
|
|
98
|
+
# of Annotation.
|
|
99
|
+
# Corresponds to the JSON property `storeQuote`
|
|
100
|
+
# @return [Boolean]
|
|
101
|
+
attr_accessor :store_quote
|
|
102
|
+
alias_method :store_quote?, :store_quote
|
|
103
|
+
|
|
104
|
+
def initialize(**args)
|
|
105
|
+
update!(**args)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Update properties of this object
|
|
109
|
+
def update!(**args)
|
|
110
|
+
@annotation_store_name = args[:annotation_store_name] if args.key?(:annotation_store_name)
|
|
111
|
+
@store_quote = args[:store_quote] if args.key?(:store_quote)
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# AnnotationSource holds the source information of the annotation.
|
|
116
|
+
class AnnotationSource
|
|
117
|
+
include Google::Apis::Core::Hashable
|
|
118
|
+
|
|
119
|
+
# Cloud Healthcare API resource.
|
|
120
|
+
# Corresponds to the JSON property `cloudHealthcareSource`
|
|
121
|
+
# @return [Google::Apis::HealthcareV1beta1::CloudHealthcareSource]
|
|
122
|
+
attr_accessor :cloud_healthcare_source
|
|
123
|
+
|
|
124
|
+
def initialize(**args)
|
|
125
|
+
update!(**args)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Update properties of this object
|
|
129
|
+
def update!(**args)
|
|
130
|
+
@cloud_healthcare_source = args[:cloud_healthcare_source] if args.key?(:cloud_healthcare_source)
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# An Annotation store that can store annotation resources such as
|
|
135
|
+
# labels and tags for text, image and audio.
|
|
136
|
+
class AnnotationStore
|
|
137
|
+
include Google::Apis::Core::Hashable
|
|
138
|
+
|
|
139
|
+
# Optional. User-supplied key-value pairs used to organize Annotation stores.
|
|
140
|
+
# Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
|
|
141
|
+
# of maximum 128 bytes, and must conform to the
|
|
142
|
+
# following PCRE regular expression:
|
|
143
|
+
# \p`Ll`\p`Lo``0,62`
|
|
144
|
+
# Label values must be between 1 and 63 characters long, have
|
|
145
|
+
# a UTF-8 encoding of maximum 128 bytes, and must conform to the
|
|
146
|
+
# following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
|
|
147
|
+
# No more than 64 labels can be associated with a given store.
|
|
148
|
+
# Corresponds to the JSON property `labels`
|
|
149
|
+
# @return [Hash<String,String>]
|
|
150
|
+
attr_accessor :labels
|
|
151
|
+
|
|
152
|
+
# Resource name of the Annotation store, of the form
|
|
153
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
154
|
+
# annotationStores/`annotation_store_id``.
|
|
155
|
+
# Corresponds to the JSON property `name`
|
|
156
|
+
# @return [String]
|
|
157
|
+
attr_accessor :name
|
|
158
|
+
|
|
159
|
+
def initialize(**args)
|
|
160
|
+
update!(**args)
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Update properties of this object
|
|
164
|
+
def update!(**args)
|
|
165
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
166
|
+
@name = args[:name] if args.key?(:name)
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
25
170
|
# Specifies the audit configuration for a service.
|
|
26
171
|
# The configuration determines which permission types are logged, and what
|
|
27
172
|
# identities, if any, are exempted from logging.
|
|
@@ -34,7 +179,7 @@ module Google
|
|
|
34
179
|
# `
|
|
35
180
|
# "audit_configs": [
|
|
36
181
|
# `
|
|
37
|
-
# "service": "allServices"
|
|
182
|
+
# "service": "allServices",
|
|
38
183
|
# "audit_log_configs": [
|
|
39
184
|
# `
|
|
40
185
|
# "log_type": "DATA_READ",
|
|
@@ -43,18 +188,18 @@ module Google
|
|
|
43
188
|
# ]
|
|
44
189
|
# `,
|
|
45
190
|
# `
|
|
46
|
-
# "log_type": "DATA_WRITE"
|
|
191
|
+
# "log_type": "DATA_WRITE"
|
|
47
192
|
# `,
|
|
48
193
|
# `
|
|
49
|
-
# "log_type": "ADMIN_READ"
|
|
194
|
+
# "log_type": "ADMIN_READ"
|
|
50
195
|
# `
|
|
51
196
|
# ]
|
|
52
197
|
# `,
|
|
53
198
|
# `
|
|
54
|
-
# "service": "sampleservice.googleapis.com"
|
|
199
|
+
# "service": "sampleservice.googleapis.com",
|
|
55
200
|
# "audit_log_configs": [
|
|
56
201
|
# `
|
|
57
|
-
# "log_type": "DATA_READ"
|
|
202
|
+
# "log_type": "DATA_READ"
|
|
58
203
|
# `,
|
|
59
204
|
# `
|
|
60
205
|
# "log_type": "DATA_WRITE",
|
|
@@ -106,7 +251,7 @@ module Google
|
|
|
106
251
|
# ]
|
|
107
252
|
# `,
|
|
108
253
|
# `
|
|
109
|
-
# "log_type": "DATA_WRITE"
|
|
254
|
+
# "log_type": "DATA_WRITE"
|
|
110
255
|
# `
|
|
111
256
|
# ]
|
|
112
257
|
# `
|
|
@@ -221,6 +366,31 @@ module Google
|
|
|
221
366
|
end
|
|
222
367
|
end
|
|
223
368
|
|
|
369
|
+
# A bounding polygon for the detected image annotation.
|
|
370
|
+
class BoundingPoly
|
|
371
|
+
include Google::Apis::Core::Hashable
|
|
372
|
+
|
|
373
|
+
# A description of this polygon.
|
|
374
|
+
# Corresponds to the JSON property `label`
|
|
375
|
+
# @return [String]
|
|
376
|
+
attr_accessor :label
|
|
377
|
+
|
|
378
|
+
# List of the vertices of this polygon.
|
|
379
|
+
# Corresponds to the JSON property `vertices`
|
|
380
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Vertex>]
|
|
381
|
+
attr_accessor :vertices
|
|
382
|
+
|
|
383
|
+
def initialize(**args)
|
|
384
|
+
update!(**args)
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
# Update properties of this object
|
|
388
|
+
def update!(**args)
|
|
389
|
+
@label = args[:label] if args.key?(:label)
|
|
390
|
+
@vertices = args[:vertices] if args.key?(:vertices)
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
224
394
|
# The request message for Operations.CancelOperation.
|
|
225
395
|
class CancelOperationRequest
|
|
226
396
|
include Google::Apis::Core::Hashable
|
|
@@ -253,6 +423,25 @@ module Google
|
|
|
253
423
|
end
|
|
254
424
|
end
|
|
255
425
|
|
|
426
|
+
# Cloud Healthcare API resource.
|
|
427
|
+
class CloudHealthcareSource
|
|
428
|
+
include Google::Apis::Core::Hashable
|
|
429
|
+
|
|
430
|
+
# Full path of a Cloud Healthcare API resource.
|
|
431
|
+
# Corresponds to the JSON property `name`
|
|
432
|
+
# @return [String]
|
|
433
|
+
attr_accessor :name
|
|
434
|
+
|
|
435
|
+
def initialize(**args)
|
|
436
|
+
update!(**args)
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# Update properties of this object
|
|
440
|
+
def update!(**args)
|
|
441
|
+
@name = args[:name] if args.key?(:name)
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
256
445
|
# Creates a new message.
|
|
257
446
|
class CreateMessageRequest
|
|
258
447
|
include Google::Apis::Core::Hashable
|
|
@@ -307,7 +496,7 @@ module Google
|
|
|
307
496
|
class Dataset
|
|
308
497
|
include Google::Apis::Core::Hashable
|
|
309
498
|
|
|
310
|
-
#
|
|
499
|
+
# Resource name of the dataset, of the form
|
|
311
500
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
|
312
501
|
# Corresponds to the JSON property `name`
|
|
313
502
|
# @return [String]
|
|
@@ -362,6 +551,11 @@ module Google
|
|
|
362
551
|
class DeidentifyConfig
|
|
363
552
|
include Google::Apis::Core::Hashable
|
|
364
553
|
|
|
554
|
+
# Specifies how to store annotations during de-identification operation.
|
|
555
|
+
# Corresponds to the JSON property `annotation`
|
|
556
|
+
# @return [Google::Apis::HealthcareV1beta1::AnnotationConfig]
|
|
557
|
+
attr_accessor :annotation
|
|
558
|
+
|
|
365
559
|
# Specifies the parameters needed for de-identification of DICOM stores.
|
|
366
560
|
# Corresponds to the JSON property `dicom`
|
|
367
561
|
# @return [Google::Apis::HealthcareV1beta1::DicomConfig]
|
|
@@ -389,6 +583,7 @@ module Google
|
|
|
389
583
|
|
|
390
584
|
# Update properties of this object
|
|
391
585
|
def update!(**args)
|
|
586
|
+
@annotation = args[:annotation] if args.key?(:annotation)
|
|
392
587
|
@dicom = args[:dicom] if args.key?(:dicom)
|
|
393
588
|
@fhir = args[:fhir] if args.key?(:fhir)
|
|
394
589
|
@image = args[:image] if args.key?(:image)
|
|
@@ -585,6 +780,25 @@ module Google
|
|
|
585
780
|
end
|
|
586
781
|
end
|
|
587
782
|
|
|
783
|
+
# Contains multiple sensitive information findings for each resource slice.
|
|
784
|
+
class Detail
|
|
785
|
+
include Google::Apis::Core::Hashable
|
|
786
|
+
|
|
787
|
+
#
|
|
788
|
+
# Corresponds to the JSON property `findings`
|
|
789
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Finding>]
|
|
790
|
+
attr_accessor :findings
|
|
791
|
+
|
|
792
|
+
def initialize(**args)
|
|
793
|
+
update!(**args)
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# Update properties of this object
|
|
797
|
+
def update!(**args)
|
|
798
|
+
@findings = args[:findings] if args.key?(:findings)
|
|
799
|
+
end
|
|
800
|
+
end
|
|
801
|
+
|
|
588
802
|
# Specifies the parameters needed for de-identification of DICOM stores.
|
|
589
803
|
class DicomConfig
|
|
590
804
|
include Google::Apis::Core::Hashable
|
|
@@ -675,7 +889,7 @@ module Google
|
|
|
675
889
|
# @return [Hash<String,String>]
|
|
676
890
|
attr_accessor :labels
|
|
677
891
|
|
|
678
|
-
#
|
|
892
|
+
# Resource name of the DICOM store, of the form
|
|
679
893
|
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
680
894
|
# dicomStores/`dicom_store_id``.
|
|
681
895
|
# Corresponds to the JSON property `name`
|
|
@@ -750,6 +964,209 @@ module Google
|
|
|
750
964
|
end
|
|
751
965
|
end
|
|
752
966
|
|
|
967
|
+
# Request to evaluate an Annotation store against a
|
|
968
|
+
# ground truth [Annotation store].
|
|
969
|
+
class EvaluateAnnotationStoreRequest
|
|
970
|
+
include Google::Apis::Core::Hashable
|
|
971
|
+
|
|
972
|
+
# The BigQuery table for export.
|
|
973
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
|
974
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination]
|
|
975
|
+
attr_accessor :bigquery_destination
|
|
976
|
+
|
|
977
|
+
# Optional. InfoType mapping for `eval_store`. Different resources can map to
|
|
978
|
+
# the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and
|
|
979
|
+
# `HUMAN` are different. To map all of these into a single
|
|
980
|
+
# infoType (such as `PERSON_NAME`), specify the following mapping:
|
|
981
|
+
# ```
|
|
982
|
+
# info_type_mapping["PERSON"] = "PERSON_NAME"
|
|
983
|
+
# info_type_mapping["NAME"] = "PERSON_NAME"
|
|
984
|
+
# info_type_mapping["HUMAN"] = "PERSON_NAME"
|
|
985
|
+
# ```
|
|
986
|
+
# Unmentioned infoTypes, such as `DATE`, are treated as identity
|
|
987
|
+
# mapping. For example:
|
|
988
|
+
# ```
|
|
989
|
+
# info_type_mapping["DATE"] = "DATE"
|
|
990
|
+
# ```
|
|
991
|
+
# InfoTypes are case-insensitive.
|
|
992
|
+
# Corresponds to the JSON property `evalInfoTypeMapping`
|
|
993
|
+
# @return [Hash<String,String>]
|
|
994
|
+
attr_accessor :eval_info_type_mapping
|
|
995
|
+
|
|
996
|
+
# Optional. Similar to `eval_info_type_mapping`, infoType mapping for
|
|
997
|
+
# `golden_store`.
|
|
998
|
+
# Corresponds to the JSON property `goldenInfoTypeMapping`
|
|
999
|
+
# @return [Hash<String,String>]
|
|
1000
|
+
attr_accessor :golden_info_type_mapping
|
|
1001
|
+
|
|
1002
|
+
# The Annotation store to use as ground truth, in the format of
|
|
1003
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1004
|
+
# annotationStores/`annotation_store_id``.
|
|
1005
|
+
# Corresponds to the JSON property `goldenStore`
|
|
1006
|
+
# @return [String]
|
|
1007
|
+
attr_accessor :golden_store
|
|
1008
|
+
|
|
1009
|
+
# Specifies how to use infoTypes for evaluation. For example, a user might
|
|
1010
|
+
# only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
|
|
1011
|
+
# Corresponds to the JSON property `infoTypeConfig`
|
|
1012
|
+
# @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
|
|
1013
|
+
attr_accessor :info_type_config
|
|
1014
|
+
|
|
1015
|
+
def initialize(**args)
|
|
1016
|
+
update!(**args)
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
# Update properties of this object
|
|
1020
|
+
def update!(**args)
|
|
1021
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
|
1022
|
+
@eval_info_type_mapping = args[:eval_info_type_mapping] if args.key?(:eval_info_type_mapping)
|
|
1023
|
+
@golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
|
|
1024
|
+
@golden_store = args[:golden_store] if args.key?(:golden_store)
|
|
1025
|
+
@info_type_config = args[:info_type_config] if args.key?(:info_type_config)
|
|
1026
|
+
end
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
# Response for successful Annotation store evaluation operations. This
|
|
1030
|
+
# structure is included in the
|
|
1031
|
+
# response upon operation completion.
|
|
1032
|
+
class EvaluateAnnotationStoreResponse
|
|
1033
|
+
include Google::Apis::Core::Hashable
|
|
1034
|
+
|
|
1035
|
+
# The evaluated Annotation store, in the format of
|
|
1036
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1037
|
+
# annotationStores/`annotation_store_id``.
|
|
1038
|
+
# Corresponds to the JSON property `evalStore`
|
|
1039
|
+
# @return [String]
|
|
1040
|
+
attr_accessor :eval_store
|
|
1041
|
+
|
|
1042
|
+
# The number of Annotations in the ground
|
|
1043
|
+
# truth Annotation store successfully
|
|
1044
|
+
# processed.
|
|
1045
|
+
# Corresponds to the JSON property `goldenCount`
|
|
1046
|
+
# @return [Fixnum]
|
|
1047
|
+
attr_accessor :golden_count
|
|
1048
|
+
|
|
1049
|
+
# The ground truth Annotation store, in the format of
|
|
1050
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1051
|
+
# annotationStores/`annotation_store_id``.
|
|
1052
|
+
# Corresponds to the JSON property `goldenStore`
|
|
1053
|
+
# @return [String]
|
|
1054
|
+
attr_accessor :golden_store
|
|
1055
|
+
|
|
1056
|
+
# The number of Annotations
|
|
1057
|
+
# in the eval store that match with corresponding annotations
|
|
1058
|
+
# in the ground truth Annotation store. Two matched
|
|
1059
|
+
# annotations both annotate the same resource defined in
|
|
1060
|
+
# AnnotationSource.
|
|
1061
|
+
# Corresponds to the JSON property `matchedCount`
|
|
1062
|
+
# @return [Fixnum]
|
|
1063
|
+
attr_accessor :matched_count
|
|
1064
|
+
|
|
1065
|
+
def initialize(**args)
|
|
1066
|
+
update!(**args)
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
# Update properties of this object
|
|
1070
|
+
def update!(**args)
|
|
1071
|
+
@eval_store = args[:eval_store] if args.key?(:eval_store)
|
|
1072
|
+
@golden_count = args[:golden_count] if args.key?(:golden_count)
|
|
1073
|
+
@golden_store = args[:golden_store] if args.key?(:golden_store)
|
|
1074
|
+
@matched_count = args[:matched_count] if args.key?(:matched_count)
|
|
1075
|
+
end
|
|
1076
|
+
end
|
|
1077
|
+
|
|
1078
|
+
# Response for failed annotation export operations. This structure is
|
|
1079
|
+
# included in error
|
|
1080
|
+
# details upon operation completion.
|
|
1081
|
+
class ExportAnnotationsErrorDetails
|
|
1082
|
+
include Google::Apis::Core::Hashable
|
|
1083
|
+
|
|
1084
|
+
# The annotation_store used for the export operation, in the format of
|
|
1085
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1086
|
+
# annotationStores/`annotation_store_id``.
|
|
1087
|
+
# Corresponds to the JSON property `annotationStore`
|
|
1088
|
+
# @return [String]
|
|
1089
|
+
attr_accessor :annotation_store
|
|
1090
|
+
|
|
1091
|
+
# The number of annotations that had error.
|
|
1092
|
+
# Corresponds to the JSON property `errorCount`
|
|
1093
|
+
# @return [Fixnum]
|
|
1094
|
+
attr_accessor :error_count
|
|
1095
|
+
|
|
1096
|
+
# The number of annotations successfully exported.
|
|
1097
|
+
# Corresponds to the JSON property `successCount`
|
|
1098
|
+
# @return [Fixnum]
|
|
1099
|
+
attr_accessor :success_count
|
|
1100
|
+
|
|
1101
|
+
def initialize(**args)
|
|
1102
|
+
update!(**args)
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
# Update properties of this object
|
|
1106
|
+
def update!(**args)
|
|
1107
|
+
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
|
1108
|
+
@error_count = args[:error_count] if args.key?(:error_count)
|
|
1109
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
1110
|
+
end
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1113
|
+
# Request to export
|
|
1114
|
+
# Annotations. The
|
|
1115
|
+
# export operation is not atomic. If a
|
|
1116
|
+
# failure occurs, any annotations already exported are not removed.
|
|
1117
|
+
class ExportAnnotationsRequest
|
|
1118
|
+
include Google::Apis::Core::Hashable
|
|
1119
|
+
|
|
1120
|
+
# The BigQuery table for export.
|
|
1121
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
|
1122
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination]
|
|
1123
|
+
attr_accessor :bigquery_destination
|
|
1124
|
+
|
|
1125
|
+
# The Cloud Storage location for export.
|
|
1126
|
+
# Corresponds to the JSON property `gcsDestination`
|
|
1127
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
|
|
1128
|
+
attr_accessor :gcs_destination
|
|
1129
|
+
|
|
1130
|
+
def initialize(**args)
|
|
1131
|
+
update!(**args)
|
|
1132
|
+
end
|
|
1133
|
+
|
|
1134
|
+
# Update properties of this object
|
|
1135
|
+
def update!(**args)
|
|
1136
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
|
1137
|
+
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
|
1138
|
+
end
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
# Response for successful annotation export operations. This structure is
|
|
1142
|
+
# included in response upon operation
|
|
1143
|
+
# completion.
|
|
1144
|
+
class ExportAnnotationsResponse
|
|
1145
|
+
include Google::Apis::Core::Hashable
|
|
1146
|
+
|
|
1147
|
+
# The annotation_store used for the export operation, in the format of
|
|
1148
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
1149
|
+
# annotationStores/`annotation_store_id``.
|
|
1150
|
+
# Corresponds to the JSON property `annotationStore`
|
|
1151
|
+
# @return [String]
|
|
1152
|
+
attr_accessor :annotation_store
|
|
1153
|
+
|
|
1154
|
+
# The total number of annotations successfully exported.
|
|
1155
|
+
# Corresponds to the JSON property `successCount`
|
|
1156
|
+
# @return [Fixnum]
|
|
1157
|
+
attr_accessor :success_count
|
|
1158
|
+
|
|
1159
|
+
def initialize(**args)
|
|
1160
|
+
update!(**args)
|
|
1161
|
+
end
|
|
1162
|
+
|
|
1163
|
+
# Update properties of this object
|
|
1164
|
+
def update!(**args)
|
|
1165
|
+
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
|
1166
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
1167
|
+
end
|
|
1168
|
+
end
|
|
1169
|
+
|
|
753
1170
|
# Exports data from the specified DICOM store.
|
|
754
1171
|
# If a given resource, such as a DICOM object with the same SOPInstance UID,
|
|
755
1172
|
# already exists in the output, it is overwritten with the version
|
|
@@ -1064,22 +1481,185 @@ module Google
|
|
|
1064
1481
|
# @return [Fixnum]
|
|
1065
1482
|
attr_accessor :min_occurs
|
|
1066
1483
|
|
|
1067
|
-
# The name of the field. For example, "PID-1" or just "1".
|
|
1068
|
-
# Corresponds to the JSON property `name`
|
|
1484
|
+
# The name of the field. For example, "PID-1" or just "1".
|
|
1485
|
+
# Corresponds to the JSON property `name`
|
|
1486
|
+
# @return [String]
|
|
1487
|
+
attr_accessor :name
|
|
1488
|
+
|
|
1489
|
+
# The HL7v2 table this field refers to. For example, PID-15 (Patient's
|
|
1490
|
+
# Primary Language) usually refers to table "0296".
|
|
1491
|
+
# Corresponds to the JSON property `table`
|
|
1492
|
+
# @return [String]
|
|
1493
|
+
attr_accessor :table
|
|
1494
|
+
|
|
1495
|
+
# The type of this field. A Type with this name must be defined in an
|
|
1496
|
+
# Hl7TypesConfig.
|
|
1497
|
+
# Corresponds to the JSON property `type`
|
|
1498
|
+
# @return [String]
|
|
1499
|
+
attr_accessor :type
|
|
1500
|
+
|
|
1501
|
+
def initialize(**args)
|
|
1502
|
+
update!(**args)
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
# Update properties of this object
|
|
1506
|
+
def update!(**args)
|
|
1507
|
+
@max_occurs = args[:max_occurs] if args.key?(:max_occurs)
|
|
1508
|
+
@min_occurs = args[:min_occurs] if args.key?(:min_occurs)
|
|
1509
|
+
@name = args[:name] if args.key?(:name)
|
|
1510
|
+
@table = args[:table] if args.key?(:table)
|
|
1511
|
+
@type = args[:type] if args.key?(:type)
|
|
1512
|
+
end
|
|
1513
|
+
end
|
|
1514
|
+
|
|
1515
|
+
# Specifies FHIR paths to match, and how to handle de-identification of
|
|
1516
|
+
# matching fields.
|
|
1517
|
+
class FieldMetadata
|
|
1518
|
+
include Google::Apis::Core::Hashable
|
|
1519
|
+
|
|
1520
|
+
# Deidentify action for one field.
|
|
1521
|
+
# Corresponds to the JSON property `action`
|
|
1522
|
+
# @return [String]
|
|
1523
|
+
attr_accessor :action
|
|
1524
|
+
|
|
1525
|
+
# List of paths to FHIR fields to redact. Each path is a
|
|
1526
|
+
# period-separated list where each component is either a field name or
|
|
1527
|
+
# FHIR type name. All types begin with an upper case letter. For example,
|
|
1528
|
+
# the resource field "Patient.Address.city", which uses a string type,
|
|
1529
|
+
# can be matched by "Patient.Address.String". Path also supports partial
|
|
1530
|
+
# matching. For example, "Patient.Address.city" can be matched by
|
|
1531
|
+
# "Address.city" (Patient omitted). Partial matching and type matching
|
|
1532
|
+
# can be combined. For example, "Patient.Address.city" can be matched by
|
|
1533
|
+
# "Address.String". For "choice" types (those defined in the FHIR spec
|
|
1534
|
+
# with the form: field[x]), use two separate components. For example,
|
|
1535
|
+
# "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types
|
|
1536
|
+
# are: AdministrativeGenderCode, Code, Date, DateTime, Decimal,
|
|
1537
|
+
# HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
|
|
1538
|
+
# The sub-type for HumanName, such as HumanName.given or
|
|
1539
|
+
# HumanName.family, can be omitted.
|
|
1540
|
+
# Corresponds to the JSON property `paths`
|
|
1541
|
+
# @return [Array<String>]
|
|
1542
|
+
attr_accessor :paths
|
|
1543
|
+
|
|
1544
|
+
def initialize(**args)
|
|
1545
|
+
update!(**args)
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
# Update properties of this object
|
|
1549
|
+
def update!(**args)
|
|
1550
|
+
@action = args[:action] if args.key?(:action)
|
|
1551
|
+
@paths = args[:paths] if args.key?(:paths)
|
|
1552
|
+
end
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
# List of infoTypes to be filtered.
|
|
1556
|
+
class FilterList
|
|
1557
|
+
include Google::Apis::Core::Hashable
|
|
1558
|
+
|
|
1559
|
+
# These infoTypes are based on after the `eval_info_type_mapping` and
|
|
1560
|
+
# `golden_info_type_mapping`.
|
|
1561
|
+
# Corresponds to the JSON property `infoTypes`
|
|
1562
|
+
# @return [Array<String>]
|
|
1563
|
+
attr_accessor :info_types
|
|
1564
|
+
|
|
1565
|
+
def initialize(**args)
|
|
1566
|
+
update!(**args)
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1569
|
+
# Update properties of this object
|
|
1570
|
+
def update!(**args)
|
|
1571
|
+
@info_types = args[:info_types] if args.key?(:info_types)
|
|
1572
|
+
end
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
#
|
|
1576
|
+
class Finding
|
|
1577
|
+
include Google::Apis::Core::Hashable
|
|
1578
|
+
|
|
1579
|
+
# Zero-based ending index of the found text, exclusively.
|
|
1580
|
+
# Corresponds to the JSON property `end`
|
|
1581
|
+
# @return [Fixnum]
|
|
1582
|
+
attr_accessor :end
|
|
1583
|
+
|
|
1584
|
+
# The type of information stored in this text range. For example,
|
|
1585
|
+
# HumanName, BirthDate, or Address.
|
|
1586
|
+
# Corresponds to the JSON property `infoType`
|
|
1587
|
+
# @return [String]
|
|
1588
|
+
attr_accessor :info_type
|
|
1589
|
+
|
|
1590
|
+
# The snippet of the sensitive text. This field is only populated during
|
|
1591
|
+
# deidentification if `store_quote` is set to true in DeidentifyConfig.
|
|
1592
|
+
# Corresponds to the JSON property `quote`
|
|
1593
|
+
# @return [String]
|
|
1594
|
+
attr_accessor :quote
|
|
1595
|
+
|
|
1596
|
+
# Zero-based starting index of the found text, inclusively.
|
|
1597
|
+
# Corresponds to the JSON property `start`
|
|
1598
|
+
# @return [Fixnum]
|
|
1599
|
+
attr_accessor :start
|
|
1600
|
+
|
|
1601
|
+
def initialize(**args)
|
|
1602
|
+
update!(**args)
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
# Update properties of this object
|
|
1606
|
+
def update!(**args)
|
|
1607
|
+
@end = args[:end] if args.key?(:end)
|
|
1608
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
|
1609
|
+
@quote = args[:quote] if args.key?(:quote)
|
|
1610
|
+
@start = args[:start] if args.key?(:start)
|
|
1611
|
+
end
|
|
1612
|
+
end
|
|
1613
|
+
|
|
1614
|
+
# The BigQuery table for export.
|
|
1615
|
+
class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
|
|
1616
|
+
include Google::Apis::Core::Hashable
|
|
1617
|
+
|
|
1618
|
+
# If the destination table already exists and this flag is `TRUE`, the table
|
|
1619
|
+
# is overwritten by the contents of the input store. If the flag is not
|
|
1620
|
+
# set and the destination table already exists, the export call returns an
|
|
1621
|
+
# error.
|
|
1622
|
+
# Corresponds to the JSON property `force`
|
|
1623
|
+
# @return [Boolean]
|
|
1624
|
+
attr_accessor :force
|
|
1625
|
+
alias_method :force?, :force
|
|
1626
|
+
|
|
1627
|
+
# Specifies the schema format to export.
|
|
1628
|
+
# Corresponds to the JSON property `schemaType`
|
|
1069
1629
|
# @return [String]
|
|
1070
|
-
attr_accessor :
|
|
1630
|
+
attr_accessor :schema_type
|
|
1071
1631
|
|
|
1072
|
-
#
|
|
1073
|
-
#
|
|
1074
|
-
# Corresponds to the JSON property `
|
|
1632
|
+
# BigQuery URI to a table, up to 2000 characters long, must be of the form
|
|
1633
|
+
# bq://projectId.bqDatasetId.tableId.
|
|
1634
|
+
# Corresponds to the JSON property `tableUri`
|
|
1075
1635
|
# @return [String]
|
|
1076
|
-
attr_accessor :
|
|
1636
|
+
attr_accessor :table_uri
|
|
1077
1637
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1638
|
+
def initialize(**args)
|
|
1639
|
+
update!(**args)
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
# Update properties of this object
|
|
1643
|
+
def update!(**args)
|
|
1644
|
+
@force = args[:force] if args.key?(:force)
|
|
1645
|
+
@schema_type = args[:schema_type] if args.key?(:schema_type)
|
|
1646
|
+
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
|
1647
|
+
end
|
|
1648
|
+
end
|
|
1649
|
+
|
|
1650
|
+
# The Cloud Storage location for export.
|
|
1651
|
+
class GoogleCloudHealthcareV1beta1AnnotationGcsDestination
|
|
1652
|
+
include Google::Apis::Core::Hashable
|
|
1653
|
+
|
|
1654
|
+
# The Cloud Storage destination to export to.
|
|
1655
|
+
# URI for a Cloud Storage directory where the server writes result files, in
|
|
1656
|
+
# the format `gs://`bucket-id`/`path/to/destination/dir``. If there is no
|
|
1657
|
+
# trailing slash, the service appends one when composing the object path.
|
|
1658
|
+
# The user is responsible for creating the Cloud Storage bucket referenced in
|
|
1659
|
+
# `uri_prefix`.
|
|
1660
|
+
# Corresponds to the JSON property `uriPrefix`
|
|
1081
1661
|
# @return [String]
|
|
1082
|
-
attr_accessor :
|
|
1662
|
+
attr_accessor :uri_prefix
|
|
1083
1663
|
|
|
1084
1664
|
def initialize(**args)
|
|
1085
1665
|
update!(**args)
|
|
@@ -1087,42 +1667,34 @@ module Google
|
|
|
1087
1667
|
|
|
1088
1668
|
# Update properties of this object
|
|
1089
1669
|
def update!(**args)
|
|
1090
|
-
@
|
|
1091
|
-
@min_occurs = args[:min_occurs] if args.key?(:min_occurs)
|
|
1092
|
-
@name = args[:name] if args.key?(:name)
|
|
1093
|
-
@table = args[:table] if args.key?(:table)
|
|
1094
|
-
@type = args[:type] if args.key?(:type)
|
|
1670
|
+
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
|
1095
1671
|
end
|
|
1096
1672
|
end
|
|
1097
1673
|
|
|
1098
|
-
# Specifies
|
|
1099
|
-
|
|
1100
|
-
class FieldMetadata
|
|
1674
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
|
1675
|
+
class GoogleCloudHealthcareV1beta1AnnotationGcsSource
|
|
1101
1676
|
include Google::Apis::Core::Hashable
|
|
1102
1677
|
|
|
1103
|
-
#
|
|
1104
|
-
#
|
|
1678
|
+
# Points to a Cloud Storage URI containing file(s) with
|
|
1679
|
+
# content only. The URI must be in the following format:
|
|
1680
|
+
# `gs://`bucket_id`/`object_id``. The URI can include wildcards in
|
|
1681
|
+
# `object_id` and thus identify multiple files. Supported wildcards:
|
|
1682
|
+
# '*' to match 0 or more non-separator characters
|
|
1683
|
+
# '**' to match 0 or more characters (including separators). Must be used
|
|
1684
|
+
# at
|
|
1685
|
+
# the end of a path and with no other wildcards in the
|
|
1686
|
+
# path. Can also be used with a file extension (such as .dcm), which
|
|
1687
|
+
# imports all files with the extension in the specified directory and
|
|
1688
|
+
# its sub-directories. For example,
|
|
1689
|
+
# `gs://my-bucket/my-directory/**.json` imports all files with .json
|
|
1690
|
+
# extensions in `my-directory/` and its sub-directories.
|
|
1691
|
+
# '?' to match 1 character
|
|
1692
|
+
# All other URI formats are invalid.
|
|
1693
|
+
# Files matching the wildcard are expected to contain content only, no
|
|
1694
|
+
# metadata.
|
|
1695
|
+
# Corresponds to the JSON property `uri`
|
|
1105
1696
|
# @return [String]
|
|
1106
|
-
attr_accessor :
|
|
1107
|
-
|
|
1108
|
-
# List of paths to FHIR fields to redact. Each path is a
|
|
1109
|
-
# period-separated list where each component is either a field name or
|
|
1110
|
-
# FHIR type name. All types begin with an upper case letter. For example,
|
|
1111
|
-
# the resource field "Patient.Address.city", which uses a string type,
|
|
1112
|
-
# can be matched by "Patient.Address.String". Path also supports partial
|
|
1113
|
-
# matching. For example, "Patient.Address.city" can be matched by
|
|
1114
|
-
# "Address.city" (Patient omitted). Partial matching and type matching
|
|
1115
|
-
# can be combined. For example, "Patient.Address.city" can be matched by
|
|
1116
|
-
# "Address.String". For "choice" types (those defined in the FHIR spec
|
|
1117
|
-
# with the form: field[x]), use two separate components. For example,
|
|
1118
|
-
# "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types
|
|
1119
|
-
# are: AdministrativeGenderCode, Code, Date, DateTime, Decimal,
|
|
1120
|
-
# HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
|
|
1121
|
-
# The sub-type for HumanName, such as HumanName.given or
|
|
1122
|
-
# HumanName.family, can be omitted.
|
|
1123
|
-
# Corresponds to the JSON property `paths`
|
|
1124
|
-
# @return [Array<String>]
|
|
1125
|
-
attr_accessor :paths
|
|
1697
|
+
attr_accessor :uri
|
|
1126
1698
|
|
|
1127
1699
|
def initialize(**args)
|
|
1128
1700
|
update!(**args)
|
|
@@ -1130,8 +1702,7 @@ module Google
|
|
|
1130
1702
|
|
|
1131
1703
|
# Update properties of this object
|
|
1132
1704
|
def update!(**args)
|
|
1133
|
-
@
|
|
1134
|
-
@paths = args[:paths] if args.key?(:paths)
|
|
1705
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
1135
1706
|
end
|
|
1136
1707
|
end
|
|
1137
1708
|
|
|
@@ -1707,7 +2278,7 @@ module Google
|
|
|
1707
2278
|
# @return [Hash<String,String>]
|
|
1708
2279
|
attr_accessor :labels
|
|
1709
2280
|
|
|
1710
|
-
#
|
|
2281
|
+
# Resource name of the HL7v2 store, of the form
|
|
1711
2282
|
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
|
|
1712
2283
|
# Corresponds to the JSON property `name`
|
|
1713
2284
|
# @return [String]
|
|
@@ -1824,6 +2395,32 @@ module Google
|
|
|
1824
2395
|
end
|
|
1825
2396
|
end
|
|
1826
2397
|
|
|
2398
|
+
# Image annotation.
|
|
2399
|
+
class ImageAnnotation
|
|
2400
|
+
include Google::Apis::Core::Hashable
|
|
2401
|
+
|
|
2402
|
+
# The list of polygons outlining the sensitive regions in the image.
|
|
2403
|
+
# Corresponds to the JSON property `boundingPolys`
|
|
2404
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::BoundingPoly>]
|
|
2405
|
+
attr_accessor :bounding_polys
|
|
2406
|
+
|
|
2407
|
+
# 0-based index of the image frame. For example, an image frame in a DICOM
|
|
2408
|
+
# instance.
|
|
2409
|
+
# Corresponds to the JSON property `frameIndex`
|
|
2410
|
+
# @return [Fixnum]
|
|
2411
|
+
attr_accessor :frame_index
|
|
2412
|
+
|
|
2413
|
+
def initialize(**args)
|
|
2414
|
+
update!(**args)
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2417
|
+
# Update properties of this object
|
|
2418
|
+
def update!(**args)
|
|
2419
|
+
@bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys)
|
|
2420
|
+
@frame_index = args[:frame_index] if args.key?(:frame_index)
|
|
2421
|
+
end
|
|
2422
|
+
end
|
|
2423
|
+
|
|
1827
2424
|
# Specifies how to handle de-identification of image pixels.
|
|
1828
2425
|
class ImageConfig
|
|
1829
2426
|
include Google::Apis::Core::Hashable
|
|
@@ -1843,6 +2440,101 @@ module Google
|
|
|
1843
2440
|
end
|
|
1844
2441
|
end
|
|
1845
2442
|
|
|
2443
|
+
# Final response of importing
|
|
2444
|
+
# Annotations in
|
|
2445
|
+
# partial or total failure case. This structure is included in the
|
|
2446
|
+
# error
|
|
2447
|
+
# details. It is only included when the operation
|
|
2448
|
+
# finishes.
|
|
2449
|
+
class ImportAnnotationsErrorDetails
|
|
2450
|
+
include Google::Apis::Core::Hashable
|
|
2451
|
+
|
|
2452
|
+
# The annotation_store that the annotations were imported to. The name
|
|
2453
|
+
# is in the format
|
|
2454
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
2455
|
+
# annotationStores/`annotation_store_id``.
|
|
2456
|
+
# Corresponds to the JSON property `annotationStore`
|
|
2457
|
+
# @return [String]
|
|
2458
|
+
attr_accessor :annotation_store
|
|
2459
|
+
|
|
2460
|
+
# The number of annotations that had errors.
|
|
2461
|
+
# Corresponds to the JSON property `errorCount`
|
|
2462
|
+
# @return [Fixnum]
|
|
2463
|
+
attr_accessor :error_count
|
|
2464
|
+
|
|
2465
|
+
# The number of annotations that have been imported.
|
|
2466
|
+
# Corresponds to the JSON property `successCount`
|
|
2467
|
+
# @return [Fixnum]
|
|
2468
|
+
attr_accessor :success_count
|
|
2469
|
+
|
|
2470
|
+
def initialize(**args)
|
|
2471
|
+
update!(**args)
|
|
2472
|
+
end
|
|
2473
|
+
|
|
2474
|
+
# Update properties of this object
|
|
2475
|
+
def update!(**args)
|
|
2476
|
+
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
|
2477
|
+
@error_count = args[:error_count] if args.key?(:error_count)
|
|
2478
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
2479
|
+
end
|
|
2480
|
+
end
|
|
2481
|
+
|
|
2482
|
+
# Request to import
|
|
2483
|
+
# Annotations. The
|
|
2484
|
+
# Annotations to be imported must have client-supplied resource names which
|
|
2485
|
+
# indicate the annotation resource. The import operation is not atomic. If a
|
|
2486
|
+
# failure occurs, any annotations already imported are not removed.
|
|
2487
|
+
class ImportAnnotationsRequest
|
|
2488
|
+
include Google::Apis::Core::Hashable
|
|
2489
|
+
|
|
2490
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
|
2491
|
+
# Corresponds to the JSON property `gcsSource`
|
|
2492
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
|
|
2493
|
+
attr_accessor :gcs_source
|
|
2494
|
+
|
|
2495
|
+
def initialize(**args)
|
|
2496
|
+
update!(**args)
|
|
2497
|
+
end
|
|
2498
|
+
|
|
2499
|
+
# Update properties of this object
|
|
2500
|
+
def update!(**args)
|
|
2501
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
2502
|
+
end
|
|
2503
|
+
end
|
|
2504
|
+
|
|
2505
|
+
# Final response of importing
|
|
2506
|
+
# Annotations in
|
|
2507
|
+
# successful case. This structure is included in the
|
|
2508
|
+
# response. It is only included
|
|
2509
|
+
# when the operation finishes.
|
|
2510
|
+
class ImportAnnotationsResponse
|
|
2511
|
+
include Google::Apis::Core::Hashable
|
|
2512
|
+
|
|
2513
|
+
# The annotation_store that the annotations were imported to. The name
|
|
2514
|
+
# is in the format
|
|
2515
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
|
2516
|
+
# annotationStores/`annotation_store_id``.
|
|
2517
|
+
# Corresponds to the JSON property `annotationStore`
|
|
2518
|
+
# @return [String]
|
|
2519
|
+
attr_accessor :annotation_store
|
|
2520
|
+
|
|
2521
|
+
# The number of the input annotations. All input have been imported
|
|
2522
|
+
# successfully.
|
|
2523
|
+
# Corresponds to the JSON property `successCount`
|
|
2524
|
+
# @return [Fixnum]
|
|
2525
|
+
attr_accessor :success_count
|
|
2526
|
+
|
|
2527
|
+
def initialize(**args)
|
|
2528
|
+
update!(**args)
|
|
2529
|
+
end
|
|
2530
|
+
|
|
2531
|
+
# Update properties of this object
|
|
2532
|
+
def update!(**args)
|
|
2533
|
+
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
|
2534
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
2535
|
+
end
|
|
2536
|
+
end
|
|
2537
|
+
|
|
1846
2538
|
# Returns the errors encountered during DICOM store import.
|
|
1847
2539
|
class ImportDicomDataErrorDetails
|
|
1848
2540
|
include Google::Apis::Core::Hashable
|
|
@@ -1925,6 +2617,59 @@ module Google
|
|
|
1925
2617
|
end
|
|
1926
2618
|
end
|
|
1927
2619
|
|
|
2620
|
+
# Specifies how to use infoTypes for evaluation. For example, a user might
|
|
2621
|
+
# only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
|
|
2622
|
+
class InfoTypeConfig
|
|
2623
|
+
include Google::Apis::Core::Hashable
|
|
2624
|
+
|
|
2625
|
+
# List of infoTypes to be filtered.
|
|
2626
|
+
# Corresponds to the JSON property `evaluateList`
|
|
2627
|
+
# @return [Google::Apis::HealthcareV1beta1::FilterList]
|
|
2628
|
+
attr_accessor :evaluate_list
|
|
2629
|
+
|
|
2630
|
+
# List of infoTypes to be filtered.
|
|
2631
|
+
# Corresponds to the JSON property `ignoreList`
|
|
2632
|
+
# @return [Google::Apis::HealthcareV1beta1::FilterList]
|
|
2633
|
+
attr_accessor :ignore_list
|
|
2634
|
+
|
|
2635
|
+
# If `TRUE`, infoTypes described by `filter` are used for evaluation.
|
|
2636
|
+
# Otherwise, infoTypes are not considered for evaluation.
|
|
2637
|
+
# For example:
|
|
2638
|
+
# * Annotated text:
|
|
2639
|
+
# "Toronto is a location"
|
|
2640
|
+
# * Finding 1:
|
|
2641
|
+
# ``"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7``
|
|
2642
|
+
# * Finding 2:
|
|
2643
|
+
# ``"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7``
|
|
2644
|
+
# * Finding 3:
|
|
2645
|
+
# ````
|
|
2646
|
+
# * Ground truth:
|
|
2647
|
+
# ``"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7``
|
|
2648
|
+
# When `strict_matching` is `TRUE`:
|
|
2649
|
+
# * Finding 1: 1 false positive
|
|
2650
|
+
# * Finding 2: 1 false positive
|
|
2651
|
+
# * Finding 3: 1 false negative
|
|
2652
|
+
# When `strict_matching` is `FALSE`:
|
|
2653
|
+
# * Finding 1: 1 true positive
|
|
2654
|
+
# * Finding 2: 1 true positive
|
|
2655
|
+
# * Finding 3: 1 false negative
|
|
2656
|
+
# Corresponds to the JSON property `strictMatching`
|
|
2657
|
+
# @return [Boolean]
|
|
2658
|
+
attr_accessor :strict_matching
|
|
2659
|
+
alias_method :strict_matching?, :strict_matching
|
|
2660
|
+
|
|
2661
|
+
def initialize(**args)
|
|
2662
|
+
update!(**args)
|
|
2663
|
+
end
|
|
2664
|
+
|
|
2665
|
+
# Update properties of this object
|
|
2666
|
+
def update!(**args)
|
|
2667
|
+
@evaluate_list = args[:evaluate_list] if args.key?(:evaluate_list)
|
|
2668
|
+
@ignore_list = args[:ignore_list] if args.key?(:ignore_list)
|
|
2669
|
+
@strict_matching = args[:strict_matching] if args.key?(:strict_matching)
|
|
2670
|
+
end
|
|
2671
|
+
end
|
|
2672
|
+
|
|
1928
2673
|
# A transformation to apply to text that is identified as a specific
|
|
1929
2674
|
# info_type.
|
|
1930
2675
|
class InfoTypeTransformation
|
|
@@ -2039,6 +2784,63 @@ module Google
|
|
|
2039
2784
|
end
|
|
2040
2785
|
end
|
|
2041
2786
|
|
|
2787
|
+
# Lists the Annotation stores
|
|
2788
|
+
# in the given dataset.
|
|
2789
|
+
class ListAnnotationStoresResponse
|
|
2790
|
+
include Google::Apis::Core::Hashable
|
|
2791
|
+
|
|
2792
|
+
# The returned Annotation stores. Won't be more Annotation stores than the
|
|
2793
|
+
# value of page_size in the request.
|
|
2794
|
+
# Corresponds to the JSON property `annotationStores`
|
|
2795
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::AnnotationStore>]
|
|
2796
|
+
attr_accessor :annotation_stores
|
|
2797
|
+
|
|
2798
|
+
# Token to retrieve the next page of results or empty if there are no more
|
|
2799
|
+
# results in the list.
|
|
2800
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2801
|
+
# @return [String]
|
|
2802
|
+
attr_accessor :next_page_token
|
|
2803
|
+
|
|
2804
|
+
def initialize(**args)
|
|
2805
|
+
update!(**args)
|
|
2806
|
+
end
|
|
2807
|
+
|
|
2808
|
+
# Update properties of this object
|
|
2809
|
+
def update!(**args)
|
|
2810
|
+
@annotation_stores = args[:annotation_stores] if args.key?(:annotation_stores)
|
|
2811
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2812
|
+
end
|
|
2813
|
+
end
|
|
2814
|
+
|
|
2815
|
+
# Lists the Annotations in the specified
|
|
2816
|
+
# Annotation store.
|
|
2817
|
+
class ListAnnotationsResponse
|
|
2818
|
+
include Google::Apis::Core::Hashable
|
|
2819
|
+
|
|
2820
|
+
# The returned Annotations. Won't be more values than the value of
|
|
2821
|
+
# page_size in the request. See `AnnotationView` in the request for
|
|
2822
|
+
# populated fields.
|
|
2823
|
+
# Corresponds to the JSON property `annotations`
|
|
2824
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::Annotation>]
|
|
2825
|
+
attr_accessor :annotations
|
|
2826
|
+
|
|
2827
|
+
# Token to retrieve the next page of results or empty if there are no more
|
|
2828
|
+
# results in the list.
|
|
2829
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2830
|
+
# @return [String]
|
|
2831
|
+
attr_accessor :next_page_token
|
|
2832
|
+
|
|
2833
|
+
def initialize(**args)
|
|
2834
|
+
update!(**args)
|
|
2835
|
+
end
|
|
2836
|
+
|
|
2837
|
+
# Update properties of this object
|
|
2838
|
+
def update!(**args)
|
|
2839
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
2840
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2841
|
+
end
|
|
2842
|
+
end
|
|
2843
|
+
|
|
2042
2844
|
# Lists the available datasets.
|
|
2043
2845
|
class ListDatasetsResponse
|
|
2044
2846
|
include Google::Apis::Core::Hashable
|
|
@@ -2784,6 +3586,25 @@ module Google
|
|
|
2784
3586
|
end
|
|
2785
3587
|
end
|
|
2786
3588
|
|
|
3589
|
+
# Resource level annotation.
|
|
3590
|
+
class ResourceAnnotation
|
|
3591
|
+
include Google::Apis::Core::Hashable
|
|
3592
|
+
|
|
3593
|
+
# A description of the annotation record.
|
|
3594
|
+
# Corresponds to the JSON property `label`
|
|
3595
|
+
# @return [String]
|
|
3596
|
+
attr_accessor :label
|
|
3597
|
+
|
|
3598
|
+
def initialize(**args)
|
|
3599
|
+
update!(**args)
|
|
3600
|
+
end
|
|
3601
|
+
|
|
3602
|
+
# Update properties of this object
|
|
3603
|
+
def update!(**args)
|
|
3604
|
+
@label = args[:label] if args.key?(:label)
|
|
3605
|
+
end
|
|
3606
|
+
end
|
|
3607
|
+
|
|
2787
3608
|
# A list of FHIR resources.
|
|
2788
3609
|
class Resources
|
|
2789
3610
|
include Google::Apis::Core::Hashable
|
|
@@ -3051,6 +3872,27 @@ module Google
|
|
|
3051
3872
|
end
|
|
3052
3873
|
end
|
|
3053
3874
|
|
|
3875
|
+
# A TextAnnotation specifies a text range that includes sensitive information.
|
|
3876
|
+
class SensitiveTextAnnotation
|
|
3877
|
+
include Google::Apis::Core::Hashable
|
|
3878
|
+
|
|
3879
|
+
# Maps from a resource slice. For example, FHIR resource field path to a set
|
|
3880
|
+
# of sensitive text findings. For example,
|
|
3881
|
+
# Appointment.Narrative text1 --> `findings_1, findings_2, findings_3`
|
|
3882
|
+
# Corresponds to the JSON property `details`
|
|
3883
|
+
# @return [Hash<String,Google::Apis::HealthcareV1beta1::Detail>]
|
|
3884
|
+
attr_accessor :details
|
|
3885
|
+
|
|
3886
|
+
def initialize(**args)
|
|
3887
|
+
update!(**args)
|
|
3888
|
+
end
|
|
3889
|
+
|
|
3890
|
+
# Update properties of this object
|
|
3891
|
+
def update!(**args)
|
|
3892
|
+
@details = args[:details] if args.key?(:details)
|
|
3893
|
+
end
|
|
3894
|
+
end
|
|
3895
|
+
|
|
3054
3896
|
# Request message for `SetIamPolicy` method.
|
|
3055
3897
|
class SetIamPolicyRequest
|
|
3056
3898
|
include Google::Apis::Core::Hashable
|
|
@@ -3349,6 +4191,31 @@ module Google
|
|
|
3349
4191
|
@value = args[:value] if args.key?(:value)
|
|
3350
4192
|
end
|
|
3351
4193
|
end
|
|
4194
|
+
|
|
4195
|
+
# A 2D coordinate in an image. The origin is the top-left.
|
|
4196
|
+
class Vertex
|
|
4197
|
+
include Google::Apis::Core::Hashable
|
|
4198
|
+
|
|
4199
|
+
# X coordinate.
|
|
4200
|
+
# Corresponds to the JSON property `x`
|
|
4201
|
+
# @return [Float]
|
|
4202
|
+
attr_accessor :x
|
|
4203
|
+
|
|
4204
|
+
# Y coordinate.
|
|
4205
|
+
# Corresponds to the JSON property `y`
|
|
4206
|
+
# @return [Float]
|
|
4207
|
+
attr_accessor :y
|
|
4208
|
+
|
|
4209
|
+
def initialize(**args)
|
|
4210
|
+
update!(**args)
|
|
4211
|
+
end
|
|
4212
|
+
|
|
4213
|
+
# Update properties of this object
|
|
4214
|
+
def update!(**args)
|
|
4215
|
+
@x = args[:x] if args.key?(:x)
|
|
4216
|
+
@y = args[:y] if args.key?(:y)
|
|
4217
|
+
end
|
|
4218
|
+
end
|
|
3352
4219
|
end
|
|
3353
4220
|
end
|
|
3354
4221
|
end
|