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
@@ -22,19 +22,19 @@ module Google
22
22
  module Apis
23
23
  module AppengineV1beta5
24
24
 
25
- class Operation
25
+ class ListOperationsResponse
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Status
31
+ class Operation
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class ListOperationsResponse
37
+ class Status
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
@@ -208,13 +208,37 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class Instance
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class ListInstancesResponse
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
217
- class Instance
223
+ class DebugInstanceRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListLocationsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Location
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class OperationMetadataExperimental
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
220
244
  include Google::Apis::Core::JsonObjectSupport
@@ -232,6 +256,27 @@ module Google
232
256
  include Google::Apis::Core::JsonObjectSupport
233
257
  end
234
258
 
259
+ class OperationMetadataV1
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class LocationMetadata
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ListOperationsResponse
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation
275
+
276
+ property :next_page_token, as: 'nextPageToken'
277
+ end
278
+ end
279
+
235
280
  class Operation
236
281
  # @private
237
282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -253,15 +298,6 @@ module Google
253
298
  end
254
299
  end
255
300
 
256
- class ListOperationsResponse
257
- # @private
258
- class Representation < Google::Apis::Core::JsonRepresentation
259
- collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation
260
-
261
- property :next_page_token, as: 'nextPageToken'
262
- end
263
- end
264
-
265
301
  class Application
266
302
  # @private
267
303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -579,15 +615,6 @@ module Google
579
615
  end
580
616
  end
581
617
 
582
- class ListInstancesResponse
583
- # @private
584
- class Representation < Google::Apis::Core::JsonRepresentation
585
- collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
586
-
587
- property :next_page_token, as: 'nextPageToken'
588
- end
589
- end
590
-
591
618
  class Instance
592
619
  # @private
593
620
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -606,6 +633,53 @@ module Google
606
633
  property :memory_usage, as: 'memoryUsage'
607
634
  property :vm_status, as: 'vmStatus'
608
635
  property :vm_unlocked, as: 'vmUnlocked'
636
+ property :vm_ip, as: 'vmIp'
637
+ end
638
+ end
639
+
640
+ class ListInstancesResponse
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
644
+
645
+ property :next_page_token, as: 'nextPageToken'
646
+ end
647
+ end
648
+
649
+ class DebugInstanceRequest
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :ssh_key, as: 'sshKey'
653
+ end
654
+ end
655
+
656
+ class ListLocationsResponse
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ collection :locations, as: 'locations', class: Google::Apis::AppengineV1beta5::Location, decorator: Google::Apis::AppengineV1beta5::Location::Representation
660
+
661
+ property :next_page_token, as: 'nextPageToken'
662
+ end
663
+ end
664
+
665
+ class Location
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :name, as: 'name'
669
+ property :location_id, as: 'locationId'
670
+ hash :labels, as: 'labels'
671
+ hash :metadata, as: 'metadata'
672
+ end
673
+ end
674
+
675
+ class OperationMetadataExperimental
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :method_prop, as: 'method'
679
+ property :insert_time, as: 'insertTime'
680
+ property :end_time, as: 'endTime'
681
+ property :user, as: 'user'
682
+ property :target, as: 'target'
609
683
  end
610
684
  end
611
685
 
@@ -631,6 +705,25 @@ module Google
631
705
  property :target, as: 'target'
632
706
  end
633
707
  end
708
+
709
+ class OperationMetadataV1
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :method_prop, as: 'method'
713
+ property :insert_time, as: 'insertTime'
714
+ property :end_time, as: 'endTime'
715
+ property :user, as: 'user'
716
+ property :target, as: 'target'
717
+ end
718
+ end
719
+
720
+ class LocationMetadata
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ property :standard_environment_available, as: 'standardEnvironmentAvailable'
724
+ property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
725
+ end
726
+ end
634
727
  end
635
728
  end
636
729
  end
@@ -46,9 +46,43 @@ module Google
46
46
  super('https://appengine.googleapis.com/', '')
47
47
  end
48
48
 
