google-api-client 0.9.8 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +63 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  20. data/generated/google/apis/admin_reports_v1.rb +3 -3
  21. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  22. data/generated/google/apis/adsense_v1_4.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  26. data/generated/google/apis/analytics_v3.rb +1 -1
  27. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  28. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  29. data/generated/google/apis/analytics_v3/service.rb +217 -0
  30. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  31. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
  38. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  39. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
  43. data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  46. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  47. data/generated/google/apis/appstate_v1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +277 -20
  50. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  51. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  52. data/generated/google/apis/books_v1.rb +2 -2
  53. data/generated/google/apis/books_v1/classes.rb +79 -1
  54. data/generated/google/apis/books_v1/representations.rb +34 -0
  55. data/generated/google/apis/books_v1/service.rb +7 -3
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/civicinfo_v2.rb +3 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  59. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  61. data/generated/google/apis/classroom_v1.rb +1 -1
  62. data/generated/google/apis/classroom_v1/classes.rb +183 -37
  63. data/generated/google/apis/classroom_v1/representations.rb +74 -9
  64. data/generated/google/apis/classroom_v1/service.rb +403 -38
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
  68. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  69. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  70. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  71. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
  74. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
  75. data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
  76. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +2299 -434
  82. data/generated/google/apis/compute_beta/representations.rb +752 -33
  83. data/generated/google/apis/compute_beta/service.rb +6067 -3153
  84. data/generated/google/apis/compute_v1.rb +1 -1
  85. data/generated/google/apis/compute_v1/classes.rb +1681 -207
  86. data/generated/google/apis/compute_v1/representations.rb +552 -0
  87. data/generated/google/apis/compute_v1/service.rb +2797 -1171
  88. data/generated/google/apis/content_v2.rb +1 -1
  89. data/generated/google/apis/content_v2/classes.rb +757 -1
  90. data/generated/google/apis/content_v2/representations.rb +337 -0
  91. data/generated/google/apis/content_v2/service.rb +244 -0
  92. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  93. data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
  94. data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
  95. data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
  96. data/generated/google/apis/dataproc_v1.rb +2 -2
  97. data/generated/google/apis/dataproc_v1/classes.rb +213 -68
  98. data/generated/google/apis/dataproc_v1/representations.rb +38 -0
  99. data/generated/google/apis/dataproc_v1/service.rb +78 -48
  100. data/generated/google/apis/datastore_v1.rb +38 -0
  101. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  102. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  103. data/generated/google/apis/datastore_v1/service.rb +259 -0
  104. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  105. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  106. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  107. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  111. data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
  112. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  113. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  114. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  115. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  116. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  117. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  118. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  119. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +1 -1
  122. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  123. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  124. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +27 -3
  129. data/generated/google/apis/drive_v2/representations.rb +4 -0
  130. data/generated/google/apis/drive_v2/service.rb +16 -3
  131. data/generated/google/apis/drive_v3.rb +1 -1
  132. data/generated/google/apis/drive_v3/classes.rb +50 -16
  133. data/generated/google/apis/drive_v3/representations.rb +4 -0
  134. data/generated/google/apis/drive_v3/service.rb +12 -2
  135. data/generated/google/apis/fitness_v1.rb +8 -2
  136. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  137. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  138. data/generated/google/apis/fitness_v1/service.rb +17 -18
  139. data/generated/google/apis/fusiontables_v2.rb +1 -1
  140. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_management_v1management.rb +1 -1
  143. data/generated/google/apis/games_v1.rb +1 -1
  144. data/generated/google/apis/genomics_v1.rb +2 -4
  145. data/generated/google/apis/genomics_v1/classes.rb +143 -34
  146. data/generated/google/apis/genomics_v1/representations.rb +48 -11
  147. data/generated/google/apis/genomics_v1/service.rb +35 -37
  148. data/generated/google/apis/gmail_v1.rb +10 -1
  149. data/generated/google/apis/gmail_v1/classes.rb +542 -4
  150. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  151. data/generated/google/apis/gmail_v1/service.rb +898 -1
  152. data/generated/google/apis/groupssettings_v1.rb +1 -1
  153. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  154. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  155. data/generated/google/apis/iam_v1.rb +2 -2
  156. data/generated/google/apis/iam_v1/classes.rb +181 -206
  157. data/generated/google/apis/iam_v1/representations.rb +36 -45
  158. data/generated/google/apis/iam_v1/service.rb +101 -67
  159. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  160. data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
  161. data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
  162. data/generated/google/apis/language_v1beta1.rb +36 -0
  163. data/generated/google/apis/language_v1beta1/classes.rb +599 -0
  164. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  165. data/generated/google/apis/language_v1beta1/service.rb +152 -0
  166. data/generated/google/apis/logging_v2beta1.rb +6 -6
  167. data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
  168. data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
  169. data/generated/google/apis/logging_v2beta1/service.rb +290 -209
  170. data/generated/google/apis/mirror_v1.rb +2 -2
  171. data/generated/google/apis/mirror_v1/service.rb +1 -1
  172. data/generated/google/apis/monitoring_v3.rb +45 -0
  173. data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
  174. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  175. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  176. data/generated/google/apis/oauth2_v2.rb +1 -1
  177. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  178. data/generated/google/apis/plus_domains_v1.rb +1 -1
  179. data/generated/google/apis/plus_v1.rb +1 -1
  180. data/generated/google/apis/pubsub_v1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  182. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  183. data/generated/google/apis/qpx_express_v1.rb +1 -1
  184. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  185. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  186. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  187. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  188. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  189. data/generated/google/apis/script_v1.rb +1 -1
  190. data/generated/google/apis/script_v1/classes.rb +6 -0
  191. data/generated/google/apis/script_v1/representations.rb +1 -0
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +910 -89
  194. data/generated/google/apis/sheets_v4/representations.rb +194 -10
  195. data/generated/google/apis/sheets_v4/service.rb +216 -49
  196. data/generated/google/apis/slides_v1.rb +49 -0
  197. data/generated/google/apis/slides_v1/classes.rb +3926 -0
  198. data/generated/google/apis/slides_v1/representations.rb +1722 -0
  199. data/generated/google/apis/slides_v1/service.rb +202 -0
  200. data/generated/google/apis/speech_v1beta1.rb +34 -0
  201. data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
  202. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  203. data/generated/google/apis/speech_v1beta1/service.rb +271 -0
  204. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  205. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
  206. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  207. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  208. data/generated/google/apis/storage_v1.rb +1 -1
  209. data/generated/google/apis/storage_v1/classes.rb +43 -18
  210. data/generated/google/apis/storage_v1/representations.rb +4 -1
  211. data/generated/google/apis/storage_v1/service.rb +5 -2
  212. data/generated/google/apis/translate_v2.rb +2 -2
  213. data/generated/google/apis/translate_v2/service.rb +1 -1
  214. data/generated/google/apis/vision_v1.rb +1 -1
  215. data/generated/google/apis/vision_v1/classes.rb +12 -11
  216. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  217. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  218. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  219. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  220. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  221. data/generated/google/apis/youtube_v3.rb +1 -1
  222. data/generated/google/apis/youtube_v3/classes.rb +183 -21
  223. data/generated/google/apis/youtube_v3/representations.rb +85 -4
  224. data/generated/google/apis/youtube_v3/service.rb +41 -5
  225. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  226. data/google-api-client.gemspec +2 -1
  227. data/lib/google/apis/core/api_command.rb +4 -0
  228. data/lib/google/apis/core/base_service.rb +10 -4
  229. data/lib/google/apis/core/download.rb +7 -2
  230. data/lib/google/apis/core/http_command.rb +5 -1
  231. data/lib/google/apis/core/upload.rb +7 -1
  232. data/lib/google/apis/errors.rb +2 -2
  233. data/lib/google/apis/generator/annotator.rb +6 -0
  234. data/lib/google/apis/version.rb +1 -1
  235. data/samples/cli/lib/samples/bigquery.rb +101 -0
  236. data/samples/cli/lib/samples/sheets.rb +61 -0
  237. data/sync.rb +71 -0
  238. metadata +55 -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 = '20161017'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -277,6 +277,44 @@ module Google
