google-api-client 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- 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 +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
|
@@ -569,6 +569,7 @@ module Google
|
|
|
569
569
|
property :kind, as: 'kind'
|
|
570
570
|
property :num_provisioned, as: 'numProvisioned'
|
|
571
571
|
property :num_purchased, as: 'numPurchased'
|
|
572
|
+
property :permissions, as: 'permissions'
|
|
572
573
|
property :product_id, as: 'productId'
|
|
573
574
|
end
|
|
574
575
|
end
|
|
@@ -816,6 +817,7 @@ module Google
|
|
|
816
817
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
817
818
|
property :approval_url_info, as: 'approvalUrlInfo', class: Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo, decorator: Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo::Representation
|
|
818
819
|
|
|
820
|
+
property :approved_permissions, as: 'approvedPermissions'
|
|
819
821
|
end
|
|
820
822
|
end
|
|
821
823
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170425'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -20,21 +20,22 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Google App Engine Admin API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# The App Engine Admin API enables developers to provision and manage their App
|
|
24
|
+
# Engine applications.
|
|
24
25
|
#
|
|
25
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
26
27
|
module AppengineV1
|
|
27
28
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170426'
|
|
29
30
|
|
|
30
31
|
# View and manage your applications deployed on Google App Engine
|
|
31
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
32
33
|
|
|
33
|
-
# View and manage your data across Google Cloud Platform services
|
|
34
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
35
|
-
|
|
36
34
|
# View your data across Google Cloud Platform services
|
|
37
35
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
36
|
+
|
|
37
|
+
# View and manage your data across Google Cloud Platform services
|
|
38
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
38
39
|
end
|
|
39
40
|
end
|
|
40
41
|
end
|
|
@@ -22,19 +22,56 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AppengineV1
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
|
|
25
|
+
# Files served directly to the user for a given URL, such as images, CSS
|
|
26
|
+
# stylesheets, or JavaScript source files. Static file handlers describe which
|
|
27
|
+
# files in the application directory are static files, and which URLs serve them.
|
|
28
|
+
class StaticFilesHandler
|
|
27
29
|
include Google::Apis::Core::Hashable
|
|
28
30
|
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
|
|
31
|
+
# Time a static file served by this handler should be cached by web proxies and
|
|
32
|
+
# browsers.
|
|
33
|
+
# Corresponds to the JSON property `expiration`
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :expiration
|
|
33
36
|
|
|
34
|
-
#
|
|
35
|
-
#
|
|
37
|
+
# Whether files should also be uploaded as code data. By default, files declared
|
|
38
|
+
# in static file handlers are uploaded as static data and are only served to end
|
|
39
|
+
# users; they cannot be read by the application. If enabled, uploads are charged
|
|
40
|
+
# against both your code and static data storage resource quotas.
|
|
41
|
+
# Corresponds to the JSON property `applicationReadable`
|
|
42
|
+
# @return [Boolean]
|
|
43
|
+
attr_accessor :application_readable
|
|
44
|
+
alias_method :application_readable?, :application_readable
|
|
45
|
+
|
|
46
|
+
# HTTP headers to use for all responses from these URLs.
|
|
47
|
+
# Corresponds to the JSON property `httpHeaders`
|
|
48
|
+
# @return [Hash<String,String>]
|
|
49
|
+
attr_accessor :http_headers
|
|
50
|
+
|
|
51
|
+
# Regular expression that matches the file paths for all files that should be
|
|
52
|
+
# referenced by this handler.
|
|
53
|
+
# Corresponds to the JSON property `uploadPathRegex`
|
|
36
54
|
# @return [String]
|
|
37
|
-
attr_accessor :
|
|
55
|
+
attr_accessor :upload_path_regex
|
|
56
|
+
|
|
57
|
+
# Path to the static files matched by the URL pattern, from the application root
|
|
58
|
+
# directory. The path can refer to text matched in groupings in the URL pattern.
|
|
59
|
+
# Corresponds to the JSON property `path`
|
|
60
|
+
# @return [String]
|
|
61
|
+
attr_accessor :path
|
|
62
|
+
|
|
63
|
+
# MIME type used to serve all files served by this handler.Defaults to file-
|
|
64
|
+
# specific MIME types, which are derived from each file's filename extension.
|
|
65
|
+
# Corresponds to the JSON property `mimeType`
|
|
66
|
+
# @return [String]
|
|
67
|
+
attr_accessor :mime_type
|
|
68
|
+
|
|
69
|
+
# Whether this handler should match the request if the file referenced by the
|
|
70
|
+
# handler does not exist.
|
|
71
|
+
# Corresponds to the JSON property `requireMatchingFile`
|
|
72
|
+
# @return [Boolean]
|
|
73
|
+
attr_accessor :require_matching_file
|
|
74
|
+
alias_method :require_matching_file?, :require_matching_file
|
|
38
75
|
|
|
39
76
|
def initialize(**args)
|
|
40
77
|
update!(**args)
|
|
@@ -42,83 +79,95 @@ module Google
|
|
|
42
79
|
|
|
43
80
|
# Update properties of this object
|
|
44
81
|
def update!(**args)
|
|
45
|
-
@
|
|
46
|
-
@
|
|
82
|
+
@expiration = args[:expiration] if args.key?(:expiration)
|
|
83
|
+
@application_readable = args[:application_readable] if args.key?(:application_readable)
|
|
84
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
|
85
|
+
@upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
|
|
86
|
+
@path = args[:path] if args.key?(:path)
|
|
87
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
88
|
+
@require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
|
|
47
89
|
end
|
|
48
90
|
end
|
|
49
91
|
|
|
50
|
-
#
|
|
51
|
-
|
|
52
|
-
class Operation
|
|
92
|
+
# Target scaling by disk usage. Only applicable for VM runtimes.
|
|
93
|
+
class DiskUtilization
|
|
53
94
|
include Google::Apis::Core::Hashable
|
|
54
95
|
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
|
|
96
|
+
# Target bytes read per second.
|
|
97
|
+
# Corresponds to the JSON property `targetReadBytesPerSecond`
|
|
98
|
+
# @return [Fixnum]
|
|
99
|
+
attr_accessor :target_read_bytes_per_second
|
|
100
|
+
|
|
101
|
+
# Target ops read per seconds.
|
|
102
|
+
# Corresponds to the JSON property `targetReadOpsPerSecond`
|
|
103
|
+
# @return [Fixnum]
|
|
104
|
+
attr_accessor :target_read_ops_per_second
|
|
105
|
+
|
|
106
|
+
# Target ops written per second.
|
|
107
|
+
# Corresponds to the JSON property `targetWriteOpsPerSecond`
|
|
108
|
+
# @return [Fixnum]
|
|
109
|
+
attr_accessor :target_write_ops_per_second
|
|
110
|
+
|
|
111
|
+
# Target bytes written per second.
|
|
112
|
+
# Corresponds to the JSON property `targetWriteBytesPerSecond`
|
|
113
|
+
# @return [Fixnum]
|
|
114
|
+
attr_accessor :target_write_bytes_per_second
|
|
115
|
+
|
|
116
|
+
def initialize(**args)
|
|
117
|
+
update!(**args)
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Update properties of this object
|
|
121
|
+
def update!(**args)
|
|
122
|
+
@target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second)
|
|
123
|
+
@target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second)
|
|
124
|
+
@target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second)
|
|
125
|
+
@target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second)
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# A service with basic scaling will create an instance when the application
|
|
130
|
+
# receives a request. The instance will be turned down when the app becomes idle.
|
|
131
|
+
# Basic scaling is ideal for work that is intermittent or driven by user
|
|
132
|
+
# activity.
|
|
133
|
+
class BasicScaling
|
|
134
|
+
include Google::Apis::Core::Hashable
|
|
135
|
+
|
|
136
|
+
# Maximum number of instances to create for this version.
|
|
137
|
+
# Corresponds to the JSON property `maxInstances`
|
|
138
|
+
# @return [Fixnum]
|
|
139
|
+
attr_accessor :max_instances
|
|
140
|
+
|
|
141
|
+
# Duration of time after the last request that an instance must wait before the
|
|
142
|
+
# instance is shut down.
|
|
143
|
+
# Corresponds to the JSON property `idleTimeout`
|
|
59
144
|
# @return [String]
|
|
60
|
-
attr_accessor :
|
|
145
|
+
attr_accessor :idle_timeout
|
|
61
146
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
# operation should document the metadata type, if any.
|
|
66
|
-
# Corresponds to the JSON property `metadata`
|
|
67
|
-
# @return [Hash<String,Object>]
|
|
68
|
-
attr_accessor :metadata
|
|
147
|
+
def initialize(**args)
|
|
148
|
+
update!(**args)
|
|
149
|
+
end
|
|
69
150
|
|
|
70
|
-
#
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
151
|
+
# Update properties of this object
|
|
152
|
+
def update!(**args)
|
|
153
|
+
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
|
154
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
|
155
|
+
end
|
|
156
|
+
end
|
|
76
157
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
# and understand for most users Flexible enough to meet unexpected
|
|
81
|
-
# needsOverviewThe Status message contains three pieces of data: error code,
|
|
82
|
-
# error message, and error details. The error code should be an enum value of
|
|
83
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The error
|
|
84
|
-
# message should be a developer-facing English message that helps developers
|
|
85
|
-
# understand and resolve the error. If a localized user-facing error message is
|
|
86
|
-
# needed, put the localized message in the error details or localize it in the
|
|
87
|
-
# client. The optional error details may contain arbitrary information about the
|
|
88
|
-
# error. There is a predefined set of error detail types in the package google.
|
|
89
|
-
# rpc which can be used for common error conditions.Language mappingThe Status
|
|
90
|
-
# message is the logical representation of the error model, but it is not
|
|
91
|
-
# necessarily the actual wire format. When the Status message is exposed in
|
|
92
|
-
# different client libraries and different wire protocols, it can be mapped
|
|
93
|
-
# differently. For example, it will likely be mapped to some exceptions in Java,
|
|
94
|
-
# but more likely mapped to some error codes in C.Other usesThe error model and
|
|
95
|
-
# the Status message can be used in a variety of environments, either with or
|
|
96
|
-
# without APIs, to provide a consistent developer experience across different
|
|
97
|
-
# environments.Example uses of this error model include: Partial errors. If a
|
|
98
|
-
# service needs to return partial errors to the client, it may embed the Status
|
|
99
|
-
# in the normal response to indicate the partial errors. Workflow errors. A
|
|
100
|
-
# typical workflow has multiple steps. Each step may have a Status message for
|
|
101
|
-
# error reporting purpose. Batch operations. If a client uses batch request and
|
|
102
|
-
# batch response, the Status message should be used directly inside batch
|
|
103
|
-
# response, one for each error sub-response. Asynchronous operations. If an API
|
|
104
|
-
# call embeds asynchronous operation results in its response, the status of
|
|
105
|
-
# those operations should be represented directly using the Status message.
|
|
106
|
-
# Logging. If some API errors are stored in logs, the message Status could be
|
|
107
|
-
# used directly after any stripping needed for security/privacy reasons.
|
|
108
|
-
# Corresponds to the JSON property `error`
|
|
109
|
-
# @return [Google::Apis::AppengineV1::Status]
|
|
110
|
-
attr_accessor :error
|
|
158
|
+
# Target scaling by CPU usage.
|
|
159
|
+
class CpuUtilization
|
|
160
|
+
include Google::Apis::Core::Hashable
|
|
111
161
|
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
|
|
121
|
-
attr_accessor :response
|
|
162
|
+
# Period of time over which CPU utilization is calculated.
|
|
163
|
+
# Corresponds to the JSON property `aggregationWindowLength`
|
|
164
|
+
# @return [String]
|
|
165
|
+
attr_accessor :aggregation_window_length
|
|
166
|
+
|
|
167
|
+
# Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
|
|
168
|
+
# Corresponds to the JSON property `targetUtilization`
|
|
169
|
+
# @return [Float]
|
|
170
|
+
attr_accessor :target_utilization
|
|
122
171
|
|
|
123
172
|
def initialize(**args)
|
|
124
173
|
update!(**args)
|
|
@@ -126,43 +175,43 @@ module Google
|
|
|
126
175
|
|
|
127
176
|
# Update properties of this object
|
|
128
177
|
def update!(**args)
|
|
129
|
-
@
|
|
130
|
-
@
|
|
131
|
-
@done = args[:done] if args.key?(:done)
|
|
132
|
-
@error = args[:error] if args.key?(:error)
|
|
133
|
-
@response = args[:response] if args.key?(:response)
|
|
178
|
+
@aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
|
|
179
|
+
@target_utilization = args[:target_utilization] if args.key?(:target_utilization)
|
|
134
180
|
end
|
|
135
181
|
end
|
|
136
182
|
|
|
137
183
|
# The Status type defines a logical error model that is suitable for different
|
|
138
184
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
|
139
|
-
# (https://github.com/grpc). The error model is designed to be:
|
|
140
|
-
# and understand for most users
|
|
141
|
-
#
|
|
142
|
-
# error message, and error details. The error
|
|
143
|
-
# google.rpc.Code, but it may accept additional
|
|
144
|
-
# message should be a developer-facing English
|
|
145
|
-
# understand and resolve the error. If a localized
|
|
146
|
-
# needed, put the localized message in the error
|
|
147
|
-
# client. The optional error details may contain
|
|
148
|
-
# error. There is a predefined set of error
|
|
149
|
-
# rpc which can be used for common error
|
|
150
|
-
# message is the logical representation of
|
|
151
|
-
# necessarily the actual wire format. When the
|
|
152
|
-
# different client libraries and different wire
|
|
153
|
-
# differently. For example, it will likely be mapped
|
|
154
|
-
# but more likely mapped to some error codes in C.
|
|
155
|
-
# the Status message can be used in a variety of
|
|
156
|
-
# without APIs, to provide a consistent developer
|
|
157
|
-
# environments.Example uses of this error model
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
185
|
+
# (https://github.com/grpc). The error model is designed to be:
|
|
186
|
+
# Simple to use and understand for most users
|
|
187
|
+
# Flexible enough to meet unexpected needsOverviewThe Status message contains
|
|
188
|
+
# three pieces of data: error code, error message, and error details. The error
|
|
189
|
+
# code should be an enum value of google.rpc.Code, but it may accept additional
|
|
190
|
+
# error codes if needed. The error message should be a developer-facing English
|
|
191
|
+
# message that helps developers understand and resolve the error. If a localized
|
|
192
|
+
# user-facing error message is needed, put the localized message in the error
|
|
193
|
+
# details or localize it in the client. The optional error details may contain
|
|
194
|
+
# arbitrary information about the error. There is a predefined set of error
|
|
195
|
+
# detail types in the package google.rpc which can be used for common error
|
|
196
|
+
# conditions.Language mappingThe Status message is the logical representation of
|
|
197
|
+
# the error model, but it is not necessarily the actual wire format. When the
|
|
198
|
+
# Status message is exposed in different client libraries and different wire
|
|
199
|
+
# protocols, it can be mapped differently. For example, it will likely be mapped
|
|
200
|
+
# to some exceptions in Java, but more likely mapped to some error codes in C.
|
|
201
|
+
# Other usesThe error model and the Status message can be used in a variety of
|
|
202
|
+
# environments, either with or without APIs, to provide a consistent developer
|
|
203
|
+
# experience across different environments.Example uses of this error model
|
|
204
|
+
# include:
|
|
205
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
|
206
|
+
# may embed the Status in the normal response to indicate the partial errors.
|
|
207
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a
|
|
208
|
+
# Status message for error reporting purpose.
|
|
209
|
+
# Batch operations. If a client uses batch request and batch response, the
|
|
210
|
+
# Status message should be used directly inside batch response, one for each
|
|
211
|
+
# error sub-response.
|
|
212
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
|
213
|
+
# in its response, the status of those operations should be represented directly
|
|
214
|
+
# using the Status message.
|
|
166
215
|
# Logging. If some API errors are stored in logs, the message Status could be
|
|
167
216
|
# used directly after any stripping needed for security/privacy reasons.
|
|
168
217
|
class Status
|
|
@@ -198,127 +247,59 @@ module Google
|
|
|
198
247
|
end
|
|
199
248
|
end
|
|
200
249
|
|
|
201
|
-
#
|
|
202
|
-
|
|
203
|
-
class Application
|
|
250
|
+
# Identity-Aware Proxy
|
|
251
|
+
class IdentityAwareProxy
|
|
204
252
|
include Google::Apis::Core::Hashable
|
|
205
253
|
|
|
206
|
-
#
|
|
207
|
-
#
|
|
208
|
-
#
|
|
254
|
+
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
|
255
|
+
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
|
256
|
+
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
|
257
|
+
# Corresponds to the JSON property `oauth2ClientSecret`
|
|
209
258
|
# @return [String]
|
|
210
|
-
attr_accessor :
|
|
259
|
+
attr_accessor :oauth2_client_secret
|
|
211
260
|
|
|
212
|
-
#
|
|
213
|
-
#
|
|
214
|
-
# application. Example: myapp.
|
|
215
|
-
# Corresponds to the JSON property `id`
|
|
261
|
+
# OAuth2 client ID to use for the authentication flow.
|
|
262
|
+
# Corresponds to the JSON property `oauth2ClientId`
|
|
216
263
|
# @return [String]
|
|
217
|
-
attr_accessor :
|
|
218
|
-
|
|
219
|
-
# HTTP path dispatch rules for requests to the application that do not
|
|
220
|
-
# explicitly target a service or version. Rules are order-dependent. Up to 20
|
|
221
|
-
# dispatch rules can be supported.@OutputOnly
|
|
222
|
-
# Corresponds to the JSON property `dispatchRules`
|
|
223
|
-
# @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
|
|
224
|
-
attr_accessor :dispatch_rules
|
|
264
|
+
attr_accessor :oauth2_client_id
|
|
225
265
|
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
# Corresponds to the JSON property `authDomain`
|
|
266
|
+
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
|
267
|
+
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
|
229
268
|
# @return [String]
|
|
230
|
-
attr_accessor :
|
|
269
|
+
attr_accessor :oauth2_client_secret_sha256
|
|
231
270
|
|
|
232
|
-
#
|
|
233
|
-
#
|
|
234
|
-
#
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
|
|
238
|
-
|
|
271
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
|
272
|
+
# incoming requests.If true, the oauth2_client_id and oauth2_client_secret
|
|
273
|
+
# fields must be non-empty.
|
|
274
|
+
# Corresponds to the JSON property `enabled`
|
|
275
|
+
# @return [Boolean]
|
|
276
|
+
attr_accessor :enabled
|
|
277
|
+
alias_method :enabled?, :enabled
|
|
239
278
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
# Corresponds to the JSON property `codeBucket`
|
|
244
|
-
# @return [String]
|
|
245
|
-
attr_accessor :code_bucket
|
|
279
|
+
def initialize(**args)
|
|
280
|
+
update!(**args)
|
|
281
|
+
end
|
|
246
282
|
|
|
247
|
-
#
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
283
|
+
# Update properties of this object
|
|
284
|
+
def update!(**args)
|
|
285
|
+
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
|
286
|
+
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
|
287
|
+
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
|
288
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
289
|
+
end
|
|
290
|
+
end
|
|
251
291
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
attr_accessor :serving_status
|
|
256
|
-
|
|
257
|
-
# Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
|
258
|
-
# Corresponds to the JSON property `defaultHostname`
|
|
259
|
-
# @return [String]
|
|
260
|
-
attr_accessor :default_hostname
|
|
261
|
-
|
|
262
|
-
# Google Cloud Storage bucket that can be used by this application to store
|
|
263
|
-
# content.@OutputOnly
|
|
264
|
-
# Corresponds to the JSON property `defaultBucket`
|
|
265
|
-
# @return [String]
|
|
266
|
-
attr_accessor :default_bucket
|
|
267
|
-
|
|
268
|
-
# Identity-Aware Proxy
|
|
269
|
-
# Corresponds to the JSON property `iap`
|
|
270
|
-
# @return [Google::Apis::AppengineV1::IdentityAwareProxy]
|
|
271
|
-
attr_accessor :iap
|
|
272
|
-
|
|
273
|
-
# The Google Container Registry domain used for storing managed build docker
|
|
274
|
-
# images for this application.
|
|
275
|
-
# Corresponds to the JSON property `gcrDomain`
|
|
276
|
-
# @return [String]
|
|
277
|
-
attr_accessor :gcr_domain
|
|
278
|
-
|
|
279
|
-
def initialize(**args)
|
|
280
|
-
update!(**args)
|
|
281
|
-
end
|
|
282
|
-
|
|
283
|
-
# Update properties of this object
|
|
284
|
-
def update!(**args)
|
|
285
|
-
@name = args[:name] if args.key?(:name)
|
|
286
|
-
@id = args[:id] if args.key?(:id)
|
|
287
|
-
@dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
|
|
288
|
-
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
|
289
|
-
@location_id = args[:location_id] if args.key?(:location_id)
|
|
290
|
-
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
|
291
|
-
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
|
292
|
-
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
293
|
-
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
|
294
|
-
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
|
295
|
-
@iap = args[:iap] if args.key?(:iap)
|
|
296
|
-
@gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
|
|
297
|
-
end
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
# Rules to match an HTTP request and dispatch that request to a service.
|
|
301
|
-
class UrlDispatchRule
|
|
292
|
+
# A service with manual scaling runs continuously, allowing you to perform
|
|
293
|
+
# complex initialization and rely on the state of its memory over time.
|
|
294
|
+
class ManualScaling
|
|
302
295
|
include Google::Apis::Core::Hashable
|
|
303
296
|
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
#
|
|
307
|
-
#
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
# Pathname within the host. Must start with a "/". A single "*" can be included
|
|
311
|
-
# at the end of the path.The sum of the lengths of the domain and path may not
|
|
312
|
-
# exceed 100 characters.
|
|
313
|
-
# Corresponds to the JSON property `path`
|
|
314
|
-
# @return [String]
|
|
315
|
-
attr_accessor :path
|
|
316
|
-
|
|
317
|
-
# Resource ID of a service in this application that should serve the matched
|
|
318
|
-
# request. The service must already exist. Example: default.
|
|
319
|
-
# Corresponds to the JSON property `service`
|
|
320
|
-
# @return [String]
|
|
321
|
-
attr_accessor :service
|
|
297
|
+
# Number of instances to assign to the service at the start. This number can
|
|
298
|
+
# later be altered by using the Modules API (https://cloud.google.com/appengine/
|
|
299
|
+
# docs/python/modules/functions) set_num_instances() function.
|
|
300
|
+
# Corresponds to the JSON property `instances`
|
|
301
|
+
# @return [Fixnum]
|
|
302
|
+
attr_accessor :instances
|
|
322
303
|
|
|
323
304
|
def initialize(**args)
|
|
324
305
|
update!(**args)
|
|
@@ -326,80 +307,25 @@ module Google
|
|
|
326
307
|
|
|
327
308
|
# Update properties of this object
|
|
328
309
|
def update!(**args)
|
|
329
|
-
@
|
|
330
|
-
@path = args[:path] if args.key?(:path)
|
|
331
|
-
@service = args[:service] if args.key?(:service)
|
|
310
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
332
311
|
end
|
|
333
312
|
end
|
|
334
313
|
|
|
335
|
-
#
|
|
336
|
-
class
|
|
314
|
+
# Metadata for the given google.cloud.location.Location.
|
|
315
|
+
class LocationMetadata
|
|
337
316
|
include Google::Apis::Core::Hashable
|
|
338
317
|
|
|
339
|
-
#
|
|
340
|
-
#
|
|
341
|
-
# fields must be non-empty.
|
|
342
|
-
# Corresponds to the JSON property `enabled`
|
|
318
|
+
# App Engine Flexible Environment is available in the given location.@OutputOnly
|
|
319
|
+
# Corresponds to the JSON property `flexibleEnvironmentAvailable`
|
|
343
320
|
# @return [Boolean]
|
|
344
|
-
attr_accessor :
|
|
345
|
-
alias_method :
|
|
346
|
-
|
|
347
|
-
# OAuth2 client ID to use for the authentication flow.
|
|
348
|
-
# Corresponds to the JSON property `oauth2ClientId`
|
|
349
|
-
# @return [String]
|
|
350
|
-
attr_accessor :oauth2_client_id
|
|
351
|
-
|
|
352
|
-
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
|
353
|
-
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
|
354
|
-
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
|
355
|
-
# Corresponds to the JSON property `oauth2ClientSecret`
|
|
356
|
-
# @return [String]
|
|
357
|
-
attr_accessor :oauth2_client_secret
|
|
358
|
-
|
|
359
|
-
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
|
360
|
-
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
|
361
|
-
# @return [String]
|
|
362
|
-
attr_accessor :oauth2_client_secret_sha256
|
|
363
|
-
|
|
364
|
-
def initialize(**args)
|
|
365
|
-
update!(**args)
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
# Update properties of this object
|
|
369
|
-
def update!(**args)
|
|
370
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
|
371
|
-
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
|
372
|
-
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
|
373
|
-
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
# Request message for 'Applications.RepairApplication'.
|
|
378
|
-
class RepairApplicationRequest
|
|
379
|
-
include Google::Apis::Core::Hashable
|
|
380
|
-
|
|
381
|
-
def initialize(**args)
|
|
382
|
-
update!(**args)
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
# Update properties of this object
|
|
386
|
-
def update!(**args)
|
|
387
|
-
end
|
|
388
|
-
end
|
|
389
|
-
|
|
390
|
-
# Response message for Services.ListServices.
|
|
391
|
-
class ListServicesResponse
|
|
392
|
-
include Google::Apis::Core::Hashable
|
|
393
|
-
|
|
394
|
-
# The services belonging to the requested application.
|
|
395
|
-
# Corresponds to the JSON property `services`
|
|
396
|
-
# @return [Array<Google::Apis::AppengineV1::Service>]
|
|
397
|
-
attr_accessor :services
|
|
321
|
+
attr_accessor :flexible_environment_available
|
|
322
|
+
alias_method :flexible_environment_available?, :flexible_environment_available
|
|
398
323
|
|
|
399
|
-
#
|
|
400
|
-
# Corresponds to the JSON property `
|
|
401
|
-
# @return [
|
|
402
|
-
attr_accessor :
|
|
324
|
+
# App Engine Standard Environment is available in the given location.@OutputOnly
|
|
325
|
+
# Corresponds to the JSON property `standardEnvironmentAvailable`
|
|
326
|
+
# @return [Boolean]
|
|
327
|
+
attr_accessor :standard_environment_available
|
|
328
|
+
alias_method :standard_environment_available?, :standard_environment_available
|
|
403
329
|
|
|
404
330
|
def initialize(**args)
|
|
405
331
|
update!(**args)
|
|
@@ -407,8 +333,8 @@ module Google
|
|
|
407
333
|
|
|
408
334
|
# Update properties of this object
|
|
409
335
|
def update!(**args)
|
|
410
|
-
@
|
|
411
|
-
@
|
|
336
|
+
@flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
|
|
337
|
+
@standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
|
|
412
338
|
end
|
|
413
339
|
end
|
|
414
340
|
|
|
@@ -427,18 +353,18 @@ module Google
|
|
|
427
353
|
# @return [String]
|
|
428
354
|
attr_accessor :name
|
|
429
355
|
|
|
430
|
-
# Relative name of the service within the application. Example: default.@
|
|
431
|
-
# OutputOnly
|
|
432
|
-
# Corresponds to the JSON property `id`
|
|
433
|
-
# @return [String]
|
|
434
|
-
attr_accessor :id
|
|
435
|
-
|
|
436
356
|
# Traffic routing configuration for versions within a single service. Traffic
|
|
437
357
|
# splits define how traffic directed to the service is assigned to versions.
|
|
438
358
|
# Corresponds to the JSON property `split`
|
|
439
359
|
# @return [Google::Apis::AppengineV1::TrafficSplit]
|
|
440
360
|
attr_accessor :split
|
|
441
361
|
|
|
362
|
+
# Relative name of the service within the application. Example: default.@
|
|
363
|
+
# OutputOnly
|
|
364
|
+
# Corresponds to the JSON property `id`
|
|
365
|
+
# @return [String]
|
|
366
|
+
attr_accessor :id
|
|
367
|
+
|
|
442
368
|
def initialize(**args)
|
|
443
369
|
update!(**args)
|
|
444
370
|
end
|
|
@@ -446,33 +372,24 @@ module Google
|
|
|
446
372
|
# Update properties of this object
|
|
447
373
|
def update!(**args)
|
|
448
374
|
@name = args[:name] if args.key?(:name)
|
|
449
|
-
@id = args[:id] if args.key?(:id)
|
|
450
375
|
@split = args[:split] if args.key?(:split)
|
|
376
|
+
@id = args[:id] if args.key?(:id)
|
|
451
377
|
end
|
|
452
378
|
end
|
|
453
379
|
|
|
454
|
-
#
|
|
455
|
-
|
|
456
|
-
class TrafficSplit
|
|
380
|
+
# The response message for Operations.ListOperations.
|
|
381
|
+
class ListOperationsResponse
|
|
457
382
|
include Google::Apis::Core::Hashable
|
|
458
383
|
|
|
459
|
-
#
|
|
460
|
-
#
|
|
461
|
-
# changed.
|
|
462
|
-
# Corresponds to the JSON property `shardBy`
|
|
384
|
+
# The standard List next-page token.
|
|
385
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
463
386
|
# @return [String]
|
|
464
|
-
attr_accessor :
|
|
387
|
+
attr_accessor :next_page_token
|
|
465
388
|
|
|
466
|
-
#
|
|
467
|
-
#
|
|
468
|
-
#
|
|
469
|
-
|
|
470
|
-
# service is deleted or their traffic allocation is removed. Allocations must
|
|
471
|
-
# sum to 1. Up to two decimal place precision is supported for IP-based splits
|
|
472
|
-
# and up to three decimal places is supported for cookie-based splits.
|
|
473
|
-
# Corresponds to the JSON property `allocations`
|
|
474
|
-
# @return [Hash<String,Float>]
|
|
475
|
-
attr_accessor :allocations
|
|
389
|
+
# A list of operations that matches the specified filter in the request.
|
|
390
|
+
# Corresponds to the JSON property `operations`
|
|
391
|
+
# @return [Array<Google::Apis::AppengineV1::Operation>]
|
|
392
|
+
attr_accessor :operations
|
|
476
393
|
|
|
477
394
|
def initialize(**args)
|
|
478
395
|
update!(**args)
|
|
@@ -480,24 +397,47 @@ module Google
|
|
|
480
397
|
|
|
481
398
|
# Update properties of this object
|
|
482
399
|
def update!(**args)
|
|
483
|
-
@
|
|
484
|
-
@
|
|
400
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
401
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
485
402
|
end
|
|
486
403
|
end
|
|
487
404
|
|
|
488
|
-
#
|
|
489
|
-
class
|
|
405
|
+
# Metadata for the given google.longrunning.Operation.
|
|
406
|
+
class OperationMetadata
|
|
490
407
|
include Google::Apis::Core::Hashable
|
|
491
408
|
|
|
492
|
-
#
|
|
493
|
-
#
|
|
494
|
-
#
|
|
495
|
-
|
|
409
|
+
# Type of this operation. Deprecated, use method field instead. Example: "
|
|
410
|
+
# create_version".@OutputOnly
|
|
411
|
+
# Corresponds to the JSON property `operationType`
|
|
412
|
+
# @return [String]
|
|
413
|
+
attr_accessor :operation_type
|
|
496
414
|
|
|
497
|
-
#
|
|
498
|
-
# Corresponds to the JSON property `
|
|
415
|
+
# Timestamp that this operation was created.@OutputOnly
|
|
416
|
+
# Corresponds to the JSON property `insertTime`
|
|
499
417
|
# @return [String]
|
|
500
|
-
attr_accessor :
|
|
418
|
+
attr_accessor :insert_time
|
|
419
|
+
|
|
420
|
+
# User who requested this operation.@OutputOnly
|
|
421
|
+
# Corresponds to the JSON property `user`
|
|
422
|
+
# @return [String]
|
|
423
|
+
attr_accessor :user
|
|
424
|
+
|
|
425
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
426
|
+
# modules/default.@OutputOnly
|
|
427
|
+
# Corresponds to the JSON property `target`
|
|
428
|
+
# @return [String]
|
|
429
|
+
attr_accessor :target
|
|
430
|
+
|
|
431
|
+
# API method that initiated this operation. Example: google.appengine.v1beta4.
|
|
432
|
+
# Version.CreateVersion.@OutputOnly
|
|
433
|
+
# Corresponds to the JSON property `method`
|
|
434
|
+
# @return [String]
|
|
435
|
+
attr_accessor :method_prop
|
|
436
|
+
|
|
437
|
+
# Timestamp that this operation completed.@OutputOnly
|
|
438
|
+
# Corresponds to the JSON property `endTime`
|
|
439
|
+
# @return [String]
|
|
440
|
+
attr_accessor :end_time
|
|
501
441
|
|
|
502
442
|
def initialize(**args)
|
|
503
443
|
update!(**args)
|
|
@@ -505,208 +445,233 @@ module Google
|
|
|
505
445
|
|
|
506
446
|
# Update properties of this object
|
|
507
447
|
def update!(**args)
|
|
508
|
-
@
|
|
509
|
-
@
|
|
448
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
449
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
450
|
+
@user = args[:user] if args.key?(:user)
|
|
451
|
+
@target = args[:target] if args.key?(:target)
|
|
452
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
453
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
510
454
|
end
|
|
511
455
|
end
|
|
512
456
|
|
|
513
|
-
#
|
|
514
|
-
|
|
515
|
-
class Version
|
|
457
|
+
# Custom static error page to be served when an error occurs.
|
|
458
|
+
class ErrorHandler
|
|
516
459
|
include Google::Apis::Core::Hashable
|
|
517
460
|
|
|
518
|
-
#
|
|
519
|
-
#
|
|
520
|
-
# Corresponds to the JSON property `name`
|
|
461
|
+
# Error condition this handler applies to.
|
|
462
|
+
# Corresponds to the JSON property `errorCode`
|
|
521
463
|
# @return [String]
|
|
522
|
-
attr_accessor :
|
|
464
|
+
attr_accessor :error_code
|
|
523
465
|
|
|
524
|
-
#
|
|
525
|
-
#
|
|
526
|
-
# default", "latest", and any name with the prefix "ah-".
|
|
527
|
-
# Corresponds to the JSON property `id`
|
|
466
|
+
# MIME type of file. Defaults to text/html.
|
|
467
|
+
# Corresponds to the JSON property `mimeType`
|
|
528
468
|
# @return [String]
|
|
529
|
-
attr_accessor :
|
|
469
|
+
attr_accessor :mime_type
|
|
530
470
|
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
|
|
535
|
-
attr_accessor :automatic_scaling
|
|
471
|
+
# Static file content to be served for this error.
|
|
472
|
+
# Corresponds to the JSON property `staticFile`
|
|
473
|
+
# @return [String]
|
|
474
|
+
attr_accessor :static_file
|
|
536
475
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
# activity.
|
|
541
|
-
# Corresponds to the JSON property `basicScaling`
|
|
542
|
-
# @return [Google::Apis::AppengineV1::BasicScaling]
|
|
543
|
-
attr_accessor :basic_scaling
|
|
476
|
+
def initialize(**args)
|
|
477
|
+
update!(**args)
|
|
478
|
+
end
|
|
544
479
|
|
|
545
|
-
#
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
480
|
+
# Update properties of this object
|
|
481
|
+
def update!(**args)
|
|
482
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
|
483
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
484
|
+
@static_file = args[:static_file] if args.key?(:static_file)
|
|
485
|
+
end
|
|
486
|
+
end
|
|
550
487
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
# @return [Array<String>]
|
|
555
|
-
attr_accessor :inbound_services
|
|
488
|
+
# Metadata for the given google.longrunning.Operation.
|
|
489
|
+
class OperationMetadataV1
|
|
490
|
+
include Google::Apis::Core::Hashable
|
|
556
491
|
|
|
557
|
-
#
|
|
558
|
-
#
|
|
559
|
-
#
|
|
560
|
-
# BasicScaling.
|
|
561
|
-
# Corresponds to the JSON property `instanceClass`
|
|
492
|
+
# API method that initiated this operation. Example: google.appengine.v1.
|
|
493
|
+
# Versions.CreateVersion.@OutputOnly
|
|
494
|
+
# Corresponds to the JSON property `method`
|
|
562
495
|
# @return [String]
|
|
563
|
-
attr_accessor :
|
|
564
|
-
|
|
565
|
-
# Extra network settings. Only applicable for VM runtimes.
|
|
566
|
-
# Corresponds to the JSON property `network`
|
|
567
|
-
# @return [Google::Apis::AppengineV1::Network]
|
|
568
|
-
attr_accessor :network
|
|
496
|
+
attr_accessor :method_prop
|
|
569
497
|
|
|
570
|
-
#
|
|
571
|
-
# Corresponds to the JSON property `
|
|
572
|
-
# @return [
|
|
573
|
-
attr_accessor :
|
|
498
|
+
# Time that this operation completed.@OutputOnly
|
|
499
|
+
# Corresponds to the JSON property `endTime`
|
|
500
|
+
# @return [String]
|
|
501
|
+
attr_accessor :end_time
|
|
574
502
|
|
|
575
|
-
#
|
|
576
|
-
# Corresponds to the JSON property `
|
|
503
|
+
# Time that this operation was created.@OutputOnly
|
|
504
|
+
# Corresponds to the JSON property `insertTime`
|
|
577
505
|
# @return [String]
|
|
578
|
-
attr_accessor :
|
|
506
|
+
attr_accessor :insert_time
|
|
579
507
|
|
|
580
|
-
#
|
|
581
|
-
# Corresponds to the JSON property `
|
|
582
|
-
# @return [
|
|
583
|
-
attr_accessor :
|
|
584
|
-
alias_method :threadsafe?, :threadsafe
|
|
508
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
|
509
|
+
# Corresponds to the JSON property `warning`
|
|
510
|
+
# @return [Array<String>]
|
|
511
|
+
attr_accessor :warning
|
|
585
512
|
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
|
|
590
|
-
|
|
513
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
514
|
+
# services/default.@OutputOnly
|
|
515
|
+
# Corresponds to the JSON property `target`
|
|
516
|
+
# @return [String]
|
|
517
|
+
attr_accessor :target
|
|
591
518
|
|
|
592
|
-
#
|
|
593
|
-
#
|
|
594
|
-
#
|
|
595
|
-
|
|
596
|
-
attr_accessor :beta_settings
|
|
519
|
+
# User who requested this operation.@OutputOnly
|
|
520
|
+
# Corresponds to the JSON property `user`
|
|
521
|
+
# @return [String]
|
|
522
|
+
attr_accessor :user
|
|
597
523
|
|
|
598
|
-
#
|
|
599
|
-
#
|
|
524
|
+
# Ephemeral message that may change every time the operation is polled. @
|
|
525
|
+
# OutputOnly
|
|
526
|
+
# Corresponds to the JSON property `ephemeralMessage`
|
|
600
527
|
# @return [String]
|
|
601
|
-
attr_accessor :
|
|
528
|
+
attr_accessor :ephemeral_message
|
|
602
529
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
530
|
+
def initialize(**args)
|
|
531
|
+
update!(**args)
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# Update properties of this object
|
|
535
|
+
def update!(**args)
|
|
536
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
537
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
538
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
539
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
540
|
+
@target = args[:target] if args.key?(:target)
|
|
541
|
+
@user = args[:user] if args.key?(:user)
|
|
542
|
+
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
543
|
+
end
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# Extra network settings. Only applicable for VM runtimes.
|
|
547
|
+
class Network
|
|
548
|
+
include Google::Apis::Core::Hashable
|
|
549
|
+
|
|
550
|
+
# List of ports, or port pairs, to forward from the virtual machine to the
|
|
551
|
+
# application container.
|
|
552
|
+
# Corresponds to the JSON property `forwardedPorts`
|
|
553
|
+
# @return [Array<String>]
|
|
554
|
+
attr_accessor :forwarded_ports
|
|
555
|
+
|
|
556
|
+
# Tag to apply to the VM instance during creation.
|
|
557
|
+
# Corresponds to the JSON property `instanceTag`
|
|
607
558
|
# @return [String]
|
|
608
|
-
attr_accessor :
|
|
559
|
+
attr_accessor :instance_tag
|
|
609
560
|
|
|
610
|
-
#
|
|
611
|
-
#
|
|
561
|
+
# Google Cloud Platform sub-network where the virtual machines are created.
|
|
562
|
+
# Specify the short name, not the resource path.If a subnetwork name is
|
|
563
|
+
# specified, a network name will also be required unless it is for the default
|
|
564
|
+
# network.
|
|
565
|
+
# If the network the VM instance is being created in is a Legacy network, then
|
|
566
|
+
# the IP address is allocated from the IPv4Range.
|
|
567
|
+
# If the network the VM instance is being created in is an auto Subnet Mode
|
|
568
|
+
# Network, then only network name should be specified (not the subnetwork_name)
|
|
569
|
+
# and the IP address is created from the IPCidrRange of the subnetwork that
|
|
570
|
+
# exists in that zone for that network.
|
|
571
|
+
# If the network the VM instance is being created in is a custom Subnet Mode
|
|
572
|
+
# Network, then the subnetwork_name must be specified and the IP address is
|
|
573
|
+
# created from the IPCidrRange of the subnetwork.If specified, the subnetwork
|
|
574
|
+
# must exist in the same region as the Flex app.
|
|
575
|
+
# Corresponds to the JSON property `subnetworkName`
|
|
612
576
|
# @return [String]
|
|
613
|
-
attr_accessor :
|
|
577
|
+
attr_accessor :subnetwork_name
|
|
614
578
|
|
|
615
|
-
#
|
|
616
|
-
#
|
|
579
|
+
# Google Cloud Platform network where the virtual machines are created. Specify
|
|
580
|
+
# the short name, not the resource path.Defaults to default.
|
|
581
|
+
# Corresponds to the JSON property `name`
|
|
617
582
|
# @return [String]
|
|
618
|
-
attr_accessor :
|
|
583
|
+
attr_accessor :name
|
|
619
584
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
# @return [Fixnum]
|
|
624
|
-
attr_accessor :disk_usage_bytes
|
|
585
|
+
def initialize(**args)
|
|
586
|
+
update!(**args)
|
|
587
|
+
end
|
|
625
588
|
|
|
626
|
-
#
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
589
|
+
# Update properties of this object
|
|
590
|
+
def update!(**args)
|
|
591
|
+
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
|
|
592
|
+
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
|
|
593
|
+
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
|
594
|
+
@name = args[:name] if args.key?(:name)
|
|
595
|
+
end
|
|
596
|
+
end
|
|
632
597
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
attr_accessor :error_handlers
|
|
598
|
+
# An Application resource contains the top-level configuration of an App Engine
|
|
599
|
+
# application.
|
|
600
|
+
class Application
|
|
601
|
+
include Google::Apis::Core::Hashable
|
|
638
602
|
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
# Corresponds to the JSON property `
|
|
642
|
-
# @return [
|
|
643
|
-
attr_accessor :
|
|
603
|
+
# The Google Container Registry domain used for storing managed build docker
|
|
604
|
+
# images for this application.
|
|
605
|
+
# Corresponds to the JSON property `gcrDomain`
|
|
606
|
+
# @return [String]
|
|
607
|
+
attr_accessor :gcr_domain
|
|
644
608
|
|
|
645
|
-
#
|
|
646
|
-
#
|
|
647
|
-
# Corresponds to the JSON property `
|
|
648
|
-
# @return [
|
|
649
|
-
attr_accessor :
|
|
609
|
+
# Full path to the Application resource in the API. Example: apps/myapp.@
|
|
610
|
+
# OutputOnly
|
|
611
|
+
# Corresponds to the JSON property `name`
|
|
612
|
+
# @return [String]
|
|
613
|
+
attr_accessor :name
|
|
650
614
|
|
|
651
|
-
#
|
|
652
|
-
#
|
|
653
|
-
#
|
|
654
|
-
#
|
|
655
|
-
|
|
615
|
+
# Identifier of the Application resource. This identifier is equivalent to the
|
|
616
|
+
# project ID of the Google Cloud Platform project where you want to deploy your
|
|
617
|
+
# application. Example: myapp.
|
|
618
|
+
# Corresponds to the JSON property `id`
|
|
619
|
+
# @return [String]
|
|
620
|
+
attr_accessor :id
|
|
656
621
|
|
|
657
|
-
#
|
|
658
|
-
#
|
|
659
|
-
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
|
660
|
-
# staticfileshandler) does not specify its own expiration time.Only returned in
|
|
661
|
-
# GET requests if view=FULL is set.
|
|
662
|
-
# Corresponds to the JSON property `defaultExpiration`
|
|
622
|
+
# Cookie expiration policy for this application.
|
|
623
|
+
# Corresponds to the JSON property `defaultCookieExpiration`
|
|
663
624
|
# @return [String]
|
|
664
|
-
attr_accessor :
|
|
625
|
+
attr_accessor :default_cookie_expiration
|
|
665
626
|
|
|
666
|
-
#
|
|
667
|
-
#
|
|
668
|
-
#
|
|
669
|
-
#
|
|
670
|
-
#
|
|
671
|
-
|
|
627
|
+
# Location from which this application will be run. Application instances will
|
|
628
|
+
# run out of data centers in the chosen location, which is also where all of the
|
|
629
|
+
# application's end user content is stored.Defaults to us-central.Options are:us-
|
|
630
|
+
# central - Central USeurope-west - Western Europeus-east1 - Eastern US
|
|
631
|
+
# Corresponds to the JSON property `locationId`
|
|
632
|
+
# @return [String]
|
|
633
|
+
attr_accessor :location_id
|
|
672
634
|
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
|
|
677
|
-
attr_accessor :readiness_check
|
|
635
|
+
# Serving status of this application.
|
|
636
|
+
# Corresponds to the JSON property `servingStatus`
|
|
637
|
+
# @return [String]
|
|
638
|
+
attr_accessor :serving_status
|
|
678
639
|
|
|
679
|
-
#
|
|
680
|
-
#
|
|
681
|
-
#
|
|
682
|
-
|
|
683
|
-
attr_accessor :liveness_check
|
|
640
|
+
# Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
|
641
|
+
# Corresponds to the JSON property `defaultHostname`
|
|
642
|
+
# @return [String]
|
|
643
|
+
attr_accessor :default_hostname
|
|
684
644
|
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
645
|
+
# Identity-Aware Proxy
|
|
646
|
+
# Corresponds to the JSON property `iap`
|
|
647
|
+
# @return [Google::Apis::AppengineV1::IdentityAwareProxy]
|
|
648
|
+
attr_accessor :iap
|
|
649
|
+
|
|
650
|
+
# Google Apps authentication domain that controls which users can access this
|
|
651
|
+
# application.Defaults to open access for any Google Account.
|
|
652
|
+
# Corresponds to the JSON property `authDomain`
|
|
688
653
|
# @return [String]
|
|
689
|
-
attr_accessor :
|
|
654
|
+
attr_accessor :auth_domain
|
|
690
655
|
|
|
691
|
-
#
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
|
|
656
|
+
# Google Cloud Storage bucket that can be used for storing files associated with
|
|
657
|
+
# this application. This bucket is associated with the application and can be
|
|
658
|
+
# used by the gcloud deployment commands.@OutputOnly
|
|
659
|
+
# Corresponds to the JSON property `codeBucket`
|
|
660
|
+
# @return [String]
|
|
661
|
+
attr_accessor :code_bucket
|
|
695
662
|
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
# Corresponds to the JSON property `
|
|
663
|
+
# Google Cloud Storage bucket that can be used by this application to store
|
|
664
|
+
# content.@OutputOnly
|
|
665
|
+
# Corresponds to the JSON property `defaultBucket`
|
|
699
666
|
# @return [String]
|
|
700
|
-
attr_accessor :
|
|
667
|
+
attr_accessor :default_bucket
|
|
701
668
|
|
|
702
|
-
#
|
|
703
|
-
#
|
|
704
|
-
#
|
|
705
|
-
#
|
|
706
|
-
#
|
|
707
|
-
|
|
708
|
-
# @return [Google::Apis::AppengineV1::EndpointsApiService]
|
|
709
|
-
attr_accessor :endpoints_api_service
|
|
669
|
+
# HTTP path dispatch rules for requests to the application that do not
|
|
670
|
+
# explicitly target a service or version. Rules are order-dependent. Up to 20
|
|
671
|
+
# dispatch rules can be supported.@OutputOnly
|
|
672
|
+
# Corresponds to the JSON property `dispatchRules`
|
|
673
|
+
# @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
|
|
674
|
+
attr_accessor :dispatch_rules
|
|
710
675
|
|
|
711
676
|
def initialize(**args)
|
|
712
677
|
update!(**args)
|
|
@@ -714,110 +679,114 @@ module Google
|
|
|
714
679
|
|
|
715
680
|
# Update properties of this object
|
|
716
681
|
def update!(**args)
|
|
682
|
+
@gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
|
|
717
683
|
@name = args[:name] if args.key?(:name)
|
|
718
684
|
@id = args[:id] if args.key?(:id)
|
|
719
|
-
@
|
|
720
|
-
@
|
|
721
|
-
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
|
722
|
-
@inbound_services = args[:inbound_services] if args.key?(:inbound_services)
|
|
723
|
-
@instance_class = args[:instance_class] if args.key?(:instance_class)
|
|
724
|
-
@network = args[:network] if args.key?(:network)
|
|
725
|
-
@resources = args[:resources] if args.key?(:resources)
|
|
726
|
-
@runtime = args[:runtime] if args.key?(:runtime)
|
|
727
|
-
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
|
|
728
|
-
@vm = args[:vm] if args.key?(:vm)
|
|
729
|
-
@beta_settings = args[:beta_settings] if args.key?(:beta_settings)
|
|
730
|
-
@env = args[:env] if args.key?(:env)
|
|
685
|
+
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
|
686
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
731
687
|
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
732
|
-
@
|
|
733
|
-
@
|
|
734
|
-
@
|
|
735
|
-
@
|
|
736
|
-
@
|
|
737
|
-
@
|
|
738
|
-
@api_config = args[:api_config] if args.key?(:api_config)
|
|
739
|
-
@env_variables = args[:env_variables] if args.key?(:env_variables)
|
|
740
|
-
@default_expiration = args[:default_expiration] if args.key?(:default_expiration)
|
|
741
|
-
@health_check = args[:health_check] if args.key?(:health_check)
|
|
742
|
-
@readiness_check = args[:readiness_check] if args.key?(:readiness_check)
|
|
743
|
-
@liveness_check = args[:liveness_check] if args.key?(:liveness_check)
|
|
744
|
-
@nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
|
|
745
|
-
@deployment = args[:deployment] if args.key?(:deployment)
|
|
746
|
-
@version_url = args[:version_url] if args.key?(:version_url)
|
|
747
|
-
@endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
|
|
688
|
+
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
|
689
|
+
@iap = args[:iap] if args.key?(:iap)
|
|
690
|
+
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
|
691
|
+
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
|
692
|
+
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
|
693
|
+
@dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
|
|
748
694
|
end
|
|
749
695
|
end
|
|
750
696
|
|
|
751
|
-
#
|
|
752
|
-
# application
|
|
753
|
-
class
|
|
697
|
+
# An Instance resource is the computing unit that App Engine uses to
|
|
698
|
+
# automatically scale an application.
|
|
699
|
+
class Instance
|
|
754
700
|
include Google::Apis::Core::Hashable
|
|
755
701
|
|
|
756
|
-
#
|
|
757
|
-
#
|
|
758
|
-
#
|
|
759
|
-
# Corresponds to the JSON property `coolDownPeriod`
|
|
702
|
+
# Name of the virtual machine where this instance lives. Only applicable for
|
|
703
|
+
# instances in App Engine flexible environment.@OutputOnly
|
|
704
|
+
# Corresponds to the JSON property `vmName`
|
|
760
705
|
# @return [String]
|
|
761
|
-
attr_accessor :
|
|
706
|
+
attr_accessor :vm_name
|
|
762
707
|
|
|
763
|
-
#
|
|
764
|
-
#
|
|
765
|
-
#
|
|
766
|
-
|
|
708
|
+
# Virtual machine ID of this instance. Only applicable for instances in App
|
|
709
|
+
# Engine flexible environment.@OutputOnly
|
|
710
|
+
# Corresponds to the JSON property `vmId`
|
|
711
|
+
# @return [String]
|
|
712
|
+
attr_accessor :vm_id
|
|
713
|
+
|
|
714
|
+
# Average queries per second (QPS) over the last minute.@OutputOnly
|
|
715
|
+
# Corresponds to the JSON property `qps`
|
|
716
|
+
# @return [Float]
|
|
717
|
+
attr_accessor :qps
|
|
718
|
+
|
|
719
|
+
# Zone where the virtual machine is located. Only applicable for instances in
|
|
720
|
+
# App Engine flexible environment.@OutputOnly
|
|
721
|
+
# Corresponds to the JSON property `vmZoneName`
|
|
722
|
+
# @return [String]
|
|
723
|
+
attr_accessor :vm_zone_name
|
|
724
|
+
|
|
725
|
+
# Full path to the Instance resource in the API. Example: apps/myapp/services/
|
|
726
|
+
# default/versions/v1/instances/instance-1.@OutputOnly
|
|
727
|
+
# Corresponds to the JSON property `name`
|
|
728
|
+
# @return [String]
|
|
729
|
+
attr_accessor :name
|
|
767
730
|
|
|
768
|
-
#
|
|
769
|
-
#
|
|
770
|
-
# Corresponds to the JSON property `maxConcurrentRequests`
|
|
731
|
+
# Average latency (ms) over the last minute.@OutputOnly
|
|
732
|
+
# Corresponds to the JSON property `averageLatency`
|
|
771
733
|
# @return [Fixnum]
|
|
772
|
-
attr_accessor :
|
|
734
|
+
attr_accessor :average_latency
|
|
773
735
|
|
|
774
|
-
#
|
|
775
|
-
#
|
|
776
|
-
#
|
|
777
|
-
|
|
736
|
+
# The IP address of this instance. Only applicable for instances in App Engine
|
|
737
|
+
# flexible environment.@OutputOnly
|
|
738
|
+
# Corresponds to the JSON property `vmIp`
|
|
739
|
+
# @return [String]
|
|
740
|
+
attr_accessor :vm_ip
|
|
778
741
|
|
|
779
|
-
#
|
|
780
|
-
#
|
|
742
|
+
# Relative name of the instance within the version. Example: instance-1.@
|
|
743
|
+
# OutputOnly
|
|
744
|
+
# Corresponds to the JSON property `id`
|
|
745
|
+
# @return [String]
|
|
746
|
+
attr_accessor :id
|
|
747
|
+
|
|
748
|
+
# Total memory in use (bytes).@OutputOnly
|
|
749
|
+
# Corresponds to the JSON property `memoryUsage`
|
|
781
750
|
# @return [Fixnum]
|
|
782
|
-
attr_accessor :
|
|
751
|
+
attr_accessor :memory_usage
|
|
783
752
|
|
|
784
|
-
#
|
|
785
|
-
#
|
|
786
|
-
# Corresponds to the JSON property `
|
|
753
|
+
# Status of the virtual machine where this instance lives. Only applicable for
|
|
754
|
+
# instances in App Engine flexible environment.@OutputOnly
|
|
755
|
+
# Corresponds to the JSON property `vmStatus`
|
|
787
756
|
# @return [String]
|
|
788
|
-
attr_accessor :
|
|
757
|
+
attr_accessor :vm_status
|
|
789
758
|
|
|
790
|
-
#
|
|
791
|
-
#
|
|
792
|
-
#
|
|
793
|
-
|
|
794
|
-
attr_accessor :min_idle_instances
|
|
759
|
+
# Availability of the instance.@OutputOnly
|
|
760
|
+
# Corresponds to the JSON property `availability`
|
|
761
|
+
# @return [String]
|
|
762
|
+
attr_accessor :availability
|
|
795
763
|
|
|
796
|
-
#
|
|
797
|
-
# Corresponds to the JSON property `
|
|
764
|
+
# Number of errors since this instance was started.@OutputOnly
|
|
765
|
+
# Corresponds to the JSON property `errors`
|
|
798
766
|
# @return [Fixnum]
|
|
799
|
-
attr_accessor :
|
|
767
|
+
attr_accessor :errors
|
|
800
768
|
|
|
801
|
-
#
|
|
802
|
-
#
|
|
803
|
-
# Corresponds to the JSON property `minPendingLatency`
|
|
769
|
+
# Time that this instance was started.@OutputOnly
|
|
770
|
+
# Corresponds to the JSON property `startTime`
|
|
804
771
|
# @return [String]
|
|
805
|
-
attr_accessor :
|
|
772
|
+
attr_accessor :start_time
|
|
806
773
|
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
|
|
774
|
+
# Whether this instance is in debug mode. Only applicable for instances in App
|
|
775
|
+
# Engine flexible environment.@OutputOnly
|
|
776
|
+
# Corresponds to the JSON property `vmDebugEnabled`
|
|
777
|
+
# @return [Boolean]
|
|
778
|
+
attr_accessor :vm_debug_enabled
|
|
779
|
+
alias_method :vm_debug_enabled?, :vm_debug_enabled
|
|
811
780
|
|
|
812
|
-
#
|
|
813
|
-
# Corresponds to the JSON property `
|
|
814
|
-
# @return [
|
|
815
|
-
attr_accessor :
|
|
781
|
+
# Number of requests since this instance was started.@OutputOnly
|
|
782
|
+
# Corresponds to the JSON property `requests`
|
|
783
|
+
# @return [Fixnum]
|
|
784
|
+
attr_accessor :requests
|
|
816
785
|
|
|
817
|
-
#
|
|
818
|
-
# Corresponds to the JSON property `
|
|
819
|
-
# @return [
|
|
820
|
-
attr_accessor :
|
|
786
|
+
# App Engine release this instance is running on.@OutputOnly
|
|
787
|
+
# Corresponds to the JSON property `appEngineRelease`
|
|
788
|
+
# @return [String]
|
|
789
|
+
attr_accessor :app_engine_release
|
|
821
790
|
|
|
822
791
|
def initialize(**args)
|
|
823
792
|
update!(**args)
|
|
@@ -825,59 +794,67 @@ module Google
|
|
|
825
794
|
|
|
826
795
|
# Update properties of this object
|
|
827
796
|
def update!(**args)
|
|
828
|
-
@
|
|
829
|
-
@
|
|
830
|
-
@
|
|
831
|
-
@
|
|
832
|
-
@
|
|
833
|
-
@
|
|
834
|
-
@
|
|
835
|
-
@
|
|
836
|
-
@
|
|
837
|
-
@
|
|
838
|
-
@
|
|
839
|
-
@
|
|
797
|
+
@vm_name = args[:vm_name] if args.key?(:vm_name)
|
|
798
|
+
@vm_id = args[:vm_id] if args.key?(:vm_id)
|
|
799
|
+
@qps = args[:qps] if args.key?(:qps)
|
|
800
|
+
@vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
|
|
801
|
+
@name = args[:name] if args.key?(:name)
|
|
802
|
+
@average_latency = args[:average_latency] if args.key?(:average_latency)
|
|
803
|
+
@vm_ip = args[:vm_ip] if args.key?(:vm_ip)
|
|
804
|
+
@id = args[:id] if args.key?(:id)
|
|
805
|
+
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
|
806
|
+
@vm_status = args[:vm_status] if args.key?(:vm_status)
|
|
807
|
+
@availability = args[:availability] if args.key?(:availability)
|
|
808
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
809
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
810
|
+
@vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
|
|
811
|
+
@requests = args[:requests] if args.key?(:requests)
|
|
812
|
+
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
|
840
813
|
end
|
|
841
814
|
end
|
|
842
815
|
|
|
843
|
-
#
|
|
844
|
-
|
|
816
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
|
817
|
+
# and replaced with new instances.
|
|
818
|
+
class LivenessCheck
|
|
845
819
|
include Google::Apis::Core::Hashable
|
|
846
820
|
|
|
847
|
-
#
|
|
848
|
-
# Corresponds to the JSON property `
|
|
821
|
+
# The initial delay before starting to execute the checks.
|
|
822
|
+
# Corresponds to the JSON property `initialDelay`
|
|
849
823
|
# @return [String]
|
|
850
|
-
attr_accessor :
|
|
824
|
+
attr_accessor :initial_delay
|
|
851
825
|
|
|
852
|
-
#
|
|
853
|
-
# Corresponds to the JSON property `
|
|
854
|
-
# @return [
|
|
855
|
-
attr_accessor :
|
|
826
|
+
# The request path.
|
|
827
|
+
# Corresponds to the JSON property `path`
|
|
828
|
+
# @return [String]
|
|
829
|
+
attr_accessor :path
|
|
856
830
|
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
831
|
+
# Host header to send when performing a HTTP Liveness check. Example: "myapp.
|
|
832
|
+
# appspot.com"
|
|
833
|
+
# Corresponds to the JSON property `host`
|
|
834
|
+
# @return [String]
|
|
835
|
+
attr_accessor :host
|
|
860
836
|
|
|
861
|
-
#
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
end
|
|
837
|
+
# Number of consecutive successful checks required before considering the VM
|
|
838
|
+
# healthy.
|
|
839
|
+
# Corresponds to the JSON property `successThreshold`
|
|
840
|
+
# @return [Fixnum]
|
|
841
|
+
attr_accessor :success_threshold
|
|
867
842
|
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
843
|
+
# Interval between health checks.
|
|
844
|
+
# Corresponds to the JSON property `checkInterval`
|
|
845
|
+
# @return [String]
|
|
846
|
+
attr_accessor :check_interval
|
|
871
847
|
|
|
872
|
-
#
|
|
873
|
-
#
|
|
848
|
+
# Number of consecutive failed checks required before considering the VM
|
|
849
|
+
# unhealthy.
|
|
850
|
+
# Corresponds to the JSON property `failureThreshold`
|
|
874
851
|
# @return [Fixnum]
|
|
875
|
-
attr_accessor :
|
|
852
|
+
attr_accessor :failure_threshold
|
|
876
853
|
|
|
877
|
-
#
|
|
878
|
-
# Corresponds to the JSON property `
|
|
879
|
-
# @return [
|
|
880
|
-
attr_accessor :
|
|
854
|
+
# Time before the check is considered failed.
|
|
855
|
+
# Corresponds to the JSON property `timeout`
|
|
856
|
+
# @return [String]
|
|
857
|
+
attr_accessor :timeout
|
|
881
858
|
|
|
882
859
|
def initialize(**args)
|
|
883
860
|
update!(**args)
|
|
@@ -885,34 +862,42 @@ module Google
|
|
|
885
862
|
|
|
886
863
|
# Update properties of this object
|
|
887
864
|
def update!(**args)
|
|
888
|
-
@
|
|
889
|
-
@
|
|
865
|
+
@initial_delay = args[:initial_delay] if args.key?(:initial_delay)
|
|
866
|
+
@path = args[:path] if args.key?(:path)
|
|
867
|
+
@host = args[:host] if args.key?(:host)
|
|
868
|
+
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
|
869
|
+
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
870
|
+
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
871
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
890
872
|
end
|
|
891
873
|
end
|
|
892
874
|
|
|
893
|
-
#
|
|
894
|
-
class
|
|
875
|
+
# A resource that represents Google Cloud Platform location.
|
|
876
|
+
class Location
|
|
895
877
|
include Google::Apis::Core::Hashable
|
|
896
878
|
|
|
897
|
-
#
|
|
898
|
-
#
|
|
899
|
-
#
|
|
900
|
-
|
|
879
|
+
# Resource name for the location, which may vary between implementations. For
|
|
880
|
+
# example: "projects/example-project/locations/us-east1"
|
|
881
|
+
# Corresponds to the JSON property `name`
|
|
882
|
+
# @return [String]
|
|
883
|
+
attr_accessor :name
|
|
901
884
|
|
|
902
|
-
#
|
|
903
|
-
# Corresponds to the JSON property `
|
|
904
|
-
# @return [
|
|
905
|
-
attr_accessor :
|
|
885
|
+
# The canonical id for this location. For example: "us-east1".
|
|
886
|
+
# Corresponds to the JSON property `locationId`
|
|
887
|
+
# @return [String]
|
|
888
|
+
attr_accessor :location_id
|
|
906
889
|
|
|
907
|
-
#
|
|
908
|
-
#
|
|
909
|
-
#
|
|
910
|
-
|
|
890
|
+
# Service-specific metadata. For example the available capacity at the given
|
|
891
|
+
# location.
|
|
892
|
+
# Corresponds to the JSON property `metadata`
|
|
893
|
+
# @return [Hash<String,Object>]
|
|
894
|
+
attr_accessor :metadata
|
|
911
895
|
|
|
912
|
-
#
|
|
913
|
-
#
|
|
914
|
-
#
|
|
915
|
-
|
|
896
|
+
# Cross-service attributes for the location. For example
|
|
897
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
|
898
|
+
# Corresponds to the JSON property `labels`
|
|
899
|
+
# @return [Hash<String,String>]
|
|
900
|
+
attr_accessor :labels
|
|
916
901
|
|
|
917
902
|
def initialize(**args)
|
|
918
903
|
update!(**args)
|
|
@@ -920,10 +905,10 @@ module Google
|
|
|
920
905
|
|
|
921
906
|
# Update properties of this object
|
|
922
907
|
def update!(**args)
|
|
923
|
-
@
|
|
924
|
-
@
|
|
925
|
-
@
|
|
926
|
-
@
|
|
908
|
+
@name = args[:name] if args.key?(:name)
|
|
909
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
910
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
911
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
927
912
|
end
|
|
928
913
|
end
|
|
929
914
|
|
|
@@ -964,46 +949,50 @@ module Google
|
|
|
964
949
|
end
|
|
965
950
|
end
|
|
966
951
|
|
|
967
|
-
#
|
|
968
|
-
#
|
|
969
|
-
#
|
|
970
|
-
|
|
971
|
-
class BasicScaling
|
|
952
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
|
953
|
+
# and replaced with new instances. Only applicable for instances in App Engine
|
|
954
|
+
# flexible environment.
|
|
955
|
+
class HealthCheck
|
|
972
956
|
include Google::Apis::Core::Hashable
|
|
973
957
|
|
|
974
|
-
#
|
|
975
|
-
#
|
|
976
|
-
# Corresponds to the JSON property `idleTimeout`
|
|
977
|
-
# @return [String]
|
|
978
|
-
attr_accessor :idle_timeout
|
|
979
|
-
|
|
980
|
-
# Maximum number of instances to create for this version.
|
|
981
|
-
# Corresponds to the JSON property `maxInstances`
|
|
958
|
+
# Number of consecutive failed health checks required before removing traffic.
|
|
959
|
+
# Corresponds to the JSON property `unhealthyThreshold`
|
|
982
960
|
# @return [Fixnum]
|
|
983
|
-
attr_accessor :
|
|
961
|
+
attr_accessor :unhealthy_threshold
|
|
984
962
|
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
963
|
+
# Whether to explicitly disable health checks for this instance.
|
|
964
|
+
# Corresponds to the JSON property `disableHealthCheck`
|
|
965
|
+
# @return [Boolean]
|
|
966
|
+
attr_accessor :disable_health_check
|
|
967
|
+
alias_method :disable_health_check?, :disable_health_check
|
|
988
968
|
|
|
989
|
-
#
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
end
|
|
969
|
+
# Host header to send when performing an HTTP health check. Example: "myapp.
|
|
970
|
+
# appspot.com"
|
|
971
|
+
# Corresponds to the JSON property `host`
|
|
972
|
+
# @return [String]
|
|
973
|
+
attr_accessor :host
|
|
995
974
|
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
975
|
+
# Number of consecutive failed health checks required before an instance is
|
|
976
|
+
# restarted.
|
|
977
|
+
# Corresponds to the JSON property `restartThreshold`
|
|
978
|
+
# @return [Fixnum]
|
|
979
|
+
attr_accessor :restart_threshold
|
|
1000
980
|
|
|
1001
|
-
# Number of
|
|
1002
|
-
#
|
|
1003
|
-
#
|
|
1004
|
-
# Corresponds to the JSON property `instances`
|
|
981
|
+
# Number of consecutive successful health checks required before receiving
|
|
982
|
+
# traffic.
|
|
983
|
+
# Corresponds to the JSON property `healthyThreshold`
|
|
1005
984
|
# @return [Fixnum]
|
|
1006
|
-
attr_accessor :
|
|
985
|
+
attr_accessor :healthy_threshold
|
|
986
|
+
|
|
987
|
+
# Interval between health checks.
|
|
988
|
+
# Corresponds to the JSON property `checkInterval`
|
|
989
|
+
# @return [String]
|
|
990
|
+
attr_accessor :check_interval
|
|
991
|
+
|
|
992
|
+
# Time before the health check is considered failed.
|
|
993
|
+
# Corresponds to the JSON property `timeout`
|
|
994
|
+
# @return [String]
|
|
995
|
+
attr_accessor :timeout
|
|
1007
996
|
|
|
1008
997
|
def initialize(**args)
|
|
1009
998
|
update!(**args)
|
|
@@ -1011,46 +1000,51 @@ module Google
|
|
|
1011
1000
|
|
|
1012
1001
|
# Update properties of this object
|
|
1013
1002
|
def update!(**args)
|
|
1014
|
-
@
|
|
1003
|
+
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
|
1004
|
+
@disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
|
|
1005
|
+
@host = args[:host] if args.key?(:host)
|
|
1006
|
+
@restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
|
|
1007
|
+
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
|
1008
|
+
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1009
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1015
1010
|
end
|
|
1016
1011
|
end
|
|
1017
1012
|
|
|
1018
|
-
#
|
|
1019
|
-
|
|
1013
|
+
# Readiness checking configuration for VM instances. Unhealthy instances are
|
|
1014
|
+
# removed from traffic rotation.
|
|
1015
|
+
class ReadinessCheck
|
|
1020
1016
|
include Google::Apis::Core::Hashable
|
|
1021
1017
|
|
|
1022
|
-
#
|
|
1023
|
-
#
|
|
1024
|
-
#
|
|
1025
|
-
|
|
1026
|
-
attr_accessor :forwarded_ports
|
|
1018
|
+
# Interval between health checks.
|
|
1019
|
+
# Corresponds to the JSON property `checkInterval`
|
|
1020
|
+
# @return [String]
|
|
1021
|
+
attr_accessor :check_interval
|
|
1027
1022
|
|
|
1028
|
-
#
|
|
1029
|
-
# Corresponds to the JSON property `
|
|
1023
|
+
# Time before the check is considered failed.
|
|
1024
|
+
# Corresponds to the JSON property `timeout`
|
|
1030
1025
|
# @return [String]
|
|
1031
|
-
attr_accessor :
|
|
1026
|
+
attr_accessor :timeout
|
|
1032
1027
|
|
|
1033
|
-
#
|
|
1034
|
-
#
|
|
1035
|
-
#
|
|
1028
|
+
# Number of consecutive failed checks required before removing traffic.
|
|
1029
|
+
# Corresponds to the JSON property `failureThreshold`
|
|
1030
|
+
# @return [Fixnum]
|
|
1031
|
+
attr_accessor :failure_threshold
|
|
1032
|
+
|
|
1033
|
+
# The request path.
|
|
1034
|
+
# Corresponds to the JSON property `path`
|
|
1036
1035
|
# @return [String]
|
|
1037
|
-
attr_accessor :
|
|
1036
|
+
attr_accessor :path
|
|
1038
1037
|
|
|
1039
|
-
#
|
|
1040
|
-
#
|
|
1041
|
-
#
|
|
1042
|
-
# network. If the network the VM instance is being created in is a Legacy
|
|
1043
|
-
# network, then the IP address is allocated from the IPv4Range. If the network
|
|
1044
|
-
# the VM instance is being created in is an auto Subnet Mode Network, then only
|
|
1045
|
-
# network name should be specified (not the subnetwork_name) and the IP address
|
|
1046
|
-
# is created from the IPCidrRange of the subnetwork that exists in that zone for
|
|
1047
|
-
# that network. If the network the VM instance is being created in is a custom
|
|
1048
|
-
# Subnet Mode Network, then the subnetwork_name must be specified and the IP
|
|
1049
|
-
# address is created from the IPCidrRange of the subnetwork.If specified, the
|
|
1050
|
-
# subnetwork must exist in the same region as the Flex app.
|
|
1051
|
-
# Corresponds to the JSON property `subnetworkName`
|
|
1038
|
+
# Host header to send when performing a HTTP Readiness check. Example: "myapp.
|
|
1039
|
+
# appspot.com"
|
|
1040
|
+
# Corresponds to the JSON property `host`
|
|
1052
1041
|
# @return [String]
|
|
1053
|
-
attr_accessor :
|
|
1042
|
+
attr_accessor :host
|
|
1043
|
+
|
|
1044
|
+
# Number of consecutive successful checks required before receiving traffic.
|
|
1045
|
+
# Corresponds to the JSON property `successThreshold`
|
|
1046
|
+
# @return [Fixnum]
|
|
1047
|
+
attr_accessor :success_threshold
|
|
1054
1048
|
|
|
1055
1049
|
def initialize(**args)
|
|
1056
1050
|
update!(**args)
|
|
@@ -1058,36 +1052,27 @@ module Google
|
|
|
1058
1052
|
|
|
1059
1053
|
# Update properties of this object
|
|
1060
1054
|
def update!(**args)
|
|
1061
|
-
@
|
|
1062
|
-
@
|
|
1063
|
-
@
|
|
1064
|
-
@
|
|
1055
|
+
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1056
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1057
|
+
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
1058
|
+
@path = args[:path] if args.key?(:path)
|
|
1059
|
+
@host = args[:host] if args.key?(:host)
|
|
1060
|
+
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
|
1065
1061
|
end
|
|
1066
1062
|
end
|
|
1067
1063
|
|
|
1068
|
-
#
|
|
1069
|
-
class
|
|
1064
|
+
# Request message for Instances.DebugInstance.
|
|
1065
|
+
class DebugInstanceRequest
|
|
1070
1066
|
include Google::Apis::Core::Hashable
|
|
1071
1067
|
|
|
1072
|
-
#
|
|
1073
|
-
#
|
|
1074
|
-
#
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
#
|
|
1078
|
-
#
|
|
1079
|
-
|
|
1080
|
-
attr_accessor :disk_gb
|
|
1081
|
-
|
|
1082
|
-
# Memory (GB) needed.
|
|
1083
|
-
# Corresponds to the JSON property `memoryGb`
|
|
1084
|
-
# @return [Float]
|
|
1085
|
-
attr_accessor :memory_gb
|
|
1086
|
-
|
|
1087
|
-
# User specified volumes.
|
|
1088
|
-
# Corresponds to the JSON property `volumes`
|
|
1089
|
-
# @return [Array<Google::Apis::AppengineV1::Volume>]
|
|
1090
|
-
attr_accessor :volumes
|
|
1068
|
+
# Public SSH key to add to the instance. Examples:
|
|
1069
|
+
# [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
|
|
1070
|
+
# [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]","expireOn":"
|
|
1071
|
+
# [EXPIRE_TIME]"`For more information, see Adding and Removing SSH Keys (https://
|
|
1072
|
+
# cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
|
|
1073
|
+
# Corresponds to the JSON property `sshKey`
|
|
1074
|
+
# @return [String]
|
|
1075
|
+
attr_accessor :ssh_key
|
|
1091
1076
|
|
|
1092
1077
|
def initialize(**args)
|
|
1093
1078
|
update!(**args)
|
|
@@ -1095,31 +1080,40 @@ module Google
|
|
|
1095
1080
|
|
|
1096
1081
|
# Update properties of this object
|
|
1097
1082
|
def update!(**args)
|
|
1098
|
-
@
|
|
1099
|
-
@disk_gb = args[:disk_gb] if args.key?(:disk_gb)
|
|
1100
|
-
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
|
1101
|
-
@volumes = args[:volumes] if args.key?(:volumes)
|
|
1083
|
+
@ssh_key = args[:ssh_key] if args.key?(:ssh_key)
|
|
1102
1084
|
end
|
|
1103
1085
|
end
|
|
1104
1086
|
|
|
1105
|
-
#
|
|
1106
|
-
class
|
|
1087
|
+
# Metadata for the given google.longrunning.Operation.
|
|
1088
|
+
class OperationMetadataV1Beta5
|
|
1107
1089
|
include Google::Apis::Core::Hashable
|
|
1108
1090
|
|
|
1109
|
-
#
|
|
1110
|
-
#
|
|
1091
|
+
# API method name that initiated this operation. Example: google.appengine.
|
|
1092
|
+
# v1beta5.Version.CreateVersion.@OutputOnly
|
|
1093
|
+
# Corresponds to the JSON property `method`
|
|
1111
1094
|
# @return [String]
|
|
1112
|
-
attr_accessor :
|
|
1095
|
+
attr_accessor :method_prop
|
|
1113
1096
|
|
|
1114
|
-
#
|
|
1115
|
-
# Corresponds to the JSON property `
|
|
1097
|
+
# Timestamp that this operation was created.@OutputOnly
|
|
1098
|
+
# Corresponds to the JSON property `insertTime`
|
|
1116
1099
|
# @return [String]
|
|
1117
|
-
attr_accessor :
|
|
1100
|
+
attr_accessor :insert_time
|
|
1118
1101
|
|
|
1119
|
-
#
|
|
1120
|
-
# Corresponds to the JSON property `
|
|
1121
|
-
# @return [
|
|
1122
|
-
attr_accessor :
|
|
1102
|
+
# Timestamp that this operation completed.@OutputOnly
|
|
1103
|
+
# Corresponds to the JSON property `endTime`
|
|
1104
|
+
# @return [String]
|
|
1105
|
+
attr_accessor :end_time
|
|
1106
|
+
|
|
1107
|
+
# User who requested this operation.@OutputOnly
|
|
1108
|
+
# Corresponds to the JSON property `user`
|
|
1109
|
+
# @return [String]
|
|
1110
|
+
attr_accessor :user
|
|
1111
|
+
|
|
1112
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1113
|
+
# services/default.@OutputOnly
|
|
1114
|
+
# Corresponds to the JSON property `target`
|
|
1115
|
+
# @return [String]
|
|
1116
|
+
attr_accessor :target
|
|
1123
1117
|
|
|
1124
1118
|
def initialize(**args)
|
|
1125
1119
|
update!(**args)
|
|
@@ -1127,157 +1121,211 @@ module Google
|
|
|
1127
1121
|
|
|
1128
1122
|
# Update properties of this object
|
|
1129
1123
|
def update!(**args)
|
|
1130
|
-
@
|
|
1131
|
-
@
|
|
1132
|
-
@
|
|
1124
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1125
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1126
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1127
|
+
@user = args[:user] if args.key?(:user)
|
|
1128
|
+
@target = args[:target] if args.key?(:target)
|
|
1133
1129
|
end
|
|
1134
1130
|
end
|
|
1135
1131
|
|
|
1136
|
-
#
|
|
1137
|
-
#
|
|
1138
|
-
|
|
1139
|
-
class UrlMap
|
|
1132
|
+
# A Version resource is a specific set of source code and configuration files
|
|
1133
|
+
# that are deployed into a service.
|
|
1134
|
+
class Version
|
|
1140
1135
|
include Google::Apis::Core::Hashable
|
|
1141
1136
|
|
|
1142
|
-
#
|
|
1143
|
-
#
|
|
1144
|
-
#
|
|
1145
|
-
#
|
|
1146
|
-
|
|
1147
|
-
# @return [String]
|
|
1148
|
-
attr_accessor :url_regex
|
|
1137
|
+
# Automatic scaling is based on request rate, response latencies, and other
|
|
1138
|
+
# application metrics.
|
|
1139
|
+
# Corresponds to the JSON property `automaticScaling`
|
|
1140
|
+
# @return [Google::Apis::AppengineV1::AutomaticScaling]
|
|
1141
|
+
attr_accessor :automatic_scaling
|
|
1149
1142
|
|
|
1150
|
-
#
|
|
1151
|
-
#
|
|
1152
|
-
#
|
|
1153
|
-
#
|
|
1154
|
-
|
|
1155
|
-
attr_accessor :static_files
|
|
1143
|
+
# Total size in bytes of all the files that are included in this version and
|
|
1144
|
+
# curerntly hosted on the App Engine disk.@OutputOnly
|
|
1145
|
+
# Corresponds to the JSON property `diskUsageBytes`
|
|
1146
|
+
# @return [Fixnum]
|
|
1147
|
+
attr_accessor :disk_usage_bytes
|
|
1156
1148
|
|
|
1157
|
-
#
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1160
|
-
|
|
1149
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
|
1150
|
+
# and replaced with new instances. Only applicable for instances in App Engine
|
|
1151
|
+
# flexible environment.
|
|
1152
|
+
# Corresponds to the JSON property `healthCheck`
|
|
1153
|
+
# @return [Google::Apis::AppengineV1::HealthCheck]
|
|
1154
|
+
attr_accessor :health_check
|
|
1161
1155
|
|
|
1162
|
-
#
|
|
1163
|
-
# Corresponds to the JSON property `
|
|
1164
|
-
# @return [
|
|
1165
|
-
attr_accessor :
|
|
1156
|
+
# Whether multiple requests can be dispatched to this version at once.
|
|
1157
|
+
# Corresponds to the JSON property `threadsafe`
|
|
1158
|
+
# @return [Boolean]
|
|
1159
|
+
attr_accessor :threadsafe
|
|
1160
|
+
alias_method :threadsafe?, :threadsafe
|
|
1161
|
+
|
|
1162
|
+
# Readiness checking configuration for VM instances. Unhealthy instances are
|
|
1163
|
+
# removed from traffic rotation.
|
|
1164
|
+
# Corresponds to the JSON property `readinessCheck`
|
|
1165
|
+
# @return [Google::Apis::AppengineV1::ReadinessCheck]
|
|
1166
|
+
attr_accessor :readiness_check
|
|
1167
|
+
|
|
1168
|
+
# A service with manual scaling runs continuously, allowing you to perform
|
|
1169
|
+
# complex initialization and rely on the state of its memory over time.
|
|
1170
|
+
# Corresponds to the JSON property `manualScaling`
|
|
1171
|
+
# @return [Google::Apis::AppengineV1::ManualScaling]
|
|
1172
|
+
attr_accessor :manual_scaling
|
|
1173
|
+
|
|
1174
|
+
# Full path to the Version resource in the API. Example: apps/myapp/services/
|
|
1175
|
+
# default/versions/v1.@OutputOnly
|
|
1176
|
+
# Corresponds to the JSON property `name`
|
|
1177
|
+
# @return [String]
|
|
1178
|
+
attr_accessor :name
|
|
1179
|
+
|
|
1180
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
|
1181
|
+
# endpoints/) configuration for API handlers.
|
|
1182
|
+
# Corresponds to the JSON property `apiConfig`
|
|
1183
|
+
# @return [Google::Apis::AppengineV1::ApiConfigHandler]
|
|
1184
|
+
attr_accessor :api_config
|
|
1185
|
+
|
|
1186
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
1187
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
1188
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
1189
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
1190
|
+
# service-management/overview).
|
|
1191
|
+
# Corresponds to the JSON property `endpointsApiService`
|
|
1192
|
+
# @return [Google::Apis::AppengineV1::EndpointsApiService]
|
|
1193
|
+
attr_accessor :endpoints_api_service
|
|
1166
1194
|
|
|
1167
|
-
#
|
|
1168
|
-
#
|
|
1195
|
+
# Serving URL for this version. Example: "https://myversion-dot-myservice-dot-
|
|
1196
|
+
# myapp.appspot.com"@OutputOnly
|
|
1197
|
+
# Corresponds to the JSON property `versionUrl`
|
|
1169
1198
|
# @return [String]
|
|
1170
|
-
attr_accessor :
|
|
1199
|
+
attr_accessor :version_url
|
|
1171
1200
|
|
|
1172
|
-
#
|
|
1173
|
-
# Corresponds to the JSON property `
|
|
1201
|
+
# Whether to deploy this version in a container on a virtual machine.
|
|
1202
|
+
# Corresponds to the JSON property `vm`
|
|
1203
|
+
# @return [Boolean]
|
|
1204
|
+
attr_accessor :vm
|
|
1205
|
+
alias_method :vm?, :vm
|
|
1206
|
+
|
|
1207
|
+
# Instance class that is used to run this version. Valid values are:
|
|
1208
|
+
# AutomaticScaling: F1, F2, F4, F4_1G
|
|
1209
|
+
# ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
|
|
1210
|
+
# AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
|
1211
|
+
# Corresponds to the JSON property `instanceClass`
|
|
1174
1212
|
# @return [String]
|
|
1175
|
-
attr_accessor :
|
|
1213
|
+
attr_accessor :instance_class
|
|
1176
1214
|
|
|
1177
|
-
#
|
|
1178
|
-
#
|
|
1179
|
-
#
|
|
1215
|
+
# Current serving status of this version. Only the versions with a SERVING
|
|
1216
|
+
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
|
|
1217
|
+
# invalid value. Defaults to SERVING.
|
|
1218
|
+
# Corresponds to the JSON property `servingStatus`
|
|
1180
1219
|
# @return [String]
|
|
1181
|
-
attr_accessor :
|
|
1220
|
+
attr_accessor :serving_status
|
|
1182
1221
|
|
|
1183
|
-
#
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1222
|
+
# Code and application artifacts used to deploy a version to App Engine.
|
|
1223
|
+
# Corresponds to the JSON property `deployment`
|
|
1224
|
+
# @return [Google::Apis::AppengineV1::Deployment]
|
|
1225
|
+
attr_accessor :deployment
|
|
1226
|
+
|
|
1227
|
+
# Time that this version was created.@OutputOnly
|
|
1228
|
+
# Corresponds to the JSON property `createTime`
|
|
1186
1229
|
# @return [String]
|
|
1187
|
-
attr_accessor :
|
|
1230
|
+
attr_accessor :create_time
|
|
1188
1231
|
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1232
|
+
# Before an application can receive email or XMPP messages, the application must
|
|
1233
|
+
# be configured to enable the service.
|
|
1234
|
+
# Corresponds to the JSON property `inboundServices`
|
|
1235
|
+
# @return [Array<String>]
|
|
1236
|
+
attr_accessor :inbound_services
|
|
1192
1237
|
|
|
1193
|
-
#
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
@script = args[:script] if args.key?(:script)
|
|
1198
|
-
@api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
|
|
1199
|
-
@security_level = args[:security_level] if args.key?(:security_level)
|
|
1200
|
-
@login = args[:login] if args.key?(:login)
|
|
1201
|
-
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
|
1202
|
-
@redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
|
|
1203
|
-
end
|
|
1204
|
-
end
|
|
1238
|
+
# Machine resources for a version.
|
|
1239
|
+
# Corresponds to the JSON property `resources`
|
|
1240
|
+
# @return [Google::Apis::AppengineV1::Resources]
|
|
1241
|
+
attr_accessor :resources
|
|
1205
1242
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1243
|
+
# Custom static error pages. Limited to 10KB per page.Only returned in GET
|
|
1244
|
+
# requests if view=FULL is set.
|
|
1245
|
+
# Corresponds to the JSON property `errorHandlers`
|
|
1246
|
+
# @return [Array<Google::Apis::AppengineV1::ErrorHandler>]
|
|
1247
|
+
attr_accessor :error_handlers
|
|
1211
1248
|
|
|
1212
|
-
#
|
|
1213
|
-
#
|
|
1214
|
-
#
|
|
1249
|
+
# Duration that static files should be cached by web proxies and browsers. Only
|
|
1250
|
+
# applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
|
|
1251
|
+
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
|
1252
|
+
# staticfileshandler) does not specify its own expiration time.Only returned in
|
|
1253
|
+
# GET requests if view=FULL is set.
|
|
1254
|
+
# Corresponds to the JSON property `defaultExpiration`
|
|
1215
1255
|
# @return [String]
|
|
1216
|
-
attr_accessor :
|
|
1256
|
+
attr_accessor :default_expiration
|
|
1217
1257
|
|
|
1218
|
-
#
|
|
1219
|
-
#
|
|
1220
|
-
# Corresponds to the JSON property `
|
|
1258
|
+
# Configuration for third-party Python runtime libraries that are required by
|
|
1259
|
+
# the application.Only returned in GET requests if view=FULL is set.
|
|
1260
|
+
# Corresponds to the JSON property `libraries`
|
|
1261
|
+
# @return [Array<Google::Apis::AppengineV1::Library>]
|
|
1262
|
+
attr_accessor :libraries
|
|
1263
|
+
|
|
1264
|
+
# Files that match this pattern will not be built into this version. Only
|
|
1265
|
+
# applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
|
|
1266
|
+
# Corresponds to the JSON property `nobuildFilesRegex`
|
|
1221
1267
|
# @return [String]
|
|
1222
|
-
attr_accessor :
|
|
1268
|
+
attr_accessor :nobuild_files_regex
|
|
1223
1269
|
|
|
1224
|
-
#
|
|
1225
|
-
#
|
|
1226
|
-
#
|
|
1227
|
-
|
|
1270
|
+
# A service with basic scaling will create an instance when the application
|
|
1271
|
+
# receives a request. The instance will be turned down when the app becomes idle.
|
|
1272
|
+
# Basic scaling is ideal for work that is intermittent or driven by user
|
|
1273
|
+
# activity.
|
|
1274
|
+
# Corresponds to the JSON property `basicScaling`
|
|
1275
|
+
# @return [Google::Apis::AppengineV1::BasicScaling]
|
|
1276
|
+
attr_accessor :basic_scaling
|
|
1228
1277
|
|
|
1229
|
-
#
|
|
1230
|
-
#
|
|
1231
|
-
# Corresponds to the JSON property `mimeType`
|
|
1278
|
+
# Desired runtime. Example: python27.
|
|
1279
|
+
# Corresponds to the JSON property `runtime`
|
|
1232
1280
|
# @return [String]
|
|
1233
|
-
attr_accessor :
|
|
1281
|
+
attr_accessor :runtime
|
|
1234
1282
|
|
|
1235
|
-
#
|
|
1236
|
-
#
|
|
1237
|
-
#
|
|
1283
|
+
# Relative name of the version within the service. Example: v1. Version names
|
|
1284
|
+
# can contain only lowercase letters, numbers, or hyphens. Reserved names: "
|
|
1285
|
+
# default", "latest", and any name with the prefix "ah-".
|
|
1286
|
+
# Corresponds to the JSON property `id`
|
|
1238
1287
|
# @return [String]
|
|
1239
|
-
attr_accessor :
|
|
1288
|
+
attr_accessor :id
|
|
1240
1289
|
|
|
1241
|
-
#
|
|
1242
|
-
#
|
|
1243
|
-
#
|
|
1244
|
-
|
|
1245
|
-
attr_accessor :require_matching_file
|
|
1246
|
-
alias_method :require_matching_file?, :require_matching_file
|
|
1290
|
+
# Email address of the user who created this version.@OutputOnly
|
|
1291
|
+
# Corresponds to the JSON property `createdBy`
|
|
1292
|
+
# @return [String]
|
|
1293
|
+
attr_accessor :created_by
|
|
1247
1294
|
|
|
1248
|
-
#
|
|
1249
|
-
#
|
|
1250
|
-
#
|
|
1251
|
-
#
|
|
1252
|
-
|
|
1253
|
-
# @return [Boolean]
|
|
1254
|
-
attr_accessor :application_readable
|
|
1255
|
-
alias_method :application_readable?, :application_readable
|
|
1295
|
+
# Environment variables available to the application.Only returned in GET
|
|
1296
|
+
# requests if view=FULL is set.
|
|
1297
|
+
# Corresponds to the JSON property `envVariables`
|
|
1298
|
+
# @return [Hash<String,String>]
|
|
1299
|
+
attr_accessor :env_variables
|
|
1256
1300
|
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1301
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
|
1302
|
+
# and replaced with new instances.
|
|
1303
|
+
# Corresponds to the JSON property `livenessCheck`
|
|
1304
|
+
# @return [Google::Apis::AppengineV1::LivenessCheck]
|
|
1305
|
+
attr_accessor :liveness_check
|
|
1260
1306
|
|
|
1261
|
-
#
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
|
1266
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
1267
|
-
@expiration = args[:expiration] if args.key?(:expiration)
|
|
1268
|
-
@require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file)
|
|
1269
|
-
@application_readable = args[:application_readable] if args.key?(:application_readable)
|
|
1270
|
-
end
|
|
1271
|
-
end
|
|
1307
|
+
# Extra network settings. Only applicable for VM runtimes.
|
|
1308
|
+
# Corresponds to the JSON property `network`
|
|
1309
|
+
# @return [Google::Apis::AppengineV1::Network]
|
|
1310
|
+
attr_accessor :network
|
|
1272
1311
|
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1312
|
+
# Metadata settings that are supplied to this version to enable beta runtime
|
|
1313
|
+
# features.
|
|
1314
|
+
# Corresponds to the JSON property `betaSettings`
|
|
1315
|
+
# @return [Hash<String,String>]
|
|
1316
|
+
attr_accessor :beta_settings
|
|
1276
1317
|
|
|
1277
|
-
#
|
|
1278
|
-
# Corresponds to the JSON property `
|
|
1318
|
+
# App Engine execution environment for this version.Defaults to standard.
|
|
1319
|
+
# Corresponds to the JSON property `env`
|
|
1279
1320
|
# @return [String]
|
|
1280
|
-
attr_accessor :
|
|
1321
|
+
attr_accessor :env
|
|
1322
|
+
|
|
1323
|
+
# An ordered list of URL-matching patterns that should be applied to incoming
|
|
1324
|
+
# requests. The first matching URL handles the request and other request
|
|
1325
|
+
# handlers are not attempted.Only returned in GET requests if view=FULL is set.
|
|
1326
|
+
# Corresponds to the JSON property `handlers`
|
|
1327
|
+
# @return [Array<Google::Apis::AppengineV1::UrlMap>]
|
|
1328
|
+
attr_accessor :handlers
|
|
1281
1329
|
|
|
1282
1330
|
def initialize(**args)
|
|
1283
1331
|
update!(**args)
|
|
@@ -1285,47 +1333,61 @@ module Google
|
|
|
1285
1333
|
|
|
1286
1334
|
# Update properties of this object
|
|
1287
1335
|
def update!(**args)
|
|
1288
|
-
@
|
|
1336
|
+
@automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
|
|
1337
|
+
@disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
|
|
1338
|
+
@health_check = args[:health_check] if args.key?(:health_check)
|
|
1339
|
+
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
|
|
1340
|
+
@readiness_check = args[:readiness_check] if args.key?(:readiness_check)
|
|
1341
|
+
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
|
1342
|
+
@name = args[:name] if args.key?(:name)
|
|
1343
|
+
@api_config = args[:api_config] if args.key?(:api_config)
|
|
1344
|
+
@endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
|
|
1345
|
+
@version_url = args[:version_url] if args.key?(:version_url)
|
|
1346
|
+
@vm = args[:vm] if args.key?(:vm)
|
|
1347
|
+
@instance_class = args[:instance_class] if args.key?(:instance_class)
|
|
1348
|
+
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
1349
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
1350
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1351
|
+
@inbound_services = args[:inbound_services] if args.key?(:inbound_services)
|
|
1352
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1353
|
+
@error_handlers = args[:error_handlers] if args.key?(:error_handlers)
|
|
1354
|
+
@default_expiration = args[:default_expiration] if args.key?(:default_expiration)
|
|
1355
|
+
@libraries = args[:libraries] if args.key?(:libraries)
|
|
1356
|
+
@nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
|
|
1357
|
+
@basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
|
|
1358
|
+
@runtime = args[:runtime] if args.key?(:runtime)
|
|
1359
|
+
@id = args[:id] if args.key?(:id)
|
|
1360
|
+
@created_by = args[:created_by] if args.key?(:created_by)
|
|
1361
|
+
@env_variables = args[:env_variables] if args.key?(:env_variables)
|
|
1362
|
+
@liveness_check = args[:liveness_check] if args.key?(:liveness_check)
|
|
1363
|
+
@network = args[:network] if args.key?(:network)
|
|
1364
|
+
@beta_settings = args[:beta_settings] if args.key?(:beta_settings)
|
|
1365
|
+
@env = args[:env] if args.key?(:env)
|
|
1366
|
+
@handlers = args[:handlers] if args.key?(:handlers)
|
|
1289
1367
|
end
|
|
1290
1368
|
end
|
|
1291
1369
|
|
|
1292
|
-
#
|
|
1293
|
-
class
|
|
1370
|
+
# Request message for 'Applications.RepairApplication'.
|
|
1371
|
+
class RepairApplicationRequest
|
|
1294
1372
|
include Google::Apis::Core::Hashable
|
|
1295
1373
|
|
|
1296
|
-
# Path to the script from the application root directory.
|
|
1297
|
-
# Corresponds to the JSON property `scriptPath`
|
|
1298
|
-
# @return [String]
|
|
1299
|
-
attr_accessor :script_path
|
|
1300
|
-
|
|
1301
1374
|
def initialize(**args)
|
|
1302
1375
|
update!(**args)
|
|
1303
1376
|
end
|
|
1304
1377
|
|
|
1305
1378
|
# Update properties of this object
|
|
1306
1379
|
def update!(**args)
|
|
1307
|
-
@script_path = args[:script_path] if args.key?(:script_path)
|
|
1308
1380
|
end
|
|
1309
1381
|
end
|
|
1310
1382
|
|
|
1311
|
-
#
|
|
1312
|
-
class
|
|
1383
|
+
# Executes a script to handle the request that matches the URL pattern.
|
|
1384
|
+
class ScriptHandler
|
|
1313
1385
|
include Google::Apis::Core::Hashable
|
|
1314
|
-
|
|
1315
|
-
#
|
|
1316
|
-
# Corresponds to the JSON property `
|
|
1317
|
-
# @return [String]
|
|
1318
|
-
attr_accessor :error_code
|
|
1319
|
-
|
|
1320
|
-
# Static file content to be served for this error.
|
|
1321
|
-
# Corresponds to the JSON property `staticFile`
|
|
1322
|
-
# @return [String]
|
|
1323
|
-
attr_accessor :static_file
|
|
1324
|
-
|
|
1325
|
-
# MIME type of file. Defaults to text/html.
|
|
1326
|
-
# Corresponds to the JSON property `mimeType`
|
|
1386
|
+
|
|
1387
|
+
# Path to the script from the application root directory.
|
|
1388
|
+
# Corresponds to the JSON property `scriptPath`
|
|
1327
1389
|
# @return [String]
|
|
1328
|
-
attr_accessor :
|
|
1390
|
+
attr_accessor :script_path
|
|
1329
1391
|
|
|
1330
1392
|
def initialize(**args)
|
|
1331
1393
|
update!(**args)
|
|
@@ -1333,25 +1395,30 @@ module Google
|
|
|
1333
1395
|
|
|
1334
1396
|
# Update properties of this object
|
|
1335
1397
|
def update!(**args)
|
|
1336
|
-
@
|
|
1337
|
-
@static_file = args[:static_file] if args.key?(:static_file)
|
|
1338
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
1398
|
+
@script_path = args[:script_path] if args.key?(:script_path)
|
|
1339
1399
|
end
|
|
1340
1400
|
end
|
|
1341
1401
|
|
|
1342
|
-
#
|
|
1343
|
-
|
|
1402
|
+
# Single source file that is part of the version to be deployed. Each source
|
|
1403
|
+
# file that is deployed must be specified separately.
|
|
1404
|
+
class FileInfo
|
|
1344
1405
|
include Google::Apis::Core::Hashable
|
|
1345
1406
|
|
|
1346
|
-
#
|
|
1347
|
-
# Corresponds to the JSON property `
|
|
1407
|
+
# The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
|
1408
|
+
# Corresponds to the JSON property `mimeType`
|
|
1348
1409
|
# @return [String]
|
|
1349
|
-
attr_accessor :
|
|
1410
|
+
attr_accessor :mime_type
|
|
1350
1411
|
|
|
1351
|
-
#
|
|
1352
|
-
#
|
|
1412
|
+
# URL source to use to fetch this file. Must be a URL to a resource in Google
|
|
1413
|
+
# Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
|
|
1414
|
+
# Corresponds to the JSON property `sourceUrl`
|
|
1353
1415
|
# @return [String]
|
|
1354
|
-
attr_accessor :
|
|
1416
|
+
attr_accessor :source_url
|
|
1417
|
+
|
|
1418
|
+
# The SHA1 hash of the file, in hex.
|
|
1419
|
+
# Corresponds to the JSON property `sha1Sum`
|
|
1420
|
+
# @return [String]
|
|
1421
|
+
attr_accessor :sha1_sum
|
|
1355
1422
|
|
|
1356
1423
|
def initialize(**args)
|
|
1357
1424
|
update!(**args)
|
|
@@ -1359,41 +1426,42 @@ module Google
|
|
|
1359
1426
|
|
|
1360
1427
|
# Update properties of this object
|
|
1361
1428
|
def update!(**args)
|
|
1362
|
-
@
|
|
1363
|
-
@
|
|
1429
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
1430
|
+
@source_url = args[:source_url] if args.key?(:source_url)
|
|
1431
|
+
@sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
|
|
1364
1432
|
end
|
|
1365
1433
|
end
|
|
1366
1434
|
|
|
1367
|
-
#
|
|
1368
|
-
|
|
1369
|
-
class ApiConfigHandler
|
|
1435
|
+
# Metadata for the given google.longrunning.Operation.
|
|
1436
|
+
class OperationMetadataExperimental
|
|
1370
1437
|
include Google::Apis::Core::Hashable
|
|
1371
1438
|
|
|
1372
|
-
#
|
|
1373
|
-
#
|
|
1374
|
-
# Corresponds to the JSON property `authFailAction`
|
|
1439
|
+
# User who requested this operation.@OutputOnly
|
|
1440
|
+
# Corresponds to the JSON property `user`
|
|
1375
1441
|
# @return [String]
|
|
1376
|
-
attr_accessor :
|
|
1442
|
+
attr_accessor :user
|
|
1377
1443
|
|
|
1378
|
-
#
|
|
1379
|
-
#
|
|
1444
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1445
|
+
# customDomains/example.com.@OutputOnly
|
|
1446
|
+
# Corresponds to the JSON property `target`
|
|
1380
1447
|
# @return [String]
|
|
1381
|
-
attr_accessor :
|
|
1448
|
+
attr_accessor :target
|
|
1382
1449
|
|
|
1383
|
-
#
|
|
1384
|
-
#
|
|
1450
|
+
# API method that initiated this operation. Example: google.appengine.
|
|
1451
|
+
# experimental.CustomDomains.CreateCustomDomain.@OutputOnly
|
|
1452
|
+
# Corresponds to the JSON property `method`
|
|
1385
1453
|
# @return [String]
|
|
1386
|
-
attr_accessor :
|
|
1454
|
+
attr_accessor :method_prop
|
|
1387
1455
|
|
|
1388
|
-
#
|
|
1389
|
-
# Corresponds to the JSON property `
|
|
1456
|
+
# Time that this operation was created.@OutputOnly
|
|
1457
|
+
# Corresponds to the JSON property `insertTime`
|
|
1390
1458
|
# @return [String]
|
|
1391
|
-
attr_accessor :
|
|
1459
|
+
attr_accessor :insert_time
|
|
1392
1460
|
|
|
1393
|
-
#
|
|
1394
|
-
# Corresponds to the JSON property `
|
|
1461
|
+
# Time that this operation completed.@OutputOnly
|
|
1462
|
+
# Corresponds to the JSON property `endTime`
|
|
1395
1463
|
# @return [String]
|
|
1396
|
-
attr_accessor :
|
|
1464
|
+
attr_accessor :end_time
|
|
1397
1465
|
|
|
1398
1466
|
def initialize(**args)
|
|
1399
1467
|
update!(**args)
|
|
@@ -1401,58 +1469,36 @@ module Google
|
|
|
1401
1469
|
|
|
1402
1470
|
# Update properties of this object
|
|
1403
1471
|
def update!(**args)
|
|
1404
|
-
@
|
|
1405
|
-
@
|
|
1406
|
-
@
|
|
1407
|
-
@
|
|
1408
|
-
@
|
|
1472
|
+
@user = args[:user] if args.key?(:user)
|
|
1473
|
+
@target = args[:target] if args.key?(:target)
|
|
1474
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1475
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1476
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1409
1477
|
end
|
|
1410
1478
|
end
|
|
1411
1479
|
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
|
|
1415
|
-
class HealthCheck
|
|
1480
|
+
# Traffic routing configuration for versions within a single service. Traffic
|
|
1481
|
+
# splits define how traffic directed to the service is assigned to versions.
|
|
1482
|
+
class TrafficSplit
|
|
1416
1483
|
include Google::Apis::Core::Hashable
|
|
1417
1484
|
|
|
1418
|
-
#
|
|
1419
|
-
#
|
|
1420
|
-
#
|
|
1421
|
-
|
|
1422
|
-
alias_method :disable_health_check?, :disable_health_check
|
|
1423
|
-
|
|
1424
|
-
# Host header to send when performing an HTTP health check. Example: "myapp.
|
|
1425
|
-
# appspot.com"
|
|
1426
|
-
# Corresponds to the JSON property `host`
|
|
1427
|
-
# @return [String]
|
|
1428
|
-
attr_accessor :host
|
|
1429
|
-
|
|
1430
|
-
# Number of consecutive successful health checks required before receiving
|
|
1431
|
-
# traffic.
|
|
1432
|
-
# Corresponds to the JSON property `healthyThreshold`
|
|
1433
|
-
# @return [Fixnum]
|
|
1434
|
-
attr_accessor :healthy_threshold
|
|
1435
|
-
|
|
1436
|
-
# Number of consecutive failed health checks required before removing traffic.
|
|
1437
|
-
# Corresponds to the JSON property `unhealthyThreshold`
|
|
1438
|
-
# @return [Fixnum]
|
|
1439
|
-
attr_accessor :unhealthy_threshold
|
|
1440
|
-
|
|
1441
|
-
# Number of consecutive failed health checks required before an instance is
|
|
1442
|
-
# restarted.
|
|
1443
|
-
# Corresponds to the JSON property `restartThreshold`
|
|
1444
|
-
# @return [Fixnum]
|
|
1445
|
-
attr_accessor :restart_threshold
|
|
1446
|
-
|
|
1447
|
-
# Interval between health checks.
|
|
1448
|
-
# Corresponds to the JSON property `checkInterval`
|
|
1485
|
+
# Mechanism used to determine which version a request is sent to. The traffic
|
|
1486
|
+
# selection algorithm will be stable for either type until allocations are
|
|
1487
|
+
# changed.
|
|
1488
|
+
# Corresponds to the JSON property `shardBy`
|
|
1449
1489
|
# @return [String]
|
|
1450
|
-
attr_accessor :
|
|
1490
|
+
attr_accessor :shard_by
|
|
1451
1491
|
|
|
1452
|
-
#
|
|
1453
|
-
#
|
|
1454
|
-
#
|
|
1455
|
-
|
|
1492
|
+
# Mapping from version IDs within the service to fractional (0.000, 1]
|
|
1493
|
+
# allocations of traffic for that version. Each version can be specified only
|
|
1494
|
+
# once, but some versions in the service may not have any traffic allocation.
|
|
1495
|
+
# Services that have traffic allocated cannot be deleted until either the
|
|
1496
|
+
# service is deleted or their traffic allocation is removed. Allocations must
|
|
1497
|
+
# sum to 1. Up to two decimal place precision is supported for IP-based splits
|
|
1498
|
+
# and up to three decimal places is supported for cookie-based splits.
|
|
1499
|
+
# Corresponds to the JSON property `allocations`
|
|
1500
|
+
# @return [Hash<String,Float>]
|
|
1501
|
+
attr_accessor :allocations
|
|
1456
1502
|
|
|
1457
1503
|
def initialize(**args)
|
|
1458
1504
|
update!(**args)
|
|
@@ -1460,51 +1506,52 @@ module Google
|
|
|
1460
1506
|
|
|
1461
1507
|
# Update properties of this object
|
|
1462
1508
|
def update!(**args)
|
|
1463
|
-
@
|
|
1464
|
-
@
|
|
1465
|
-
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
|
1466
|
-
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
|
1467
|
-
@restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
|
|
1468
|
-
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1469
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1509
|
+
@shard_by = args[:shard_by] if args.key?(:shard_by)
|
|
1510
|
+
@allocations = args[:allocations] if args.key?(:allocations)
|
|
1470
1511
|
end
|
|
1471
1512
|
end
|
|
1472
1513
|
|
|
1473
|
-
#
|
|
1474
|
-
|
|
1475
|
-
class ReadinessCheck
|
|
1514
|
+
# Metadata for the given google.longrunning.Operation.
|
|
1515
|
+
class OperationMetadataV1Beta
|
|
1476
1516
|
include Google::Apis::Core::Hashable
|
|
1477
1517
|
|
|
1478
|
-
#
|
|
1479
|
-
#
|
|
1518
|
+
# Ephemeral message that may change every time the operation is polled. @
|
|
1519
|
+
# OutputOnly
|
|
1520
|
+
# Corresponds to the JSON property `ephemeralMessage`
|
|
1480
1521
|
# @return [String]
|
|
1481
|
-
attr_accessor :
|
|
1522
|
+
attr_accessor :ephemeral_message
|
|
1482
1523
|
|
|
1483
|
-
#
|
|
1484
|
-
#
|
|
1485
|
-
# Corresponds to the JSON property `
|
|
1524
|
+
# API method that initiated this operation. Example: google.appengine.v1beta.
|
|
1525
|
+
# Versions.CreateVersion.@OutputOnly
|
|
1526
|
+
# Corresponds to the JSON property `method`
|
|
1486
1527
|
# @return [String]
|
|
1487
|
-
attr_accessor :
|
|
1528
|
+
attr_accessor :method_prop
|
|
1488
1529
|
|
|
1489
|
-
#
|
|
1490
|
-
# Corresponds to the JSON property `
|
|
1491
|
-
# @return [
|
|
1492
|
-
attr_accessor :
|
|
1530
|
+
# Time that this operation completed.@OutputOnly
|
|
1531
|
+
# Corresponds to the JSON property `endTime`
|
|
1532
|
+
# @return [String]
|
|
1533
|
+
attr_accessor :end_time
|
|
1493
1534
|
|
|
1494
|
-
#
|
|
1495
|
-
# Corresponds to the JSON property `
|
|
1496
|
-
# @return [
|
|
1497
|
-
attr_accessor :
|
|
1535
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
|
1536
|
+
# Corresponds to the JSON property `warning`
|
|
1537
|
+
# @return [Array<String>]
|
|
1538
|
+
attr_accessor :warning
|
|
1498
1539
|
|
|
1499
|
-
#
|
|
1500
|
-
# Corresponds to the JSON property `
|
|
1540
|
+
# Time that this operation was created.@OutputOnly
|
|
1541
|
+
# Corresponds to the JSON property `insertTime`
|
|
1501
1542
|
# @return [String]
|
|
1502
|
-
attr_accessor :
|
|
1543
|
+
attr_accessor :insert_time
|
|
1503
1544
|
|
|
1504
|
-
#
|
|
1505
|
-
# Corresponds to the JSON property `
|
|
1545
|
+
# User who requested this operation.@OutputOnly
|
|
1546
|
+
# Corresponds to the JSON property `user`
|
|
1506
1547
|
# @return [String]
|
|
1507
|
-
attr_accessor :
|
|
1548
|
+
attr_accessor :user
|
|
1549
|
+
|
|
1550
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1551
|
+
# services/default.@OutputOnly
|
|
1552
|
+
# Corresponds to the JSON property `target`
|
|
1553
|
+
# @return [String]
|
|
1554
|
+
attr_accessor :target
|
|
1508
1555
|
|
|
1509
1556
|
def initialize(**args)
|
|
1510
1557
|
update!(**args)
|
|
@@ -1512,57 +1559,29 @@ module Google
|
|
|
1512
1559
|
|
|
1513
1560
|
# Update properties of this object
|
|
1514
1561
|
def update!(**args)
|
|
1515
|
-
@
|
|
1516
|
-
@
|
|
1517
|
-
@
|
|
1518
|
-
@
|
|
1519
|
-
@
|
|
1520
|
-
@
|
|
1562
|
+
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
1563
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1564
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1565
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
1566
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1567
|
+
@user = args[:user] if args.key?(:user)
|
|
1568
|
+
@target = args[:target] if args.key?(:target)
|
|
1521
1569
|
end
|
|
1522
1570
|
end
|
|
1523
1571
|
|
|
1524
|
-
#
|
|
1525
|
-
|
|
1526
|
-
class LivenessCheck
|
|
1572
|
+
# Response message for Services.ListServices.
|
|
1573
|
+
class ListServicesResponse
|
|
1527
1574
|
include Google::Apis::Core::Hashable
|
|
1528
1575
|
|
|
1529
|
-
# The
|
|
1530
|
-
# Corresponds to the JSON property `
|
|
1531
|
-
# @return [
|
|
1532
|
-
attr_accessor :
|
|
1533
|
-
|
|
1534
|
-
#
|
|
1535
|
-
#
|
|
1536
|
-
# Corresponds to the JSON property `host`
|
|
1537
|
-
# @return [String]
|
|
1538
|
-
attr_accessor :host
|
|
1539
|
-
|
|
1540
|
-
# Number of consecutive failed checks required before considering the VM
|
|
1541
|
-
# unhealthy.
|
|
1542
|
-
# Corresponds to the JSON property `failureThreshold`
|
|
1543
|
-
# @return [Fixnum]
|
|
1544
|
-
attr_accessor :failure_threshold
|
|
1545
|
-
|
|
1546
|
-
# Number of consecutive successful checks required before considering the VM
|
|
1547
|
-
# healthy.
|
|
1548
|
-
# Corresponds to the JSON property `successThreshold`
|
|
1549
|
-
# @return [Fixnum]
|
|
1550
|
-
attr_accessor :success_threshold
|
|
1551
|
-
|
|
1552
|
-
# Interval between health checks.
|
|
1553
|
-
# Corresponds to the JSON property `checkInterval`
|
|
1554
|
-
# @return [String]
|
|
1555
|
-
attr_accessor :check_interval
|
|
1556
|
-
|
|
1557
|
-
# Time before the check is considered failed.
|
|
1558
|
-
# Corresponds to the JSON property `timeout`
|
|
1559
|
-
# @return [String]
|
|
1560
|
-
attr_accessor :timeout
|
|
1561
|
-
|
|
1562
|
-
# The initial delay before starting to execute the checks.
|
|
1563
|
-
# Corresponds to the JSON property `initialDelay`
|
|
1576
|
+
# The services belonging to the requested application.
|
|
1577
|
+
# Corresponds to the JSON property `services`
|
|
1578
|
+
# @return [Array<Google::Apis::AppengineV1::Service>]
|
|
1579
|
+
attr_accessor :services
|
|
1580
|
+
|
|
1581
|
+
# Continuation token for fetching the next page of results.
|
|
1582
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1564
1583
|
# @return [String]
|
|
1565
|
-
attr_accessor :
|
|
1584
|
+
attr_accessor :next_page_token
|
|
1566
1585
|
|
|
1567
1586
|
def initialize(**args)
|
|
1568
1587
|
update!(**args)
|
|
@@ -1570,13 +1589,8 @@ module Google
|
|
|
1570
1589
|
|
|
1571
1590
|
# Update properties of this object
|
|
1572
1591
|
def update!(**args)
|
|
1573
|
-
@
|
|
1574
|
-
@
|
|
1575
|
-
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
1576
|
-
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
|
1577
|
-
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1578
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1579
|
-
@initial_delay = args[:initial_delay] if args.key?(:initial_delay)
|
|
1592
|
+
@services = args[:services] if args.key?(:services)
|
|
1593
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1580
1594
|
end
|
|
1581
1595
|
end
|
|
1582
1596
|
|
|
@@ -1591,6 +1605,11 @@ module Google
|
|
|
1591
1605
|
# @return [Hash<String,Google::Apis::AppengineV1::FileInfo>]
|
|
1592
1606
|
attr_accessor :files
|
|
1593
1607
|
|
|
1608
|
+
# The zip file information for a zip deployment.
|
|
1609
|
+
# Corresponds to the JSON property `zip`
|
|
1610
|
+
# @return [Google::Apis::AppengineV1::ZipInfo]
|
|
1611
|
+
attr_accessor :zip
|
|
1612
|
+
|
|
1594
1613
|
# Docker image that is used to create a container and start a VM instance for
|
|
1595
1614
|
# the version that you deploy. Only applicable for instances running in the App
|
|
1596
1615
|
# Engine flexible environment.
|
|
@@ -1598,11 +1617,6 @@ module Google
|
|
|
1598
1617
|
# @return [Google::Apis::AppengineV1::ContainerInfo]
|
|
1599
1618
|
attr_accessor :container
|
|
1600
1619
|
|
|
1601
|
-
# The zip file information for a zip deployment.
|
|
1602
|
-
# Corresponds to the JSON property `zip`
|
|
1603
|
-
# @return [Google::Apis::AppengineV1::ZipInfo]
|
|
1604
|
-
attr_accessor :zip
|
|
1605
|
-
|
|
1606
1620
|
def initialize(**args)
|
|
1607
1621
|
update!(**args)
|
|
1608
1622
|
end
|
|
@@ -1610,31 +1624,34 @@ module Google
|
|
|
1610
1624
|
# Update properties of this object
|
|
1611
1625
|
def update!(**args)
|
|
1612
1626
|
@files = args[:files] if args.key?(:files)
|
|
1613
|
-
@container = args[:container] if args.key?(:container)
|
|
1614
1627
|
@zip = args[:zip] if args.key?(:zip)
|
|
1628
|
+
@container = args[:container] if args.key?(:container)
|
|
1615
1629
|
end
|
|
1616
1630
|
end
|
|
1617
1631
|
|
|
1618
|
-
#
|
|
1619
|
-
|
|
1620
|
-
class FileInfo
|
|
1632
|
+
# Machine resources for a version.
|
|
1633
|
+
class Resources
|
|
1621
1634
|
include Google::Apis::Core::Hashable
|
|
1622
1635
|
|
|
1623
|
-
#
|
|
1624
|
-
#
|
|
1625
|
-
#
|
|
1626
|
-
|
|
1627
|
-
attr_accessor :source_url
|
|
1636
|
+
# Number of CPU cores needed.
|
|
1637
|
+
# Corresponds to the JSON property `cpu`
|
|
1638
|
+
# @return [Float]
|
|
1639
|
+
attr_accessor :cpu
|
|
1628
1640
|
|
|
1629
|
-
#
|
|
1630
|
-
# Corresponds to the JSON property `
|
|
1631
|
-
# @return [
|
|
1632
|
-
attr_accessor :
|
|
1641
|
+
# Memory (GB) needed.
|
|
1642
|
+
# Corresponds to the JSON property `memoryGb`
|
|
1643
|
+
# @return [Float]
|
|
1644
|
+
attr_accessor :memory_gb
|
|
1633
1645
|
|
|
1634
|
-
#
|
|
1635
|
-
# Corresponds to the JSON property `
|
|
1636
|
-
# @return [
|
|
1637
|
-
attr_accessor :
|
|
1646
|
+
# User specified volumes.
|
|
1647
|
+
# Corresponds to the JSON property `volumes`
|
|
1648
|
+
# @return [Array<Google::Apis::AppengineV1::Volume>]
|
|
1649
|
+
attr_accessor :volumes
|
|
1650
|
+
|
|
1651
|
+
# Disk size (GB) needed.
|
|
1652
|
+
# Corresponds to the JSON property `diskGb`
|
|
1653
|
+
# @return [Float]
|
|
1654
|
+
attr_accessor :disk_gb
|
|
1638
1655
|
|
|
1639
1656
|
def initialize(**args)
|
|
1640
1657
|
update!(**args)
|
|
@@ -1642,24 +1659,31 @@ module Google
|
|
|
1642
1659
|
|
|
1643
1660
|
# Update properties of this object
|
|
1644
1661
|
def update!(**args)
|
|
1645
|
-
@
|
|
1646
|
-
@
|
|
1647
|
-
@
|
|
1662
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
|
1663
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
|
1664
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
|
1665
|
+
@disk_gb = args[:disk_gb] if args.key?(:disk_gb)
|
|
1648
1666
|
end
|
|
1649
1667
|
end
|
|
1650
1668
|
|
|
1651
|
-
#
|
|
1652
|
-
|
|
1653
|
-
# Engine flexible environment.
|
|
1654
|
-
class ContainerInfo
|
|
1669
|
+
# Volumes mounted within the app container. Only applicable for VM runtimes.
|
|
1670
|
+
class Volume
|
|
1655
1671
|
include Google::Apis::Core::Hashable
|
|
1656
1672
|
|
|
1657
|
-
#
|
|
1658
|
-
#
|
|
1659
|
-
# image:tag" or "gcr.io/my-project/image@digest"
|
|
1660
|
-
# Corresponds to the JSON property `image`
|
|
1673
|
+
# Underlying volume type, e.g. 'tmpfs'.
|
|
1674
|
+
# Corresponds to the JSON property `volumeType`
|
|
1661
1675
|
# @return [String]
|
|
1662
|
-
attr_accessor :
|
|
1676
|
+
attr_accessor :volume_type
|
|
1677
|
+
|
|
1678
|
+
# Volume size in gigabytes.
|
|
1679
|
+
# Corresponds to the JSON property `sizeGb`
|
|
1680
|
+
# @return [Float]
|
|
1681
|
+
attr_accessor :size_gb
|
|
1682
|
+
|
|
1683
|
+
# Unique name for the volume.
|
|
1684
|
+
# Corresponds to the JSON property `name`
|
|
1685
|
+
# @return [String]
|
|
1686
|
+
attr_accessor :name
|
|
1663
1687
|
|
|
1664
1688
|
def initialize(**args)
|
|
1665
1689
|
update!(**args)
|
|
@@ -1667,26 +1691,25 @@ module Google
|
|
|
1667
1691
|
|
|
1668
1692
|
# Update properties of this object
|
|
1669
1693
|
def update!(**args)
|
|
1670
|
-
@
|
|
1694
|
+
@volume_type = args[:volume_type] if args.key?(:volume_type)
|
|
1695
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
1696
|
+
@name = args[:name] if args.key?(:name)
|
|
1671
1697
|
end
|
|
1672
1698
|
end
|
|
1673
1699
|
|
|
1674
|
-
#
|
|
1675
|
-
class
|
|
1700
|
+
# Response message for Instances.ListInstances.
|
|
1701
|
+
class ListInstancesResponse
|
|
1676
1702
|
include Google::Apis::Core::Hashable
|
|
1677
1703
|
|
|
1678
|
-
#
|
|
1679
|
-
#
|
|
1680
|
-
# Corresponds to the JSON property `sourceUrl`
|
|
1704
|
+
# Continuation token for fetching the next page of results.
|
|
1705
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1681
1706
|
# @return [String]
|
|
1682
|
-
attr_accessor :
|
|
1707
|
+
attr_accessor :next_page_token
|
|
1683
1708
|
|
|
1684
|
-
#
|
|
1685
|
-
#
|
|
1686
|
-
#
|
|
1687
|
-
|
|
1688
|
-
# @return [Fixnum]
|
|
1689
|
-
attr_accessor :files_count
|
|
1709
|
+
# The instances belonging to the requested version.
|
|
1710
|
+
# Corresponds to the JSON property `instances`
|
|
1711
|
+
# @return [Array<Google::Apis::AppengineV1::Instance>]
|
|
1712
|
+
attr_accessor :instances
|
|
1690
1713
|
|
|
1691
1714
|
def initialize(**args)
|
|
1692
1715
|
update!(**args)
|
|
@@ -1694,30 +1717,33 @@ module Google
|
|
|
1694
1717
|
|
|
1695
1718
|
# Update properties of this object
|
|
1696
1719
|
def update!(**args)
|
|
1697
|
-
@
|
|
1698
|
-
@
|
|
1720
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1721
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
1699
1722
|
end
|
|
1700
1723
|
end
|
|
1701
1724
|
|
|
1702
|
-
#
|
|
1703
|
-
|
|
1704
|
-
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
1705
|
-
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
1706
|
-
# service-management/overview).
|
|
1707
|
-
class EndpointsApiService
|
|
1725
|
+
# Rules to match an HTTP request and dispatch that request to a service.
|
|
1726
|
+
class UrlDispatchRule
|
|
1708
1727
|
include Google::Apis::Core::Hashable
|
|
1709
1728
|
|
|
1710
|
-
#
|
|
1711
|
-
#
|
|
1712
|
-
#
|
|
1729
|
+
# Pathname within the host. Must start with a "/". A single "*" can be included
|
|
1730
|
+
# at the end of the path.The sum of the lengths of the domain and path may not
|
|
1731
|
+
# exceed 100 characters.
|
|
1732
|
+
# Corresponds to the JSON property `path`
|
|
1713
1733
|
# @return [String]
|
|
1714
|
-
attr_accessor :
|
|
1734
|
+
attr_accessor :path
|
|
1715
1735
|
|
|
1716
|
-
#
|
|
1717
|
-
#
|
|
1718
|
-
# Corresponds to the JSON property `
|
|
1736
|
+
# Domain name to match against. The wildcard "*" is supported if specified
|
|
1737
|
+
# before a period: "*.".Defaults to matching all domains: "*".
|
|
1738
|
+
# Corresponds to the JSON property `domain`
|
|
1719
1739
|
# @return [String]
|
|
1720
|
-
attr_accessor :
|
|
1740
|
+
attr_accessor :domain
|
|
1741
|
+
|
|
1742
|
+
# Resource ID of a service in this application that should serve the matched
|
|
1743
|
+
# request. The service must already exist. Example: default.
|
|
1744
|
+
# Corresponds to the JSON property `service`
|
|
1745
|
+
# @return [String]
|
|
1746
|
+
attr_accessor :service
|
|
1721
1747
|
|
|
1722
1748
|
def initialize(**args)
|
|
1723
1749
|
update!(**args)
|
|
@@ -1725,19 +1751,20 @@ module Google
|
|
|
1725
1751
|
|
|
1726
1752
|
# Update properties of this object
|
|
1727
1753
|
def update!(**args)
|
|
1728
|
-
@
|
|
1729
|
-
@
|
|
1754
|
+
@path = args[:path] if args.key?(:path)
|
|
1755
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
1756
|
+
@service = args[:service] if args.key?(:service)
|
|
1730
1757
|
end
|
|
1731
1758
|
end
|
|
1732
1759
|
|
|
1733
|
-
# Response message for
|
|
1734
|
-
class
|
|
1760
|
+
# Response message for Versions.ListVersions.
|
|
1761
|
+
class ListVersionsResponse
|
|
1735
1762
|
include Google::Apis::Core::Hashable
|
|
1736
1763
|
|
|
1737
|
-
# The
|
|
1738
|
-
# Corresponds to the JSON property `
|
|
1739
|
-
# @return [Array<Google::Apis::AppengineV1::
|
|
1740
|
-
attr_accessor :
|
|
1764
|
+
# The versions belonging to the requested service.
|
|
1765
|
+
# Corresponds to the JSON property `versions`
|
|
1766
|
+
# @return [Array<Google::Apis::AppengineV1::Version>]
|
|
1767
|
+
attr_accessor :versions
|
|
1741
1768
|
|
|
1742
1769
|
# Continuation token for fetching the next page of results.
|
|
1743
1770
|
# Corresponds to the JSON property `nextPageToken`
|
|
@@ -1750,104 +1777,100 @@ module Google
|
|
|
1750
1777
|
|
|
1751
1778
|
# Update properties of this object
|
|
1752
1779
|
def update!(**args)
|
|
1753
|
-
@
|
|
1780
|
+
@versions = args[:versions] if args.key?(:versions)
|
|
1754
1781
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1755
1782
|
end
|
|
1756
1783
|
end
|
|
1757
1784
|
|
|
1758
|
-
#
|
|
1759
|
-
|
|
1760
|
-
class Instance
|
|
1785
|
+
# Uses Google Cloud Endpoints to handle requests.
|
|
1786
|
+
class ApiEndpointHandler
|
|
1761
1787
|
include Google::Apis::Core::Hashable
|
|
1762
1788
|
|
|
1763
|
-
#
|
|
1764
|
-
#
|
|
1765
|
-
# Corresponds to the JSON property `name`
|
|
1766
|
-
# @return [String]
|
|
1767
|
-
attr_accessor :name
|
|
1768
|
-
|
|
1769
|
-
# Relative name of the instance within the version. Example: instance-1.@
|
|
1770
|
-
# OutputOnly
|
|
1771
|
-
# Corresponds to the JSON property `id`
|
|
1789
|
+
# Path to the script from the application root directory.
|
|
1790
|
+
# Corresponds to the JSON property `scriptPath`
|
|
1772
1791
|
# @return [String]
|
|
1773
|
-
attr_accessor :
|
|
1792
|
+
attr_accessor :script_path
|
|
1774
1793
|
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
attr_accessor :app_engine_release
|
|
1794
|
+
def initialize(**args)
|
|
1795
|
+
update!(**args)
|
|
1796
|
+
end
|
|
1779
1797
|
|
|
1780
|
-
#
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1798
|
+
# Update properties of this object
|
|
1799
|
+
def update!(**args)
|
|
1800
|
+
@script_path = args[:script_path] if args.key?(:script_path)
|
|
1801
|
+
end
|
|
1802
|
+
end
|
|
1784
1803
|
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
attr_accessor :vm_name
|
|
1804
|
+
# Automatic scaling is based on request rate, response latencies, and other
|
|
1805
|
+
# application metrics.
|
|
1806
|
+
class AutomaticScaling
|
|
1807
|
+
include Google::Apis::Core::Hashable
|
|
1790
1808
|
|
|
1791
|
-
#
|
|
1792
|
-
#
|
|
1793
|
-
# Corresponds to the JSON property `
|
|
1809
|
+
# Minimum amount of time a request should wait in the pending queue before
|
|
1810
|
+
# starting a new instance to handle it.
|
|
1811
|
+
# Corresponds to the JSON property `minPendingLatency`
|
|
1794
1812
|
# @return [String]
|
|
1795
|
-
attr_accessor :
|
|
1813
|
+
attr_accessor :min_pending_latency
|
|
1796
1814
|
|
|
1797
|
-
#
|
|
1798
|
-
#
|
|
1799
|
-
#
|
|
1800
|
-
|
|
1801
|
-
attr_accessor :vm_id
|
|
1815
|
+
# Target scaling by request utilization. Only applicable for VM runtimes.
|
|
1816
|
+
# Corresponds to the JSON property `requestUtilization`
|
|
1817
|
+
# @return [Google::Apis::AppengineV1::RequestUtilization]
|
|
1818
|
+
attr_accessor :request_utilization
|
|
1802
1819
|
|
|
1803
|
-
#
|
|
1804
|
-
# Corresponds to the JSON property `
|
|
1805
|
-
# @return [
|
|
1806
|
-
attr_accessor :
|
|
1820
|
+
# Maximum number of idle instances that should be maintained for this version.
|
|
1821
|
+
# Corresponds to the JSON property `maxIdleInstances`
|
|
1822
|
+
# @return [Fixnum]
|
|
1823
|
+
attr_accessor :max_idle_instances
|
|
1807
1824
|
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1825
|
+
# Minimum number of idle instances that should be maintained for this version.
|
|
1826
|
+
# Only applicable for the default version of a service.
|
|
1827
|
+
# Corresponds to the JSON property `minIdleInstances`
|
|
1810
1828
|
# @return [Fixnum]
|
|
1811
|
-
attr_accessor :
|
|
1829
|
+
attr_accessor :min_idle_instances
|
|
1812
1830
|
|
|
1813
|
-
#
|
|
1814
|
-
# Corresponds to the JSON property `
|
|
1831
|
+
# Maximum number of instances that should be started to handle requests.
|
|
1832
|
+
# Corresponds to the JSON property `maxTotalInstances`
|
|
1833
|
+
# @return [Fixnum]
|
|
1834
|
+
attr_accessor :max_total_instances
|
|
1835
|
+
|
|
1836
|
+
# Minimum number of instances that should be maintained for this version.
|
|
1837
|
+
# Corresponds to the JSON property `minTotalInstances`
|
|
1815
1838
|
# @return [Fixnum]
|
|
1816
|
-
attr_accessor :
|
|
1839
|
+
attr_accessor :min_total_instances
|
|
1817
1840
|
|
|
1818
|
-
#
|
|
1819
|
-
# Corresponds to the JSON property `
|
|
1820
|
-
# @return [
|
|
1821
|
-
attr_accessor :
|
|
1841
|
+
# Target scaling by network usage. Only applicable for VM runtimes.
|
|
1842
|
+
# Corresponds to the JSON property `networkUtilization`
|
|
1843
|
+
# @return [Google::Apis::AppengineV1::NetworkUtilization]
|
|
1844
|
+
attr_accessor :network_utilization
|
|
1822
1845
|
|
|
1823
|
-
#
|
|
1824
|
-
#
|
|
1846
|
+
# Number of concurrent requests an automatic scaling instance can accept before
|
|
1847
|
+
# the scheduler spawns a new instance.Defaults to a runtime-specific value.
|
|
1848
|
+
# Corresponds to the JSON property `maxConcurrentRequests`
|
|
1825
1849
|
# @return [Fixnum]
|
|
1826
|
-
attr_accessor :
|
|
1850
|
+
attr_accessor :max_concurrent_requests
|
|
1827
1851
|
|
|
1828
|
-
#
|
|
1829
|
-
#
|
|
1830
|
-
#
|
|
1831
|
-
|
|
1852
|
+
# Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/
|
|
1853
|
+
# autoscaler/) should wait between changes to the number of virtual machines.
|
|
1854
|
+
# Only applicable for VM runtimes.
|
|
1855
|
+
# Corresponds to the JSON property `coolDownPeriod`
|
|
1856
|
+
# @return [String]
|
|
1857
|
+
attr_accessor :cool_down_period
|
|
1832
1858
|
|
|
1833
|
-
#
|
|
1834
|
-
#
|
|
1835
|
-
# Corresponds to the JSON property `
|
|
1859
|
+
# Maximum amount of time that a request should wait in the pending queue before
|
|
1860
|
+
# starting a new instance to handle it.
|
|
1861
|
+
# Corresponds to the JSON property `maxPendingLatency`
|
|
1836
1862
|
# @return [String]
|
|
1837
|
-
attr_accessor :
|
|
1863
|
+
attr_accessor :max_pending_latency
|
|
1838
1864
|
|
|
1839
|
-
#
|
|
1840
|
-
#
|
|
1841
|
-
#
|
|
1842
|
-
|
|
1843
|
-
attr_accessor :vm_debug_enabled
|
|
1844
|
-
alias_method :vm_debug_enabled?, :vm_debug_enabled
|
|
1865
|
+
# Target scaling by CPU usage.
|
|
1866
|
+
# Corresponds to the JSON property `cpuUtilization`
|
|
1867
|
+
# @return [Google::Apis::AppengineV1::CpuUtilization]
|
|
1868
|
+
attr_accessor :cpu_utilization
|
|
1845
1869
|
|
|
1846
|
-
#
|
|
1847
|
-
#
|
|
1848
|
-
#
|
|
1849
|
-
|
|
1850
|
-
attr_accessor :vm_ip
|
|
1870
|
+
# Target scaling by disk usage. Only applicable for VM runtimes.
|
|
1871
|
+
# Corresponds to the JSON property `diskUtilization`
|
|
1872
|
+
# @return [Google::Apis::AppengineV1::DiskUtilization]
|
|
1873
|
+
attr_accessor :disk_utilization
|
|
1851
1874
|
|
|
1852
1875
|
def initialize(**args)
|
|
1853
1876
|
update!(**args)
|
|
@@ -1855,37 +1878,37 @@ module Google
|
|
|
1855
1878
|
|
|
1856
1879
|
# Update properties of this object
|
|
1857
1880
|
def update!(**args)
|
|
1858
|
-
@
|
|
1859
|
-
@
|
|
1860
|
-
@
|
|
1861
|
-
@
|
|
1862
|
-
@
|
|
1863
|
-
@
|
|
1864
|
-
@
|
|
1865
|
-
@
|
|
1866
|
-
@
|
|
1867
|
-
@
|
|
1868
|
-
@
|
|
1869
|
-
@
|
|
1870
|
-
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
|
1871
|
-
@vm_status = args[:vm_status] if args.key?(:vm_status)
|
|
1872
|
-
@vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
|
|
1873
|
-
@vm_ip = args[:vm_ip] if args.key?(:vm_ip)
|
|
1881
|
+
@min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
|
|
1882
|
+
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
|
1883
|
+
@max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
|
|
1884
|
+
@min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
|
|
1885
|
+
@max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
|
|
1886
|
+
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
|
1887
|
+
@network_utilization = args[:network_utilization] if args.key?(:network_utilization)
|
|
1888
|
+
@max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
|
|
1889
|
+
@cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
|
|
1890
|
+
@max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency)
|
|
1891
|
+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
|
1892
|
+
@disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
|
|
1874
1893
|
end
|
|
1875
1894
|
end
|
|
1876
1895
|
|
|
1877
|
-
#
|
|
1878
|
-
class
|
|
1896
|
+
# The zip file information for a zip deployment.
|
|
1897
|
+
class ZipInfo
|
|
1879
1898
|
include Google::Apis::Core::Hashable
|
|
1880
1899
|
|
|
1881
|
-
#
|
|
1882
|
-
#
|
|
1883
|
-
#
|
|
1884
|
-
# Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
|
|
1885
|
-
# .
|
|
1886
|
-
# Corresponds to the JSON property `sshKey`
|
|
1900
|
+
# URL of the zip file to deploy from. Must be a URL to a resource in Google
|
|
1901
|
+
# Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
|
|
1902
|
+
# Corresponds to the JSON property `sourceUrl`
|
|
1887
1903
|
# @return [String]
|
|
1888
|
-
attr_accessor :
|
|
1904
|
+
attr_accessor :source_url
|
|
1905
|
+
|
|
1906
|
+
# An estimate of the number of files in a zip for a zip deployment. If set, must
|
|
1907
|
+
# be greater than or equal to the actual number of files. Used for optimizing
|
|
1908
|
+
# performance; if not provided, deployment may be slow.
|
|
1909
|
+
# Corresponds to the JSON property `filesCount`
|
|
1910
|
+
# @return [Fixnum]
|
|
1911
|
+
attr_accessor :files_count
|
|
1889
1912
|
|
|
1890
1913
|
def initialize(**args)
|
|
1891
1914
|
update!(**args)
|
|
@@ -1893,23 +1916,24 @@ module Google
|
|
|
1893
1916
|
|
|
1894
1917
|
# Update properties of this object
|
|
1895
1918
|
def update!(**args)
|
|
1896
|
-
@
|
|
1919
|
+
@source_url = args[:source_url] if args.key?(:source_url)
|
|
1920
|
+
@files_count = args[:files_count] if args.key?(:files_count)
|
|
1897
1921
|
end
|
|
1898
1922
|
end
|
|
1899
1923
|
|
|
1900
|
-
#
|
|
1901
|
-
class
|
|
1924
|
+
# Third-party Python runtime library that is required by the application.
|
|
1925
|
+
class Library
|
|
1902
1926
|
include Google::Apis::Core::Hashable
|
|
1903
1927
|
|
|
1904
|
-
#
|
|
1905
|
-
# Corresponds to the JSON property `
|
|
1906
|
-
# @return [
|
|
1907
|
-
attr_accessor :
|
|
1928
|
+
# Name of the library. Example: "django".
|
|
1929
|
+
# Corresponds to the JSON property `name`
|
|
1930
|
+
# @return [String]
|
|
1931
|
+
attr_accessor :name
|
|
1908
1932
|
|
|
1909
|
-
#
|
|
1910
|
-
# Corresponds to the JSON property `
|
|
1933
|
+
# Version of the library to select, or "latest".
|
|
1934
|
+
# Corresponds to the JSON property `version`
|
|
1911
1935
|
# @return [String]
|
|
1912
|
-
attr_accessor :
|
|
1936
|
+
attr_accessor :version
|
|
1913
1937
|
|
|
1914
1938
|
def initialize(**args)
|
|
1915
1939
|
update!(**args)
|
|
@@ -1917,37 +1941,24 @@ module Google
|
|
|
1917
1941
|
|
|
1918
1942
|
# Update properties of this object
|
|
1919
1943
|
def update!(**args)
|
|
1920
|
-
@
|
|
1921
|
-
@
|
|
1944
|
+
@name = args[:name] if args.key?(:name)
|
|
1945
|
+
@version = args[:version] if args.key?(:version)
|
|
1922
1946
|
end
|
|
1923
1947
|
end
|
|
1924
1948
|
|
|
1925
|
-
#
|
|
1926
|
-
class
|
|
1949
|
+
# The response message for Locations.ListLocations.
|
|
1950
|
+
class ListLocationsResponse
|
|
1927
1951
|
include Google::Apis::Core::Hashable
|
|
1928
1952
|
|
|
1929
|
-
#
|
|
1930
|
-
#
|
|
1931
|
-
#
|
|
1932
|
-
|
|
1933
|
-
attr_accessor :name
|
|
1953
|
+
# A list of locations that matches the specified filter in the request.
|
|
1954
|
+
# Corresponds to the JSON property `locations`
|
|
1955
|
+
# @return [Array<Google::Apis::AppengineV1::Location>]
|
|
1956
|
+
attr_accessor :locations
|
|
1934
1957
|
|
|
1935
|
-
# The
|
|
1936
|
-
# Corresponds to the JSON property `
|
|
1958
|
+
# The standard List next-page token.
|
|
1959
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1937
1960
|
# @return [String]
|
|
1938
|
-
attr_accessor :
|
|
1939
|
-
|
|
1940
|
-
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
|
1941
|
-
# region": "us-east1"`
|
|
1942
|
-
# Corresponds to the JSON property `labels`
|
|
1943
|
-
# @return [Hash<String,String>]
|
|
1944
|
-
attr_accessor :labels
|
|
1945
|
-
|
|
1946
|
-
# Service-specific metadata. For example the available capacity at the given
|
|
1947
|
-
# location.
|
|
1948
|
-
# Corresponds to the JSON property `metadata`
|
|
1949
|
-
# @return [Hash<String,Object>]
|
|
1950
|
-
attr_accessor :metadata
|
|
1961
|
+
attr_accessor :next_page_token
|
|
1951
1962
|
|
|
1952
1963
|
def initialize(**args)
|
|
1953
1964
|
update!(**args)
|
|
@@ -1955,43 +1966,23 @@ module Google
|
|
|
1955
1966
|
|
|
1956
1967
|
# Update properties of this object
|
|
1957
1968
|
def update!(**args)
|
|
1958
|
-
@
|
|
1959
|
-
@
|
|
1960
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
1961
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1969
|
+
@locations = args[:locations] if args.key?(:locations)
|
|
1970
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1962
1971
|
end
|
|
1963
1972
|
end
|
|
1964
1973
|
|
|
1965
|
-
#
|
|
1966
|
-
|
|
1974
|
+
# Docker image that is used to create a container and start a VM instance for
|
|
1975
|
+
# the version that you deploy. Only applicable for instances running in the App
|
|
1976
|
+
# Engine flexible environment.
|
|
1977
|
+
class ContainerInfo
|
|
1967
1978
|
include Google::Apis::Core::Hashable
|
|
1968
1979
|
|
|
1969
|
-
#
|
|
1970
|
-
#
|
|
1971
|
-
#
|
|
1972
|
-
#
|
|
1973
|
-
attr_accessor :method_prop
|
|
1974
|
-
|
|
1975
|
-
# Time that this operation was created.@OutputOnly
|
|
1976
|
-
# Corresponds to the JSON property `insertTime`
|
|
1977
|
-
# @return [String]
|
|
1978
|
-
attr_accessor :insert_time
|
|
1979
|
-
|
|
1980
|
-
# Time that this operation completed.@OutputOnly
|
|
1981
|
-
# Corresponds to the JSON property `endTime`
|
|
1982
|
-
# @return [String]
|
|
1983
|
-
attr_accessor :end_time
|
|
1984
|
-
|
|
1985
|
-
# User who requested this operation.@OutputOnly
|
|
1986
|
-
# Corresponds to the JSON property `user`
|
|
1987
|
-
# @return [String]
|
|
1988
|
-
attr_accessor :user
|
|
1989
|
-
|
|
1990
|
-
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1991
|
-
# customDomains/example.com.@OutputOnly
|
|
1992
|
-
# Corresponds to the JSON property `target`
|
|
1980
|
+
# URI to the hosted container image in Google Container Registry. The URI must
|
|
1981
|
+
# be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
|
1982
|
+
# image:tag" or "gcr.io/my-project/image@digest"
|
|
1983
|
+
# Corresponds to the JSON property `image`
|
|
1993
1984
|
# @return [String]
|
|
1994
|
-
attr_accessor :
|
|
1985
|
+
attr_accessor :image
|
|
1995
1986
|
|
|
1996
1987
|
def initialize(**args)
|
|
1997
1988
|
update!(**args)
|
|
@@ -1999,96 +1990,54 @@ module Google
|
|
|
1999
1990
|
|
|
2000
1991
|
# Update properties of this object
|
|
2001
1992
|
def update!(**args)
|
|
2002
|
-
@
|
|
2003
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
2004
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2005
|
-
@user = args[:user] if args.key?(:user)
|
|
2006
|
-
@target = args[:target] if args.key?(:target)
|
|
1993
|
+
@image = args[:image] if args.key?(:image)
|
|
2007
1994
|
end
|
|
2008
1995
|
end
|
|
2009
1996
|
|
|
2010
|
-
#
|
|
2011
|
-
class
|
|
1997
|
+
# Target scaling by request utilization. Only applicable for VM runtimes.
|
|
1998
|
+
class RequestUtilization
|
|
2012
1999
|
include Google::Apis::Core::Hashable
|
|
2013
2000
|
|
|
2014
|
-
#
|
|
2015
|
-
#
|
|
2016
|
-
#
|
|
2017
|
-
|
|
2018
|
-
attr_accessor :operation_type
|
|
2019
|
-
|
|
2020
|
-
# Timestamp that this operation was created.@OutputOnly
|
|
2021
|
-
# Corresponds to the JSON property `insertTime`
|
|
2022
|
-
# @return [String]
|
|
2023
|
-
attr_accessor :insert_time
|
|
2024
|
-
|
|
2025
|
-
# Timestamp that this operation completed.@OutputOnly
|
|
2026
|
-
# Corresponds to the JSON property `endTime`
|
|
2027
|
-
# @return [String]
|
|
2028
|
-
attr_accessor :end_time
|
|
2029
|
-
|
|
2030
|
-
# User who requested this operation.@OutputOnly
|
|
2031
|
-
# Corresponds to the JSON property `user`
|
|
2032
|
-
# @return [String]
|
|
2033
|
-
attr_accessor :user
|
|
2034
|
-
|
|
2035
|
-
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
2036
|
-
# modules/default.@OutputOnly
|
|
2037
|
-
# Corresponds to the JSON property `target`
|
|
2038
|
-
# @return [String]
|
|
2039
|
-
attr_accessor :target
|
|
2001
|
+
# Target requests per second.
|
|
2002
|
+
# Corresponds to the JSON property `targetRequestCountPerSecond`
|
|
2003
|
+
# @return [Fixnum]
|
|
2004
|
+
attr_accessor :target_request_count_per_second
|
|
2040
2005
|
|
|
2041
|
-
#
|
|
2042
|
-
#
|
|
2043
|
-
#
|
|
2044
|
-
|
|
2045
|
-
attr_accessor :method_prop
|
|
2006
|
+
# Target number of concurrent requests.
|
|
2007
|
+
# Corresponds to the JSON property `targetConcurrentRequests`
|
|
2008
|
+
# @return [Fixnum]
|
|
2009
|
+
attr_accessor :target_concurrent_requests
|
|
2046
2010
|
|
|
2047
2011
|
def initialize(**args)
|
|
2048
2012
|
update!(**args)
|
|
2049
2013
|
end
|
|
2050
|
-
|
|
2051
|
-
# Update properties of this object
|
|
2052
|
-
def update!(**args)
|
|
2053
|
-
@
|
|
2054
|
-
@
|
|
2055
|
-
|
|
2056
|
-
@user = args[:user] if args.key?(:user)
|
|
2057
|
-
@target = args[:target] if args.key?(:target)
|
|
2058
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
2059
|
-
end
|
|
2014
|
+
|
|
2015
|
+
# Update properties of this object
|
|
2016
|
+
def update!(**args)
|
|
2017
|
+
@target_request_count_per_second = args[:target_request_count_per_second] if args.key?(:target_request_count_per_second)
|
|
2018
|
+
@target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
|
|
2019
|
+
end
|
|
2060
2020
|
end
|
|
2061
2021
|
|
|
2062
|
-
#
|
|
2063
|
-
|
|
2022
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
2023
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
2024
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
2025
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
2026
|
+
# service-management/overview).
|
|
2027
|
+
class EndpointsApiService
|
|
2064
2028
|
include Google::Apis::Core::Hashable
|
|
2065
2029
|
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
# Corresponds to the JSON property `
|
|
2069
|
-
# @return [String]
|
|
2070
|
-
attr_accessor :method_prop
|
|
2071
|
-
|
|
2072
|
-
# Timestamp that this operation was created.@OutputOnly
|
|
2073
|
-
# Corresponds to the JSON property `insertTime`
|
|
2074
|
-
# @return [String]
|
|
2075
|
-
attr_accessor :insert_time
|
|
2076
|
-
|
|
2077
|
-
# Timestamp that this operation completed.@OutputOnly
|
|
2078
|
-
# Corresponds to the JSON property `endTime`
|
|
2079
|
-
# @return [String]
|
|
2080
|
-
attr_accessor :end_time
|
|
2081
|
-
|
|
2082
|
-
# User who requested this operation.@OutputOnly
|
|
2083
|
-
# Corresponds to the JSON property `user`
|
|
2030
|
+
# Endpoints service name which is the name of the "service" resource in the
|
|
2031
|
+
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
2032
|
+
# Corresponds to the JSON property `name`
|
|
2084
2033
|
# @return [String]
|
|
2085
|
-
attr_accessor :
|
|
2034
|
+
attr_accessor :name
|
|
2086
2035
|
|
|
2087
|
-
#
|
|
2088
|
-
#
|
|
2089
|
-
# Corresponds to the JSON property `
|
|
2036
|
+
# Endpoints service configuration id as specified by the Service Management API.
|
|
2037
|
+
# For example "2016-09-19r1"
|
|
2038
|
+
# Corresponds to the JSON property `configId`
|
|
2090
2039
|
# @return [String]
|
|
2091
|
-
attr_accessor :
|
|
2040
|
+
attr_accessor :config_id
|
|
2092
2041
|
|
|
2093
2042
|
def initialize(**args)
|
|
2094
2043
|
update!(**args)
|
|
@@ -2096,55 +2045,63 @@ module Google
|
|
|
2096
2045
|
|
|
2097
2046
|
# Update properties of this object
|
|
2098
2047
|
def update!(**args)
|
|
2099
|
-
@
|
|
2100
|
-
@
|
|
2101
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2102
|
-
@user = args[:user] if args.key?(:user)
|
|
2103
|
-
@target = args[:target] if args.key?(:target)
|
|
2048
|
+
@name = args[:name] if args.key?(:name)
|
|
2049
|
+
@config_id = args[:config_id] if args.key?(:config_id)
|
|
2104
2050
|
end
|
|
2105
2051
|
end
|
|
2106
2052
|
|
|
2107
|
-
#
|
|
2108
|
-
|
|
2053
|
+
# URL pattern and description of how the URL should be handled. App Engine can
|
|
2054
|
+
# handle URLs by executing application code or by serving static files uploaded
|
|
2055
|
+
# with the version, such as images, CSS, or JavaScript.
|
|
2056
|
+
class UrlMap
|
|
2109
2057
|
include Google::Apis::Core::Hashable
|
|
2110
2058
|
|
|
2111
|
-
#
|
|
2112
|
-
#
|
|
2113
|
-
#
|
|
2114
|
-
|
|
2115
|
-
attr_accessor :method_prop
|
|
2059
|
+
# Uses Google Cloud Endpoints to handle requests.
|
|
2060
|
+
# Corresponds to the JSON property `apiEndpoint`
|
|
2061
|
+
# @return [Google::Apis::AppengineV1::ApiEndpointHandler]
|
|
2062
|
+
attr_accessor :api_endpoint
|
|
2116
2063
|
|
|
2117
|
-
#
|
|
2118
|
-
#
|
|
2119
|
-
#
|
|
2120
|
-
|
|
2064
|
+
# Files served directly to the user for a given URL, such as images, CSS
|
|
2065
|
+
# stylesheets, or JavaScript source files. Static file handlers describe which
|
|
2066
|
+
# files in the application directory are static files, and which URLs serve them.
|
|
2067
|
+
# Corresponds to the JSON property `staticFiles`
|
|
2068
|
+
# @return [Google::Apis::AppengineV1::StaticFilesHandler]
|
|
2069
|
+
attr_accessor :static_files
|
|
2121
2070
|
|
|
2122
|
-
#
|
|
2123
|
-
#
|
|
2071
|
+
# 30x code to use when performing redirects for the secure field. Defaults to
|
|
2072
|
+
# 302.
|
|
2073
|
+
# Corresponds to the JSON property `redirectHttpResponseCode`
|
|
2124
2074
|
# @return [String]
|
|
2125
|
-
attr_accessor :
|
|
2075
|
+
attr_accessor :redirect_http_response_code
|
|
2126
2076
|
|
|
2127
|
-
#
|
|
2128
|
-
# Corresponds to the JSON property `
|
|
2077
|
+
# Security (HTTPS) enforcement for this URL.
|
|
2078
|
+
# Corresponds to the JSON property `securityLevel`
|
|
2129
2079
|
# @return [String]
|
|
2130
|
-
attr_accessor :
|
|
2080
|
+
attr_accessor :security_level
|
|
2131
2081
|
|
|
2132
|
-
#
|
|
2133
|
-
#
|
|
2134
|
-
# Corresponds to the JSON property `
|
|
2082
|
+
# Action to take when users access resources that require authentication.
|
|
2083
|
+
# Defaults to redirect.
|
|
2084
|
+
# Corresponds to the JSON property `authFailAction`
|
|
2135
2085
|
# @return [String]
|
|
2136
|
-
attr_accessor :
|
|
2086
|
+
attr_accessor :auth_fail_action
|
|
2137
2087
|
|
|
2138
|
-
#
|
|
2139
|
-
#
|
|
2140
|
-
#
|
|
2088
|
+
# Executes a script to handle the request that matches the URL pattern.
|
|
2089
|
+
# Corresponds to the JSON property `script`
|
|
2090
|
+
# @return [Google::Apis::AppengineV1::ScriptHandler]
|
|
2091
|
+
attr_accessor :script
|
|
2092
|
+
|
|
2093
|
+
# URL prefix. Uses regular expression syntax, which means regexp special
|
|
2094
|
+
# characters must be escaped, but should not contain groupings. All URLs that
|
|
2095
|
+
# begin with this prefix are handled by this handler, using the portion of the
|
|
2096
|
+
# URL after the prefix as part of the file path.
|
|
2097
|
+
# Corresponds to the JSON property `urlRegex`
|
|
2141
2098
|
# @return [String]
|
|
2142
|
-
attr_accessor :
|
|
2099
|
+
attr_accessor :url_regex
|
|
2143
2100
|
|
|
2144
|
-
#
|
|
2145
|
-
# Corresponds to the JSON property `
|
|
2146
|
-
# @return [
|
|
2147
|
-
attr_accessor :
|
|
2101
|
+
# Level of login required to access this resource.
|
|
2102
|
+
# Corresponds to the JSON property `login`
|
|
2103
|
+
# @return [String]
|
|
2104
|
+
attr_accessor :login
|
|
2148
2105
|
|
|
2149
2106
|
def initialize(**args)
|
|
2150
2107
|
update!(**args)
|
|
@@ -2152,57 +2109,47 @@ module Google
|
|
|
2152
2109
|
|
|
2153
2110
|
# Update properties of this object
|
|
2154
2111
|
def update!(**args)
|
|
2155
|
-
@
|
|
2156
|
-
@
|
|
2157
|
-
@
|
|
2158
|
-
@
|
|
2159
|
-
@
|
|
2160
|
-
@
|
|
2161
|
-
@
|
|
2112
|
+
@api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
|
|
2113
|
+
@static_files = args[:static_files] if args.key?(:static_files)
|
|
2114
|
+
@redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code)
|
|
2115
|
+
@security_level = args[:security_level] if args.key?(:security_level)
|
|
2116
|
+
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
|
2117
|
+
@script = args[:script] if args.key?(:script)
|
|
2118
|
+
@url_regex = args[:url_regex] if args.key?(:url_regex)
|
|
2119
|
+
@login = args[:login] if args.key?(:login)
|
|
2162
2120
|
end
|
|
2163
2121
|
end
|
|
2164
2122
|
|
|
2165
|
-
#
|
|
2166
|
-
|
|
2123
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
|
2124
|
+
# endpoints/) configuration for API handlers.
|
|
2125
|
+
class ApiConfigHandler
|
|
2167
2126
|
include Google::Apis::Core::Hashable
|
|
2168
2127
|
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
# Corresponds to the JSON property `method`
|
|
2172
|
-
# @return [String]
|
|
2173
|
-
attr_accessor :method_prop
|
|
2174
|
-
|
|
2175
|
-
# Time that this operation was created.@OutputOnly
|
|
2176
|
-
# Corresponds to the JSON property `insertTime`
|
|
2128
|
+
# Level of login required to access this resource. Defaults to optional.
|
|
2129
|
+
# Corresponds to the JSON property `login`
|
|
2177
2130
|
# @return [String]
|
|
2178
|
-
attr_accessor :
|
|
2131
|
+
attr_accessor :login
|
|
2179
2132
|
|
|
2180
|
-
#
|
|
2181
|
-
# Corresponds to the JSON property `
|
|
2133
|
+
# URL to serve the endpoint at.
|
|
2134
|
+
# Corresponds to the JSON property `url`
|
|
2182
2135
|
# @return [String]
|
|
2183
|
-
attr_accessor :
|
|
2136
|
+
attr_accessor :url
|
|
2184
2137
|
|
|
2185
|
-
#
|
|
2186
|
-
# Corresponds to the JSON property `
|
|
2138
|
+
# Security (HTTPS) enforcement for this URL.
|
|
2139
|
+
# Corresponds to the JSON property `securityLevel`
|
|
2187
2140
|
# @return [String]
|
|
2188
|
-
attr_accessor :
|
|
2141
|
+
attr_accessor :security_level
|
|
2189
2142
|
|
|
2190
|
-
#
|
|
2191
|
-
#
|
|
2192
|
-
# Corresponds to the JSON property `
|
|
2143
|
+
# Action to take when users access resources that require authentication.
|
|
2144
|
+
# Defaults to redirect.
|
|
2145
|
+
# Corresponds to the JSON property `authFailAction`
|
|
2193
2146
|
# @return [String]
|
|
2194
|
-
attr_accessor :
|
|
2147
|
+
attr_accessor :auth_fail_action
|
|
2195
2148
|
|
|
2196
|
-
#
|
|
2197
|
-
#
|
|
2198
|
-
# Corresponds to the JSON property `ephemeralMessage`
|
|
2149
|
+
# Path to the script from the application root directory.
|
|
2150
|
+
# Corresponds to the JSON property `script`
|
|
2199
2151
|
# @return [String]
|
|
2200
|
-
attr_accessor :
|
|
2201
|
-
|
|
2202
|
-
# Durable messages that persist on every operation poll. @OutputOnly
|
|
2203
|
-
# Corresponds to the JSON property `warning`
|
|
2204
|
-
# @return [Array<String>]
|
|
2205
|
-
attr_accessor :warning
|
|
2152
|
+
attr_accessor :script
|
|
2206
2153
|
|
|
2207
2154
|
def initialize(**args)
|
|
2208
2155
|
update!(**args)
|
|
@@ -2210,31 +2157,89 @@ module Google
|
|
|
2210
2157
|
|
|
2211
2158
|
# Update properties of this object
|
|
2212
2159
|
def update!(**args)
|
|
2213
|
-
@
|
|
2214
|
-
@
|
|
2215
|
-
@
|
|
2216
|
-
@
|
|
2217
|
-
@
|
|
2218
|
-
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
2219
|
-
@warning = args[:warning] if args.key?(:warning)
|
|
2160
|
+
@login = args[:login] if args.key?(:login)
|
|
2161
|
+
@url = args[:url] if args.key?(:url)
|
|
2162
|
+
@security_level = args[:security_level] if args.key?(:security_level)
|
|
2163
|
+
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
|
2164
|
+
@script = args[:script] if args.key?(:script)
|
|
2220
2165
|
end
|
|
2221
2166
|
end
|
|
2222
2167
|
|
|
2223
|
-
#
|
|
2224
|
-
|
|
2168
|
+
# This resource represents a long-running operation that is the result of a
|
|
2169
|
+
# network API call.
|
|
2170
|
+
class Operation
|
|
2225
2171
|
include Google::Apis::Core::Hashable
|
|
2226
2172
|
|
|
2227
|
-
#
|
|
2228
|
-
#
|
|
2229
|
-
#
|
|
2230
|
-
|
|
2231
|
-
|
|
2173
|
+
# The server-assigned name, which is only unique within the same service that
|
|
2174
|
+
# originally returns it. If you use the default HTTP mapping, the name should
|
|
2175
|
+
# have the format of operations/some/unique/name.
|
|
2176
|
+
# Corresponds to the JSON property `name`
|
|
2177
|
+
# @return [String]
|
|
2178
|
+
attr_accessor :name
|
|
2232
2179
|
|
|
2233
|
-
#
|
|
2234
|
-
#
|
|
2180
|
+
# The Status type defines a logical error model that is suitable for different
|
|
2181
|
+
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
|
2182
|
+
# (https://github.com/grpc). The error model is designed to be:
|
|
2183
|
+
# Simple to use and understand for most users
|
|
2184
|
+
# Flexible enough to meet unexpected needsOverviewThe Status message contains
|
|
2185
|
+
# three pieces of data: error code, error message, and error details. The error
|
|
2186
|
+
# code should be an enum value of google.rpc.Code, but it may accept additional
|
|
2187
|
+
# error codes if needed. The error message should be a developer-facing English
|
|
2188
|
+
# message that helps developers understand and resolve the error. If a localized
|
|
2189
|
+
# user-facing error message is needed, put the localized message in the error
|
|
2190
|
+
# details or localize it in the client. The optional error details may contain
|
|
2191
|
+
# arbitrary information about the error. There is a predefined set of error
|
|
2192
|
+
# detail types in the package google.rpc which can be used for common error
|
|
2193
|
+
# conditions.Language mappingThe Status message is the logical representation of
|
|
2194
|
+
# the error model, but it is not necessarily the actual wire format. When the
|
|
2195
|
+
# Status message is exposed in different client libraries and different wire
|
|
2196
|
+
# protocols, it can be mapped differently. For example, it will likely be mapped
|
|
2197
|
+
# to some exceptions in Java, but more likely mapped to some error codes in C.
|
|
2198
|
+
# Other usesThe error model and the Status message can be used in a variety of
|
|
2199
|
+
# environments, either with or without APIs, to provide a consistent developer
|
|
2200
|
+
# experience across different environments.Example uses of this error model
|
|
2201
|
+
# include:
|
|
2202
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
|
2203
|
+
# may embed the Status in the normal response to indicate the partial errors.
|
|
2204
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a
|
|
2205
|
+
# Status message for error reporting purpose.
|
|
2206
|
+
# Batch operations. If a client uses batch request and batch response, the
|
|
2207
|
+
# Status message should be used directly inside batch response, one for each
|
|
2208
|
+
# error sub-response.
|
|
2209
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
|
2210
|
+
# in its response, the status of those operations should be represented directly
|
|
2211
|
+
# using the Status message.
|
|
2212
|
+
# Logging. If some API errors are stored in logs, the message Status could be
|
|
2213
|
+
# used directly after any stripping needed for security/privacy reasons.
|
|
2214
|
+
# Corresponds to the JSON property `error`
|
|
2215
|
+
# @return [Google::Apis::AppengineV1::Status]
|
|
2216
|
+
attr_accessor :error
|
|
2217
|
+
|
|
2218
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
2219
|
+
# progress information and common metadata such as create time. Some services
|
|
2220
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
2221
|
+
# operation should document the metadata type, if any.
|
|
2222
|
+
# Corresponds to the JSON property `metadata`
|
|
2223
|
+
# @return [Hash<String,Object>]
|
|
2224
|
+
attr_accessor :metadata
|
|
2225
|
+
|
|
2226
|
+
# If the value is false, it means the operation is still in progress. If true,
|
|
2227
|
+
# the operation is completed, and either error or response is available.
|
|
2228
|
+
# Corresponds to the JSON property `done`
|
|
2235
2229
|
# @return [Boolean]
|
|
2236
|
-
attr_accessor :
|
|
2237
|
-
alias_method :
|
|
2230
|
+
attr_accessor :done
|
|
2231
|
+
alias_method :done?, :done
|
|
2232
|
+
|
|
2233
|
+
# The normal response of the operation in case of success. If the original
|
|
2234
|
+
# method returns no data on success, such as Delete, the response is google.
|
|
2235
|
+
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
|
2236
|
+
# response should be the resource. For other methods, the response should have
|
|
2237
|
+
# the type XxxResponse, where Xxx is the original method name. For example, if
|
|
2238
|
+
# the original method name is TakeSnapshot(), the inferred response type is
|
|
2239
|
+
# TakeSnapshotResponse.
|
|
2240
|
+
# Corresponds to the JSON property `response`
|
|
2241
|
+
# @return [Hash<String,Object>]
|
|
2242
|
+
attr_accessor :response
|
|
2238
2243
|
|
|
2239
2244
|
def initialize(**args)
|
|
2240
2245
|
update!(**args)
|
|
@@ -2242,8 +2247,11 @@ module Google
|
|
|
2242
2247
|
|
|
2243
2248
|
# Update properties of this object
|
|
2244
2249
|
def update!(**args)
|
|
2245
|
-
@
|
|
2246
|
-
@
|
|
2250
|
+
@name = args[:name] if args.key?(:name)
|
|
2251
|
+
@error = args[:error] if args.key?(:error)
|
|
2252
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
2253
|
+
@done = args[:done] if args.key?(:done)
|
|
2254
|
+
@response = args[:response] if args.key?(:response)
|
|
2247
2255
|
end
|
|
2248
2256
|
end
|
|
2249
2257
|
end
|