google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200326'
|
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'
|
@@ -188,6 +188,22 @@ module Google
|
|
188
188
|
# @return [Google::Apis::StorageV1::Bucket::Website]
|
189
189
|
attr_accessor :website
|
190
190
|
|
191
|
+
# The zone or zones from which the bucket is intended to use zonal quota.
|
192
|
+
# Requests for data from outside the specified affinities are still allowed but
|
193
|
+
# won't be able to use zonal quota. The zone or zones need to be within the
|
194
|
+
# bucket location otherwise the requests will fail with a 400 Bad Request
|
195
|
+
# response.
|
196
|
+
# Corresponds to the JSON property `zoneAffinity`
|
197
|
+
# @return [Array<String>]
|
198
|
+
attr_accessor :zone_affinity
|
199
|
+
|
200
|
+
# If set, objects placed in this bucket are required to be separated by disaster
|
201
|
+
# domain.
|
202
|
+
# Corresponds to the JSON property `zoneSeparation`
|
203
|
+
# @return [Boolean]
|
204
|
+
attr_accessor :zone_separation
|
205
|
+
alias_method :zone_separation?, :zone_separation
|
206
|
+
|
191
207
|
def initialize(**args)
|
192
208
|
update!(**args)
|
193
209
|
end
|
@@ -220,6 +236,8 @@ module Google
|
|
220
236
|
@updated = args[:updated] if args.key?(:updated)
|
221
237
|
@versioning = args[:versioning] if args.key?(:versioning)
|
222
238
|
@website = args[:website] if args.key?(:website)
|
239
|
+
@zone_affinity = args[:zone_affinity] if args.key?(:zone_affinity)
|
240
|
+
@zone_separation = args[:zone_separation] if args.key?(:zone_separation)
|
223
241
|
end
|
224
242
|
|
225
243
|
# The bucket's billing configuration.
|
@@ -317,6 +317,8 @@ module Google
|
|
317
317
|
|
318
318
|
property :website, as: 'website', class: Google::Apis::StorageV1::Bucket::Website, decorator: Google::Apis::StorageV1::Bucket::Website::Representation
|
319
319
|
|
320
|
+
collection :zone_affinity, as: 'zoneAffinity'
|
321
|
+
property :zone_separation, as: 'zoneSeparation'
|
320
322
|
end
|
321
323
|
|
322
324
|
class Billing
|
@@ -1678,6 +1678,10 @@ module Google
|
|
1678
1678
|
# Name of the new object. Required when the object metadata is not otherwise
|
1679
1679
|
# provided. Overrides the object metadata's name value, if any.
|
1680
1680
|
# @param [Google::Apis::StorageV1::Object] object_object
|
1681
|
+
# @param [String] destination_kms_key_name
|
1682
|
+
# Resource name of the Cloud KMS key, of the form projects/my-project/locations/
|
1683
|
+
# global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
|
1684
|
+
# object. Overrides the object metadata's kms_key_name value, if any.
|
1681
1685
|
# @param [String] destination_predefined_acl
|
1682
1686
|
# Apply a predefined set of access controls to the destination object.
|
1683
1687
|
# @param [Fixnum] if_generation_match
|
@@ -1737,7 +1741,7 @@ module Google
|
|
1737
1741
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1738
1742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1739
1743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1740
|
-
def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1744
|
+
def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1741
1745
|
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
|
1742
1746
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
1743
1747
|
command.request_object = object_object
|
@@ -1747,6 +1751,7 @@ module Google
|
|
1747
1751
|
command.params['sourceObject'] = source_object unless source_object.nil?
|
1748
1752
|
command.params['destinationBucket'] = destination_bucket unless destination_bucket.nil?
|
1749
1753
|
command.params['destinationObject'] = destination_object unless destination_object.nil?
|
1754
|
+
command.query['destinationKmsKeyName'] = destination_kms_key_name unless destination_kms_key_name.nil?
|
1750
1755
|
command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil?
|
1751
1756
|
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
|
1752
1757
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
@@ -2063,6 +2068,10 @@ module Google
|
|
2063
2068
|
# names, aside from the prefix, contain delimiter will have their name,
|
2064
2069
|
# truncated after the delimiter, returned in prefixes. Duplicate prefixes are
|
2065
2070
|
# omitted.
|
2071
|
+
# @param [String] end_offset
|
2072
|
+
# Filter results to objects whose names are lexicographically before endOffset.
|
2073
|
+
# If startOffset is also set, the objects listed will have names between
|
2074
|
+
# startOffset (inclusive) and endOffset (exclusive).
|
2066
2075
|
# @param [Boolean] include_trailing_delimiter
|
2067
2076
|
# If true, objects that end in exactly one instance of delimiter will have their
|
2068
2077
|
# metadata included in items in addition to prefixes.
|
@@ -2081,6 +2090,10 @@ module Google
|
|
2081
2090
|
# @param [String] provisional_user_project
|
2082
2091
|
# The project to be billed for this request if the target bucket is requester-
|
2083
2092
|
# pays bucket.
|
2093
|
+
# @param [String] start_offset
|
2094
|
+
# Filter results to objects whose names are lexicographically equal to or after
|
2095
|
+
# startOffset. If endOffset is also set, the objects listed will have names
|
2096
|
+
# between startOffset (inclusive) and endOffset (exclusive).
|
2084
2097
|
# @param [String] user_project
|
2085
2098
|
# The project to be billed for this request. Required for Requester Pays buckets.
|
2086
2099
|
# @param [Boolean] versions
|
@@ -2105,18 +2118,20 @@ module Google
|
|
2105
2118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2106
2119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2107
2120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2108
|
-
def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2121
|
+
def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2109
2122
|
command = make_simple_command(:get, 'b/{bucket}/o', options)
|
2110
2123
|
command.response_representation = Google::Apis::StorageV1::Objects::Representation
|
2111
2124
|
command.response_class = Google::Apis::StorageV1::Objects
|
2112
2125
|
command.params['bucket'] = bucket unless bucket.nil?
|
2113
2126
|
command.query['delimiter'] = delimiter unless delimiter.nil?
|
2127
|
+
command.query['endOffset'] = end_offset unless end_offset.nil?
|
2114
2128
|
command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
|
2115
2129
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2116
2130
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2117
2131
|
command.query['prefix'] = prefix unless prefix.nil?
|
2118
2132
|
command.query['projection'] = projection unless projection.nil?
|
2119
2133
|
command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
|
2134
|
+
command.query['startOffset'] = start_offset unless start_offset.nil?
|
2120
2135
|
command.query['userProject'] = user_project unless user_project.nil?
|
2121
2136
|
command.query['versions'] = versions unless versions.nil?
|
2122
2137
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2514,6 +2529,10 @@ module Google
|
|
2514
2529
|
# names, aside from the prefix, contain delimiter will have their name,
|
2515
2530
|
# truncated after the delimiter, returned in prefixes. Duplicate prefixes are
|
2516
2531
|
# omitted.
|
2532
|
+
# @param [String] end_offset
|
2533
|
+
# Filter results to objects whose names are lexicographically before endOffset.
|
2534
|
+
# If startOffset is also set, the objects listed will have names between
|
2535
|
+
# startOffset (inclusive) and endOffset (exclusive).
|
2517
2536
|
# @param [Boolean] include_trailing_delimiter
|
2518
2537
|
# If true, objects that end in exactly one instance of delimiter will have their
|
2519
2538
|
# metadata included in items in addition to prefixes.
|
@@ -2532,6 +2551,10 @@ module Google
|
|
2532
2551
|
# @param [String] provisional_user_project
|
2533
2552
|
# The project to be billed for this request if the target bucket is requester-
|
2534
2553
|
# pays bucket.
|
2554
|
+
# @param [String] start_offset
|
2555
|
+
# Filter results to objects whose names are lexicographically equal to or after
|
2556
|
+
# startOffset. If endOffset is also set, the objects listed will have names
|
2557
|
+
# between startOffset (inclusive) and endOffset (exclusive).
|
2535
2558
|
# @param [String] user_project
|
2536
2559
|
# The project to be billed for this request. Required for Requester Pays buckets.
|
2537
2560
|
# @param [Boolean] versions
|
@@ -2556,7 +2579,7 @@ module Google
|
|
2556
2579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2557
2580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2558
2581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2559
|
-
def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2582
|
+
def watch_all_objects(bucket, channel_object = nil, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2560
2583
|
command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
|
2561
2584
|
command.request_representation = Google::Apis::StorageV1::Channel::Representation
|
2562
2585
|
command.request_object = channel_object
|
@@ -2564,12 +2587,14 @@ module Google
|
|
2564
2587
|
command.response_class = Google::Apis::StorageV1::Channel
|
2565
2588
|
command.params['bucket'] = bucket unless bucket.nil?
|
2566
2589
|
command.query['delimiter'] = delimiter unless delimiter.nil?
|
2590
|
+
command.query['endOffset'] = end_offset unless end_offset.nil?
|
2567
2591
|
command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
|
2568
2592
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2569
2593
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2570
2594
|
command.query['prefix'] = prefix unless prefix.nil?
|
2571
2595
|
command.query['projection'] = projection unless projection.nil?
|
2572
2596
|
command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
|
2597
|
+
command.query['startOffset'] = start_offset unless start_offset.nil?
|
2573
2598
|
command.query['userProject'] = user_project unless user_project.nil?
|
2574
2599
|
command.query['versions'] = versions unless versions.nil?
|
2575
2600
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/storage-transfer/docs
|
27
27
|
module StoragetransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200316'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -83,6 +83,68 @@ module Google
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
+
# An AzureBlobStorageData resource can be a data source, but not a data sink.
|
87
|
+
# An AzureBlobStorageData resource represents one Azure container. The storage
|
88
|
+
# account determines the [Azure
|
89
|
+
# endpoint](https://docs.microsoft.com/en-us/azure/storage/common/storage-create-
|
90
|
+
# storage-account#storage-account-endpoints).
|
91
|
+
# In an AzureBlobStorageData resource, a blobs's name is the [Azure Blob
|
92
|
+
# Storage blob's key
|
93
|
+
# name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-
|
94
|
+
# referencing-containers--blobs--and-metadata#blob-names).
|
95
|
+
class AzureBlobStorageData
|
96
|
+
include Google::Apis::Core::Hashable
|
97
|
+
|
98
|
+
# Azure credentials
|
99
|
+
# Corresponds to the JSON property `azureCredentials`
|
100
|
+
# @return [Google::Apis::StoragetransferV1::AzureCredentials]
|
101
|
+
attr_accessor :azure_credentials
|
102
|
+
|
103
|
+
# Required. The container to transfer from the Azure Storage account.
|
104
|
+
# Corresponds to the JSON property `container`
|
105
|
+
# @return [String]
|
106
|
+
attr_accessor :container
|
107
|
+
|
108
|
+
# Required. The name of the Azure Storage account.
|
109
|
+
# Corresponds to the JSON property `storageAccount`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :storage_account
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials)
|
120
|
+
@container = args[:container] if args.key?(:container)
|
121
|
+
@storage_account = args[:storage_account] if args.key?(:storage_account)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Azure credentials
|
126
|
+
class AzureCredentials
|
127
|
+
include Google::Apis::Core::Hashable
|
128
|
+
|
129
|
+
# Required. Azure shared access signature. (see
|
130
|
+
# [Grant limited access to Azure Storage resources using shared access
|
131
|
+
# signatures
|
132
|
+
# (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-
|
133
|
+
# overview)).
|
134
|
+
# Corresponds to the JSON property `sasToken`
|
135
|
+
# @return [String]
|
136
|
+
attr_accessor :sas_token
|
137
|
+
|
138
|
+
def initialize(**args)
|
139
|
+
update!(**args)
|
140
|
+
end
|
141
|
+
|
142
|
+
# Update properties of this object
|
143
|
+
def update!(**args)
|
144
|
+
@sas_token = args[:sas_token] if args.key?(:sas_token)
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
86
148
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
87
149
|
# and time zone are either specified elsewhere or are not significant. The date
|
88
150
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
@@ -348,6 +410,54 @@ module Google
|
|
348
410
|
end
|
349
411
|
end
|
350
412
|
|
413
|
+
# Specification to configure notifications published to Cloud Pub/Sub.
|
414
|
+
# Notifications will be published to the customer-provided topic using the
|
415
|
+
# following `PubsubMessage.attributes`:
|
416
|
+
# * `"eventType"`: one of the EventType values
|
417
|
+
# * `"payloadFormat"`: one of the PayloadFormat values
|
418
|
+
# * `"projectId"`: the project_id of the
|
419
|
+
# `TransferOperation`
|
420
|
+
# * `"transferJobName"`: the
|
421
|
+
# transfer_job_name of the
|
422
|
+
# `TransferOperation`
|
423
|
+
# * `"transferOperationName"`: the name of the
|
424
|
+
# `TransferOperation`
|
425
|
+
# The `PubsubMessage.data` will contain a TransferOperation resource
|
426
|
+
# formatted according to the specified `PayloadFormat`.
|
427
|
+
class NotificationConfig
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# Event types for which a notification is desired. If empty, send
|
431
|
+
# notifications for all event types.
|
432
|
+
# Corresponds to the JSON property `eventTypes`
|
433
|
+
# @return [Array<String>]
|
434
|
+
attr_accessor :event_types
|
435
|
+
|
436
|
+
# Required. The desired format of the notification message payloads.
|
437
|
+
# Corresponds to the JSON property `payloadFormat`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :payload_format
|
440
|
+
|
441
|
+
# Required. The `Topic.name` of the Cloud Pub/Sub topic to which to publish
|
442
|
+
# notifications. Must be of the format: `projects/`project`/topics/`topic``.
|
443
|
+
# Not matching this format will result in an
|
444
|
+
# INVALID_ARGUMENT error.
|
445
|
+
# Corresponds to the JSON property `pubsubTopic`
|
446
|
+
# @return [String]
|
447
|
+
attr_accessor :pubsub_topic
|
448
|
+
|
449
|
+
def initialize(**args)
|
450
|
+
update!(**args)
|
451
|
+
end
|
452
|
+
|
453
|
+
# Update properties of this object
|
454
|
+
def update!(**args)
|
455
|
+
@event_types = args[:event_types] if args.key?(:event_types)
|
456
|
+
@payload_format = args[:payload_format] if args.key?(:payload_format)
|
457
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
351
461
|
# Conditions that determine which objects will be transferred. Applies only
|
352
462
|
# to S3 and Cloud Storage objects.
|
353
463
|
# The "last modification time" refers to the time of the
|
@@ -394,6 +504,26 @@ module Google
|
|
394
504
|
# @return [Array<String>]
|
395
505
|
attr_accessor :include_prefixes
|
396
506
|
|
507
|
+
# If specified, only objects with a "last modification time" before this
|
508
|
+
# timestamp and objects that don't have a "last modification time" will be
|
509
|
+
# transferred.
|
510
|
+
# Corresponds to the JSON property `lastModifiedBefore`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :last_modified_before
|
513
|
+
|
514
|
+
# If specified, only objects with a "last modification time" on or after
|
515
|
+
# this timestamp and objects that don't have a "last modification time" are
|
516
|
+
# transferred.
|
517
|
+
# The `last_modified_since` and `last_modified_before` fields can be used
|
518
|
+
# together for chunked data processing. For example, consider a script that
|
519
|
+
# processes each day's worth of data at a time. For that you'd set each
|
520
|
+
# of the fields as follows:
|
521
|
+
# * `last_modified_since` to the start of the day
|
522
|
+
# * `last_modified_before` to the end of the day
|
523
|
+
# Corresponds to the JSON property `lastModifiedSince`
|
524
|
+
# @return [String]
|
525
|
+
attr_accessor :last_modified_since
|
526
|
+
|
397
527
|
# If specified, only objects with a "last modification time" on or after
|
398
528
|
# `NOW` - `max_time_elapsed_since_last_modification` and objects that don't
|
399
529
|
# have a "last modification time" are transferred.
|
@@ -422,6 +552,8 @@ module Google
|
|
422
552
|
def update!(**args)
|
423
553
|
@exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes)
|
424
554
|
@include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
|
555
|
+
@last_modified_before = args[:last_modified_before] if args.key?(:last_modified_before)
|
556
|
+
@last_modified_since = args[:last_modified_since] if args.key?(:last_modified_since)
|
425
557
|
@max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
|
426
558
|
@min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification)
|
427
559
|
end
|
@@ -785,22 +917,38 @@ module Google
|
|
785
917
|
attr_accessor :last_modification_time
|
786
918
|
|
787
919
|
# A unique name (within the transfer project) assigned when the job is
|
788
|
-
# created.
|
789
|
-
#
|
790
|
-
#
|
791
|
-
# the
|
920
|
+
# created. If this field is empty in a CreateTransferJobRequest, Storage
|
921
|
+
# Transfer Service will assign a unique name. Otherwise, the specified name
|
922
|
+
# is used as the unique name for this job.
|
923
|
+
# If the specified name is in use by a job, the creation request fails with
|
924
|
+
# an ALREADY_EXISTS error.
|
792
925
|
# This name must start with `"transferJobs/"` prefix and end with a letter or
|
793
926
|
# a number, and should be no more than 128 characters.
|
794
|
-
# Example
|
795
|
-
#
|
796
|
-
#
|
797
|
-
# the transfer job will not be created. Invalid job names will return an
|
798
|
-
# INVALID_ARGUMENT error and the job will
|
799
|
-
# not be created.
|
927
|
+
# Example: `"transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
|
928
|
+
# Invalid job names will fail with an
|
929
|
+
# INVALID_ARGUMENT error.
|
800
930
|
# Corresponds to the JSON property `name`
|
801
931
|
# @return [String]
|
802
932
|
attr_accessor :name
|
803
933
|
|
934
|
+
# Specification to configure notifications published to Cloud Pub/Sub.
|
935
|
+
# Notifications will be published to the customer-provided topic using the
|
936
|
+
# following `PubsubMessage.attributes`:
|
937
|
+
# * `"eventType"`: one of the EventType values
|
938
|
+
# * `"payloadFormat"`: one of the PayloadFormat values
|
939
|
+
# * `"projectId"`: the project_id of the
|
940
|
+
# `TransferOperation`
|
941
|
+
# * `"transferJobName"`: the
|
942
|
+
# transfer_job_name of the
|
943
|
+
# `TransferOperation`
|
944
|
+
# * `"transferOperationName"`: the name of the
|
945
|
+
# `TransferOperation`
|
946
|
+
# The `PubsubMessage.data` will contain a TransferOperation resource
|
947
|
+
# formatted according to the specified `PayloadFormat`.
|
948
|
+
# Corresponds to the JSON property `notificationConfig`
|
949
|
+
# @return [Google::Apis::StoragetransferV1::NotificationConfig]
|
950
|
+
attr_accessor :notification_config
|
951
|
+
|
804
952
|
# The ID of the Google Cloud Platform Project that owns the job.
|
805
953
|
# Corresponds to the JSON property `projectId`
|
806
954
|
# @return [String]
|
@@ -838,6 +986,7 @@ module Google
|
|
838
986
|
@description = args[:description] if args.key?(:description)
|
839
987
|
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
|
840
988
|
@name = args[:name] if args.key?(:name)
|
989
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
841
990
|
@project_id = args[:project_id] if args.key?(:project_id)
|
842
991
|
@schedule = args[:schedule] if args.key?(:schedule)
|
843
992
|
@status = args[:status] if args.key?(:status)
|
@@ -869,6 +1018,24 @@ module Google
|
|
869
1018
|
# @return [String]
|
870
1019
|
attr_accessor :name
|
871
1020
|
|
1021
|
+
# Specification to configure notifications published to Cloud Pub/Sub.
|
1022
|
+
# Notifications will be published to the customer-provided topic using the
|
1023
|
+
# following `PubsubMessage.attributes`:
|
1024
|
+
# * `"eventType"`: one of the EventType values
|
1025
|
+
# * `"payloadFormat"`: one of the PayloadFormat values
|
1026
|
+
# * `"projectId"`: the project_id of the
|
1027
|
+
# `TransferOperation`
|
1028
|
+
# * `"transferJobName"`: the
|
1029
|
+
# transfer_job_name of the
|
1030
|
+
# `TransferOperation`
|
1031
|
+
# * `"transferOperationName"`: the name of the
|
1032
|
+
# `TransferOperation`
|
1033
|
+
# The `PubsubMessage.data` will contain a TransferOperation resource
|
1034
|
+
# formatted according to the specified `PayloadFormat`.
|
1035
|
+
# Corresponds to the JSON property `notificationConfig`
|
1036
|
+
# @return [Google::Apis::StoragetransferV1::NotificationConfig]
|
1037
|
+
attr_accessor :notification_config
|
1038
|
+
|
872
1039
|
# The ID of the Google Cloud Platform Project that owns the operation.
|
873
1040
|
# Corresponds to the JSON property `projectId`
|
874
1041
|
# @return [String]
|
@@ -904,6 +1071,7 @@ module Google
|
|
904
1071
|
@end_time = args[:end_time] if args.key?(:end_time)
|
905
1072
|
@error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
|
906
1073
|
@name = args[:name] if args.key?(:name)
|
1074
|
+
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
907
1075
|
@project_id = args[:project_id] if args.key?(:project_id)
|
908
1076
|
@start_time = args[:start_time] if args.key?(:start_time)
|
909
1077
|
@status = args[:status] if args.key?(:status)
|
@@ -962,6 +1130,19 @@ module Google
|
|
962
1130
|
# @return [Google::Apis::StoragetransferV1::AwsS3Data]
|
963
1131
|
attr_accessor :aws_s3_data_source
|
964
1132
|
|
1133
|
+
# An AzureBlobStorageData resource can be a data source, but not a data sink.
|
1134
|
+
# An AzureBlobStorageData resource represents one Azure container. The storage
|
1135
|
+
# account determines the [Azure
|
1136
|
+
# endpoint](https://docs.microsoft.com/en-us/azure/storage/common/storage-create-
|
1137
|
+
# storage-account#storage-account-endpoints).
|
1138
|
+
# In an AzureBlobStorageData resource, a blobs's name is the [Azure Blob
|
1139
|
+
# Storage blob's key
|
1140
|
+
# name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-
|
1141
|
+
# referencing-containers--blobs--and-metadata#blob-names).
|
1142
|
+
# Corresponds to the JSON property `azureBlobStorageDataSource`
|
1143
|
+
# @return [Google::Apis::StoragetransferV1::AzureBlobStorageData]
|
1144
|
+
attr_accessor :azure_blob_storage_data_source
|
1145
|
+
|
965
1146
|
# In a GcsData resource, an object's name is the Cloud Storage object's
|
966
1147
|
# name and its "last modification time" refers to the object's `updated`
|
967
1148
|
# property of Cloud Storage objects, which changes when the content or the
|
@@ -1036,6 +1217,7 @@ module Google
|
|
1036
1217
|
# Update properties of this object
|
1037
1218
|
def update!(**args)
|
1038
1219
|
@aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source)
|
1220
|
+
@azure_blob_storage_data_source = args[:azure_blob_storage_data_source] if args.key?(:azure_blob_storage_data_source)
|
1039
1221
|
@gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
|
1040
1222
|
@gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
|
1041
1223
|
@http_data_source = args[:http_data_source] if args.key?(:http_data_source)
|
@@ -1063,7 +1245,8 @@ module Google
|
|
1063
1245
|
# The field mask of the fields in `transferJob` that are to be updated in
|
1064
1246
|
# this request. Fields in `transferJob` that can be updated are:
|
1065
1247
|
# description,
|
1066
|
-
# transfer_spec,
|
1248
|
+
# transfer_spec,
|
1249
|
+
# notification_config, and
|
1067
1250
|
# status. To update the `transfer_spec` of the job, a
|
1068
1251
|
# complete transfer specification must be provided. An incomplete
|
1069
1252
|
# specification missing any required fields will be rejected with the error
|