277
277
  end
278
278
  end
279
279
 
280
+ # Represents a deobfuscation file.
281
+ class DeobfuscationFile
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # The type of the deobfuscation file.
285
+ # Corresponds to the JSON property `symbolType`
286
+ # @return [String]
287
+ attr_accessor :symbol_type
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @symbol_type = args[:symbol_type] if args.key?(:symbol_type)
296
+ end
297
+ end
298
+
299
+ #
300
+ class DeobfuscationFilesUploadResponse
301
+ include Google::Apis::Core::Hashable
302
+
303
+ # Represents a deobfuscation file.
304
+ # Corresponds to the JSON property `deobfuscationFile`
305
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFile]
306
+ attr_accessor :deobfuscation_file
307
+
308
+ def initialize(**args)
309
+ update!(**args)
310
+ end
311
+
312
+ # Update properties of this object
313
+ def update!(**args)
314
+ @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file)
315
+ end
316
+ end
317
+
280
318
  #
281
319
  class DeveloperComment
282
320
  include Google::Apis::Core::Hashable
@@ -1373,8 +1411,9 @@ module Google
1373
1411
  class SubscriptionDeferralInfo
1374
1412
  include Google::Apis::Core::Hashable
1375
1413
 
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.
1414
+ # The desired next expiry time to assign to the subscription, in milliseconds
1415
+ # since the Epoch. The given time must be later/greater than the current expiry
1416
+ # time for the subscription.
1378
1417
  # Corresponds to the JSON property `desiredExpiryTimeMillis`
