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
@@ -1,177 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module ContainerV1beta1
|
24
|
-
|
25
|
-
class Cluster
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
end
|
28
|
-
|
29
|
-
class CreateClusterRequest
|
30
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
31
|
-
end
|
32
|
-
|
33
|
-
class ListAggregatedClustersResponse
|
34
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
35
|
-
end
|
36
|
-
|
37
|
-
class ListAggregatedOperationsResponse
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
end
|
40
|
-
|
41
|
-
class ListClustersResponse
|
42
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
43
|
-
end
|
44
|
-
|
45
|
-
class ListOperationsResponse
|
46
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
47
|
-
end
|
48
|
-
|
49
|
-
class MasterAuth
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
end
|
52
|
-
|
53
|
-
class NodeConfig
|
54
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
|
-
end
|
56
|
-
|
57
|
-
class Operation
|
58
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
59
|
-
end
|
60
|
-
|
61
|
-
class ServiceAccount
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
end
|
64
|
-
|
65
|
-
class Cluster
|
66
|
-
# @private
|
67
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
68
|
-
property :cluster_api_version, as: 'clusterApiVersion'
|
69
|
-
property :container_ipv4_cidr, as: 'containerIpv4Cidr'
|
70
|
-
property :creation_timestamp, as: 'creationTimestamp'
|
71
|
-
property :description, as: 'description'
|
72
|
-
property :enable_cloud_logging, as: 'enableCloudLogging'
|
73
|
-
property :enable_cloud_monitoring, as: 'enableCloudMonitoring'
|
74
|
-
property :endpoint, as: 'endpoint'
|
75
|
-
collection :instance_group_urls, as: 'instanceGroupUrls'
|
76
|
-
property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation
|
77
|
-
|
78
|
-
property :name, as: 'name'
|
79
|
-
property :network, as: 'network'
|
80
|
-
property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
|
81
|
-
|
82
|
-
property :node_routing_prefix_size, as: 'nodeRoutingPrefixSize'
|
83
|
-
property :num_nodes, as: 'numNodes'
|
84
|
-
property :self_link, as: 'selfLink'
|
85
|
-
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
86
|
-
property :status, as: 'status'
|
87
|
-
property :status_message, as: 'statusMessage'
|
88
|
-
property :zone, as: 'zone'
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class CreateClusterRequest
|
93
|
-
# @private
|
94
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
95
|
-
property :cluster, as: 'cluster', class: Google::Apis::ContainerV1beta1::Cluster, decorator: Google::Apis::ContainerV1beta1::Cluster::Representation
|
96
|
-
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
class ListAggregatedClustersResponse
|
101
|
-
# @private
|
102
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
103
|
-
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1beta1::Cluster, decorator: Google::Apis::ContainerV1beta1::Cluster::Representation
|
104
|
-
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
class ListAggregatedOperationsResponse
|
109
|
-
# @private
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
111
|
-
collection :operations, as: 'operations', class: Google::Apis::ContainerV1beta1::Operation, decorator: Google::Apis::ContainerV1beta1::Operation::Representation
|
112
|
-
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
class ListClustersResponse
|
117
|
-
# @private
|
118
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
119
|
-
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1beta1::Cluster, decorator: Google::Apis::ContainerV1beta1::Cluster::Representation
|
120
|
-
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
class ListOperationsResponse
|
125
|
-
# @private
|
126
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
127
|
-
collection :operations, as: 'operations', class: Google::Apis::ContainerV1beta1::Operation, decorator: Google::Apis::ContainerV1beta1::Operation::Representation
|
128
|
-
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
class MasterAuth
|
133
|
-
# @private
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
135
|
-
property :bearer_token, as: 'bearerToken'
|
136
|
-
property :client_certificate, as: 'clientCertificate'
|
137
|
-
property :client_key, as: 'clientKey'
|
138
|
-
property :cluster_ca_certificate, as: 'clusterCaCertificate'
|
139
|
-
property :password, as: 'password'
|
140
|
-
property :user, as: 'user'
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
class NodeConfig
|
145
|
-
# @private
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
147
|
-
property :machine_type, as: 'machineType'
|
148
|
-
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ContainerV1beta1::ServiceAccount, decorator: Google::Apis::ContainerV1beta1::ServiceAccount::Representation
|
149
|
-
|
150
|
-
property :source_image, as: 'sourceImage'
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
class Operation
|
155
|
-
# @private
|
156
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
157
|
-
property :error_message, as: 'errorMessage'
|
158
|
-
property :name, as: 'name'
|
159
|
-
property :operation_type, as: 'operationType'
|
160
|
-
property :self_link, as: 'selfLink'
|
161
|
-
property :status, as: 'status'
|
162
|
-
property :target, as: 'target'
|
163
|
-
property :target_link, as: 'targetLink'
|
164
|
-
property :zone, as: 'zone'
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
class ServiceAccount
|
169
|
-
# @private
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
171
|
-
property :email, as: 'email'
|
172
|
-
collection :scopes, as: 'scopes'
|
173
|
-
end
|
174
|
-
end
|
175
|
-
end
|
176
|
-
end
|
177
|
-
end
|
@@ -1,394 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module ContainerV1beta1
|
23
|
-
# Google Container Engine API
|
24
|
-
#
|
25
|
-
# The Google Container Engine API is used for building and managing container
|
26
|
-
# based applications, powered by the open source Kubernetes technology.
|
27
|
-
#
|
28
|
-
# @example
|
29
|
-
# require 'google/apis/container_v1beta1'
|
30
|
-
#
|
31
|
-
# Container = Google::Apis::ContainerV1beta1 # Alias the module
|
32
|
-
# service = Container::ContainerService.new
|
33
|
-
#
|
34
|
-
# @see https://cloud.google.com/container-engine/docs/v1beta1/
|
35
|
-
class ContainerService < Google::Apis::Core::BaseService
|
36
|
-
# @return [String]
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
-
attr_accessor :key
|
40
|
-
|
41
|
-
# @return [String]
|
42
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
-
# Overrides userIp if both are provided.
|
45
|
-
attr_accessor :quota_user
|
46
|
-
|
47
|
-
# @return [String]
|
48
|
-
# IP address of the site where the request originates. Use this if you want to
|
49
|
-
# enforce per-user limits.
|
50
|
-
attr_accessor :user_ip
|
51
|
-
|
52
|
-
def initialize
|
53
|
-
super('https://www.googleapis.com/', 'container/v1beta1/projects/')
|
54
|
-
end
|
55
|
-
|
56
|
-
# Lists all clusters owned by a project across all zones.
|
57
|
-
# @param [String] project_id
|
58
|
-
# The Google Developers Console project ID or project number.
|
59
|
-
# @param [String] fields
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
61
|
-
# @param [String] quota_user
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
-
# Overrides userIp if both are provided.
|
65
|
-
# @param [String] user_ip
|
66
|
-
# IP address of the site where the request originates. Use this if you want to
|
67
|
-
# enforce per-user limits.
|
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::ContainerV1beta1::ListAggregatedClustersResponse] parsed result object
|
73
|
-
# @yieldparam err [StandardError] error object if request failed
|
74
|
-
#
|
75
|
-
# @return [Google::Apis::ContainerV1beta1::ListAggregatedClustersResponse]
|
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 list_clusters(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
81
|
-
path = '{projectId}/clusters'
|
82
|
-
command = make_simple_command(:get, path, options)
|
83
|
-
command.response_representation = Google::Apis::ContainerV1beta1::ListAggregatedClustersResponse::Representation
|
84
|
-
command.response_class = Google::Apis::ContainerV1beta1::ListAggregatedClustersResponse
|
85
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
86
|
-
command.query['fields'] = fields unless fields.nil?
|
87
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
89
|
-
execute_or_queue_command(command, &block)
|
90
|
-
end
|
91
|
-
|
92
|
-
# Lists all operations in a project, across all zones.
|
93
|
-
# @param [String] project_id
|
94
|
-
# The Google Developers Console project ID or project number.
|
95
|
-
# @param [String] fields
|
96
|
-
# Selector specifying which fields to include in a partial response.
|
97
|
-
# @param [String] quota_user
|
98
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
-
# Overrides userIp if both are provided.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# IP address of the site where the request originates. Use this if you want to
|
103
|
-
# enforce per-user limits.
|
104
|
-
# @param [Google::Apis::RequestOptions] options
|
105
|
-
# Request-specific options
|
106
|
-
#
|
107
|
-
# @yield [result, err] Result & error if block supplied
|
108
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::ListAggregatedOperationsResponse] parsed result object
|
109
|
-
# @yieldparam err [StandardError] error object if request failed
|
110
|
-
#
|
111
|
-
# @return [Google::Apis::ContainerV1beta1::ListAggregatedOperationsResponse]
|
112
|
-
#
|
113
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def list_operations(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
|
-
path = '{projectId}/operations'
|
118
|
-
command = make_simple_command(:get, path, options)
|
119
|
-
command.response_representation = Google::Apis::ContainerV1beta1::ListAggregatedOperationsResponse::Representation
|
120
|
-
command.response_class = Google::Apis::ContainerV1beta1::ListAggregatedOperationsResponse
|
121
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
122
|
-
command.query['fields'] = fields unless fields.nil?
|
123
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
125
|
-
execute_or_queue_command(command, &block)
|
126
|
-
end
|
127
|
-
|
128
|
-
# Creates a cluster, consisting of the specified number and type of Google
|
129
|
-
# Compute Engine instances, plus a Kubernetes master instance.
|
130
|
-
# The cluster is created in the project's default network.
|
131
|
-
# A firewall is added that allows traffic into port 443 on the master, which
|
132
|
-
# enables HTTPS. A firewall and a route is added for each node to allow the
|
133
|
-
# containers on that node to communicate with all other instances in the cluster.
|
134
|
-
# Finally, an entry is added to the project's global metadata indicating which
|
135
|
-
# CIDR range is being used by the cluster.
|
136
|
-
# @param [String] project_id
|
137
|
-
# The Google Developers Console project ID or project number.
|
138
|
-
# @param [String] zone_id
|
139
|
-
# The name of the Google Compute Engine zone in which the cluster resides.
|
140
|
-
# @param [Google::Apis::ContainerV1beta1::CreateClusterRequest] create_cluster_request_object
|
141
|
-
# @param [String] fields
|
142
|
-
# Selector specifying which fields to include in a partial response.
|
143
|
-
# @param [String] quota_user
|
144
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
-
# Overrides userIp if both are provided.
|
147
|
-
# @param [String] user_ip
|
148
|
-
# IP address of the site where the request originates. Use this if you want to
|
149
|
-
# enforce per-user limits.
|
150
|
-
# @param [Google::Apis::RequestOptions] options
|
151
|
-
# Request-specific options
|
152
|
-
#
|
153
|
-
# @yield [result, err] Result & error if block supplied
|
154
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
155
|
-
# @yieldparam err [StandardError] error object if request failed
|
156
|
-
#
|
157
|
-
# @return [Google::Apis::ContainerV1beta1::Operation]
|
158
|
-
#
|
159
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
160
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
161
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
162
|
-
def create_cluster(project_id, zone_id, create_cluster_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
163
|
-
path = '{projectId}/zones/{zoneId}/clusters'
|
164
|
-
command = make_simple_command(:post, path, options)
|
165
|
-
command.request_representation = Google::Apis::ContainerV1beta1::CreateClusterRequest::Representation
|
166
|
-
command.request_object = create_cluster_request_object
|
167
|
-
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
168
|
-
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
169
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
170
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
171
|
-
command.query['fields'] = fields unless fields.nil?
|
172
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
174
|
-
execute_or_queue_command(command, &block)
|
175
|
-
end
|
176
|
-
|
177
|
-
# Deletes the cluster, including the Kubernetes master and all worker nodes.
|
178
|
-
# Firewalls and routes that were configured at cluster creation are also deleted.
|
179
|
-
# @param [String] project_id
|
180
|
-
# The Google Developers Console project ID or project number.
|
181
|
-
# @param [String] zone_id
|
182
|
-
# The name of the Google Compute Engine zone in which the cluster resides.
|
183
|
-
# @param [String] cluster_id
|
184
|
-
# The name of the cluster to delete.
|
185
|
-
# @param [String] fields
|
186
|
-
# Selector specifying which fields to include in a partial response.
|
187
|
-
# @param [String] quota_user
|
188
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
189
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
190
|
-
# Overrides userIp if both are provided.
|
191
|
-
# @param [String] user_ip
|
192
|
-
# IP address of the site where the request originates. Use this if you want to
|
193
|
-
# enforce per-user limits.
|
194
|
-
# @param [Google::Apis::RequestOptions] options
|
195
|
-
# Request-specific options
|
196
|
-
#
|
197
|
-
# @yield [result, err] Result & error if block supplied
|
198
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
199
|
-
# @yieldparam err [StandardError] error object if request failed
|
200
|
-
#
|
201
|
-
# @return [Google::Apis::ContainerV1beta1::Operation]
|
202
|
-
#
|
203
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
-
def delete_zone_cluster(project_id, zone_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
207
|
-
path = '{projectId}/zones/{zoneId}/clusters/{clusterId}'
|
208
|
-
command = make_simple_command(:delete, path, options)
|
209
|
-
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
210
|
-
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
211
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
212
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
213
|
-
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
214
|
-
command.query['fields'] = fields unless fields.nil?
|
215
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
216
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
217
|
-
execute_or_queue_command(command, &block)
|
218
|
-
end
|
219
|
-
|
220
|
-
# Gets a specific cluster.
|
221
|
-
# @param [String] project_id
|
222
|
-
# The Google Developers Console project ID or project number.
|
223
|
-
# @param [String] zone_id
|
224
|
-
# The name of the Google Compute Engine zone in which the cluster resides.
|
225
|
-
# @param [String] cluster_id
|
226
|
-
# The name of the cluster to retrieve.
|
227
|
-
# @param [String] fields
|
228
|
-
# Selector specifying which fields to include in a partial response.
|
229
|
-
# @param [String] quota_user
|
230
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
231
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
232
|
-
# Overrides userIp if both are provided.
|
233
|
-
# @param [String] user_ip
|
234
|
-
# IP address of the site where the request originates. Use this if you want to
|
235
|
-
# enforce per-user limits.
|
236
|
-
# @param [Google::Apis::RequestOptions] options
|
237
|
-
# Request-specific options
|
238
|
-
#
|
239
|
-
# @yield [result, err] Result & error if block supplied
|
240
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::Cluster] parsed result object
|
241
|
-
# @yieldparam err [StandardError] error object if request failed
|
242
|
-
#
|
243
|
-
# @return [Google::Apis::ContainerV1beta1::Cluster]
|
244
|
-
#
|
245
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
246
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
247
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
248
|
-
def get_zone_cluster(project_id, zone_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
249
|
-
path = '{projectId}/zones/{zoneId}/clusters/{clusterId}'
|
250
|
-
command = make_simple_command(:get, path, options)
|
251
|
-
command.response_representation = Google::Apis::ContainerV1beta1::Cluster::Representation
|
252
|
-
command.response_class = Google::Apis::ContainerV1beta1::Cluster
|
253
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
254
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
255
|
-
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
256
|
-
command.query['fields'] = fields unless fields.nil?
|
257
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
258
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
259
|
-
execute_or_queue_command(command, &block)
|
260
|
-
end
|
261
|
-
|
262
|
-
# Lists all clusters owned by a project in the specified zone.
|
263
|
-
# @param [String] project_id
|
264
|
-
# The Google Developers Console project ID or project number.
|
265
|
-
# @param [String] zone_id
|
266
|
-
# The name of the Google Compute Engine zone in which the cluster resides.
|
267
|
-
# @param [String] fields
|
268
|
-
# Selector specifying which fields to include in a partial response.
|
269
|
-
# @param [String] quota_user
|
270
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
271
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
272
|
-
# Overrides userIp if both are provided.
|
273
|
-
# @param [String] user_ip
|
274
|
-
# IP address of the site where the request originates. Use this if you want to
|
275
|
-
# enforce per-user limits.
|
276
|
-
# @param [Google::Apis::RequestOptions] options
|
277
|
-
# Request-specific options
|
278
|
-
#
|
279
|
-
# @yield [result, err] Result & error if block supplied
|
280
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::ListClustersResponse] parsed result object
|
281
|
-
# @yieldparam err [StandardError] error object if request failed
|
282
|
-
#
|
283
|
-
# @return [Google::Apis::ContainerV1beta1::ListClustersResponse]
|
284
|
-
#
|
285
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
286
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
287
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
288
|
-
def list_zone_clusters(project_id, zone_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
289
|
-
path = '{projectId}/zones/{zoneId}/clusters'
|
290
|
-
command = make_simple_command(:get, path, options)
|
291
|
-
command.response_representation = Google::Apis::ContainerV1beta1::ListClustersResponse::Representation
|
292
|
-
command.response_class = Google::Apis::ContainerV1beta1::ListClustersResponse
|
293
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
294
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
295
|
-
command.query['fields'] = fields unless fields.nil?
|
296
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
297
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
298
|
-
execute_or_queue_command(command, &block)
|
299
|
-
end
|
300
|
-
|
301
|
-
# Gets the specified operation.
|
302
|
-
# @param [String] project_id
|
303
|
-
# The Google Developers Console project ID or project number.
|
304
|
-
# @param [String] zone_id
|
305
|
-
# The name of the Google Compute Engine zone in which the operation resides.
|
306
|
-
# This is always the same zone as the cluster with which the operation is
|
307
|
-
# associated.
|
308
|
-
# @param [String] operation_id
|
309
|
-
# The server-assigned name of the operation.
|
310
|
-
# @param [String] fields
|
311
|
-
# Selector specifying which fields to include in a partial response.
|
312
|
-
# @param [String] quota_user
|
313
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
314
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
315
|
-
# Overrides userIp if both are provided.
|
316
|
-
# @param [String] user_ip
|
317
|
-
# IP address of the site where the request originates. Use this if you want to
|
318
|
-
# enforce per-user limits.
|
319
|
-
# @param [Google::Apis::RequestOptions] options
|
320
|
-
# Request-specific options
|
321
|
-
#
|
322
|
-
# @yield [result, err] Result & error if block supplied
|
323
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
324
|
-
# @yieldparam err [StandardError] error object if request failed
|
325
|
-
#
|
326
|
-
# @return [Google::Apis::ContainerV1beta1::Operation]
|
327
|
-
#
|
328
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
329
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
330
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
331
|
-
def get_zone_operation(project_id, zone_id, operation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
332
|
-
path = '{projectId}/zones/{zoneId}/operations/{operationId}'
|
333
|
-
command = make_simple_command(:get, path, options)
|
334
|
-
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
335
|
-
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
336
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
337
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
338
|
-
command.params['operationId'] = operation_id unless operation_id.nil?
|
339
|
-
command.query['fields'] = fields unless fields.nil?
|
340
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
341
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
342
|
-
execute_or_queue_command(command, &block)
|
343
|
-
end
|
344
|
-
|
345
|
-
# Lists all operations in a project in a specific zone.
|
346
|
-
# @param [String] project_id
|
347
|
-
# The Google Developers Console project ID or project number.
|
348
|
-
# @param [String] zone_id
|
349
|
-
# The name of the Google Compute Engine zone to return operations for.
|
350
|
-
# @param [String] fields
|
351
|
-
# Selector specifying which fields to include in a partial response.
|
352
|
-
# @param [String] quota_user
|
353
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
354
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
355
|
-
# Overrides userIp if both are provided.
|
356
|
-
# @param [String] user_ip
|
357
|
-
# IP address of the site where the request originates. Use this if you want to
|
358
|
-
# enforce per-user limits.
|
359
|
-
# @param [Google::Apis::RequestOptions] options
|
360
|
-
# Request-specific options
|
361
|
-
#
|
362
|
-
# @yield [result, err] Result & error if block supplied
|
363
|
-
# @yieldparam result [Google::Apis::ContainerV1beta1::ListOperationsResponse] parsed result object
|
364
|
-
# @yieldparam err [StandardError] error object if request failed
|
365
|
-
#
|
366
|
-
# @return [Google::Apis::ContainerV1beta1::ListOperationsResponse]
|
367
|
-
#
|
368
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
369
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
370
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
371
|
-
def list_zone_operations(project_id, zone_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
372
|
-
path = '{projectId}/zones/{zoneId}/operations'
|
373
|
-
command = make_simple_command(:get, path, options)
|
374
|
-
command.response_representation = Google::Apis::ContainerV1beta1::ListOperationsResponse::Representation
|
375
|
-
command.response_class = Google::Apis::ContainerV1beta1::ListOperationsResponse
|
376
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
377
|
-
command.params['zoneId'] = zone_id unless zone_id.nil?
|
378
|
-
command.query['fields'] = fields unless fields.nil?
|
379
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
380
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
381
|
-
execute_or_queue_command(command, &block)
|
382
|
-
end
|
383
|
-
|
384
|
-
protected
|
385
|
-
|
386
|
-
def apply_command_defaults(command)
|
387
|
-
command.query['key'] = key unless key.nil?
|
388
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
390
|
-
end
|
391
|
-
end
|
392
|
-
end
|
393
|
-
end
|
394
|
-
end
|