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
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
|
76
76
|
# [Output only] A server-assigned unique identifier for the resource.
|
77
77
|
# Corresponds to the JSON property `id`
|
78
|
-
# @return [
|
78
|
+
# @return [Fixnum]
|
79
79
|
attr_accessor :id
|
80
80
|
|
81
81
|
# The full URL to an instance template from which all new instances will be
|
@@ -330,7 +330,7 @@ module Google
|
|
330
330
|
|
331
331
|
# [Output Only] Unique identifier for the resource, generated by the server.
|
332
332
|
# Corresponds to the JSON property `id`
|
333
|
-
# @return [
|
333
|
+
# @return [Fixnum]
|
334
334
|
attr_accessor :id
|
335
335
|
|
336
336
|
# [Output Only] The time that this operation was requested, in RFC3339 text
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
# [Output Only] Unique target ID which identifies a particular incarnation of
|
395
395
|
# the target.
|
396
396
|
# Corresponds to the JSON property `targetId`
|
397
|
-
# @return [
|
397
|
+
# @return [Fixnum]
|
398
398
|
attr_accessor :target_id
|
399
399
|
|
400
400
|
# [Output only] URL of the resource the operation is mutating.
|
@@ -117,7 +117,7 @@ module Google
|
|
117
117
|
property :description, as: 'description'
|
118
118
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
119
119
|
property :group, as: 'group'
|
120
|
-
property :id, as: 'id'
|
120
|
+
property :id, :numeric_string => true, as: 'id'
|
121
121
|
property :instance_template, as: 'instanceTemplate'
|
122
122
|
property :kind, as: 'kind'
|
123
123
|
property :name, as: 'name'
|
@@ -185,7 +185,7 @@ module Google
|
|
185
185
|
|
186
186
|
property :http_error_message, as: 'httpErrorMessage'
|
187
187
|
property :http_error_status_code, as: 'httpErrorStatusCode'
|
188
|
-
property :id, as: 'id'
|
188
|
+
property :id, :numeric_string => true, as: 'id'
|
189
189
|
property :insert_time, as: 'insertTime'
|
190
190
|
property :kind, as: 'kind'
|
191
191
|
property :name, as: 'name'
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
property :start_time, as: 'startTime'
|
197
197
|
property :status, as: 'status'
|
198
198
|
property :status_message, as: 'statusMessage'
|
199
|
-
property :target_id, as: 'targetId'
|
199
|
+
property :target_id, :numeric_string => true, as: 'targetId'
|
200
200
|
property :target_link, as: 'targetLink'
|
201
201
|
property :user, as: 'user'
|
202
202
|
collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolV1beta2::Operation::Warning, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Representation
|
@@ -188,7 +188,7 @@ module Google
|
|
188
188
|
|
189
189
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
190
190
|
# Corresponds to the JSON property `id`
|
191
|
-
# @return [
|
191
|
+
# @return [Fixnum]
|
192
192
|
attr_accessor :id
|
193
193
|
|
194
194
|
# [Output Only] The time that this operation was requested. This is in RFC 3339
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
# [Output Only] Unique target id which identifies a particular incarnation of
|
250
250
|
# the target.
|
251
251
|
# Corresponds to the JSON property `targetId`
|
252
|
-
# @return [
|
252
|
+
# @return [Fixnum]
|
253
253
|
attr_accessor :target_id
|
254
254
|
|
255
255
|
# [Output Only] URL of the resource the operation is mutating.
|
@@ -160,7 +160,7 @@ module Google
|
|
160
160
|
|
161
161
|
property :http_error_message, as: 'httpErrorMessage'
|
162
162
|
property :http_error_status_code, as: 'httpErrorStatusCode'
|
163
|
-
property :id, as: 'id'
|
163
|
+
property :id, :numeric_string => true, as: 'id'
|
164
164
|
property :insert_time, as: 'insertTime'
|
165
165
|
property :kind, as: 'kind'
|
166
166
|
property :name, as: 'name'
|
@@ -171,7 +171,7 @@ module Google
|
|
171
171
|
property :start_time, as: 'startTime'
|
172
172
|
property :status, as: 'status'
|
173
173
|
property :status_message, as: 'statusMessage'
|
174
|
-
property :target_id, as: 'targetId'
|
174
|
+
property :target_id, :numeric_string => true, as: 'targetId'
|
175
175
|
property :target_link, as: 'targetLink'
|
176
176
|
property :user, as: 'user'
|
177
177
|
collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Representation
|
@@ -385,7 +385,7 @@ module Google
|
|
385
385
|
# The creationTime property is the date when subscription was created. It is in
|
386
386
|
# milliseconds using the Epoch format. See an example Epoch converter.
|
387
387
|
# Corresponds to the JSON property `creationTime`
|
388
|
-
# @return [
|
388
|
+
# @return [Fixnum]
|
389
389
|
attr_accessor :creation_time
|
390
390
|
|
391
391
|
# Primary domain name of the customer
|
@@ -582,13 +582,13 @@ module Google
|
|
582
582
|
# An annual commitment plan's interval's endTime in milliseconds using the UNIX
|
583
583
|
# Epoch format. See an example Epoch converter.
|
584
584
|
# Corresponds to the JSON property `endTime`
|
585
|
-
# @return [
|
585
|
+
# @return [Fixnum]
|
586
586
|
attr_accessor :end_time
|
587
587
|
|
588
588
|
# An annual commitment plan's interval's startTime in milliseconds using UNIX
|
589
589
|
# Epoch format. See an example Epoch converter.
|
590
590
|
# Corresponds to the JSON property `startTime`
|
591
|
-
# @return [
|
591
|
+
# @return [Fixnum]
|
592
592
|
attr_accessor :start_time
|
593
593
|
|
594
594
|
def initialize(**args)
|
@@ -619,7 +619,7 @@ module Google
|
|
619
619
|
# The time when transfer token or intent to transfer will expire. The time is in
|
620
620
|
# milliseconds using UNIX Epoch format.
|
621
621
|
# Corresponds to the JSON property `transferabilityExpirationTime`
|
622
|
-
# @return [
|
622
|
+
# @return [Fixnum]
|
623
623
|
attr_accessor :transferability_expiration_time
|
624
624
|
|
625
625
|
def initialize(**args)
|
@@ -649,7 +649,7 @@ module Google
|
|
649
649
|
# Date when the trial ends. The value is in milliseconds using the UNIX Epoch
|
650
650
|
# format. See an example Epoch converter.
|
651
651
|
# Corresponds to the JSON property `trialEndTime`
|
652
|
-
# @return [
|
652
|
+
# @return [Fixnum]
|
653
653
|
attr_accessor :trial_end_time
|
654
654
|
|
655
655
|
def initialize(**args)
|
@@ -180,7 +180,7 @@ module Google
|
|
180
180
|
# @private
|
181
181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
182
182
|
property :billing_method, as: 'billingMethod'
|
183
|
-
property :creation_time, as: 'creationTime'
|
183
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
184
184
|
property :customer_domain, as: 'customerDomain'
|
185
185
|
property :customer_id, as: 'customerId'
|
186
186
|
property :deal_code, as: 'dealCode'
|
@@ -216,8 +216,8 @@ module Google
|
|
216
216
|
class CommitmentInterval
|
217
217
|
# @private
|
218
218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
-
property :end_time, as: 'endTime'
|
220
|
-
property :start_time, as: 'startTime'
|
219
|
+
property :end_time, :numeric_string => true, as: 'endTime'
|
220
|
+
property :start_time, :numeric_string => true, as: 'startTime'
|
221
221
|
end
|
222
222
|
end
|
223
223
|
end
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
# @private
|
227
227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
228
228
|
property :minimum_transferable_seats, as: 'minimumTransferableSeats'
|
229
|
-
property :transferability_expiration_time, as: 'transferabilityExpirationTime'
|
229
|
+
property :transferability_expiration_time, :numeric_string => true, as: 'transferabilityExpirationTime'
|
230
230
|
end
|
231
231
|
end
|
232
232
|
|
@@ -234,7 +234,7 @@ module Google
|
|
234
234
|
# @private
|
235
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
236
236
|
property :is_in_trial, as: 'isInTrial'
|
237
|
-
property :trial_end_time, as: 'trialEndTime'
|
237
|
+
property :trial_end_time, :numeric_string => true, as: 'trialEndTime'
|
238
238
|
end
|
239
239
|
end
|
240
240
|
end
|
@@ -112,7 +112,7 @@ module Google
|
|
112
112
|
|
113
113
|
# [Output Only] Unique identifier for the resource, generated by the server.
|
114
114
|
# Corresponds to the JSON property `id`
|
115
|
-
# @return [
|
115
|
+
# @return [Fixnum]
|
116
116
|
attr_accessor :id
|
117
117
|
|
118
118
|
# [Output Only] The time that this operation was requested, in RFC3339 text
|
@@ -176,7 +176,7 @@ module Google
|
|
176
176
|
# [Output Only] Unique target ID which identifies a particular incarnation of
|
177
177
|
# the target.
|
178
178
|
# Corresponds to the JSON property `targetId`
|
179
|
-
# @return [
|
179
|
+
# @return [Fixnum]
|
180
180
|
attr_accessor :target_id
|
181
181
|
|
182
182
|
# [Output only] URL of the resource the operation is mutating.
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
|
149
149
|
property :http_error_message, as: 'httpErrorMessage'
|
150
150
|
property :http_error_status_code, as: 'httpErrorStatusCode'
|
151
|
-
property :id, as: 'id'
|
151
|
+
property :id, :numeric_string => true, as: 'id'
|
152
152
|
property :insert_time, as: 'insertTime'
|
153
153
|
property :kind, as: 'kind'
|
154
154
|
property :name, as: 'name'
|
@@ -159,7 +159,7 @@ module Google
|
|
159
159
|
property :start_time, as: 'startTime'
|
160
160
|
property :status, as: 'status'
|
161
161
|
property :status_message, as: 'statusMessage'
|
162
|
-
property :target_id, as: 'targetId'
|
162
|
+
property :target_id, :numeric_string => true, as: 'targetId'
|
163
163
|
property :target_link, as: 'targetLink'
|
164
164
|
property :user, as: 'user'
|
165
165
|
collection :warnings, as: 'warnings', class: Google::Apis::ResourceviewsV1beta2::Operation::Warning, decorator: Google::Apis::ResourceviewsV1beta2::Operation::Warning::Representation
|
@@ -28,11 +28,11 @@ module Google
|
|
28
28
|
VERSION = 'V1'
|
29
29
|
REVISION = '20170327'
|
30
30
|
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
|
34
31
|
# Manage your Google Cloud Platform services' runtime configuration
|
35
32
|
AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig'
|
33
|
+
|
34
|
+
# View and manage your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -77,6 +77,11 @@ module Google
|
|
77
77
|
class Status
|
78
78
|
include Google::Apis::Core::Hashable
|
79
79
|
|
80
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
81
|
+
# Corresponds to the JSON property `code`
|
82
|
+
# @return [Fixnum]
|
83
|
+
attr_accessor :code
|
84
|
+
|
80
85
|
# A developer-facing error message, which should be in English. Any
|
81
86
|
# user-facing error message should be localized and sent in the
|
82
87
|
# google.rpc.Status.details field, or localized by the client.
|
@@ -90,20 +95,15 @@ module Google
|
|
90
95
|
# @return [Array<Hash<String,Object>>]
|
91
96
|
attr_accessor :details
|
92
97
|
|
93
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
94
|
-
# Corresponds to the JSON property `code`
|
95
|
-
# @return [Fixnum]
|
96
|
-
attr_accessor :code
|
97
|
-
|
98
98
|
def initialize(**args)
|
99
99
|
update!(**args)
|
100
100
|
end
|
101
101
|
|
102
102
|
# Update properties of this object
|
103
103
|
def update!(**args)
|
104
|
+
@code = args[:code] if args.key?(:code)
|
104
105
|
@message = args[:message] if args.key?(:message)
|
105
106
|
@details = args[:details] if args.key?(:details)
|
106
|
-
@code = args[:code] if args.key?(:code)
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
@@ -137,26 +137,6 @@ module Google
|
|
137
137
|
class Operation
|
138
138
|
include Google::Apis::Core::Hashable
|
139
139
|
|
140
|
-
# If the value is `false`, it means the operation is still in progress.
|
141
|
-
# If true, the operation is completed, and either `error` or `response` is
|
142
|
-
# available.
|
143
|
-
# Corresponds to the JSON property `done`
|
144
|
-
# @return [Boolean]
|
145
|
-
attr_accessor :done
|
146
|
-
alias_method :done?, :done
|
147
|
-
|
148
|
-
# The normal response of the operation in case of success. If the original
|
149
|
-
# method returns no data on success, such as `Delete`, the response is
|
150
|
-
# `google.protobuf.Empty`. If the original method is standard
|
151
|
-
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
152
|
-
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
153
|
-
# is the original method name. For example, if the original method name
|
154
|
-
# is `TakeSnapshot()`, the inferred response type is
|
155
|
-
# `TakeSnapshotResponse`.
|
156
|
-
# Corresponds to the JSON property `response`
|
157
|
-
# @return [Hash<String,Object>]
|
158
|
-
attr_accessor :response
|
159
|
-
|
160
140
|
# The server-assigned name, which is only unique within the same service that
|
161
141
|
# originally returns it. If you use the default HTTP mapping, the
|
162
142
|
# `name` should have the format of `operations/some/unique/name`.
|
@@ -215,17 +195,37 @@ module Google
|
|
215
195
|
# @return [Hash<String,Object>]
|
216
196
|
attr_accessor :metadata
|
217
197
|
|
198
|
+
# If the value is `false`, it means the operation is still in progress.
|
199
|
+
# If true, the operation is completed, and either `error` or `response` is
|
200
|
+
# available.
|
201
|
+
# Corresponds to the JSON property `done`
|
202
|
+
# @return [Boolean]
|
203
|
+
attr_accessor :done
|
204
|
+
alias_method :done?, :done
|
205
|
+
|
206
|
+
# The normal response of the operation in case of success. If the original
|
207
|
+
# method returns no data on success, such as `Delete`, the response is
|
208
|
+
# `google.protobuf.Empty`. If the original method is standard
|
209
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
210
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
211
|
+
# is the original method name. For example, if the original method name
|
212
|
+
# is `TakeSnapshot()`, the inferred response type is
|
213
|
+
# `TakeSnapshotResponse`.
|
214
|
+
# Corresponds to the JSON property `response`
|
215
|
+
# @return [Hash<String,Object>]
|
216
|
+
attr_accessor :response
|
217
|
+
|
218
218
|
def initialize(**args)
|
219
219
|
update!(**args)
|
220
220
|
end
|
221
221
|
|
222
222
|
# Update properties of this object
|
223
223
|
def update!(**args)
|
224
|
-
@done = args[:done] if args.key?(:done)
|
225
|
-
@response = args[:response] if args.key?(:response)
|
226
224
|
@name = args[:name] if args.key?(:name)
|
227
225
|
@error = args[:error] if args.key?(:error)
|
228
226
|
@metadata = args[:metadata] if args.key?(:metadata)
|
227
|
+
@done = args[:done] if args.key?(:done)
|
228
|
+
@response = args[:response] if args.key?(:response)
|
229
229
|
end
|
230
230
|
end
|
231
231
|
|
@@ -61,9 +61,9 @@ module Google
|
|
61
61
|
class Status
|
62
62
|
# @private
|
63
63
|
class Representation < Google::Apis::Core::JsonRepresentation
|
64
|
+
property :code, as: 'code'
|
64
65
|
property :message, as: 'message'
|
65
66
|
collection :details, as: 'details'
|
66
|
-
property :code, as: 'code'
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -79,12 +79,12 @@ module Google
|
|
79
79
|
class Operation
|
80
80
|
# @private
|
81
81
|
class Representation < Google::Apis::Core::JsonRepresentation
|
82
|
-
property :done, as: 'done'
|
83
|
-
hash :response, as: 'response'
|
84
82
|
property :name, as: 'name'
|
85
83
|
property :error, as: 'error', class: Google::Apis::RuntimeconfigV1::Status, decorator: Google::Apis::RuntimeconfigV1::Status::Representation
|
86
84
|
|
87
85
|
hash :metadata, as: 'metadata'
|
86
|
+
property :done, as: 'done'
|
87
|
+
hash :response, as: 'response'
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
@@ -45,48 +45,7 @@ module Google
|
|
45
45
|
|
46
46
|
def initialize
|
47
47
|
super('https://runtimeconfig.googleapis.com/', '')
|
48
|
-
|
49
|
-
|
50
|
-
# Starts asynchronous cancellation on a long-running operation. The server
|
51
|
-
# makes a best effort to cancel the operation, but success is not
|
52
|
-
# guaranteed. If the server doesn't support this method, it returns
|
53
|
-
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
54
|
-
# Operations.GetOperation or
|
55
|
-
# other methods to check whether the cancellation succeeded or whether the
|
56
|
-
# operation completed despite cancellation. On successful cancellation,
|
57
|
-
# the operation is not deleted; instead, it becomes an operation with
|
58
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
59
|
-
# corresponding to `Code.CANCELLED`.
|
60
|
-
# @param [String] name
|
61
|
-
# The name of the operation resource to be cancelled.
|
62
|
-
# @param [Google::Apis::RuntimeconfigV1::CancelOperationRequest] cancel_operation_request_object
|
63
|
-
# @param [String] fields
|
64
|
-
# Selector specifying which fields to include in a partial response.
|
65
|
-
# @param [String] quota_user
|
66
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
67
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
68
|
-
# @param [Google::Apis::RequestOptions] options
|
69
|
-
# Request-specific options
|
70
|
-
#
|
71
|
-
# @yield [result, err] Result & error if block supplied
|
72
|
-
# @yieldparam result [Google::Apis::RuntimeconfigV1::Empty] parsed result object
|
73
|
-
# @yieldparam err [StandardError] error object if request failed
|
74
|
-
#
|
75
|
-
# @return [Google::Apis::RuntimeconfigV1::Empty]
|
76
|
-
#
|
77
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
78
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
|
-
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
82
|
-
command.request_representation = Google::Apis::RuntimeconfigV1::CancelOperationRequest::Representation
|
83
|
-
command.request_object = cancel_operation_request_object
|
84
|
-
command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation
|
85
|
-
command.response_class = Google::Apis::RuntimeconfigV1::Empty
|
86
|
-
command.params['name'] = name unless name.nil?
|
87
|
-
command.query['fields'] = fields unless fields.nil?
|
88
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
89
|
-
execute_or_queue_command(command, &block)
|
48
|
+
@batch_path = 'batch'
|
90
49
|
end
|
91
50
|
|
92
51
|
# Deletes a long-running operation. This method indicates that the client is
|
@@ -95,11 +54,11 @@ module Google
|
|
95
54
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
96
55
|
# @param [String] name
|
97
56
|
# The name of the operation resource to be deleted.
|
98
|
-
# @param [String] fields
|
99
|
-
# Selector specifying which fields to include in a partial response.
|
100
57
|
# @param [String] quota_user
|
101
58
|
# Available to use for quota purposes for server-side applications. Can be any
|
102
59
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
103
62
|
# @param [Google::Apis::RequestOptions] options
|
104
63
|
# Request-specific options
|
105
64
|
#
|
@@ -112,13 +71,13 @@ module Google
|
|
112
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def delete_operation(name,
|
74
|
+
def delete_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
116
75
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
117
76
|
command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation
|
118
77
|
command.response_class = Google::Apis::RuntimeconfigV1::Empty
|
119
78
|
command.params['name'] = name unless name.nil?
|
120
|
-
command.query['fields'] = fields unless fields.nil?
|
121
79
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
122
81
|
execute_or_queue_command(command, &block)
|
123
82
|
end
|
124
83
|
|
@@ -128,17 +87,17 @@ module Google
|
|
128
87
|
# to use different resource name schemes, such as `users/*/operations`.
|
129
88
|
# @param [String] name
|
130
89
|
# The name of the operation collection.
|
131
|
-
# @param [String] filter
|
132
|
-
# The standard list filter.
|
133
90
|
# @param [String] page_token
|
134
91
|
# The standard list page token.
|
135
92
|
# @param [Fixnum] page_size
|
136
93
|
# The standard list page size.
|
137
|
-
# @param [String]
|
138
|
-
#
|
94
|
+
# @param [String] filter
|
95
|
+
# The standard list filter.
|
139
96
|
# @param [String] quota_user
|
140
97
|
# Available to use for quota purposes for server-side applications. Can be any
|
141
98
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
+
# @param [String] fields
|
100
|
+
# Selector specifying which fields to include in a partial response.
|
142
101
|
# @param [Google::Apis::RequestOptions] options
|
143
102
|
# Request-specific options
|
144
103
|
#
|
@@ -151,16 +110,58 @@ module Google
|
|
151
110
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
152
111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
153
112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
154
|
-
def list_operations(name,
|
113
|
+
def list_operations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
155
114
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
156
115
|
command.response_representation = Google::Apis::RuntimeconfigV1::ListOperationsResponse::Representation
|
157
116
|
command.response_class = Google::Apis::RuntimeconfigV1::ListOperationsResponse
|
158
117
|
command.params['name'] = name unless name.nil?
|
159
|
-
command.query['filter'] = filter unless filter.nil?
|
160
118
|
command.query['pageToken'] = page_token unless page_token.nil?
|
161
119
|
command.query['pageSize'] = page_size unless page_size.nil?
|
120
|
+
command.query['filter'] = filter unless filter.nil?
|
121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
162
122
|
command.query['fields'] = fields unless fields.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
127
|
+
# makes a best effort to cancel the operation, but success is not
|
128
|
+
# guaranteed. If the server doesn't support this method, it returns
|
129
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
130
|
+
# Operations.GetOperation or
|
131
|
+
# other methods to check whether the cancellation succeeded or whether the
|
132
|
+
# operation completed despite cancellation. On successful cancellation,
|
133
|
+
# the operation is not deleted; instead, it becomes an operation with
|
134
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
135
|
+
# corresponding to `Code.CANCELLED`.
|
136
|
+
# @param [String] name
|
137
|
+
# The name of the operation resource to be cancelled.
|
138
|
+
# @param [Google::Apis::RuntimeconfigV1::CancelOperationRequest] cancel_operation_request_object
|
139
|
+
# @param [String] quota_user
|
140
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
141
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [Google::Apis::RequestOptions] options
|
145
|
+
# Request-specific options
|
146
|
+
#
|
147
|
+
# @yield [result, err] Result & error if block supplied
|
148
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1::Empty] parsed result object
|
149
|
+
# @yieldparam err [StandardError] error object if request failed
|
150
|
+
#
|
151
|
+
# @return [Google::Apis::RuntimeconfigV1::Empty]
|
152
|
+
#
|
153
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
154
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
|
+
def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
157
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
158
|
+
command.request_representation = Google::Apis::RuntimeconfigV1::CancelOperationRequest::Representation
|
159
|
+
command.request_object = cancel_operation_request_object
|
160
|
+
command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation
|
161
|
+
command.response_class = Google::Apis::RuntimeconfigV1::Empty
|
162
|
+
command.params['name'] = name unless name.nil?
|
163
163
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
164
|
+
command.query['fields'] = fields unless fields.nil?
|
164
165
|
execute_or_queue_command(command, &block)
|
165
166
|
end
|
166
167
|
|