google-api-client 0.13.0 → 0.13.1
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 +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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 +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- 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 +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- 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 +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- 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 +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- 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 +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- 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 +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- 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 +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
|
26
26
|
module AndroidenterpriseV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170706'
|
|
29
29
|
|
|
30
30
|
# Manage corporate Android devices
|
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
|
@@ -26,16 +26,16 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
30
|
-
|
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
29
|
+
REVISION = '20170626'
|
|
33
30
|
|
|
34
31
|
# View and manage your applications deployed on Google App Engine
|
|
35
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
36
33
|
|
|
37
34
|
# View your data across Google Cloud Platform services
|
|
38
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'
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -22,124 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AppengineV1
|
|
24
24
|
|
|
25
|
-
# Metadata for the given google.longrunning.Operation.
|
|
26
|
-
class OperationMetadataV1Alpha
|
|
27
|
-
include Google::Apis::Core::Hashable
|
|
28
|
-
|
|
29
|
-
# Time that this operation completed.@OutputOnly
|
|
30
|
-
# Corresponds to the JSON property `endTime`
|
|
31
|
-
# @return [String]
|
|
32
|
-
attr_accessor :end_time
|
|
33
|
-
|
|
34
|
-
# Durable messages that persist on every operation poll. @OutputOnly
|
|
35
|
-
# Corresponds to the JSON property `warning`
|
|
36
|
-
# @return [Array<String>]
|
|
37
|
-
attr_accessor :warning
|
|
38
|
-
|
|
39
|
-
# Time that this operation was created.@OutputOnly
|
|
40
|
-
# Corresponds to the JSON property `insertTime`
|
|
41
|
-
# @return [String]
|
|
42
|
-
attr_accessor :insert_time
|
|
43
|
-
|
|
44
|
-
# User who requested this operation.@OutputOnly
|
|
45
|
-
# Corresponds to the JSON property `user`
|
|
46
|
-
# @return [String]
|
|
47
|
-
attr_accessor :user
|
|
48
|
-
|
|
49
|
-
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
50
|
-
# services/default.@OutputOnly
|
|
51
|
-
# Corresponds to the JSON property `target`
|
|
52
|
-
# @return [String]
|
|
53
|
-
attr_accessor :target
|
|
54
|
-
|
|
55
|
-
# Ephemeral message that may change every time the operation is polled. @
|
|
56
|
-
# OutputOnly
|
|
57
|
-
# Corresponds to the JSON property `ephemeralMessage`
|
|
58
|
-
# @return [String]
|
|
59
|
-
attr_accessor :ephemeral_message
|
|
60
|
-
|
|
61
|
-
# API method that initiated this operation. Example: google.appengine.v1alpha.
|
|
62
|
-
# Versions.CreateVersion.@OutputOnly
|
|
63
|
-
# Corresponds to the JSON property `method`
|
|
64
|
-
# @return [String]
|
|
65
|
-
attr_accessor :method_prop
|
|
66
|
-
|
|
67
|
-
def initialize(**args)
|
|
68
|
-
update!(**args)
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
# Update properties of this object
|
|
72
|
-
def update!(**args)
|
|
73
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
74
|
-
@warning = args[:warning] if args.key?(:warning)
|
|
75
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
76
|
-
@user = args[:user] if args.key?(:user)
|
|
77
|
-
@target = args[:target] if args.key?(:target)
|
|
78
|
-
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
79
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# Rules to match an HTTP request and dispatch that request to a service.
|
|
84
|
-
class UrlDispatchRule
|
|
85
|
-
include Google::Apis::Core::Hashable
|
|
86
|
-
|
|
87
|
-
# Domain name to match against. The wildcard "*" is supported if specified
|
|
88
|
-
# before a period: "*.".Defaults to matching all domains: "*".
|
|
89
|
-
# Corresponds to the JSON property `domain`
|
|
90
|
-
# @return [String]
|
|
91
|
-
attr_accessor :domain
|
|
92
|
-
|
|
93
|
-
# Resource ID of a service in this application that should serve the matched
|
|
94
|
-
# request. The service must already exist. Example: default.
|
|
95
|
-
# Corresponds to the JSON property `service`
|
|
96
|
-
# @return [String]
|
|
97
|
-
attr_accessor :service
|
|
98
|
-
|
|
99
|
-
# Pathname within the host. Must start with a "/". A single "*" can be included
|
|
100
|
-
# at the end of the path.The sum of the lengths of the domain and path may not
|
|
101
|
-
# exceed 100 characters.
|
|
102
|
-
# Corresponds to the JSON property `path`
|
|
103
|
-
# @return [String]
|
|
104
|
-
attr_accessor :path
|
|
105
|
-
|
|
106
|
-
def initialize(**args)
|
|
107
|
-
update!(**args)
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
# Update properties of this object
|
|
111
|
-
def update!(**args)
|
|
112
|
-
@domain = args[:domain] if args.key?(:domain)
|
|
113
|
-
@service = args[:service] if args.key?(:service)
|
|
114
|
-
@path = args[:path] if args.key?(:path)
|
|
115
|
-
end
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
# Response message for Versions.ListVersions.
|
|
119
|
-
class ListVersionsResponse
|
|
120
|
-
include Google::Apis::Core::Hashable
|
|
121
|
-
|
|
122
|
-
# The versions belonging to the requested service.
|
|
123
|
-
# Corresponds to the JSON property `versions`
|
|
124
|
-
# @return [Array<Google::Apis::AppengineV1::Version>]
|
|
125
|
-
attr_accessor :versions
|
|
126
|
-
|
|
127
|
-
# Continuation token for fetching the next page of results.
|
|
128
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
129
|
-
# @return [String]
|
|
130
|
-
attr_accessor :next_page_token
|
|
131
|
-
|
|
132
|
-
def initialize(**args)
|
|
133
|
-
update!(**args)
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
# Update properties of this object
|
|
137
|
-
def update!(**args)
|
|
138
|
-
@versions = args[:versions] if args.key?(:versions)
|
|
139
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
140
|
-
end
|
|
141
|
-
end
|
|
142
|
-
|
|
143
25
|
# Uses Google Cloud Endpoints to handle requests.
|
|
144
26
|
class ApiEndpointHandler
|
|
145
27
|
include Google::Apis::Core::Hashable
|
|
@@ -164,32 +46,6 @@ module Google
|
|
|
164
46
|
class AutomaticScaling
|
|
165
47
|
include Google::Apis::Core::Hashable
|
|
166
48
|
|
|
167
|
-
# Target scaling by request utilization. Only applicable for VM runtimes.
|
|
168
|
-
# Corresponds to the JSON property `requestUtilization`
|
|
169
|
-
# @return [Google::Apis::AppengineV1::RequestUtilization]
|
|
170
|
-
attr_accessor :request_utilization
|
|
171
|
-
|
|
172
|
-
# Maximum number of idle instances that should be maintained for this version.
|
|
173
|
-
# Corresponds to the JSON property `maxIdleInstances`
|
|
174
|
-
# @return [Fixnum]
|
|
175
|
-
attr_accessor :max_idle_instances
|
|
176
|
-
|
|
177
|
-
# Minimum number of idle instances that should be maintained for this version.
|
|
178
|
-
# Only applicable for the default version of a service.
|
|
179
|
-
# Corresponds to the JSON property `minIdleInstances`
|
|
180
|
-
# @return [Fixnum]
|
|
181
|
-
attr_accessor :min_idle_instances
|
|
182
|
-
|
|
183
|
-
# Maximum number of instances that should be started to handle requests.
|
|
184
|
-
# Corresponds to the JSON property `maxTotalInstances`
|
|
185
|
-
# @return [Fixnum]
|
|
186
|
-
attr_accessor :max_total_instances
|
|
187
|
-
|
|
188
|
-
# Minimum number of instances that should be maintained for this version.
|
|
189
|
-
# Corresponds to the JSON property `minTotalInstances`
|
|
190
|
-
# @return [Fixnum]
|
|
191
|
-
attr_accessor :min_total_instances
|
|
192
|
-
|
|
193
49
|
# Target scaling by network usage. Only applicable for VM runtimes.
|
|
194
50
|
# Corresponds to the JSON property `networkUtilization`
|
|
195
51
|
# @return [Google::Apis::AppengineV1::NetworkUtilization]
|
|
@@ -230,17 +86,38 @@ module Google
|
|
|
230
86
|
# @return [String]
|
|
231
87
|
attr_accessor :min_pending_latency
|
|
232
88
|
|
|
89
|
+
# Maximum number of idle instances that should be maintained for this version.
|
|
90
|
+
# Corresponds to the JSON property `maxIdleInstances`
|
|
91
|
+
# @return [Fixnum]
|
|
92
|
+
attr_accessor :max_idle_instances
|
|
93
|
+
|
|
94
|
+
# Target scaling by request utilization. Only applicable for VM runtimes.
|
|
95
|
+
# Corresponds to the JSON property `requestUtilization`
|
|
96
|
+
# @return [Google::Apis::AppengineV1::RequestUtilization]
|
|
97
|
+
attr_accessor :request_utilization
|
|
98
|
+
|
|
99
|
+
# Minimum number of idle instances that should be maintained for this version.
|
|
100
|
+
# Only applicable for the default version of a service.
|
|
101
|
+
# Corresponds to the JSON property `minIdleInstances`
|
|
102
|
+
# @return [Fixnum]
|
|
103
|
+
attr_accessor :min_idle_instances
|
|
104
|
+
|
|
105
|
+
# Maximum number of instances that should be started to handle requests.
|
|
106
|
+
# Corresponds to the JSON property `maxTotalInstances`
|
|
107
|
+
# @return [Fixnum]
|
|
108
|
+
attr_accessor :max_total_instances
|
|
109
|
+
|
|
110
|
+
# Minimum number of instances that should be maintained for this version.
|
|
111
|
+
# Corresponds to the JSON property `minTotalInstances`
|
|
112
|
+
# @return [Fixnum]
|
|
113
|
+
attr_accessor :min_total_instances
|
|
114
|
+
|
|
233
115
|
def initialize(**args)
|
|
234
116
|
update!(**args)
|
|
235
117
|
end
|
|
236
118
|
|
|
237
119
|
# Update properties of this object
|
|
238
120
|
def update!(**args)
|
|
239
|
-
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
|
240
|
-
@max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
|
|
241
|
-
@min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
|
|
242
|
-
@max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
|
|
243
|
-
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
|
244
121
|
@network_utilization = args[:network_utilization] if args.key?(:network_utilization)
|
|
245
122
|
@max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
|
|
246
123
|
@cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
|
|
@@ -248,6 +125,11 @@ module Google
|
|
|
248
125
|
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
|
249
126
|
@disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
|
|
250
127
|
@min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency)
|
|
128
|
+
@max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
|
|
129
|
+
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
|
130
|
+
@min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances)
|
|
131
|
+
@max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances)
|
|
132
|
+
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
|
251
133
|
end
|
|
252
134
|
end
|
|
253
135
|
|
|
@@ -283,24 +165,24 @@ module Google
|
|
|
283
165
|
class Library
|
|
284
166
|
include Google::Apis::Core::Hashable
|
|
285
167
|
|
|
286
|
-
# Version of the library to select, or "latest".
|
|
287
|
-
# Corresponds to the JSON property `version`
|
|
288
|
-
# @return [String]
|
|
289
|
-
attr_accessor :version
|
|
290
|
-
|
|
291
168
|
# Name of the library. Example: "django".
|
|
292
169
|
# Corresponds to the JSON property `name`
|
|
293
170
|
# @return [String]
|
|
294
171
|
attr_accessor :name
|
|
295
172
|
|
|
173
|
+
# Version of the library to select, or "latest".
|
|
174
|
+
# Corresponds to the JSON property `version`
|
|
175
|
+
# @return [String]
|
|
176
|
+
attr_accessor :version
|
|
177
|
+
|
|
296
178
|
def initialize(**args)
|
|
297
179
|
update!(**args)
|
|
298
180
|
end
|
|
299
181
|
|
|
300
182
|
# Update properties of this object
|
|
301
183
|
def update!(**args)
|
|
302
|
-
@version = args[:version] if args.key?(:version)
|
|
303
184
|
@name = args[:name] if args.key?(:name)
|
|
185
|
+
@version = args[:version] if args.key?(:version)
|
|
304
186
|
end
|
|
305
187
|
end
|
|
306
188
|
|
|
@@ -377,37 +259,6 @@ module Google
|
|
|
377
259
|
end
|
|
378
260
|
end
|
|
379
261
|
|
|
380
|
-
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
381
|
-
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
382
|
-
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
383
|
-
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
384
|
-
# service-management/overview).
|
|
385
|
-
class EndpointsApiService
|
|
386
|
-
include Google::Apis::Core::Hashable
|
|
387
|
-
|
|
388
|
-
# Endpoints service name which is the name of the "service" resource in the
|
|
389
|
-
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
390
|
-
# Corresponds to the JSON property `name`
|
|
391
|
-
# @return [String]
|
|
392
|
-
attr_accessor :name
|
|
393
|
-
|
|
394
|
-
# Endpoints service configuration id as specified by the Service Management API.
|
|
395
|
-
# For example "2016-09-19r1"
|
|
396
|
-
# Corresponds to the JSON property `configId`
|
|
397
|
-
# @return [String]
|
|
398
|
-
attr_accessor :config_id
|
|
399
|
-
|
|
400
|
-
def initialize(**args)
|
|
401
|
-
update!(**args)
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
# Update properties of this object
|
|
405
|
-
def update!(**args)
|
|
406
|
-
@name = args[:name] if args.key?(:name)
|
|
407
|
-
@config_id = args[:config_id] if args.key?(:config_id)
|
|
408
|
-
end
|
|
409
|
-
end
|
|
410
|
-
|
|
411
262
|
# URL pattern and description of how the URL should be handled. App Engine can
|
|
412
263
|
# handle URLs by executing application code or by serving static files uploaded
|
|
413
264
|
# with the version, such as images, CSS, or JavaScript.
|
|
@@ -478,48 +329,34 @@ module Google
|
|
|
478
329
|
end
|
|
479
330
|
end
|
|
480
331
|
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
|
|
332
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
333
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
334
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
335
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
336
|
+
# service-management/overview).
|
|
337
|
+
class EndpointsApiService
|
|
484
338
|
include Google::Apis::Core::Hashable
|
|
485
339
|
|
|
486
|
-
#
|
|
487
|
-
#
|
|
340
|
+
# Endpoints service configuration id as specified by the Service Management API.
|
|
341
|
+
# For example "2016-09-19r1"
|
|
342
|
+
# Corresponds to the JSON property `configId`
|
|
488
343
|
# @return [String]
|
|
489
|
-
attr_accessor :
|
|
344
|
+
attr_accessor :config_id
|
|
490
345
|
|
|
491
|
-
#
|
|
492
|
-
#
|
|
346
|
+
# Endpoints service name which is the name of the "service" resource in the
|
|
347
|
+
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
348
|
+
# Corresponds to the JSON property `name`
|
|
493
349
|
# @return [String]
|
|
494
|
-
attr_accessor :
|
|
350
|
+
attr_accessor :name
|
|
495
351
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
attr_accessor :security_level
|
|
500
|
-
|
|
501
|
-
# Action to take when users access resources that require authentication.
|
|
502
|
-
# Defaults to redirect.
|
|
503
|
-
# Corresponds to the JSON property `authFailAction`
|
|
504
|
-
# @return [String]
|
|
505
|
-
attr_accessor :auth_fail_action
|
|
506
|
-
|
|
507
|
-
# Path to the script from the application root directory.
|
|
508
|
-
# Corresponds to the JSON property `script`
|
|
509
|
-
# @return [String]
|
|
510
|
-
attr_accessor :script
|
|
511
|
-
|
|
512
|
-
def initialize(**args)
|
|
513
|
-
update!(**args)
|
|
514
|
-
end
|
|
352
|
+
def initialize(**args)
|
|
353
|
+
update!(**args)
|
|
354
|
+
end
|
|
515
355
|
|
|
516
356
|
# Update properties of this object
|
|
517
357
|
def update!(**args)
|
|
518
|
-
@
|
|
519
|
-
@
|
|
520
|
-
@security_level = args[:security_level] if args.key?(:security_level)
|
|
521
|
-
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
|
522
|
-
@script = args[:script] if args.key?(:script)
|
|
358
|
+
@config_id = args[:config_id] if args.key?(:config_id)
|
|
359
|
+
@name = args[:name] if args.key?(:name)
|
|
523
360
|
end
|
|
524
361
|
end
|
|
525
362
|
|
|
@@ -528,6 +365,24 @@ module Google
|
|
|
528
365
|
class Operation
|
|
529
366
|
include Google::Apis::Core::Hashable
|
|
530
367
|
|
|
368
|
+
# The normal response of the operation in case of success. If the original
|
|
369
|
+
# method returns no data on success, such as Delete, the response is google.
|
|
370
|
+
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
|
371
|
+
# response should be the resource. For other methods, the response should have
|
|
372
|
+
# the type XxxResponse, where Xxx is the original method name. For example, if
|
|
373
|
+
# the original method name is TakeSnapshot(), the inferred response type is
|
|
374
|
+
# TakeSnapshotResponse.
|
|
375
|
+
# Corresponds to the JSON property `response`
|
|
376
|
+
# @return [Hash<String,Object>]
|
|
377
|
+
attr_accessor :response
|
|
378
|
+
|
|
379
|
+
# The server-assigned name, which is only unique within the same service that
|
|
380
|
+
# originally returns it. If you use the default HTTP mapping, the name should
|
|
381
|
+
# have the format of operations/some/unique/name.
|
|
382
|
+
# Corresponds to the JSON property `name`
|
|
383
|
+
# @return [String]
|
|
384
|
+
attr_accessor :name
|
|
385
|
+
|
|
531
386
|
# The Status type defines a logical error model that is suitable for different
|
|
532
387
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
|
533
388
|
# (https://github.com/grpc). The error model is designed to be:
|
|
@@ -581,35 +436,62 @@ module Google
|
|
|
581
436
|
attr_accessor :done
|
|
582
437
|
alias_method :done?, :done
|
|
583
438
|
|
|
584
|
-
# The normal response of the operation in case of success. If the original
|
|
585
|
-
# method returns no data on success, such as Delete, the response is google.
|
|
586
|
-
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
|
587
|
-
# response should be the resource. For other methods, the response should have
|
|
588
|
-
# the type XxxResponse, where Xxx is the original method name. For example, if
|
|
589
|
-
# the original method name is TakeSnapshot(), the inferred response type is
|
|
590
|
-
# TakeSnapshotResponse.
|
|
591
|
-
# Corresponds to the JSON property `response`
|
|
592
|
-
# @return [Hash<String,Object>]
|
|
593
|
-
attr_accessor :response
|
|
594
|
-
|
|
595
|
-
# The server-assigned name, which is only unique within the same service that
|
|
596
|
-
# originally returns it. If you use the default HTTP mapping, the name should
|
|
597
|
-
# have the format of operations/some/unique/name.
|
|
598
|
-
# Corresponds to the JSON property `name`
|
|
599
|
-
# @return [String]
|
|
600
|
-
attr_accessor :name
|
|
601
|
-
|
|
602
439
|
def initialize(**args)
|
|
603
440
|
update!(**args)
|
|
604
441
|
end
|
|
605
442
|
|
|
606
443
|
# Update properties of this object
|
|
607
444
|
def update!(**args)
|
|
445
|
+
@response = args[:response] if args.key?(:response)
|
|
446
|
+
@name = args[:name] if args.key?(:name)
|
|
608
447
|
@error = args[:error] if args.key?(:error)
|
|
609
448
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
610
449
|
@done = args[:done] if args.key?(:done)
|
|
611
|
-
|
|
612
|
-
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
|
454
|
+
# endpoints/) configuration for API handlers.
|
|
455
|
+
class ApiConfigHandler
|
|
456
|
+
include Google::Apis::Core::Hashable
|
|
457
|
+
|
|
458
|
+
# URL to serve the endpoint at.
|
|
459
|
+
# Corresponds to the JSON property `url`
|
|
460
|
+
# @return [String]
|
|
461
|
+
attr_accessor :url
|
|
462
|
+
|
|
463
|
+
# Security (HTTPS) enforcement for this URL.
|
|
464
|
+
# Corresponds to the JSON property `securityLevel`
|
|
465
|
+
# @return [String]
|
|
466
|
+
attr_accessor :security_level
|
|
467
|
+
|
|
468
|
+
# Action to take when users access resources that require authentication.
|
|
469
|
+
# Defaults to redirect.
|
|
470
|
+
# Corresponds to the JSON property `authFailAction`
|
|
471
|
+
# @return [String]
|
|
472
|
+
attr_accessor :auth_fail_action
|
|
473
|
+
|
|
474
|
+
# Path to the script from the application root directory.
|
|
475
|
+
# Corresponds to the JSON property `script`
|
|
476
|
+
# @return [String]
|
|
477
|
+
attr_accessor :script
|
|
478
|
+
|
|
479
|
+
# Level of login required to access this resource. Defaults to optional.
|
|
480
|
+
# Corresponds to the JSON property `login`
|
|
481
|
+
# @return [String]
|
|
482
|
+
attr_accessor :login
|
|
483
|
+
|
|
484
|
+
def initialize(**args)
|
|
485
|
+
update!(**args)
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
# Update properties of this object
|
|
489
|
+
def update!(**args)
|
|
490
|
+
@url = args[:url] if args.key?(:url)
|
|
491
|
+
@security_level = args[:security_level] if args.key?(:security_level)
|
|
492
|
+
@auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action)
|
|
493
|
+
@script = args[:script] if args.key?(:script)
|
|
494
|
+
@login = args[:login] if args.key?(:login)
|
|
613
495
|
end
|
|
614
496
|
end
|
|
615
497
|
|
|
@@ -619,11 +501,6 @@ module Google
|
|
|
619
501
|
class StaticFilesHandler
|
|
620
502
|
include Google::Apis::Core::Hashable
|
|
621
503
|
|
|
622
|
-
# HTTP headers to use for all responses from these URLs.
|
|
623
|
-
# Corresponds to the JSON property `httpHeaders`
|
|
624
|
-
# @return [Hash<String,String>]
|
|
625
|
-
attr_accessor :http_headers
|
|
626
|
-
|
|
627
504
|
# Whether files should also be uploaded as code data. By default, files declared
|
|
628
505
|
# in static file handlers are uploaded as static data and are only served to end
|
|
629
506
|
# users; they cannot be read by the application. If enabled, uploads are charged
|
|
@@ -633,6 +510,11 @@ module Google
|
|
|
633
510
|
attr_accessor :application_readable
|
|
634
511
|
alias_method :application_readable?, :application_readable
|
|
635
512
|
|
|
513
|
+
# HTTP headers to use for all responses from these URLs.
|
|
514
|
+
# Corresponds to the JSON property `httpHeaders`
|
|
515
|
+
# @return [Hash<String,String>]
|
|
516
|
+
attr_accessor :http_headers
|
|
517
|
+
|
|
636
518
|
# Regular expression that matches the file paths for all files that should be
|
|
637
519
|
# referenced by this handler.
|
|
638
520
|
# Corresponds to the JSON property `uploadPathRegex`
|
|
@@ -670,8 +552,8 @@ module Google
|
|
|
670
552
|
|
|
671
553
|
# Update properties of this object
|
|
672
554
|
def update!(**args)
|
|
673
|
-
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
|
674
555
|
@application_readable = args[:application_readable] if args.key?(:application_readable)
|
|
556
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
|
675
557
|
@upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex)
|
|
676
558
|
@path = args[:path] if args.key?(:path)
|
|
677
559
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
@@ -680,29 +562,23 @@ module Google
|
|
|
680
562
|
end
|
|
681
563
|
end
|
|
682
564
|
|
|
683
|
-
#
|
|
684
|
-
|
|
565
|
+
# A service with basic scaling will create an instance when the application
|
|
566
|
+
# receives a request. The instance will be turned down when the app becomes idle.
|
|
567
|
+
# Basic scaling is ideal for work that is intermittent or driven by user
|
|
568
|
+
# activity.
|
|
569
|
+
class BasicScaling
|
|
685
570
|
include Google::Apis::Core::Hashable
|
|
686
571
|
|
|
687
|
-
#
|
|
688
|
-
# Corresponds to the JSON property `
|
|
689
|
-
# @return [Fixnum]
|
|
690
|
-
attr_accessor :target_write_ops_per_second
|
|
691
|
-
|
|
692
|
-
# Target bytes written per second.
|
|
693
|
-
# Corresponds to the JSON property `targetWriteBytesPerSecond`
|
|
694
|
-
# @return [Fixnum]
|
|
695
|
-
attr_accessor :target_write_bytes_per_second
|
|
696
|
-
|
|
697
|
-
# Target bytes read per second.
|
|
698
|
-
# Corresponds to the JSON property `targetReadBytesPerSecond`
|
|
572
|
+
# Maximum number of instances to create for this version.
|
|
573
|
+
# Corresponds to the JSON property `maxInstances`
|
|
699
574
|
# @return [Fixnum]
|
|
700
|
-
attr_accessor :
|
|
575
|
+
attr_accessor :max_instances
|
|
701
576
|
|
|
702
|
-
#
|
|
703
|
-
#
|
|
704
|
-
#
|
|
705
|
-
|
|
577
|
+
# Duration of time after the last request that an instance must wait before the
|
|
578
|
+
# instance is shut down.
|
|
579
|
+
# Corresponds to the JSON property `idleTimeout`
|
|
580
|
+
# @return [String]
|
|
581
|
+
attr_accessor :idle_timeout
|
|
706
582
|
|
|
707
583
|
def initialize(**args)
|
|
708
584
|
update!(**args)
|
|
@@ -710,30 +586,34 @@ module Google
|
|
|
710
586
|
|
|
711
587
|
# Update properties of this object
|
|
712
588
|
def update!(**args)
|
|
713
|
-
@
|
|
714
|
-
@
|
|
715
|
-
@target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second)
|
|
716
|
-
@target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second)
|
|
589
|
+
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
|
590
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
|
717
591
|
end
|
|
718
592
|
end
|
|
719
593
|
|
|
720
|
-
#
|
|
721
|
-
|
|
722
|
-
# Basic scaling is ideal for work that is intermittent or driven by user
|
|
723
|
-
# activity.
|
|
724
|
-
class BasicScaling
|
|
594
|
+
# Target scaling by disk usage. Only applicable for VM runtimes.
|
|
595
|
+
class DiskUtilization
|
|
725
596
|
include Google::Apis::Core::Hashable
|
|
726
597
|
|
|
727
|
-
#
|
|
728
|
-
#
|
|
729
|
-
#
|
|
730
|
-
|
|
731
|
-
attr_accessor :idle_timeout
|
|
598
|
+
# Target ops read per seconds.
|
|
599
|
+
# Corresponds to the JSON property `targetReadOpsPerSecond`
|
|
600
|
+
# @return [Fixnum]
|
|
601
|
+
attr_accessor :target_read_ops_per_second
|
|
732
602
|
|
|
733
|
-
#
|
|
734
|
-
# Corresponds to the JSON property `
|
|
603
|
+
# Target bytes read per second.
|
|
604
|
+
# Corresponds to the JSON property `targetReadBytesPerSecond`
|
|
735
605
|
# @return [Fixnum]
|
|
736
|
-
attr_accessor :
|
|
606
|
+
attr_accessor :target_read_bytes_per_second
|
|
607
|
+
|
|
608
|
+
# Target ops written per second.
|
|
609
|
+
# Corresponds to the JSON property `targetWriteOpsPerSecond`
|
|
610
|
+
# @return [Fixnum]
|
|
611
|
+
attr_accessor :target_write_ops_per_second
|
|
612
|
+
|
|
613
|
+
# Target bytes written per second.
|
|
614
|
+
# Corresponds to the JSON property `targetWriteBytesPerSecond`
|
|
615
|
+
# @return [Fixnum]
|
|
616
|
+
attr_accessor :target_write_bytes_per_second
|
|
737
617
|
|
|
738
618
|
def initialize(**args)
|
|
739
619
|
update!(**args)
|
|
@@ -741,8 +621,10 @@ module Google
|
|
|
741
621
|
|
|
742
622
|
# Update properties of this object
|
|
743
623
|
def update!(**args)
|
|
744
|
-
@
|
|
745
|
-
@
|
|
624
|
+
@target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second)
|
|
625
|
+
@target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second)
|
|
626
|
+
@target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second)
|
|
627
|
+
@target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second)
|
|
746
628
|
end
|
|
747
629
|
end
|
|
748
630
|
|
|
@@ -771,48 +653,6 @@ module Google
|
|
|
771
653
|
end
|
|
772
654
|
end
|
|
773
655
|
|
|
774
|
-
# Identity-Aware Proxy
|
|
775
|
-
class IdentityAwareProxy
|
|
776
|
-
include Google::Apis::Core::Hashable
|
|
777
|
-
|
|
778
|
-
# Whether the serving infrastructure will authenticate and authorize all
|
|
779
|
-
# incoming requests.If true, the oauth2_client_id and oauth2_client_secret
|
|
780
|
-
# fields must be non-empty.
|
|
781
|
-
# Corresponds to the JSON property `enabled`
|
|
782
|
-
# @return [Boolean]
|
|
783
|
-
attr_accessor :enabled
|
|
784
|
-
alias_method :enabled?, :enabled
|
|
785
|
-
|
|
786
|
-
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
|
787
|
-
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
|
788
|
-
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
|
789
|
-
# Corresponds to the JSON property `oauth2ClientSecret`
|
|
790
|
-
# @return [String]
|
|
791
|
-
attr_accessor :oauth2_client_secret
|
|
792
|
-
|
|
793
|
-
# OAuth2 client ID to use for the authentication flow.
|
|
794
|
-
# Corresponds to the JSON property `oauth2ClientId`
|
|
795
|
-
# @return [String]
|
|
796
|
-
attr_accessor :oauth2_client_id
|
|
797
|
-
|
|
798
|
-
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
|
799
|
-
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
|
800
|
-
# @return [String]
|
|
801
|
-
attr_accessor :oauth2_client_secret_sha256
|
|
802
|
-
|
|
803
|
-
def initialize(**args)
|
|
804
|
-
update!(**args)
|
|
805
|
-
end
|
|
806
|
-
|
|
807
|
-
# Update properties of this object
|
|
808
|
-
def update!(**args)
|
|
809
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
|
810
|
-
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
|
811
|
-
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
|
812
|
-
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
|
813
|
-
end
|
|
814
|
-
end
|
|
815
|
-
|
|
816
656
|
# The Status type defines a logical error model that is suitable for different
|
|
817
657
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
|
818
658
|
# (https://github.com/grpc). The error model is designed to be:
|
|
@@ -880,21 +720,63 @@ module Google
|
|
|
880
720
|
end
|
|
881
721
|
end
|
|
882
722
|
|
|
883
|
-
#
|
|
884
|
-
|
|
885
|
-
class ManualScaling
|
|
723
|
+
# Identity-Aware Proxy
|
|
724
|
+
class IdentityAwareProxy
|
|
886
725
|
include Google::Apis::Core::Hashable
|
|
887
726
|
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
# Corresponds to the JSON property `
|
|
892
|
-
# @return [
|
|
893
|
-
attr_accessor :
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
727
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
|
728
|
+
# incoming requests.If true, the oauth2_client_id and oauth2_client_secret
|
|
729
|
+
# fields must be non-empty.
|
|
730
|
+
# Corresponds to the JSON property `enabled`
|
|
731
|
+
# @return [Boolean]
|
|
732
|
+
attr_accessor :enabled
|
|
733
|
+
alias_method :enabled?, :enabled
|
|
734
|
+
|
|
735
|
+
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
|
736
|
+
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
|
737
|
+
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
|
738
|
+
# Corresponds to the JSON property `oauth2ClientSecret`
|
|
739
|
+
# @return [String]
|
|
740
|
+
attr_accessor :oauth2_client_secret
|
|
741
|
+
|
|
742
|
+
# OAuth2 client ID to use for the authentication flow.
|
|
743
|
+
# Corresponds to the JSON property `oauth2ClientId`
|
|
744
|
+
# @return [String]
|
|
745
|
+
attr_accessor :oauth2_client_id
|
|
746
|
+
|
|
747
|
+
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
|
748
|
+
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
|
749
|
+
# @return [String]
|
|
750
|
+
attr_accessor :oauth2_client_secret_sha256
|
|
751
|
+
|
|
752
|
+
def initialize(**args)
|
|
753
|
+
update!(**args)
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# Update properties of this object
|
|
757
|
+
def update!(**args)
|
|
758
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
759
|
+
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
|
760
|
+
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
|
761
|
+
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
|
762
|
+
end
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
# A service with manual scaling runs continuously, allowing you to perform
|
|
766
|
+
# complex initialization and rely on the state of its memory over time.
|
|
767
|
+
class ManualScaling
|
|
768
|
+
include Google::Apis::Core::Hashable
|
|
769
|
+
|
|
770
|
+
# Number of instances to assign to the service at the start. This number can
|
|
771
|
+
# later be altered by using the Modules API (https://cloud.google.com/appengine/
|
|
772
|
+
# docs/python/modules/functions) set_num_instances() function.
|
|
773
|
+
# Corresponds to the JSON property `instances`
|
|
774
|
+
# @return [Fixnum]
|
|
775
|
+
attr_accessor :instances
|
|
776
|
+
|
|
777
|
+
def initialize(**args)
|
|
778
|
+
update!(**args)
|
|
779
|
+
end
|
|
898
780
|
|
|
899
781
|
# Update properties of this object
|
|
900
782
|
def update!(**args)
|
|
@@ -906,26 +788,26 @@ module Google
|
|
|
906
788
|
class LocationMetadata
|
|
907
789
|
include Google::Apis::Core::Hashable
|
|
908
790
|
|
|
909
|
-
# App Engine Standard Environment is available in the given location.@OutputOnly
|
|
910
|
-
# Corresponds to the JSON property `standardEnvironmentAvailable`
|
|
911
|
-
# @return [Boolean]
|
|
912
|
-
attr_accessor :standard_environment_available
|
|
913
|
-
alias_method :standard_environment_available?, :standard_environment_available
|
|
914
|
-
|
|
915
791
|
# App Engine Flexible Environment is available in the given location.@OutputOnly
|
|
916
792
|
# Corresponds to the JSON property `flexibleEnvironmentAvailable`
|
|
917
793
|
# @return [Boolean]
|
|
918
794
|
attr_accessor :flexible_environment_available
|
|
919
795
|
alias_method :flexible_environment_available?, :flexible_environment_available
|
|
920
796
|
|
|
797
|
+
# App Engine Standard Environment is available in the given location.@OutputOnly
|
|
798
|
+
# Corresponds to the JSON property `standardEnvironmentAvailable`
|
|
799
|
+
# @return [Boolean]
|
|
800
|
+
attr_accessor :standard_environment_available
|
|
801
|
+
alias_method :standard_environment_available?, :standard_environment_available
|
|
802
|
+
|
|
921
803
|
def initialize(**args)
|
|
922
804
|
update!(**args)
|
|
923
805
|
end
|
|
924
806
|
|
|
925
807
|
# Update properties of this object
|
|
926
808
|
def update!(**args)
|
|
927
|
-
@standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
|
|
928
809
|
@flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
|
|
810
|
+
@standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
|
|
929
811
|
end
|
|
930
812
|
end
|
|
931
813
|
|
|
@@ -938,6 +820,12 @@ module Google
|
|
|
938
820
|
class Service
|
|
939
821
|
include Google::Apis::Core::Hashable
|
|
940
822
|
|
|
823
|
+
# Traffic routing configuration for versions within a single service. Traffic
|
|
824
|
+
# splits define how traffic directed to the service is assigned to versions.
|
|
825
|
+
# Corresponds to the JSON property `split`
|
|
826
|
+
# @return [Google::Apis::AppengineV1::TrafficSplit]
|
|
827
|
+
attr_accessor :split
|
|
828
|
+
|
|
941
829
|
# Relative name of the service within the application. Example: default.@
|
|
942
830
|
# OutputOnly
|
|
943
831
|
# Corresponds to the JSON property `id`
|
|
@@ -950,21 +838,15 @@ module Google
|
|
|
950
838
|
# @return [String]
|
|
951
839
|
attr_accessor :name
|
|
952
840
|
|
|
953
|
-
# Traffic routing configuration for versions within a single service. Traffic
|
|
954
|
-
# splits define how traffic directed to the service is assigned to versions.
|
|
955
|
-
# Corresponds to the JSON property `split`
|
|
956
|
-
# @return [Google::Apis::AppengineV1::TrafficSplit]
|
|
957
|
-
attr_accessor :split
|
|
958
|
-
|
|
959
841
|
def initialize(**args)
|
|
960
842
|
update!(**args)
|
|
961
843
|
end
|
|
962
844
|
|
|
963
845
|
# Update properties of this object
|
|
964
846
|
def update!(**args)
|
|
847
|
+
@split = args[:split] if args.key?(:split)
|
|
965
848
|
@id = args[:id] if args.key?(:id)
|
|
966
849
|
@name = args[:name] if args.key?(:name)
|
|
967
|
-
@split = args[:split] if args.key?(:split)
|
|
968
850
|
end
|
|
969
851
|
end
|
|
970
852
|
|
|
@@ -972,24 +854,24 @@ module Google
|
|
|
972
854
|
class ListOperationsResponse
|
|
973
855
|
include Google::Apis::Core::Hashable
|
|
974
856
|
|
|
975
|
-
# A list of operations that matches the specified filter in the request.
|
|
976
|
-
# Corresponds to the JSON property `operations`
|
|
977
|
-
# @return [Array<Google::Apis::AppengineV1::Operation>]
|
|
978
|
-
attr_accessor :operations
|
|
979
|
-
|
|
980
857
|
# The standard List next-page token.
|
|
981
858
|
# Corresponds to the JSON property `nextPageToken`
|
|
982
859
|
# @return [String]
|
|
983
860
|
attr_accessor :next_page_token
|
|
984
861
|
|
|
862
|
+
# A list of operations that matches the specified filter in the request.
|
|
863
|
+
# Corresponds to the JSON property `operations`
|
|
864
|
+
# @return [Array<Google::Apis::AppengineV1::Operation>]
|
|
865
|
+
attr_accessor :operations
|
|
866
|
+
|
|
985
867
|
def initialize(**args)
|
|
986
868
|
update!(**args)
|
|
987
869
|
end
|
|
988
870
|
|
|
989
871
|
# Update properties of this object
|
|
990
872
|
def update!(**args)
|
|
991
|
-
@operations = args[:operations] if args.key?(:operations)
|
|
992
873
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
874
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
993
875
|
end
|
|
994
876
|
end
|
|
995
877
|
|
|
@@ -997,11 +879,6 @@ module Google
|
|
|
997
879
|
class OperationMetadata
|
|
998
880
|
include Google::Apis::Core::Hashable
|
|
999
881
|
|
|
1000
|
-
# Timestamp that this operation was created.@OutputOnly
|
|
1001
|
-
# Corresponds to the JSON property `insertTime`
|
|
1002
|
-
# @return [String]
|
|
1003
|
-
attr_accessor :insert_time
|
|
1004
|
-
|
|
1005
882
|
# User who requested this operation.@OutputOnly
|
|
1006
883
|
# Corresponds to the JSON property `user`
|
|
1007
884
|
# @return [String]
|
|
@@ -1030,18 +907,23 @@ module Google
|
|
|
1030
907
|
# @return [String]
|
|
1031
908
|
attr_accessor :operation_type
|
|
1032
909
|
|
|
910
|
+
# Timestamp that this operation was created.@OutputOnly
|
|
911
|
+
# Corresponds to the JSON property `insertTime`
|
|
912
|
+
# @return [String]
|
|
913
|
+
attr_accessor :insert_time
|
|
914
|
+
|
|
1033
915
|
def initialize(**args)
|
|
1034
916
|
update!(**args)
|
|
1035
917
|
end
|
|
1036
918
|
|
|
1037
919
|
# Update properties of this object
|
|
1038
920
|
def update!(**args)
|
|
1039
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1040
921
|
@user = args[:user] if args.key?(:user)
|
|
1041
922
|
@target = args[:target] if args.key?(:target)
|
|
1042
923
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1043
924
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1044
925
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
926
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1045
927
|
end
|
|
1046
928
|
end
|
|
1047
929
|
|
|
@@ -1049,6 +931,17 @@ module Google
|
|
|
1049
931
|
class OperationMetadataV1
|
|
1050
932
|
include Google::Apis::Core::Hashable
|
|
1051
933
|
|
|
934
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
935
|
+
# services/default.@OutputOnly
|
|
936
|
+
# Corresponds to the JSON property `target`
|
|
937
|
+
# @return [String]
|
|
938
|
+
attr_accessor :target
|
|
939
|
+
|
|
940
|
+
# User who requested this operation.@OutputOnly
|
|
941
|
+
# Corresponds to the JSON property `user`
|
|
942
|
+
# @return [String]
|
|
943
|
+
attr_accessor :user
|
|
944
|
+
|
|
1052
945
|
# Ephemeral message that may change every time the operation is polled. @
|
|
1053
946
|
# OutputOnly
|
|
1054
947
|
# Corresponds to the JSON property `ephemeralMessage`
|
|
@@ -1066,26 +959,15 @@ module Google
|
|
|
1066
959
|
# @return [String]
|
|
1067
960
|
attr_accessor :end_time
|
|
1068
961
|
|
|
1069
|
-
# Durable messages that persist on every operation poll. @OutputOnly
|
|
1070
|
-
# Corresponds to the JSON property `warning`
|
|
1071
|
-
# @return [Array<String>]
|
|
1072
|
-
attr_accessor :warning
|
|
1073
|
-
|
|
1074
962
|
# Time that this operation was created.@OutputOnly
|
|
1075
963
|
# Corresponds to the JSON property `insertTime`
|
|
1076
964
|
# @return [String]
|
|
1077
965
|
attr_accessor :insert_time
|
|
1078
966
|
|
|
1079
|
-
#
|
|
1080
|
-
# Corresponds to the JSON property `
|
|
1081
|
-
# @return [String]
|
|
1082
|
-
attr_accessor :
|
|
1083
|
-
|
|
1084
|
-
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1085
|
-
# services/default.@OutputOnly
|
|
1086
|
-
# Corresponds to the JSON property `target`
|
|
1087
|
-
# @return [String]
|
|
1088
|
-
attr_accessor :target
|
|
967
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
|
968
|
+
# Corresponds to the JSON property `warning`
|
|
969
|
+
# @return [Array<String>]
|
|
970
|
+
attr_accessor :warning
|
|
1089
971
|
|
|
1090
972
|
def initialize(**args)
|
|
1091
973
|
update!(**args)
|
|
@@ -1093,13 +975,13 @@ module Google
|
|
|
1093
975
|
|
|
1094
976
|
# Update properties of this object
|
|
1095
977
|
def update!(**args)
|
|
978
|
+
@target = args[:target] if args.key?(:target)
|
|
979
|
+
@user = args[:user] if args.key?(:user)
|
|
1096
980
|
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
1097
981
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1098
982
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1099
|
-
@warning = args[:warning] if args.key?(:warning)
|
|
1100
983
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1101
|
-
@
|
|
1102
|
-
@target = args[:target] if args.key?(:target)
|
|
984
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
1103
985
|
end
|
|
1104
986
|
end
|
|
1105
987
|
|
|
@@ -1107,16 +989,16 @@ module Google
|
|
|
1107
989
|
class ErrorHandler
|
|
1108
990
|
include Google::Apis::Core::Hashable
|
|
1109
991
|
|
|
1110
|
-
# Error condition this handler applies to.
|
|
1111
|
-
# Corresponds to the JSON property `errorCode`
|
|
1112
|
-
# @return [String]
|
|
1113
|
-
attr_accessor :error_code
|
|
1114
|
-
|
|
1115
992
|
# MIME type of file. Defaults to text/html.
|
|
1116
993
|
# Corresponds to the JSON property `mimeType`
|
|
1117
994
|
# @return [String]
|
|
1118
995
|
attr_accessor :mime_type
|
|
1119
996
|
|
|
997
|
+
# Error condition this handler applies to.
|
|
998
|
+
# Corresponds to the JSON property `errorCode`
|
|
999
|
+
# @return [String]
|
|
1000
|
+
attr_accessor :error_code
|
|
1001
|
+
|
|
1120
1002
|
# Static file content to be served for this error.
|
|
1121
1003
|
# Corresponds to the JSON property `staticFile`
|
|
1122
1004
|
# @return [String]
|
|
@@ -1128,8 +1010,8 @@ module Google
|
|
|
1128
1010
|
|
|
1129
1011
|
# Update properties of this object
|
|
1130
1012
|
def update!(**args)
|
|
1131
|
-
@error_code = args[:error_code] if args.key?(:error_code)
|
|
1132
1013
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
1014
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
|
1133
1015
|
@static_file = args[:static_file] if args.key?(:static_file)
|
|
1134
1016
|
end
|
|
1135
1017
|
end
|
|
@@ -1138,17 +1020,6 @@ module Google
|
|
|
1138
1020
|
class Network
|
|
1139
1021
|
include Google::Apis::Core::Hashable
|
|
1140
1022
|
|
|
1141
|
-
# List of ports, or port pairs, to forward from the virtual machine to the
|
|
1142
|
-
# application container.
|
|
1143
|
-
# Corresponds to the JSON property `forwardedPorts`
|
|
1144
|
-
# @return [Array<String>]
|
|
1145
|
-
attr_accessor :forwarded_ports
|
|
1146
|
-
|
|
1147
|
-
# Tag to apply to the VM instance during creation.
|
|
1148
|
-
# Corresponds to the JSON property `instanceTag`
|
|
1149
|
-
# @return [String]
|
|
1150
|
-
attr_accessor :instance_tag
|
|
1151
|
-
|
|
1152
1023
|
# Google Cloud Platform sub-network where the virtual machines are created.
|
|
1153
1024
|
# Specify the short name, not the resource path.If a subnetwork name is
|
|
1154
1025
|
# specified, a network name will also be required unless it is for the default
|
|
@@ -1167,6 +1038,17 @@ module Google
|
|
|
1167
1038
|
# @return [String]
|
|
1168
1039
|
attr_accessor :subnetwork_name
|
|
1169
1040
|
|
|
1041
|
+
# Tag to apply to the VM instance during creation.
|
|
1042
|
+
# Corresponds to the JSON property `instanceTag`
|
|
1043
|
+
# @return [String]
|
|
1044
|
+
attr_accessor :instance_tag
|
|
1045
|
+
|
|
1046
|
+
# List of ports, or port pairs, to forward from the virtual machine to the
|
|
1047
|
+
# application container.
|
|
1048
|
+
# Corresponds to the JSON property `forwardedPorts`
|
|
1049
|
+
# @return [Array<String>]
|
|
1050
|
+
attr_accessor :forwarded_ports
|
|
1051
|
+
|
|
1170
1052
|
# Google Cloud Platform network where the virtual machines are created. Specify
|
|
1171
1053
|
# the short name, not the resource path.Defaults to default.
|
|
1172
1054
|
# Corresponds to the JSON property `name`
|
|
@@ -1179,9 +1061,9 @@ module Google
|
|
|
1179
1061
|
|
|
1180
1062
|
# Update properties of this object
|
|
1181
1063
|
def update!(**args)
|
|
1182
|
-
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
|
|
1183
|
-
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
|
|
1184
1064
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
|
1065
|
+
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
|
|
1066
|
+
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
|
|
1185
1067
|
@name = args[:name] if args.key?(:name)
|
|
1186
1068
|
end
|
|
1187
1069
|
end
|
|
@@ -1191,53 +1073,17 @@ module Google
|
|
|
1191
1073
|
class Application
|
|
1192
1074
|
include Google::Apis::Core::Hashable
|
|
1193
1075
|
|
|
1194
|
-
#
|
|
1195
|
-
#
|
|
1196
|
-
# Corresponds to the JSON property `
|
|
1197
|
-
# @return [String]
|
|
1198
|
-
attr_accessor :name
|
|
1199
|
-
|
|
1200
|
-
# Identifier of the Application resource. This identifier is equivalent to the
|
|
1201
|
-
# project ID of the Google Cloud Platform project where you want to deploy your
|
|
1202
|
-
# application. Example: myapp.
|
|
1203
|
-
# Corresponds to the JSON property `id`
|
|
1204
|
-
# @return [String]
|
|
1205
|
-
attr_accessor :id
|
|
1206
|
-
|
|
1207
|
-
# Cookie expiration policy for this application.
|
|
1208
|
-
# Corresponds to the JSON property `defaultCookieExpiration`
|
|
1209
|
-
# @return [String]
|
|
1210
|
-
attr_accessor :default_cookie_expiration
|
|
1211
|
-
|
|
1212
|
-
# Location from which this application will be run. Application instances will
|
|
1213
|
-
# run out of data centers in the chosen location, which is also where all of the
|
|
1214
|
-
# application's end user content is stored.Defaults to us-central.Options are:us-
|
|
1215
|
-
# central - Central USeurope-west - Western Europeus-east1 - Eastern US
|
|
1216
|
-
# Corresponds to the JSON property `locationId`
|
|
1217
|
-
# @return [String]
|
|
1218
|
-
attr_accessor :location_id
|
|
1219
|
-
|
|
1220
|
-
# Serving status of this application.
|
|
1221
|
-
# Corresponds to the JSON property `servingStatus`
|
|
1222
|
-
# @return [String]
|
|
1223
|
-
attr_accessor :serving_status
|
|
1224
|
-
|
|
1225
|
-
# Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
|
1226
|
-
# Corresponds to the JSON property `defaultHostname`
|
|
1076
|
+
# Google Apps authentication domain that controls which users can access this
|
|
1077
|
+
# application.Defaults to open access for any Google Account.
|
|
1078
|
+
# Corresponds to the JSON property `authDomain`
|
|
1227
1079
|
# @return [String]
|
|
1228
|
-
attr_accessor :
|
|
1080
|
+
attr_accessor :auth_domain
|
|
1229
1081
|
|
|
1230
1082
|
# Identity-Aware Proxy
|
|
1231
1083
|
# Corresponds to the JSON property `iap`
|
|
1232
1084
|
# @return [Google::Apis::AppengineV1::IdentityAwareProxy]
|
|
1233
1085
|
attr_accessor :iap
|
|
1234
1086
|
|
|
1235
|
-
# Google Apps authentication domain that controls which users can access this
|
|
1236
|
-
# application.Defaults to open access for any Google Account.
|
|
1237
|
-
# Corresponds to the JSON property `authDomain`
|
|
1238
|
-
# @return [String]
|
|
1239
|
-
attr_accessor :auth_domain
|
|
1240
|
-
|
|
1241
1087
|
# Google Cloud Storage bucket that can be used for storing files associated with
|
|
1242
1088
|
# this application. This bucket is associated with the application and can be
|
|
1243
1089
|
# used by the gcloud deployment commands.@OutputOnly
|
|
@@ -1264,24 +1110,60 @@ module Google
|
|
|
1264
1110
|
# @return [String]
|
|
1265
1111
|
attr_accessor :gcr_domain
|
|
1266
1112
|
|
|
1113
|
+
# Full path to the Application resource in the API. Example: apps/myapp.@
|
|
1114
|
+
# OutputOnly
|
|
1115
|
+
# Corresponds to the JSON property `name`
|
|
1116
|
+
# @return [String]
|
|
1117
|
+
attr_accessor :name
|
|
1118
|
+
|
|
1119
|
+
# Cookie expiration policy for this application.
|
|
1120
|
+
# Corresponds to the JSON property `defaultCookieExpiration`
|
|
1121
|
+
# @return [String]
|
|
1122
|
+
attr_accessor :default_cookie_expiration
|
|
1123
|
+
|
|
1124
|
+
# Identifier of the Application resource. This identifier is equivalent to the
|
|
1125
|
+
# project ID of the Google Cloud Platform project where you want to deploy your
|
|
1126
|
+
# application. Example: myapp.
|
|
1127
|
+
# Corresponds to the JSON property `id`
|
|
1128
|
+
# @return [String]
|
|
1129
|
+
attr_accessor :id
|
|
1130
|
+
|
|
1131
|
+
# Location from which this application will be run. Application instances will
|
|
1132
|
+
# run out of data centers in the chosen location, which is also where all of the
|
|
1133
|
+
# application's end user content is stored.Defaults to us-central.Options are:us-
|
|
1134
|
+
# central - Central USeurope-west - Western Europeus-east1 - Eastern US
|
|
1135
|
+
# Corresponds to the JSON property `locationId`
|
|
1136
|
+
# @return [String]
|
|
1137
|
+
attr_accessor :location_id
|
|
1138
|
+
|
|
1139
|
+
# Serving status of this application.
|
|
1140
|
+
# Corresponds to the JSON property `servingStatus`
|
|
1141
|
+
# @return [String]
|
|
1142
|
+
attr_accessor :serving_status
|
|
1143
|
+
|
|
1144
|
+
# Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
|
1145
|
+
# Corresponds to the JSON property `defaultHostname`
|
|
1146
|
+
# @return [String]
|
|
1147
|
+
attr_accessor :default_hostname
|
|
1148
|
+
|
|
1267
1149
|
def initialize(**args)
|
|
1268
1150
|
update!(**args)
|
|
1269
1151
|
end
|
|
1270
1152
|
|
|
1271
1153
|
# Update properties of this object
|
|
1272
1154
|
def update!(**args)
|
|
1273
|
-
@name = args[:name] if args.key?(:name)
|
|
1274
|
-
@id = args[:id] if args.key?(:id)
|
|
1275
|
-
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
|
1276
|
-
@location_id = args[:location_id] if args.key?(:location_id)
|
|
1277
|
-
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
1278
|
-
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
|
1279
|
-
@iap = args[:iap] if args.key?(:iap)
|
|
1280
1155
|
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
|
1156
|
+
@iap = args[:iap] if args.key?(:iap)
|
|
1281
1157
|
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
|
1282
1158
|
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
|
1283
1159
|
@dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
|
|
1284
1160
|
@gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
|
|
1161
|
+
@name = args[:name] if args.key?(:name)
|
|
1162
|
+
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
|
1163
|
+
@id = args[:id] if args.key?(:id)
|
|
1164
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
1165
|
+
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
1166
|
+
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
|
1285
1167
|
end
|
|
1286
1168
|
end
|
|
1287
1169
|
|
|
@@ -1290,29 +1172,6 @@ module Google
|
|
|
1290
1172
|
class Instance
|
|
1291
1173
|
include Google::Apis::Core::Hashable
|
|
1292
1174
|
|
|
1293
|
-
# Virtual machine ID of this instance. Only applicable for instances in App
|
|
1294
|
-
# Engine flexible environment.@OutputOnly
|
|
1295
|
-
# Corresponds to the JSON property `vmId`
|
|
1296
|
-
# @return [String]
|
|
1297
|
-
attr_accessor :vm_id
|
|
1298
|
-
|
|
1299
|
-
# Average queries per second (QPS) over the last minute.@OutputOnly
|
|
1300
|
-
# Corresponds to the JSON property `qps`
|
|
1301
|
-
# @return [Float]
|
|
1302
|
-
attr_accessor :qps
|
|
1303
|
-
|
|
1304
|
-
# Zone where the virtual machine is located. Only applicable for instances in
|
|
1305
|
-
# App Engine flexible environment.@OutputOnly
|
|
1306
|
-
# Corresponds to the JSON property `vmZoneName`
|
|
1307
|
-
# @return [String]
|
|
1308
|
-
attr_accessor :vm_zone_name
|
|
1309
|
-
|
|
1310
|
-
# Full path to the Instance resource in the API. Example: apps/myapp/services/
|
|
1311
|
-
# default/versions/v1/instances/instance-1.@OutputOnly
|
|
1312
|
-
# Corresponds to the JSON property `name`
|
|
1313
|
-
# @return [String]
|
|
1314
|
-
attr_accessor :name
|
|
1315
|
-
|
|
1316
1175
|
# Average latency (ms) over the last minute.@OutputOnly
|
|
1317
1176
|
# Corresponds to the JSON property `averageLatency`
|
|
1318
1177
|
# @return [Fixnum]
|
|
@@ -1335,6 +1194,12 @@ module Google
|
|
|
1335
1194
|
# @return [String]
|
|
1336
1195
|
attr_accessor :id
|
|
1337
1196
|
|
|
1197
|
+
# Status of the virtual machine where this instance lives. Only applicable for
|
|
1198
|
+
# instances in App Engine flexible environment.@OutputOnly
|
|
1199
|
+
# Corresponds to the JSON property `vmStatus`
|
|
1200
|
+
# @return [String]
|
|
1201
|
+
attr_accessor :vm_status
|
|
1202
|
+
|
|
1338
1203
|
# Number of errors since this instance was started.@OutputOnly
|
|
1339
1204
|
# Corresponds to the JSON property `errors`
|
|
1340
1205
|
# @return [Fixnum]
|
|
@@ -1345,12 +1210,6 @@ module Google
|
|
|
1345
1210
|
# @return [String]
|
|
1346
1211
|
attr_accessor :availability
|
|
1347
1212
|
|
|
1348
|
-
# Status of the virtual machine where this instance lives. Only applicable for
|
|
1349
|
-
# instances in App Engine flexible environment.@OutputOnly
|
|
1350
|
-
# Corresponds to the JSON property `vmStatus`
|
|
1351
|
-
# @return [String]
|
|
1352
|
-
attr_accessor :vm_status
|
|
1353
|
-
|
|
1354
1213
|
# Time that this instance was started.@OutputOnly
|
|
1355
1214
|
# Corresponds to the JSON property `startTime`
|
|
1356
1215
|
# @return [String]
|
|
@@ -1379,28 +1238,51 @@ module Google
|
|
|
1379
1238
|
# @return [String]
|
|
1380
1239
|
attr_accessor :vm_name
|
|
1381
1240
|
|
|
1241
|
+
# Virtual machine ID of this instance. Only applicable for instances in App
|
|
1242
|
+
# Engine flexible environment.@OutputOnly
|
|
1243
|
+
# Corresponds to the JSON property `vmId`
|
|
1244
|
+
# @return [String]
|
|
1245
|
+
attr_accessor :vm_id
|
|
1246
|
+
|
|
1247
|
+
# Average queries per second (QPS) over the last minute.@OutputOnly
|
|
1248
|
+
# Corresponds to the JSON property `qps`
|
|
1249
|
+
# @return [Float]
|
|
1250
|
+
attr_accessor :qps
|
|
1251
|
+
|
|
1252
|
+
# Zone where the virtual machine is located. Only applicable for instances in
|
|
1253
|
+
# App Engine flexible environment.@OutputOnly
|
|
1254
|
+
# Corresponds to the JSON property `vmZoneName`
|
|
1255
|
+
# @return [String]
|
|
1256
|
+
attr_accessor :vm_zone_name
|
|
1257
|
+
|
|
1258
|
+
# Full path to the Instance resource in the API. Example: apps/myapp/services/
|
|
1259
|
+
# default/versions/v1/instances/instance-1.@OutputOnly
|
|
1260
|
+
# Corresponds to the JSON property `name`
|
|
1261
|
+
# @return [String]
|
|
1262
|
+
attr_accessor :name
|
|
1263
|
+
|
|
1382
1264
|
def initialize(**args)
|
|
1383
1265
|
update!(**args)
|
|
1384
1266
|
end
|
|
1385
1267
|
|
|
1386
1268
|
# Update properties of this object
|
|
1387
1269
|
def update!(**args)
|
|
1388
|
-
@vm_id = args[:vm_id] if args.key?(:vm_id)
|
|
1389
|
-
@qps = args[:qps] if args.key?(:qps)
|
|
1390
|
-
@vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
|
|
1391
|
-
@name = args[:name] if args.key?(:name)
|
|
1392
1270
|
@average_latency = args[:average_latency] if args.key?(:average_latency)
|
|
1393
1271
|
@vm_ip = args[:vm_ip] if args.key?(:vm_ip)
|
|
1394
1272
|
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
|
1395
1273
|
@id = args[:id] if args.key?(:id)
|
|
1274
|
+
@vm_status = args[:vm_status] if args.key?(:vm_status)
|
|
1396
1275
|
@errors = args[:errors] if args.key?(:errors)
|
|
1397
1276
|
@availability = args[:availability] if args.key?(:availability)
|
|
1398
|
-
@vm_status = args[:vm_status] if args.key?(:vm_status)
|
|
1399
1277
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1400
1278
|
@vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
|
|
1401
1279
|
@requests = args[:requests] if args.key?(:requests)
|
|
1402
1280
|
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
|
1403
1281
|
@vm_name = args[:vm_name] if args.key?(:vm_name)
|
|
1282
|
+
@vm_id = args[:vm_id] if args.key?(:vm_id)
|
|
1283
|
+
@qps = args[:qps] if args.key?(:qps)
|
|
1284
|
+
@vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
|
|
1285
|
+
@name = args[:name] if args.key?(:name)
|
|
1404
1286
|
end
|
|
1405
1287
|
end
|
|
1406
1288
|
|
|
@@ -1409,22 +1291,6 @@ module Google
|
|
|
1409
1291
|
class LivenessCheck
|
|
1410
1292
|
include Google::Apis::Core::Hashable
|
|
1411
1293
|
|
|
1412
|
-
# Interval between health checks.
|
|
1413
|
-
# Corresponds to the JSON property `checkInterval`
|
|
1414
|
-
# @return [String]
|
|
1415
|
-
attr_accessor :check_interval
|
|
1416
|
-
|
|
1417
|
-
# Time before the check is considered failed.
|
|
1418
|
-
# Corresponds to the JSON property `timeout`
|
|
1419
|
-
# @return [String]
|
|
1420
|
-
attr_accessor :timeout
|
|
1421
|
-
|
|
1422
|
-
# Number of consecutive failed checks required before considering the VM
|
|
1423
|
-
# unhealthy.
|
|
1424
|
-
# Corresponds to the JSON property `failureThreshold`
|
|
1425
|
-
# @return [Fixnum]
|
|
1426
|
-
attr_accessor :failure_threshold
|
|
1427
|
-
|
|
1428
1294
|
# The initial delay before starting to execute the checks.
|
|
1429
1295
|
# Corresponds to the JSON property `initialDelay`
|
|
1430
1296
|
# @return [String]
|
|
@@ -1447,19 +1313,35 @@ module Google
|
|
|
1447
1313
|
# @return [String]
|
|
1448
1314
|
attr_accessor :host
|
|
1449
1315
|
|
|
1316
|
+
# Interval between health checks.
|
|
1317
|
+
# Corresponds to the JSON property `checkInterval`
|
|
1318
|
+
# @return [String]
|
|
1319
|
+
attr_accessor :check_interval
|
|
1320
|
+
|
|
1321
|
+
# Number of consecutive failed checks required before considering the VM
|
|
1322
|
+
# unhealthy.
|
|
1323
|
+
# Corresponds to the JSON property `failureThreshold`
|
|
1324
|
+
# @return [Fixnum]
|
|
1325
|
+
attr_accessor :failure_threshold
|
|
1326
|
+
|
|
1327
|
+
# Time before the check is considered failed.
|
|
1328
|
+
# Corresponds to the JSON property `timeout`
|
|
1329
|
+
# @return [String]
|
|
1330
|
+
attr_accessor :timeout
|
|
1331
|
+
|
|
1450
1332
|
def initialize(**args)
|
|
1451
1333
|
update!(**args)
|
|
1452
1334
|
end
|
|
1453
1335
|
|
|
1454
1336
|
# Update properties of this object
|
|
1455
1337
|
def update!(**args)
|
|
1456
|
-
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1457
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1458
|
-
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
1459
1338
|
@initial_delay = args[:initial_delay] if args.key?(:initial_delay)
|
|
1460
1339
|
@path = args[:path] if args.key?(:path)
|
|
1461
1340
|
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
|
1462
1341
|
@host = args[:host] if args.key?(:host)
|
|
1342
|
+
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1343
|
+
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
1344
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1463
1345
|
end
|
|
1464
1346
|
end
|
|
1465
1347
|
|
|
@@ -1467,16 +1349,6 @@ module Google
|
|
|
1467
1349
|
class NetworkUtilization
|
|
1468
1350
|
include Google::Apis::Core::Hashable
|
|
1469
1351
|
|
|
1470
|
-
# Target packets sent per second.
|
|
1471
|
-
# Corresponds to the JSON property `targetSentPacketsPerSecond`
|
|
1472
|
-
# @return [Fixnum]
|
|
1473
|
-
attr_accessor :target_sent_packets_per_second
|
|
1474
|
-
|
|
1475
|
-
# Target bytes received per second.
|
|
1476
|
-
# Corresponds to the JSON property `targetReceivedBytesPerSecond`
|
|
1477
|
-
# @return [Fixnum]
|
|
1478
|
-
attr_accessor :target_received_bytes_per_second
|
|
1479
|
-
|
|
1480
1352
|
# Target packets received per second.
|
|
1481
1353
|
# Corresponds to the JSON property `targetReceivedPacketsPerSecond`
|
|
1482
1354
|
# @return [Fixnum]
|
|
@@ -1487,16 +1359,26 @@ module Google
|
|
|
1487
1359
|
# @return [Fixnum]
|
|
1488
1360
|
attr_accessor :target_sent_bytes_per_second
|
|
1489
1361
|
|
|
1362
|
+
# Target bytes received per second.
|
|
1363
|
+
# Corresponds to the JSON property `targetReceivedBytesPerSecond`
|
|
1364
|
+
# @return [Fixnum]
|
|
1365
|
+
attr_accessor :target_received_bytes_per_second
|
|
1366
|
+
|
|
1367
|
+
# Target packets sent per second.
|
|
1368
|
+
# Corresponds to the JSON property `targetSentPacketsPerSecond`
|
|
1369
|
+
# @return [Fixnum]
|
|
1370
|
+
attr_accessor :target_sent_packets_per_second
|
|
1371
|
+
|
|
1490
1372
|
def initialize(**args)
|
|
1491
1373
|
update!(**args)
|
|
1492
1374
|
end
|
|
1493
1375
|
|
|
1494
1376
|
# Update properties of this object
|
|
1495
1377
|
def update!(**args)
|
|
1496
|
-
@target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second)
|
|
1497
|
-
@target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second)
|
|
1498
1378
|
@target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second)
|
|
1499
1379
|
@target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second)
|
|
1380
|
+
@target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second)
|
|
1381
|
+
@target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second)
|
|
1500
1382
|
end
|
|
1501
1383
|
end
|
|
1502
1384
|
|
|
@@ -1504,6 +1386,17 @@ module Google
|
|
|
1504
1386
|
class Location
|
|
1505
1387
|
include Google::Apis::Core::Hashable
|
|
1506
1388
|
|
|
1389
|
+
# The canonical id for this location. For example: "us-east1".
|
|
1390
|
+
# Corresponds to the JSON property `locationId`
|
|
1391
|
+
# @return [String]
|
|
1392
|
+
attr_accessor :location_id
|
|
1393
|
+
|
|
1394
|
+
# Service-specific metadata. For example the available capacity at the given
|
|
1395
|
+
# location.
|
|
1396
|
+
# Corresponds to the JSON property `metadata`
|
|
1397
|
+
# @return [Hash<String,Object>]
|
|
1398
|
+
attr_accessor :metadata
|
|
1399
|
+
|
|
1507
1400
|
# Cross-service attributes for the location. For example
|
|
1508
1401
|
# `"cloud.googleapis.com/region": "us-east1"`
|
|
1509
1402
|
# Corresponds to the JSON property `labels`
|
|
@@ -1516,27 +1409,16 @@ module Google
|
|
|
1516
1409
|
# @return [String]
|
|
1517
1410
|
attr_accessor :name
|
|
1518
1411
|
|
|
1519
|
-
# The canonical id for this location. For example: "us-east1".
|
|
1520
|
-
# Corresponds to the JSON property `locationId`
|
|
1521
|
-
# @return [String]
|
|
1522
|
-
attr_accessor :location_id
|
|
1523
|
-
|
|
1524
|
-
# Service-specific metadata. For example the available capacity at the given
|
|
1525
|
-
# location.
|
|
1526
|
-
# Corresponds to the JSON property `metadata`
|
|
1527
|
-
# @return [Hash<String,Object>]
|
|
1528
|
-
attr_accessor :metadata
|
|
1529
|
-
|
|
1530
1412
|
def initialize(**args)
|
|
1531
1413
|
update!(**args)
|
|
1532
1414
|
end
|
|
1533
1415
|
|
|
1534
1416
|
# Update properties of this object
|
|
1535
1417
|
def update!(**args)
|
|
1536
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
1537
|
-
@name = args[:name] if args.key?(:name)
|
|
1538
1418
|
@location_id = args[:location_id] if args.key?(:location_id)
|
|
1539
1419
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1420
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1421
|
+
@name = args[:name] if args.key?(:name)
|
|
1540
1422
|
end
|
|
1541
1423
|
end
|
|
1542
1424
|
|
|
@@ -1546,6 +1428,11 @@ module Google
|
|
|
1546
1428
|
class HealthCheck
|
|
1547
1429
|
include Google::Apis::Core::Hashable
|
|
1548
1430
|
|
|
1431
|
+
# Time before the health check is considered failed.
|
|
1432
|
+
# Corresponds to the JSON property `timeout`
|
|
1433
|
+
# @return [String]
|
|
1434
|
+
attr_accessor :timeout
|
|
1435
|
+
|
|
1549
1436
|
# Number of consecutive failed health checks required before removing traffic.
|
|
1550
1437
|
# Corresponds to the JSON property `unhealthyThreshold`
|
|
1551
1438
|
# @return [Fixnum]
|
|
@@ -1580,24 +1467,19 @@ module Google
|
|
|
1580
1467
|
# @return [String]
|
|
1581
1468
|
attr_accessor :check_interval
|
|
1582
1469
|
|
|
1583
|
-
# Time before the health check is considered failed.
|
|
1584
|
-
# Corresponds to the JSON property `timeout`
|
|
1585
|
-
# @return [String]
|
|
1586
|
-
attr_accessor :timeout
|
|
1587
|
-
|
|
1588
1470
|
def initialize(**args)
|
|
1589
1471
|
update!(**args)
|
|
1590
1472
|
end
|
|
1591
1473
|
|
|
1592
1474
|
# Update properties of this object
|
|
1593
1475
|
def update!(**args)
|
|
1476
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1594
1477
|
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
|
1595
1478
|
@disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check)
|
|
1596
1479
|
@host = args[:host] if args.key?(:host)
|
|
1597
1480
|
@restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold)
|
|
1598
1481
|
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
|
1599
1482
|
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1600
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1601
1483
|
end
|
|
1602
1484
|
end
|
|
1603
1485
|
|
|
@@ -1611,17 +1493,17 @@ module Google
|
|
|
1611
1493
|
# @return [String]
|
|
1612
1494
|
attr_accessor :path
|
|
1613
1495
|
|
|
1496
|
+
# Number of consecutive successful checks required before receiving traffic.
|
|
1497
|
+
# Corresponds to the JSON property `successThreshold`
|
|
1498
|
+
# @return [Fixnum]
|
|
1499
|
+
attr_accessor :success_threshold
|
|
1500
|
+
|
|
1614
1501
|
# Host header to send when performing a HTTP Readiness check. Example: "myapp.
|
|
1615
1502
|
# appspot.com"
|
|
1616
1503
|
# Corresponds to the JSON property `host`
|
|
1617
1504
|
# @return [String]
|
|
1618
1505
|
attr_accessor :host
|
|
1619
1506
|
|
|
1620
|
-
# Number of consecutive successful checks required before receiving traffic.
|
|
1621
|
-
# Corresponds to the JSON property `successThreshold`
|
|
1622
|
-
# @return [Fixnum]
|
|
1623
|
-
attr_accessor :success_threshold
|
|
1624
|
-
|
|
1625
1507
|
# Interval between health checks.
|
|
1626
1508
|
# Corresponds to the JSON property `checkInterval`
|
|
1627
1509
|
# @return [String]
|
|
@@ -1644,8 +1526,8 @@ module Google
|
|
|
1644
1526
|
# Update properties of this object
|
|
1645
1527
|
def update!(**args)
|
|
1646
1528
|
@path = args[:path] if args.key?(:path)
|
|
1647
|
-
@host = args[:host] if args.key?(:host)
|
|
1648
1529
|
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
|
1530
|
+
@host = args[:host] if args.key?(:host)
|
|
1649
1531
|
@check_interval = args[:check_interval] if args.key?(:check_interval)
|
|
1650
1532
|
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
|
1651
1533
|
@timeout = args[:timeout] if args.key?(:timeout)
|
|
@@ -1679,6 +1561,12 @@ module Google
|
|
|
1679
1561
|
class OperationMetadataV1Beta5
|
|
1680
1562
|
include Google::Apis::Core::Hashable
|
|
1681
1563
|
|
|
1564
|
+
# API method name that initiated this operation. Example: google.appengine.
|
|
1565
|
+
# v1beta5.Version.CreateVersion.@OutputOnly
|
|
1566
|
+
# Corresponds to the JSON property `method`
|
|
1567
|
+
# @return [String]
|
|
1568
|
+
attr_accessor :method_prop
|
|
1569
|
+
|
|
1682
1570
|
# Timestamp that this operation was created.@OutputOnly
|
|
1683
1571
|
# Corresponds to the JSON property `insertTime`
|
|
1684
1572
|
# @return [String]
|
|
@@ -1689,22 +1577,16 @@ module Google
|
|
|
1689
1577
|
# @return [String]
|
|
1690
1578
|
attr_accessor :end_time
|
|
1691
1579
|
|
|
1692
|
-
# User who requested this operation.@OutputOnly
|
|
1693
|
-
# Corresponds to the JSON property `user`
|
|
1694
|
-
# @return [String]
|
|
1695
|
-
attr_accessor :user
|
|
1696
|
-
|
|
1697
1580
|
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
1698
1581
|
# services/default.@OutputOnly
|
|
1699
1582
|
# Corresponds to the JSON property `target`
|
|
1700
1583
|
# @return [String]
|
|
1701
1584
|
attr_accessor :target
|
|
1702
1585
|
|
|
1703
|
-
#
|
|
1704
|
-
#
|
|
1705
|
-
# Corresponds to the JSON property `method`
|
|
1586
|
+
# User who requested this operation.@OutputOnly
|
|
1587
|
+
# Corresponds to the JSON property `user`
|
|
1706
1588
|
# @return [String]
|
|
1707
|
-
attr_accessor :
|
|
1589
|
+
attr_accessor :user
|
|
1708
1590
|
|
|
1709
1591
|
def initialize(**args)
|
|
1710
1592
|
update!(**args)
|
|
@@ -1712,11 +1594,11 @@ module Google
|
|
|
1712
1594
|
|
|
1713
1595
|
# Update properties of this object
|
|
1714
1596
|
def update!(**args)
|
|
1597
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1715
1598
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1716
1599
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1717
|
-
@user = args[:user] if args.key?(:user)
|
|
1718
1600
|
@target = args[:target] if args.key?(:target)
|
|
1719
|
-
@
|
|
1601
|
+
@user = args[:user] if args.key?(:user)
|
|
1720
1602
|
end
|
|
1721
1603
|
end
|
|
1722
1604
|
|
|
@@ -1725,108 +1607,37 @@ module Google
|
|
|
1725
1607
|
class Version
|
|
1726
1608
|
include Google::Apis::Core::Hashable
|
|
1727
1609
|
|
|
1728
|
-
#
|
|
1729
|
-
#
|
|
1730
|
-
#
|
|
1731
|
-
|
|
1732
|
-
attr_accessor :manual_scaling
|
|
1610
|
+
# Machine resources for a version.
|
|
1611
|
+
# Corresponds to the JSON property `resources`
|
|
1612
|
+
# @return [Google::Apis::AppengineV1::Resources]
|
|
1613
|
+
attr_accessor :resources
|
|
1733
1614
|
|
|
1734
|
-
#
|
|
1735
|
-
#
|
|
1736
|
-
# Corresponds to the JSON property `
|
|
1615
|
+
# Before an application can receive email or XMPP messages, the application must
|
|
1616
|
+
# be configured to enable the service.
|
|
1617
|
+
# Corresponds to the JSON property `inboundServices`
|
|
1618
|
+
# @return [Array<String>]
|
|
1619
|
+
attr_accessor :inbound_services
|
|
1620
|
+
|
|
1621
|
+
# Custom static error pages. Limited to 10KB per page.Only returned in GET
|
|
1622
|
+
# requests if view=FULL is set.
|
|
1623
|
+
# Corresponds to the JSON property `errorHandlers`
|
|
1624
|
+
# @return [Array<Google::Apis::AppengineV1::ErrorHandler>]
|
|
1625
|
+
attr_accessor :error_handlers
|
|
1626
|
+
|
|
1627
|
+
# Duration that static files should be cached by web proxies and browsers. Only
|
|
1628
|
+
# applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
|
|
1629
|
+
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
|
1630
|
+
# staticfileshandler) does not specify its own expiration time.Only returned in
|
|
1631
|
+
# GET requests if view=FULL is set.
|
|
1632
|
+
# Corresponds to the JSON property `defaultExpiration`
|
|
1737
1633
|
# @return [String]
|
|
1738
|
-
attr_accessor :
|
|
1634
|
+
attr_accessor :default_expiration
|
|
1739
1635
|
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1742
|
-
# Corresponds to the JSON property `
|
|
1743
|
-
# @return [Google::Apis::AppengineV1::
|
|
1744
|
-
attr_accessor :
|
|
1745
|
-
|
|
1746
|
-
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
1747
|
-
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
1748
|
-
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
1749
|
-
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
1750
|
-
# service-management/overview).
|
|
1751
|
-
# Corresponds to the JSON property `endpointsApiService`
|
|
1752
|
-
# @return [Google::Apis::AppengineV1::EndpointsApiService]
|
|
1753
|
-
attr_accessor :endpoints_api_service
|
|
1754
|
-
|
|
1755
|
-
# Serving URL for this version. Example: "https://myversion-dot-myservice-dot-
|
|
1756
|
-
# myapp.appspot.com"@OutputOnly
|
|
1757
|
-
# Corresponds to the JSON property `versionUrl`
|
|
1758
|
-
# @return [String]
|
|
1759
|
-
attr_accessor :version_url
|
|
1760
|
-
|
|
1761
|
-
# Whether to deploy this version in a container on a virtual machine.
|
|
1762
|
-
# Corresponds to the JSON property `vm`
|
|
1763
|
-
# @return [Boolean]
|
|
1764
|
-
attr_accessor :vm
|
|
1765
|
-
alias_method :vm?, :vm
|
|
1766
|
-
|
|
1767
|
-
# Instance class that is used to run this version. Valid values are:
|
|
1768
|
-
# AutomaticScaling: F1, F2, F4, F4_1G
|
|
1769
|
-
# ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
|
|
1770
|
-
# AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
|
1771
|
-
# Corresponds to the JSON property `instanceClass`
|
|
1772
|
-
# @return [String]
|
|
1773
|
-
attr_accessor :instance_class
|
|
1774
|
-
|
|
1775
|
-
# Current serving status of this version. Only the versions with a SERVING
|
|
1776
|
-
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
|
|
1777
|
-
# invalid value. Defaults to SERVING.
|
|
1778
|
-
# Corresponds to the JSON property `servingStatus`
|
|
1779
|
-
# @return [String]
|
|
1780
|
-
attr_accessor :serving_status
|
|
1781
|
-
|
|
1782
|
-
# The version of the API in the given runtime environment. Please see the app.
|
|
1783
|
-
# yaml reference for valid values at https://cloud.google.com/appengine/docs/
|
|
1784
|
-
# standard/<language>/config/appref
|
|
1785
|
-
# Corresponds to the JSON property `runtimeApiVersion`
|
|
1786
|
-
# @return [String]
|
|
1787
|
-
attr_accessor :runtime_api_version
|
|
1788
|
-
|
|
1789
|
-
# Code and application artifacts used to deploy a version to App Engine.
|
|
1790
|
-
# Corresponds to the JSON property `deployment`
|
|
1791
|
-
# @return [Google::Apis::AppengineV1::Deployment]
|
|
1792
|
-
attr_accessor :deployment
|
|
1793
|
-
|
|
1794
|
-
# Time that this version was created.@OutputOnly
|
|
1795
|
-
# Corresponds to the JSON property `createTime`
|
|
1796
|
-
# @return [String]
|
|
1797
|
-
attr_accessor :create_time
|
|
1798
|
-
|
|
1799
|
-
# Before an application can receive email or XMPP messages, the application must
|
|
1800
|
-
# be configured to enable the service.
|
|
1801
|
-
# Corresponds to the JSON property `inboundServices`
|
|
1802
|
-
# @return [Array<String>]
|
|
1803
|
-
attr_accessor :inbound_services
|
|
1804
|
-
|
|
1805
|
-
# Machine resources for a version.
|
|
1806
|
-
# Corresponds to the JSON property `resources`
|
|
1807
|
-
# @return [Google::Apis::AppengineV1::Resources]
|
|
1808
|
-
attr_accessor :resources
|
|
1809
|
-
|
|
1810
|
-
# Custom static error pages. Limited to 10KB per page.Only returned in GET
|
|
1811
|
-
# requests if view=FULL is set.
|
|
1812
|
-
# Corresponds to the JSON property `errorHandlers`
|
|
1813
|
-
# @return [Array<Google::Apis::AppengineV1::ErrorHandler>]
|
|
1814
|
-
attr_accessor :error_handlers
|
|
1815
|
-
|
|
1816
|
-
# Duration that static files should be cached by web proxies and browsers. Only
|
|
1817
|
-
# applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
|
|
1818
|
-
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
|
1819
|
-
# staticfileshandler) does not specify its own expiration time.Only returned in
|
|
1820
|
-
# GET requests if view=FULL is set.
|
|
1821
|
-
# Corresponds to the JSON property `defaultExpiration`
|
|
1822
|
-
# @return [String]
|
|
1823
|
-
attr_accessor :default_expiration
|
|
1824
|
-
|
|
1825
|
-
# Configuration for third-party Python runtime libraries that are required by
|
|
1826
|
-
# the application.Only returned in GET requests if view=FULL is set.
|
|
1827
|
-
# Corresponds to the JSON property `libraries`
|
|
1828
|
-
# @return [Array<Google::Apis::AppengineV1::Library>]
|
|
1829
|
-
attr_accessor :libraries
|
|
1636
|
+
# Configuration for third-party Python runtime libraries that are required by
|
|
1637
|
+
# the application.Only returned in GET requests if view=FULL is set.
|
|
1638
|
+
# Corresponds to the JSON property `libraries`
|
|
1639
|
+
# @return [Array<Google::Apis::AppengineV1::Library>]
|
|
1640
|
+
attr_accessor :libraries
|
|
1830
1641
|
|
|
1831
1642
|
# Files that match this pattern will not be built into this version. Only
|
|
1832
1643
|
# applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
|
|
@@ -1925,25 +1736,85 @@ module Google
|
|
|
1925
1736
|
# @return [Google::Apis::AppengineV1::ReadinessCheck]
|
|
1926
1737
|
attr_accessor :readiness_check
|
|
1927
1738
|
|
|
1739
|
+
# A service with manual scaling runs continuously, allowing you to perform
|
|
1740
|
+
# complex initialization and rely on the state of its memory over time.
|
|
1741
|
+
# Corresponds to the JSON property `manualScaling`
|
|
1742
|
+
# @return [Google::Apis::AppengineV1::ManualScaling]
|
|
1743
|
+
attr_accessor :manual_scaling
|
|
1744
|
+
|
|
1745
|
+
# Full path to the Version resource in the API. Example: apps/myapp/services/
|
|
1746
|
+
# default/versions/v1.@OutputOnly
|
|
1747
|
+
# Corresponds to the JSON property `name`
|
|
1748
|
+
# @return [String]
|
|
1749
|
+
attr_accessor :name
|
|
1750
|
+
|
|
1751
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
|
1752
|
+
# endpoints/) configuration for API handlers.
|
|
1753
|
+
# Corresponds to the JSON property `apiConfig`
|
|
1754
|
+
# @return [Google::Apis::AppengineV1::ApiConfigHandler]
|
|
1755
|
+
attr_accessor :api_config
|
|
1756
|
+
|
|
1757
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
|
1758
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
|
1759
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
|
1760
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
|
1761
|
+
# service-management/overview).
|
|
1762
|
+
# Corresponds to the JSON property `endpointsApiService`
|
|
1763
|
+
# @return [Google::Apis::AppengineV1::EndpointsApiService]
|
|
1764
|
+
attr_accessor :endpoints_api_service
|
|
1765
|
+
|
|
1766
|
+
# Whether to deploy this version in a container on a virtual machine.
|
|
1767
|
+
# Corresponds to the JSON property `vm`
|
|
1768
|
+
# @return [Boolean]
|
|
1769
|
+
attr_accessor :vm
|
|
1770
|
+
alias_method :vm?, :vm
|
|
1771
|
+
|
|
1772
|
+
# Serving URL for this version. Example: "https://myversion-dot-myservice-dot-
|
|
1773
|
+
# myapp.appspot.com"@OutputOnly
|
|
1774
|
+
# Corresponds to the JSON property `versionUrl`
|
|
1775
|
+
# @return [String]
|
|
1776
|
+
attr_accessor :version_url
|
|
1777
|
+
|
|
1778
|
+
# Instance class that is used to run this version. Valid values are:
|
|
1779
|
+
# AutomaticScaling: F1, F2, F4, F4_1G
|
|
1780
|
+
# ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
|
|
1781
|
+
# AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
|
1782
|
+
# Corresponds to the JSON property `instanceClass`
|
|
1783
|
+
# @return [String]
|
|
1784
|
+
attr_accessor :instance_class
|
|
1785
|
+
|
|
1786
|
+
# Current serving status of this version. Only the versions with a SERVING
|
|
1787
|
+
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
|
|
1788
|
+
# invalid value. Defaults to SERVING.
|
|
1789
|
+
# Corresponds to the JSON property `servingStatus`
|
|
1790
|
+
# @return [String]
|
|
1791
|
+
attr_accessor :serving_status
|
|
1792
|
+
|
|
1793
|
+
# The version of the API in the given runtime environment. Please see the app.
|
|
1794
|
+
# yaml reference for valid values at https://cloud.google.com/appengine/docs/
|
|
1795
|
+
# standard/<language>/config/appref
|
|
1796
|
+
# Corresponds to the JSON property `runtimeApiVersion`
|
|
1797
|
+
# @return [String]
|
|
1798
|
+
attr_accessor :runtime_api_version
|
|
1799
|
+
|
|
1800
|
+
# Code and application artifacts used to deploy a version to App Engine.
|
|
1801
|
+
# Corresponds to the JSON property `deployment`
|
|
1802
|
+
# @return [Google::Apis::AppengineV1::Deployment]
|
|
1803
|
+
attr_accessor :deployment
|
|
1804
|
+
|
|
1805
|
+
# Time that this version was created.@OutputOnly
|
|
1806
|
+
# Corresponds to the JSON property `createTime`
|
|
1807
|
+
# @return [String]
|
|
1808
|
+
attr_accessor :create_time
|
|
1809
|
+
|
|
1928
1810
|
def initialize(**args)
|
|
1929
1811
|
update!(**args)
|
|
1930
1812
|
end
|
|
1931
1813
|
|
|
1932
1814
|
# Update properties of this object
|
|
1933
1815
|
def update!(**args)
|
|
1934
|
-
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
|
1935
|
-
@name = args[:name] if args.key?(:name)
|
|
1936
|
-
@api_config = args[:api_config] if args.key?(:api_config)
|
|
1937
|
-
@endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
|
|
1938
|
-
@version_url = args[:version_url] if args.key?(:version_url)
|
|
1939
|
-
@vm = args[:vm] if args.key?(:vm)
|
|
1940
|
-
@instance_class = args[:instance_class] if args.key?(:instance_class)
|
|
1941
|
-
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
1942
|
-
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
|
|
1943
|
-
@deployment = args[:deployment] if args.key?(:deployment)
|
|
1944
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1945
|
-
@inbound_services = args[:inbound_services] if args.key?(:inbound_services)
|
|
1946
1816
|
@resources = args[:resources] if args.key?(:resources)
|
|
1817
|
+
@inbound_services = args[:inbound_services] if args.key?(:inbound_services)
|
|
1947
1818
|
@error_handlers = args[:error_handlers] if args.key?(:error_handlers)
|
|
1948
1819
|
@default_expiration = args[:default_expiration] if args.key?(:default_expiration)
|
|
1949
1820
|
@libraries = args[:libraries] if args.key?(:libraries)
|
|
@@ -1963,6 +1834,17 @@ module Google
|
|
|
1963
1834
|
@health_check = args[:health_check] if args.key?(:health_check)
|
|
1964
1835
|
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
|
|
1965
1836
|
@readiness_check = args[:readiness_check] if args.key?(:readiness_check)
|
|
1837
|
+
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
|
1838
|
+
@name = args[:name] if args.key?(:name)
|
|
1839
|
+
@api_config = args[:api_config] if args.key?(:api_config)
|
|
1840
|
+
@endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
|
|
1841
|
+
@vm = args[:vm] if args.key?(:vm)
|
|
1842
|
+
@version_url = args[:version_url] if args.key?(:version_url)
|
|
1843
|
+
@instance_class = args[:instance_class] if args.key?(:instance_class)
|
|
1844
|
+
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
|
1845
|
+
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
|
|
1846
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
1847
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1966
1848
|
end
|
|
1967
1849
|
end
|
|
1968
1850
|
|
|
@@ -2003,6 +1885,12 @@ module Google
|
|
|
2003
1885
|
class FileInfo
|
|
2004
1886
|
include Google::Apis::Core::Hashable
|
|
2005
1887
|
|
|
1888
|
+
# URL source to use to fetch this file. Must be a URL to a resource in Google
|
|
1889
|
+
# Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
|
|
1890
|
+
# Corresponds to the JSON property `sourceUrl`
|
|
1891
|
+
# @return [String]
|
|
1892
|
+
attr_accessor :source_url
|
|
1893
|
+
|
|
2006
1894
|
# The SHA1 hash of the file, in hex.
|
|
2007
1895
|
# Corresponds to the JSON property `sha1Sum`
|
|
2008
1896
|
# @return [String]
|
|
@@ -2013,21 +1901,15 @@ module Google
|
|
|
2013
1901
|
# @return [String]
|
|
2014
1902
|
attr_accessor :mime_type
|
|
2015
1903
|
|
|
2016
|
-
# URL source to use to fetch this file. Must be a URL to a resource in Google
|
|
2017
|
-
# Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
|
|
2018
|
-
# Corresponds to the JSON property `sourceUrl`
|
|
2019
|
-
# @return [String]
|
|
2020
|
-
attr_accessor :source_url
|
|
2021
|
-
|
|
2022
1904
|
def initialize(**args)
|
|
2023
1905
|
update!(**args)
|
|
2024
1906
|
end
|
|
2025
1907
|
|
|
2026
1908
|
# Update properties of this object
|
|
2027
1909
|
def update!(**args)
|
|
1910
|
+
@source_url = args[:source_url] if args.key?(:source_url)
|
|
2028
1911
|
@sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum)
|
|
2029
1912
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
2030
|
-
@source_url = args[:source_url] if args.key?(:source_url)
|
|
2031
1913
|
end
|
|
2032
1914
|
end
|
|
2033
1915
|
|
|
@@ -2035,10 +1917,15 @@ module Google
|
|
|
2035
1917
|
class OperationMetadataExperimental
|
|
2036
1918
|
include Google::Apis::Core::Hashable
|
|
2037
1919
|
|
|
2038
|
-
#
|
|
2039
|
-
# Corresponds to the JSON property `
|
|
1920
|
+
# Time that this operation was created.@OutputOnly
|
|
1921
|
+
# Corresponds to the JSON property `insertTime`
|
|
2040
1922
|
# @return [String]
|
|
2041
|
-
attr_accessor :
|
|
1923
|
+
attr_accessor :insert_time
|
|
1924
|
+
|
|
1925
|
+
# Time that this operation completed.@OutputOnly
|
|
1926
|
+
# Corresponds to the JSON property `endTime`
|
|
1927
|
+
# @return [String]
|
|
1928
|
+
attr_accessor :end_time
|
|
2042
1929
|
|
|
2043
1930
|
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
2044
1931
|
# customDomains/example.com.@OutputOnly
|
|
@@ -2046,33 +1933,28 @@ module Google
|
|
|
2046
1933
|
# @return [String]
|
|
2047
1934
|
attr_accessor :target
|
|
2048
1935
|
|
|
1936
|
+
# User who requested this operation.@OutputOnly
|
|
1937
|
+
# Corresponds to the JSON property `user`
|
|
1938
|
+
# @return [String]
|
|
1939
|
+
attr_accessor :user
|
|
1940
|
+
|
|
2049
1941
|
# API method that initiated this operation. Example: google.appengine.
|
|
2050
1942
|
# experimental.CustomDomains.CreateCustomDomain.@OutputOnly
|
|
2051
1943
|
# Corresponds to the JSON property `method`
|
|
2052
1944
|
# @return [String]
|
|
2053
1945
|
attr_accessor :method_prop
|
|
2054
1946
|
|
|
2055
|
-
# Time that this operation was created.@OutputOnly
|
|
2056
|
-
# Corresponds to the JSON property `insertTime`
|
|
2057
|
-
# @return [String]
|
|
2058
|
-
attr_accessor :insert_time
|
|
2059
|
-
|
|
2060
|
-
# Time that this operation completed.@OutputOnly
|
|
2061
|
-
# Corresponds to the JSON property `endTime`
|
|
2062
|
-
# @return [String]
|
|
2063
|
-
attr_accessor :end_time
|
|
2064
|
-
|
|
2065
1947
|
def initialize(**args)
|
|
2066
1948
|
update!(**args)
|
|
2067
1949
|
end
|
|
2068
1950
|
|
|
2069
1951
|
# Update properties of this object
|
|
2070
1952
|
def update!(**args)
|
|
2071
|
-
@user = args[:user] if args.key?(:user)
|
|
2072
|
-
@target = args[:target] if args.key?(:target)
|
|
2073
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
2074
1953
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
2075
1954
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1955
|
+
@target = args[:target] if args.key?(:target)
|
|
1956
|
+
@user = args[:user] if args.key?(:user)
|
|
1957
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
2076
1958
|
end
|
|
2077
1959
|
end
|
|
2078
1960
|
|
|
@@ -2081,13 +1963,6 @@ module Google
|
|
|
2081
1963
|
class TrafficSplit
|
|
2082
1964
|
include Google::Apis::Core::Hashable
|
|
2083
1965
|
|
|
2084
|
-
# Mechanism used to determine which version a request is sent to. The traffic
|
|
2085
|
-
# selection algorithm will be stable for either type until allocations are
|
|
2086
|
-
# changed.
|
|
2087
|
-
# Corresponds to the JSON property `shardBy`
|
|
2088
|
-
# @return [String]
|
|
2089
|
-
attr_accessor :shard_by
|
|
2090
|
-
|
|
2091
1966
|
# Mapping from version IDs within the service to fractional (0.000, 1]
|
|
2092
1967
|
# allocations of traffic for that version. Each version can be specified only
|
|
2093
1968
|
# once, but some versions in the service may not have any traffic allocation.
|
|
@@ -2099,14 +1974,21 @@ module Google
|
|
|
2099
1974
|
# @return [Hash<String,Float>]
|
|
2100
1975
|
attr_accessor :allocations
|
|
2101
1976
|
|
|
1977
|
+
# Mechanism used to determine which version a request is sent to. The traffic
|
|
1978
|
+
# selection algorithm will be stable for either type until allocations are
|
|
1979
|
+
# changed.
|
|
1980
|
+
# Corresponds to the JSON property `shardBy`
|
|
1981
|
+
# @return [String]
|
|
1982
|
+
attr_accessor :shard_by
|
|
1983
|
+
|
|
2102
1984
|
def initialize(**args)
|
|
2103
1985
|
update!(**args)
|
|
2104
1986
|
end
|
|
2105
1987
|
|
|
2106
1988
|
# Update properties of this object
|
|
2107
1989
|
def update!(**args)
|
|
2108
|
-
@shard_by = args[:shard_by] if args.key?(:shard_by)
|
|
2109
1990
|
@allocations = args[:allocations] if args.key?(:allocations)
|
|
1991
|
+
@shard_by = args[:shard_by] if args.key?(:shard_by)
|
|
2110
1992
|
end
|
|
2111
1993
|
end
|
|
2112
1994
|
|
|
@@ -2172,49 +2054,50 @@ module Google
|
|
|
2172
2054
|
class ListServicesResponse
|
|
2173
2055
|
include Google::Apis::Core::Hashable
|
|
2174
2056
|
|
|
2175
|
-
# The services belonging to the requested application.
|
|
2176
|
-
# Corresponds to the JSON property `services`
|
|
2177
|
-
# @return [Array<Google::Apis::AppengineV1::Service>]
|
|
2178
|
-
attr_accessor :services
|
|
2179
|
-
|
|
2180
2057
|
# Continuation token for fetching the next page of results.
|
|
2181
2058
|
# Corresponds to the JSON property `nextPageToken`
|
|
2182
2059
|
# @return [String]
|
|
2183
2060
|
attr_accessor :next_page_token
|
|
2184
2061
|
|
|
2062
|
+
# The services belonging to the requested application.
|
|
2063
|
+
# Corresponds to the JSON property `services`
|
|
2064
|
+
# @return [Array<Google::Apis::AppengineV1::Service>]
|
|
2065
|
+
attr_accessor :services
|
|
2066
|
+
|
|
2185
2067
|
def initialize(**args)
|
|
2186
2068
|
update!(**args)
|
|
2187
2069
|
end
|
|
2188
2070
|
|
|
2189
2071
|
# Update properties of this object
|
|
2190
2072
|
def update!(**args)
|
|
2191
|
-
@services = args[:services] if args.key?(:services)
|
|
2192
2073
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2074
|
+
@services = args[:services] if args.key?(:services)
|
|
2193
2075
|
end
|
|
2194
2076
|
end
|
|
2195
2077
|
|
|
2196
|
-
#
|
|
2197
|
-
class
|
|
2078
|
+
# Machine resources for a version.
|
|
2079
|
+
class Resources
|
|
2198
2080
|
include Google::Apis::Core::Hashable
|
|
2199
2081
|
|
|
2200
|
-
#
|
|
2201
|
-
#
|
|
2202
|
-
#
|
|
2203
|
-
|
|
2204
|
-
# @return [Hash<String,Google::Apis::AppengineV1::FileInfo>]
|
|
2205
|
-
attr_accessor :files
|
|
2082
|
+
# Memory (GB) needed.
|
|
2083
|
+
# Corresponds to the JSON property `memoryGb`
|
|
2084
|
+
# @return [Float]
|
|
2085
|
+
attr_accessor :memory_gb
|
|
2206
2086
|
|
|
2207
|
-
#
|
|
2208
|
-
# Corresponds to the JSON property `
|
|
2209
|
-
# @return [
|
|
2210
|
-
attr_accessor :
|
|
2087
|
+
# Number of CPU cores needed.
|
|
2088
|
+
# Corresponds to the JSON property `cpu`
|
|
2089
|
+
# @return [Float]
|
|
2090
|
+
attr_accessor :cpu
|
|
2211
2091
|
|
|
2212
|
-
#
|
|
2213
|
-
#
|
|
2214
|
-
#
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2092
|
+
# User specified volumes.
|
|
2093
|
+
# Corresponds to the JSON property `volumes`
|
|
2094
|
+
# @return [Array<Google::Apis::AppengineV1::Volume>]
|
|
2095
|
+
attr_accessor :volumes
|
|
2096
|
+
|
|
2097
|
+
# Disk size (GB) needed.
|
|
2098
|
+
# Corresponds to the JSON property `diskGb`
|
|
2099
|
+
# @return [Float]
|
|
2100
|
+
attr_accessor :disk_gb
|
|
2218
2101
|
|
|
2219
2102
|
def initialize(**args)
|
|
2220
2103
|
update!(**args)
|
|
@@ -2222,35 +2105,35 @@ module Google
|
|
|
2222
2105
|
|
|
2223
2106
|
# Update properties of this object
|
|
2224
2107
|
def update!(**args)
|
|
2225
|
-
@
|
|
2226
|
-
@
|
|
2227
|
-
@
|
|
2108
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
|
2109
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
|
2110
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
|
2111
|
+
@disk_gb = args[:disk_gb] if args.key?(:disk_gb)
|
|
2228
2112
|
end
|
|
2229
2113
|
end
|
|
2230
2114
|
|
|
2231
|
-
#
|
|
2232
|
-
class
|
|
2115
|
+
# Code and application artifacts used to deploy a version to App Engine.
|
|
2116
|
+
class Deployment
|
|
2233
2117
|
include Google::Apis::Core::Hashable
|
|
2234
2118
|
|
|
2235
|
-
#
|
|
2236
|
-
# Corresponds to the JSON property `
|
|
2237
|
-
# @return [
|
|
2238
|
-
attr_accessor :
|
|
2239
|
-
|
|
2240
|
-
# Disk size (GB) needed.
|
|
2241
|
-
# Corresponds to the JSON property `diskGb`
|
|
2242
|
-
# @return [Float]
|
|
2243
|
-
attr_accessor :disk_gb
|
|
2119
|
+
# The zip file information for a zip deployment.
|
|
2120
|
+
# Corresponds to the JSON property `zip`
|
|
2121
|
+
# @return [Google::Apis::AppengineV1::ZipInfo]
|
|
2122
|
+
attr_accessor :zip
|
|
2244
2123
|
|
|
2245
|
-
#
|
|
2246
|
-
#
|
|
2247
|
-
#
|
|
2248
|
-
|
|
2124
|
+
# Docker image that is used to create a container and start a VM instance for
|
|
2125
|
+
# the version that you deploy. Only applicable for instances running in the App
|
|
2126
|
+
# Engine flexible environment.
|
|
2127
|
+
# Corresponds to the JSON property `container`
|
|
2128
|
+
# @return [Google::Apis::AppengineV1::ContainerInfo]
|
|
2129
|
+
attr_accessor :container
|
|
2249
2130
|
|
|
2250
|
-
#
|
|
2251
|
-
#
|
|
2252
|
-
#
|
|
2253
|
-
|
|
2131
|
+
# Manifest of the files stored in Google Cloud Storage that are included as part
|
|
2132
|
+
# of this version. All files must be readable using the credentials supplied
|
|
2133
|
+
# with this call.
|
|
2134
|
+
# Corresponds to the JSON property `files`
|
|
2135
|
+
# @return [Hash<String,Google::Apis::AppengineV1::FileInfo>]
|
|
2136
|
+
attr_accessor :files
|
|
2254
2137
|
|
|
2255
2138
|
def initialize(**args)
|
|
2256
2139
|
update!(**args)
|
|
@@ -2258,10 +2141,9 @@ module Google
|
|
|
2258
2141
|
|
|
2259
2142
|
# Update properties of this object
|
|
2260
2143
|
def update!(**args)
|
|
2261
|
-
@
|
|
2262
|
-
@
|
|
2263
|
-
@
|
|
2264
|
-
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
|
2144
|
+
@zip = args[:zip] if args.key?(:zip)
|
|
2145
|
+
@container = args[:container] if args.key?(:container)
|
|
2146
|
+
@files = args[:files] if args.key?(:files)
|
|
2265
2147
|
end
|
|
2266
2148
|
end
|
|
2267
2149
|
|
|
@@ -2269,11 +2151,6 @@ module Google
|
|
|
2269
2151
|
class Volume
|
|
2270
2152
|
include Google::Apis::Core::Hashable
|
|
2271
2153
|
|
|
2272
|
-
# Underlying volume type, e.g. 'tmpfs'.
|
|
2273
|
-
# Corresponds to the JSON property `volumeType`
|
|
2274
|
-
# @return [String]
|
|
2275
|
-
attr_accessor :volume_type
|
|
2276
|
-
|
|
2277
2154
|
# Volume size in gigabytes.
|
|
2278
2155
|
# Corresponds to the JSON property `sizeGb`
|
|
2279
2156
|
# @return [Float]
|
|
@@ -2284,15 +2161,20 @@ module Google
|
|
|
2284
2161
|
# @return [String]
|
|
2285
2162
|
attr_accessor :name
|
|
2286
2163
|
|
|
2164
|
+
# Underlying volume type, e.g. 'tmpfs'.
|
|
2165
|
+
# Corresponds to the JSON property `volumeType`
|
|
2166
|
+
# @return [String]
|
|
2167
|
+
attr_accessor :volume_type
|
|
2168
|
+
|
|
2287
2169
|
def initialize(**args)
|
|
2288
2170
|
update!(**args)
|
|
2289
2171
|
end
|
|
2290
2172
|
|
|
2291
2173
|
# Update properties of this object
|
|
2292
2174
|
def update!(**args)
|
|
2293
|
-
@volume_type = args[:volume_type] if args.key?(:volume_type)
|
|
2294
2175
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
2295
2176
|
@name = args[:name] if args.key?(:name)
|
|
2177
|
+
@volume_type = args[:volume_type] if args.key?(:volume_type)
|
|
2296
2178
|
end
|
|
2297
2179
|
end
|
|
2298
2180
|
|
|
@@ -2320,6 +2202,124 @@ module Google
|
|
|
2320
2202
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2321
2203
|
end
|
|
2322
2204
|
end
|
|
2205
|
+
|
|
2206
|
+
# Metadata for the given google.longrunning.Operation.
|
|
2207
|
+
class OperationMetadataV1Alpha
|
|
2208
|
+
include Google::Apis::Core::Hashable
|
|
2209
|
+
|
|
2210
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
|
2211
|
+
# Corresponds to the JSON property `warning`
|
|
2212
|
+
# @return [Array<String>]
|
|
2213
|
+
attr_accessor :warning
|
|
2214
|
+
|
|
2215
|
+
# Time that this operation was created.@OutputOnly
|
|
2216
|
+
# Corresponds to the JSON property `insertTime`
|
|
2217
|
+
# @return [String]
|
|
2218
|
+
attr_accessor :insert_time
|
|
2219
|
+
|
|
2220
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
|
2221
|
+
# services/default.@OutputOnly
|
|
2222
|
+
# Corresponds to the JSON property `target`
|
|
2223
|
+
# @return [String]
|
|
2224
|
+
attr_accessor :target
|
|
2225
|
+
|
|
2226
|
+
# User who requested this operation.@OutputOnly
|
|
2227
|
+
# Corresponds to the JSON property `user`
|
|
2228
|
+
# @return [String]
|
|
2229
|
+
attr_accessor :user
|
|
2230
|
+
|
|
2231
|
+
# Ephemeral message that may change every time the operation is polled. @
|
|
2232
|
+
# OutputOnly
|
|
2233
|
+
# Corresponds to the JSON property `ephemeralMessage`
|
|
2234
|
+
# @return [String]
|
|
2235
|
+
attr_accessor :ephemeral_message
|
|
2236
|
+
|
|
2237
|
+
# API method that initiated this operation. Example: google.appengine.v1alpha.
|
|
2238
|
+
# Versions.CreateVersion.@OutputOnly
|
|
2239
|
+
# Corresponds to the JSON property `method`
|
|
2240
|
+
# @return [String]
|
|
2241
|
+
attr_accessor :method_prop
|
|
2242
|
+
|
|
2243
|
+
# Time that this operation completed.@OutputOnly
|
|
2244
|
+
# Corresponds to the JSON property `endTime`
|
|
2245
|
+
# @return [String]
|
|
2246
|
+
attr_accessor :end_time
|
|
2247
|
+
|
|
2248
|
+
def initialize(**args)
|
|
2249
|
+
update!(**args)
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
# Update properties of this object
|
|
2253
|
+
def update!(**args)
|
|
2254
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
2255
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
2256
|
+
@target = args[:target] if args.key?(:target)
|
|
2257
|
+
@user = args[:user] if args.key?(:user)
|
|
2258
|
+
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
|
2259
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
2260
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2261
|
+
end
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
# Rules to match an HTTP request and dispatch that request to a service.
|
|
2265
|
+
class UrlDispatchRule
|
|
2266
|
+
include Google::Apis::Core::Hashable
|
|
2267
|
+
|
|
2268
|
+
# Pathname within the host. Must start with a "/". A single "*" can be included
|
|
2269
|
+
# at the end of the path.The sum of the lengths of the domain and path may not
|
|
2270
|
+
# exceed 100 characters.
|
|
2271
|
+
# Corresponds to the JSON property `path`
|
|
2272
|
+
# @return [String]
|
|
2273
|
+
attr_accessor :path
|
|
2274
|
+
|
|
2275
|
+
# Resource ID of a service in this application that should serve the matched
|
|
2276
|
+
# request. The service must already exist. Example: default.
|
|
2277
|
+
# Corresponds to the JSON property `service`
|
|
2278
|
+
# @return [String]
|
|
2279
|
+
attr_accessor :service
|
|
2280
|
+
|
|
2281
|
+
# Domain name to match against. The wildcard "*" is supported if specified
|
|
2282
|
+
# before a period: "*.".Defaults to matching all domains: "*".
|
|
2283
|
+
# Corresponds to the JSON property `domain`
|
|
2284
|
+
# @return [String]
|
|
2285
|
+
attr_accessor :domain
|
|
2286
|
+
|
|
2287
|
+
def initialize(**args)
|
|
2288
|
+
update!(**args)
|
|
2289
|
+
end
|
|
2290
|
+
|
|
2291
|
+
# Update properties of this object
|
|
2292
|
+
def update!(**args)
|
|
2293
|
+
@path = args[:path] if args.key?(:path)
|
|
2294
|
+
@service = args[:service] if args.key?(:service)
|
|
2295
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
2296
|
+
end
|
|
2297
|
+
end
|
|
2298
|
+
|
|
2299
|
+
# Response message for Versions.ListVersions.
|
|
2300
|
+
class ListVersionsResponse
|
|
2301
|
+
include Google::Apis::Core::Hashable
|
|
2302
|
+
|
|
2303
|
+
# Continuation token for fetching the next page of results.
|
|
2304
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2305
|
+
# @return [String]
|
|
2306
|
+
attr_accessor :next_page_token
|
|
2307
|
+
|
|
2308
|
+
# The versions belonging to the requested service.
|
|
2309
|
+
# Corresponds to the JSON property `versions`
|
|
2310
|
+
# @return [Array<Google::Apis::AppengineV1::Version>]
|
|
2311
|
+
attr_accessor :versions
|
|
2312
|
+
|
|
2313
|
+
def initialize(**args)
|
|
2314
|
+
update!(**args)
|
|
2315
|
+
end
|
|
2316
|
+
|
|
2317
|
+
# Update properties of this object
|
|
2318
|
+
def update!(**args)
|
|
2319
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2320
|
+
@versions = args[:versions] if args.key?(:versions)
|
|
2321
|
+
end
|
|
2322
|
+
end
|
|
2323
2323
|
end
|
|
2324
2324
|
end
|
|
2325
2325
|
end
|