1379
1418
  # @return [String]
1380
1419
  attr_accessor :desired_expiry_time_millis
@@ -1408,8 +1447,8 @@ module Google
1408
1447
  attr_accessor :auto_renewing
1409
1448
  alias_method :auto_renewing?, :auto_renewing
1410
1449
 
1411
- # The cancel reason of the subscription, if the subscription is not auto
1412
- # renewing. Possible values are:
1450
+ # The reason why a subscription was cancelled or is not auto-renewing. Possible
1451
+ # values are:
1413
1452
  # - User cancelled the subscription
1414
1453
  # - Subscription was cancelled by the system, for example because of a billing
1415
1454
  # problem
@@ -1429,7 +1468,7 @@ module Google
1429
1468
  # @return [String]
1430
1469
  attr_accessor :developer_payload
1431
1470
 
1432
- # Time at which the subscription will expire, in milliseconds since Epoch.
1471
+ # Time at which the subscription will expire, in milliseconds since the Epoch.
1433
1472
  # Corresponds to the JSON property `expiryTimeMillis`
1434
1473
  # @return [String]
1435
1474
  attr_accessor :expiry_time_millis
@@ -1448,8 +1487,8 @@ module Google
1448
1487
  attr_accessor :payment_state
1449
1488
 
1450
1489
  # 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.
1490
+ # units, where 1,000,000 micro-units represents one unit of the currency. For
1491
+ # example, if the subscription price is €1.99, price_amount_micros is 1990000.
1453
1492
  # Corresponds to the JSON property `priceAmountMicros`
1454
1493
  # @return [String]
1455
1494
  attr_accessor :price_amount_micros
@@ -1460,7 +1499,7 @@ module Google
1460
1499
  # @return [String]
1461
1500
  attr_accessor :price_currency_code
1462
1501
 
1463
- # Time at which the subscription was granted, in milliseconds since Epoch.
1502
+ # Time at which the subscription was granted, in milliseconds since the Epoch.
1464
1503
  # Corresponds to the JSON property `startTimeMillis`
1465
1504
  # @return [String]
1466
1505
  attr_accessor :start_time_millis
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class DeobfuscationFile
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeobfuscationFilesUploadResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class DeveloperComment
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -438,6 +450,21 @@ module Google
438
450
  end
439
451
  end
440
452
 
453
+ class DeobfuscationFile
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :symbol_type, as: 'symbolType'
457
+ end
458
+ end
459
+
460
+ class DeobfuscationFilesUploadResponse
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV2::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV2::DeobfuscationFile::Representation
464
+
465
+ end
466
+ end
467
+
441
468
  class DeveloperComment
442
469
  # @private
443
470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -660,6 +660,61 @@ module Google
660
660
  execute_or_queue_command(command, &block)
661
661
  end
662
662
 
