google-api-client 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/api_names.yaml +55 -117
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1/service.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +371 -1
- data/generated/google/apis/analytics_v3/representations.rb +135 -0
- data/generated/google/apis/analytics_v3/service.rb +218 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
- data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
- data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
- data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -2
- data/generated/google/apis/bigquery_v2/representations.rb +6 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/classroom_v1/classes.rb +176 -37
- data/generated/google/apis/classroom_v1/representations.rb +73 -9
- data/generated/google/apis/classroom_v1/service.rb +392 -37
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +599 -77
- data/generated/google/apis/compute_beta/representations.rb +240 -0
- data/generated/google/apis/compute_beta/service.rb +1999 -710
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +140 -58
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +462 -521
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +689 -1
- data/generated/google/apis/content_v2/representations.rb +316 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -0
- data/generated/google/apis/fitness_v1/representations.rb +1 -0
- data/generated/google/apis/fitness_v1/service.rb +2 -2
- data/generated/google/apis/fitness_v1.rb +7 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +13 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -11
- data/generated/google/apis/gmail_v1/service.rb +5 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +340 -421
- data/generated/google/apis/monitoring_v3/representations.rb +0 -17
- data/generated/google/apis/monitoring_v3/service.rb +136 -168
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +35 -0
- data/generated/google/apis/sheets_v4/representations.rb +16 -0
- data/generated/google/apis/sheets_v4/service.rb +55 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +36 -1
- data/generated/google/apis/storage_v1/representations.rb +16 -0
- data/generated/google/apis/storage_v1/service.rb +18 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -3
@@ -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 = '20160803'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -1373,8 +1373,9 @@ module Google
|
|
1373
1373
|
class SubscriptionDeferralInfo
|
1374
1374
|
include Google::Apis::Core::Hashable
|
1375
1375
|
|
1376
|
-
# The desired next expiry time
|
1377
|
-
# The given time must be
|
1376
|
+
# The desired next expiry time to assign to the subscription, in milliseconds
|
1377
|
+
# since the Epoch. The given time must be later/greater than the current expiry
|
1378
|
+
# time for the subscription.
|
1378
1379
|
# Corresponds to the JSON property `desiredExpiryTimeMillis`
|
1379
1380
|
# @return [String]
|
1380
1381
|
attr_accessor :desired_expiry_time_millis
|
@@ -1408,8 +1409,8 @@ module Google
|
|
1408
1409
|
attr_accessor :auto_renewing
|
1409
1410
|
alias_method :auto_renewing?, :auto_renewing
|
1410
1411
|
|
1411
|
-
# The
|
1412
|
-
#
|
1412
|
+
# The reason why a subscription was cancelled or is not auto-renewing. Possible
|
1413
|
+
# values are:
|
1413
1414
|
# - User cancelled the subscription
|
1414
1415
|
# - Subscription was cancelled by the system, for example because of a billing
|
1415
1416
|
# problem
|
@@ -1429,7 +1430,7 @@ module Google
|
|
1429
1430
|
# @return [String]
|
1430
1431
|
attr_accessor :developer_payload
|
1431
1432
|
|
1432
|
-
# Time at which the subscription will expire, in milliseconds since Epoch.
|
1433
|
+
# Time at which the subscription will expire, in milliseconds since the Epoch.
|
1433
1434
|
# Corresponds to the JSON property `expiryTimeMillis`
|
1434
1435
|
# @return [String]
|
1435
1436
|
attr_accessor :expiry_time_millis
|
@@ -1448,8 +1449,8 @@ module Google
|
|
1448
1449
|
attr_accessor :payment_state
|
1449
1450
|
|
1450
1451
|
# Price of the subscription, not including tax. Price is expressed in micro-
|
1451
|
-
# units, where 1,000,000 micro-units
|
1452
|
-
# if the subscription price is €1.99, price_amount_micros is 1990000.
|
1452
|
+
# units, where 1,000,000 micro-units represents one unit of the currency. For
|
1453
|
+
# example, if the subscription price is €1.99, price_amount_micros is 1990000.
|
1453
1454
|
# Corresponds to the JSON property `priceAmountMicros`
|
1454
1455
|
# @return [String]
|
1455
1456
|
attr_accessor :price_amount_micros
|
@@ -1460,7 +1461,7 @@ module Google
|
|
1460
1461
|
# @return [String]
|
1461
1462
|
attr_accessor :price_currency_code
|
1462
1463
|
|
1463
|
-
# Time at which the subscription was granted, in milliseconds since Epoch.
|
1464
|
+
# Time at which the subscription was granted, in milliseconds since the Epoch.
|
1464
1465
|
# Corresponds to the JSON property `startTimeMillis`
|
1465
1466
|
# @return [String]
|
1466
1467
|
attr_accessor :start_time_millis
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160816'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -200,63 +200,63 @@ module Google
|
|
200
200
|
end
|
201
201
|
end
|
202
202
|
|
203
|
-
# An Application contains the top-level configuration of an App Engine
|
203
|
+
# An Application resource contains the top-level configuration of an App Engine
|
204
204
|
# application.
|
205
205
|
class Application
|
206
206
|
include Google::Apis::Core::Hashable
|
207
207
|
|
208
|
-
#
|
208
|
+
# Full path to the Application resource in the API. Example: `apps/myapp`. @
|
209
209
|
# OutputOnly
|
210
210
|
# Corresponds to the JSON property `name`
|
211
211
|
# @return [String]
|
212
212
|
attr_accessor :name
|
213
213
|
|
214
|
-
#
|
214
|
+
# Identifier of the Application resource. This identifier is equivalent to the
|
215
|
+
# project ID of the Google Cloud Platform project where you want to deploy your
|
216
|
+
# application. Example: `myapp`.
|
215
217
|
# Corresponds to the JSON property `id`
|
216
218
|
# @return [String]
|
217
219
|
attr_accessor :id
|
218
220
|
|
219
|
-
# HTTP path dispatch rules for requests to the
|
220
|
-
# a service or version.
|
221
|
+
# HTTP path dispatch rules for requests to the application that do not
|
222
|
+
# explicitly target a service or version. Rules are order-dependent. @OutputOnly
|
221
223
|
# Corresponds to the JSON property `dispatchRules`
|
222
224
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
|
223
225
|
attr_accessor :dispatch_rules
|
224
226
|
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# application.
|
227
|
+
# Google Apps authentication domain that controls which users can access this
|
228
|
+
# application. Defaults to open access for any Google Account.
|
228
229
|
# Corresponds to the JSON property `authDomain`
|
229
230
|
# @return [String]
|
230
231
|
attr_accessor :auth_domain
|
231
232
|
|
232
|
-
#
|
233
|
-
#
|
234
|
-
# s
|
235
|
-
#
|
236
|
-
#
|
233
|
+
# Location from which this application will be run. Application instances will
|
234
|
+
# run out of data centers in the chosen location, which is also where all of the
|
235
|
+
# application's end user content is stored. Defaults to `us-central`. Options
|
236
|
+
# are: `us-central` - Central US `europe-west` - Western Europe `us-east1` -
|
237
|
+
# Eastern US
|
237
238
|
# Corresponds to the JSON property `location`
|
238
239
|
# @return [String]
|
239
240
|
attr_accessor :location
|
240
241
|
|
241
|
-
# A Google Cloud Storage bucket
|
242
|
-
# with
|
243
|
-
# used by the gcloud deployment commands. @OutputOnly
|
242
|
+
# A Google Cloud Storage bucket that can be used for storing files associated
|
243
|
+
# with this application. This bucket is associated with the application and can
|
244
|
+
# be used by the gcloud deployment commands. @OutputOnly
|
244
245
|
# Corresponds to the JSON property `codeBucket`
|
245
246
|
# @return [String]
|
246
247
|
attr_accessor :code_bucket
|
247
248
|
|
248
|
-
#
|
249
|
+
# Cookie expiration policy for this application. @OutputOnly
|
249
250
|
# Corresponds to the JSON property `defaultCookieExpiration`
|
250
251
|
# @return [String]
|
251
252
|
attr_accessor :default_cookie_expiration
|
252
253
|
|
253
|
-
#
|
254
|
-
# OutputOnly
|
254
|
+
# Hostname used to reach the application, as resolved by App Engine. @OutputOnly
|
255
255
|
# Corresponds to the JSON property `defaultHostname`
|
256
256
|
# @return [String]
|
257
257
|
attr_accessor :default_hostname
|
258
258
|
|
259
|
-
# A Google Cloud Storage bucket
|
259
|
+
# A Google Cloud Storage bucket that can be used by the application to store
|
260
260
|
# content. @OutputOnly
|
261
261
|
# Corresponds to the JSON property `defaultBucket`
|
262
262
|
# @return [String]
|
@@ -284,21 +284,21 @@ module Google
|
|
284
284
|
class UrlDispatchRule
|
285
285
|
include Google::Apis::Core::Hashable
|
286
286
|
|
287
|
-
#
|
288
|
-
#
|
287
|
+
# Domain name to match against. The wildcard "`*`" is supported if specified
|
288
|
+
# before a period: "`*.`". Defaults to matching all domains: "`*`".
|
289
289
|
# Corresponds to the JSON property `domain`
|
290
290
|
# @return [String]
|
291
291
|
attr_accessor :domain
|
292
292
|
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
293
|
+
# Pathname within the host. Must start with a "`/`". A single "`*`" can be
|
294
|
+
# included at the end of the path. The sum of the lengths of the domain and path
|
295
|
+
# may not exceed 100 characters.
|
296
296
|
# Corresponds to the JSON property `path`
|
297
297
|
# @return [String]
|
298
298
|
attr_accessor :path
|
299
299
|
|
300
|
-
#
|
301
|
-
#
|
300
|
+
# Resource id of a service in this application that should serve the matched
|
301
|
+
# request. The service must already exist. Example: `default`.
|
302
302
|
# Corresponds to the JSON property `service`
|
303
303
|
# @return [String]
|
304
304
|
attr_accessor :service
|
@@ -315,27 +315,25 @@ module Google
|
|
315
315
|
end
|
316
316
|
end
|
317
317
|
|
318
|
-
# A Version is a specific set of source code and configuration files
|
319
|
-
# a service.
|
318
|
+
# A Version resource is a specific set of source code and configuration files
|
319
|
+
# that are deployed into a service.
|
320
320
|
class Version
|
321
321
|
include Google::Apis::Core::Hashable
|
322
322
|
|
323
|
-
#
|
324
|
-
#
|
323
|
+
# Full path to the Version resource in the API. Example: `apps/myapp/services/
|
324
|
+
# default/versions/v1`. @OutputOnly
|
325
325
|
# Corresponds to the JSON property `name`
|
326
326
|
# @return [String]
|
327
327
|
attr_accessor :name
|
328
328
|
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# reserved and cannot be used.
|
329
|
+
# Relative name of the version within the module. Example: `v1`. Version names
|
330
|
+
# can contain only lowercase letters, numbers, or hyphens. Reserved names: "
|
331
|
+
# default", "latest", and any name with the prefix "ah-".
|
333
332
|
# Corresponds to the JSON property `id`
|
334
333
|
# @return [String]
|
335
334
|
attr_accessor :id
|
336
335
|
|
337
|
-
# Automatic scaling is
|
338
|
-
# inception. It is based on request rate, response latencies, and other
|
336
|
+
# Automatic scaling is based on request rate, response latencies, and other
|
339
337
|
# application metrics.
|
340
338
|
# Corresponds to the JSON property `automaticScaling`
|
341
339
|
# @return [Google::Apis::AppengineV1beta5::AutomaticScaling]
|
@@ -361,66 +359,65 @@ module Google
|
|
361
359
|
# @return [Array<String>]
|
362
360
|
attr_accessor :inbound_services
|
363
361
|
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
# ManualScaling
|
362
|
+
# Instance class that is used to run this version. Valid values are: *
|
363
|
+
# AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `
|
364
|
+
# B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for AutomaticScaling and `B1`
|
365
|
+
# for ManualScaling or BasicScaling.
|
368
366
|
# Corresponds to the JSON property `instanceClass`
|
369
367
|
# @return [String]
|
370
368
|
attr_accessor :instance_class
|
371
369
|
|
372
|
-
#
|
370
|
+
# Extra network settings. Only applicable for VM runtimes.
|
373
371
|
# Corresponds to the JSON property `network`
|
374
372
|
# @return [Google::Apis::AppengineV1beta5::Network]
|
375
373
|
attr_accessor :network
|
376
374
|
|
377
|
-
#
|
375
|
+
# Machine resources for a version.
|
378
376
|
# Corresponds to the JSON property `resources`
|
379
377
|
# @return [Google::Apis::AppengineV1beta5::Resources]
|
380
378
|
attr_accessor :resources
|
381
379
|
|
382
|
-
#
|
380
|
+
# Desired runtime. Example: `python27`.
|
383
381
|
# Corresponds to the JSON property `runtime`
|
384
382
|
# @return [String]
|
385
383
|
attr_accessor :runtime
|
386
384
|
|
387
|
-
#
|
385
|
+
# Whether multiple requests can be dispatched to this version at once.
|
388
386
|
# Corresponds to the JSON property `threadsafe`
|
389
387
|
# @return [Boolean]
|
390
388
|
attr_accessor :threadsafe
|
391
389
|
alias_method :threadsafe?, :threadsafe
|
392
390
|
|
393
|
-
# Whether to deploy this
|
391
|
+
# Whether to deploy this version in a container on a virtual machine.
|
394
392
|
# Corresponds to the JSON property `vm`
|
395
393
|
# @return [Boolean]
|
396
394
|
attr_accessor :vm
|
397
395
|
alias_method :vm?, :vm
|
398
396
|
|
399
|
-
#
|
397
|
+
# Metadata settings that are supplied to this version to enable beta runtime
|
398
|
+
# features.
|
400
399
|
# Corresponds to the JSON property `betaSettings`
|
401
400
|
# @return [Hash<String,String>]
|
402
401
|
attr_accessor :beta_settings
|
403
402
|
|
404
|
-
#
|
403
|
+
# App Engine execution environment to use for this version. Defaults to `1`.
|
405
404
|
# Corresponds to the JSON property `env`
|
406
405
|
# @return [String]
|
407
406
|
attr_accessor :env
|
408
407
|
|
409
|
-
#
|
410
|
-
# instances
|
411
|
-
#
|
412
|
-
# this field to `SERVING_STATUS_UNSPECIFIED`.
|
408
|
+
# Current serving status of this version. Only the versions with a `SERVING`
|
409
|
+
# status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is an
|
410
|
+
# invalid value. Defaults to `SERVING`.
|
413
411
|
# Corresponds to the JSON property `servingStatus`
|
414
412
|
# @return [String]
|
415
413
|
attr_accessor :serving_status
|
416
414
|
|
417
|
-
#
|
415
|
+
# Email address of the user who created this version. @OutputOnly
|
418
416
|
# Corresponds to the JSON property `deployer`
|
419
417
|
# @return [String]
|
420
418
|
attr_accessor :deployer
|
421
419
|
|
422
|
-
#
|
423
|
-
# the operation that creates this version. @OutputOnly
|
420
|
+
# Time that this version was created. @OutputOnly
|
424
421
|
# Corresponds to the JSON property `creationTime`
|
425
422
|
# @return [String]
|
426
423
|
attr_accessor :creation_time
|
@@ -430,56 +427,57 @@ module Google
|
|
430
427
|
# @return [String]
|
431
428
|
attr_accessor :disk_usage_bytes
|
432
429
|
|
433
|
-
# An ordered list of URL
|
434
|
-
# requests. The first matching URL
|
435
|
-
# are not attempted. Only returned in `GET` requests if `view=FULL` is
|
436
|
-
#
|
430
|
+
# An ordered list of URL-matching patterns that should be applied to incoming
|
431
|
+
# requests. The first matching URL handles the request and other request
|
432
|
+
# handlers are not attempted. Only returned in `GET` requests if `view=FULL` is
|
433
|
+
# set.
|
437
434
|
# Corresponds to the JSON property `handlers`
|
438
435
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlMap>]
|
439
436
|
attr_accessor :handlers
|
440
437
|
|
441
|
-
# Custom static error pages
|
442
|
-
#
|
443
|
-
# on create requests; once created, is immutable.
|
438
|
+
# Custom static error pages. Limited to 10KB per page. Only returned in `GET`
|
439
|
+
# requests if `view=FULL` is set.
|
444
440
|
# Corresponds to the JSON property `errorHandlers`
|
445
441
|
# @return [Array<Google::Apis::AppengineV1beta5::ErrorHandler>]
|
446
442
|
attr_accessor :error_handlers
|
447
443
|
|
448
|
-
# Configuration for Python runtime
|
449
|
-
# application. Only returned in `GET` requests if `view=FULL` is set.
|
450
|
-
# be set on create requests; once created, is immutable.
|
444
|
+
# Configuration for third-party Python runtime libraries required by the
|
445
|
+
# application. Only returned in `GET` requests if `view=FULL` is set.
|
451
446
|
# Corresponds to the JSON property `libraries`
|
452
447
|
# @return [Array<Google::Apis::AppengineV1beta5::Library>]
|
453
448
|
attr_accessor :libraries
|
454
449
|
|
455
|
-
#
|
450
|
+
# [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/
|
451
|
+
# endpoints/) configuration for API handlers.
|
456
452
|
# Corresponds to the JSON property `apiConfig`
|
457
453
|
# @return [Google::Apis::AppengineV1beta5::ApiConfigHandler]
|
458
454
|
attr_accessor :api_config
|
459
455
|
|
460
456
|
# Environment variables made available to the application. Only returned in `GET`
|
461
|
-
# requests if `view=FULL` is set.
|
462
|
-
# created, is immutable.
|
457
|
+
# requests if `view=FULL` is set.
|
463
458
|
# Corresponds to the JSON property `envVariables`
|
464
459
|
# @return [Hash<String,String>]
|
465
460
|
attr_accessor :env_variables
|
466
461
|
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
462
|
+
# Duration that static files should be cached by web proxies and browsers. Only
|
463
|
+
# applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/
|
464
|
+
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
465
|
+
# staticfileshandler) does not specify its own expiration time. Only returned in
|
466
|
+
# `GET` requests if `view=FULL` is set.
|
471
467
|
# Corresponds to the JSON property `defaultExpiration`
|
472
468
|
# @return [String]
|
473
469
|
attr_accessor :default_expiration
|
474
470
|
|
475
|
-
#
|
476
|
-
#
|
471
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
472
|
+
# and replaced with new instances. Only applicable for instances in App Engine
|
473
|
+
# flexible environment.
|
477
474
|
# Corresponds to the JSON property `healthCheck`
|
478
475
|
# @return [Google::Apis::AppengineV1beta5::HealthCheck]
|
479
476
|
attr_accessor :health_check
|
480
477
|
|
481
|
-
#
|
482
|
-
#
|
478
|
+
# Files that match this pattern will not be built into this version. Only
|
479
|
+
# applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` is
|
480
|
+
# set.
|
483
481
|
# Corresponds to the JSON property `nobuildFilesRegex`
|
484
482
|
# @return [String]
|
485
483
|
attr_accessor :nobuild_files_regex
|
@@ -525,15 +523,14 @@ module Google
|
|
525
523
|
end
|
526
524
|
end
|
527
525
|
|
528
|
-
# Automatic scaling is
|
529
|
-
# inception. It is based on request rate, response latencies, and other
|
526
|
+
# Automatic scaling is based on request rate, response latencies, and other
|
530
527
|
# application metrics.
|
531
528
|
class AutomaticScaling
|
532
529
|
include Google::Apis::Core::Hashable
|
533
530
|
|
534
|
-
#
|
531
|
+
# Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/
|
535
532
|
# autoscaler/) should wait between changes to the number of virtual machines.
|
536
|
-
#
|
533
|
+
# Only applicable for VM runtimes.
|
537
534
|
# Corresponds to the JSON property `coolDownPeriod`
|
538
535
|
# @return [String]
|
539
536
|
attr_accessor :cool_down_period
|
@@ -543,59 +540,56 @@ module Google
|
|
543
540
|
# @return [Google::Apis::AppengineV1beta5::CpuUtilization]
|
544
541
|
attr_accessor :cpu_utilization
|
545
542
|
|
546
|
-
#
|
547
|
-
#
|
548
|
-
# the runtime.
|
543
|
+
# Number of concurrent requests an automatic scaling instance can accept before
|
544
|
+
# the scheduler spawns a new instance. Defaults to a runtime-specific value.
|
549
545
|
# Corresponds to the JSON property `maxConcurrentRequests`
|
550
546
|
# @return [Fixnum]
|
551
547
|
attr_accessor :max_concurrent_requests
|
552
548
|
|
553
|
-
#
|
554
|
-
# version.
|
549
|
+
# Maximum number of idle instances that should be maintained for this version.
|
555
550
|
# Corresponds to the JSON property `maxIdleInstances`
|
556
551
|
# @return [Fixnum]
|
557
552
|
attr_accessor :max_idle_instances
|
558
553
|
|
559
|
-
#
|
554
|
+
# Maximum number of instances that should be started to handle requests.
|
560
555
|
# Corresponds to the JSON property `maxTotalInstances`
|
561
556
|
# @return [Fixnum]
|
562
557
|
attr_accessor :max_total_instances
|
563
558
|
|
564
|
-
#
|
565
|
-
#
|
559
|
+
# Maximum amount of time that a request should wait in the pending queue before
|
560
|
+
# starting a new instance to handle it.
|
566
561
|
# Corresponds to the JSON property `maxPendingLatency`
|
567
562
|
# @return [String]
|
568
563
|
attr_accessor :max_pending_latency
|
569
564
|
|
570
|
-
#
|
571
|
-
#
|
572
|
-
# versions are not expected to receive significant traffic.
|
565
|
+
# Minimum number of idle instances that should be maintained for this version.
|
566
|
+
# Only applicable for the default version of a module.
|
573
567
|
# Corresponds to the JSON property `minIdleInstances`
|
574
568
|
# @return [Fixnum]
|
575
569
|
attr_accessor :min_idle_instances
|
576
570
|
|
577
|
-
# Minimum number of instances that
|
571
|
+
# Minimum number of instances that should be maintained for this version.
|
578
572
|
# Corresponds to the JSON property `minTotalInstances`
|
579
573
|
# @return [Fixnum]
|
580
574
|
attr_accessor :min_total_instances
|
581
575
|
|
582
|
-
#
|
583
|
-
#
|
576
|
+
# Minimum amount of time a request should wait in the pending queue before
|
577
|
+
# starting a new instance to handle it.
|
584
578
|
# Corresponds to the JSON property `minPendingLatency`
|
585
579
|
# @return [String]
|
586
580
|
attr_accessor :min_pending_latency
|
587
581
|
|
588
|
-
# Target scaling by request utilization
|
582
|
+
# Target scaling by request utilization. Only applicable for VM runtimes.
|
589
583
|
# Corresponds to the JSON property `requestUtilization`
|
590
584
|
# @return [Google::Apis::AppengineV1beta5::RequestUtilization]
|
591
585
|
attr_accessor :request_utilization
|
592
586
|
|
593
|
-
# Target scaling by disk usage
|
587
|
+
# Target scaling by disk usage. Only applicable for VM runtimes.
|
594
588
|
# Corresponds to the JSON property `diskUtilization`
|
595
589
|
# @return [Google::Apis::AppengineV1beta5::DiskUtilization]
|
596
590
|
attr_accessor :disk_utilization
|
597
591
|
|
598
|
-
# Target scaling by network usage
|
592
|
+
# Target scaling by network usage. Only applicable for VM runtimes.
|
599
593
|
# Corresponds to the JSON property `networkUtilization`
|
600
594
|
# @return [Google::Apis::AppengineV1beta5::NetworkUtilization]
|
601
595
|
attr_accessor :network_utilization
|
@@ -625,12 +619,12 @@ module Google
|
|
625
619
|
class CpuUtilization
|
626
620
|
include Google::Apis::Core::Hashable
|
627
621
|
|
628
|
-
#
|
622
|
+
# Period of time over which CPU utilization is calculated.
|
629
623
|
# Corresponds to the JSON property `aggregationWindowLength`
|
630
624
|
# @return [String]
|
631
625
|
attr_accessor :aggregation_window_length
|
632
626
|
|
633
|
-
# Target
|
627
|
+
# Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
|
634
628
|
# Corresponds to the JSON property `targetUtilization`
|
635
629
|
# @return [Float]
|
636
630
|
attr_accessor :target_utilization
|
@@ -646,7 +640,7 @@ module Google
|
|
646
640
|
end
|
647
641
|
end
|
648
642
|
|
649
|
-
# Target scaling by request utilization
|
643
|
+
# Target scaling by request utilization. Only applicable for VM runtimes.
|
650
644
|
class RequestUtilization
|
651
645
|
include Google::Apis::Core::Hashable
|
652
646
|
|
@@ -671,26 +665,26 @@ module Google
|
|
671
665
|
end
|
672
666
|
end
|
673
667
|
|
674
|
-
# Target scaling by disk usage
|
668
|
+
# Target scaling by disk usage. Only applicable for VM runtimes.
|
675
669
|
class DiskUtilization
|
676
670
|
include Google::Apis::Core::Hashable
|
677
671
|
|
678
|
-
# Target bytes per second
|
672
|
+
# Target bytes written per second.
|
679
673
|
# Corresponds to the JSON property `targetWriteBytesPerSec`
|
680
674
|
# @return [Fixnum]
|
681
675
|
attr_accessor :target_write_bytes_per_sec
|
682
676
|
|
683
|
-
# Target ops per second
|
677
|
+
# Target ops written per second.
|
684
678
|
# Corresponds to the JSON property `targetWriteOpsPerSec`
|
685
679
|
# @return [Fixnum]
|
686
680
|
attr_accessor :target_write_ops_per_sec
|
687
681
|
|
688
|
-
# Target bytes per second
|
682
|
+
# Target bytes read per second.
|
689
683
|
# Corresponds to the JSON property `targetReadBytesPerSec`
|
690
684
|
# @return [Fixnum]
|
691
685
|
attr_accessor :target_read_bytes_per_sec
|
692
686
|
|
693
|
-
# Target ops per second
|
687
|
+
# Target ops read per second.
|
694
688
|
# Corresponds to the JSON property `targetReadOpsPerSec`
|
695
689
|
# @return [Fixnum]
|
696
690
|
attr_accessor :target_read_ops_per_sec
|
@@ -708,26 +702,26 @@ module Google
|
|
708
702
|
end
|
709
703
|
end
|
710
704
|
|
711
|
-
# Target scaling by network usage
|
705
|
+
# Target scaling by network usage. Only applicable for VM runtimes.
|
712
706
|
class NetworkUtilization
|
713
707
|
include Google::Apis::Core::Hashable
|
714
708
|
|
715
|
-
# Target bytes per second
|
709
|
+
# Target bytes sent per second.
|
716
710
|
# Corresponds to the JSON property `targetSentBytesPerSec`
|
717
711
|
# @return [Fixnum]
|
718
712
|
attr_accessor :target_sent_bytes_per_sec
|
719
713
|
|
720
|
-
# Target packets per second
|
714
|
+
# Target packets sent per second.
|
721
715
|
# Corresponds to the JSON property `targetSentPacketsPerSec`
|
722
716
|
# @return [Fixnum]
|
723
717
|
attr_accessor :target_sent_packets_per_sec
|
724
718
|
|
725
|
-
# Target bytes per second
|
719
|
+
# Target bytes received per second.
|
726
720
|
# Corresponds to the JSON property `targetReceivedBytesPerSec`
|
727
721
|
# @return [Fixnum]
|
728
722
|
attr_accessor :target_received_bytes_per_sec
|
729
723
|
|
730
|
-
# Target packets per second
|
724
|
+
# Target packets received per second.
|
731
725
|
# Corresponds to the JSON property `targetReceivedPacketsPerSec`
|
732
726
|
# @return [Fixnum]
|
733
727
|
attr_accessor :target_received_packets_per_sec
|
@@ -752,13 +746,13 @@ module Google
|
|
752
746
|
class BasicScaling
|
753
747
|
include Google::Apis::Core::Hashable
|
754
748
|
|
755
|
-
#
|
756
|
-
#
|
749
|
+
# Duration of time after the last request that an instance must wait before the
|
750
|
+
# instance is shut down.
|
757
751
|
# Corresponds to the JSON property `idleTimeout`
|
758
752
|
# @return [String]
|
759
753
|
attr_accessor :idle_timeout
|
760
754
|
|
761
|
-
#
|
755
|
+
# Maximum number of instances to create for this version.
|
762
756
|
# Corresponds to the JSON property `maxInstances`
|
763
757
|
# @return [Fixnum]
|
764
758
|
attr_accessor :max_instances
|
@@ -779,7 +773,7 @@ module Google
|
|
779
773
|
class ManualScaling
|
780
774
|
include Google::Apis::Core::Hashable
|
781
775
|
|
782
|
-
#
|
776
|
+
# Number of instances to assign to the service at the start. This number can
|
783
777
|
# later be altered by using the [Modules API](https://cloud.google.com/appengine/
|
784
778
|
# docs/python/modules/functions) `set_num_instances()` function.
|
785
779
|
# Corresponds to the JSON property `instances`
|
@@ -796,23 +790,23 @@ module Google
|
|
796
790
|
end
|
797
791
|
end
|
798
792
|
|
799
|
-
#
|
793
|
+
# Extra network settings. Only applicable for VM runtimes.
|
800
794
|
class Network
|
801
795
|
include Google::Apis::Core::Hashable
|
802
796
|
|
803
|
-
#
|
797
|
+
# List of ports, or port pairs, to forward from the virtual machine to the
|
798
|
+
# application container.
|
804
799
|
# Corresponds to the JSON property `forwardedPorts`
|
805
800
|
# @return [Array<String>]
|
806
801
|
attr_accessor :forwarded_ports
|
807
802
|
|
808
|
-
#
|
803
|
+
# Tag to apply to the VM instance during creation.
|
809
804
|
# Corresponds to the JSON property `instanceTag`
|
810
805
|
# @return [String]
|
811
806
|
attr_accessor :instance_tag
|
812
807
|
|
813
|
-
#
|
814
|
-
#
|
815
|
-
# should be specified, not the resource path.)
|
808
|
+
# Google Cloud Platform network where the virtual machines are created. Specify
|
809
|
+
# the short name, not the resource path. Defaults to `default`.
|
816
810
|
# Corresponds to the JSON property `name`
|
817
811
|
# @return [String]
|
818
812
|
attr_accessor :name
|
@@ -829,21 +823,21 @@ module Google
|
|
829
823
|
end
|
830
824
|
end
|
831
825
|
|
832
|
-
#
|
826
|
+
# Machine resources for a version.
|
833
827
|
class Resources
|
834
828
|
include Google::Apis::Core::Hashable
|
835
829
|
|
836
|
-
#
|
830
|
+
# Number of CPU cores needed.
|
837
831
|
# Corresponds to the JSON property `cpu`
|
838
832
|
# @return [Float]
|
839
833
|
attr_accessor :cpu
|
840
834
|
|
841
|
-
#
|
835
|
+
# Disk size (GB) needed.
|
842
836
|
# Corresponds to the JSON property `diskGb`
|
843
837
|
# @return [Float]
|
844
838
|
attr_accessor :disk_gb
|
845
839
|
|
846
|
-
#
|
840
|
+
# Memory (GB) needed.
|
847
841
|
# Corresponds to the JSON property `memoryGb`
|
848
842
|
# @return [Float]
|
849
843
|
attr_accessor :memory_gb
|
@@ -860,16 +854,16 @@ module Google
|
|
860
854
|
end
|
861
855
|
end
|
862
856
|
|
863
|
-
#
|
857
|
+
# URL pattern and description of how the URL should be handled. App Engine can
|
864
858
|
# handle URLs by executing application code, or by serving static files uploaded
|
865
|
-
# with the
|
859
|
+
# with the version, such as images, CSS, or JavaScript.
|
866
860
|
class UrlMap
|
867
861
|
include Google::Apis::Core::Hashable
|
868
862
|
|
869
|
-
# A URL prefix.
|
870
|
-
# characters must be escaped
|
871
|
-
#
|
872
|
-
#
|
863
|
+
# A URL prefix. Uses regular expression syntax, which means regexp special
|
864
|
+
# characters must be escaped, but should not contain groupings. All URLs that
|
865
|
+
# begin with this prefix are handled by this handler, using the portion of the
|
866
|
+
# URL after the prefix as part of the file path.
|
873
867
|
# Corresponds to the JSON property `urlRegex`
|
874
868
|
# @return [String]
|
875
869
|
attr_accessor :url_regex
|
@@ -886,29 +880,29 @@ module Google
|
|
886
880
|
# @return [Google::Apis::AppengineV1beta5::ScriptHandler]
|
887
881
|
attr_accessor :script
|
888
882
|
|
889
|
-
#
|
883
|
+
# Uses Google Cloud Endpoints to handle requests.
|
890
884
|
# Corresponds to the JSON property `apiEndpoint`
|
891
885
|
# @return [Google::Apis::AppengineV1beta5::ApiEndpointHandler]
|
892
886
|
attr_accessor :api_endpoint
|
893
887
|
|
894
|
-
#
|
888
|
+
# Security (HTTPS) enforcement for this URL.
|
895
889
|
# Corresponds to the JSON property `securityLevel`
|
896
890
|
# @return [String]
|
897
891
|
attr_accessor :security_level
|
898
892
|
|
899
|
-
#
|
893
|
+
# Level of login required to access this resource.
|
900
894
|
# Corresponds to the JSON property `login`
|
901
895
|
# @return [String]
|
902
896
|
attr_accessor :login
|
903
897
|
|
904
|
-
#
|
905
|
-
# Defaults to
|
898
|
+
# Action to take when users access resources that require authentication.
|
899
|
+
# Defaults to `redirect`.
|
906
900
|
# Corresponds to the JSON property `authFailAction`
|
907
901
|
# @return [String]
|
908
902
|
attr_accessor :auth_fail_action
|
909
903
|
|
910
|
-
# `30x` code to use when performing redirects for the `secure` field.
|
911
|
-
#
|
904
|
+
# `30x` code to use when performing redirects for the `secure` field. Defaults
|
905
|
+
# to `302`.
|
912
906
|
# Corresponds to the JSON property `redirectHttpResponseCode`
|
913
907
|
# @return [String]
|
914
908
|
attr_accessor :redirect_http_response_code
|
@@ -936,14 +930,13 @@ module Google
|
|
936
930
|
class StaticFilesHandler
|
937
931
|
include Google::Apis::Core::Hashable
|
938
932
|
|
939
|
-
#
|
940
|
-
#
|
941
|
-
# pattern.
|
933
|
+
# Path to the static files matched by the URL pattern, from the application root
|
934
|
+
# directory. The path can refer to text matched in groupings in the URL pattern.
|
942
935
|
# Corresponds to the JSON property `path`
|
943
936
|
# @return [String]
|
944
937
|
attr_accessor :path
|
945
938
|
|
946
|
-
#
|
939
|
+
# Regular expression that matches the file paths for all files that should be
|
947
940
|
# referenced by this handler.
|
948
941
|
# Corresponds to the JSON property `uploadPathRegex`
|
949
942
|
# @return [String]
|
@@ -954,32 +947,28 @@ module Google
|
|
954
947
|
# @return [Hash<String,String>]
|
955
948
|
attr_accessor :http_headers
|
956
949
|
|
957
|
-
#
|
958
|
-
#
|
959
|
-
# derived from the file's filename extension.
|
950
|
+
# MIME type used to serve all files served by this handler. Defaults to file-
|
951
|
+
# specific MIME types, which are derived from each file's filename extension.
|
960
952
|
# Corresponds to the JSON property `mimeType`
|
961
953
|
# @return [String]
|
962
954
|
attr_accessor :mime_type
|
963
955
|
|
964
|
-
#
|
965
|
-
# web proxies and browsers.
|
956
|
+
# Time a static file served by this handler should be cached.
|
966
957
|
# Corresponds to the JSON property `expiration`
|
967
958
|
# @return [String]
|
968
959
|
attr_accessor :expiration
|
969
960
|
|
970
|
-
#
|
971
|
-
#
|
972
|
-
# continue with the next UrlMap that matches the requested URL.
|
961
|
+
# Whether this handler should match the request if the file referenced by the
|
962
|
+
# handler does not exist.
|
973
963
|
# Corresponds to the JSON property `requireMatchingFile`
|
974
964
|
# @return [Boolean]
|
975
965
|
attr_accessor :require_matching_file
|
976
966
|
alias_method :require_matching_file?, :require_matching_file
|
977
967
|
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
982
|
-
# static data storage resource quotas.
|
968
|
+
# Whether files should also be uploaded as code data. By default, files declared
|
969
|
+
# in static file handlers are uploaded as static data and are only served to end
|
970
|
+
# users; they cannot be read by the application. If enabled, uploads are charged
|
971
|
+
# against both your code and static data storage resource quotas.
|
983
972
|
# Corresponds to the JSON property `applicationReadable`
|
984
973
|
# @return [Boolean]
|
985
974
|
attr_accessor :application_readable
|
@@ -1005,7 +994,7 @@ module Google
|
|
1005
994
|
class ScriptHandler
|
1006
995
|
include Google::Apis::Core::Hashable
|
1007
996
|
|
1008
|
-
#
|
997
|
+
# Path to the script from the application root directory.
|
1009
998
|
# Corresponds to the JSON property `scriptPath`
|
1010
999
|
# @return [String]
|
1011
1000
|
attr_accessor :script_path
|
@@ -1020,11 +1009,11 @@ module Google
|
|
1020
1009
|
end
|
1021
1010
|
end
|
1022
1011
|
|
1023
|
-
#
|
1012
|
+
# Uses Google Cloud Endpoints to handle requests.
|
1024
1013
|
class ApiEndpointHandler
|
1025
1014
|
include Google::Apis::Core::Hashable
|
1026
1015
|
|
1027
|
-
#
|
1016
|
+
# Path to the script from the application root directory.
|
1028
1017
|
# Corresponds to the JSON property `scriptPath`
|
1029
1018
|
# @return [String]
|
1030
1019
|
attr_accessor :script_path
|
@@ -1039,11 +1028,11 @@ module Google
|
|
1039
1028
|
end
|
1040
1029
|
end
|
1041
1030
|
|
1042
|
-
#
|
1031
|
+
# Custom static error page to be served when an error occurs.
|
1043
1032
|
class ErrorHandler
|
1044
1033
|
include Google::Apis::Core::Hashable
|
1045
1034
|
|
1046
|
-
#
|
1035
|
+
# Error condition this handler applies to.
|
1047
1036
|
# Corresponds to the JSON property `errorCode`
|
1048
1037
|
# @return [String]
|
1049
1038
|
attr_accessor :error_code
|
@@ -1053,7 +1042,7 @@ module Google
|
|
1053
1042
|
# @return [String]
|
1054
1043
|
attr_accessor :static_file
|
1055
1044
|
|
1056
|
-
# MIME type of file.
|
1045
|
+
# MIME type of file. Defaults to `text/html`.
|
1057
1046
|
# Corresponds to the JSON property `mimeType`
|
1058
1047
|
# @return [String]
|
1059
1048
|
attr_accessor :mime_type
|
@@ -1070,16 +1059,16 @@ module Google
|
|
1070
1059
|
end
|
1071
1060
|
end
|
1072
1061
|
|
1073
|
-
#
|
1062
|
+
# Third-party Python runtime library that is required by the application.
|
1074
1063
|
class Library
|
1075
1064
|
include Google::Apis::Core::Hashable
|
1076
1065
|
|
1077
|
-
#
|
1066
|
+
# Name of the library. Example: "django".
|
1078
1067
|
# Corresponds to the JSON property `name`
|
1079
1068
|
# @return [String]
|
1080
1069
|
attr_accessor :name
|
1081
1070
|
|
1082
|
-
#
|
1071
|
+
# Version of the library to select, or "latest".
|
1083
1072
|
# Corresponds to the JSON property `version`
|
1084
1073
|
# @return [String]
|
1085
1074
|
attr_accessor :version
|
@@ -1095,27 +1084,28 @@ module Google
|
|
1095
1084
|
end
|
1096
1085
|
end
|
1097
1086
|
|
1098
|
-
#
|
1087
|
+
# [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/
|
1088
|
+
# endpoints/) configuration for API handlers.
|
1099
1089
|
class ApiConfigHandler
|
1100
1090
|
include Google::Apis::Core::Hashable
|
1101
1091
|
|
1102
|
-
#
|
1103
|
-
# Defaults to
|
1092
|
+
# Action to take when users access resources that require authentication.
|
1093
|
+
# Defaults to `redirect`.
|
1104
1094
|
# Corresponds to the JSON property `authFailAction`
|
1105
1095
|
# @return [String]
|
1106
1096
|
attr_accessor :auth_fail_action
|
1107
1097
|
|
1108
|
-
#
|
1098
|
+
# Level of login required to access this resource. Defaults to `optional`.
|
1109
1099
|
# Corresponds to the JSON property `login`
|
1110
1100
|
# @return [String]
|
1111
1101
|
attr_accessor :login
|
1112
1102
|
|
1113
|
-
#
|
1103
|
+
# Path to the script from the application root directory.
|
1114
1104
|
# Corresponds to the JSON property `script`
|
1115
1105
|
# @return [String]
|
1116
1106
|
attr_accessor :script
|
1117
1107
|
|
1118
|
-
#
|
1108
|
+
# Security (HTTPS) enforcement for this URL.
|
1119
1109
|
# Corresponds to the JSON property `securityLevel`
|
1120
1110
|
# @return [String]
|
1121
1111
|
attr_accessor :security_level
|
@@ -1139,8 +1129,9 @@ module Google
|
|
1139
1129
|
end
|
1140
1130
|
end
|
1141
1131
|
|
1142
|
-
#
|
1143
|
-
#
|
1132
|
+
# Health checking configuration for VM instances. Unhealthy instances are killed
|
1133
|
+
# and replaced with new instances. Only applicable for instances in App Engine
|
1134
|
+
# flexible environment.
|
1144
1135
|
class HealthCheck
|
1145
1136
|
include Google::Apis::Core::Hashable
|
1146
1137
|
|
@@ -1150,33 +1141,35 @@ module Google
|
|
1150
1141
|
attr_accessor :disable_health_check
|
1151
1142
|
alias_method :disable_health_check?, :disable_health_check
|
1152
1143
|
|
1153
|
-
#
|
1154
|
-
# appspot.com
|
1144
|
+
# Host header to send when performing an HTTP health check. Example: "myapp.
|
1145
|
+
# appspot.com"
|
1155
1146
|
# Corresponds to the JSON property `host`
|
1156
1147
|
# @return [String]
|
1157
1148
|
attr_accessor :host
|
1158
1149
|
|
1159
|
-
#
|
1150
|
+
# Number of consecutive successful health checks required before receiving
|
1151
|
+
# traffic.
|
1160
1152
|
# Corresponds to the JSON property `healthyThreshold`
|
1161
1153
|
# @return [Fixnum]
|
1162
1154
|
attr_accessor :healthy_threshold
|
1163
1155
|
|
1164
|
-
#
|
1156
|
+
# Number of consecutive failed health checks required before removing traffic.
|
1165
1157
|
# Corresponds to the JSON property `unhealthyThreshold`
|
1166
1158
|
# @return [Fixnum]
|
1167
1159
|
attr_accessor :unhealthy_threshold
|
1168
1160
|
|
1169
|
-
#
|
1161
|
+
# Number of consecutive failed health checks required before an instance is
|
1162
|
+
# restarted.
|
1170
1163
|
# Corresponds to the JSON property `restartThreshold`
|
1171
1164
|
# @return [Fixnum]
|
1172
1165
|
attr_accessor :restart_threshold
|
1173
1166
|
|
1174
|
-
#
|
1167
|
+
# Interval between health checks.
|
1175
1168
|
# Corresponds to the JSON property `checkInterval`
|
1176
1169
|
# @return [String]
|
1177
1170
|
attr_accessor :check_interval
|
1178
1171
|
|
1179
|
-
#
|
1172
|
+
# Time before the health check is considered failed.
|
1180
1173
|
# Corresponds to the JSON property `timeout`
|
1181
1174
|
# @return [String]
|
1182
1175
|
attr_accessor :timeout
|
@@ -1201,20 +1194,20 @@ module Google
|
|
1201
1194
|
class Deployment
|
1202
1195
|
include Google::Apis::Core::Hashable
|
1203
1196
|
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
#
|
1197
|
+
# Manifest of the files stored in Google Cloud Storage that are included as part
|
1198
|
+
# of this version. All files must be readable using the credentials supplied
|
1199
|
+
# with this call.
|
1207
1200
|
# Corresponds to the JSON property `files`
|
1208
1201
|
# @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
|
1209
1202
|
attr_accessor :files
|
1210
1203
|
|
1211
|
-
#
|
1204
|
+
# Docker image that is used to start a VM container for the version you deploy.
|
1212
1205
|
# Corresponds to the JSON property `container`
|
1213
1206
|
# @return [Google::Apis::AppengineV1beta5::ContainerInfo]
|
1214
1207
|
attr_accessor :container
|
1215
1208
|
|
1216
|
-
#
|
1217
|
-
# source reference per
|
1209
|
+
# Origin of the source code for this deployment. There can be more than one
|
1210
|
+
# source reference per version if source code is distributed among multiple
|
1218
1211
|
# repositories.
|
1219
1212
|
# Corresponds to the JSON property `sourceReferences`
|
1220
1213
|
# @return [Array<Google::Apis::AppengineV1beta5::SourceReference>]
|
@@ -1232,23 +1225,23 @@ module Google
|
|
1232
1225
|
end
|
1233
1226
|
end
|
1234
1227
|
|
1235
|
-
#
|
1228
|
+
# Single source file that is part of the version to be deployed. Each source
|
1229
|
+
# file that is deployed must be specified separately.
|
1236
1230
|
class FileInfo
|
1237
1231
|
include Google::Apis::Core::Hashable
|
1238
1232
|
|
1239
|
-
#
|
1240
|
-
#
|
1233
|
+
# URL source to use to fetch this file. Must be a URL to a resource in Google
|
1234
|
+
# Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
|
1241
1235
|
# Corresponds to the JSON property `sourceUrl`
|
1242
1236
|
# @return [String]
|
1243
1237
|
attr_accessor :source_url
|
1244
1238
|
|
1245
|
-
# The SHA1
|
1239
|
+
# The SHA1 hash of the file, in hex.
|
1246
1240
|
# Corresponds to the JSON property `sha1Sum`
|
1247
1241
|
# @return [String]
|
1248
1242
|
attr_accessor :sha1_sum
|
1249
1243
|
|
1250
|
-
# The MIME type of the file
|
1251
|
-
# will be used.
|
1244
|
+
# The MIME type of the file. Defaults to the value from Google Cloud Storage.
|
1252
1245
|
# Corresponds to the JSON property `mimeType`
|
1253
1246
|
# @return [String]
|
1254
1247
|
attr_accessor :mime_type
|
@@ -1265,13 +1258,13 @@ module Google
|
|
1265
1258
|
end
|
1266
1259
|
end
|
1267
1260
|
|
1268
|
-
#
|
1261
|
+
# Docker image that is used to start a VM container for the version you deploy.
|
1269
1262
|
class ContainerInfo
|
1270
1263
|
include Google::Apis::Core::Hashable
|
1271
1264
|
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
#
|
1265
|
+
# URI to the hosted container image in a Docker repository. The URI must be
|
1266
|
+
# fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
1267
|
+
# image:tag" or "gcr.io/my-project/image@digest"
|
1275
1268
|
# Corresponds to the JSON property `image`
|
1276
1269
|
# @return [String]
|
1277
1270
|
attr_accessor :image
|
@@ -1286,20 +1279,20 @@ module Google
|
|
1286
1279
|
end
|
1287
1280
|
end
|
1288
1281
|
|
1289
|
-
#
|
1290
|
-
#
|
1282
|
+
# Reference to a particular snapshot of the source tree used to build and deploy
|
1283
|
+
# the application.
|
1291
1284
|
class SourceReference
|
1292
1285
|
include Google::Apis::Core::Hashable
|
1293
1286
|
|
1294
|
-
#
|
1295
|
-
#
|
1287
|
+
# URI string identifying the repository. Example: "https://source.developers.
|
1288
|
+
# google.com/p/app-123/r/default"
|
1296
1289
|
# Corresponds to the JSON property `repository`
|
1297
1290
|
# @return [String]
|
1298
1291
|
attr_accessor :repository
|
1299
1292
|
|
1300
|
-
# The canonical
|
1301
|
-
#
|
1302
|
-
#
|
1293
|
+
# The canonical, persistent identifier of the deployed revision. Aliases that
|
1294
|
+
# include tags or branch names are not allowed. Example (git): "
|
1295
|
+
# 2198322f89e0bb2e25021667c2ed489d1fd34e6b"
|
1303
1296
|
# Corresponds to the JSON property `revisionId`
|
1304
1297
|
# @return [String]
|
1305
1298
|
attr_accessor :revision_id
|
@@ -1319,7 +1312,7 @@ module Google
|
|
1319
1312
|
class ListVersionsResponse
|
1320
1313
|
include Google::Apis::Core::Hashable
|
1321
1314
|
|
1322
|
-
# The versions belonging to the requested
|
1315
|
+
# The versions belonging to the requested service.
|
1323
1316
|
# Corresponds to the JSON property `versions`
|
1324
1317
|
# @return [Array<Google::Apis::AppengineV1beta5::Version>]
|
1325
1318
|
attr_accessor :versions
|
@@ -1340,8 +1333,8 @@ module Google
|
|
1340
1333
|
end
|
1341
1334
|
end
|
1342
1335
|
|
1343
|
-
# A
|
1344
|
-
# communicate in a secure fashion with other services. For example, an
|
1336
|
+
# A Service resource is a logical component of an application that can share
|
1337
|
+
# state and communicate in a secure fashion with other services. For example, an
|
1345
1338
|
# application that handles customer requests might include separate services to
|
1346
1339
|
# handle other tasks such as API requests from mobile devices or backend data
|
1347
1340
|
# analysis. Each service has a collection of versions that define a specific set
|
@@ -1349,22 +1342,20 @@ module Google
|
|
1349
1342
|
class Service
|
1350
1343
|
include Google::Apis::Core::Hashable
|
1351
1344
|
|
1352
|
-
#
|
1353
|
-
#
|
1345
|
+
# Full path to the Service resource in the API. Example: `apps/myapp/services/
|
1346
|
+
# default`. @OutputOnly
|
1354
1347
|
# Corresponds to the JSON property `name`
|
1355
1348
|
# @return [String]
|
1356
1349
|
attr_accessor :name
|
1357
1350
|
|
1358
|
-
#
|
1359
|
-
#
|
1351
|
+
# Relative name of the service within the application. Example: `default`. @
|
1352
|
+
# OutputOnly
|
1360
1353
|
# Corresponds to the JSON property `id`
|
1361
1354
|
# @return [String]
|
1362
1355
|
attr_accessor :id
|
1363
1356
|
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
# of several versions in a fractional way, enabling experiments and canarying
|
1367
|
-
# new builds, for example.
|
1357
|
+
# Traffic routing configuration for versions within a single service. Traffic
|
1358
|
+
# splits define how traffic directed to the service is assigned to versions.
|
1368
1359
|
# Corresponds to the JSON property `split`
|
1369
1360
|
# @return [Google::Apis::AppengineV1beta5::TrafficSplit]
|
1370
1361
|
attr_accessor :split
|
@@ -1381,27 +1372,25 @@ module Google
|
|
1381
1372
|
end
|
1382
1373
|
end
|
1383
1374
|
|
1384
|
-
#
|
1385
|
-
#
|
1386
|
-
# of several versions in a fractional way, enabling experiments and canarying
|
1387
|
-
# new builds, for example.
|
1375
|
+
# Traffic routing configuration for versions within a single service. Traffic
|
1376
|
+
# splits define how traffic directed to the service is assigned to versions.
|
1388
1377
|
class TrafficSplit
|
1389
1378
|
include Google::Apis::Core::Hashable
|
1390
1379
|
|
1391
|
-
#
|
1392
|
-
#
|
1393
|
-
#
|
1380
|
+
# Mechanism used to determine which version a request is sent to. The traffic
|
1381
|
+
# selection algorithm will be stable for either type until allocations are
|
1382
|
+
# changed.
|
1394
1383
|
# Corresponds to the JSON property `shardBy`
|
1395
1384
|
# @return [String]
|
1396
1385
|
attr_accessor :shard_by
|
1397
1386
|
|
1398
|
-
# Mapping from
|
1399
|
-
# allocations of traffic for that version. Each version
|
1387
|
+
# Mapping from version IDs within the service to fractional (0.000, 1]
|
1388
|
+
# allocations of traffic for that version. Each version can be specified only
|
1400
1389
|
# once, but some versions in the service may not have any traffic allocation.
|
1401
|
-
# Services that have traffic allocated
|
1402
|
-
#
|
1403
|
-
#
|
1404
|
-
# and up to three decimal places for cookie-based splits.
|
1390
|
+
# Services that have traffic allocated cannot be deleted until either the
|
1391
|
+
# service is deleted or their traffic allocation is removed. Allocations must
|
1392
|
+
# sum to 1. Up to two decimal place precision is supported for IP-based splits
|
1393
|
+
# and up to three decimal places is supported for cookie-based splits.
|
1405
1394
|
# Corresponds to the JSON property `allocations`
|
1406
1395
|
# @return [Hash<String,Float>]
|
1407
1396
|
attr_accessor :allocations
|
@@ -1442,112 +1431,89 @@ module Google
|
|
1442
1431
|
end
|
1443
1432
|
end
|
1444
1433
|
|
1445
|
-
#
|
1446
|
-
|
1447
|
-
include Google::Apis::Core::Hashable
|
1448
|
-
|
1449
|
-
# The instances belonging to the requested version.
|
1450
|
-
# Corresponds to the JSON property `instances`
|
1451
|
-
# @return [Array<Google::Apis::AppengineV1beta5::Instance>]
|
1452
|
-
attr_accessor :instances
|
1453
|
-
|
1454
|
-
# Continuation token for fetching the next page of results.
|
1455
|
-
# Corresponds to the JSON property `nextPageToken`
|
1456
|
-
# @return [String]
|
1457
|
-
attr_accessor :next_page_token
|
1458
|
-
|
1459
|
-
def initialize(**args)
|
1460
|
-
update!(**args)
|
1461
|
-
end
|
1462
|
-
|
1463
|
-
# Update properties of this object
|
1464
|
-
def update!(**args)
|
1465
|
-
@instances = args[:instances] if args.key?(:instances)
|
1466
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1467
|
-
end
|
1468
|
-
end
|
1469
|
-
|
1470
|
-
# Instances are the computing units that App Engine uses to automatically scale
|
1471
|
-
# an application.
|
1434
|
+
# An Instance resource is the computing unit that App Engine uses to
|
1435
|
+
# automatically scale an application.
|
1472
1436
|
class Instance
|
1473
1437
|
include Google::Apis::Core::Hashable
|
1474
1438
|
|
1475
|
-
#
|
1476
|
-
#
|
1439
|
+
# Full path to the Instance resource in the API. Example: `apps/myapp/services/
|
1440
|
+
# default/versions/v1/instances/instance-1`. @OutputOnly
|
1477
1441
|
# Corresponds to the JSON property `name`
|
1478
1442
|
# @return [String]
|
1479
1443
|
attr_accessor :name
|
1480
1444
|
|
1481
|
-
#
|
1482
|
-
#
|
1445
|
+
# Relative name of the instance within the version. Example: `instance-1`. @
|
1446
|
+
# OutputOnly
|
1483
1447
|
# Corresponds to the JSON property `id`
|
1484
1448
|
# @return [String]
|
1485
1449
|
attr_accessor :id
|
1486
1450
|
|
1487
|
-
#
|
1451
|
+
# App Engine release this instance is running on. @OutputOnly
|
1488
1452
|
# Corresponds to the JSON property `appEngineRelease`
|
1489
1453
|
# @return [String]
|
1490
1454
|
attr_accessor :app_engine_release
|
1491
1455
|
|
1492
|
-
# Availability of instance. @OutputOnly
|
1456
|
+
# Availability of the instance. @OutputOnly
|
1493
1457
|
# Corresponds to the JSON property `availability`
|
1494
1458
|
# @return [String]
|
1495
1459
|
attr_accessor :availability
|
1496
1460
|
|
1497
|
-
#
|
1498
|
-
#
|
1461
|
+
# Name of the virtual machine where this instance lives. Only applicable for
|
1462
|
+
# instances in App Engine flexible environment. @OutputOnly
|
1499
1463
|
# Corresponds to the JSON property `vmName`
|
1500
1464
|
# @return [String]
|
1501
1465
|
attr_accessor :vm_name
|
1502
1466
|
|
1503
|
-
#
|
1504
|
-
# OutputOnly
|
1467
|
+
# Zone where the virtual machine is located. Only applicable for instances in
|
1468
|
+
# App Engine flexible environment. @OutputOnly
|
1505
1469
|
# Corresponds to the JSON property `vmZoneName`
|
1506
1470
|
# @return [String]
|
1507
1471
|
attr_accessor :vm_zone_name
|
1508
1472
|
|
1509
|
-
#
|
1473
|
+
# Virtual machine ID of this instance. Only applicable for instances in App
|
1474
|
+
# Engine flexible environment. @OutputOnly
|
1510
1475
|
# Corresponds to the JSON property `vmId`
|
1511
1476
|
# @return [String]
|
1512
1477
|
attr_accessor :vm_id
|
1513
1478
|
|
1514
|
-
# Time
|
1479
|
+
# Time that this instance was started. @OutputOnly
|
1515
1480
|
# Corresponds to the JSON property `startTimestamp`
|
1516
1481
|
# @return [String]
|
1517
1482
|
attr_accessor :start_timestamp
|
1518
1483
|
|
1519
|
-
# Number of requests
|
1484
|
+
# Number of requests since this instance was started. @OutputOnly
|
1520
1485
|
# Corresponds to the JSON property `requests`
|
1521
1486
|
# @return [Fixnum]
|
1522
1487
|
attr_accessor :requests
|
1523
1488
|
|
1524
|
-
# Number of errors since
|
1489
|
+
# Number of errors since this instance was started. @OutputOnly
|
1525
1490
|
# Corresponds to the JSON property `errors`
|
1526
1491
|
# @return [Fixnum]
|
1527
1492
|
attr_accessor :errors
|
1528
1493
|
|
1529
|
-
#
|
1494
|
+
# Average queries per second (QPS) over the last minute. @OutputOnly
|
1530
1495
|
# Corresponds to the JSON property `qps`
|
1531
1496
|
# @return [Float]
|
1532
1497
|
attr_accessor :qps
|
1533
1498
|
|
1534
|
-
#
|
1499
|
+
# Average latency (ms) over the last minute. @OutputOnly
|
1535
1500
|
# Corresponds to the JSON property `averageLatency`
|
1536
1501
|
# @return [Fixnum]
|
1537
1502
|
attr_accessor :average_latency
|
1538
1503
|
|
1539
|
-
#
|
1504
|
+
# Total memory in use (bytes). @OutputOnly
|
1540
1505
|
# Corresponds to the JSON property `memoryUsage`
|
1541
1506
|
# @return [String]
|
1542
1507
|
attr_accessor :memory_usage
|
1543
1508
|
|
1544
|
-
#
|
1545
|
-
#
|
1509
|
+
# Status of the virtual machine where this instance lives. Only applicable for
|
1510
|
+
# instances in App Engine flexible environment. @OutputOnly
|
1546
1511
|
# Corresponds to the JSON property `vmStatus`
|
1547
1512
|
# @return [String]
|
1548
1513
|
attr_accessor :vm_status
|
1549
1514
|
|
1550
|
-
#
|
1515
|
+
# Whether this instance is in debug mode. Only applicable for instances in App
|
1516
|
+
# Engine flexible environment. @OutputOnly
|
1551
1517
|
# Corresponds to the JSON property `vmUnlocked`
|
1552
1518
|
# @return [Boolean]
|
1553
1519
|
attr_accessor :vm_unlocked
|
@@ -1577,40 +1543,142 @@ module Google
|
|
1577
1543
|
end
|
1578
1544
|
end
|
1579
1545
|
|
1546
|
+
# Response message for `Instances.ListInstances`.
|
1547
|
+
class ListInstancesResponse
|
1548
|
+
include Google::Apis::Core::Hashable
|
1549
|
+
|
1550
|
+
# The instances belonging to the requested version.
|
1551
|
+
# Corresponds to the JSON property `instances`
|
1552
|
+
# @return [Array<Google::Apis::AppengineV1beta5::Instance>]
|
1553
|
+
attr_accessor :instances
|
1554
|
+
|
1555
|
+
# Continuation token for fetching the next page of results.
|
1556
|
+
# Corresponds to the JSON property `nextPageToken`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :next_page_token
|
1559
|
+
|
1560
|
+
def initialize(**args)
|
1561
|
+
update!(**args)
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Update properties of this object
|
1565
|
+
def update!(**args)
|
1566
|
+
@instances = args[:instances] if args.key?(:instances)
|
1567
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1568
|
+
end
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# Request message for `Instances.DebugInstance`.
|
1572
|
+
class DebugInstanceRequest
|
1573
|
+
include Google::Apis::Core::Hashable
|
1574
|
+
|
1575
|
+
def initialize(**args)
|
1576
|
+
update!(**args)
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
# Update properties of this object
|
1580
|
+
def update!(**args)
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
# The response message for LocationService.ListLocations.
|
1585
|
+
class ListLocationsResponse
|
1586
|
+
include Google::Apis::Core::Hashable
|
1587
|
+
|
1588
|
+
# A list of locations that matches the specified filter in the request.
|
1589
|
+
# Corresponds to the JSON property `locations`
|
1590
|
+
# @return [Array<Google::Apis::AppengineV1beta5::Location>]
|
1591
|
+
attr_accessor :locations
|
1592
|
+
|
1593
|
+
# The standard List next-page token.
|
1594
|
+
# Corresponds to the JSON property `nextPageToken`
|
1595
|
+
# @return [String]
|
1596
|
+
attr_accessor :next_page_token
|
1597
|
+
|
1598
|
+
def initialize(**args)
|
1599
|
+
update!(**args)
|
1600
|
+
end
|
1601
|
+
|
1602
|
+
# Update properties of this object
|
1603
|
+
def update!(**args)
|
1604
|
+
@locations = args[:locations] if args.key?(:locations)
|
1605
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1606
|
+
end
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# A resource that represents Google Cloud Platform location.
|
1610
|
+
class Location
|
1611
|
+
include Google::Apis::Core::Hashable
|
1612
|
+
|
1613
|
+
# Resource name for the location, which may vary between implementations. For
|
1614
|
+
# example: `"projects/example-project/locations/us-east1"`
|
1615
|
+
# Corresponds to the JSON property `name`
|
1616
|
+
# @return [String]
|
1617
|
+
attr_accessor :name
|
1618
|
+
|
1619
|
+
# The cononical id for this location. For example: `"us-east1"`.
|
1620
|
+
# Corresponds to the JSON property `locationId`
|
1621
|
+
# @return [String]
|
1622
|
+
attr_accessor :location_id
|
1623
|
+
|
1624
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
1625
|
+
# region": "us-east1"`
|
1626
|
+
# Corresponds to the JSON property `labels`
|
1627
|
+
# @return [Hash<String,String>]
|
1628
|
+
attr_accessor :labels
|
1629
|
+
|
1630
|
+
# Service-specific metadata. For example the available capacity at the given
|
1631
|
+
# location.
|
1632
|
+
# Corresponds to the JSON property `metadata`
|
1633
|
+
# @return [Hash<String,Object>]
|
1634
|
+
attr_accessor :metadata
|
1635
|
+
|
1636
|
+
def initialize(**args)
|
1637
|
+
update!(**args)
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
# Update properties of this object
|
1641
|
+
def update!(**args)
|
1642
|
+
@name = args[:name] if args.key?(:name)
|
1643
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
1644
|
+
@labels = args[:labels] if args.key?(:labels)
|
1645
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1580
1649
|
# Metadata for the given google.longrunning.Operation.
|
1581
1650
|
class OperationMetadata
|
1582
1651
|
include Google::Apis::Core::Hashable
|
1583
1652
|
|
1584
|
-
#
|
1653
|
+
# Type of this operation. Deprecated, use method field instead. Example: "
|
1585
1654
|
# create_version". @OutputOnly
|
1586
1655
|
# Corresponds to the JSON property `operationType`
|
1587
1656
|
# @return [String]
|
1588
1657
|
attr_accessor :operation_type
|
1589
1658
|
|
1590
|
-
# Timestamp that this operation was
|
1659
|
+
# Timestamp that this operation was created. @OutputOnly
|
1591
1660
|
# Corresponds to the JSON property `insertTime`
|
1592
1661
|
# @return [String]
|
1593
1662
|
attr_accessor :insert_time
|
1594
1663
|
|
1595
|
-
# Timestamp that this operation
|
1596
|
-
# still in progress.) @OutputOnly
|
1664
|
+
# Timestamp that this operation completed. @OutputOnly
|
1597
1665
|
# Corresponds to the JSON property `endTime`
|
1598
1666
|
# @return [String]
|
1599
1667
|
attr_accessor :end_time
|
1600
1668
|
|
1601
|
-
#
|
1669
|
+
# User who requested this operation. @OutputOnly
|
1602
1670
|
# Corresponds to the JSON property `user`
|
1603
1671
|
# @return [String]
|
1604
1672
|
attr_accessor :user
|
1605
1673
|
|
1606
|
-
#
|
1607
|
-
# default
|
1674
|
+
# Name of the resource that this operation is acting on. Example: `apps/myapp/
|
1675
|
+
# modules/default`. @OutputOnly
|
1608
1676
|
# Corresponds to the JSON property `target`
|
1609
1677
|
# @return [String]
|
1610
1678
|
attr_accessor :target
|
1611
1679
|
|
1612
|
-
# API method
|
1613
|
-
#
|
1680
|
+
# API method that initiated this operation. Example: `google.appengine.v1beta4.
|
1681
|
+
# Version.CreateVersion`. @OutputOnly
|
1614
1682
|
# Corresponds to the JSON property `method`
|
1615
1683
|
# @return [String]
|
1616
1684
|
attr_accessor :method_prop
|
@@ -1634,30 +1702,29 @@ module Google
|
|
1634
1702
|
class OperationMetadataV1Beta5
|
1635
1703
|
include Google::Apis::Core::Hashable
|
1636
1704
|
|
1637
|
-
# API method name that initiated
|
1638
|
-
# v1beta5.Version.CreateVersion
|
1705
|
+
# API method name that initiated this operation. Example: `google.appengine.
|
1706
|
+
# v1beta5.Version.CreateVersion`. @OutputOnly
|
1639
1707
|
# Corresponds to the JSON property `method`
|
1640
1708
|
# @return [String]
|
1641
1709
|
attr_accessor :method_prop
|
1642
1710
|
|
1643
|
-
# Timestamp that this operation was
|
1711
|
+
# Timestamp that this operation was created. @OutputOnly
|
1644
1712
|
# Corresponds to the JSON property `insertTime`
|
1645
1713
|
# @return [String]
|
1646
1714
|
attr_accessor :insert_time
|
1647
1715
|
|
1648
|
-
# Timestamp that this operation
|
1649
|
-
# still in progress.) @OutputOnly
|
1716
|
+
# Timestamp that this operation completed. @OutputOnly
|
1650
1717
|
# Corresponds to the JSON property `endTime`
|
1651
1718
|
# @return [String]
|
1652
1719
|
attr_accessor :end_time
|
1653
1720
|
|
1654
|
-
#
|
1721
|
+
# User who requested this operation. @OutputOnly
|
1655
1722
|
# Corresponds to the JSON property `user`
|
1656
1723
|
# @return [String]
|
1657
1724
|
attr_accessor :user
|
1658
1725
|
|
1659
|
-
#
|
1660
|
-
# default
|
1726
|
+
# Name of the resource that this operation is acting on. Example: `apps/myapp/
|
1727
|
+
# services/default`. @OutputOnly
|
1661
1728
|
# Corresponds to the JSON property `target`
|
1662
1729
|
# @return [String]
|
1663
1730
|
attr_accessor :target
|
@@ -1680,30 +1747,29 @@ module Google
|
|
1680
1747
|
class OperationMetadataV1
|
1681
1748
|
include Google::Apis::Core::Hashable
|
1682
1749
|
|
1683
|
-
# API method
|
1684
|
-
#
|
1750
|
+
# API method that initiated this operation. Example: `google.appengine.v1.
|
1751
|
+
# Versions.CreateVersion`. @OutputOnly
|
1685
1752
|
# Corresponds to the JSON property `method`
|
1686
1753
|
# @return [String]
|
1687
1754
|
attr_accessor :method_prop
|
1688
1755
|
|
1689
|
-
#
|
1756
|
+
# Time that this operation was created. @OutputOnly
|
1690
1757
|
# Corresponds to the JSON property `insertTime`
|
1691
1758
|
# @return [String]
|
1692
1759
|
attr_accessor :insert_time
|
1693
1760
|
|
1694
|
-
#
|
1695
|
-
# still in progress.) @OutputOnly
|
1761
|
+
# Time that this operation completed. @OutputOnly
|
1696
1762
|
# Corresponds to the JSON property `endTime`
|
1697
1763
|
# @return [String]
|
1698
1764
|
attr_accessor :end_time
|
1699
1765
|
|
1700
|
-
#
|
1766
|
+
# User who requested this operation. @OutputOnly
|
1701
1767
|
# Corresponds to the JSON property `user`
|
1702
1768
|
# @return [String]
|
1703
1769
|
attr_accessor :user
|
1704
1770
|
|
1705
|
-
#
|
1706
|
-
# default
|
1771
|
+
# Name of the resource that this operation is acting on. Example: `apps/myapp/
|
1772
|
+
# services/default`. @OutputOnly
|
1707
1773
|
# Corresponds to the JSON property `target`
|
1708
1774
|
# @return [String]
|
1709
1775
|
attr_accessor :target
|
@@ -1726,12 +1792,28 @@ module Google
|
|
1726
1792
|
class LocationMetadata
|
1727
1793
|
include Google::Apis::Core::Hashable
|
1728
1794
|
|
1795
|
+
# App Engine Standard Environment is available in the given location. @
|
1796
|
+
# OutputOnly
|
1797
|
+
# Corresponds to the JSON property `standardEnvironmentAvailable`
|
1798
|
+
# @return [Boolean]
|
1799
|
+
attr_accessor :standard_environment_available
|
1800
|
+
alias_method :standard_environment_available?, :standard_environment_available
|
1801
|
+
|
1802
|
+
# App Engine Flexible Environment is available in the given location. @
|
1803
|
+
# OutputOnly
|
1804
|
+
# Corresponds to the JSON property `flexibleEnvironmentAvailable`
|
1805
|
+
# @return [Boolean]
|
1806
|
+
attr_accessor :flexible_environment_available
|
1807
|
+
alias_method :flexible_environment_available?, :flexible_environment_available
|
1808
|
+
|
1729
1809
|
def initialize(**args)
|
1730
1810
|
update!(**args)
|
1731
1811
|
end
|
1732
1812
|
|
1733
1813
|
# Update properties of this object
|
1734
1814
|
def update!(**args)
|
1815
|
+
@standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
|
1816
|
+
@flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
|
1735
1817
|
end
|
1736
1818
|
end
|
1737
1819
|
end
|