49
+ # Creates an App Engine application for a Google Cloud Platform project. This
50
+ # requires a project that excludes an App Engine application. For details about
51
+ # creating a project without an application, see the [Google Cloud Resource
52
+ # Manager create project topic](https://cloud.google.com/resource-manager/docs/
53
+ # creating-project).
54
+ # @param [Google::Apis::AppengineV1beta5::Application] application_object
55
+ # @param [String] fields
56
+ # Selector specifying which fields to include in a partial response.
57
+ # @param [String] quota_user
58
+ # Available to use for quota purposes for server-side applications. Can be any
59
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
60
+ # @param [Google::Apis::RequestOptions] options
61
+ # Request-specific options
62
+ #
63
+ # @yield [result, err] Result & error if block supplied
64
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
65
+ # @yieldparam err [StandardError] error object if request failed
66
+ #
67
+ # @return [Google::Apis::AppengineV1beta5::Operation]
68
+ #
69
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
72
+ def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
73
+ command = make_simple_command(:post, 'v1beta5/apps', options)
74
+ command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
75
+ command.request_object = application_object
76
+ command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
77
+ command.response_class = Google::Apis::AppengineV1beta5::Operation
78
+ command.query['fields'] = fields unless fields.nil?
79
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
80
+ execute_or_queue_command(command, &block)
81
+ end
82
+
49
83
  # Gets information about an application.
50
84
  # @param [String] apps_id
51
- # Part of `name`. Name of the application to get. For example: "apps/myapp".
85
+ # Part of `name`. Name of the application to get. Example: `apps/myapp`.
52
86
  # @param [Boolean] ensure_resources_exist
53
87
  # Certain resources associated with an application are created on-demand.
54
88
  # Controls whether these resources should be created when performing the `GET`
@@ -84,12 +118,12 @@ module Google
84
118
  execute_or_queue_command(command, &block)
85
119
  end
86
120
 
87
- # Gets the latest state of a long-running operation. Clients can use this method
88
- # to poll the operation result at intervals as recommended by the API service.
121
+ # Updates application fields.
89
122
  # @param [String] apps_id
90
- # Part of `name`. The name of the operation resource.
91
- # @param [String] operations_id
92
- # Part of `name`. See documentation of `appsId`.
123
+ # Part of `name`. Name of the application to update. Example: `apps/myapp`.
124
+ # @param [Google::Apis::AppengineV1beta5::Application] application_object
125
+ # @param [String] mask
126
+ # Standard field mask for the set of fields to be updated.
93
127
  # @param [String] fields
94
128
  # Selector specifying which fields to include in a partial response.
95
129
  # @param [String] quota_user