663
+ # Uploads the deobfuscation file of the specified APK. If a deobfuscation file
664
+ # already exists, it will be replaced.
665
+ # @param [String] package_name
666
+ # Unique identifier of the Android app for which the deobfuscatiuon files are
667
+ # being uploaded; for example, "com.spiffygame".
668
+ # @param [String] edit_id
669
+ # Unique identifier for this edit.
670
+ # @param [Fixnum] apk_version_code
671
+ # The version code of the APK whose deobfuscation file is being uploaded.
672
+ # @param [String] deobfuscation_file_type
673
+ # @param [String] fields
674
+ # Selector specifying which fields to include in a partial response.
675
+ # @param [String] quota_user
676
+ # Available to use for quota purposes for server-side applications. Can be any
677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
678
+ # Overrides userIp if both are provided.
679
+ # @param [String] user_ip
680
+ # IP address of the site where the request originates. Use this if you want to
681
+ # enforce per-user limits.
682
+ # @param [IO, String] upload_source
683
+ # IO stream or filename containing content to upload
684
+ # @param [String] content_type
685
+ # Content type of the uploaded content.
686
+ # @param [Google::Apis::RequestOptions] options
687
+ # Request-specific options
688
+ #
689
+ # @yield [result, err] Result & error if block supplied
690
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] parsed result object
691
+ # @yieldparam err [StandardError] error object if request failed
692
+ #
693
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse]
694
+ #
695
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
696
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
697
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
698
+ def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
699
+ if upload_source.nil?
700
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
701
+ else
702
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
703
+ command.upload_source = upload_source
704
+ command.upload_content_type = content_type
705
+ end
706
+ command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation
707
+ command.response_class = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
708
+ command.params['packageName'] = package_name unless package_name.nil?
709
+ command.params['editId'] = edit_id unless edit_id.nil?
710
+ command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
711
+ command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil?
712
+ command.query['fields'] = fields unless fields.nil?
713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
714
+ command.query['userIp'] = user_ip unless user_ip.nil?
715
+ execute_or_queue_command(command, &block)
716
+ end
717
+
663
718
  # Fetches app details for this edit. This includes the default language and
664
719
  # developer support contact information.
665
720
  # @param [String] package_name
@@ -25,10 +25,16 @@ 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 = '20161101'
29
+
30
+ # View and manage your applications deployed on Google App Engine
31
+ AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
29
32
 
30
33
  # View and manage your data across Google Cloud Platform services
31
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
+
36
+ # View your data across Google Cloud Platform services
37
+ AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
32
38
  end
33
39
  end
34
40
  end
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module AppengineV1beta5
24
24
 
25
+ # The response message for Operations.ListOperations.
26
+ class ListOperationsResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A list of operations that matches the specified filter in the request.
30
+ # Corresponds to the JSON property `operations`
31
+ # @return [Array<Google::Apis::AppengineV1beta5::Operation>]
32
+ attr_accessor :operations
33
+
34
+ # The standard List next-page token.
35
+ # Corresponds to the JSON property `nextPageToken`
36
+ # @return [String]
37
+ attr_accessor :next_page_token
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @operations = args[:operations] if args.key?(:operations)
46
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
47
+ end
48
+ end
49
+
25
50
  # This resource represents a long-running operation that is the result of a
26
51
  # network API call.
27
52
  class Operation
@@ -175,88 +200,63 @@ module Google
175
200
  end
176
201
  end
177
202
 
178
- # The response message for Operations.ListOperations.
179
- class ListOperationsResponse
180
- include Google::Apis::Core::Hashable
181
-
182
- # A list of operations that matches the specified filter in the request.
183
- # Corresponds to the JSON property `operations`
184
- # @return [Array<Google::Apis::AppengineV1beta5::Operation>]
185
- attr_accessor :operations
186
-
187
- # The standard List next-page token.
188
- # Corresponds to the JSON property `nextPageToken`
189
- # @return [String]
190
- attr_accessor :next_page_token
191
-
192
- def initialize(**args)
193
- update!(**args)
194
- end
195
-
196
- # Update properties of this object
197
- def update!(**args)
198
- @operations = args[:operations] if args.key?(:operations)
199
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
200
- end
201
- end
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,116 +1431,100 @@ 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
1553
1520
  alias_method :vm_unlocked?, :vm_unlocked
1554
1521
 
1522
+ # The IP address of this instance. Only applicable for instances in App Engine
1523
+ # flexible environment. @OutputOnly
1524
+ # Corresponds to the JSON property `vmIp`
1525
+ # @return [String]
1526
+ attr_accessor :vm_ip
1527
+
1555
1528
  def initialize(**args)
1556
1529
  update!(**args)
1557
1530
  end
@@ -1573,6 +1546,164 @@ module Google
1573
1546
  @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1574
1547
  @vm_status = args[:vm_status] if args.key?(:vm_status)
1575
1548
  @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked)
