google-api-client 0.11.3 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- 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 +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- 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 +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -22,24 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1
|
24
24
|
|
25
|
-
class ListOperationsResponse
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class Source
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class BuildOptions
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
25
|
class StorageSource
|
44
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
27
|
|
@@ -70,13 +52,13 @@ module Google
|
|
70
52
|
include Google::Apis::Core::JsonObjectSupport
|
71
53
|
end
|
72
54
|
|
73
|
-
class
|
55
|
+
class Operation
|
74
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
57
|
|
76
58
|
include Google::Apis::Core::JsonObjectSupport
|
77
59
|
end
|
78
60
|
|
79
|
-
class
|
61
|
+
class ListBuildTriggersResponse
|
80
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
63
|
|
82
64
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -149,38 +131,29 @@ module Google
|
|
149
131
|
end
|
150
132
|
|
151
133
|
class ListOperationsResponse
|
152
|
-
|
153
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
property :next_page_token, as: 'nextPageToken'
|
155
|
-
collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
156
135
|
|
157
|
-
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
158
137
|
end
|
159
138
|
|
160
139
|
class Source
|
161
|
-
|
162
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
163
|
-
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
164
|
-
|
165
|
-
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
166
141
|
|
167
|
-
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
168
143
|
end
|
169
144
|
|
170
145
|
class BuildOptions
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
property :requested_verify_option, as: 'requestedVerifyOption'
|
175
|
-
end
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
176
149
|
end
|
177
150
|
|
178
151
|
class StorageSource
|
179
152
|
# @private
|
180
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
+
property :generation, :numeric_string => true, as: 'generation'
|
181
155
|
property :bucket, as: 'bucket'
|
182
156
|
property :object, as: 'object'
|
183
|
-
property :generation, :numeric_string => true, as: 'generation'
|
184
157
|
end
|
185
158
|
end
|
186
159
|
|
@@ -204,12 +177,12 @@ module Google
|
|
204
177
|
class SourceProvenance
|
205
178
|
# @private
|
206
179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
207
|
-
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
208
|
-
|
209
180
|
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
210
181
|
|
211
182
|
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
212
183
|
|
184
|
+
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
185
|
+
|
213
186
|
end
|
214
187
|
end
|
215
188
|
|
@@ -219,23 +192,23 @@ module Google
|
|
219
192
|
end
|
220
193
|
end
|
221
194
|
|
222
|
-
class
|
195
|
+
class Operation
|
223
196
|
# @private
|
224
197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
225
|
-
|
198
|
+
hash :response, as: 'response'
|
199
|
+
property :name, as: 'name'
|
200
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
|
226
201
|
|
202
|
+
hash :metadata, as: 'metadata'
|
203
|
+
property :done, as: 'done'
|
227
204
|
end
|
228
205
|
end
|
229
206
|
|
230
|
-
class
|
207
|
+
class ListBuildTriggersResponse
|
231
208
|
# @private
|
232
209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
233
|
-
|
234
|
-
hash :response, as: 'response'
|
235
|
-
property :name, as: 'name'
|
236
|
-
property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
|
210
|
+
collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
237
211
|
|
238
|
-
hash :metadata, as: 'metadata'
|
239
212
|
end
|
240
213
|
end
|
241
214
|
|
@@ -273,8 +246,8 @@ module Google
|
|
273
246
|
property :entrypoint, as: 'entrypoint'
|
274
247
|
property :id, as: 'id'
|
275
248
|
property :dir, as: 'dir'
|
276
|
-
collection :env, as: 'env'
|
277
249
|
collection :wait_for, as: 'waitFor'
|
250
|
+
collection :env, as: 'env'
|
278
251
|
collection :args, as: 'args'
|
279
252
|
end
|
280
253
|
end
|
@@ -305,46 +278,46 @@ module Google
|
|
305
278
|
class BuildTrigger
|
306
279
|
# @private
|
307
280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
-
property :
|
309
|
-
property :disabled, as: 'disabled'
|
281
|
+
property :filename, as: 'filename'
|
310
282
|
property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
311
283
|
|
312
|
-
property :filename, as: 'filename'
|
313
284
|
property :id, as: 'id'
|
314
285
|
property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
|
315
286
|
|
316
287
|
hash :substitutions, as: 'substitutions'
|
317
288
|
property :description, as: 'description'
|
289
|
+
property :disabled, as: 'disabled'
|
290
|
+
property :create_time, as: 'createTime'
|
318
291
|
end
|
319
292
|
end
|
320
293
|
|
321
294
|
class Build
|
322
295
|
# @private
|
323
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
-
property :
|
297
|
+
property :start_time, as: 'startTime'
|
298
|
+
hash :substitutions, as: 'substitutions'
|
299
|
+
property :create_time, as: 'createTime'
|
300
|
+
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
|
325
301
|
|
302
|
+
collection :images, as: 'images'
|
303
|
+
property :project_id, as: 'projectId'
|
304
|
+
property :finish_time, as: 'finishTime'
|
305
|
+
property :log_url, as: 'logUrl'
|
326
306
|
property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
|
327
307
|
|
308
|
+
property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
|
309
|
+
|
328
310
|
property :status_detail, as: 'statusDetail'
|
329
311
|
property :status, as: 'status'
|
330
312
|
property :timeout, as: 'timeout'
|
313
|
+
property :logs_bucket, as: 'logsBucket'
|
331
314
|
property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
|
332
315
|
|
333
|
-
property :logs_bucket, as: 'logsBucket'
|
334
316
|
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
|
335
317
|
|
336
318
|
property :build_trigger_id, as: 'buildTriggerId'
|
337
319
|
collection :tags, as: 'tags'
|
338
320
|
property :id, as: 'id'
|
339
|
-
property :start_time, as: 'startTime'
|
340
|
-
hash :substitutions, as: 'substitutions'
|
341
|
-
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
|
342
|
-
|
343
|
-
property :create_time, as: 'createTime'
|
344
|
-
collection :images, as: 'images'
|
345
|
-
property :project_id, as: 'projectId'
|
346
|
-
property :log_url, as: 'logUrl'
|
347
|
-
property :finish_time, as: 'finishTime'
|
348
321
|
end
|
349
322
|
end
|
350
323
|
|
@@ -362,6 +335,33 @@ module Google
|
|
362
335
|
|
363
336
|
end
|
364
337
|
end
|
338
|
+
|
339
|
+
class ListOperationsResponse
|
340
|
+
# @private
|
341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
+
property :next_page_token, as: 'nextPageToken'
|
343
|
+
collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation
|
344
|
+
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class Source
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
352
|
+
|
353
|
+
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
354
|
+
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
class BuildOptions
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
362
|
+
property :requested_verify_option, as: 'requestedVerifyOption'
|
363
|
+
end
|
364
|
+
end
|
365
365
|
end
|
366
366
|
end
|
367
367
|
end
|
@@ -32,21 +32,142 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/container-builder/docs/
|
34
34
|
class CloudBuildService < Google::Apis::Core::BaseService
|
35
|
-
# @return [String]
|
36
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
37
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
38
|
-
attr_accessor :quota_user
|
39
|
-
|
40
35
|
# @return [String]
|
41
36
|
# API key. Your API key identifies your project and provides you with API access,
|
42
37
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
43
38
|
attr_accessor :key
|
44
39
|
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
45
|
def initialize
|
46
46
|
super('https://cloudbuild.googleapis.com/', '')
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
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::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [String] fields
|
67
|
+
# Selector specifying which fields to include in a partial response.
|
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::CloudbuildV1::Empty] parsed result object
|
73
|
+
# @yieldparam err [StandardError] error object if request failed
|
74
|
+
#
|
75
|
+
# @return [Google::Apis::CloudbuildV1::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, quota_user: nil, fields: nil, options: nil, &block)
|
81
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
82
|
+
command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
|
83
|
+
command.request_object = cancel_operation_request_object
|
84
|
+
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
85
|
+
command.response_class = Google::Apis::CloudbuildV1::Empty
|
86
|
+
command.params['name'] = name unless name.nil?
|
87
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
+
command.query['fields'] = fields unless fields.nil?
|
89
|
+
execute_or_queue_command(command, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Lists operations that match the specified filter in the request. If the
|
93
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
94
|
+
# NOTE: the `name` binding allows API services to override the binding
|
95
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
96
|
+
# override the binding, API services can add a binding such as
|
97
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
98
|
+
# For backwards compatibility, the default name includes the operations
|
99
|
+
# collection id, however overriding users must ensure the name binding
|
100
|
+
# is the parent resource, without the operations collection id.
|
101
|
+
# @param [String] name
|
102
|
+
# The name of the operation's parent resource.
|
103
|
+
# @param [String] page_token
|
104
|
+
# The standard list page token.
|
105
|
+
# @param [Fixnum] page_size
|
106
|
+
# The standard list page size.
|
107
|
+
# @param [String] filter
|
108
|
+
# The standard list filter.
|
109
|
+
# @param [String] quota_user
|
110
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
111
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
112
|
+
# @param [String] fields
|
113
|
+
# Selector specifying which fields to include in a partial response.
|
114
|
+
# @param [Google::Apis::RequestOptions] options
|
115
|
+
# Request-specific options
|
116
|
+
#
|
117
|
+
# @yield [result, err] Result & error if block supplied
|
118
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object
|
119
|
+
# @yieldparam err [StandardError] error object if request failed
|
120
|
+
#
|
121
|
+
# @return [Google::Apis::CloudbuildV1::ListOperationsResponse]
|
122
|
+
#
|
123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
126
|
+
def list_operations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
127
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
128
|
+
command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
|
129
|
+
command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
|
130
|
+
command.params['name'] = name unless name.nil?
|
131
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
132
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
133
|
+
command.query['filter'] = filter unless filter.nil?
|
134
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
135
|
+
command.query['fields'] = fields unless fields.nil?
|
136
|
+
execute_or_queue_command(command, &block)
|
137
|
+
end
|
138
|
+
|
139
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
140
|
+
# method to poll the operation result at intervals as recommended by the API
|
141
|
+
# service.
|
142
|
+
# @param [String] name
|
143
|
+
# The name of the operation resource.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [String] fields
|
148
|
+
# Selector specifying which fields to include in a partial response.
|
149
|
+
# @param [Google::Apis::RequestOptions] options
|
150
|
+
# Request-specific options
|
151
|
+
#
|
152
|
+
# @yield [result, err] Result & error if block supplied
|
153
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::CloudbuildV1::Operation]
|
157
|
+
#
|
158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
+
def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
163
|
+
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
164
|
+
command.response_class = Google::Apis::CloudbuildV1::Operation
|
165
|
+
command.params['name'] = name unless name.nil?
|
166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
+
command.query['fields'] = fields unless fields.nil?
|
168
|
+
execute_or_queue_command(command, &block)
|
169
|
+
end
|
170
|
+
|
50
171
|
# Returns information about a previously requested build.
|
51
172
|
# The Build that is returned includes its status (e.g., success or failure,
|
52
173
|
# or in-progress), and timing information.
|
@@ -87,12 +208,12 @@ module Google
|
|
87
208
|
# successfully or unsuccessfully.
|
88
209
|
# @param [String] project_id
|
89
210
|
# ID of the project.
|
211
|
+
# @param [String] filter
|
212
|
+
# The raw filter text to constrain the results.
|
90
213
|
# @param [String] page_token
|
91
214
|
# Token to provide to skip to a particular spot in the list.
|
92
215
|
# @param [Fixnum] page_size
|
93
216
|
# Number of results to return in the list.
|
94
|
-
# @param [String] filter
|
95
|
-
# The raw filter text to constrain the results.
|
96
217
|
# @param [String] quota_user
|
97
218
|
# Available to use for quota purposes for server-side applications. Can be any
|
98
219
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -110,14 +231,14 @@ module Google
|
|
110
231
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
-
def list_project_builds(project_id,
|
234
|
+
def list_project_builds(project_id, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
114
235
|
command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
|
115
236
|
command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
|
116
237
|
command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
|
117
238
|
command.params['projectId'] = project_id unless project_id.nil?
|
239
|
+
command.query['filter'] = filter unless filter.nil?
|
118
240
|
command.query['pageToken'] = page_token unless page_token.nil?
|
119
241
|
command.query['pageSize'] = page_size unless page_size.nil?
|
120
|
-
command.query['filter'] = filter unless filter.nil?
|
121
242
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
122
243
|
command.query['fields'] = fields unless fields.nil?
|
123
244
|
execute_or_queue_command(command, &block)
|
@@ -195,6 +316,40 @@ module Google
|
|
195
316
|
execute_or_queue_command(command, &block)
|
196
317
|
end
|
197
318
|
|
319
|
+
# Deletes an BuildTrigger by its project ID and trigger ID.
|
320
|
+
# This API is experimental.
|
321
|
+
# @param [String] project_id
|
322
|
+
# ID of the project that owns the trigger.
|
323
|
+
# @param [String] trigger_id
|
324
|
+
# ID of the BuildTrigger to delete.
|
325
|
+
# @param [String] quota_user
|
326
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
327
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
328
|
+
# @param [String] fields
|
329
|
+
# Selector specifying which fields to include in a partial response.
|
330
|
+
# @param [Google::Apis::RequestOptions] options
|
331
|
+
# Request-specific options
|
332
|
+
#
|
333
|
+
# @yield [result, err] Result & error if block supplied
|
334
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
335
|
+
# @yieldparam err [StandardError] error object if request failed
|
336
|
+
#
|
337
|
+
# @return [Google::Apis::CloudbuildV1::Empty]
|
338
|
+
#
|
339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
342
|
+
def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
|
343
|
+
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
344
|
+
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
345
|
+
command.response_class = Google::Apis::CloudbuildV1::Empty
|
346
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
347
|
+
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
349
|
+
command.query['fields'] = fields unless fields.nil?
|
350
|
+
execute_or_queue_command(command, &block)
|
351
|
+
end
|
352
|
+
|
198
353
|
# Gets information about a BuildTrigger.
|
199
354
|
# This API is experimental.
|
200
355
|
# @param [String] project_id
|
@@ -330,167 +485,12 @@ module Google
|
|
330
485
|
command.query['fields'] = fields unless fields.nil?
|
331
486
|
execute_or_queue_command(command, &block)
|
332
487
|
end
|
333
|
-
|
334
|
-
# Deletes an BuildTrigger by its project ID and trigger ID.
|
335
|
-
# This API is experimental.
|
336
|
-
# @param [String] project_id
|
337
|
-
# ID of the project that owns the trigger.
|
338
|
-
# @param [String] trigger_id
|
339
|
-
# ID of the BuildTrigger to delete.
|
340
|
-
# @param [String] quota_user
|
341
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
342
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
343
|
-
# @param [String] fields
|
344
|
-
# Selector specifying which fields to include in a partial response.
|
345
|
-
# @param [Google::Apis::RequestOptions] options
|
346
|
-
# Request-specific options
|
347
|
-
#
|
348
|
-
# @yield [result, err] Result & error if block supplied
|
349
|
-
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
350
|
-
# @yieldparam err [StandardError] error object if request failed
|
351
|
-
#
|
352
|
-
# @return [Google::Apis::CloudbuildV1::Empty]
|
353
|
-
#
|
354
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
355
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
356
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
357
|
-
def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
|
358
|
-
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
359
|
-
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
360
|
-
command.response_class = Google::Apis::CloudbuildV1::Empty
|
361
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
362
|
-
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
363
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
364
|
-
command.query['fields'] = fields unless fields.nil?
|
365
|
-
execute_or_queue_command(command, &block)
|
366
|
-
end
|
367
|
-
|
368
|
-
# Lists operations that match the specified filter in the request. If the
|
369
|
-
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
370
|
-
# NOTE: the `name` binding allows API services to override the binding
|
371
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
372
|
-
# override the binding, API services can add a binding such as
|
373
|
-
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
374
|
-
# For backwards compatibility, the default name includes the operations
|
375
|
-
# collection id, however overriding users must ensure the name binding
|
376
|
-
# is the parent resource, without the operations collection id.
|
377
|
-
# @param [String] name
|
378
|
-
# The name of the operation's parent resource.
|
379
|
-
# @param [String] filter
|
380
|
-
# The standard list filter.
|
381
|
-
# @param [String] page_token
|
382
|
-
# The standard list page token.
|
383
|
-
# @param [Fixnum] page_size
|
384
|
-
# The standard list page size.
|
385
|
-
# @param [String] quota_user
|
386
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
387
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
388
|
-
# @param [String] fields
|
389
|
-
# Selector specifying which fields to include in a partial response.
|
390
|
-
# @param [Google::Apis::RequestOptions] options
|
391
|
-
# Request-specific options
|
392
|
-
#
|
393
|
-
# @yield [result, err] Result & error if block supplied
|
394
|
-
# @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object
|
395
|
-
# @yieldparam err [StandardError] error object if request failed
|
396
|
-
#
|
397
|
-
# @return [Google::Apis::CloudbuildV1::ListOperationsResponse]
|
398
|
-
#
|
399
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
400
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
401
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
402
|
-
def list_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
403
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
404
|
-
command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
|
405
|
-
command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
|
406
|
-
command.params['name'] = name unless name.nil?
|
407
|
-
command.query['filter'] = filter unless filter.nil?
|
408
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
409
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
410
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
411
|
-
command.query['fields'] = fields unless fields.nil?
|
412
|
-
execute_or_queue_command(command, &block)
|
413
|
-
end
|
414
|
-
|
415
|
-
# Gets the latest state of a long-running operation. Clients can use this
|
416
|
-
# method to poll the operation result at intervals as recommended by the API
|
417
|
-
# service.
|
418
|
-
# @param [String] name
|
419
|
-
# The name of the operation resource.
|
420
|
-
# @param [String] quota_user
|
421
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
422
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
423
|
-
# @param [String] fields
|
424
|
-
# Selector specifying which fields to include in a partial response.
|
425
|
-
# @param [Google::Apis::RequestOptions] options
|
426
|
-
# Request-specific options
|
427
|
-
#
|
428
|
-
# @yield [result, err] Result & error if block supplied
|
429
|
-
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
430
|
-
# @yieldparam err [StandardError] error object if request failed
|
431
|
-
#
|
432
|
-
# @return [Google::Apis::CloudbuildV1::Operation]
|
433
|
-
#
|
434
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
435
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
436
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
437
|
-
def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
438
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
439
|
-
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
440
|
-
command.response_class = Google::Apis::CloudbuildV1::Operation
|
441
|
-
command.params['name'] = name unless name.nil?
|
442
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
443
|
-
command.query['fields'] = fields unless fields.nil?
|
444
|
-
execute_or_queue_command(command, &block)
|
445
|
-
end
|
446
|
-
|
447
|
-
# Starts asynchronous cancellation on a long-running operation. The server
|
448
|
-
# makes a best effort to cancel the operation, but success is not
|
449
|
-
# guaranteed. If the server doesn't support this method, it returns
|
450
|
-
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
451
|
-
# Operations.GetOperation or
|
452
|
-
# other methods to check whether the cancellation succeeded or whether the
|
453
|
-
# operation completed despite cancellation. On successful cancellation,
|
454
|
-
# the operation is not deleted; instead, it becomes an operation with
|
455
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
456
|
-
# corresponding to `Code.CANCELLED`.
|
457
|
-
# @param [String] name
|
458
|
-
# The name of the operation resource to be cancelled.
|
459
|
-
# @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
|
460
|
-
# @param [String] quota_user
|
461
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
462
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
463
|
-
# @param [String] fields
|
464
|
-
# Selector specifying which fields to include in a partial response.
|
465
|
-
# @param [Google::Apis::RequestOptions] options
|
466
|
-
# Request-specific options
|
467
|
-
#
|
468
|
-
# @yield [result, err] Result & error if block supplied
|
469
|
-
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
470
|
-
# @yieldparam err [StandardError] error object if request failed
|
471
|
-
#
|
472
|
-
# @return [Google::Apis::CloudbuildV1::Empty]
|
473
|
-
#
|
474
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
475
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
476
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
477
|
-
def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
478
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
479
|
-
command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
|
480
|
-
command.request_object = cancel_operation_request_object
|
481
|
-
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
482
|
-
command.response_class = Google::Apis::CloudbuildV1::Empty
|
483
|
-
command.params['name'] = name unless name.nil?
|
484
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
485
|
-
command.query['fields'] = fields unless fields.nil?
|
486
|
-
execute_or_queue_command(command, &block)
|
487
|
-
end
|
488
488
|
|
489
489
|
protected
|
490
490
|
|
491
491
|
def apply_command_defaults(command)
|
492
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
493
492
|
command.query['key'] = key unless key.nil?
|
493
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
494
494
|
end
|
495
495
|
end
|
496
496
|
end
|