@@ -107,12 +141,14 @@ module Google
107
141
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
142
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
143
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
111
- command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
144
+ def patch_app(apps_id, application_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
145
+ command = make_simple_command(:patch, 'v1beta5/apps/{appsId}', options)
146
+ command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
147
+ command.request_object = application_object
112
148
  command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
113
149
  command.response_class = Google::Apis::AppengineV1beta5::Operation
114
150
  command.params['appsId'] = apps_id unless apps_id.nil?
115
- command.params['operationsId'] = operations_id unless operations_id.nil?
151
+ command.query['mask'] = mask unless mask.nil?
116
152
  command.query['fields'] = fields unless fields.nil?
117
153
  command.query['quotaUser'] = quota_user unless quota_user.nil?
118
154
  execute_or_queue_command(command, &block)
@@ -160,10 +196,44 @@ module Google
160
196
  execute_or_queue_command(command, &block)
161
197
  end
162
198
 
163
- # Deletes a service and all enclosed versions.
199
+ # Gets the latest state of a long-running operation. Clients can use this method
200
+ # to poll the operation result at intervals as recommended by the API service.
164
201
  # @param [String] apps_id
165
- # Part of `name`. Name of the resource requested. For example: "apps/myapp/
166
- # services/default".
202
+ # Part of `name`. The name of the operation resource.
203
+ # @param [String] operations_id
204
+ # Part of `name`. See documentation of `appsId`.
205
+ # @param [String] fields
206
+ # Selector specifying which fields to include in a partial response.
207
+ # @param [String] quota_user
208
+ # Available to use for quota purposes for server-side applications. Can be any
209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
210
+ # @param [Google::Apis::RequestOptions] options
211
+ # Request-specific options
212
+ #
213
+ # @yield [result, err] Result & error if block supplied
214
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
215
+ # @yieldparam err [StandardError] error object if request failed
216
+ #
217
+ # @return [Google::Apis::AppengineV1beta5::Operation]
218
+ #
219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
222
+ def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
223
+ command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
224
+ command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
225
+ command.response_class = Google::Apis::AppengineV1beta5::Operation
226
+ command.params['appsId'] = apps_id unless apps_id.nil?
227
+ command.params['operationsId'] = operations_id unless operations_id.nil?
228
+ command.query['fields'] = fields unless fields.nil?
229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
230
+ execute_or_queue_command(command, &block)
231
+ end
232
+
233
+ # Deletes the specified service and all enclosed versions.
234
+ # @param [String] apps_id
235
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
236
+ # default`.
167
237
  # @param [String] services_id
168
238
  # Part of `name`. See documentation of `appsId`.
169
239
  # @param [String] fields
@@ -194,10 +264,10 @@ module Google
194
264
  execute_or_queue_command(command, &block)
195
265
  end
196
266
 
197
- # Gets the current configuration of the service.
267
+ # Gets the current configuration of the specified service.
198
268
  # @param [String] apps_id
199
- # Part of `name`. Name of the resource requested. For example: "apps/myapp/
200
- # services/default".
269
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
270
+ # default`.
201
271
  # @param [String] services_id
202
272
  # Part of `name`. See documentation of `appsId`.
203
273
  # @param [String] fields
@@ -230,7 +300,7 @@ module Google
230
300
 
231
301
  # Lists all the services in the application.
232
302
  # @param [String] apps_id
233
- # Part of `name`. Name of the resource requested. For example: "apps/myapp".
303
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp`.
234
304
  # @param [Fixnum] page_size
235
305
  # Maximum results to return per page.
236
306
  # @param [String] page_token
@@ -266,16 +336,26 @@ module Google
266
336
 
267
337
  # Updates the configuration of the specified service.
268
338
  # @param [String] apps_id
269
- # Part of `name`. Name of the resource to update. For example: "apps/myapp/
270
- # services/default".
339
+ # Part of `name`. Name of the resource to update. Example: `apps/myapp/services/
340
+ # default`.
271
341
  # @param [String] services_id
272
342
  # Part of `name`. See documentation of `appsId`.
273
343
  # @param [Google::Apis::AppengineV1beta5::Service] service_object
274
344
  # @param [String] mask
275
345
  # Standard field mask for the set of fields to be updated.
276
346
  # @param [Boolean] migrate_traffic
277
- # Whether to use Traffic Migration to shift traffic gradually. Traffic can only
278
- # be migrated from a single version to another single version.
347
+ # Set to `true` to gradually shift traffic from one version to another single
348
+ # version. By default, traffic is shifted immediately. For gradual traffic
349
+ # migration, the target version must be located within instances that are
350
+ # configured for both [warmup requests](https://cloud.google.com/appengine/docs/
351
+ # admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
352
+ # and [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/
353
+ # reference/rest/v1beta5/apps.services.versions#automaticscaling). You must
354
+ # specify the [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/
355
+ # reference/rest/v1beta5/apps.services#shardby) field in the Service resource.
356
+ # Gradual traffic migration is not supported in the App Engine flexible
357
+ # environment. For examples, see [Migrating and Splitting Traffic](https://cloud.
358
+ # google.com/appengine/docs/admin-api/migrating-splitting-traffic).
279
359
  # @param [String] fields
280
360
  # Selector specifying which fields to include in a partial response.
281
361
  # @param [String] quota_user
@@ -308,7 +388,7 @@ module Google
308
388
  execute_or_queue_command(command, &block)
309
389
  end
310
390
 
311
- # Deploys new code and resource files to a version.
391
+ # Deploys new code and resource files to a new version.
312
392
  # @param [String] apps_id
313
393
  # Part of `name`. Name of the resource to update. For example: "apps/myapp/
314
394
  # services/default".
@@ -347,8 +427,8 @@ module Google
347
427
 
348
428
  # Deletes an existing version.
349
429
  # @param [String] apps_id
350
- # Part of `name`. Name of the resource requested. For example: "apps/myapp/
351
- # services/default/versions/v1".
430
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
431
+ # default/versions/v1`.
352
432
  # @param [String] services_id
353
433
  # Part of `name`. See documentation of `appsId`.
354
434
  # @param [String] versions_id
@@ -382,10 +462,11 @@ module Google
382
462
  execute_or_queue_command(command, &block)
383
463
  end
384
464
 
385
- # Gets application deployment information.
465
+ # Gets the specified Version resource. By default, only a `BASIC_VIEW` will be
466
+ # returned. Specify the `FULL_VIEW` parameter to get the full resource.
386
467
  # @param [String] apps_id
387
- # Part of `name`. Name of the resource requested. For example: "apps/myapp/
388
- # services/default/versions/v1".
468
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
469
+ # default/versions/v1`.
389
470
  # @param [String] services_id
390
471
  # Part of `name`. See documentation of `appsId`.
391
472
  # @param [String] versions_id
@@ -424,8 +505,8 @@ module Google
424
505
 
425
506
  # Lists the versions of a service.
426
507
  # @param [String] apps_id
427
- # Part of `name`. Name of the resource requested. For example: "apps/myapp/
428
- # services/default".
508
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
509
+ # default`.
429
510
  # @param [String] services_id
430
511
  # Part of `name`. See documentation of `appsId`.
431
512
  # @param [String] view
@@ -465,10 +546,25 @@ module Google
465
546
  execute_or_queue_command(command, &block)
466
547
  end
467
548
 
468
- # Updates an existing version. Note: UNIMPLEMENTED.
549
+ # Updates the specified Version resource. You can specify the following fields
550
+ # depending on the App Engine environment and type of scaling that the version
551
+ # resource uses: * [`serving_status`](https://cloud.google.com/appengine/docs/
552
+ # admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
553
+ # serving_status): For Version resources that use basic scaling, manual scaling,
554
+ # or run in the App Engine flexible environment. * [`instance_class`](https://
555
+ # cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.
556
+ # versions#Version.FIELDS.instance_class): For Version resources that run in the
557
+ # App Engine standard environment. * [`automatic_scaling.min_idle_instances`](
558
+ # https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.
559
+ # services.versions#Version.FIELDS.automatic_scaling): For Version resources
560
+ # that use automatic scaling and run in the App Engine standard environment. * [`
561
+ # automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/
562
+ # admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
563
+ # automatic_scaling): For Version resources that use automatic scaling and run
564
+ # in the App Engine standard environment.
469
565
  # @param [String] apps_id
470
- # Part of `name`. Name of the resource to update. For example: "apps/myapp/
471
- # services/default/versions/1".
566
+ # Part of `name`. Name of the resource to update. Example: `apps/myapp/services/
567
+ # default/versions/1`.
472
568
  # @param [String] services_id
473
569
  # Part of `name`. See documentation of `appsId`.
474
570
  # @param [String] versions_id
@@ -508,10 +604,90 @@ module Google
508
604
  execute_or_queue_command(command, &block)
509
605
  end
510
606
 
511
- # Lists the instances of a version.
607
+ # Stops a running instance.
512
608
  # @param [String] apps_id
513
609
  # Part of `name`. Name of the resource requested. For example: "apps/myapp/
514
- # services/default/versions/v1".
610
+ # services/default/versions/v1/instances/instance-1".
611
+ # @param [String] services_id
612
+ # Part of `name`. See documentation of `appsId`.
613
+ # @param [String] versions_id
614
+ # Part of `name`. See documentation of `appsId`.
615
+ # @param [String] instances_id
616
+ # Part of `name`. See documentation of `appsId`.
617
+ # @param [String] fields
618
+ # Selector specifying which fields to include in a partial response.
619
+ # @param [String] quota_user
620
+ # Available to use for quota purposes for server-side applications. Can be any
621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
622
+ # @param [Google::Apis::RequestOptions] options
623
+ # Request-specific options
624
+ #
625
+ # @yield [result, err] Result & error if block supplied
626
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
627
+ # @yieldparam err [StandardError] error object if request failed
628
+ #
629
+ # @return [Google::Apis::AppengineV1beta5::Operation]
630
+ #
631
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
632
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
634
+ def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
635
+ command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
636
+ command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
637
+ command.response_class = Google::Apis::AppengineV1beta5::Operation
638
+ command.params['appsId'] = apps_id unless apps_id.nil?
639
+ command.params['servicesId'] = services_id unless services_id.nil?
640
+ command.params['versionsId'] = versions_id unless versions_id.nil?
641
+ command.params['instancesId'] = instances_id unless instances_id.nil?
642
+ command.query['fields'] = fields unless fields.nil?
643
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
644
+ execute_or_queue_command(command, &block)
645
+ end
646
+
647
+ # Gets instance information.
648
+ # @param [String] apps_id
649
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
650
+ # default/versions/v1/instances/instance-1`.
651
+ # @param [String] services_id
652
+ # Part of `name`. See documentation of `appsId`.
653
+ # @param [String] versions_id
654
+ # Part of `name`. See documentation of `appsId`.
655
+ # @param [String] instances_id
656
+ # Part of `name`. See documentation of `appsId`.
657
+ # @param [String] fields
658
+ # Selector specifying which fields to include in a partial response.
659
+ # @param [String] quota_user
660
+ # Available to use for quota purposes for server-side applications. Can be any
661
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
662
+ # @param [Google::Apis::RequestOptions] options
663
+ # Request-specific options
664
+ #
665
+ # @yield [result, err] Result & error if block supplied
666
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Instance] parsed result object
667
+ # @yieldparam err [StandardError] error object if request failed
668
+ #
669
+ # @return [Google::Apis::AppengineV1beta5::Instance]
670
+ #
671
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
672
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
673
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
674
+ def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
675
+ command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
676
+ command.response_representation = Google::Apis::AppengineV1beta5::Instance::Representation
677
+ command.response_class = Google::Apis::AppengineV1beta5::Instance
678
+ command.params['appsId'] = apps_id unless apps_id.nil?
679
+ command.params['servicesId'] = services_id unless services_id.nil?
680
+ command.params['versionsId'] = versions_id unless versions_id.nil?
681
+ command.params['instancesId'] = instances_id unless instances_id.nil?
682
+ command.query['fields'] = fields unless fields.nil?
683
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
684
+ execute_or_queue_command(command, &block)
685
+ end
686
+
687
+ # Lists the instances of a version.
688
+ # @param [String] apps_id
689
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
690
+ # default/versions/v1`.
515
691
  # @param [String] services_id