1549
+ @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
1550
+ end
1551
+ end
1552
+
1553
+ # Response message for `Instances.ListInstances`.
1554
+ class ListInstancesResponse
1555
+ include Google::Apis::Core::Hashable
1556
+
1557
+ # The instances belonging to the requested version.
1558
+ # Corresponds to the JSON property `instances`
1559
+ # @return [Array<Google::Apis::AppengineV1beta5::Instance>]
1560
+ attr_accessor :instances
1561
+
1562
+ # Continuation token for fetching the next page of results.
1563
+ # Corresponds to the JSON property `nextPageToken`
1564
+ # @return [String]
1565
+ attr_accessor :next_page_token
1566
+
1567
+ def initialize(**args)
1568
+ update!(**args)
1569
+ end
1570
+
1571
+ # Update properties of this object
1572
+ def update!(**args)
1573
+ @instances = args[:instances] if args.key?(:instances)
1574
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1575
+ end
1576
+ end
1577
+
1578
+ # Request message for `Instances.DebugInstance`.
1579
+ class DebugInstanceRequest
1580
+ include Google::Apis::Core::Hashable
1581
+
1582
+ # Public SSH key to add to the instance. Example: `[USERNAME]:ssh-rsa KEY_VALUE`
1583
+ # or `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]","
1584
+ # expireOn":"[EXPIRE_TIME]"`` For more information, see [Adding and Removing SSH
1585
+ # Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
1586
+ # Corresponds to the JSON property `sshKey`
1587
+ # @return [String]
1588
+ attr_accessor :ssh_key
1589
+
1590
+ def initialize(**args)
1591
+ update!(**args)
1592
+ end
1593
+
1594
+ # Update properties of this object
1595
+ def update!(**args)
1596
+ @ssh_key = args[:ssh_key] if args.key?(:ssh_key)
1597
+ end
1598
+ end
1599
+
1600
+ # The response message for LocationService.ListLocations.
1601
+ class ListLocationsResponse
1602
+ include Google::Apis::Core::Hashable
1603
+
1604
+ # A list of locations that matches the specified filter in the request.
1605
+ # Corresponds to the JSON property `locations`
1606
+ # @return [Array<Google::Apis::AppengineV1beta5::Location>]
1607
+ attr_accessor :locations
1608
+
1609
+ # The standard List next-page token.
1610
+ # Corresponds to the JSON property `nextPageToken`
1611
+ # @return [String]
1612
+ attr_accessor :next_page_token
1613
+
1614
+ def initialize(**args)
1615
+ update!(**args)
1616
+ end
1617
+
1618
+ # Update properties of this object
1619
+ def update!(**args)
1620
+ @locations = args[:locations] if args.key?(:locations)
1621
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1622
+ end
1623
+ end
1624
+
1625
+ # A resource that represents Google Cloud Platform location.
1626
+ class Location
1627
+ include Google::Apis::Core::Hashable
1628
+
1629
+ # Resource name for the location, which may vary between implementations. For
1630
+ # example: `"projects/example-project/locations/us-east1"`
1631
+ # Corresponds to the JSON property `name`
1632
+ # @return [String]
1633
+ attr_accessor :name
1634
+
1635
+ # The canonical id for this location. For example: `"us-east1"`.
1636
+ # Corresponds to the JSON property `locationId`
1637
+ # @return [String]
1638
+ attr_accessor :location_id
1639
+
1640
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1641
+ # region": "us-east1"`
1642
+ # Corresponds to the JSON property `labels`
1643
+ # @return [Hash<String,String>]
1644
+ attr_accessor :labels
1645
+
1646
+ # Service-specific metadata. For example the available capacity at the given
1647
+ # location.
1648
+ # Corresponds to the JSON property `metadata`
1649
+ # @return [Hash<String,Object>]
1650
+ attr_accessor :metadata
1651
+
1652
+ def initialize(**args)
1653
+ update!(**args)
1654
+ end
1655
+
1656
+ # Update properties of this object
1657
+ def update!(**args)
1658
+ @name = args[:name] if args.key?(:name)
1659
+ @location_id = args[:location_id] if args.key?(:location_id)
1660
+ @labels = args[:labels] if args.key?(:labels)
1661
+ @metadata = args[:metadata] if args.key?(:metadata)
1662
+ end
1663
+ end
1664
+
1665
+ # Metadata for the given google.longrunning.Operation.
1666
+ class OperationMetadataExperimental
1667
+ include Google::Apis::Core::Hashable
1668
+
1669
+ # API method that initiated this operation. Example: `google.appengine.
1670
+ # experimental.CustomDomains.CreateCustomDomain`. @OutputOnly
1671
+ # Corresponds to the JSON property `method`
1672
+ # @return [String]
1673
+ attr_accessor :method_prop
1674
+
1675
+ # Time that this operation was created. @OutputOnly
1676
+ # Corresponds to the JSON property `insertTime`
1677
+ # @return [String]
1678
+ attr_accessor :insert_time
1679
+
1680
+ # Time that this operation completed. @OutputOnly
1681
+ # Corresponds to the JSON property `endTime`
1682
+ # @return [String]
1683
+ attr_accessor :end_time
1684
+
1685
+ # User who requested this operation. @OutputOnly
1686
+ # Corresponds to the JSON property `user`
1687
+ # @return [String]
1688
+ attr_accessor :user
1689
+
1690
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1691
+ # customDomains/example.com`. @OutputOnly
1692
+ # Corresponds to the JSON property `target`
1693
+ # @return [String]
1694
+ attr_accessor :target
1695
+
1696
+ def initialize(**args)
1697
+ update!(**args)
1698
+ end
1699
+
1700
+ # Update properties of this object
1701
+ def update!(**args)
1702
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1703
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1704
+ @end_time = args[:end_time] if args.key?(:end_time)
1705
+ @user = args[:user] if args.key?(:user)
1706
+ @target = args[:target] if args.key?(:target)
1576
1707
  end
