google-api-client 0.9.8 → 0.9.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +61 -110
  6. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +160 -9
  8. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +46 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -8
  10. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  11. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  16. data/generated/google/apis/admin_reports_v1.rb +3 -3
  17. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  22. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  23. data/generated/google/apis/analytics_v3/service.rb +218 -0
  24. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  25. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +722 -48
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +305 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +1180 -146
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  32. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta5/classes.rb +430 -288
  34. data/generated/google/apis/appengine_v1beta5/representations.rb +84 -10
  35. data/generated/google/apis/appengine_v1beta5/service.rb +285 -25
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +254 -6
  40. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  42. data/generated/google/apis/books_v1.rb +2 -2
  43. data/generated/google/apis/books_v1/classes.rb +77 -0
  44. data/generated/google/apis/books_v1/representations.rb +34 -0
  45. data/generated/google/apis/books_v1/service.rb +7 -3
  46. data/generated/google/apis/calendar_v3.rb +1 -1
  47. data/generated/google/apis/civicinfo_v2.rb +3 -2
  48. data/generated/google/apis/civicinfo_v2/classes.rb +16 -4
  49. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  50. data/generated/google/apis/civicinfo_v2/service.rb +8 -2
  51. data/generated/google/apis/classroom_v1.rb +1 -1
  52. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  53. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  54. data/generated/google/apis/classroom_v1/service.rb +392 -37
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +320 -12
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +136 -2
  58. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  59. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  60. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  61. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  62. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
  64. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
  65. data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
  66. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
  68. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
  69. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +1620 -199
  72. data/generated/google/apis/compute_beta/representations.rb +563 -0
  73. data/generated/google/apis/compute_beta/service.rb +5123 -2690
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +1717 -295
  76. data/generated/google/apis/compute_v1/representations.rb +536 -0
  77. data/generated/google/apis/compute_v1/service.rb +2038 -1041
  78. data/generated/google/apis/content_v2.rb +1 -1
  79. data/generated/google/apis/content_v2/classes.rb +709 -1
  80. data/generated/google/apis/content_v2/representations.rb +319 -0
  81. data/generated/google/apis/content_v2/service.rb +244 -0
  82. data/generated/google/apis/datastore_v1.rb +38 -0
  83. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  84. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  85. data/generated/google/apis/datastore_v1/service.rb +259 -0
  86. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  88. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  89. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  90. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  91. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  92. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  93. data/generated/google/apis/deploymentmanager_v2/service.rb +162 -50
  94. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  95. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  96. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  97. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  98. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  99. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  100. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  101. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  102. data/generated/google/apis/dns_v1.rb +1 -1
  103. data/generated/google/apis/dns_v1/classes.rb +1 -1
  104. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  105. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  106. data/generated/google/apis/drive_v2.rb +1 -1
  107. data/generated/google/apis/drive_v2/classes.rb +11 -3
  108. data/generated/google/apis/drive_v2/representations.rb +2 -0
  109. data/generated/google/apis/drive_v2/service.rb +8 -2
  110. data/generated/google/apis/drive_v3.rb +1 -1
  111. data/generated/google/apis/drive_v3/classes.rb +36 -16
  112. data/generated/google/apis/drive_v3/representations.rb +2 -0
  113. data/generated/google/apis/drive_v3/service.rb +4 -1
  114. data/generated/google/apis/fitness_v1.rb +8 -2
  115. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  116. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  117. data/generated/google/apis/fitness_v1/service.rb +17 -18
  118. data/generated/google/apis/fusiontables_v2.rb +1 -1
  119. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_management_v1management.rb +1 -1
  122. data/generated/google/apis/games_v1.rb +1 -1
  123. data/generated/google/apis/genomics_v1.rb +2 -4
  124. data/generated/google/apis/genomics_v1/classes.rb +111 -9
  125. data/generated/google/apis/genomics_v1/representations.rb +36 -0
  126. data/generated/google/apis/genomics_v1/service.rb +4 -7
  127. data/generated/google/apis/gmail_v1.rb +7 -1
  128. data/generated/google/apis/gmail_v1/classes.rb +540 -0
  129. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  130. data/generated/google/apis/gmail_v1/service.rb +898 -1
  131. data/generated/google/apis/groupssettings_v1.rb +1 -1
  132. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  133. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  134. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  135. data/generated/google/apis/identitytoolkit_v3/classes.rb +154 -1
  136. data/generated/google/apis/identitytoolkit_v3/representations.rb +35 -0
  137. data/generated/google/apis/language_v1beta1.rb +36 -0
  138. data/generated/google/apis/language_v1beta1/classes.rb +596 -0
  139. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  140. data/generated/google/apis/language_v1beta1/service.rb +154 -0
  141. data/generated/google/apis/mirror_v1.rb +2 -2
  142. data/generated/google/apis/mirror_v1/service.rb +1 -1
  143. data/generated/google/apis/monitoring_v3.rb +45 -0
  144. data/generated/google/apis/monitoring_v3/classes.rb +1328 -0
  145. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  146. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  147. data/generated/google/apis/oauth2_v2.rb +1 -1
  148. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  149. data/generated/google/apis/plus_domains_v1.rb +1 -1
  150. data/generated/google/apis/plus_v1.rb +1 -1
  151. data/generated/google/apis/qpx_express_v1.rb +1 -1
  152. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  153. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  154. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  155. data/generated/google/apis/script_v1.rb +1 -1
  156. data/generated/google/apis/script_v1/classes.rb +6 -0
  157. data/generated/google/apis/script_v1/representations.rb +1 -0
  158. data/generated/google/apis/sheets_v4.rb +1 -1
  159. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  160. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  161. data/generated/google/apis/sheets_v4/service.rb +55 -0
  162. data/generated/google/apis/speech_v1beta1.rb +34 -0
  163. data/generated/google/apis/speech_v1beta1/classes.rb +521 -0
  164. data/generated/google/apis/speech_v1beta1/representations.rb +219 -0
  165. data/generated/google/apis/speech_v1beta1/service.rb +268 -0
  166. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  167. data/generated/google/apis/sqladmin_v1beta4/classes.rb +26 -8
  168. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  169. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  170. data/generated/google/apis/storage_v1.rb +1 -1
  171. data/generated/google/apis/storage_v1/classes.rb +19 -10
  172. data/generated/google/apis/translate_v2.rb +2 -2
  173. data/generated/google/apis/translate_v2/service.rb +1 -1
  174. data/generated/google/apis/vision_v1.rb +1 -1
  175. data/generated/google/apis/vision_v1/classes.rb +10 -9
  176. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  177. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  178. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  179. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  180. data/generated/google/apis/youtube_v3.rb +1 -1
  181. data/generated/google/apis/youtube_v3/classes.rb +163 -2
  182. data/generated/google/apis/youtube_v3/representations.rb +82 -0
  183. data/generated/google/apis/youtube_v3/service.rb +6 -2
  184. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  185. data/google-api-client.gemspec +2 -1
  186. data/lib/google/apis/core/api_command.rb +4 -0
  187. data/lib/google/apis/core/base_service.rb +10 -4
  188. data/lib/google/apis/core/download.rb +7 -2
  189. data/lib/google/apis/core/http_command.rb +5 -1
  190. data/lib/google/apis/core/upload.rb +7 -1
  191. data/lib/google/apis/errors.rb +2 -2
  192. data/lib/google/apis/generator/annotator.rb +6 -0
  193. data/lib/google/apis/version.rb +1 -1
  194. data/samples/cli/lib/samples/bigquery.rb +101 -0
  195. data/samples/cli/lib/samples/sheets.rb +61 -0
  196. data/sync.rb +71 -0
  197. metadata +43 -13