516
692
  # Part of `name`. See documentation of `appsId`.
517
693
  # @param [String] versions_id
@@ -550,6 +726,126 @@ module Google
550
726
  command.query['quotaUser'] = quota_user unless quota_user.nil?
551
727
  execute_or_queue_command(command, &block)
552
728
  end
729
+
730
+ # Enables debugging on a VM instance. This allows you to use the SSH command to
731
+ # connect to the virtual machine where the instance lives. While in "debug mode",
732
+ # the instance continues to serve live traffic. You should delete the instance
733
+ # when you are done debugging and then allow the system to take over and
734
+ # determine if another instance should be started. Only applicable for instances
735
+ # in App Engine flexible environment.
736
+ # @param [String] apps_id
737
+ # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
738
+ # default/versions/v1/instances/instance-1`.
739
+ # @param [String] services_id
740
+ # Part of `name`. See documentation of `appsId`.
741
+ # @param [String] versions_id
742
+ # Part of `name`. See documentation of `appsId`.
743
+ # @param [String] instances_id
744
+ # Part of `name`. See documentation of `appsId`.
745
+ # @param [Google::Apis::AppengineV1beta5::DebugInstanceRequest] debug_instance_request_object
746
+ # @param [String] fields
747
+ # Selector specifying which fields to include in a partial response.
748
+ # @param [String] quota_user
749
+ # Available to use for quota purposes for server-side applications. Can be any
750
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
751
+ # @param [Google::Apis::RequestOptions] options
752
+ # Request-specific options
753
+ #
754
+ # @yield [result, err] Result & error if block supplied
755
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
756
+ # @yieldparam err [StandardError] error object if request failed
757
+ #
758
+ # @return [Google::Apis::AppengineV1beta5::Operation]
759
+ #
760
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
761
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
762
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
763
+ def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
764
+ command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
765
+ command.request_representation = Google::Apis::AppengineV1beta5::DebugInstanceRequest::Representation
766
+ command.request_object = debug_instance_request_object
767
+ command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
768
+ command.response_class = Google::Apis::AppengineV1beta5::Operation
769
+ command.params['appsId'] = apps_id unless apps_id.nil?
770
+ command.params['servicesId'] = services_id unless services_id.nil?
771
+ command.params['versionsId'] = versions_id unless versions_id.nil?
772
+ command.params['instancesId'] = instances_id unless instances_id.nil?
773
+ command.query['fields'] = fields unless fields.nil?
774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
775
+ execute_or_queue_command(command, &block)
776
+ end
777
+
778
+ # Lists information about the supported locations for this service.
779
+ # @param [String] apps_id
780
+ # Part of `name`. The resource that owns the locations collection, if applicable.
781
+ # @param [String] filter
782
+ # The standard list filter.
783
+ # @param [Fixnum] page_size
784
+ # The standard list page size.
785
+ # @param [String] page_token
786
+ # The standard list page token.
787
+ # @param [String] fields
788
+ # Selector specifying which fields to include in a partial response.
789
+ # @param [String] quota_user
790
+ # Available to use for quota purposes for server-side applications. Can be any
791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
792
+ # @param [Google::Apis::RequestOptions] options
793
+ # Request-specific options
794
+ #
795
+ # @yield [result, err] Result & error if block supplied
796
+ # @yieldparam result [Google::Apis::AppengineV1beta5::ListLocationsResponse] parsed result object
797
+ # @yieldparam err [StandardError] error object if request failed
798
+ #
799
+ # @return [Google::Apis::AppengineV1beta5::ListLocationsResponse]
800
+ #
801
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
802
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
804
+ def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
805
+ command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations', options)
806
+ command.response_representation = Google::Apis::AppengineV1beta5::ListLocationsResponse::Representation
807
+ command.response_class = Google::Apis::AppengineV1beta5::ListLocationsResponse
808
+ command.params['appsId'] = apps_id unless apps_id.nil?
809
+ command.query['filter'] = filter unless filter.nil?
810
+ command.query['pageSize'] = page_size unless page_size.nil?
811
+ command.query['pageToken'] = page_token unless page_token.nil?
812
+ command.query['fields'] = fields unless fields.nil?
813
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
814
+ execute_or_queue_command(command, &block)
815
+ end
816
+
817
+ # Get information about a location.
818
+ # @param [String] apps_id
819
+ # Part of `name`. Resource name for the location.
820
+ # @param [String] locations_id
821
+ # Part of `name`. See documentation of `appsId`.
822
+ # @param [String] fields
823
+ # Selector specifying which fields to include in a partial response.
824
+ # @param [String] quota_user
825
+ # Available to use for quota purposes for server-side applications. Can be any
826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
827
+ # @param [Google::Apis::RequestOptions] options
828
+ # Request-specific options
829
+ #
830
+ # @yield [result, err] Result & error if block supplied
831
+ # @yieldparam result [Google::Apis::AppengineV1beta5::Location] parsed result object
832
+ # @yieldparam err [StandardError] error object if request failed
833
+ #
834
+ # @return [Google::Apis::AppengineV1beta5::Location]
835
+ #
836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
839
+ def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
840
+ command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations/{locationsId}', options)
841
+ command.response_representation = Google::Apis::AppengineV1beta5::Location::Representation
842
+ command.response_class = Google::Apis::AppengineV1beta5::Location
843
+ command.params['appsId'] = apps_id unless apps_id.nil?
844
+ command.params['locationsId'] = locations_id unless locations_id.nil?
845
+ command.query['fields'] = fields unless fields.nil?
846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
847
+ execute_or_queue_command(command, &block)
848
+ end
553
849
 
554
850
  protected
555
851