1577
1708
  end
1578
1709
 
@@ -1580,36 +1711,35 @@ module Google
1580
1711
  class OperationMetadata
1581
1712
  include Google::Apis::Core::Hashable
1582
1713
 
1583
- # The type of the operation (deprecated, use method field instead). Example: "
1714
+ # Type of this operation. Deprecated, use method field instead. Example: "
1584
1715
  # create_version". @OutputOnly
1585
1716
  # Corresponds to the JSON property `operationType`
1586
1717
  # @return [String]
1587
1718
  attr_accessor :operation_type
1588
1719
 
1589
- # Timestamp that this operation was received. @OutputOnly
1720
+ # Timestamp that this operation was created. @OutputOnly
1590
1721
  # Corresponds to the JSON property `insertTime`
1591
1722
  # @return [String]
1592
1723
  attr_accessor :insert_time
1593
1724
 
1594
- # Timestamp that this operation was completed. (Not present if the operation is
1595
- # still in progress.) @OutputOnly
1725
+ # Timestamp that this operation completed. @OutputOnly
1596
1726
  # Corresponds to the JSON property `endTime`
1597
1727
  # @return [String]
1598
1728
  attr_accessor :end_time
1599
1729
 
1600
- # The user who requested this operation. @OutputOnly
1730
+ # User who requested this operation. @OutputOnly
1601
1731
  # Corresponds to the JSON property `user`
1602
1732
  # @return [String]
1603
1733
  attr_accessor :user
1604
1734
 
1605
- # Resource that this operation is acting on. Example: "apps/myapp/modules/
1606
- # default". @OutputOnly
1735
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1736
+ # modules/default`. @OutputOnly
1607
1737
  # Corresponds to the JSON property `target`
1608
1738
  # @return [String]
1609
1739
  attr_accessor :target
1610
1740
 
1611
- # API method name that initiated the operation. Example: "google.appengine.
1612
- # v1beta4.Version.CreateVersion". @OutputOnly
1741
+ # API method that initiated this operation. Example: `google.appengine.v1beta4.
1742
+ # Version.CreateVersion`. @OutputOnly
1613
1743
  # Corresponds to the JSON property `method`
1614
1744
  # @return [String]
1615
1745
  attr_accessor :method_prop
@@ -1633,30 +1763,29 @@ module Google
1633
1763
  class OperationMetadataV1Beta5
1634
1764
  include Google::Apis::Core::Hashable
1635
1765
 
1636
- # API method name that initiated the operation. Example: "google.appengine.
1637
- # v1beta5.Version.CreateVersion". @OutputOnly
1766
+ # API method name that initiated this operation. Example: `google.appengine.
1767
+ # v1beta5.Version.CreateVersion`. @OutputOnly
1638
1768
  # Corresponds to the JSON property `method`
1639
1769
  # @return [String]