@@ -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 = '20160516'
28
+ REVISION = '20160817'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -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 for the subscription in milliseconds since Epoch.
1377
- # The given time must be after the current expiry time for the subscription.
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 cancel reason of the subscription, if the subscription is not auto
1412
- # renewing. Possible values are:
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 equal one unit of the currency. For example,
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://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1beta5
27
27
  VERSION = 'V1beta5'
28
- REVISION = '20160407'
28
+ REVISION = '20160802'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -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
- # The full path to the application in the API. Example: "apps/myapp". @
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
- # The relative name/path of the application. Example: "myapp".
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 app that do not explicitly target
220
- # a service or version. The rules are order-dependent. @OutputOnly
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
- # If set, only users from the specified Google Apps authentication domain may
226
- # access the application. If not set, any Google Account may access the
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
- # The location from which the application will be run. Application instances
233
- # will run out of data centers in the chosen location and all of the application'
234
- # s End User Content will be stored at rest. The default is "us-central".
235
- # Choices are: "us-central" - Central US "europe-west" - Western Europe "us-
236
- # east1" - Eastern US
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 which can be used for storing files associated
242
- # with an application. This bucket is associated with the application and can be
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
- # Determines the cookie expiration policy for the application. @OutputOnly
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
- # The hostname used to reach the application, as resolved by App Engine. @
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 which can be used by the application to store
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
- # The domain name to match on. Supports '*' (glob) wildcarding on the left-hand
288
- # side of a '.'. If empty, all domains will be matched (the same as '*').
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
- # The pathname within the host. This must start with a '/'. A single '*' (glob)
294
- # can be included at the end of the path. The sum of the lengths of the domain
295
- # and path may not exceed 100 characters.
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
- # The resource id of a Service in this application that should service the
301
- # matched request. The Service must already exist. Example: "default".
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 deployed to
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
- # The full path to the Version resource in the API. Example: "apps/myapp/
324
- # services/default/versions/v1". @OutputOnly
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
- # The relative name/path of the Version within the service. Example: "v1".
330
- # Version specifiers can contain lowercase letters, digits, and hyphens. It
331
- # cannot begin with the prefix `ah-` and the names `default` and `latest` are
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 the scaling policy that App Engine has used since its
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
- # The instance class to use to run this app. Valid values for AutomaticScaling
365
- # are `[F1, F2, F4, F4_1G]`. Valid values for ManualScaling and BasicScaling are
366
- # `[B1, B2, B4, B8, B4_1G]`. Default: "F1" for AutomaticScaling, "B1" for
367
- # ManualScaling and BasicScaling
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
- # Used to specify extra network settings (for VM runtimes only).
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
- # Used to specify how many machine resources an app version needs.
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
- # The desired runtime. Values can include python27, java7, go, etc.
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
- # If true, multiple requests can be dispatched to the app at once.
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 app in a VM container.
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
- # Beta settings supplied to the application via metadata.
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
- # The App Engine execution environment to use for this version. Default: "1"
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
- # The current serving status of this version. Only `SERVING` versions will have
410
- # instances created or billed for. If this field is unset when a version is
411
- # created, `SERVING` status will be assumed. It is an error to explicitly set
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
- # The email address of the user who created this version. @OutputOnly
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
- # Creation time of this version. This will be between the start and end times of
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 Matching patterns that should be applied to incoming
434
- # requests. The first matching URL consumes the request, and subsequent handlers
435
- # are not attempted. Only returned in `GET` requests if `view=FULL` is set. May
436
- # only be set on create requests; once created, is immutable.
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 instead of these generic error pages, (limit 10 KB/
442
- # page) Only returned in `GET` requests if `view=FULL` is set. May only be set
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 third-party libraries required by the
449
- # application. Only returned in `GET` requests if `view=FULL` is set. May only
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
- # API Serving configuration for Cloud Endpoints.
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. May only be set on create requests; once
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
- # The length of time a static file served by a static file handler ought to be
468
- # cached by web proxies and browsers, if the handler does not specify its own
469
- # expiration. Only returned in `GET` requests if `view=FULL` is set. May only be
470
- # set on create requests; once created, is immutable.
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
- # Configure health checking for the VM instances. Unhealthy VM instances will be
476
- # killed and replaced with new instances.
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
- # Go only. Files that match this pattern will not be built into the app. May
482
- # only be set on create requests.
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 the scaling policy that App Engine has used since its
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
- # The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/
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
- # Applies only to the VM runtime.
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
- # The number of concurrent requests an automatic scaling instance can accept
547
- # before the scheduler spawns a new instance. Default value is chosen based on
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
- # The maximum number of idle instances that App Engine should maintain for this
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
- # Max number of instances that App Engine should start to handle requests.
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
- # The maximum amount of time that App Engine should allow a request to wait in
565
- # the pending queue before starting a new instance to handle it.
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
- # The minimum number of idle instances that App Engine should maintain for this
571
- # version. Only applies to the default version of a service, since other
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 App Engine should maintain.
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
- # The minimum amount of time that App Engine should allow a request to wait in
583
- # the pending queue before starting a new instance to handle it.
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 (for VM runtimes only).
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 (for VM runtimes only).
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 (for VM runtimes only).
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
- # The period of time over which CPU utilization is calculated.
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 (0-1) CPU utilization ratio to maintain when scaling.
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 (for VM runtimes only).
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 (for VM runtimes only).
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 written.
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 written.
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 read.
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 read.
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 (for VM runtimes only).
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 sent.
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 sent.
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 received.
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 received.
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
- # The instance will be shut down this amount of time after receiving its last
756
- # request.
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
- # The maximum number of instances for App Engine to create for this version.
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
- # The number of instances to assign to the service at the start. This number can
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
- # Used to specify extra network settings (for VM runtimes only).
793
+ # Extra network settings. Only applicable for VM runtimes.
800
794
  class Network
801
795
  include Google::Apis::Core::Hashable
802
796
 
803
- # A list of ports (or port pairs) to forward from the VM into the app container.
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
- # A tag to apply to the VM instance during creation.
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
- # The Google Compute Engine network where the VMs will be created. If not
814
- # specified, or empty, the network named "default" will be used. (The short name
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
- # Used to specify how many machine resources an app version needs.
826
+ # Machine resources for a version.
833
827
  class Resources
834
828
  include Google::Apis::Core::Hashable
835
829
 
836
- # How many CPU cores an app version needs.
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
- # How much disk size, in GB, an app version needs.
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
- # How much memory, in GB, an app version needs.
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
- # A URL pattern and description of how it should be handled. App Engine can
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 code, such as images, CSS or JavaScript.
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. This value uses regular expression syntax (and so regexp special
870
- # characters must be escaped), but it should not contain groupings. All URLs
871
- # that begin with this prefix are handled by this handler, using the portion of
872
- # the URL after the prefix as part of the file path. This is always required.
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
- # Use Google Cloud Endpoints to handle requests.
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
- # Configures whether security (HTTPS) should be enforced for this URL.
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
- # What level of login is required to access this resource.
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
- # For users not logged in, how to handle access to resources with required login.
905
- # Defaults to "redirect".
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. A `302` is
911
- # used by default.
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
- # The path to the static files matched by the URL pattern, from the application
940
- # root directory. The path can refer to text matched in groupings in the URL
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
- # A regular expression that matches the file paths for all files that will be
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
- # If specified, all files served by this handler will be served using the
958
- # specified MIME type. If not specified, the MIME type for a file will be
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
- # The length of time a static file served by this handler ought to be cached by
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
- # If true, this UrlMap entry does not match the request unless the file
971
- # referenced by the handler also exists. If no such file exists, processing will
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
- # By default, files declared in static file handlers are uploaded as static data
979
- # and are only served to end users, they cannot be read by an application. If
980
- # this field is set to true, the files are also uploaded as code data so your
981
- # application can read them. Both uploads are charged against your code and
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
- # Specifies the path to the script from the application root directory.
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
- # Use Google Cloud Endpoints to handle requests.
1012
+ # Uses Google Cloud Endpoints to handle requests.
1024
1013
  class ApiEndpointHandler
1025
1014
  include Google::Apis::Core::Hashable
1026
1015
 
1027
- # Specifies the path to the script from the application root directory.
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
- # A custom static error page to be served when an error occurs.
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
- # The error condition this handler applies to.
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. If unspecified, "text/html" is assumed.
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
- # A Python runtime third-party library required by the application.
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
- # The name of the library, e.g. "PIL" or "django".
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
- # The version of the library to select, or "latest".
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
- # API Serving configuration for Cloud Endpoints.
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
- # For users not logged in, how to handle access to resources with required login.
1103
- # Defaults to "redirect".
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
- # What level of login is required to access this resource. Default is "optional".
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
- # Specifies the path to the script from the application root directory.
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
- # Configures whether security (HTTPS) should be enforced for this URL.
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
- # Configure health checking for the VM instances. Unhealthy VM instances will be
1143
- # killed and replaced with new instances.
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
- # The host header to send when performing an HTTP health check (e.g. myapp.
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
- # The number of consecutive successful health checks before receiving traffic.
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
- # The number of consecutive failed health checks before removing traffic.
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
- # The number of consecutive failed health checks before an instance is restarted.
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
- # The interval between health checks.
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
- # The amount of time before the health check is considered failed.
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
- # A manifest of files stored in Google Cloud Storage which should be included as
1205
- # part of this application. All files must be readable using the credentials
1206
- # supplied with this call.
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
- # A Docker (container) image which should be used to start the application.
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
- # The origin of the source code for this deployment. There can be more than one
1217
- # source reference per Version if source code is distributed among multiple
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
- # A single source file which is part of the application to be deployed.
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
- # The URL source to use to fetch this file. Must be a URL to a resource in
1240
- # Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
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 (160 bits) hash of the file in hex.
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; if unspecified, the value from Google Cloud Storage
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
- # A Docker (container) image which should be used to start the application.
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
- # Reference to a hosted container image. Must be a URI to a resource in a Docker
1273
- # repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-
1274
- # project/image:tag or gcr.io/my-project/image@digest
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
- # A reference to a particular snapshot of the source tree used to build and
1290
- # deploy the application.
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
- # Optional. A URI string identifying the repository. Example: "https://source.
1295
- # developers.google.com/p/app-123/r/default"
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 (and persistent) identifier of the deployed revision, i.e. any
1301
- # kind of aliases including tags or branch names are not allowed. Example (git):
1302
- # "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
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 application service.
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 service is a logical component of an application that can share state and
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
- # The full path to the Service resource in the API. Example: "apps/myapp/
1353
- # services/default" @OutputOnly
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
- # The relative name/path of the service within the application. Example: "
1359
- # default" @OutputOnly
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
- # Configuration for traffic splitting for versions within a single service.
1365
- # Traffic splitting allows traffic directed to the service to be assigned to one
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
- # Configuration for traffic splitting for versions within a single service.
1385
- # Traffic splitting allows traffic directed to the service to be assigned to one
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
- # Which mechanism should be used as a selector when choosing a version to send a
1392
- # request to. The traffic selection algorithm will be stable for either type
1393
- # until allocations are changed.
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 service version IDs within the service to fractional (0.000, 1]
1399
- # allocations of traffic for that version. Each version may only be specified
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 in this field may not be deleted until
1402
- # the service is deleted, or their traffic allocation is removed. Allocations
1403
- # must sum to 1. Supports precision up to two decimal places for IP-based splits
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,111 +1431,89 @@ module Google
1442
1431
  end
1443
1432
  end
1444
1433
 
1445
- # Response message for `Instances.ListInstances`.
1446
- class ListInstancesResponse
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
- # The full path to the Instance resource in the API. Example: "apps/myapp/
1476
- # services/default/versions/v1/instances/instance-1" @OutputOnly
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
- # The relative name/path of the instance within the version. Example: "instance-
1482
- # 1" @OutputOnly
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
- # The App Engine release the instance is running on. @OutputOnly
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
- # For VMEngines instances, the name of GCE VM where the instance lives. @
1498
- # OutputOnly
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
- # For VMEngines instances, the zone where the GCE VM is located. @OutputOnly
1467
+ # Zone where the virtual machine is located. Only applicable for instances in
1468
+ # App Engine flexible environment. @OutputOnly
1504
1469
  # Corresponds to the JSON property `vmZoneName`
1505
1470
  # @return [String]
1506
1471
  attr_accessor :vm_zone_name
1507
1472
 
1508
- # For VMEngines instances, the GCE VM ID of the instance. @OutputOnly
1473
+ # Virtual machine ID of this instance. Only applicable for instances in App
1474
+ # Engine flexible environment. @OutputOnly
1509
1475
  # Corresponds to the JSON property `vmId`
1510
1476
  # @return [String]
1511
1477
  attr_accessor :vm_id
1512
1478
 
1513
- # Time when instance was started. @OutputOnly
1479
+ # Time that this instance was started. @OutputOnly
1514
1480
  # Corresponds to the JSON property `startTimestamp`
1515
1481
  # @return [String]
1516
1482
  attr_accessor :start_timestamp
1517
1483
 
1518
- # Number of requests (since the clone was started). @OutputOnly
1484
+ # Number of requests since this instance was started. @OutputOnly
1519
1485
  # Corresponds to the JSON property `requests`
1520
1486
  # @return [Fixnum]
1521
1487
  attr_accessor :requests
1522
1488
 
1523
- # Number of errors since the instance was started. @OutputOnly
1489
+ # Number of errors since this instance was started. @OutputOnly
1524
1490
  # Corresponds to the JSON property `errors`
1525
1491
  # @return [Fixnum]
1526
1492
  attr_accessor :errors
1527
1493
 
1528
- # QPS for this instance (averaged over the last minute). @OutputOnly
1494
+ # Average queries per second (QPS) over the last minute. @OutputOnly
1529
1495
  # Corresponds to the JSON property `qps`
1530
1496
  # @return [Float]
1531
1497
  attr_accessor :qps
1532
1498
 
1533
- # Latency in milliseconds (averaged over the last minute). @OutputOnly
1499
+ # Average latency (ms) over the last minute. @OutputOnly
1534
1500
  # Corresponds to the JSON property `averageLatency`
1535
1501
  # @return [Fixnum]
1536
1502
  attr_accessor :average_latency
1537
1503
 
1538
- # Memory usage (in bytes). @OutputOnly
1504
+ # Total memory in use (bytes). @OutputOnly
1539
1505
  # Corresponds to the JSON property `memoryUsage`
1540
1506
  # @return [String]
1541
1507
  attr_accessor :memory_usage
1542
1508
 
1543
- # For VMEngines instances, the status of GCE VM where the instance lives. @
1544
- # OutputOnly
1509
+ # Status of the virtual machine where this instance lives. Only applicable for
1510
+ # instances in App Engine flexible environment. @OutputOnly
1545
1511
  # Corresponds to the JSON property `vmStatus`
1546
1512
  # @return [String]
1547
1513
  attr_accessor :vm_status
1548
1514
 
1549
- # For VMEngines instances, whether the instance has been unlocked. @OutputOnly
1515
+ # Whether this instance is in debug mode. Only applicable for instances in App
1516
+ # Engine flexible environment. @OutputOnly
1550
1517
  # Corresponds to the JSON property `vmUnlocked`
1551
1518
  # @return [Boolean]
1552
1519
  attr_accessor :vm_unlocked
@@ -1576,40 +1543,142 @@ module Google
1576
1543
  end
1577
1544
  end
1578
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
+
1579
1649
  # Metadata for the given google.longrunning.Operation.
1580
1650
  class OperationMetadata
1581
1651
  include Google::Apis::Core::Hashable
1582
1652
 
1583
- # The type of the operation (deprecated, use method field instead). Example: "
1653
+ # Type of this operation. Deprecated, use method field instead. Example: "
1584
1654
  # create_version". @OutputOnly
1585
1655
  # Corresponds to the JSON property `operationType`
1586
1656
  # @return [String]
1587
1657
  attr_accessor :operation_type
1588
1658
 
1589
- # Timestamp that this operation was received. @OutputOnly
1659
+ # Timestamp that this operation was created. @OutputOnly
1590
1660
  # Corresponds to the JSON property `insertTime`
1591
1661
  # @return [String]
1592
1662
  attr_accessor :insert_time
1593
1663
 
1594
- # Timestamp that this operation was completed. (Not present if the operation is
1595
- # still in progress.) @OutputOnly
1664
+ # Timestamp that this operation completed. @OutputOnly
1596
1665
  # Corresponds to the JSON property `endTime`
1597
1666
  # @return [String]
1598
1667
  attr_accessor :end_time
1599
1668
 
1600
- # The user who requested this operation. @OutputOnly
1669
+ # User who requested this operation. @OutputOnly
1601
1670
  # Corresponds to the JSON property `user`
1602
1671
  # @return [String]
1603
1672
  attr_accessor :user
1604
1673
 
1605
- # Resource that this operation is acting on. Example: "apps/myapp/modules/
1606
- # default". @OutputOnly
1674
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1675
+ # modules/default`. @OutputOnly
1607
1676
  # Corresponds to the JSON property `target`
1608
1677
  # @return [String]
1609
1678
  attr_accessor :target
1610
1679
 
1611
- # API method name that initiated the operation. Example: "google.appengine.
1612
- # v1beta4.Version.CreateVersion". @OutputOnly
1680
+ # API method that initiated this operation. Example: `google.appengine.v1beta4.
1681
+ # Version.CreateVersion`. @OutputOnly
1613
1682
  # Corresponds to the JSON property `method`
1614
1683
  # @return [String]
1615
1684
  attr_accessor :method_prop
@@ -1633,30 +1702,29 @@ module Google
1633
1702
  class OperationMetadataV1Beta5
1634
1703
  include Google::Apis::Core::Hashable
1635
1704
 
1636
- # API method name that initiated the operation. Example: "google.appengine.
1637
- # v1beta5.Version.CreateVersion". @OutputOnly
1705
+ # API method name that initiated this operation. Example: `google.appengine.
1706
+ # v1beta5.Version.CreateVersion`. @OutputOnly
1638
1707
  # Corresponds to the JSON property `method`
1639
1708
  # @return [String]
1640
1709
  attr_accessor :method_prop
1641
1710
 
1642
- # Timestamp that this operation was received. @OutputOnly
1711
+ # Timestamp that this operation was created. @OutputOnly
1643
1712
  # Corresponds to the JSON property `insertTime`
1644
1713
  # @return [String]
1645
1714
  attr_accessor :insert_time
1646
1715
 
1647
- # Timestamp that this operation was completed. (Not present if the operation is
1648
- # still in progress.) @OutputOnly
1716
+ # Timestamp that this operation completed. @OutputOnly
1649
1717
  # Corresponds to the JSON property `endTime`
1650
1718
  # @return [String]
1651
1719
  attr_accessor :end_time
1652
1720
 
1653
- # The user who requested this operation. @OutputOnly
1721
+ # User who requested this operation. @OutputOnly
1654
1722
  # Corresponds to the JSON property `user`
1655
1723
  # @return [String]
1656
1724
  attr_accessor :user
1657
1725
 
1658
- # Resource that this operation is acting on. Example: "apps/myapp/services/
1659
- # default". @OutputOnly
1726
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1727
+ # services/default`. @OutputOnly
1660
1728
  # Corresponds to the JSON property `target`
1661
1729
  # @return [String]
1662
1730
  attr_accessor :target
@@ -1674,6 +1742,80 @@ module Google
1674
1742
  @target = args[:target] if args.key?(:target)
1675
1743
  end
1676
1744
  end
1745
+
1746
+ # Metadata for the given google.longrunning.Operation.
1747
+ class OperationMetadataV1
1748
+ include Google::Apis::Core::Hashable
1749
+
1750
+ # API method that initiated this operation. Example: `google.appengine.v1.
1751
+ # Versions.CreateVersion`. @OutputOnly
1752
+ # Corresponds to the JSON property `method`
1753
+ # @return [String]
1754
+ attr_accessor :method_prop
1755
+
1756
+ # Time that this operation was created. @OutputOnly
1757
+ # Corresponds to the JSON property `insertTime`
1758
+ # @return [String]
1759
+ attr_accessor :insert_time
1760
+
1761
+ # Time that this operation completed. @OutputOnly
1762
+ # Corresponds to the JSON property `endTime`
1763
+ # @return [String]
1764
+ attr_accessor :end_time
1765
+
1766
+ # User who requested this operation. @OutputOnly
1767
+ # Corresponds to the JSON property `user`
1768
+ # @return [String]
1769
+ attr_accessor :user
1770
+
1771
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1772
+ # services/default`. @OutputOnly
1773
+ # Corresponds to the JSON property `target`
1774
+ # @return [String]
1775
+ attr_accessor :target
1776
+
1777
+ def initialize(**args)
1778
+ update!(**args)
1779
+ end
1780
+
1781
+ # Update properties of this object
1782
+ def update!(**args)
1783
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1784
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1785
+ @end_time = args[:end_time] if args.key?(:end_time)
1786
+ @user = args[:user] if args.key?(:user)
1787
+ @target = args[:target] if args.key?(:target)
1788
+ end
1789
+ end
1790
+
1791
+ # Metadata for the given google.cloud.location.Location.
1792
+ class LocationMetadata
1793
+ include Google::Apis::Core::Hashable
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
+
1809
+ def initialize(**args)
1810
+ update!(**args)
1811
+ end
1812
+
1813
+ # Update properties of this object
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)
1817
+ end
1818
+ end
1677
1819
  end
1678
1820
  end
1679
1821
  end