google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -22,6 +22,91 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module StoragetransferV1
|
24
24
|
|
25
|
+
# The response message for Operations.ListOperations.
|
26
|
+
class ListOperationsResponse
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The standard List next-page token.
|
30
|
+
# Corresponds to the JSON property `nextPageToken`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :next_page_token
|
33
|
+
|
34
|
+
# A list of operations that matches the specified filter in the request.
|
35
|
+
# Corresponds to the JSON property `operations`
|
36
|
+
# @return [Array<Google::Apis::StoragetransferV1::Operation>]
|
37
|
+
attr_accessor :operations
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
46
|
+
@operations = args[:operations] if args.key?(:operations)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# Google service account
|
51
|
+
class GoogleServiceAccount
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
# Required.
|
55
|
+
# Corresponds to the JSON property `accountEmail`
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :account_email
|
58
|
+
|
59
|
+
def initialize(**args)
|
60
|
+
update!(**args)
|
61
|
+
end
|
62
|
+
|
63
|
+
# Update properties of this object
|
64
|
+
def update!(**args)
|
65
|
+
@account_email = args[:account_email] if args.key?(:account_email)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# Represents a time of day. The date and time zone are either not significant
|
70
|
+
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
71
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
72
|
+
class TimeOfDay
|
73
|
+
include Google::Apis::Core::Hashable
|
74
|
+
|
75
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
76
|
+
# Corresponds to the JSON property `minutes`
|
77
|
+
# @return [Fixnum]
|
78
|
+
attr_accessor :minutes
|
79
|
+
|
80
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
81
|
+
# to allow the value "24:00:00" for scenarios like business closing time.
|
82
|
+
# Corresponds to the JSON property `hours`
|
83
|
+
# @return [Fixnum]
|
84
|
+
attr_accessor :hours
|
85
|
+
|
86
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
87
|
+
# Corresponds to the JSON property `nanos`
|
88
|
+
# @return [Fixnum]
|
89
|
+
attr_accessor :nanos
|
90
|
+
|
91
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
92
|
+
# allow the value 60 if it allows leap-seconds.
|
93
|
+
# Corresponds to the JSON property `seconds`
|
94
|
+
# @return [Fixnum]
|
95
|
+
attr_accessor :seconds
|
96
|
+
|
97
|
+
def initialize(**args)
|
98
|
+
update!(**args)
|
99
|
+
end
|
100
|
+
|
101
|
+
# Update properties of this object
|
102
|
+
def update!(**args)
|
103
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
104
|
+
@hours = args[:hours] if args.key?(:hours)
|
105
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
106
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
25
110
|
# An entry describing an error that has occurred.
|
26
111
|
class ErrorLogEntry
|
27
112
|
include Google::Apis::Core::Hashable
|
@@ -54,6 +139,16 @@ module Google
|
|
54
139
|
class TransferJob
|
55
140
|
include Google::Apis::Core::Hashable
|
56
141
|
|
142
|
+
# This field cannot be changed by user requests.
|
143
|
+
# Corresponds to the JSON property `creationTime`
|
144
|
+
# @return [String]
|
145
|
+
attr_accessor :creation_time
|
146
|
+
|
147
|
+
# Configuration for running a transfer.
|
148
|
+
# Corresponds to the JSON property `transferSpec`
|
149
|
+
# @return [Google::Apis::StoragetransferV1::TransferSpec]
|
150
|
+
attr_accessor :transfer_spec
|
151
|
+
|
57
152
|
# Status of the job. This value MUST be specified for
|
58
153
|
# `CreateTransferJobRequests`.
|
59
154
|
# NOTE: The effect of the new job status takes place during a subsequent job
|
@@ -99,22 +194,14 @@ module Google
|
|
99
194
|
# @return [String]
|
100
195
|
attr_accessor :description
|
101
196
|
|
102
|
-
# This field cannot be changed by user requests.
|
103
|
-
# Corresponds to the JSON property `creationTime`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :creation_time
|
106
|
-
|
107
|
-
# Configuration for running a transfer.
|
108
|
-
# Corresponds to the JSON property `transferSpec`
|
109
|
-
# @return [Google::Apis::StoragetransferV1::TransferSpec]
|
110
|
-
attr_accessor :transfer_spec
|
111
|
-
|
112
197
|
def initialize(**args)
|
113
198
|
update!(**args)
|
114
199
|
end
|
115
200
|
|
116
201
|
# Update properties of this object
|
117
202
|
def update!(**args)
|
203
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
204
|
+
@transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
|
118
205
|
@status = args[:status] if args.key?(:status)
|
119
206
|
@schedule = args[:schedule] if args.key?(:schedule)
|
120
207
|
@name = args[:name] if args.key?(:name)
|
@@ -122,8 +209,6 @@ module Google
|
|
122
209
|
@project_id = args[:project_id] if args.key?(:project_id)
|
123
210
|
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
|
124
211
|
@description = args[:description] if args.key?(:description)
|
125
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
126
|
-
@transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
|
127
212
|
end
|
128
213
|
end
|
129
214
|
|
@@ -215,6 +300,11 @@ module Google
|
|
215
300
|
class TransferOperation
|
216
301
|
include Google::Apis::Core::Hashable
|
217
302
|
|
303
|
+
# Start time of this transfer execution.
|
304
|
+
# Corresponds to the JSON property `startTime`
|
305
|
+
# @return [String]
|
306
|
+
attr_accessor :start_time
|
307
|
+
|
218
308
|
# The name of the transfer job that triggers this transfer operation.
|
219
309
|
# Corresponds to the JSON property `transferJobName`
|
220
310
|
# @return [String]
|
@@ -225,16 +315,16 @@ module Google
|
|
225
315
|
# @return [Google::Apis::StoragetransferV1::TransferSpec]
|
226
316
|
attr_accessor :transfer_spec
|
227
317
|
|
228
|
-
# Status of the transfer operation.
|
229
|
-
# Corresponds to the JSON property `status`
|
230
|
-
# @return [String]
|
231
|
-
attr_accessor :status
|
232
|
-
|
233
318
|
# A collection of counters that report the progress of a transfer operation.
|
234
319
|
# Corresponds to the JSON property `counters`
|
235
320
|
# @return [Google::Apis::StoragetransferV1::TransferCounters]
|
236
321
|
attr_accessor :counters
|
237
322
|
|
323
|
+
# Status of the transfer operation.
|
324
|
+
# Corresponds to the JSON property `status`
|
325
|
+
# @return [String]
|
326
|
+
attr_accessor :status
|
327
|
+
|
238
328
|
# Summarizes errors encountered with sample error log entries.
|
239
329
|
# Corresponds to the JSON property `errorBreakdowns`
|
240
330
|
# @return [Array<Google::Apis::StoragetransferV1::ErrorSummary>]
|
@@ -256,26 +346,21 @@ module Google
|
|
256
346
|
# @return [String]
|
257
347
|
attr_accessor :end_time
|
258
348
|
|
259
|
-
# Start time of this transfer execution.
|
260
|
-
# Corresponds to the JSON property `startTime`
|
261
|
-
# @return [String]
|
262
|
-
attr_accessor :start_time
|
263
|
-
|
264
349
|
def initialize(**args)
|
265
350
|
update!(**args)
|
266
351
|
end
|
267
352
|
|
268
353
|
# Update properties of this object
|
269
354
|
def update!(**args)
|
355
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
270
356
|
@transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name)
|
271
357
|
@transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
|
272
|
-
@status = args[:status] if args.key?(:status)
|
273
358
|
@counters = args[:counters] if args.key?(:counters)
|
359
|
+
@status = args[:status] if args.key?(:status)
|
274
360
|
@error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
|
275
361
|
@name = args[:name] if args.key?(:name)
|
276
362
|
@project_id = args[:project_id] if args.key?(:project_id)
|
277
363
|
@end_time = args[:end_time] if args.key?(:end_time)
|
278
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
279
364
|
end
|
280
365
|
end
|
281
366
|
|
@@ -284,13 +369,6 @@ module Google
|
|
284
369
|
class AwsS3Data
|
285
370
|
include Google::Apis::Core::Hashable
|
286
371
|
|
287
|
-
# AWS access key (see
|
288
|
-
# [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
|
289
|
-
# security-credentials.html)).
|
290
|
-
# Corresponds to the JSON property `awsAccessKey`
|
291
|
-
# @return [Google::Apis::StoragetransferV1::AwsAccessKey]
|
292
|
-
attr_accessor :aws_access_key
|
293
|
-
|
294
372
|
# S3 Bucket name (see
|
295
373
|
# [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-
|
296
374
|
# bucket-get-location-example.html)).
|
@@ -299,14 +377,40 @@ module Google
|
|
299
377
|
# @return [String]
|
300
378
|
attr_accessor :bucket_name
|
301
379
|
|
380
|
+
# AWS access key (see
|
381
|
+
# [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
|
382
|
+
# security-credentials.html)).
|
383
|
+
# Corresponds to the JSON property `awsAccessKey`
|
384
|
+
# @return [Google::Apis::StoragetransferV1::AwsAccessKey]
|
385
|
+
attr_accessor :aws_access_key
|
386
|
+
|
302
387
|
def initialize(**args)
|
303
388
|
update!(**args)
|
304
389
|
end
|
305
390
|
|
306
391
|
# Update properties of this object
|
307
392
|
def update!(**args)
|
308
|
-
@aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
|
309
393
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
394
|
+
@aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
399
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
400
|
+
# or the response type of an API method. For instance:
|
401
|
+
# service Foo `
|
402
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
403
|
+
# `
|
404
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
405
|
+
class Empty
|
406
|
+
include Google::Apis::Core::Hashable
|
407
|
+
|
408
|
+
def initialize(**args)
|
409
|
+
update!(**args)
|
410
|
+
end
|
411
|
+
|
412
|
+
# Update properties of this object
|
413
|
+
def update!(**args)
|
310
414
|
end
|
311
415
|
end
|
312
416
|
|
@@ -339,25 +443,6 @@ module Google
|
|
339
443
|
end
|
340
444
|
end
|
341
445
|
|
342
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
343
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
344
|
-
# or the response type of an API method. For instance:
|
345
|
-
# service Foo `
|
346
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
347
|
-
# `
|
348
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
349
|
-
class Empty
|
350
|
-
include Google::Apis::Core::Hashable
|
351
|
-
|
352
|
-
def initialize(**args)
|
353
|
-
update!(**args)
|
354
|
-
end
|
355
|
-
|
356
|
-
# Update properties of this object
|
357
|
-
def update!(**args)
|
358
|
-
end
|
359
|
-
end
|
360
|
-
|
361
446
|
# Request passed to PauseTransferOperation.
|
362
447
|
class PauseTransferOperationRequest
|
363
448
|
include Google::Apis::Core::Hashable
|
@@ -375,103 +460,105 @@ module Google
|
|
375
460
|
class TransferCounters
|
376
461
|
include Google::Apis::Core::Hashable
|
377
462
|
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
|
463
|
+
# Objects in the data source that are not transferred because they already
|
464
|
+
# exist in the data sink.
|
465
|
+
# Corresponds to the JSON property `objectsFromSourceSkippedBySync`
|
466
|
+
# @return [Fixnum]
|
467
|
+
attr_accessor :objects_from_source_skipped_by_sync
|
468
|
+
|
469
|
+
# Bytes found in the data source that are scheduled to be transferred,
|
470
|
+
# which will be copied, excluded based on conditions, or skipped due to
|
471
|
+
# failures.
|
472
|
+
# Corresponds to the JSON property `bytesFoundFromSource`
|
473
|
+
# @return [Fixnum]
|
474
|
+
attr_accessor :bytes_found_from_source
|
382
475
|
|
383
476
|
# Objects found in the data source that are scheduled to be transferred,
|
384
477
|
# which will be copied, excluded based on conditions, or skipped due to
|
385
478
|
# failures.
|
386
479
|
# Corresponds to the JSON property `objectsFoundFromSource`
|
387
|
-
# @return [
|
480
|
+
# @return [Fixnum]
|
388
481
|
attr_accessor :objects_found_from_source
|
389
482
|
|
483
|
+
# Bytes that are deleted from the data source.
|
484
|
+
# Corresponds to the JSON property `bytesDeletedFromSource`
|
485
|
+
# @return [Fixnum]
|
486
|
+
attr_accessor :bytes_deleted_from_source
|
487
|
+
|
390
488
|
# Objects that failed to be deleted from the data sink.
|
391
489
|
# Corresponds to the JSON property `objectsFailedToDeleteFromSink`
|
392
|
-
# @return [
|
490
|
+
# @return [Fixnum]
|
393
491
|
attr_accessor :objects_failed_to_delete_from_sink
|
394
492
|
|
395
|
-
# Objects that are deleted from the data sink.
|
396
|
-
# Corresponds to the JSON property `objectsDeletedFromSink`
|
397
|
-
# @return [String]
|
398
|
-
attr_accessor :objects_deleted_from_sink
|
399
|
-
|
400
493
|
# Objects found only in the data sink that are scheduled to be deleted.
|
401
494
|
# Corresponds to the JSON property `objectsFoundOnlyFromSink`
|
402
|
-
# @return [
|
495
|
+
# @return [Fixnum]
|
403
496
|
attr_accessor :objects_found_only_from_sink
|
404
497
|
|
498
|
+
# Objects that are deleted from the data sink.
|
499
|
+
# Corresponds to the JSON property `objectsDeletedFromSink`
|
500
|
+
# @return [Fixnum]
|
501
|
+
attr_accessor :objects_deleted_from_sink
|
502
|
+
|
405
503
|
# Bytes in the data source that are not transferred because they already
|
406
504
|
# exist in the data sink.
|
407
505
|
# Corresponds to the JSON property `bytesFromSourceSkippedBySync`
|
408
|
-
# @return [
|
506
|
+
# @return [Fixnum]
|
409
507
|
attr_accessor :bytes_from_source_skipped_by_sync
|
410
508
|
|
411
509
|
# Bytes that are deleted from the data sink.
|
412
510
|
# Corresponds to the JSON property `bytesDeletedFromSink`
|
413
|
-
# @return [
|
511
|
+
# @return [Fixnum]
|
414
512
|
attr_accessor :bytes_deleted_from_sink
|
415
513
|
|
416
514
|
# Bytes that failed to be deleted from the data sink.
|
417
515
|
# Corresponds to the JSON property `bytesFailedToDeleteFromSink`
|
418
|
-
# @return [
|
516
|
+
# @return [Fixnum]
|
419
517
|
attr_accessor :bytes_failed_to_delete_from_sink
|
420
518
|
|
421
519
|
# Bytes in the data source that failed during the transfer.
|
422
520
|
# Corresponds to the JSON property `bytesFromSourceFailed`
|
423
|
-
# @return [
|
521
|
+
# @return [Fixnum]
|
424
522
|
attr_accessor :bytes_from_source_failed
|
425
523
|
|
426
524
|
# Objects in the data source that failed during the transfer.
|
427
525
|
# Corresponds to the JSON property `objectsFromSourceFailed`
|
428
|
-
# @return [
|
526
|
+
# @return [Fixnum]
|
429
527
|
attr_accessor :objects_from_source_failed
|
430
528
|
|
431
529
|
# Objects that are copied to the data sink.
|
432
530
|
# Corresponds to the JSON property `objectsCopiedToSink`
|
433
|
-
# @return [
|
531
|
+
# @return [Fixnum]
|
434
532
|
attr_accessor :objects_copied_to_sink
|
435
533
|
|
436
534
|
# Bytes found only in the data sink that are scheduled to be deleted.
|
437
535
|
# Corresponds to the JSON property `bytesFoundOnlyFromSink`
|
438
|
-
# @return [
|
536
|
+
# @return [Fixnum]
|
439
537
|
attr_accessor :bytes_found_only_from_sink
|
440
538
|
|
441
539
|
# Objects that are deleted from the data source.
|
442
540
|
# Corresponds to the JSON property `objectsDeletedFromSource`
|
443
|
-
# @return [
|
541
|
+
# @return [Fixnum]
|
444
542
|
attr_accessor :objects_deleted_from_source
|
445
543
|
|
446
544
|
# Bytes that are copied to the data sink.
|
447
545
|
# Corresponds to the JSON property `bytesCopiedToSink`
|
448
|
-
# @return [
|
546
|
+
# @return [Fixnum]
|
449
547
|
attr_accessor :bytes_copied_to_sink
|
450
548
|
|
451
|
-
# Bytes found in the data source that are scheduled to be transferred,
|
452
|
-
# which will be copied, excluded based on conditions, or skipped due to
|
453
|
-
# failures.
|
454
|
-
# Corresponds to the JSON property `bytesFoundFromSource`
|
455
|
-
# @return [String]
|
456
|
-
attr_accessor :bytes_found_from_source
|
457
|
-
|
458
|
-
# Objects in the data source that are not transferred because they already
|
459
|
-
# exist in the data sink.
|
460
|
-
# Corresponds to the JSON property `objectsFromSourceSkippedBySync`
|
461
|
-
# @return [String]
|
462
|
-
attr_accessor :objects_from_source_skipped_by_sync
|
463
|
-
|
464
549
|
def initialize(**args)
|
465
550
|
update!(**args)
|
466
551
|
end
|
467
552
|
|
468
553
|
# Update properties of this object
|
469
554
|
def update!(**args)
|
470
|
-
@
|
555
|
+
@objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
|
556
|
+
@bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
|
471
557
|
@objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source)
|
558
|
+
@bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
|
472
559
|
@objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink)
|
473
|
-
@objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
|
474
560
|
@objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink)
|
561
|
+
@objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
|
475
562
|
@bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
|
476
563
|
@bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
|
477
564
|
@bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
|
@@ -481,8 +568,6 @@ module Google
|
|
481
568
|
@bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
|
482
569
|
@objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
|
483
570
|
@bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
|
484
|
-
@bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
|
485
|
-
@objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
|
486
571
|
end
|
487
572
|
end
|
488
573
|
|
@@ -499,7 +584,7 @@ module Google
|
|
499
584
|
# Count of this type of error.
|
500
585
|
# Required.
|
501
586
|
# Corresponds to the JSON property `errorCount`
|
502
|
-
# @return [
|
587
|
+
# @return [Fixnum]
|
503
588
|
attr_accessor :error_count
|
504
589
|
|
505
590
|
# Error samples.
|
@@ -662,12 +747,6 @@ module Google
|
|
662
747
|
class ObjectConditions
|
663
748
|
include Google::Apis::Core::Hashable
|
664
749
|
|
665
|
-
# `maxTimeElapsedSinceLastModification` is the complement to
|
666
|
-
# `minTimeElapsedSinceLastModification`.
|
667
|
-
# Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
|
668
|
-
# @return [String]
|
669
|
-
attr_accessor :max_time_elapsed_since_last_modification
|
670
|
-
|
671
750
|
# If `includePrefixes` is specified, objects that satisfy the object
|
672
751
|
# conditions must have names that start with one of the `includePrefixes`
|
673
752
|
# and that do not start with any of the `excludePrefixes`. If `includePrefixes`
|
@@ -715,16 +794,22 @@ module Google
|
|
715
794
|
# @return [Array<String>]
|
716
795
|
attr_accessor :exclude_prefixes
|
717
796
|
|
797
|
+
# `maxTimeElapsedSinceLastModification` is the complement to
|
798
|
+
# `minTimeElapsedSinceLastModification`.
|
799
|
+
# Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
|
800
|
+
# @return [String]
|
801
|
+
attr_accessor :max_time_elapsed_since_last_modification
|
802
|
+
|
718
803
|
def initialize(**args)
|
719
804
|
update!(**args)
|
720
805
|
end
|
721
806
|
|
722
807
|
# Update properties of this object
|
723
808
|
def update!(**args)
|
724
|
-
@max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
|
725
809
|
@include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
|
726
810
|
@min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification)
|
727
811
|
@exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes)
|
812
|
+
@max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
|
728
813
|
end
|
729
814
|
end
|
730
815
|
|
@@ -733,14 +818,6 @@ module Google
|
|
733
818
|
class Operation
|
734
819
|
include Google::Apis::Core::Hashable
|
735
820
|
|
736
|
-
# If the value is `false`, it means the operation is still in progress.
|
737
|
-
# If true, the operation is completed, and either `error` or `response` is
|
738
|
-
# available.
|
739
|
-
# Corresponds to the JSON property `done`
|
740
|
-
# @return [Boolean]
|
741
|
-
attr_accessor :done
|
742
|
-
alias_method :done?, :done
|
743
|
-
|
744
821
|
# The normal response of the operation in case of success. If the original
|
745
822
|
# method returns no data on success, such as `Delete`, the response is
|
746
823
|
# `google.protobuf.Empty`. If the original method is standard
|
@@ -808,53 +885,25 @@ module Google
|
|
808
885
|
# @return [Hash<String,Object>]
|
809
886
|
attr_accessor :metadata
|
810
887
|
|
888
|
+
# If the value is `false`, it means the operation is still in progress.
|
889
|
+
# If true, the operation is completed, and either `error` or `response` is
|
890
|
+
# available.
|
891
|
+
# Corresponds to the JSON property `done`
|
892
|
+
# @return [Boolean]
|
893
|
+
attr_accessor :done
|
894
|
+
alias_method :done?, :done
|
895
|
+
|
811
896
|
def initialize(**args)
|
812
897
|
update!(**args)
|
813
898
|
end
|
814
899
|
|
815
900
|
# Update properties of this object
|
816
901
|
def update!(**args)
|
817
|
-
@done = args[:done] if args.key?(:done)
|
818
902
|
@response = args[:response] if args.key?(:response)
|
819
903
|
@name = args[:name] if args.key?(:name)
|
820
904
|
@error = args[:error] if args.key?(:error)
|
821
905
|
@metadata = args[:metadata] if args.key?(:metadata)
|
822
|
-
|
823
|
-
end
|
824
|
-
|
825
|
-
# TransferOptions uses three boolean parameters to define the actions
|
826
|
-
# to be performed on objects in a transfer.
|
827
|
-
class TransferOptions
|
828
|
-
include Google::Apis::Core::Hashable
|
829
|
-
|
830
|
-
# Whether overwriting objects that already exist in the sink is allowed.
|
831
|
-
# Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
|
832
|
-
# @return [Boolean]
|
833
|
-
attr_accessor :overwrite_objects_already_existing_in_sink
|
834
|
-
alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
|
835
|
-
|
836
|
-
# Whether objects should be deleted from the source after they are
|
837
|
-
# transferred to the sink.
|
838
|
-
# Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
|
839
|
-
# @return [Boolean]
|
840
|
-
attr_accessor :delete_objects_from_source_after_transfer
|
841
|
-
alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
|
842
|
-
|
843
|
-
# Whether objects that exist only in the sink should be deleted.
|
844
|
-
# Corresponds to the JSON property `deleteObjectsUniqueInSink`
|
845
|
-
# @return [Boolean]
|
846
|
-
attr_accessor :delete_objects_unique_in_sink
|
847
|
-
alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
|
848
|
-
|
849
|
-
def initialize(**args)
|
850
|
-
update!(**args)
|
851
|
-
end
|
852
|
-
|
853
|
-
# Update properties of this object
|
854
|
-
def update!(**args)
|
855
|
-
@overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
|
856
|
-
@delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
|
857
|
-
@delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
|
906
|
+
@done = args[:done] if args.key?(:done)
|
858
907
|
end
|
859
908
|
end
|
860
909
|
|
@@ -862,19 +911,6 @@ module Google
|
|
862
911
|
class TransferSpec
|
863
912
|
include Google::Apis::Core::Hashable
|
864
913
|
|
865
|
-
# In a GcsData, an object's name is the Google Cloud Storage object's name and
|
866
|
-
# its `lastModificationTime` refers to the object's updated time, which changes
|
867
|
-
# when the content or the metadata of the object is updated.
|
868
|
-
# Corresponds to the JSON property `gcsDataSource`
|
869
|
-
# @return [Google::Apis::StoragetransferV1::GcsData]
|
870
|
-
attr_accessor :gcs_data_source
|
871
|
-
|
872
|
-
# TransferOptions uses three boolean parameters to define the actions
|
873
|
-
# to be performed on objects in a transfer.
|
874
|
-
# Corresponds to the JSON property `transferOptions`
|
875
|
-
# @return [Google::Apis::StoragetransferV1::TransferOptions]
|
876
|
-
attr_accessor :transfer_options
|
877
|
-
|
878
914
|
# An AwsS3Data can be a data source, but not a data sink.
|
879
915
|
# In an AwsS3Data, an object's name is the S3 object's key name.
|
880
916
|
# Corresponds to the JSON property `awsS3DataSource`
|
@@ -928,31 +964,67 @@ module Google
|
|
928
964
|
# @return [Google::Apis::StoragetransferV1::GcsData]
|
929
965
|
attr_accessor :gcs_data_sink
|
930
966
|
|
967
|
+
# In a GcsData, an object's name is the Google Cloud Storage object's name and
|
968
|
+
# its `lastModificationTime` refers to the object's updated time, which changes
|
969
|
+
# when the content or the metadata of the object is updated.
|
970
|
+
# Corresponds to the JSON property `gcsDataSource`
|
971
|
+
# @return [Google::Apis::StoragetransferV1::GcsData]
|
972
|
+
attr_accessor :gcs_data_source
|
973
|
+
|
974
|
+
# TransferOptions uses three boolean parameters to define the actions
|
975
|
+
# to be performed on objects in a transfer.
|
976
|
+
# Corresponds to the JSON property `transferOptions`
|
977
|
+
# @return [Google::Apis::StoragetransferV1::TransferOptions]
|
978
|
+
attr_accessor :transfer_options
|
979
|
+
|
931
980
|
def initialize(**args)
|
932
981
|
update!(**args)
|
933
982
|
end
|
934
983
|
|
935
984
|
# Update properties of this object
|
936
985
|
def update!(**args)
|
937
|
-
@gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
|
938
|
-
@transfer_options = args[:transfer_options] if args.key?(:transfer_options)
|
939
986
|
@aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source)
|
940
987
|
@http_data_source = args[:http_data_source] if args.key?(:http_data_source)
|
941
988
|
@object_conditions = args[:object_conditions] if args.key?(:object_conditions)
|
942
989
|
@gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
|
990
|
+
@gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
|
991
|
+
@transfer_options = args[:transfer_options] if args.key?(:transfer_options)
|
943
992
|
end
|
944
993
|
end
|
945
994
|
|
946
|
-
#
|
947
|
-
|
995
|
+
# TransferOptions uses three boolean parameters to define the actions
|
996
|
+
# to be performed on objects in a transfer.
|
997
|
+
class TransferOptions
|
948
998
|
include Google::Apis::Core::Hashable
|
949
999
|
|
1000
|
+
# Whether objects that exist only in the sink should be deleted.
|
1001
|
+
# Corresponds to the JSON property `deleteObjectsUniqueInSink`
|
1002
|
+
# @return [Boolean]
|
1003
|
+
attr_accessor :delete_objects_unique_in_sink
|
1004
|
+
alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
|
1005
|
+
|
1006
|
+
# Whether overwriting objects that already exist in the sink is allowed.
|
1007
|
+
# Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
|
1008
|
+
# @return [Boolean]
|
1009
|
+
attr_accessor :overwrite_objects_already_existing_in_sink
|
1010
|
+
alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
|
1011
|
+
|
1012
|
+
# Whether objects should be deleted from the source after they are
|
1013
|
+
# transferred to the sink.
|
1014
|
+
# Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
|
1015
|
+
# @return [Boolean]
|
1016
|
+
attr_accessor :delete_objects_from_source_after_transfer
|
1017
|
+
alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
|
1018
|
+
|
950
1019
|
def initialize(**args)
|
951
1020
|
update!(**args)
|
952
1021
|
end
|
953
1022
|
|
954
1023
|
# Update properties of this object
|
955
1024
|
def update!(**args)
|
1025
|
+
@delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
|
1026
|
+
@overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
|
1027
|
+
@delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
|
956
1028
|
end
|
957
1029
|
end
|
958
1030
|
|
@@ -998,11 +1070,6 @@ module Google
|
|
998
1070
|
class Status
|
999
1071
|
include Google::Apis::Core::Hashable
|
1000
1072
|
|
1001
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
1002
|
-
# Corresponds to the JSON property `code`
|
1003
|
-
# @return [Fixnum]
|
1004
|
-
attr_accessor :code
|
1005
|
-
|
1006
1073
|
# A developer-facing error message, which should be in English. Any
|
1007
1074
|
# user-facing error message should be localized and sent in the
|
1008
1075
|
# google.rpc.Status.details field, or localized by the client.
|
@@ -1016,100 +1083,33 @@ module Google
|
|
1016
1083
|
# @return [Array<Hash<String,Object>>]
|
1017
1084
|
attr_accessor :details
|
1018
1085
|
|
1086
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
1087
|
+
# Corresponds to the JSON property `code`
|
1088
|
+
# @return [Fixnum]
|
1089
|
+
attr_accessor :code
|
1090
|
+
|
1019
1091
|
def initialize(**args)
|
1020
1092
|
update!(**args)
|
1021
1093
|
end
|
1022
1094
|
|
1023
1095
|
# Update properties of this object
|
1024
1096
|
def update!(**args)
|
1025
|
-
@code = args[:code] if args.key?(:code)
|
1026
1097
|
@message = args[:message] if args.key?(:message)
|
1027
1098
|
@details = args[:details] if args.key?(:details)
|
1099
|
+
@code = args[:code] if args.key?(:code)
|
1028
1100
|
end
|
1029
1101
|
end
|
1030
1102
|
|
1031
|
-
#
|
1032
|
-
class
|
1033
|
-
include Google::Apis::Core::Hashable
|
1034
|
-
|
1035
|
-
# The standard List next-page token.
|
1036
|
-
# Corresponds to the JSON property `nextPageToken`
|
1037
|
-
# @return [String]
|
1038
|
-
attr_accessor :next_page_token
|
1039
|
-
|
1040
|
-
# A list of operations that matches the specified filter in the request.
|
1041
|
-
# Corresponds to the JSON property `operations`
|
1042
|
-
# @return [Array<Google::Apis::StoragetransferV1::Operation>]
|
1043
|
-
attr_accessor :operations
|
1044
|
-
|
1045
|
-
def initialize(**args)
|
1046
|
-
update!(**args)
|
1047
|
-
end
|
1048
|
-
|
1049
|
-
# Update properties of this object
|
1050
|
-
def update!(**args)
|
1051
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1052
|
-
@operations = args[:operations] if args.key?(:operations)
|
1053
|
-
end
|
1054
|
-
end
|
1055
|
-
|
1056
|
-
# Google service account
|
1057
|
-
class GoogleServiceAccount
|
1058
|
-
include Google::Apis::Core::Hashable
|
1059
|
-
|
1060
|
-
# Required.
|
1061
|
-
# Corresponds to the JSON property `accountEmail`
|
1062
|
-
# @return [String]
|
1063
|
-
attr_accessor :account_email
|
1064
|
-
|
1065
|
-
def initialize(**args)
|
1066
|
-
update!(**args)
|
1067
|
-
end
|
1068
|
-
|
1069
|
-
# Update properties of this object
|
1070
|
-
def update!(**args)
|
1071
|
-
@account_email = args[:account_email] if args.key?(:account_email)
|
1072
|
-
end
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
# Represents a time of day. The date and time zone are either not significant
|
1076
|
-
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
1077
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1078
|
-
class TimeOfDay
|
1103
|
+
# Request passed to ResumeTransferOperation.
|
1104
|
+
class ResumeTransferOperationRequest
|
1079
1105
|
include Google::Apis::Core::Hashable
|
1080
1106
|
|
1081
|
-
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
1082
|
-
# to allow the value "24:00:00" for scenarios like business closing time.
|
1083
|
-
# Corresponds to the JSON property `hours`
|
1084
|
-
# @return [Fixnum]
|
1085
|
-
attr_accessor :hours
|
1086
|
-
|
1087
|
-
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
1088
|
-
# Corresponds to the JSON property `nanos`
|
1089
|
-
# @return [Fixnum]
|
1090
|
-
attr_accessor :nanos
|
1091
|
-
|
1092
|
-
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
1093
|
-
# allow the value 60 if it allows leap-seconds.
|
1094
|
-
# Corresponds to the JSON property `seconds`
|
1095
|
-
# @return [Fixnum]
|
1096
|
-
attr_accessor :seconds
|
1097
|
-
|
1098
|
-
# Minutes of hour of day. Must be from 0 to 59.
|
1099
|
-
# Corresponds to the JSON property `minutes`
|
1100
|
-
# @return [Fixnum]
|
1101
|
-
attr_accessor :minutes
|
1102
|
-
|
1103
1107
|
def initialize(**args)
|
1104
1108
|
update!(**args)
|
1105
1109
|
end
|
1106
1110
|
|
1107
1111
|
# Update properties of this object
|
1108
1112
|
def update!(**args)
|
1109
|
-
@hours = args[:hours] if args.key?(:hours)
|
1110
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
1111
|
-
@seconds = args[:seconds] if args.key?(:seconds)
|
1112
|
-
@minutes = args[:minutes] if args.key?(:minutes)
|
1113
1113
|
end
|
1114
1114
|
end
|
1115
1115
|
end
|