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,35 +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/appengine_v1beta4/service.rb'
|
16
|
-
require 'google/apis/appengine_v1beta4/classes.rb'
|
17
|
-
require 'google/apis/appengine_v1beta4/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google App Engine Admin API
|
22
|
-
#
|
23
|
-
# The Google App Engine Admin API enables developers to provision and manage
|
24
|
-
# their App Engine applications.
|
25
|
-
#
|
26
|
-
# @see https://cloud.google.com/appengine/docs/admin-api/
|
27
|
-
module AppengineV1beta4
|
28
|
-
VERSION = 'V1beta4'
|
29
|
-
REVISION = '20160121'
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,1585 +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 AppengineV1beta4
|
24
|
-
|
25
|
-
# An Application contains the top-level configuration of an App Engine
|
26
|
-
# application.
|
27
|
-
class Application
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# The full path to the application in the API. Example: "apps/myapp". @
|
31
|
-
# OutputOnly
|
32
|
-
# Corresponds to the JSON property `name`
|
33
|
-
# @return [String]
|
34
|
-
attr_accessor :name
|
35
|
-
|
36
|
-
# The relative name/path of the application. Example: "myapp". @OutputOnly
|
37
|
-
# Corresponds to the JSON property `id`
|
38
|
-
# @return [String]
|
39
|
-
attr_accessor :id
|
40
|
-
|
41
|
-
# HTTP path dispatch rules for requests to the app that do not explicitly target
|
42
|
-
# a module or version. The rules are order-dependent.
|
43
|
-
# Corresponds to the JSON property `dispatchRules`
|
44
|
-
# @return [Array<Google::Apis::AppengineV1beta4::UrlDispatchRule>]
|
45
|
-
attr_accessor :dispatch_rules
|
46
|
-
|
47
|
-
# The location from which the application will be run. Choices are "us-central"
|
48
|
-
# for United States and "europe-west" for European Union. Application instances
|
49
|
-
# will run out of data centers in the chosen location and all of the application'
|
50
|
-
# s End User Content will be stored at rest in the chosen location. The default
|
51
|
-
# is "us-central".
|
52
|
-
# Corresponds to the JSON property `location`
|
53
|
-
# @return [String]
|
54
|
-
attr_accessor :location
|
55
|
-
|
56
|
-
# A Google Cloud Storage bucket which can be used for storing files associated
|
57
|
-
# with an application. This bucket is associated with the application and can be
|
58
|
-
# used by the gcloud deployment commands. @OutputOnly
|
59
|
-
# Corresponds to the JSON property `codeBucket`
|
60
|
-
# @return [String]
|
61
|
-
attr_accessor :code_bucket
|
62
|
-
|
63
|
-
# A Google Cloud Storage bucket which can be used by the application to store
|
64
|
-
# content. @OutputOnly
|
65
|
-
# Corresponds to the JSON property `defaultBucket`
|
66
|
-
# @return [String]
|
67
|
-
attr_accessor :default_bucket
|
68
|
-
|
69
|
-
def initialize(**args)
|
70
|
-
update!(**args)
|
71
|
-
end
|
72
|
-
|
73
|
-
# Update properties of this object
|
74
|
-
def update!(**args)
|
75
|
-
@name = args[:name] if args.key?(:name)
|
76
|
-
@id = args[:id] if args.key?(:id)
|
77
|
-
@dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
|
78
|
-
@location = args[:location] if args.key?(:location)
|
79
|
-
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
80
|
-
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Rules to match an HTTP request and dispatch that request to a module.
|
85
|
-
class UrlDispatchRule
|
86
|
-
include Google::Apis::Core::Hashable
|
87
|
-
|
88
|
-
# The domain name to match on. Supports '*' (glob) wildcarding on the left-hand
|
89
|
-
# side of a '.'. If empty, all domains will be matched (the same as '*').
|
90
|
-
# Corresponds to the JSON property `domain`
|
91
|
-
# @return [String]
|
92
|
-
attr_accessor :domain
|
93
|
-
|
94
|
-
# The pathname within the host. This must start with a '/'. A single '*' (glob)
|
95
|
-
# can be included at the end of the path. The sum of the lengths of the domain
|
96
|
-
# and path may not exceed 100 characters.
|
97
|
-
# Corresponds to the JSON property `path`
|
98
|
-
# @return [String]
|
99
|
-
attr_accessor :path
|
100
|
-
|
101
|
-
# The resource id of a Module in this application that should service the
|
102
|
-
# matched request. The Module must already exist. Example: "default".
|
103
|
-
# Corresponds to the JSON property `module`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :module
|
106
|
-
|
107
|
-
def initialize(**args)
|
108
|
-
update!(**args)
|
109
|
-
end
|
110
|
-
|
111
|
-
# Update properties of this object
|
112
|
-
def update!(**args)
|
113
|
-
@domain = args[:domain] if args.key?(:domain)
|
114
|
-
@path = args[:path] if args.key?(:path)
|
115
|
-
@module = args[:module] if args.key?(:module)
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
# A Version is a specific set of source code and configuration files deployed to
|
120
|
-
# a module.
|
121
|
-
class Version
|
122
|
-
include Google::Apis::Core::Hashable
|
123
|
-
|
124
|
-
# The full path to the Version resource in the API. Example: "apps/myapp/modules/
|
125
|
-
# default/versions/v1". @OutputOnly
|
126
|
-
# Corresponds to the JSON property `name`
|
127
|
-
# @return [String]
|
128
|
-
attr_accessor :name
|
129
|
-
|
130
|
-
# The relative name/path of the Version within the module. Example: "v1".
|
131
|
-
# Version specifiers can contain lowercase letters, digits, and hyphens. It
|
132
|
-
# cannot begin with the prefix `ah-` and the names `default` and `latest` are
|
133
|
-
# reserved and cannot be used.
|
134
|
-
# Corresponds to the JSON property `id`
|
135
|
-
# @return [String]
|
136
|
-
attr_accessor :id
|
137
|
-
|
138
|
-
# Automatic scaling is the scaling policy that App Engine has used since its
|
139
|
-
# inception. It is based on request rate, response latencies, and other
|
140
|
-
# application metrics.
|
141
|
-
# Corresponds to the JSON property `automaticScaling`
|
142
|
-
# @return [Google::Apis::AppengineV1beta4::AutomaticScaling]
|
143
|
-
attr_accessor :automatic_scaling
|
144
|
-
|
145
|
-
# A module with basic scaling will create an instance when the application
|
146
|
-
# receives a request. The instance will be turned down when the app becomes idle.
|
147
|
-
# Basic scaling is ideal for work that is intermittent or driven by user
|
148
|
-
# activity.
|
149
|
-
# Corresponds to the JSON property `basicScaling`
|
150
|
-
# @return [Google::Apis::AppengineV1beta4::BasicScaling]
|
151
|
-
attr_accessor :basic_scaling
|
152
|
-
|
153
|
-
# A module with manual scaling runs continuously, allowing you to perform
|
154
|
-
# complex initialization and rely on the state of its memory over time.
|
155
|
-
# Corresponds to the JSON property `manualScaling`
|
156
|
-
# @return [Google::Apis::AppengineV1beta4::ManualScaling]
|
157
|
-
attr_accessor :manual_scaling
|
158
|
-
|
159
|
-
# Before an application can receive email or XMPP messages, the application must
|
160
|
-
# be configured to enable the service.
|
161
|
-
# Corresponds to the JSON property `inboundServices`
|
162
|
-
# @return [Array<String>]
|
163
|
-
attr_accessor :inbound_services
|
164
|
-
|
165
|
-
# The frontend instance class to use to run this app. Valid values are `[F1, F2,
|
166
|
-
# F4, F4_1G]`. Default: "F1"
|
167
|
-
# Corresponds to the JSON property `instanceClass`
|
168
|
-
# @return [String]
|
169
|
-
attr_accessor :instance_class
|
170
|
-
|
171
|
-
# Used to specify extra network settings (for VM runtimes only).
|
172
|
-
# Corresponds to the JSON property `network`
|
173
|
-
# @return [Google::Apis::AppengineV1beta4::Network]
|
174
|
-
attr_accessor :network
|
175
|
-
|
176
|
-
# Used to specify how many machine resources an app version needs.
|
177
|
-
# Corresponds to the JSON property `resources`
|
178
|
-
# @return [Google::Apis::AppengineV1beta4::Resources]
|
179
|
-
attr_accessor :resources
|
180
|
-
|
181
|
-
# The desired runtime. Values can include python27, java7, go, etc.
|
182
|
-
# Corresponds to the JSON property `runtime`
|
183
|
-
# @return [String]
|
184
|
-
attr_accessor :runtime
|
185
|
-
|
186
|
-
# If true, multiple requests can be dispatched to the app at once.
|
187
|
-
# Corresponds to the JSON property `threadsafe`
|
188
|
-
# @return [Boolean]
|
189
|
-
attr_accessor :threadsafe
|
190
|
-
alias_method :threadsafe?, :threadsafe
|
191
|
-
|
192
|
-
# Whether to deploy this app in a VM container.
|
193
|
-
# Corresponds to the JSON property `vm`
|
194
|
-
# @return [Boolean]
|
195
|
-
attr_accessor :vm
|
196
|
-
alias_method :vm?, :vm
|
197
|
-
|
198
|
-
# Beta settings supplied to the application via metadata.
|
199
|
-
# Corresponds to the JSON property `betaSettings`
|
200
|
-
# @return [Hash<String,String>]
|
201
|
-
attr_accessor :beta_settings
|
202
|
-
|
203
|
-
# The App Engine execution environment to use for this version. Default: "1"
|
204
|
-
# Corresponds to the JSON property `env`
|
205
|
-
# @return [String]
|
206
|
-
attr_accessor :env
|
207
|
-
|
208
|
-
# The current serving status of this version. Only `SERVING` versions will have
|
209
|
-
# instances created or billed for. If this field is unset when a version is
|
210
|
-
# created, `SERVING` status will be assumed. It is an error to explicitly set
|
211
|
-
# this field to `SERVING_STATUS_UNSPECIFIED`.
|
212
|
-
# Corresponds to the JSON property `servingStatus`
|
213
|
-
# @return [String]
|
214
|
-
attr_accessor :serving_status
|
215
|
-
|
216
|
-
# The email address of the user who created this version. @OutputOnly
|
217
|
-
# Corresponds to the JSON property `deployer`
|
218
|
-
# @return [String]
|
219
|
-
attr_accessor :deployer
|
220
|
-
|
221
|
-
# Creation time of this version. This will be between the start and end times of
|
222
|
-
# the operation that creates this version. @OutputOnly
|
223
|
-
# Corresponds to the JSON property `creationTime`
|
224
|
-
# @return [String]
|
225
|
-
attr_accessor :creation_time
|
226
|
-
|
227
|
-
# An ordered list of URL Matching patterns that should be applied to incoming
|
228
|
-
# requests. The first matching URL consumes the request, and subsequent handlers
|
229
|
-
# are not attempted. Only returned in `GET` requests if `view=FULL` is set. May
|
230
|
-
# only be set on create requests; once created, is immutable.
|
231
|
-
# Corresponds to the JSON property `handlers`
|
232
|
-
# @return [Array<Google::Apis::AppengineV1beta4::UrlMap>]
|
233
|
-
attr_accessor :handlers
|
234
|
-
|
235
|
-
# Custom static error pages instead of these generic error pages, (limit 10 KB/
|
236
|
-
# page) Only returned in `GET` requests if `view=FULL` is set. May only be set
|
237
|
-
# on create requests; once created, is immutable.
|
238
|
-
# Corresponds to the JSON property `errorHandlers`
|
239
|
-
# @return [Array<Google::Apis::AppengineV1beta4::ErrorHandler>]
|
240
|
-
attr_accessor :error_handlers
|
241
|
-
|
242
|
-
# Configuration for Python runtime third-party libraries required by the
|
243
|
-
# application. Only returned in `GET` requests if `view=FULL` is set. May only
|
244
|
-
# be set on create requests; once created, is immutable.
|
245
|
-
# Corresponds to the JSON property `libraries`
|
246
|
-
# @return [Array<Google::Apis::AppengineV1beta4::Library>]
|
247
|
-
attr_accessor :libraries
|
248
|
-
|
249
|
-
# API Serving configuration for Cloud Endpoints.
|
250
|
-
# Corresponds to the JSON property `apiConfig`
|
251
|
-
# @return [Google::Apis::AppengineV1beta4::ApiConfigHandler]
|
252
|
-
attr_accessor :api_config
|
253
|
-
|
254
|
-
# Environment variables made available to the application. Only returned in `GET`
|
255
|
-
# requests if `view=FULL` is set. May only be set on create requests; once
|
256
|
-
# created, is immutable.
|
257
|
-
# Corresponds to the JSON property `envVariables`
|
258
|
-
# @return [Hash<String,String>]
|
259
|
-
attr_accessor :env_variables
|
260
|
-
|
261
|
-
# The length of time a static file served by a static file handler ought to be
|
262
|
-
# cached by web proxies and browsers, if the handler does not specify its own
|
263
|
-
# expiration. Only returned in `GET` requests if `view=FULL` is set. May only be
|
264
|
-
# set on create requests; once created, is immutable.
|
265
|
-
# Corresponds to the JSON property `defaultExpiration`
|
266
|
-
# @return [String]
|
267
|
-
attr_accessor :default_expiration
|
268
|
-
|
269
|
-
# Configure health checking for the VM instances. Unhealthy VM instances will be
|
270
|
-
# killed and replaced with new instances.
|
271
|
-
# Corresponds to the JSON property `healthCheck`
|
272
|
-
# @return [Google::Apis::AppengineV1beta4::HealthCheck]
|
273
|
-
attr_accessor :health_check
|
274
|
-
|
275
|
-
# Go only. Files that match this pattern will not be built into the app. May
|
276
|
-
# only be set on create requests.
|
277
|
-
# Corresponds to the JSON property `nobuildFilesRegex`
|
278
|
-
# @return [String]
|
279
|
-
attr_accessor :nobuild_files_regex
|
280
|
-
|
281
|
-
# Code and application artifacts used to deploy a version to App Engine.
|
282
|
-
# Corresponds to the JSON property `deployment`
|
283
|
-
# @return [Google::Apis::AppengineV1beta4::Deployment]
|
284
|
-
attr_accessor :deployment
|
285
|
-
|
286
|
-
def initialize(**args)
|
287
|
-
update!(**args)
|
288
|
-
end
|
289
|
-
|
290
|
-
# Update properties of this object
|
291
|
-
def update!(**args)
|
292
|
-
@name = args[:name] if args.key?(:name)
|
293
|
-
@id = args[:id] if args.key?(:id)
|
294
|
-
@automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
|
295
|
-
@basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
|
296
|
-
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
297
|
-
@inbound_services = args[:inbound_services] if args.key?(:inbound_services)
|
298
|
-
@instance_class = args[:instance_class] if args.key?(:instance_class)
|
299
|
-
@network = args[:network] if args.key?(:network)
|
300
|
-
@resources = args[:resources] if args.key?(:resources)
|
301
|
-
@runtime = args[:runtime] if args.key?(:runtime)
|
302
|
-
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
|
303
|
-
@vm = args[:vm] if args.key?(:vm)
|
304
|
-
@beta_settings = args[:beta_settings] if args.key?(:beta_settings)
|
305
|
-
@env = args[:env] if args.key?(:env)
|
306
|
-
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
307
|
-
@deployer = args[:deployer] if args.key?(:deployer)
|
308
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
309
|
-
@handlers = args[:handlers] if args.key?(:handlers)
|
310
|
-
@error_handlers = args[:error_handlers] if args.key?(:error_handlers)
|
311
|
-
@libraries = args[:libraries] if args.key?(:libraries)
|
312
|
-
@api_config = args[:api_config] if args.key?(:api_config)
|
313
|
-
@env_variables = args[:env_variables] if args.key?(:env_variables)
|
314
|
-
@default_expiration = args[:default_expiration] if args.key?(:default_expiration)
|
315
|
-
@health_check = args[:health_check] if args.key?(:health_check)
|
316
|
-
@nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
|
317
|
-
@deployment = args[:deployment] if args.key?(:deployment)
|
318
|
-
end
|
319
|
-
end
|
320
|
-
|
321
|
-
# Automatic scaling is the scaling policy that App Engine has used since its
|
322
|
-
# inception. It is based on request rate, response latencies, and other
|
323
|
-
# application metrics.
|
324
|
-
class AutomaticScaling
|
325
|
-
include Google::Apis::Core::Hashable
|
326
|
-
|
327
|
-
# The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/
|
328
|
-
# autoscaler/) should wait between changes to the number of virtual machines.
|
329
|
-
# Applies only to the VM runtime.
|
330
|
-
# Corresponds to the JSON property `coolDownPeriod`
|
331
|
-
# @return [String]
|
332
|
-
attr_accessor :cool_down_period
|
333
|
-
|
334
|
-
# Target scaling by CPU usage.
|
335
|
-
# Corresponds to the JSON property `cpuUtilization`
|
336
|
-
# @return [Google::Apis::AppengineV1beta4::CpuUtilization]
|
337
|
-
attr_accessor :cpu_utilization
|
338
|
-
|
339
|
-
# The number of concurrent requests an automatic scaling instance can accept
|
340
|
-
# before the scheduler spawns a new instance. Default value is chosen based on
|
341
|
-
# the runtime.
|
342
|
-
# Corresponds to the JSON property `maxConcurrentRequests`
|
343
|
-
# @return [Fixnum]
|
344
|
-
attr_accessor :max_concurrent_requests
|
345
|
-
|
346
|
-
# The maximum number of idle instances that App Engine should maintain for this
|
347
|
-
# version.
|
348
|
-
# Corresponds to the JSON property `maxIdleInstances`
|
349
|
-
# @return [Fixnum]
|
350
|
-
attr_accessor :max_idle_instances
|
351
|
-
|
352
|
-
# Max number of instances that App Engine should start to handle requests.
|
353
|
-
# Corresponds to the JSON property `maxTotalInstances`
|
354
|
-
# @return [Fixnum]
|
355
|
-
attr_accessor :max_total_instances
|
356
|
-
|
357
|
-
# The maximum amount of time that App Engine should allow a request to wait in
|
358
|
-
# the pending queue before starting a new instance to handle it.
|
359
|
-
# Corresponds to the JSON property `maxPendingLatency`
|
360
|
-
# @return [String]
|
361
|
-
attr_accessor :max_pending_latency
|
362
|
-
|
363
|
-
# The minimum number of idle instances that App Engine should maintain for this
|
364
|
-
# version. Only applies to the default version of a module, since other versions
|
365
|
-
# are not expected to receive significant traffic.
|
366
|
-
# Corresponds to the JSON property `minIdleInstances`
|
367
|
-
# @return [Fixnum]
|
368
|
-
attr_accessor :min_idle_instances
|
369
|
-
|
370
|
-
# Minimum number of instances that App Engine should maintain.
|
371
|
-
# Corresponds to the JSON property `minTotalInstances`
|
372
|
-
# @return [Fixnum]
|
373
|
-
attr_accessor :min_total_instances
|
374
|
-
|
375
|
-
# The minimum amount of time that App Engine should allow a request to wait in
|
376
|
-
# the pending queue before starting a new instance to handle it.
|
377
|
-
# Corresponds to the JSON property `minPendingLatency`
|
378
|
-
# @return [String]
|
379
|
-
attr_accessor :min_pending_latency
|
380
|
-
|
381
|
-
# Target scaling by request utilization (for VM runtimes only).
|
382
|
-
# Corresponds to the JSON property `requestUtilization`
|
383
|
-
# @return [Google::Apis::AppengineV1beta4::RequestUtilization]
|
384
|
-
attr_accessor :request_utilization
|
385
|
-
|
386
|
-
# Target scaling by disk usage (for VM runtimes only).
|
387
|
-
# Corresponds to the JSON property `diskUtilization`
|
388
|
-
# @return [Google::Apis::AppengineV1beta4::DiskUtilization]
|
389
|
-
attr_accessor :disk_utilization
|
390
|
-
|
391
|
-
# Target scaling by network usage (for VM runtimes only).
|
392
|
-
# Corresponds to the JSON property `networkUtilization`
|
393
|
-
# @return [Google::Apis::AppengineV1beta4::NetworkUtilization]
|
394
|
-
attr_accessor :network_utilization
|
395
|
-
|
396
|
-
def initialize(**args)
|
397
|
-
update!(**args)
|
398
|
-
end
|
399
|
-
|
400
|
-
# Update properties of this object
|
401
|
-
def update!(**args)
|
402
|
-
@cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
|
403
|
-
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
404
|
-
@max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
|
405
|
-
@max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
|
406
|
-
@max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
|
407
|
-
@max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency)
|
408
|
-
@min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
|
409
|
-
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
410
|
-
@min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
|
411
|
-
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
412
|
-
@disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
|
413
|
-
@network_utilization = args[:network_utilization] if args.key?(:network_utilization)
|
414
|
-
end
|
415
|
-
end
|
416
|
-
|
417
|
-
# Target scaling by CPU usage.
|
418
|
-
class CpuUtilization
|
419
|
-
include Google::Apis::Core::Hashable
|
420
|
-
|
421
|
-
# The period of time over which CPU utilization is calculated.
|
422
|
-
# Corresponds to the JSON property `aggregationWindowLength`
|
423
|
-
# @return [String]
|
424
|
-
attr_accessor :aggregation_window_length
|
425
|
-
|
426
|
-
# Target (0-1) CPU utilization ratio to maintain when scaling.
|
427
|
-
# Corresponds to the JSON property `targetUtilization`
|
428
|
-
# @return [Float]
|
429
|
-
attr_accessor :target_utilization
|
430
|
-
|
431
|
-
def initialize(**args)
|
432
|
-
update!(**args)
|
433
|
-
end
|
434
|
-
|
435
|
-
# Update properties of this object
|
436
|
-
def update!(**args)
|
437
|
-
@aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
|
438
|
-
@target_utilization = args[:target_utilization] if args.key?(:target_utilization)
|
439
|
-
end
|
440
|
-
end
|
441
|
-
|
442
|
-
# Target scaling by request utilization (for VM runtimes only).
|
443
|
-
class RequestUtilization
|
444
|
-
include Google::Apis::Core::Hashable
|
445
|
-
|
446
|
-
# Target requests per second.
|
447
|
-
# Corresponds to the JSON property `targetRequestCountPerSec`
|
448
|
-
# @return [Fixnum]
|
449
|
-
attr_accessor :target_request_count_per_sec
|
450
|
-
|
451
|
-
# Target number of concurrent requests.
|
452
|
-
# Corresponds to the JSON property `targetConcurrentRequests`
|
453
|
-
# @return [Fixnum]
|
454
|
-
attr_accessor :target_concurrent_requests
|
455
|
-
|
456
|
-
def initialize(**args)
|
457
|
-
update!(**args)
|
458
|
-
end
|
459
|
-
|
460
|
-
# Update properties of this object
|
461
|
-
def update!(**args)
|
462
|
-
@target_request_count_per_sec = args[:target_request_count_per_sec] if args.key?(:target_request_count_per_sec)
|
463
|
-
@target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
|
464
|
-
end
|
465
|
-
end
|
466
|
-
|
467
|
-
# Target scaling by disk usage (for VM runtimes only).
|
468
|
-
class DiskUtilization
|
469
|
-
include Google::Apis::Core::Hashable
|
470
|
-
|
471
|
-
# Target bytes per second written.
|
472
|
-
# Corresponds to the JSON property `targetWriteBytesPerSec`
|
473
|
-
# @return [Fixnum]
|
474
|
-
attr_accessor :target_write_bytes_per_sec
|
475
|
-
|
476
|
-
# Target ops per second written.
|
477
|
-
# Corresponds to the JSON property `targetWriteOpsPerSec`
|
478
|
-
# @return [Fixnum]
|
479
|
-
attr_accessor :target_write_ops_per_sec
|
480
|
-
|
481
|
-
# Target bytes per second read.
|
482
|
-
# Corresponds to the JSON property `targetReadBytesPerSec`
|
483
|
-
# @return [Fixnum]
|
484
|
-
attr_accessor :target_read_bytes_per_sec
|
485
|
-
|
486
|
-
# Target ops per second read.
|
487
|
-
# Corresponds to the JSON property `targetReadOpsPerSec`
|
488
|
-
# @return [Fixnum]
|
489
|
-
attr_accessor :target_read_ops_per_sec
|
490
|
-
|
491
|
-
def initialize(**args)
|
492
|
-
update!(**args)
|
493
|
-
end
|
494
|
-
|
495
|
-
# Update properties of this object
|
496
|
-
def update!(**args)
|
497
|
-
@target_write_bytes_per_sec = args[:target_write_bytes_per_sec] if args.key?(:target_write_bytes_per_sec)
|
498
|
-
@target_write_ops_per_sec = args[:target_write_ops_per_sec] if args.key?(:target_write_ops_per_sec)
|
499
|
-
@target_read_bytes_per_sec = args[:target_read_bytes_per_sec] if args.key?(:target_read_bytes_per_sec)
|
500
|
-
@target_read_ops_per_sec = args[:target_read_ops_per_sec] if args.key?(:target_read_ops_per_sec)
|
501
|
-
end
|
502
|
-
end
|
503
|
-
|
504
|
-
# Target scaling by network usage (for VM runtimes only).
|
505
|
-
class NetworkUtilization
|
506
|
-
include Google::Apis::Core::Hashable
|
507
|
-
|
508
|
-
# Target bytes per second sent.
|
509
|
-
# Corresponds to the JSON property `targetSentBytesPerSec`
|
510
|
-
# @return [Fixnum]
|
511
|
-
attr_accessor :target_sent_bytes_per_sec
|
512
|
-
|
513
|
-
# Target packets per second sent.
|
514
|
-
# Corresponds to the JSON property `targetSentPacketsPerSec`
|
515
|
-
# @return [Fixnum]
|
516
|
-
attr_accessor :target_sent_packets_per_sec
|
517
|
-
|
518
|
-
# Target bytes per second received.
|
519
|
-
# Corresponds to the JSON property `targetReceivedBytesPerSec`
|
520
|
-
# @return [Fixnum]
|
521
|
-
attr_accessor :target_received_bytes_per_sec
|
522
|
-
|
523
|
-
# Target packets per second received.
|
524
|
-
# Corresponds to the JSON property `targetReceivedPacketsPerSec`
|
525
|
-
# @return [Fixnum]
|
526
|
-
attr_accessor :target_received_packets_per_sec
|
527
|
-
|
528
|
-
def initialize(**args)
|
529
|
-
update!(**args)
|
530
|
-
end
|
531
|
-
|
532
|
-
# Update properties of this object
|
533
|
-
def update!(**args)
|
534
|
-
@target_sent_bytes_per_sec = args[:target_sent_bytes_per_sec] if args.key?(:target_sent_bytes_per_sec)
|
535
|
-
@target_sent_packets_per_sec = args[:target_sent_packets_per_sec] if args.key?(:target_sent_packets_per_sec)
|
536
|
-
@target_received_bytes_per_sec = args[:target_received_bytes_per_sec] if args.key?(:target_received_bytes_per_sec)
|
537
|
-
@target_received_packets_per_sec = args[:target_received_packets_per_sec] if args.key?(:target_received_packets_per_sec)
|
538
|
-
end
|
539
|
-
end
|
540
|
-
|
541
|
-
# A module with basic scaling will create an instance when the application
|
542
|
-
# receives a request. The instance will be turned down when the app becomes idle.
|
543
|
-
# Basic scaling is ideal for work that is intermittent or driven by user
|
544
|
-
# activity.
|
545
|
-
class BasicScaling
|
546
|
-
include Google::Apis::Core::Hashable
|
547
|
-
|
548
|
-
# The instance will be shut down this amount of time after receiving its last
|
549
|
-
# request.
|
550
|
-
# Corresponds to the JSON property `idleTimeout`
|
551
|
-
# @return [String]
|
552
|
-
attr_accessor :idle_timeout
|
553
|
-
|
554
|
-
# The maximum number of instances for App Engine to create for this version.
|
555
|
-
# Corresponds to the JSON property `maxInstances`
|
556
|
-
# @return [Fixnum]
|
557
|
-
attr_accessor :max_instances
|
558
|
-
|
559
|
-
def initialize(**args)
|
560
|
-
update!(**args)
|
561
|
-
end
|
562
|
-
|
563
|
-
# Update properties of this object
|
564
|
-
def update!(**args)
|
565
|
-
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
566
|
-
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
567
|
-
end
|
568
|
-
end
|
569
|
-
|
570
|
-
# A module with manual scaling runs continuously, allowing you to perform
|
571
|
-
# complex initialization and rely on the state of its memory over time.
|
572
|
-
class ManualScaling
|
573
|
-
include Google::Apis::Core::Hashable
|
574
|
-
|
575
|
-
# The number of instances to assign to the module at the start. This number can
|
576
|
-
# later be altered by using the [Modules API](https://cloud.google.com/appengine/
|
577
|
-
# docs/python/modules/functions) `set_num_instances()` function.
|
578
|
-
# Corresponds to the JSON property `instances`
|
579
|
-
# @return [Fixnum]
|
580
|
-
attr_accessor :instances
|
581
|
-
|
582
|
-
def initialize(**args)
|
583
|
-
update!(**args)
|
584
|
-
end
|
585
|
-
|
586
|
-
# Update properties of this object
|
587
|
-
def update!(**args)
|
588
|
-
@instances = args[:instances] if args.key?(:instances)
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
|
-
# Used to specify extra network settings (for VM runtimes only).
|
593
|
-
class Network
|
594
|
-
include Google::Apis::Core::Hashable
|
595
|
-
|
596
|
-
# A list of ports (or port pairs) to forward from the VM into the app container.
|
597
|
-
# Corresponds to the JSON property `forwardedPorts`
|
598
|
-
# @return [Array<String>]
|
599
|
-
attr_accessor :forwarded_ports
|
600
|
-
|
601
|
-
# A tag to apply to the VM instance during creation.
|
602
|
-
# Corresponds to the JSON property `instanceTag`
|
603
|
-
# @return [String]
|
604
|
-
attr_accessor :instance_tag
|
605
|
-
|
606
|
-
# The Google Compute Engine network where the VMs will be created. If not
|
607
|
-
# specified, or empty, the network named "default" will be used. (The short name
|
608
|
-
# should be specified, not the resource path.)
|
609
|
-
# Corresponds to the JSON property `name`
|
610
|
-
# @return [String]
|
611
|
-
attr_accessor :name
|
612
|
-
|
613
|
-
def initialize(**args)
|
614
|
-
update!(**args)
|
615
|
-
end
|
616
|
-
|
617
|
-
# Update properties of this object
|
618
|
-
def update!(**args)
|
619
|
-
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
|
620
|
-
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
|
621
|
-
@name = args[:name] if args.key?(:name)
|
622
|
-
end
|
623
|
-
end
|
624
|
-
|
625
|
-
# Used to specify how many machine resources an app version needs.
|
626
|
-
class Resources
|
627
|
-
include Google::Apis::Core::Hashable
|
628
|
-
|
629
|
-
# How many CPU cores an app version needs.
|
630
|
-
# Corresponds to the JSON property `cpu`
|
631
|
-
# @return [Float]
|
632
|
-
attr_accessor :cpu
|
633
|
-
|
634
|
-
# How much disk size, in GB, an app version needs.
|
635
|
-
# Corresponds to the JSON property `diskGb`
|
636
|
-
# @return [Float]
|
637
|
-
attr_accessor :disk_gb
|
638
|
-
|
639
|
-
# How much memory, in GB, an app version needs.
|
640
|
-
# Corresponds to the JSON property `memoryGb`
|
641
|
-
# @return [Float]
|
642
|
-
attr_accessor :memory_gb
|
643
|
-
|
644
|
-
def initialize(**args)
|
645
|
-
update!(**args)
|
646
|
-
end
|
647
|
-
|
648
|
-
# Update properties of this object
|
649
|
-
def update!(**args)
|
650
|
-
@cpu = args[:cpu] if args.key?(:cpu)
|
651
|
-
@disk_gb = args[:disk_gb] if args.key?(:disk_gb)
|
652
|
-
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
653
|
-
end
|
654
|
-
end
|
655
|
-
|
656
|
-
# A URL pattern and description of how it should be handled. App Engine can
|
657
|
-
# handle URLs by executing application code, or by serving static files uploaded
|
658
|
-
# with the code, such as images, CSS or JavaScript.
|
659
|
-
class UrlMap
|
660
|
-
include Google::Apis::Core::Hashable
|
661
|
-
|
662
|
-
# A URL prefix. This value uses regular expression syntax (and so regexp special
|
663
|
-
# characters must be escaped), but it should not contain groupings. All URLs
|
664
|
-
# that begin with this prefix are handled by this handler, using the portion of
|
665
|
-
# the URL after the prefix as part of the file path. This is always required.
|
666
|
-
# Corresponds to the JSON property `urlRegex`
|
667
|
-
# @return [String]
|
668
|
-
attr_accessor :url_regex
|
669
|
-
|
670
|
-
# Files served directly to the user for a given URL, such as images, CSS
|
671
|
-
# stylesheets, or JavaScript source files. Static file handlers describe which
|
672
|
-
# files in the application directory are static files, and which URLs serve them.
|
673
|
-
# Corresponds to the JSON property `staticFiles`
|
674
|
-
# @return [Google::Apis::AppengineV1beta4::StaticFilesHandler]
|
675
|
-
attr_accessor :static_files
|
676
|
-
|
677
|
-
# Files served directly to the user for a given URL, such as images, CSS
|
678
|
-
# stylesheets, or JavaScript source files. Static directory handlers make it
|
679
|
-
# easy to serve the entire contents of a directory as static files.
|
680
|
-
# Corresponds to the JSON property `staticDirectory`
|
681
|
-
# @return [Google::Apis::AppengineV1beta4::StaticDirectoryHandler]
|
682
|
-
attr_accessor :static_directory
|
683
|
-
|
684
|
-
# Executes a script to handle the request that matches the URL pattern.
|
685
|
-
# Corresponds to the JSON property `script`
|
686
|
-
# @return [Google::Apis::AppengineV1beta4::ScriptHandler]
|
687
|
-
attr_accessor :script
|
688
|
-
|
689
|
-
# Use Google Cloud Endpoints to handle requests.
|
690
|
-
# Corresponds to the JSON property `apiEndpoint`
|
691
|
-
# @return [Google::Apis::AppengineV1beta4::ApiEndpointHandler]
|
692
|
-
attr_accessor :api_endpoint
|
693
|
-
|
694
|
-
# Configures whether security (HTTPS) should be enforced for this URL.
|
695
|
-
# Corresponds to the JSON property `securityLevel`
|
696
|
-
# @return [String]
|
697
|
-
attr_accessor :security_level
|
698
|
-
|
699
|
-
# What level of login is required to access this resource.
|
700
|
-
# Corresponds to the JSON property `login`
|
701
|
-
# @return [String]
|
702
|
-
attr_accessor :login
|
703
|
-
|
704
|
-
# For users not logged in, how to handle access to resources with required login.
|
705
|
-
# Defaults to "redirect".
|
706
|
-
# Corresponds to the JSON property `authFailAction`
|
707
|
-
# @return [String]
|
708
|
-
attr_accessor :auth_fail_action
|
709
|
-
|
710
|
-
# `30x` code to use when performing redirects for the `secure` field. A `302` is
|
711
|
-
# used by default.
|
712
|
-
# Corresponds to the JSON property `redirectHttpResponseCode`
|
713
|
-
# @return [String]
|
714
|
-
attr_accessor :redirect_http_response_code
|
715
|
-
|
716
|
-
def initialize(**args)
|
717
|
-
update!(**args)
|
718
|
-
end
|
719
|
-
|
720
|
-
# Update properties of this object
|
721
|
-
def update!(**args)
|
722
|
-
@url_regex = args[:url_regex] if args.key?(:url_regex)
|
723
|
-
@static_files = args[:static_files] if args.key?(:static_files)
|
724
|
-
@static_directory = args[:static_directory] if args.key?(:static_directory)
|
725
|
-
@script = args[:script] if args.key?(:script)
|
726
|
-
@api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
|
727
|
-
@security_level = args[:security_level] if args.key?(:security_level)
|
728
|
-
@login = args[:login] if args.key?(:login)
|
729
|
-
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
730
|
-
@redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
|
731
|
-
end
|
732
|
-
end
|
733
|
-
|
734
|
-
# Files served directly to the user for a given URL, such as images, CSS
|
735
|
-
# stylesheets, or JavaScript source files. Static file handlers describe which
|
736
|
-
# files in the application directory are static files, and which URLs serve them.
|
737
|
-
class StaticFilesHandler
|
738
|
-
include Google::Apis::Core::Hashable
|
739
|
-
|
740
|
-
# The path to the static files matched by the URL pattern, from the application
|
741
|
-
# root directory. The path can refer to text matched in groupings in the URL
|
742
|
-
# pattern.
|
743
|
-
# Corresponds to the JSON property `path`
|
744
|
-
# @return [String]
|
745
|
-
attr_accessor :path
|
746
|
-
|
747
|
-
# A regular expression that matches the file paths for all files that will be
|
748
|
-
# referenced by this handler.
|
749
|
-
# Corresponds to the JSON property `uploadPathRegex`
|
750
|
-
# @return [String]
|
751
|
-
attr_accessor :upload_path_regex
|
752
|
-
|
753
|
-
# HTTP headers to use for all responses from these URLs.
|
754
|
-
# Corresponds to the JSON property `httpHeaders`
|
755
|
-
# @return [Hash<String,String>]
|
756
|
-
attr_accessor :http_headers
|
757
|
-
|
758
|
-
# If specified, all files served by this handler will be served using the
|
759
|
-
# specified MIME type. If not specified, the MIME type for a file will be
|
760
|
-
# derived from the file's filename extension.
|
761
|
-
# Corresponds to the JSON property `mimeType`
|
762
|
-
# @return [String]
|
763
|
-
attr_accessor :mime_type
|
764
|
-
|
765
|
-
# The length of time a static file served by this handler ought to be cached by
|
766
|
-
# web proxies and browsers.
|
767
|
-
# Corresponds to the JSON property `expiration`
|
768
|
-
# @return [String]
|
769
|
-
attr_accessor :expiration
|
770
|
-
|
771
|
-
# If true, this UrlMap entry does not match the request unless the file
|
772
|
-
# referenced by the handler also exists. If no such file exists, processing will
|
773
|
-
# continue with the next UrlMap that matches the requested URL.
|
774
|
-
# Corresponds to the JSON property `requireMatchingFile`
|
775
|
-
# @return [Boolean]
|
776
|
-
attr_accessor :require_matching_file
|
777
|
-
alias_method :require_matching_file?, :require_matching_file
|
778
|
-
|
779
|
-
# By default, files declared in static file handlers are uploaded as static data
|
780
|
-
# and are only served to end users, they cannot be read by an application. If
|
781
|
-
# this field is set to true, the files are also uploaded as code data so your
|
782
|
-
# application can read them. Both uploads are charged against your code and
|
783
|
-
# static data storage resource quotas.
|
784
|
-
# Corresponds to the JSON property `applicationReadable`
|
785
|
-
# @return [Boolean]
|
786
|
-
attr_accessor :application_readable
|
787
|
-
alias_method :application_readable?, :application_readable
|
788
|
-
|
789
|
-
def initialize(**args)
|
790
|
-
update!(**args)
|
791
|
-
end
|
792
|
-
|
793
|
-
# Update properties of this object
|
794
|
-
def update!(**args)
|
795
|
-
@path = args[:path] if args.key?(:path)
|
796
|
-
@upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
|
797
|
-
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
798
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
799
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
800
|
-
@require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
|
801
|
-
@application_readable = args[:application_readable] if args.key?(:application_readable)
|
802
|
-
end
|
803
|
-
end
|
804
|
-
|
805
|
-
# Files served directly to the user for a given URL, such as images, CSS
|
806
|
-
# stylesheets, or JavaScript source files. Static directory handlers make it
|
807
|
-
# easy to serve the entire contents of a directory as static files.
|
808
|
-
class StaticDirectoryHandler
|
809
|
-
include Google::Apis::Core::Hashable
|
810
|
-
|
811
|
-
# The path to the directory containing the static files, from the application
|
812
|
-
# root directory. Everything after the end of the matched url pattern is
|
813
|
-
# appended to static_dir to form the full path to the requested file.
|
814
|
-
# Corresponds to the JSON property `directory`
|
815
|
-
# @return [String]
|
816
|
-
attr_accessor :directory
|
817
|
-
|
818
|
-
# HTTP headers to use for all responses from these URLs.
|
819
|
-
# Corresponds to the JSON property `httpHeaders`
|
820
|
-
# @return [Hash<String,String>]
|
821
|
-
attr_accessor :http_headers
|
822
|
-
|
823
|
-
# If specified, all files served by this handler will be served using the
|
824
|
-
# specified MIME type. If not specified, the MIME type for a file will be
|
825
|
-
# derived from the file's filename extension.
|
826
|
-
# Corresponds to the JSON property `mimeType`
|
827
|
-
# @return [String]
|
828
|
-
attr_accessor :mime_type
|
829
|
-
|
830
|
-
# The length of time a static file served by this handler ought to be cached by
|
831
|
-
# web proxies and browsers.
|
832
|
-
# Corresponds to the JSON property `expiration`
|
833
|
-
# @return [String]
|
834
|
-
attr_accessor :expiration
|
835
|
-
|
836
|
-
# If true, this UrlMap entry does not match the request unless the file
|
837
|
-
# referenced by the handler also exists. If no such file exists, processing will
|
838
|
-
# continue with the next UrlMap that matches the requested URL.
|
839
|
-
# Corresponds to the JSON property `requireMatchingFile`
|
840
|
-
# @return [Boolean]
|
841
|
-
attr_accessor :require_matching_file
|
842
|
-
alias_method :require_matching_file?, :require_matching_file
|
843
|
-
|
844
|
-
# By default, files declared in static file handlers are uploaded as static data
|
845
|
-
# and are only served to end users, they cannot be read by an application. If
|
846
|
-
# this field is set to true, the files are also uploaded as code data so your
|
847
|
-
# application can read them. Both uploads are charged against your code and
|
848
|
-
# static data storage resource quotas.
|
849
|
-
# Corresponds to the JSON property `applicationReadable`
|
850
|
-
# @return [Boolean]
|
851
|
-
attr_accessor :application_readable
|
852
|
-
alias_method :application_readable?, :application_readable
|
853
|
-
|
854
|
-
def initialize(**args)
|
855
|
-
update!(**args)
|
856
|
-
end
|
857
|
-
|
858
|
-
# Update properties of this object
|
859
|
-
def update!(**args)
|
860
|
-
@directory = args[:directory] if args.key?(:directory)
|
861
|
-
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
862
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
863
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
864
|
-
@require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
|
865
|
-
@application_readable = args[:application_readable] if args.key?(:application_readable)
|
866
|
-
end
|
867
|
-
end
|
868
|
-
|
869
|
-
# Executes a script to handle the request that matches the URL pattern.
|
870
|
-
class ScriptHandler
|
871
|
-
include Google::Apis::Core::Hashable
|
872
|
-
|
873
|
-
# Specifies the path to the script from the application root directory.
|
874
|
-
# Corresponds to the JSON property `scriptPath`
|
875
|
-
# @return [String]
|
876
|
-
attr_accessor :script_path
|
877
|
-
|
878
|
-
def initialize(**args)
|
879
|
-
update!(**args)
|
880
|
-
end
|
881
|
-
|
882
|
-
# Update properties of this object
|
883
|
-
def update!(**args)
|
884
|
-
@script_path = args[:script_path] if args.key?(:script_path)
|
885
|
-
end
|
886
|
-
end
|
887
|
-
|
888
|
-
# Use Google Cloud Endpoints to handle requests.
|
889
|
-
class ApiEndpointHandler
|
890
|
-
include Google::Apis::Core::Hashable
|
891
|
-
|
892
|
-
# Specifies the path to the script from the application root directory.
|
893
|
-
# Corresponds to the JSON property `scriptPath`
|
894
|
-
# @return [String]
|
895
|
-
attr_accessor :script_path
|
896
|
-
|
897
|
-
def initialize(**args)
|
898
|
-
update!(**args)
|
899
|
-
end
|
900
|
-
|
901
|
-
# Update properties of this object
|
902
|
-
def update!(**args)
|
903
|
-
@script_path = args[:script_path] if args.key?(:script_path)
|
904
|
-
end
|
905
|
-
end
|
906
|
-
|
907
|
-
# A custom static error page to be served when an error occurs.
|
908
|
-
class ErrorHandler
|
909
|
-
include Google::Apis::Core::Hashable
|
910
|
-
|
911
|
-
# The error condition this handler applies to.
|
912
|
-
# Corresponds to the JSON property `errorCode`
|
913
|
-
# @return [String]
|
914
|
-
attr_accessor :error_code
|
915
|
-
|
916
|
-
# Static file content to be served for this error.
|
917
|
-
# Corresponds to the JSON property `staticFile`
|
918
|
-
# @return [String]
|
919
|
-
attr_accessor :static_file
|
920
|
-
|
921
|
-
# MIME type of file. If unspecified, "text/html" is assumed.
|
922
|
-
# Corresponds to the JSON property `mimeType`
|
923
|
-
# @return [String]
|
924
|
-
attr_accessor :mime_type
|
925
|
-
|
926
|
-
def initialize(**args)
|
927
|
-
update!(**args)
|
928
|
-
end
|
929
|
-
|
930
|
-
# Update properties of this object
|
931
|
-
def update!(**args)
|
932
|
-
@error_code = args[:error_code] if args.key?(:error_code)
|
933
|
-
@static_file = args[:static_file] if args.key?(:static_file)
|
934
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
|
-
# A Python runtime third-party library required by the application.
|
939
|
-
class Library
|
940
|
-
include Google::Apis::Core::Hashable
|
941
|
-
|
942
|
-
# The name of the library, e.g. "PIL" or "django".
|
943
|
-
# Corresponds to the JSON property `name`
|
944
|
-
# @return [String]
|
945
|
-
attr_accessor :name
|
946
|
-
|
947
|
-
# The version of the library to select, or "latest".
|
948
|
-
# Corresponds to the JSON property `version`
|
949
|
-
# @return [String]
|
950
|
-
attr_accessor :version
|
951
|
-
|
952
|
-
def initialize(**args)
|
953
|
-
update!(**args)
|
954
|
-
end
|
955
|
-
|
956
|
-
# Update properties of this object
|
957
|
-
def update!(**args)
|
958
|
-
@name = args[:name] if args.key?(:name)
|
959
|
-
@version = args[:version] if args.key?(:version)
|
960
|
-
end
|
961
|
-
end
|
962
|
-
|
963
|
-
# API Serving configuration for Cloud Endpoints.
|
964
|
-
class ApiConfigHandler
|
965
|
-
include Google::Apis::Core::Hashable
|
966
|
-
|
967
|
-
# For users not logged in, how to handle access to resources with required login.
|
968
|
-
# Defaults to "redirect".
|
969
|
-
# Corresponds to the JSON property `authFailAction`
|
970
|
-
# @return [String]
|
971
|
-
attr_accessor :auth_fail_action
|
972
|
-
|
973
|
-
# What level of login is required to access this resource. Default is "optional".
|
974
|
-
# Corresponds to the JSON property `login`
|
975
|
-
# @return [String]
|
976
|
-
attr_accessor :login
|
977
|
-
|
978
|
-
# Specifies the path to the script from the application root directory.
|
979
|
-
# Corresponds to the JSON property `script`
|
980
|
-
# @return [String]
|
981
|
-
attr_accessor :script
|
982
|
-
|
983
|
-
# Configures whether security (HTTPS) should be enforced for this URL.
|
984
|
-
# Corresponds to the JSON property `securityLevel`
|
985
|
-
# @return [String]
|
986
|
-
attr_accessor :security_level
|
987
|
-
|
988
|
-
# URL to serve the endpoint at.
|
989
|
-
# Corresponds to the JSON property `url`
|
990
|
-
# @return [String]
|
991
|
-
attr_accessor :url
|
992
|
-
|
993
|
-
def initialize(**args)
|
994
|
-
update!(**args)
|
995
|
-
end
|
996
|
-
|
997
|
-
# Update properties of this object
|
998
|
-
def update!(**args)
|
999
|
-
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
1000
|
-
@login = args[:login] if args.key?(:login)
|
1001
|
-
@script = args[:script] if args.key?(:script)
|
1002
|
-
@security_level = args[:security_level] if args.key?(:security_level)
|
1003
|
-
@url = args[:url] if args.key?(:url)
|
1004
|
-
end
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
# Configure health checking for the VM instances. Unhealthy VM instances will be
|
1008
|
-
# killed and replaced with new instances.
|
1009
|
-
class HealthCheck
|
1010
|
-
include Google::Apis::Core::Hashable
|
1011
|
-
|
1012
|
-
# Whether to explicitly disable health checks for this instance.
|
1013
|
-
# Corresponds to the JSON property `disableHealthCheck`
|
1014
|
-
# @return [Boolean]
|
1015
|
-
attr_accessor :disable_health_check
|
1016
|
-
alias_method :disable_health_check?, :disable_health_check
|
1017
|
-
|
1018
|
-
# The host header to send when performing an HTTP health check (e.g. myapp.
|
1019
|
-
# appspot.com)
|
1020
|
-
# Corresponds to the JSON property `host`
|
1021
|
-
# @return [String]
|
1022
|
-
attr_accessor :host
|
1023
|
-
|
1024
|
-
# The number of consecutive successful health checks before receiving traffic.
|
1025
|
-
# Corresponds to the JSON property `healthyThreshold`
|
1026
|
-
# @return [Fixnum]
|
1027
|
-
attr_accessor :healthy_threshold
|
1028
|
-
|
1029
|
-
# The number of consecutive failed health checks before removing traffic.
|
1030
|
-
# Corresponds to the JSON property `unhealthyThreshold`
|
1031
|
-
# @return [Fixnum]
|
1032
|
-
attr_accessor :unhealthy_threshold
|
1033
|
-
|
1034
|
-
# The number of consecutive failed health checks before an instance is restarted.
|
1035
|
-
# Corresponds to the JSON property `restartThreshold`
|
1036
|
-
# @return [Fixnum]
|
1037
|
-
attr_accessor :restart_threshold
|
1038
|
-
|
1039
|
-
# The interval between health checks.
|
1040
|
-
# Corresponds to the JSON property `checkInterval`
|
1041
|
-
# @return [String]
|
1042
|
-
attr_accessor :check_interval
|
1043
|
-
|
1044
|
-
# The amount of time before the health check is considered failed.
|
1045
|
-
# Corresponds to the JSON property `timeout`
|
1046
|
-
# @return [String]
|
1047
|
-
attr_accessor :timeout
|
1048
|
-
|
1049
|
-
def initialize(**args)
|
1050
|
-
update!(**args)
|
1051
|
-
end
|
1052
|
-
|
1053
|
-
# Update properties of this object
|
1054
|
-
def update!(**args)
|
1055
|
-
@disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
|
1056
|
-
@host = args[:host] if args.key?(:host)
|
1057
|
-
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
1058
|
-
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
1059
|
-
@restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
|
1060
|
-
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
1061
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
1062
|
-
end
|
1063
|
-
end
|
1064
|
-
|
1065
|
-
# Code and application artifacts used to deploy a version to App Engine.
|
1066
|
-
class Deployment
|
1067
|
-
include Google::Apis::Core::Hashable
|
1068
|
-
|
1069
|
-
# A manifest of files stored in Google Cloud Storage which should be included as
|
1070
|
-
# part of this application. All files must be readable using the credentials
|
1071
|
-
# supplied with this call.
|
1072
|
-
# Corresponds to the JSON property `files`
|
1073
|
-
# @return [Hash<String,Google::Apis::AppengineV1beta4::FileInfo>]
|
1074
|
-
attr_accessor :files
|
1075
|
-
|
1076
|
-
# A Docker (container) image which should be used to start the application.
|
1077
|
-
# Corresponds to the JSON property `container`
|
1078
|
-
# @return [Google::Apis::AppengineV1beta4::ContainerInfo]
|
1079
|
-
attr_accessor :container
|
1080
|
-
|
1081
|
-
# The origin of the source code for this deployment. There can be more than one
|
1082
|
-
# source reference per Version if source code is distributed among multiple
|
1083
|
-
# repositories.
|
1084
|
-
# Corresponds to the JSON property `sourceReferences`
|
1085
|
-
# @return [Array<Google::Apis::AppengineV1beta4::SourceReference>]
|
1086
|
-
attr_accessor :source_references
|
1087
|
-
|
1088
|
-
def initialize(**args)
|
1089
|
-
update!(**args)
|
1090
|
-
end
|
1091
|
-
|
1092
|
-
# Update properties of this object
|
1093
|
-
def update!(**args)
|
1094
|
-
@files = args[:files] if args.key?(:files)
|
1095
|
-
@container = args[:container] if args.key?(:container)
|
1096
|
-
@source_references = args[:source_references] if args.key?(:source_references)
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
# A single source file which is part of the application to be deployed.
|
1101
|
-
class FileInfo
|
1102
|
-
include Google::Apis::Core::Hashable
|
1103
|
-
|
1104
|
-
# The URL source to use to fetch this file. Must be a URL to a resource in
|
1105
|
-
# Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
|
1106
|
-
# Corresponds to the JSON property `sourceUrl`
|
1107
|
-
# @return [String]
|
1108
|
-
attr_accessor :source_url
|
1109
|
-
|
1110
|
-
# The SHA1 (160 bits) hash of the file in hex.
|
1111
|
-
# Corresponds to the JSON property `sha1Sum`
|
1112
|
-
# @return [String]
|
1113
|
-
attr_accessor :sha1_sum
|
1114
|
-
|
1115
|
-
# The MIME type of the file; if unspecified, the value from Google Cloud Storage
|
1116
|
-
# will be used.
|
1117
|
-
# Corresponds to the JSON property `mimeType`
|
1118
|
-
# @return [String]
|
1119
|
-
attr_accessor :mime_type
|
1120
|
-
|
1121
|
-
def initialize(**args)
|
1122
|
-
update!(**args)
|
1123
|
-
end
|
1124
|
-
|
1125
|
-
# Update properties of this object
|
1126
|
-
def update!(**args)
|
1127
|
-
@source_url = args[:source_url] if args.key?(:source_url)
|
1128
|
-
@sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
|
1129
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
1130
|
-
end
|
1131
|
-
end
|
1132
|
-
|
1133
|
-
# A Docker (container) image which should be used to start the application.
|
1134
|
-
class ContainerInfo
|
1135
|
-
include Google::Apis::Core::Hashable
|
1136
|
-
|
1137
|
-
# Reference to a hosted container image. Must be a URI to a resource in a Docker
|
1138
|
-
# repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-
|
1139
|
-
# project/image:tag or gcr.io/my-project/image@digest
|
1140
|
-
# Corresponds to the JSON property `image`
|
1141
|
-
# @return [String]
|
1142
|
-
attr_accessor :image
|
1143
|
-
|
1144
|
-
def initialize(**args)
|
1145
|
-
update!(**args)
|
1146
|
-
end
|
1147
|
-
|
1148
|
-
# Update properties of this object
|
1149
|
-
def update!(**args)
|
1150
|
-
@image = args[:image] if args.key?(:image)
|
1151
|
-
end
|
1152
|
-
end
|
1153
|
-
|
1154
|
-
# A reference to a particular snapshot of the source tree used to build and
|
1155
|
-
# deploy the application.
|
1156
|
-
class SourceReference
|
1157
|
-
include Google::Apis::Core::Hashable
|
1158
|
-
|
1159
|
-
# Optional. A URI string identifying the repository. Example: "https://source.
|
1160
|
-
# developers.google.com/p/app-123/r/default"
|
1161
|
-
# Corresponds to the JSON property `repository`
|
1162
|
-
# @return [String]
|
1163
|
-
attr_accessor :repository
|
1164
|
-
|
1165
|
-
# The canonical (and persistent) identifier of the deployed revision, i.e. any
|
1166
|
-
# kind of aliases including tags or branch names are not allowed. Example (git):
|
1167
|
-
# "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
|
1168
|
-
# Corresponds to the JSON property `revisionId`
|
1169
|
-
# @return [String]
|
1170
|
-
attr_accessor :revision_id
|
1171
|
-
|
1172
|
-
def initialize(**args)
|
1173
|
-
update!(**args)
|
1174
|
-
end
|
1175
|
-
|
1176
|
-
# Update properties of this object
|
1177
|
-
def update!(**args)
|
1178
|
-
@repository = args[:repository] if args.key?(:repository)
|
1179
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
1180
|
-
end
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
# This resource represents a long-running operation that is the result of a
|
1184
|
-
# network API call.
|
1185
|
-
class Operation
|
1186
|
-
include Google::Apis::Core::Hashable
|
1187
|
-
|
1188
|
-
# The server-assigned name, which is only unique within the same service that
|
1189
|
-
# originally returns it. If you use the default HTTP mapping above, the `name`
|
1190
|
-
# should have the format of `operations/some/unique/name`.
|
1191
|
-
# Corresponds to the JSON property `name`
|
1192
|
-
# @return [String]
|
1193
|
-
attr_accessor :name
|
1194
|
-
|
1195
|
-
# Service-specific metadata associated with the operation. It typically contains
|
1196
|
-
# progress information and common metadata such as create time. Some services
|
1197
|
-
# might not provide such metadata. Any method that returns a long-running
|
1198
|
-
# operation should document the metadata type, if any.
|
1199
|
-
# Corresponds to the JSON property `metadata`
|
1200
|
-
# @return [Hash<String,Object>]
|
1201
|
-
attr_accessor :metadata
|
1202
|
-
|
1203
|
-
# If the value is `false`, it means the operation is still in progress. If true,
|
1204
|
-
# the operation is completed, and either `error` or `response` is available.
|
1205
|
-
# Corresponds to the JSON property `done`
|
1206
|
-
# @return [Boolean]
|
1207
|
-
attr_accessor :done
|
1208
|
-
alias_method :done?, :done
|
1209
|
-
|
1210
|
-
# The `Status` type defines a logical error model that is suitable for different
|
1211
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1212
|
-
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
1213
|
-
# use and understand for most users - Flexible enough to meet unexpected needs #
|
1214
|
-
# Overview The `Status` message contains three pieces of data: error code, error
|
1215
|
-
# message, and error details. The error code should be an enum value of google.
|
1216
|
-
# rpc.Code, but it may accept additional error codes if needed. The error
|
1217
|
-
# message should be a developer-facing English message that helps developers *
|
1218
|
-
# understand* and *resolve* the error. If a localized user-facing error message
|
1219
|
-
# is needed, put the localized message in the error details or localize it in
|
1220
|
-
# the client. The optional error details may contain arbitrary information about
|
1221
|
-
# the error. There is a predefined set of error detail types in the package `
|
1222
|
-
# google.rpc` which can be used for common error conditions. # Language mapping
|
1223
|
-
# The `Status` message is the logical representation of the error model, but it
|
1224
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1225
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1226
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1227
|
-
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
1228
|
-
# error model and the `Status` message can be used in a variety of environments,
|
1229
|
-
# either with or without APIs, to provide a consistent developer experience
|
1230
|
-
# across different environments. Example uses of this error model include: -
|
1231
|
-
# Partial errors. If a service needs to return partial errors to the client, it
|
1232
|
-
# may embed the `Status` in the normal response to indicate the partial errors. -
|
1233
|
-
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
1234
|
-
# Status` message for error reporting purpose. - Batch operations. If a client
|
1235
|
-
# uses batch request and batch response, the `Status` message should be used
|
1236
|
-
# directly inside batch response, one for each error sub-response. -
|
1237
|
-
# Asynchronous operations. If an API call embeds asynchronous operation results
|
1238
|
-
# in its response, the status of those operations should be represented directly
|
1239
|
-
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
1240
|
-
# the message `Status` could be used directly after any stripping needed for
|
1241
|
-
# security/privacy reasons.
|
1242
|
-
# Corresponds to the JSON property `error`
|
1243
|
-
# @return [Google::Apis::AppengineV1beta4::Status]
|
1244
|
-
attr_accessor :error
|
1245
|
-
|
1246
|
-
# The normal response of the operation in case of success. If the original
|
1247
|
-
# method returns no data on success, such as `Delete`, the response is `google.
|
1248
|
-
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1249
|
-
# the response should be the resource. For other methods, the response should
|
1250
|
-
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1251
|
-
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1252
|
-
# response type is `TakeSnapshotResponse`.
|
1253
|
-
# Corresponds to the JSON property `response`
|
1254
|
-
# @return [Hash<String,Object>]
|
1255
|
-
attr_accessor :response
|
1256
|
-
|
1257
|
-
def initialize(**args)
|
1258
|
-
update!(**args)
|
1259
|
-
end
|
1260
|
-
|
1261
|
-
# Update properties of this object
|
1262
|
-
def update!(**args)
|
1263
|
-
@name = args[:name] if args.key?(:name)
|
1264
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1265
|
-
@done = args[:done] if args.key?(:done)
|
1266
|
-
@error = args[:error] if args.key?(:error)
|
1267
|
-
@response = args[:response] if args.key?(:response)
|
1268
|
-
end
|
1269
|
-
end
|
1270
|
-
|
1271
|
-
# The `Status` type defines a logical error model that is suitable for different
|
1272
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1273
|
-
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
1274
|
-
# use and understand for most users - Flexible enough to meet unexpected needs #
|
1275
|
-
# Overview The `Status` message contains three pieces of data: error code, error
|
1276
|
-
# message, and error details. The error code should be an enum value of google.
|
1277
|
-
# rpc.Code, but it may accept additional error codes if needed. The error
|
1278
|
-
# message should be a developer-facing English message that helps developers *
|
1279
|
-
# understand* and *resolve* the error. If a localized user-facing error message
|
1280
|
-
# is needed, put the localized message in the error details or localize it in
|
1281
|
-
# the client. The optional error details may contain arbitrary information about
|
1282
|
-
# the error. There is a predefined set of error detail types in the package `
|
1283
|
-
# google.rpc` which can be used for common error conditions. # Language mapping
|
1284
|
-
# The `Status` message is the logical representation of the error model, but it
|
1285
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1286
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1287
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1288
|
-
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
1289
|
-
# error model and the `Status` message can be used in a variety of environments,
|
1290
|
-
# either with or without APIs, to provide a consistent developer experience
|
1291
|
-
# across different environments. Example uses of this error model include: -
|
1292
|
-
# Partial errors. If a service needs to return partial errors to the client, it
|
1293
|
-
# may embed the `Status` in the normal response to indicate the partial errors. -
|
1294
|
-
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
1295
|
-
# Status` message for error reporting purpose. - Batch operations. If a client
|
1296
|
-
# uses batch request and batch response, the `Status` message should be used
|
1297
|
-
# directly inside batch response, one for each error sub-response. -
|
1298
|
-
# Asynchronous operations. If an API call embeds asynchronous operation results
|
1299
|
-
# in its response, the status of those operations should be represented directly
|
1300
|
-
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
1301
|
-
# the message `Status` could be used directly after any stripping needed for
|
1302
|
-
# security/privacy reasons.
|
1303
|
-
class Status
|
1304
|
-
include Google::Apis::Core::Hashable
|
1305
|
-
|
1306
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
1307
|
-
# Corresponds to the JSON property `code`
|
1308
|
-
# @return [Fixnum]
|
1309
|
-
attr_accessor :code
|
1310
|
-
|
1311
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
1312
|
-
# error message should be localized and sent in the google.rpc.Status.details
|
1313
|
-
# field, or localized by the client.
|
1314
|
-
# Corresponds to the JSON property `message`
|
1315
|
-
# @return [String]
|
1316
|
-
attr_accessor :message
|
1317
|
-
|
1318
|
-
# A list of messages that carry the error details. There will be a common set of
|
1319
|
-
# message types for APIs to use.
|
1320
|
-
# Corresponds to the JSON property `details`
|
1321
|
-
# @return [Array<Hash<String,Object>>]
|
1322
|
-
attr_accessor :details
|
1323
|
-
|
1324
|
-
def initialize(**args)
|
1325
|
-
update!(**args)
|
1326
|
-
end
|
1327
|
-
|
1328
|
-
# Update properties of this object
|
1329
|
-
def update!(**args)
|
1330
|
-
@code = args[:code] if args.key?(:code)
|
1331
|
-
@message = args[:message] if args.key?(:message)
|
1332
|
-
@details = args[:details] if args.key?(:details)
|
1333
|
-
end
|
1334
|
-
end
|
1335
|
-
|
1336
|
-
# Response message for `Versions.ListVersions`.
|
1337
|
-
class ListVersionsResponse
|
1338
|
-
include Google::Apis::Core::Hashable
|
1339
|
-
|
1340
|
-
# The versions belonging to the requested application module.
|
1341
|
-
# Corresponds to the JSON property `versions`
|
1342
|
-
# @return [Array<Google::Apis::AppengineV1beta4::Version>]
|
1343
|
-
attr_accessor :versions
|
1344
|
-
|
1345
|
-
# Continuation token for fetching the next page of results.
|
1346
|
-
# Corresponds to the JSON property `nextPageToken`
|
1347
|
-
# @return [String]
|
1348
|
-
attr_accessor :next_page_token
|
1349
|
-
|
1350
|
-
def initialize(**args)
|
1351
|
-
update!(**args)
|
1352
|
-
end
|
1353
|
-
|
1354
|
-
# Update properties of this object
|
1355
|
-
def update!(**args)
|
1356
|
-
@versions = args[:versions] if args.key?(:versions)
|
1357
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1358
|
-
end
|
1359
|
-
end
|
1360
|
-
|
1361
|
-
# A module is a component of an application that provides a single service or
|
1362
|
-
# configuration. A module has a collection of versions that define a specific
|
1363
|
-
# set of code used to implement the functionality of that module.
|
1364
|
-
class Module
|
1365
|
-
include Google::Apis::Core::Hashable
|
1366
|
-
|
1367
|
-
# The full path to the Module resource in the API. Example: "apps/myapp/modules/
|
1368
|
-
# default" @OutputOnly
|
1369
|
-
# Corresponds to the JSON property `name`
|
1370
|
-
# @return [String]
|
1371
|
-
attr_accessor :name
|
1372
|
-
|
1373
|
-
# The relative name/path of the module within the application. Example: "default"
|
1374
|
-
# @OutputOnly
|
1375
|
-
# Corresponds to the JSON property `id`
|
1376
|
-
# @return [String]
|
1377
|
-
attr_accessor :id
|
1378
|
-
|
1379
|
-
# Configuration for traffic splitting for versions within a single module.
|
1380
|
-
# Traffic splitting allows traffic directed to the module to be assigned to one
|
1381
|
-
# of several versions in a fractional way, enabling experiments and canarying
|
1382
|
-
# new builds, for example.
|
1383
|
-
# Corresponds to the JSON property `split`
|
1384
|
-
# @return [Google::Apis::AppengineV1beta4::TrafficSplit]
|
1385
|
-
attr_accessor :split
|
1386
|
-
|
1387
|
-
def initialize(**args)
|
1388
|
-
update!(**args)
|
1389
|
-
end
|
1390
|
-
|
1391
|
-
# Update properties of this object
|
1392
|
-
def update!(**args)
|
1393
|
-
@name = args[:name] if args.key?(:name)
|
1394
|
-
@id = args[:id] if args.key?(:id)
|
1395
|
-
@split = args[:split] if args.key?(:split)
|
1396
|
-
end
|
1397
|
-
end
|
1398
|
-
|
1399
|
-
# Configuration for traffic splitting for versions within a single module.
|
1400
|
-
# Traffic splitting allows traffic directed to the module to be assigned to one
|
1401
|
-
# of several versions in a fractional way, enabling experiments and canarying
|
1402
|
-
# new builds, for example.
|
1403
|
-
class TrafficSplit
|
1404
|
-
include Google::Apis::Core::Hashable
|
1405
|
-
|
1406
|
-
# Which mechanism should be used as a selector when choosing a version to send a
|
1407
|
-
# request to. The traffic selection algorithm will be stable for either type
|
1408
|
-
# until allocations are changed.
|
1409
|
-
# Corresponds to the JSON property `shardBy`
|
1410
|
-
# @return [String]
|
1411
|
-
attr_accessor :shard_by
|
1412
|
-
|
1413
|
-
# Mapping from module version IDs within the module to fractional (0.000, 1]
|
1414
|
-
# allocations of traffic for that version. Each version may only be specified
|
1415
|
-
# once, but some versions in the module may not have any traffic allocation.
|
1416
|
-
# Modules that have traffic allocated in this field may not be deleted until the
|
1417
|
-
# module is deleted, or their traffic allocation is removed. Allocations must
|
1418
|
-
# sum to 1. Supports precision up to two decimal places for IP-based splits and
|
1419
|
-
# up to three decimal places for cookie-based splits.
|
1420
|
-
# Corresponds to the JSON property `allocations`
|
1421
|
-
# @return [Hash<String,Float>]
|
1422
|
-
attr_accessor :allocations
|
1423
|
-
|
1424
|
-
def initialize(**args)
|
1425
|
-
update!(**args)
|
1426
|
-
end
|
1427
|
-
|
1428
|
-
# Update properties of this object
|
1429
|
-
def update!(**args)
|
1430
|
-
@shard_by = args[:shard_by] if args.key?(:shard_by)
|
1431
|
-
@allocations = args[:allocations] if args.key?(:allocations)
|
1432
|
-
end
|
1433
|
-
end
|
1434
|
-
|
1435
|
-
# Response message for `Modules.ListModules`.
|
1436
|
-
class ListModulesResponse
|
1437
|
-
include Google::Apis::Core::Hashable
|
1438
|
-
|
1439
|
-
# The modules belonging to the requested application.
|
1440
|
-
# Corresponds to the JSON property `modules`
|
1441
|
-
# @return [Array<Google::Apis::AppengineV1beta4::Module>]
|
1442
|
-
attr_accessor :modules
|
1443
|
-
|
1444
|
-
# Continuation token for fetching the next page of results.
|
1445
|
-
# Corresponds to the JSON property `nextPageToken`
|
1446
|
-
# @return [String]
|
1447
|
-
attr_accessor :next_page_token
|
1448
|
-
|
1449
|
-
def initialize(**args)
|
1450
|
-
update!(**args)
|
1451
|
-
end
|
1452
|
-
|
1453
|
-
# Update properties of this object
|
1454
|
-
def update!(**args)
|
1455
|
-
@modules = args[:modules] if args.key?(:modules)
|
1456
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
# The response message for Operations.ListOperations.
|
1461
|
-
class ListOperationsResponse
|
1462
|
-
include Google::Apis::Core::Hashable
|
1463
|
-
|
1464
|
-
# A list of operations that matches the specified filter in the request.
|
1465
|
-
# Corresponds to the JSON property `operations`
|
1466
|
-
# @return [Array<Google::Apis::AppengineV1beta4::Operation>]
|
1467
|
-
attr_accessor :operations
|
1468
|
-
|
1469
|
-
# The standard List next-page token.
|
1470
|
-
# Corresponds to the JSON property `nextPageToken`
|
1471
|
-
# @return [String]
|
1472
|
-
attr_accessor :next_page_token
|
1473
|
-
|
1474
|
-
def initialize(**args)
|
1475
|
-
update!(**args)
|
1476
|
-
end
|
1477
|
-
|
1478
|
-
# Update properties of this object
|
1479
|
-
def update!(**args)
|
1480
|
-
@operations = args[:operations] if args.key?(:operations)
|
1481
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1482
|
-
end
|
1483
|
-
end
|
1484
|
-
|
1485
|
-
# Metadata for the given google.longrunning.Operation.
|
1486
|
-
class OperationMetadata
|
1487
|
-
include Google::Apis::Core::Hashable
|
1488
|
-
|
1489
|
-
# The type of the operation (deprecated, use method field instead). Example: "
|
1490
|
-
# create_version". @OutputOnly
|
1491
|
-
# Corresponds to the JSON property `operationType`
|
1492
|
-
# @return [String]
|
1493
|
-
attr_accessor :operation_type
|
1494
|
-
|
1495
|
-
# Timestamp that this operation was received. @OutputOnly
|
1496
|
-
# Corresponds to the JSON property `insertTime`
|
1497
|
-
# @return [String]
|
1498
|
-
attr_accessor :insert_time
|
1499
|
-
|
1500
|
-
# Timestamp that this operation was completed. (Not present if the operation is
|
1501
|
-
# still in progress.) @OutputOnly
|
1502
|
-
# Corresponds to the JSON property `endTime`
|
1503
|
-
# @return [String]
|
1504
|
-
attr_accessor :end_time
|
1505
|
-
|
1506
|
-
# The user who requested this operation. @OutputOnly
|
1507
|
-
# Corresponds to the JSON property `user`
|
1508
|
-
# @return [String]
|
1509
|
-
attr_accessor :user
|
1510
|
-
|
1511
|
-
# Resource that this operation is acting on. Example: "apps/myapp/modules/
|
1512
|
-
# default". @OutputOnly
|
1513
|
-
# Corresponds to the JSON property `target`
|
1514
|
-
# @return [String]
|
1515
|
-
attr_accessor :target
|
1516
|
-
|
1517
|
-
# API method name that initiated the operation. Example: "google.appengine.
|
1518
|
-
# v1beta4.Version.CreateVersion". @OutputOnly
|
1519
|
-
# Corresponds to the JSON property `method`
|
1520
|
-
# @return [String]
|
1521
|
-
attr_accessor :method_prop
|
1522
|
-
|
1523
|
-
def initialize(**args)
|
1524
|
-
update!(**args)
|
1525
|
-
end
|
1526
|
-
|
1527
|
-
# Update properties of this object
|
1528
|
-
def update!(**args)
|
1529
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1530
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
1531
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1532
|
-
@user = args[:user] if args.key?(:user)
|
1533
|
-
@target = args[:target] if args.key?(:target)
|
1534
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
1535
|
-
end
|
1536
|
-
end
|
1537
|
-
|
1538
|
-
# Metadata for the given google.longrunning.Operation.
|
1539
|
-
class OperationMetadataV1Beta5
|
1540
|
-
include Google::Apis::Core::Hashable
|
1541
|
-
|
1542
|
-
# API method name that initiated the operation. Example: "google.appengine.
|
1543
|
-
# v1beta5.Version.CreateVersion". @OutputOnly
|
1544
|
-
# Corresponds to the JSON property `method`
|
1545
|
-
# @return [String]
|
1546
|
-
attr_accessor :method_prop
|
1547
|
-
|
1548
|
-
# Timestamp that this operation was received. @OutputOnly
|
1549
|
-
# Corresponds to the JSON property `insertTime`
|
1550
|
-
# @return [String]
|
1551
|
-
attr_accessor :insert_time
|
1552
|
-
|
1553
|
-
# Timestamp that this operation was completed. (Not present if the operation is
|
1554
|
-
# still in progress.) @OutputOnly
|
1555
|
-
# Corresponds to the JSON property `endTime`
|
1556
|
-
# @return [String]
|
1557
|
-
attr_accessor :end_time
|
1558
|
-
|
1559
|
-
# The user who requested this operation. @OutputOnly
|
1560
|
-
# Corresponds to the JSON property `user`
|
1561
|
-
# @return [String]
|
1562
|
-
attr_accessor :user
|
1563
|
-
|
1564
|
-
# Resource that this operation is acting on. Example: "apps/myapp/services/
|
1565
|
-
# default". @OutputOnly
|
1566
|
-
# Corresponds to the JSON property `target`
|
1567
|
-
# @return [String]
|
1568
|
-
attr_accessor :target
|
1569
|
-
|
1570
|
-
def initialize(**args)
|
1571
|
-
update!(**args)
|
1572
|
-
end
|
1573
|
-
|
1574
|
-
# Update properties of this object
|
1575
|
-
def update!(**args)
|
1576
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
1577
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
1578
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1579
|
-
@user = args[:user] if args.key?(:user)
|
1580
|
-
@target = args[:target] if args.key?(:target)
|
1581
|
-
end
|
1582
|
-
end
|
1583
|
-
end
|
1584
|
-
end
|
1585
|
-
end
|