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,53 +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/manager_v1beta2/service.rb'
|
16
|
-
require 'google/apis/manager_v1beta2/classes.rb'
|
17
|
-
require 'google/apis/manager_v1beta2/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Deployment Manager API
|
22
|
-
#
|
23
|
-
# The Deployment Manager API allows users to declaratively configure, deploy and
|
24
|
-
# run complex solutions on the Google Cloud Platform.
|
25
|
-
#
|
26
|
-
# @see https://developers.google.com/deployment-manager/
|
27
|
-
module ManagerV1beta2
|
28
|
-
VERSION = 'V1beta2'
|
29
|
-
REVISION = '20140915'
|
30
|
-
|
31
|
-
# View and manage your applications deployed on Google App Engine
|
32
|
-
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
33
|
-
|
34
|
-
# View and manage your data across Google Cloud Platform services
|
35
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
|
-
|
37
|
-
# View your data across Google Cloud Platform services
|
38
|
-
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
39
|
-
|
40
|
-
# View and manage your Google Compute Engine resources
|
41
|
-
AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
|
42
|
-
|
43
|
-
# Manage your data in Google Cloud Storage
|
44
|
-
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
45
|
-
|
46
|
-
# View and manage your Google Cloud Platform management resources and deployment status information
|
47
|
-
AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
|
48
|
-
|
49
|
-
# View your Google Cloud Platform management resources and deployment status information
|
50
|
-
AUTH_NDEV_CLOUDMAN_READONLY = 'https://www.googleapis.com/auth/ndev.cloudman.readonly'
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
@@ -1,1287 +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 ManagerV1beta2
|
24
|
-
|
25
|
-
# A Compute Engine network accessConfig. Identical to the accessConfig on
|
26
|
-
# corresponding Compute Engine resource.
|
27
|
-
class AccessConfig
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Name of this access configuration.
|
31
|
-
# Corresponds to the JSON property `name`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :name
|
34
|
-
|
35
|
-
# An external IP address associated with this instance.
|
36
|
-
# Corresponds to the JSON property `natIp`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :nat_ip
|
39
|
-
|
40
|
-
# Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is
|
41
|
-
# legal.)
|
42
|
-
# Corresponds to the JSON property `type`
|
43
|
-
# @return [String]
|
44
|
-
attr_accessor :type
|
45
|
-
|
46
|
-
def initialize(**args)
|
47
|
-
update!(**args)
|
48
|
-
end
|
49
|
-
|
50
|
-
# Update properties of this object
|
51
|
-
def update!(**args)
|
52
|
-
@name = args[:name] if args.key?(:name)
|
53
|
-
@nat_ip = args[:nat_ip] if args.key?(:nat_ip)
|
54
|
-
@type = args[:type] if args.key?(:type)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# An Action encapsulates a set of commands as a single runnable module with
|
59
|
-
# additional information needed during run-time.
|
60
|
-
class Action
|
61
|
-
include Google::Apis::Core::Hashable
|
62
|
-
|
63
|
-
# A list of commands to run sequentially for this action.
|
64
|
-
# Corresponds to the JSON property `commands`
|
65
|
-
# @return [Array<String>]
|
66
|
-
attr_accessor :commands
|
67
|
-
|
68
|
-
# The timeout in milliseconds for this action to run.
|
69
|
-
# Corresponds to the JSON property `timeoutMs`
|
70
|
-
# @return [Fixnum]
|
71
|
-
attr_accessor :timeout_ms
|
72
|
-
|
73
|
-
def initialize(**args)
|
74
|
-
update!(**args)
|
75
|
-
end
|
76
|
-
|
77
|
-
# Update properties of this object
|
78
|
-
def update!(**args)
|
79
|
-
@commands = args[:commands] if args.key?(:commands)
|
80
|
-
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# An allowed port resource.
|
85
|
-
class AllowedRule
|
86
|
-
include Google::Apis::Core::Hashable
|
87
|
-
|
88
|
-
# ?tcp?, ?udp? or ?icmp?
|
89
|
-
# Corresponds to the JSON property `IPProtocol`
|
90
|
-
# @return [String]
|
91
|
-
attr_accessor :ip_protocol
|
92
|
-
|
93
|
-
# List of ports or port ranges (Example inputs include: ["22"], [?33?, "12345-
|
94
|
-
# 12349"].
|
95
|
-
# Corresponds to the JSON property `ports`
|
96
|
-
# @return [Array<String>]
|
97
|
-
attr_accessor :ports
|
98
|
-
|
99
|
-
def initialize(**args)
|
100
|
-
update!(**args)
|
101
|
-
end
|
102
|
-
|
103
|
-
# Update properties of this object
|
104
|
-
def update!(**args)
|
105
|
-
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
106
|
-
@ports = args[:ports] if args.key?(:ports)
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
#
|
111
|
-
class AutoscalingModule
|
112
|
-
include Google::Apis::Core::Hashable
|
113
|
-
|
114
|
-
#
|
115
|
-
# Corresponds to the JSON property `coolDownPeriodSec`
|
116
|
-
# @return [Fixnum]
|
117
|
-
attr_accessor :cool_down_period_sec
|
118
|
-
|
119
|
-
#
|
120
|
-
# Corresponds to the JSON property `description`
|
121
|
-
# @return [String]
|
122
|
-
attr_accessor :description
|
123
|
-
|
124
|
-
#
|
125
|
-
# Corresponds to the JSON property `maxNumReplicas`
|
126
|
-
# @return [Fixnum]
|
127
|
-
attr_accessor :max_num_replicas
|
128
|
-
|
129
|
-
#
|
130
|
-
# Corresponds to the JSON property `minNumReplicas`
|
131
|
-
# @return [Fixnum]
|
132
|
-
attr_accessor :min_num_replicas
|
133
|
-
|
134
|
-
#
|
135
|
-
# Corresponds to the JSON property `signalType`
|
136
|
-
# @return [String]
|
137
|
-
attr_accessor :signal_type
|
138
|
-
|
139
|
-
#
|
140
|
-
# Corresponds to the JSON property `targetModule`
|
141
|
-
# @return [String]
|
142
|
-
attr_accessor :target_module
|
143
|
-
|
144
|
-
# target_utilization should be in range [0,1].
|
145
|
-
# Corresponds to the JSON property `targetUtilization`
|
146
|
-
# @return [Float]
|
147
|
-
attr_accessor :target_utilization
|
148
|
-
|
149
|
-
def initialize(**args)
|
150
|
-
update!(**args)
|
151
|
-
end
|
152
|
-
|
153
|
-
# Update properties of this object
|
154
|
-
def update!(**args)
|
155
|
-
@cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
|
156
|
-
@description = args[:description] if args.key?(:description)
|
157
|
-
@max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
|
158
|
-
@min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
|
159
|
-
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
160
|
-
@target_module = args[:target_module] if args.key?(:target_module)
|
161
|
-
@target_utilization = args[:target_utilization] if args.key?(:target_utilization)
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
#
|
166
|
-
class AutoscalingModuleStatus
|
167
|
-
include Google::Apis::Core::Hashable
|
168
|
-
|
169
|
-
# [Output Only] The URL of the corresponding Autoscaling configuration.
|
170
|
-
# Corresponds to the JSON property `autoscalingConfigUrl`
|
171
|
-
# @return [String]
|
172
|
-
attr_accessor :autoscaling_config_url
|
173
|
-
|
174
|
-
def initialize(**args)
|
175
|
-
update!(**args)
|
176
|
-
end
|
177
|
-
|
178
|
-
# Update properties of this object
|
179
|
-
def update!(**args)
|
180
|
-
@autoscaling_config_url = args[:autoscaling_config_url] if args.key?(:autoscaling_config_url)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
# [Output Only] The current state of a replica or module.
|
185
|
-
class DeployState
|
186
|
-
include Google::Apis::Core::Hashable
|
187
|
-
|
188
|
-
# [Output Only] Human readable details about the current state.
|
189
|
-
# Corresponds to the JSON property `details`
|
190
|
-
# @return [String]
|
191
|
-
attr_accessor :details
|
192
|
-
|
193
|
-
# [Output Only] The status of the deployment. Possible values include:
|
194
|
-
# - UNKNOWN
|
195
|
-
# - DEPLOYING
|
196
|
-
# - DEPLOYED
|
197
|
-
# - DEPLOYMENT_FAILED
|
198
|
-
# - DELETING
|
199
|
-
# - DELETED
|
200
|
-
# - DELETE_FAILED
|
201
|
-
# Corresponds to the JSON property `status`
|
202
|
-
# @return [String]
|
203
|
-
attr_accessor :status
|
204
|
-
|
205
|
-
def initialize(**args)
|
206
|
-
update!(**args)
|
207
|
-
end
|
208
|
-
|
209
|
-
# Update properties of this object
|
210
|
-
def update!(**args)
|
211
|
-
@details = args[:details] if args.key?(:details)
|
212
|
-
@status = args[:status] if args.key?(:status)
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
# A deployment represents a physical instantiation of a Template.
|
217
|
-
class Deployment
|
218
|
-
include Google::Apis::Core::Hashable
|
219
|
-
|
220
|
-
# [Output Only] The time when this deployment was created.
|
221
|
-
# Corresponds to the JSON property `creationDate`
|
222
|
-
# @return [String]
|
223
|
-
attr_accessor :creation_date
|
224
|
-
|
225
|
-
# A user-supplied description of this Deployment.
|
226
|
-
# Corresponds to the JSON property `description`
|
227
|
-
# @return [String]
|
228
|
-
attr_accessor :description
|
229
|
-
|
230
|
-
# [Output Only] List of status for the modules in this deployment.
|
231
|
-
# Corresponds to the JSON property `modules`
|
232
|
-
# @return [Hash<String,Google::Apis::ManagerV1beta2::ModuleStatus>]
|
233
|
-
attr_accessor :modules
|
234
|
-
|
235
|
-
# Name of this deployment. The name must conform to the following regular
|
236
|
-
# expression: [a-zA-Z0-9-_]`1,64`
|
237
|
-
# Corresponds to the JSON property `name`
|
238
|
-
# @return [String]
|
239
|
-
attr_accessor :name
|
240
|
-
|
241
|
-
# The set of parameter overrides to apply to the corresponding Template before
|
242
|
-
# deploying.
|
243
|
-
# Corresponds to the JSON property `overrides`
|
244
|
-
# @return [Array<Google::Apis::ManagerV1beta2::ParamOverride>]
|
245
|
-
attr_accessor :overrides
|
246
|
-
|
247
|
-
# [Output Only] The current state of a replica or module.
|
248
|
-
# Corresponds to the JSON property `state`
|
249
|
-
# @return [Google::Apis::ManagerV1beta2::DeployState]
|
250
|
-
attr_accessor :state
|
251
|
-
|
252
|
-
# The name of the Template on which this deployment is based.
|
253
|
-
# Corresponds to the JSON property `templateName`
|
254
|
-
# @return [String]
|
255
|
-
attr_accessor :template_name
|
256
|
-
|
257
|
-
def initialize(**args)
|
258
|
-
update!(**args)
|
259
|
-
end
|
260
|
-
|
261
|
-
# Update properties of this object
|
262
|
-
def update!(**args)
|
263
|
-
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
264
|
-
@description = args[:description] if args.key?(:description)
|
265
|
-
@modules = args[:modules] if args.key?(:modules)
|
266
|
-
@name = args[:name] if args.key?(:name)
|
267
|
-
@overrides = args[:overrides] if args.key?(:overrides)
|
268
|
-
@state = args[:state] if args.key?(:state)
|
269
|
-
@template_name = args[:template_name] if args.key?(:template_name)
|
270
|
-
end
|
271
|
-
end
|
272
|
-
|
273
|
-
#
|
274
|
-
class ListDeploymentsResponse
|
275
|
-
include Google::Apis::Core::Hashable
|
276
|
-
|
277
|
-
#
|
278
|
-
# Corresponds to the JSON property `nextPageToken`
|
279
|
-
# @return [String]
|
280
|
-
attr_accessor :next_page_token
|
281
|
-
|
282
|
-
#
|
283
|
-
# Corresponds to the JSON property `resources`
|
284
|
-
# @return [Array<Google::Apis::ManagerV1beta2::Deployment>]
|
285
|
-
attr_accessor :resources
|
286
|
-
|
287
|
-
def initialize(**args)
|
288
|
-
update!(**args)
|
289
|
-
end
|
290
|
-
|
291
|
-
# Update properties of this object
|
292
|
-
def update!(**args)
|
293
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
294
|
-
@resources = args[:resources] if args.key?(:resources)
|
295
|
-
end
|
296
|
-
end
|
297
|
-
|
298
|
-
# How to attach a disk to a Replica.
|
299
|
-
class DiskAttachment
|
300
|
-
include Google::Apis::Core::Hashable
|
301
|
-
|
302
|
-
# The device name of this disk.
|
303
|
-
# Corresponds to the JSON property `deviceName`
|
304
|
-
# @return [String]
|
305
|
-
attr_accessor :device_name
|
306
|
-
|
307
|
-
# A zero-based index to assign to this disk, where 0 is reserved for the boot
|
308
|
-
# disk. If not specified, this is assigned by the server.
|
309
|
-
# Corresponds to the JSON property `index`
|
310
|
-
# @return [Fixnum]
|
311
|
-
attr_accessor :index
|
312
|
-
|
313
|
-
def initialize(**args)
|
314
|
-
update!(**args)
|
315
|
-
end
|
316
|
-
|
317
|
-
# Update properties of this object
|
318
|
-
def update!(**args)
|
319
|
-
@device_name = args[:device_name] if args.key?(:device_name)
|
320
|
-
@index = args[:index] if args.key?(:index)
|
321
|
-
end
|
322
|
-
end
|
323
|
-
|
324
|
-
# An environment variable.
|
325
|
-
class EnvVariable
|
326
|
-
include Google::Apis::Core::Hashable
|
327
|
-
|
328
|
-
# Whether this variable is hidden or visible.
|
329
|
-
# Corresponds to the JSON property `hidden`
|
330
|
-
# @return [Boolean]
|
331
|
-
attr_accessor :hidden
|
332
|
-
alias_method :hidden?, :hidden
|
333
|
-
|
334
|
-
# Value of the environment variable.
|
335
|
-
# Corresponds to the JSON property `value`
|
336
|
-
# @return [String]
|
337
|
-
attr_accessor :value
|
338
|
-
|
339
|
-
def initialize(**args)
|
340
|
-
update!(**args)
|
341
|
-
end
|
342
|
-
|
343
|
-
# Update properties of this object
|
344
|
-
def update!(**args)
|
345
|
-
@hidden = args[:hidden] if args.key?(:hidden)
|
346
|
-
@value = args[:value] if args.key?(:value)
|
347
|
-
end
|
348
|
-
end
|
349
|
-
|
350
|
-
# A pre-existing persistent disk that will be attached to every Replica in the
|
351
|
-
# Pool.
|
352
|
-
class ExistingDisk
|
353
|
-
include Google::Apis::Core::Hashable
|
354
|
-
|
355
|
-
# How to attach a disk to a Replica.
|
356
|
-
# Corresponds to the JSON property `attachment`
|
357
|
-
# @return [Google::Apis::ManagerV1beta2::DiskAttachment]
|
358
|
-
attr_accessor :attachment
|
359
|
-
|
360
|
-
# The fully-qualified URL of the Persistent Disk resource. It must be in the
|
361
|
-
# same zone as the Pool.
|
362
|
-
# Corresponds to the JSON property `source`
|
363
|
-
# @return [String]
|
364
|
-
attr_accessor :source
|
365
|
-
|
366
|
-
def initialize(**args)
|
367
|
-
update!(**args)
|
368
|
-
end
|
369
|
-
|
370
|
-
# Update properties of this object
|
371
|
-
def update!(**args)
|
372
|
-
@attachment = args[:attachment] if args.key?(:attachment)
|
373
|
-
@source = args[:source] if args.key?(:source)
|
374
|
-
end
|
375
|
-
end
|
376
|
-
|
377
|
-
# A Firewall resource
|
378
|
-
class FirewallModule
|
379
|
-
include Google::Apis::Core::Hashable
|
380
|
-
|
381
|
-
# The allowed ports or port ranges.
|
382
|
-
# Corresponds to the JSON property `allowed`
|
383
|
-
# @return [Array<Google::Apis::ManagerV1beta2::AllowedRule>]
|
384
|
-
attr_accessor :allowed
|
385
|
-
|
386
|
-
# The description of the firewall (optional)
|
387
|
-
# Corresponds to the JSON property `description`
|
388
|
-
# @return [String]
|
389
|
-
attr_accessor :description
|
390
|
-
|
391
|
-
# The NetworkModule to which this firewall should apply. If not specified, or if
|
392
|
-
# specified as 'default', this firewall will be applied to the 'default' network.
|
393
|
-
# Corresponds to the JSON property `network`
|
394
|
-
# @return [String]
|
395
|
-
attr_accessor :network
|
396
|
-
|
397
|
-
# Source IP ranges to apply this firewall to, see the GCE Spec for details on
|
398
|
-
# syntax
|
399
|
-
# Corresponds to the JSON property `sourceRanges`
|
400
|
-
# @return [Array<String>]
|
401
|
-
attr_accessor :source_ranges
|
402
|
-
|
403
|
-
# Source Tags to apply this firewall to, see the GCE Spec for details on syntax
|
404
|
-
# Corresponds to the JSON property `sourceTags`
|
405
|
-
# @return [Array<String>]
|
406
|
-
attr_accessor :source_tags
|
407
|
-
|
408
|
-
# Target Tags to apply this firewall to, see the GCE Spec for details on syntax
|
409
|
-
# Corresponds to the JSON property `targetTags`
|
410
|
-
# @return [Array<String>]
|
411
|
-
attr_accessor :target_tags
|
412
|
-
|
413
|
-
def initialize(**args)
|
414
|
-
update!(**args)
|
415
|
-
end
|
416
|
-
|
417
|
-
# Update properties of this object
|
418
|
-
def update!(**args)
|
419
|
-
@allowed = args[:allowed] if args.key?(:allowed)
|
420
|
-
@description = args[:description] if args.key?(:description)
|
421
|
-
@network = args[:network] if args.key?(:network)
|
422
|
-
@source_ranges = args[:source_ranges] if args.key?(:source_ranges)
|
423
|
-
@source_tags = args[:source_tags] if args.key?(:source_tags)
|
424
|
-
@target_tags = args[:target_tags] if args.key?(:target_tags)
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
#
|
429
|
-
class FirewallModuleStatus
|
430
|
-
include Google::Apis::Core::Hashable
|
431
|
-
|
432
|
-
# [Output Only] The URL of the corresponding Firewall resource.
|
433
|
-
# Corresponds to the JSON property `firewallUrl`
|
434
|
-
# @return [String]
|
435
|
-
attr_accessor :firewall_url
|
436
|
-
|
437
|
-
def initialize(**args)
|
438
|
-
update!(**args)
|
439
|
-
end
|
440
|
-
|
441
|
-
# Update properties of this object
|
442
|
-
def update!(**args)
|
443
|
-
@firewall_url = args[:firewall_url] if args.key?(:firewall_url)
|
444
|
-
end
|
445
|
-
end
|
446
|
-
|
447
|
-
#
|
448
|
-
class HealthCheckModule
|
449
|
-
include Google::Apis::Core::Hashable
|
450
|
-
|
451
|
-
#
|
452
|
-
# Corresponds to the JSON property `checkIntervalSec`
|
453
|
-
# @return [Fixnum]
|
454
|
-
attr_accessor :check_interval_sec
|
455
|
-
|
456
|
-
#
|
457
|
-
# Corresponds to the JSON property `description`
|
458
|
-
# @return [String]
|
459
|
-
attr_accessor :description
|
460
|
-
|
461
|
-
#
|
462
|
-
# Corresponds to the JSON property `healthyThreshold`
|
463
|
-
# @return [Fixnum]
|
464
|
-
attr_accessor :healthy_threshold
|
465
|
-
|
466
|
-
#
|
467
|
-
# Corresponds to the JSON property `host`
|
468
|
-
# @return [String]
|
469
|
-
attr_accessor :host
|
470
|
-
|
471
|
-
#
|
472
|
-
# Corresponds to the JSON property `path`
|
473
|
-
# @return [String]
|
474
|
-
attr_accessor :path
|
475
|
-
|
476
|
-
#
|
477
|
-
# Corresponds to the JSON property `port`
|
478
|
-
# @return [Fixnum]
|
479
|
-
attr_accessor :port
|
480
|
-
|
481
|
-
#
|
482
|
-
# Corresponds to the JSON property `timeoutSec`
|
483
|
-
# @return [Fixnum]
|
484
|
-
attr_accessor :timeout_sec
|
485
|
-
|
486
|
-
#
|
487
|
-
# Corresponds to the JSON property `unhealthyThreshold`
|
488
|
-
# @return [Fixnum]
|
489
|
-
attr_accessor :unhealthy_threshold
|
490
|
-
|
491
|
-
def initialize(**args)
|
492
|
-
update!(**args)
|
493
|
-
end
|
494
|
-
|
495
|
-
# Update properties of this object
|
496
|
-
def update!(**args)
|
497
|
-
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
498
|
-
@description = args[:description] if args.key?(:description)
|
499
|
-
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
500
|
-
@host = args[:host] if args.key?(:host)
|
501
|
-
@path = args[:path] if args.key?(:path)
|
502
|
-
@port = args[:port] if args.key?(:port)
|
503
|
-
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
504
|
-
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
505
|
-
end
|
506
|
-
end
|
507
|
-
|
508
|
-
#
|
509
|
-
class HealthCheckModuleStatus
|
510
|
-
include Google::Apis::Core::Hashable
|
511
|
-
|
512
|
-
# [Output Only] The HealthCheck URL.
|
513
|
-
# Corresponds to the JSON property `healthCheckUrl`
|
514
|
-
# @return [String]
|
515
|
-
attr_accessor :health_check_url
|
516
|
-
|
517
|
-
def initialize(**args)
|
518
|
-
update!(**args)
|
519
|
-
end
|
520
|
-
|
521
|
-
# Update properties of this object
|
522
|
-
def update!(**args)
|
523
|
-
@health_check_url = args[:health_check_url] if args.key?(:health_check_url)
|
524
|
-
end
|
525
|
-
end
|
526
|
-
|
527
|
-
#
|
528
|
-
class LbModule
|
529
|
-
include Google::Apis::Core::Hashable
|
530
|
-
|
531
|
-
#
|
532
|
-
# Corresponds to the JSON property `description`
|
533
|
-
# @return [String]
|
534
|
-
attr_accessor :description
|
535
|
-
|
536
|
-
#
|
537
|
-
# Corresponds to the JSON property `healthChecks`
|
538
|
-
# @return [Array<String>]
|
539
|
-
attr_accessor :health_checks
|
540
|
-
|
541
|
-
#
|
542
|
-
# Corresponds to the JSON property `ipAddress`
|
543
|
-
# @return [String]
|
544
|
-
attr_accessor :ip_address
|
545
|
-
|
546
|
-
#
|
547
|
-
# Corresponds to the JSON property `ipProtocol`
|
548
|
-
# @return [String]
|
549
|
-
attr_accessor :ip_protocol
|
550
|
-
|
551
|
-
#
|
552
|
-
# Corresponds to the JSON property `portRange`
|
553
|
-
# @return [String]
|
554
|
-
attr_accessor :port_range
|
555
|
-
|
556
|
-
#
|
557
|
-
# Corresponds to the JSON property `sessionAffinity`
|
558
|
-
# @return [String]
|
559
|
-
attr_accessor :session_affinity
|
560
|
-
|
561
|
-
#
|
562
|
-
# Corresponds to the JSON property `targetModules`
|
563
|
-
# @return [Array<String>]
|
564
|
-
attr_accessor :target_modules
|
565
|
-
|
566
|
-
def initialize(**args)
|
567
|
-
update!(**args)
|
568
|
-
end
|
569
|
-
|
570
|
-
# Update properties of this object
|
571
|
-
def update!(**args)
|
572
|
-
@description = args[:description] if args.key?(:description)
|
573
|
-
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
574
|
-
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
575
|
-
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
576
|
-
@port_range = args[:port_range] if args.key?(:port_range)
|
577
|
-
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
578
|
-
@target_modules = args[:target_modules] if args.key?(:target_modules)
|
579
|
-
end
|
580
|
-
end
|
581
|
-
|
582
|
-
#
|
583
|
-
class LbModuleStatus
|
584
|
-
include Google::Apis::Core::Hashable
|
585
|
-
|
586
|
-
# [Output Only] The URL of the corresponding ForwardingRule in GCE.
|
587
|
-
# Corresponds to the JSON property `forwardingRuleUrl`
|
588
|
-
# @return [String]
|
589
|
-
attr_accessor :forwarding_rule_url
|
590
|
-
|
591
|
-
# [Output Only] The URL of the corresponding TargetPool resource in GCE.
|
592
|
-
# Corresponds to the JSON property `targetPoolUrl`
|
593
|
-
# @return [String]
|
594
|
-
attr_accessor :target_pool_url
|
595
|
-
|
596
|
-
def initialize(**args)
|
597
|
-
update!(**args)
|
598
|
-
end
|
599
|
-
|
600
|
-
# Update properties of this object
|
601
|
-
def update!(**args)
|
602
|
-
@forwarding_rule_url = args[:forwarding_rule_url] if args.key?(:forwarding_rule_url)
|
603
|
-
@target_pool_url = args[:target_pool_url] if args.key?(:target_pool_url)
|
604
|
-
end
|
605
|
-
end
|
606
|
-
|
607
|
-
# A Compute Engine metadata entry. Identical to the metadata on the
|
608
|
-
# corresponding Compute Engine resource.
|
609
|
-
class Metadata
|
610
|
-
include Google::Apis::Core::Hashable
|
611
|
-
|
612
|
-
# The fingerprint of the metadata.
|
613
|
-
# Corresponds to the JSON property `fingerPrint`
|
614
|
-
# @return [String]
|
615
|
-
attr_accessor :finger_print
|
616
|
-
|
617
|
-
# A list of metadata items.
|
618
|
-
# Corresponds to the JSON property `items`
|
619
|
-
# @return [Array<Google::Apis::ManagerV1beta2::MetadataItem>]
|
620
|
-
attr_accessor :items
|
621
|
-
|
622
|
-
def initialize(**args)
|
623
|
-
update!(**args)
|
624
|
-
end
|
625
|
-
|
626
|
-
# Update properties of this object
|
627
|
-
def update!(**args)
|
628
|
-
@finger_print = args[:finger_print] if args.key?(:finger_print)
|
629
|
-
@items = args[:items] if args.key?(:items)
|
630
|
-
end
|
631
|
-
end
|
632
|
-
|
633
|
-
# A Compute Engine metadata item, defined as a key:value pair. Identical to the
|
634
|
-
# metadata on the corresponding Compute Engine resource.
|
635
|
-
class MetadataItem
|
636
|
-
include Google::Apis::Core::Hashable
|
637
|
-
|
638
|
-
# A metadata key.
|
639
|
-
# Corresponds to the JSON property `key`
|
640
|
-
# @return [String]
|
641
|
-
attr_accessor :key
|
642
|
-
|
643
|
-
# A metadata value.
|
644
|
-
# Corresponds to the JSON property `value`
|
645
|
-
# @return [String]
|
646
|
-
attr_accessor :value
|
647
|
-
|
648
|
-
def initialize(**args)
|
649
|
-
update!(**args)
|
650
|
-
end
|
651
|
-
|
652
|
-
# Update properties of this object
|
653
|
-
def update!(**args)
|
654
|
-
@key = args[:key] if args.key?(:key)
|
655
|
-
@value = args[:value] if args.key?(:value)
|
656
|
-
end
|
657
|
-
end
|
658
|
-
|
659
|
-
# A module in a configuration. A module represents a single homogeneous,
|
660
|
-
# possibly replicated task.
|
661
|
-
class Module
|
662
|
-
include Google::Apis::Core::Hashable
|
663
|
-
|
664
|
-
#
|
665
|
-
# Corresponds to the JSON property `autoscalingModule`
|
666
|
-
# @return [Google::Apis::ManagerV1beta2::AutoscalingModule]
|
667
|
-
attr_accessor :autoscaling_module
|
668
|
-
|
669
|
-
# A Firewall resource
|
670
|
-
# Corresponds to the JSON property `firewallModule`
|
671
|
-
# @return [Google::Apis::ManagerV1beta2::FirewallModule]
|
672
|
-
attr_accessor :firewall_module
|
673
|
-
|
674
|
-
#
|
675
|
-
# Corresponds to the JSON property `healthCheckModule`
|
676
|
-
# @return [Google::Apis::ManagerV1beta2::HealthCheckModule]
|
677
|
-
attr_accessor :health_check_module
|
678
|
-
|
679
|
-
#
|
680
|
-
# Corresponds to the JSON property `lbModule`
|
681
|
-
# @return [Google::Apis::ManagerV1beta2::LbModule]
|
682
|
-
attr_accessor :lb_module
|
683
|
-
|
684
|
-
#
|
685
|
-
# Corresponds to the JSON property `networkModule`
|
686
|
-
# @return [Google::Apis::ManagerV1beta2::NetworkModule]
|
687
|
-
attr_accessor :network_module
|
688
|
-
|
689
|
-
#
|
690
|
-
# Corresponds to the JSON property `replicaPoolModule`
|
691
|
-
# @return [Google::Apis::ManagerV1beta2::ReplicaPoolModule]
|
692
|
-
attr_accessor :replica_pool_module
|
693
|
-
|
694
|
-
# The type of this module. Valid values ("AUTOSCALING", "FIREWALL", "
|
695
|
-
# HEALTH_CHECK", "LOAD_BALANCING", "NETWORK", "REPLICA_POOL")
|
696
|
-
# Corresponds to the JSON property `type`
|
697
|
-
# @return [String]
|
698
|
-
attr_accessor :type
|
699
|
-
|
700
|
-
def initialize(**args)
|
701
|
-
update!(**args)
|
702
|
-
end
|
703
|
-
|
704
|
-
# Update properties of this object
|
705
|
-
def update!(**args)
|
706
|
-
@autoscaling_module = args[:autoscaling_module] if args.key?(:autoscaling_module)
|
707
|
-
@firewall_module = args[:firewall_module] if args.key?(:firewall_module)
|
708
|
-
@health_check_module = args[:health_check_module] if args.key?(:health_check_module)
|
709
|
-
@lb_module = args[:lb_module] if args.key?(:lb_module)
|
710
|
-
@network_module = args[:network_module] if args.key?(:network_module)
|
711
|
-
@replica_pool_module = args[:replica_pool_module] if args.key?(:replica_pool_module)
|
712
|
-
@type = args[:type] if args.key?(:type)
|
713
|
-
end
|
714
|
-
end
|
715
|
-
|
716
|
-
# [Output Only] Aggregate status for a module.
|
717
|
-
class ModuleStatus
|
718
|
-
include Google::Apis::Core::Hashable
|
719
|
-
|
720
|
-
# [Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
|
721
|
-
# Corresponds to the JSON property `autoscalingModuleStatus`
|
722
|
-
# @return [Google::Apis::ManagerV1beta2::AutoscalingModuleStatus]
|
723
|
-
attr_accessor :autoscaling_module_status
|
724
|
-
|
725
|
-
# [Output Only] The status of the FirewallModule, set for type FIREWALL.
|
726
|
-
# Corresponds to the JSON property `firewallModuleStatus`
|
727
|
-
# @return [Google::Apis::ManagerV1beta2::FirewallModuleStatus]
|
728
|
-
attr_accessor :firewall_module_status
|
729
|
-
|
730
|
-
# [Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
|
731
|
-
# Corresponds to the JSON property `healthCheckModuleStatus`
|
732
|
-
# @return [Google::Apis::ManagerV1beta2::HealthCheckModuleStatus]
|
733
|
-
attr_accessor :health_check_module_status
|
734
|
-
|
735
|
-
# [Output Only] The status of the LbModule, set for type LOAD_BALANCING.
|
736
|
-
# Corresponds to the JSON property `lbModuleStatus`
|
737
|
-
# @return [Google::Apis::ManagerV1beta2::LbModuleStatus]
|
738
|
-
attr_accessor :lb_module_status
|
739
|
-
|
740
|
-
# [Output Only] The status of the NetworkModule, set for type NETWORK.
|
741
|
-
# Corresponds to the JSON property `networkModuleStatus`
|
742
|
-
# @return [Google::Apis::ManagerV1beta2::NetworkModuleStatus]
|
743
|
-
attr_accessor :network_module_status
|
744
|
-
|
745
|
-
# [Output Only] The status of the ReplicaPoolModule, set for type VM.
|
746
|
-
# Corresponds to the JSON property `replicaPoolModuleStatus`
|
747
|
-
# @return [Google::Apis::ManagerV1beta2::ReplicaPoolModuleStatus]
|
748
|
-
attr_accessor :replica_pool_module_status
|
749
|
-
|
750
|
-
# [Output Only] The current state of a replica or module.
|
751
|
-
# Corresponds to the JSON property `state`
|
752
|
-
# @return [Google::Apis::ManagerV1beta2::DeployState]
|
753
|
-
attr_accessor :state
|
754
|
-
|
755
|
-
# [Output Only] The type of the module.
|
756
|
-
# Corresponds to the JSON property `type`
|
757
|
-
# @return [String]
|
758
|
-
attr_accessor :type
|
759
|
-
|
760
|
-
def initialize(**args)
|
761
|
-
update!(**args)
|
762
|
-
end
|
763
|
-
|
764
|
-
# Update properties of this object
|
765
|
-
def update!(**args)
|
766
|
-
@autoscaling_module_status = args[:autoscaling_module_status] if args.key?(:autoscaling_module_status)
|
767
|
-
@firewall_module_status = args[:firewall_module_status] if args.key?(:firewall_module_status)
|
768
|
-
@health_check_module_status = args[:health_check_module_status] if args.key?(:health_check_module_status)
|
769
|
-
@lb_module_status = args[:lb_module_status] if args.key?(:lb_module_status)
|
770
|
-
@network_module_status = args[:network_module_status] if args.key?(:network_module_status)
|
771
|
-
@replica_pool_module_status = args[:replica_pool_module_status] if args.key?(:replica_pool_module_status)
|
772
|
-
@state = args[:state] if args.key?(:state)
|
773
|
-
@type = args[:type] if args.key?(:type)
|
774
|
-
end
|
775
|
-
end
|
776
|
-
|
777
|
-
# A Compute Engine NetworkInterface resource. Identical to the NetworkInterface
|
778
|
-
# on the corresponding Compute Engine resource.
|
779
|
-
class NetworkInterface
|
780
|
-
include Google::Apis::Core::Hashable
|
781
|
-
|
782
|
-
# An array of configurations for this interface. This specifies how this
|
783
|
-
# interface is configured to interact with other network services
|
784
|
-
# Corresponds to the JSON property `accessConfigs`
|
785
|
-
# @return [Array<Google::Apis::ManagerV1beta2::AccessConfig>]
|
786
|
-
attr_accessor :access_configs
|
787
|
-
|
788
|
-
# Name of the interface.
|
789
|
-
# Corresponds to the JSON property `name`
|
790
|
-
# @return [String]
|
791
|
-
attr_accessor :name
|
792
|
-
|
793
|
-
# The name of the NetworkModule to which this interface applies. If not
|
794
|
-
# specified, or specified as 'default', this will use the 'default' network.
|
795
|
-
# Corresponds to the JSON property `network`
|
796
|
-
# @return [String]
|
797
|
-
attr_accessor :network
|
798
|
-
|
799
|
-
# An optional IPV4 internal network address to assign to the instance for this
|
800
|
-
# network interface.
|
801
|
-
# Corresponds to the JSON property `networkIp`
|
802
|
-
# @return [String]
|
803
|
-
attr_accessor :network_ip
|
804
|
-
|
805
|
-
def initialize(**args)
|
806
|
-
update!(**args)
|
807
|
-
end
|
808
|
-
|
809
|
-
# Update properties of this object
|
810
|
-
def update!(**args)
|
811
|
-
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
812
|
-
@name = args[:name] if args.key?(:name)
|
813
|
-
@network = args[:network] if args.key?(:network)
|
814
|
-
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
815
|
-
end
|
816
|
-
end
|
817
|
-
|
818
|
-
#
|
819
|
-
class NetworkModule
|
820
|
-
include Google::Apis::Core::Hashable
|
821
|
-
|
822
|
-
# Required; The range of internal addresses that are legal on this network. This
|
823
|
-
# range is a CIDR specification, for example: 192.168.0.0/16.
|
824
|
-
# Corresponds to the JSON property `IPv4Range`
|
825
|
-
# @return [String]
|
826
|
-
attr_accessor :i_pv4_range
|
827
|
-
|
828
|
-
# The description of the network.
|
829
|
-
# Corresponds to the JSON property `description`
|
830
|
-
# @return [String]
|
831
|
-
attr_accessor :description
|
832
|
-
|
833
|
-
# An optional address that is used for default routing to other networks. This
|
834
|
-
# must be within the range specified by IPv4Range, and is typicall the first
|
835
|
-
# usable address in that range. If not specified, the default value is the first
|
836
|
-
# usable address in IPv4Range.
|
837
|
-
# Corresponds to the JSON property `gatewayIPv4`
|
838
|
-
# @return [String]
|
839
|
-
attr_accessor :gateway_i_pv4
|
840
|
-
|
841
|
-
def initialize(**args)
|
842
|
-
update!(**args)
|
843
|
-
end
|
844
|
-
|
845
|
-
# Update properties of this object
|
846
|
-
def update!(**args)
|
847
|
-
@i_pv4_range = args[:i_pv4_range] if args.key?(:i_pv4_range)
|
848
|
-
@description = args[:description] if args.key?(:description)
|
849
|
-
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
850
|
-
end
|
851
|
-
end
|
852
|
-
|
853
|
-
#
|
854
|
-
class NetworkModuleStatus
|
855
|
-
include Google::Apis::Core::Hashable
|
856
|
-
|
857
|
-
# [Output Only] The URL of the corresponding Network resource.
|
858
|
-
# Corresponds to the JSON property `networkUrl`
|
859
|
-
# @return [String]
|
860
|
-
attr_accessor :network_url
|
861
|
-
|
862
|
-
def initialize(**args)
|
863
|
-
update!(**args)
|
864
|
-
end
|
865
|
-
|
866
|
-
# Update properties of this object
|
867
|
-
def update!(**args)
|
868
|
-
@network_url = args[:network_url] if args.key?(:network_url)
|
869
|
-
end
|
870
|
-
end
|
871
|
-
|
872
|
-
# A Persistent Disk resource that will be created and attached to each Replica
|
873
|
-
# in the Pool. Each Replica will have a unique persistent disk that is created
|
874
|
-
# and attached to that Replica.
|
875
|
-
class NewDisk
|
876
|
-
include Google::Apis::Core::Hashable
|
877
|
-
|
878
|
-
# How to attach a disk to a Replica.
|
879
|
-
# Corresponds to the JSON property `attachment`
|
880
|
-
# @return [Google::Apis::ManagerV1beta2::DiskAttachment]
|
881
|
-
attr_accessor :attachment
|
882
|
-
|
883
|
-
# If true, then this disk will be deleted when the instance is deleted.
|
884
|
-
# Corresponds to the JSON property `autoDelete`
|
885
|
-
# @return [Boolean]
|
886
|
-
attr_accessor :auto_delete
|
887
|
-
alias_method :auto_delete?, :auto_delete
|
888
|
-
|
889
|
-
# If true, indicates that this is the root persistent disk.
|
890
|
-
# Corresponds to the JSON property `boot`
|
891
|
-
# @return [Boolean]
|
892
|
-
attr_accessor :boot
|
893
|
-
alias_method :boot?, :boot
|
894
|
-
|
895
|
-
# Initialization parameters for creating a new disk.
|
896
|
-
# Corresponds to the JSON property `initializeParams`
|
897
|
-
# @return [Google::Apis::ManagerV1beta2::NewDiskInitializeParams]
|
898
|
-
attr_accessor :initialize_params
|
899
|
-
|
900
|
-
def initialize(**args)
|
901
|
-
update!(**args)
|
902
|
-
end
|
903
|
-
|
904
|
-
# Update properties of this object
|
905
|
-
def update!(**args)
|
906
|
-
@attachment = args[:attachment] if args.key?(:attachment)
|
907
|
-
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
|
908
|
-
@boot = args[:boot] if args.key?(:boot)
|
909
|
-
@initialize_params = args[:initialize_params] if args.key?(:initialize_params)
|
910
|
-
end
|
911
|
-
end
|
912
|
-
|
913
|
-
# Initialization parameters for creating a new disk.
|
914
|
-
class NewDiskInitializeParams
|
915
|
-
include Google::Apis::Core::Hashable
|
916
|
-
|
917
|
-
# The size of the created disk in gigabytes.
|
918
|
-
# Corresponds to the JSON property `diskSizeGb`
|
919
|
-
# @return [String]
|
920
|
-
attr_accessor :disk_size_gb
|
921
|
-
|
922
|
-
# Name of the disk type resource describing which disk type to use to create the
|
923
|
-
# disk. For example 'pd-ssd' or 'pd-standard'. Default is 'pd-standard'
|
924
|
-
# Corresponds to the JSON property `diskType`
|
925
|
-
# @return [String]
|
926
|
-
attr_accessor :disk_type
|
927
|
-
|
928
|
-
# The fully-qualified URL of a source image to use to create this disk.
|
929
|
-
# Corresponds to the JSON property `sourceImage`
|
930
|
-
# @return [String]
|
931
|
-
attr_accessor :source_image
|
932
|
-
|
933
|
-
def initialize(**args)
|
934
|
-
update!(**args)
|
935
|
-
end
|
936
|
-
|
937
|
-
# Update properties of this object
|
938
|
-
def update!(**args)
|
939
|
-
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
940
|
-
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
941
|
-
@source_image = args[:source_image] if args.key?(:source_image)
|
942
|
-
end
|
943
|
-
end
|
944
|
-
|
945
|
-
# A specification for overriding parameters in a Template that corresponds to
|
946
|
-
# the Deployment.
|
947
|
-
class ParamOverride
|
948
|
-
include Google::Apis::Core::Hashable
|
949
|
-
|
950
|
-
# A JSON Path expression that specifies which parameter should be overridden.
|
951
|
-
# Corresponds to the JSON property `path`
|
952
|
-
# @return [String]
|
953
|
-
attr_accessor :path
|
954
|
-
|
955
|
-
# The new value to assign to the overridden parameter.
|
956
|
-
# Corresponds to the JSON property `value`
|
957
|
-
# @return [String]
|
958
|
-
attr_accessor :value
|
959
|
-
|
960
|
-
def initialize(**args)
|
961
|
-
update!(**args)
|
962
|
-
end
|
963
|
-
|
964
|
-
# Update properties of this object
|
965
|
-
def update!(**args)
|
966
|
-
@path = args[:path] if args.key?(:path)
|
967
|
-
@value = args[:value] if args.key?(:value)
|
968
|
-
end
|
969
|
-
end
|
970
|
-
|
971
|
-
#
|
972
|
-
class ReplicaPoolModule
|
973
|
-
include Google::Apis::Core::Hashable
|
974
|
-
|
975
|
-
# A list of environment variables.
|
976
|
-
# Corresponds to the JSON property `envVariables`
|
977
|
-
# @return [Hash<String,Google::Apis::ManagerV1beta2::EnvVariable>]
|
978
|
-
attr_accessor :env_variables
|
979
|
-
|
980
|
-
# The Health Checks to configure for the ReplicaPoolModule
|
981
|
-
# Corresponds to the JSON property `healthChecks`
|
982
|
-
# @return [Array<String>]
|
983
|
-
attr_accessor :health_checks
|
984
|
-
|
985
|
-
# Number of replicas in this module.
|
986
|
-
# Corresponds to the JSON property `numReplicas`
|
987
|
-
# @return [Fixnum]
|
988
|
-
attr_accessor :num_replicas
|
989
|
-
|
990
|
-
# Configuration information for a ReplicaPools resource. Specifying an item
|
991
|
-
# within will determine the ReplicaPools API version used for a
|
992
|
-
# ReplicaPoolModule. Only one may be specified.
|
993
|
-
# Corresponds to the JSON property `replicaPoolParams`
|
994
|
-
# @return [Google::Apis::ManagerV1beta2::ReplicaPoolParams]
|
995
|
-
attr_accessor :replica_pool_params
|
996
|
-
|
997
|
-
# [Output Only] The name of the Resource View associated with a
|
998
|
-
# ReplicaPoolModule. This field will be generated by the service.
|
999
|
-
# Corresponds to the JSON property `resourceView`
|
1000
|
-
# @return [String]
|
1001
|
-
attr_accessor :resource_view
|
1002
|
-
|
1003
|
-
def initialize(**args)
|
1004
|
-
update!(**args)
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
# Update properties of this object
|
1008
|
-
def update!(**args)
|
1009
|
-
@env_variables = args[:env_variables] if args.key?(:env_variables)
|
1010
|
-
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
1011
|
-
@num_replicas = args[:num_replicas] if args.key?(:num_replicas)
|
1012
|
-
@replica_pool_params = args[:replica_pool_params] if args.key?(:replica_pool_params)
|
1013
|
-
@resource_view = args[:resource_view] if args.key?(:resource_view)
|
1014
|
-
end
|
1015
|
-
end
|
1016
|
-
|
1017
|
-
#
|
1018
|
-
class ReplicaPoolModuleStatus
|
1019
|
-
include Google::Apis::Core::Hashable
|
1020
|
-
|
1021
|
-
# [Output Only] The URL of the associated ReplicaPool resource.
|
1022
|
-
# Corresponds to the JSON property `replicaPoolUrl`
|
1023
|
-
# @return [String]
|
1024
|
-
attr_accessor :replica_pool_url
|
1025
|
-
|
1026
|
-
# [Output Only] The URL of the Resource Group associated with this ReplicaPool.
|
1027
|
-
# Corresponds to the JSON property `resourceViewUrl`
|
1028
|
-
# @return [String]
|
1029
|
-
attr_accessor :resource_view_url
|
1030
|
-
|
1031
|
-
def initialize(**args)
|
1032
|
-
update!(**args)
|
1033
|
-
end
|
1034
|
-
|
1035
|
-
# Update properties of this object
|
1036
|
-
def update!(**args)
|
1037
|
-
@replica_pool_url = args[:replica_pool_url] if args.key?(:replica_pool_url)
|
1038
|
-
@resource_view_url = args[:resource_view_url] if args.key?(:resource_view_url)
|
1039
|
-
end
|
1040
|
-
end
|
1041
|
-
|
1042
|
-
# Configuration information for a ReplicaPools resource. Specifying an item
|
1043
|
-
# within will determine the ReplicaPools API version used for a
|
1044
|
-
# ReplicaPoolModule. Only one may be specified.
|
1045
|
-
class ReplicaPoolParams
|
1046
|
-
include Google::Apis::Core::Hashable
|
1047
|
-
|
1048
|
-
# Configuration information for a ReplicaPools v1beta1 API resource. Directly
|
1049
|
-
# maps to ReplicaPool InitTemplate.
|
1050
|
-
# Corresponds to the JSON property `v1beta1`
|
1051
|
-
# @return [Google::Apis::ManagerV1beta2::ReplicaPoolParamsV1Beta1]
|
1052
|
-
attr_accessor :v1beta1
|
1053
|
-
|
1054
|
-
def initialize(**args)
|
1055
|
-
update!(**args)
|
1056
|
-
end
|
1057
|
-
|
1058
|
-
# Update properties of this object
|
1059
|
-
def update!(**args)
|
1060
|
-
@v1beta1 = args[:v1beta1] if args.key?(:v1beta1)
|
1061
|
-
end
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
# Configuration information for a ReplicaPools v1beta1 API resource. Directly
|
1065
|
-
# maps to ReplicaPool InitTemplate.
|
1066
|
-
class ReplicaPoolParamsV1Beta1
|
1067
|
-
include Google::Apis::Core::Hashable
|
1068
|
-
|
1069
|
-
# Whether these replicas should be restarted if they experience a failure. The
|
1070
|
-
# default value is true.
|
1071
|
-
# Corresponds to the JSON property `autoRestart`
|
1072
|
-
# @return [Boolean]
|
1073
|
-
attr_accessor :auto_restart
|
1074
|
-
alias_method :auto_restart?, :auto_restart
|
1075
|
-
|
1076
|
-
# The base name for instances within this ReplicaPool.
|
1077
|
-
# Corresponds to the JSON property `baseInstanceName`
|
1078
|
-
# @return [String]
|
1079
|
-
attr_accessor :base_instance_name
|
1080
|
-
|
1081
|
-
# Enables IP Forwarding
|
1082
|
-
# Corresponds to the JSON property `canIpForward`
|
1083
|
-
# @return [Boolean]
|
1084
|
-
attr_accessor :can_ip_forward
|
1085
|
-
alias_method :can_ip_forward?, :can_ip_forward
|
1086
|
-
|
1087
|
-
# An optional textual description of the resource.
|
1088
|
-
# Corresponds to the JSON property `description`
|
1089
|
-
# @return [String]
|
1090
|
-
attr_accessor :description
|
1091
|
-
|
1092
|
-
# A list of existing Persistent Disk resources to attach to each replica in the
|
1093
|
-
# pool. Each disk will be attached in read-only mode to every replica.
|
1094
|
-
# Corresponds to the JSON property `disksToAttach`
|
1095
|
-
# @return [Array<Google::Apis::ManagerV1beta2::ExistingDisk>]
|
1096
|
-
attr_accessor :disks_to_attach
|
1097
|
-
|
1098
|
-
# A list of Disk resources to create and attach to each Replica in the Pool.
|
1099
|
-
# Currently, you can only define one disk and it must be a root persistent disk.
|
1100
|
-
# Note that Replica Pool will create a root persistent disk for each replica.
|
1101
|
-
# Corresponds to the JSON property `disksToCreate`
|
1102
|
-
# @return [Array<Google::Apis::ManagerV1beta2::NewDisk>]
|
1103
|
-
attr_accessor :disks_to_create
|
1104
|
-
|
1105
|
-
# Name of the Action to be run during initialization of a ReplicaPoolModule.
|
1106
|
-
# Corresponds to the JSON property `initAction`
|
1107
|
-
# @return [String]
|
1108
|
-
attr_accessor :init_action
|
1109
|
-
|
1110
|
-
# The machine type for this instance. Either a complete URL, or the resource
|
1111
|
-
# name (e.g. n1-standard-1).
|
1112
|
-
# Corresponds to the JSON property `machineType`
|
1113
|
-
# @return [String]
|
1114
|
-
attr_accessor :machine_type
|
1115
|
-
|
1116
|
-
# A Compute Engine metadata entry. Identical to the metadata on the
|
1117
|
-
# corresponding Compute Engine resource.
|
1118
|
-
# Corresponds to the JSON property `metadata`
|
1119
|
-
# @return [Google::Apis::ManagerV1beta2::Metadata]
|
1120
|
-
attr_accessor :metadata
|
1121
|
-
|
1122
|
-
# A list of network interfaces for the instance. Currently only one interface is
|
1123
|
-
# supported by Google Compute Engine.
|
1124
|
-
# Corresponds to the JSON property `networkInterfaces`
|
1125
|
-
# @return [Array<Google::Apis::ManagerV1beta2::NetworkInterface>]
|
1126
|
-
attr_accessor :network_interfaces
|
1127
|
-
|
1128
|
-
#
|
1129
|
-
# Corresponds to the JSON property `onHostMaintenance`
|
1130
|
-
# @return [String]
|
1131
|
-
attr_accessor :on_host_maintenance
|
1132
|
-
|
1133
|
-
# A list of Service Accounts to enable for this instance.
|
1134
|
-
# Corresponds to the JSON property `serviceAccounts`
|
1135
|
-
# @return [Array<Google::Apis::ManagerV1beta2::ServiceAccount>]
|
1136
|
-
attr_accessor :service_accounts
|
1137
|
-
|
1138
|
-
# A Compute Engine Instance tag, identical to the tags on the corresponding
|
1139
|
-
# Compute Engine Instance resource.
|
1140
|
-
# Corresponds to the JSON property `tags`
|
1141
|
-
# @return [Google::Apis::ManagerV1beta2::Tag]
|
1142
|
-
attr_accessor :tags
|
1143
|
-
|
1144
|
-
# The zone for this ReplicaPool.
|
1145
|
-
# Corresponds to the JSON property `zone`
|
1146
|
-
# @return [String]
|
1147
|
-
attr_accessor :zone
|
1148
|
-
|
1149
|
-
def initialize(**args)
|
1150
|
-
update!(**args)
|
1151
|
-
end
|
1152
|
-
|
1153
|
-
# Update properties of this object
|
1154
|
-
def update!(**args)
|
1155
|
-
@auto_restart = args[:auto_restart] if args.key?(:auto_restart)
|
1156
|
-
@base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
|
1157
|
-
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
1158
|
-
@description = args[:description] if args.key?(:description)
|
1159
|
-
@disks_to_attach = args[:disks_to_attach] if args.key?(:disks_to_attach)
|
1160
|
-
@disks_to_create = args[:disks_to_create] if args.key?(:disks_to_create)
|
1161
|
-
@init_action = args[:init_action] if args.key?(:init_action)
|
1162
|
-
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1163
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1164
|
-
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
1165
|
-
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
1166
|
-
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
1167
|
-
@tags = args[:tags] if args.key?(:tags)
|
1168
|
-
@zone = args[:zone] if args.key?(:zone)
|
1169
|
-
end
|
1170
|
-
end
|
1171
|
-
|
1172
|
-
# A Compute Engine service account, identical to the Compute Engine resource.
|
1173
|
-
class ServiceAccount
|
1174
|
-
include Google::Apis::Core::Hashable
|
1175
|
-
|
1176
|
-
# Service account email address.
|
1177
|
-
# Corresponds to the JSON property `email`
|
1178
|
-
# @return [String]
|
1179
|
-
attr_accessor :email
|
1180
|
-
|
1181
|
-
# List of OAuth2 scopes to obtain for the service account.
|
1182
|
-
# Corresponds to the JSON property `scopes`
|
1183
|
-
# @return [Array<String>]
|
1184
|
-
attr_accessor :scopes
|
1185
|
-
|
1186
|
-
def initialize(**args)
|
1187
|
-
update!(**args)
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
# Update properties of this object
|
1191
|
-
def update!(**args)
|
1192
|
-
@email = args[:email] if args.key?(:email)
|
1193
|
-
@scopes = args[:scopes] if args.key?(:scopes)
|
1194
|
-
end
|
1195
|
-
end
|
1196
|
-
|
1197
|
-
# A Compute Engine Instance tag, identical to the tags on the corresponding
|
1198
|
-
# Compute Engine Instance resource.
|
1199
|
-
class Tag
|
1200
|
-
include Google::Apis::Core::Hashable
|
1201
|
-
|
1202
|
-
# The fingerprint of the tag.
|
1203
|
-
# Corresponds to the JSON property `fingerPrint`
|
1204
|
-
# @return [String]
|
1205
|
-
attr_accessor :finger_print
|
1206
|
-
|
1207
|
-
# Items contained in this tag.
|
1208
|
-
# Corresponds to the JSON property `items`
|
1209
|
-
# @return [Array<String>]
|
1210
|
-
attr_accessor :items
|
1211
|
-
|
1212
|
-
def initialize(**args)
|
1213
|
-
update!(**args)
|
1214
|
-
end
|
1215
|
-
|
1216
|
-
# Update properties of this object
|
1217
|
-
def update!(**args)
|
1218
|
-
@finger_print = args[:finger_print] if args.key?(:finger_print)
|
1219
|
-
@items = args[:items] if args.key?(:items)
|
1220
|
-
end
|
1221
|
-
end
|
1222
|
-
|
1223
|
-
# A Template represents a complete configuration for a Deployment.
|
1224
|
-
class Template
|
1225
|
-
include Google::Apis::Core::Hashable
|
1226
|
-
|
1227
|
-
# Action definitions for use in Module intents in this Template.
|
1228
|
-
# Corresponds to the JSON property `actions`
|
1229
|
-
# @return [Hash<String,Google::Apis::ManagerV1beta2::Action>]
|
1230
|
-
attr_accessor :actions
|
1231
|
-
|
1232
|
-
# A user-supplied description of this Template.
|
1233
|
-
# Corresponds to the JSON property `description`
|
1234
|
-
# @return [String]
|
1235
|
-
attr_accessor :description
|
1236
|
-
|
1237
|
-
# A list of modules for this Template.
|
1238
|
-
# Corresponds to the JSON property `modules`
|
1239
|
-
# @return [Hash<String,Google::Apis::ManagerV1beta2::Module>]
|
1240
|
-
attr_accessor :modules
|
1241
|
-
|
1242
|
-
# Name of this Template. The name must conform to the expression: [a-zA-Z0-9-_]`
|
1243
|
-
# 1,64`
|
1244
|
-
# Corresponds to the JSON property `name`
|
1245
|
-
# @return [String]
|
1246
|
-
attr_accessor :name
|
1247
|
-
|
1248
|
-
def initialize(**args)
|
1249
|
-
update!(**args)
|
1250
|
-
end
|
1251
|
-
|
1252
|
-
# Update properties of this object
|
1253
|
-
def update!(**args)
|
1254
|
-
@actions = args[:actions] if args.key?(:actions)
|
1255
|
-
@description = args[:description] if args.key?(:description)
|
1256
|
-
@modules = args[:modules] if args.key?(:modules)
|
1257
|
-
@name = args[:name] if args.key?(:name)
|
1258
|
-
end
|
1259
|
-
end
|
1260
|
-
|
1261
|
-
#
|
1262
|
-
class ListTemplatesResponse
|
1263
|
-
include Google::Apis::Core::Hashable
|
1264
|
-
|
1265
|
-
#
|
1266
|
-
# Corresponds to the JSON property `nextPageToken`
|
1267
|
-
# @return [String]
|
1268
|
-
attr_accessor :next_page_token
|
1269
|
-
|
1270
|
-
#
|
1271
|
-
# Corresponds to the JSON property `resources`
|
1272
|
-
# @return [Array<Google::Apis::ManagerV1beta2::Template>]
|
1273
|
-
attr_accessor :resources
|
1274
|
-
|
1275
|
-
def initialize(**args)
|
1276
|
-
update!(**args)
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
# Update properties of this object
|
1280
|
-
def update!(**args)
|
1281
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1282
|
-
@resources = args[:resources] if args.key?(:resources)
|
1283
|
-
end
|
1284
|
-
end
|
1285
|
-
end
|
1286
|
-
end
|
1287
|
-
end
|