1640
1770
  attr_accessor :method_prop
1641
1771
 
1642
- # Timestamp that this operation was received. @OutputOnly
1772
+ # Timestamp that this operation was created. @OutputOnly
1643
1773
  # Corresponds to the JSON property `insertTime`
1644
1774
  # @return [String]
1645
1775
  attr_accessor :insert_time
1646
1776
 
1647
- # Timestamp that this operation was completed. (Not present if the operation is
1648
- # still in progress.) @OutputOnly
1777
+ # Timestamp that this operation completed. @OutputOnly
1649
1778
  # Corresponds to the JSON property `endTime`
1650
1779
  # @return [String]
1651
1780
  attr_accessor :end_time
1652
1781
 
1653
- # The user who requested this operation. @OutputOnly
1782
+ # User who requested this operation. @OutputOnly
1654
1783
  # Corresponds to the JSON property `user`
1655
1784
  # @return [String]
1656
1785
  attr_accessor :user
1657
1786
 
1658
- # Resource that this operation is acting on. Example: "apps/myapp/services/
1659
- # default". @OutputOnly
1787
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1788
+ # services/default`. @OutputOnly
1660
1789
  # Corresponds to the JSON property `target`
1661
1790
  # @return [String]
1662
1791
  attr_accessor :target
@@ -1674,6 +1803,80 @@ module Google
1674
1803
  @target = args[:target] if args.key?(:target)
1675
1804
  end
1676
1805
  end
1806
+
1807
+ # Metadata for the given google.longrunning.Operation.
1808
+ class OperationMetadataV1
1809
+ include Google::Apis::Core::Hashable
1810
+
1811
+ # API method that initiated this operation. Example: `google.appengine.v1.
1812
+ # Versions.CreateVersion`. @OutputOnly
1813
+ # Corresponds to the JSON property `method`
1814
+ # @return [String]
1815
+ attr_accessor :method_prop
1816
+
1817
+ # Time that this operation was created. @OutputOnly
1818
+ # Corresponds to the JSON property `insertTime`
1819
+ # @return [String]
1820
+ attr_accessor :insert_time
1821
+
1822
+ # Time that this operation completed. @OutputOnly
1823
+ # Corresponds to the JSON property `endTime`
1824
+ # @return [String]
1825
+ attr_accessor :end_time
1826
+
1827
+ # User who requested this operation. @OutputOnly
1828
+ # Corresponds to the JSON property `user`
1829
+ # @return [String]
1830
+ attr_accessor :user
1831
+
1832
+ # Name of the resource that this operation is acting on. Example: `apps/myapp/
1833
+ # services/default`. @OutputOnly
1834
+ # Corresponds to the JSON property `target`
1835
+ # @return [String]
1836
+ attr_accessor :target
1837
+
1838
+ def initialize(**args)
1839
+ update!(**args)
1840
+ end
1841
+
1842
+ # Update properties of this object
1843
+ def update!(**args)
1844
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
1845
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1846
+ @end_time = args[:end_time] if args.key?(:end_time)
1847
+ @user = args[:user] if args.key?(:user)
1848
+ @target = args[:target] if args.key?(:target)
1849
+ end
1850
+ end
1851
+
1852
+ # Metadata for the given google.cloud.location.Location.
1853
+ class LocationMetadata
1854
+ include Google::Apis::Core::Hashable
1855
+
1856
+ # App Engine Standard Environment is available in the given location. @
1857
+ # OutputOnly
1858
+ # Corresponds to the JSON property `standardEnvironmentAvailable`
1859
+ # @return [Boolean]
1860
+ attr_accessor :standard_environment_available
1861
+ alias_method :standard_environment_available?, :standard_environment_available
1862
+
1863
+ # App Engine Flexible Environment is available in the given location. @
1864
+ # OutputOnly
1865
+ # Corresponds to the JSON property `flexibleEnvironmentAvailable`
1866
+ # @return [Boolean]
1867
+ attr_accessor :flexible_environment_available
1868
+ alias_method :flexible_environment_available?, :flexible_environment_available
1869
+
1870
+ def initialize(**args)
1871
+ update!(**args)
1872
+ end
1873
+
1874
+ # Update properties of this object
1875
+ def update!(**args)
1876
+ @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available)
1877
+ @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available)
1878
+ end
1879
+ end
1677
1880
  end
1678
1881
  end
1679
1882
  end