google-api-client 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/api_names.yaml +42335 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
  14. data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +61 -61
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  24. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  25. data/generated/google/apis/appengine_v1.rb +6 -5
  26. data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
  27. data/generated/google/apis/appengine_v1/representations.rb +331 -331
  28. data/generated/google/apis/appengine_v1/service.rb +173 -168
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
  37. data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
  38. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  39. data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
  40. data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
  41. data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
  42. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  43. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
  44. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
  45. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
  46. data/generated/google/apis/cloudfunctions_v1.rb +1 -4
  47. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
  48. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
  49. data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
  50. data/generated/google/apis/cloudkms_v1.rb +1 -1
  51. data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
  52. data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
  53. data/generated/google/apis/cloudkms_v1/service.rb +272 -272
  54. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
  63. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
  66. data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +194 -25
  69. data/generated/google/apis/compute_beta/representations.rb +42 -0
  70. data/generated/google/apis/compute_beta/service.rb +196 -100
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +69 -18
  73. data/generated/google/apis/compute_v1/representations.rb +16 -0
  74. data/generated/google/apis/compute_v1/service.rb +84 -26
  75. data/generated/google/apis/container_v1.rb +3 -3
  76. data/generated/google/apis/container_v1/classes.rb +794 -586
  77. data/generated/google/apis/container_v1/representations.rb +202 -118
  78. data/generated/google/apis/container_v1/service.rb +396 -167
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +4 -4
  81. data/generated/google/apis/dataproc_v1.rb +1 -1
  82. data/generated/google/apis/dataproc_v1/classes.rb +487 -484
  83. data/generated/google/apis/dataproc_v1/representations.rb +83 -83
  84. data/generated/google/apis/dataproc_v1/service.rb +299 -297
  85. data/generated/google/apis/datastore_v1.rb +1 -1
  86. data/generated/google/apis/datastore_v1/classes.rb +703 -703
  87. data/generated/google/apis/datastore_v1/representations.rb +148 -148
  88. data/generated/google/apis/datastore_v1/service.rb +62 -62
  89. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  90. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
  91. data/generated/google/apis/dfareporting_v2_6.rb +1 -1
  92. data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
  93. data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
  94. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  95. data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
  96. data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
  97. data/generated/google/apis/dfareporting_v2_8.rb +40 -0
  98. data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
  99. data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
  100. data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
  101. data/generated/google/apis/dns_v1.rb +1 -1
  102. data/generated/google/apis/dns_v2beta1.rb +1 -1
  103. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2.rb +1 -1
  105. data/generated/google/apis/drive_v2/classes.rb +15 -0
  106. data/generated/google/apis/drive_v2/representations.rb +2 -0
  107. data/generated/google/apis/drive_v2/service.rb +2 -1
  108. data/generated/google/apis/drive_v3.rb +1 -1
  109. data/generated/google/apis/drive_v3/classes.rb +16 -0
  110. data/generated/google/apis/drive_v3/representations.rb +2 -0
  111. data/generated/google/apis/drive_v3/service.rb +2 -1
  112. data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
  113. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
  114. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
  115. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
  116. data/generated/google/apis/firebaserules_v1.rb +1 -1
  117. data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
  118. data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
  119. data/generated/google/apis/firebaserules_v1/service.rb +118 -118
  120. data/generated/google/apis/fusiontables_v2.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_v1.rb +1 -1
  124. data/generated/google/apis/genomics_v1.rb +1 -1
  125. data/generated/google/apis/genomics_v1/classes.rb +920 -920
  126. data/generated/google/apis/genomics_v1/representations.rb +202 -202
  127. data/generated/google/apis/genomics_v1/service.rb +1092 -1092
  128. data/generated/google/apis/gmail_v1.rb +1 -1
  129. data/generated/google/apis/iam_v1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +455 -435
  131. data/generated/google/apis/iam_v1/representations.rb +96 -93
  132. data/generated/google/apis/iam_v1/service.rb +157 -157
  133. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  134. data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
  135. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
  136. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  137. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  138. data/generated/google/apis/kgsearch_v1/service.rb +9 -9
  139. data/generated/google/apis/language_v1.rb +1 -1
  140. data/generated/google/apis/language_v1/classes.rb +455 -455
  141. data/generated/google/apis/language_v1/representations.rb +102 -102
  142. data/generated/google/apis/language_v1/service.rb +42 -42
  143. data/generated/google/apis/language_v1beta1.rb +1 -1
  144. data/generated/google/apis/language_v1beta1/classes.rb +216 -215
  145. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  146. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  147. data/generated/google/apis/logging_v2.rb +1 -1
  148. data/generated/google/apis/logging_v2/classes.rb +908 -895
  149. data/generated/google/apis/logging_v2/representations.rb +121 -120
  150. data/generated/google/apis/logging_v2/service.rb +489 -489
  151. data/generated/google/apis/logging_v2beta1.rb +4 -4
  152. data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
  153. data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
  154. data/generated/google/apis/logging_v2beta1/service.rb +249 -249
  155. data/generated/google/apis/manufacturers_v1.rb +1 -1
  156. data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
  157. data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
  158. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  159. data/generated/google/apis/mirror_v1.rb +1 -1
  160. data/generated/google/apis/ml_v1.rb +1 -1
  161. data/generated/google/apis/ml_v1/classes.rb +1186 -1183
  162. data/generated/google/apis/ml_v1/representations.rb +177 -177
  163. data/generated/google/apis/ml_v1/service.rb +244 -244
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +866 -866
  166. data/generated/google/apis/monitoring_v3/representations.rb +163 -163
  167. data/generated/google/apis/monitoring_v3/service.rb +355 -316
  168. data/generated/google/apis/oauth2_v2.rb +1 -1
  169. data/generated/google/apis/partners_v2.rb +1 -1
  170. data/generated/google/apis/partners_v2/classes.rb +1499 -1499
  171. data/generated/google/apis/partners_v2/representations.rb +368 -368
  172. data/generated/google/apis/partners_v2/service.rb +512 -512
  173. data/generated/google/apis/people_v1.rb +10 -10
  174. data/generated/google/apis/people_v1/classes.rb +544 -423
  175. data/generated/google/apis/people_v1/representations.rb +127 -109
  176. data/generated/google/apis/people_v1/service.rb +8 -8
  177. data/generated/google/apis/plus_domains_v1.rb +1 -1
  178. data/generated/google/apis/plus_v1.rb +1 -1
  179. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  180. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
  181. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
  182. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
  183. data/generated/google/apis/pubsub_v1.rb +1 -1
  184. data/generated/google/apis/pubsub_v1/classes.rb +377 -377
  185. data/generated/google/apis/pubsub_v1/representations.rb +82 -82
  186. data/generated/google/apis/pubsub_v1/service.rb +93 -93
  187. data/generated/google/apis/runtimeconfig_v1.rb +6 -4
  188. data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
  189. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  190. data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
  191. data/generated/google/apis/script_v1.rb +14 -14
  192. data/generated/google/apis/script_v1/classes.rb +113 -58
  193. data/generated/google/apis/script_v1/representations.rb +43 -14
  194. data/generated/google/apis/script_v1/service.rb +6 -6
  195. data/generated/google/apis/searchconsole_v1.rb +1 -1
  196. data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
  197. data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
  198. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  199. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
  202. data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
  203. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  204. data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
  205. data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
  206. data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
  207. data/generated/google/apis/serviceuser_v1.rb +4 -4
  208. data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
  209. data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
  210. data/generated/google/apis/serviceuser_v1/service.rb +19 -19
  211. data/generated/google/apis/sheets_v4.rb +4 -1
  212. data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
  213. data/generated/google/apis/sheets_v4/representations.rb +858 -858
  214. data/generated/google/apis/sheets_v4/service.rb +115 -115
  215. data/generated/google/apis/slides_v1.rb +1 -1
  216. data/generated/google/apis/slides_v1/classes.rb +2890 -2890
  217. data/generated/google/apis/slides_v1/representations.rb +638 -638
  218. data/generated/google/apis/slides_v1/service.rb +36 -36
  219. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  220. data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
  221. data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
  222. data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
  223. data/generated/google/apis/spanner_v1.rb +1 -1
  224. data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
  225. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  226. data/generated/google/apis/spanner_v1/service.rb +466 -466
  227. data/generated/google/apis/speech_v1beta1.rb +2 -2
  228. data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
  229. data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
  230. data/generated/google/apis/speech_v1beta1/service.rb +49 -49
  231. data/generated/google/apis/storage_v1.rb +1 -1
  232. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  233. data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
  234. data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
  235. data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
  236. data/generated/google/apis/surveys_v2.rb +1 -1
  237. data/generated/google/apis/surveys_v2/classes.rb +0 -12
  238. data/generated/google/apis/surveys_v2/representations.rb +0 -4
  239. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  240. data/generated/google/apis/vision_v1.rb +1 -1
  241. data/generated/google/apis/vision_v1/classes.rb +1301 -1302
  242. data/generated/google/apis/vision_v1/representations.rb +183 -183
  243. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
  246. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
  247. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  248. data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
  249. data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
  250. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  251. data/lib/google/apis/version.rb +1 -1
  252. metadata +7 -3
@@ -22,7 +22,8 @@ module Google
22
22
  module AppengineV1
23
23
  # Google App Engine Admin API
24
24
  #
25
- # Provisions and manages App Engine applications.
25
+ # The App Engine Admin API enables developers to provision and manage their App
26
+ # Engine applications.
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/appengine_v1'
@@ -47,9 +48,13 @@ module Google
47
48
  @batch_path = 'batch'
48
49
  end
49
50
 
50
- # Gets information about an application.
51
+ # Recreates the required App Engine features for the specified App Engine
52
+ # application, for example a Cloud Storage bucket or App Engine service account.
53
+ # Use this method if you receive an error message about a missing feature, for
54
+ # example, Error retrieving the App Engine service account.
51
55
  # @param [String] apps_id
52
- # Part of `name`. Name of the Application resource to get. Example: apps/myapp.
56
+ # Part of `name`. Name of the application to repair. Example: apps/myapp
57
+ # @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
53
58
  # @param [String] fields
54
59
  # Selector specifying which fields to include in a partial response.
55
60
  # @param [String] quota_user
@@ -59,31 +64,29 @@ module Google
59
64
  # Request-specific options
60
65
  #
61
66
  # @yield [result, err] Result & error if block supplied
62
- # @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
67
+ # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
63
68
  # @yieldparam err [StandardError] error object if request failed
64
69
  #
65
- # @return [Google::Apis::AppengineV1::Application]
70
+ # @return [Google::Apis::AppengineV1::Operation]
66
71
  #
67
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
- def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
71
- command = make_simple_command(:get, 'v1/apps/{appsId}', options)
72
- command.response_representation = Google::Apis::AppengineV1::Application::Representation
73
- command.response_class = Google::Apis::AppengineV1::Application
75
+ def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
77
+ command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
78
+ command.request_object = repair_application_request_object
79
+ command.response_representation = Google::Apis::AppengineV1::Operation::Representation
80
+ command.response_class = Google::Apis::AppengineV1::Operation
74
81
  command.params['appsId'] = apps_id unless apps_id.nil?
75
82
  command.query['fields'] = fields unless fields.nil?
76
83
  command.query['quotaUser'] = quota_user unless quota_user.nil?
77
84
  execute_or_queue_command(command, &block)
78
85
  end
79
86
 
80
- # Creates an App Engine application for a Google Cloud Platform project.
81
- # Required fields: id - The ID of the target Cloud Platform project. location -
82
- # The region (https://cloud.google.com/appengine/docs/locations) where you want
83
- # the App Engine application located.For more information about App Engine
84
- # applications, see Managing Projects, Applications, and Billing (https://cloud.
85
- # google.com/appengine/docs/python/console/).
86
- # @param [Google::Apis::AppengineV1::Application] application_object
87
+ # Gets information about an application.
88
+ # @param [String] apps_id
89
+ # Part of `name`. Name of the Application resource to get. Example: apps/myapp.
87
90
  # @param [String] fields
88
91
  # Selector specifying which fields to include in a partial response.
89
92
  # @param [String] quota_user
@@ -93,29 +96,29 @@ module Google
93
96
  # Request-specific options
94
97
  #
95
98
  # @yield [result, err] Result & error if block supplied
96
- # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
99
+ # @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
97
100
  # @yieldparam err [StandardError] error object if request failed
98
101
  #
99
- # @return [Google::Apis::AppengineV1::Operation]
102
+ # @return [Google::Apis::AppengineV1::Application]
100
103
  #
101
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
104
- def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
105
- command = make_simple_command(:post, 'v1/apps', options)
106
- command.request_representation = Google::Apis::AppengineV1::Application::Representation
107
- command.request_object = application_object
108
- command.response_representation = Google::Apis::AppengineV1::Operation::Representation
109
- command.response_class = Google::Apis::AppengineV1::Operation
107
+ def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'v1/apps/{appsId}', options)
109
+ command.response_representation = Google::Apis::AppengineV1::Application::Representation
110
+ command.response_class = Google::Apis::AppengineV1::Application
111
+ command.params['appsId'] = apps_id unless apps_id.nil?
110
112
  command.query['fields'] = fields unless fields.nil?
111
113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
112
114
  execute_or_queue_command(command, &block)
113
115
  end
114
116
 
115
117
  # Updates the specified Application resource. You can update the following
116
- # fields: auth_domain - Google authentication domain for controlling user access
117
- # to the application. default_cookie_expiration - Cookie expiration policy for
118
- # the application.
118
+ # fields:
119
+ # auth_domain - Google authentication domain for controlling user access to the
120
+ # application.
121
+ # default_cookie_expiration - Cookie expiration policy for the application.
119
122
  # @param [String] apps_id
120
123
  # Part of `name`. Name of the Application resource to update. Example: apps/
121
124
  # myapp.
@@ -152,13 +155,14 @@ module Google
152
155
  execute_or_queue_command(command, &block)
153
156
  end
154
157
 
155
- # Recreates the required App Engine features for the specified App Engine
156
- # application, for example a Cloud Storage bucket or App Engine service account.
157
- # Use this method if you receive an error message about a missing feature, for
158
- # example, Error retrieving the App Engine service account.
159
- # @param [String] apps_id
160
- # Part of `name`. Name of the application to repair. Example: apps/myapp
161
- # @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
158
+ # Creates an App Engine application for a Google Cloud Platform project.
159
+ # Required fields:
160
+ # id - The ID of the target Cloud Platform project.
161
+ # location - The region (https://cloud.google.com/appengine/docs/locations)
162
+ # where you want the App Engine application located.For more information about
163
+ # App Engine applications, see Managing Projects, Applications, and Billing (
164
+ # https://cloud.google.com/appengine/docs/python/console/).
165
+ # @param [Google::Apis::AppengineV1::Application] application_object
162
166
  # @param [String] fields
163
167
  # Selector specifying which fields to include in a partial response.
164
168
  # @param [String] quota_user
@@ -176,65 +180,22 @@ module Google
176
180
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
177
181
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
178
182
  # @raise [Google::Apis::AuthorizationError] Authorization is required
179
- def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
180
- command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
181
- command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
182
- command.request_object = repair_application_request_object
183
+ def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
184
+ command = make_simple_command(:post, 'v1/apps', options)
185
+ command.request_representation = Google::Apis::AppengineV1::Application::Representation
186
+ command.request_object = application_object
183
187
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
184
188
  command.response_class = Google::Apis::AppengineV1::Operation
185
- command.params['appsId'] = apps_id unless apps_id.nil?
186
189
  command.query['fields'] = fields unless fields.nil?
187
190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
188
191
  execute_or_queue_command(command, &block)
189
192
  end
190
193
 
191
- # Lists operations that match the specified filter in the request. If the server
192
- # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
193
- # below allows API services to override the binding to use different resource
194
- # name schemes, such as users/*/operations.
195
- # @param [String] apps_id
196
- # Part of `name`. The name of the operation collection.
197
- # @param [String] filter
198
- # The standard list filter.
199
- # @param [Fixnum] page_size
200
- # The standard list page size.
201
- # @param [String] page_token
202
- # The standard list page token.
203
- # @param [String] fields
204
- # Selector specifying which fields to include in a partial response.
205
- # @param [String] quota_user
206
- # Available to use for quota purposes for server-side applications. Can be any
207
- # arbitrary string assigned to a user, but should not exceed 40 characters.
208
- # @param [Google::Apis::RequestOptions] options
209
- # Request-specific options
210
- #
211
- # @yield [result, err] Result & error if block supplied
212
- # @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
213
- # @yieldparam err [StandardError] error object if request failed
214
- #
215
- # @return [Google::Apis::AppengineV1::ListOperationsResponse]
216
- #
217
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
218
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
219
- # @raise [Google::Apis::AuthorizationError] Authorization is required
220
- def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
221
- command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
222
- command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
223
- command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
224
- command.params['appsId'] = apps_id unless apps_id.nil?
225
- command.query['filter'] = filter unless filter.nil?
226
- command.query['pageSize'] = page_size unless page_size.nil?
227
- command.query['pageToken'] = page_token unless page_token.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
- # Gets the latest state of a long-running operation. Clients can use this method
234
- # to poll the operation result at intervals as recommended by the API service.
194
+ # Deletes the specified service and all enclosed versions.
235
195
  # @param [String] apps_id
236
- # Part of `name`. The name of the operation resource.
237
- # @param [String] operations_id
196
+ # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
197
+ # default.
198
+ # @param [String] services_id
238
199
  # Part of `name`. See documentation of `appsId`.
239
200
  # @param [String] fields
240
201
  # Selector specifying which fields to include in a partial response.
@@ -253,12 +214,12 @@ module Google
253
214
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
254
215
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
255
216
  # @raise [Google::Apis::AuthorizationError] Authorization is required
256
- def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
257
- command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
217
+ def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
218
+ command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
258
219
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
259
220
  command.response_class = Google::Apis::AppengineV1::Operation
260
221
  command.params['appsId'] = apps_id unless apps_id.nil?
261
- command.params['operationsId'] = operations_id unless operations_id.nil?
222
+ command.params['servicesId'] = services_id unless services_id.nil?
262
223
  command.query['fields'] = fields unless fields.nil?
263
224
  command.query['quotaUser'] = quota_user unless quota_user.nil?
264
225
  execute_or_queue_command(command, &block)
@@ -388,12 +349,14 @@ module Google
388
349
  execute_or_queue_command(command, &block)
389
350
  end
390
351
 
391
- # Deletes the specified service and all enclosed versions.
352
+ # Deletes an existing Version resource.
392
353
  # @param [String] apps_id
393
354
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
394
- # default.
355
+ # default/versions/v1.
395
356
  # @param [String] services_id
396
357
  # Part of `name`. See documentation of `appsId`.
358
+ # @param [String] versions_id
359
+ # Part of `name`. See documentation of `appsId`.
397
360
  # @param [String] fields
398
361
  # Selector specifying which fields to include in a partial response.
399
362
  # @param [String] quota_user
@@ -411,12 +374,13 @@ module Google
411
374
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
412
375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
413
376
  # @raise [Google::Apis::AuthorizationError] Authorization is required
414
- def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
415
- command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
377
+ def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
378
+ command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
416
379
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
417
380
  command.response_class = Google::Apis::AppengineV1::Operation
418
381
  command.params['appsId'] = apps_id unless apps_id.nil?
419
382
  command.params['servicesId'] = services_id unless services_id.nil?
383
+ command.params['versionsId'] = versions_id unless versions_id.nil?
420
384
  command.query['fields'] = fields unless fields.nil?
421
385
  command.query['quotaUser'] = quota_user unless quota_user.nil?
422
386
  execute_or_queue_command(command, &block)
@@ -428,12 +392,12 @@ module Google
428
392
  # services/default.
429
393
  # @param [String] services_id
430
394
  # Part of `parent`. See documentation of `appsId`.
431
- # @param [String] view
432
- # Controls the set of fields returned in the List response.
433
- # @param [Fixnum] page_size
434
- # Maximum results to return per page.
435
395
  # @param [String] page_token
436
396
  # Continuation token for fetching the next page of results.
397
+ # @param [Fixnum] page_size
398
+ # Maximum results to return per page.
399
+ # @param [String] view
400
+ # Controls the set of fields returned in the List response.
437
401
  # @param [String] fields
438
402
  # Selector specifying which fields to include in a partial response.
439
403
  # @param [String] quota_user
@@ -451,15 +415,15 @@ module Google
451
415
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
452
416
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
453
417
  # @raise [Google::Apis::AuthorizationError] Authorization is required
454
- def list_app_service_versions(apps_id, services_id, view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
418
+ def list_app_service_versions(apps_id, services_id, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
455
419
  command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
456
420
  command.response_representation = Google::Apis::AppengineV1::ListVersionsResponse::Representation
457
421
  command.response_class = Google::Apis::AppengineV1::ListVersionsResponse
458
422
  command.params['appsId'] = apps_id unless apps_id.nil?
459
423
  command.params['servicesId'] = services_id unless services_id.nil?
460
- command.query['view'] = view unless view.nil?
461
- command.query['pageSize'] = page_size unless page_size.nil?
462
424
  command.query['pageToken'] = page_token unless page_token.nil?
425
+ command.query['pageSize'] = page_size unless page_size.nil?
426
+ command.query['view'] = view unless view.nil?
463
427
  command.query['fields'] = fields unless fields.nil?
464
428
  command.query['quotaUser'] = quota_user unless quota_user.nil?
465
429
  execute_or_queue_command(command, &block)
@@ -506,13 +470,34 @@ module Google
506
470
  execute_or_queue_command(command, &block)
507
471
  end
508
472
 
509
- # Deploys code and resource files to a new version.
473
+ # Updates the specified Version resource. You can specify the following fields
474
+ # depending on the App Engine environment and type of scaling that the version
475
+ # resource uses:
476
+ # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
477
+ # rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
478
+ # resources that use basic scaling, manual scaling, or run in the App Engine
479
+ # flexible environment.
480
+ # instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
481
+ # rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
482
+ # resources that run in the App Engine standard environment.
483
+ # automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
484
+ # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
485
+ # automatic_scaling): For Version resources that use automatic scaling and run
486
+ # in the App Engine standard environment.
487
+ # automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
488
+ # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
489
+ # automatic_scaling): For Version resources that use automatic scaling and run
490
+ # in the App Engine standard environment.
510
491
  # @param [String] apps_id
511
- # Part of `parent`. Name of the parent resource to create this version under.
512
- # Example: apps/myapp/services/default.
492
+ # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
493
+ # default/versions/1.
513
494
  # @param [String] services_id
514
- # Part of `parent`. See documentation of `appsId`.
495
+ # Part of `name`. See documentation of `appsId`.
496
+ # @param [String] versions_id
497
+ # Part of `name`. See documentation of `appsId`.
515
498
  # @param [Google::Apis::AppengineV1::Version] version_object
499
+ # @param [String] update_mask
500
+ # Standard field mask for the set of fields to be updated.
516
501
  # @param [String] fields
517
502
  # Selector specifying which fields to include in a partial response.
518
503
  # @param [String] quota_user
@@ -530,45 +515,28 @@ module Google
530
515
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
531
516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
533
- def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
534
- command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
518
+ def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
519
+ command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
535
520
  command.request_representation = Google::Apis::AppengineV1::Version::Representation
536
521
  command.request_object = version_object
537
522
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
538
523
  command.response_class = Google::Apis::AppengineV1::Operation
539
524
  command.params['appsId'] = apps_id unless apps_id.nil?
540
525
  command.params['servicesId'] = services_id unless services_id.nil?
526
+ command.params['versionsId'] = versions_id unless versions_id.nil?
527
+ command.query['updateMask'] = update_mask unless update_mask.nil?
541
528
  command.query['fields'] = fields unless fields.nil?
542
529
  command.query['quotaUser'] = quota_user unless quota_user.nil?
543
530
  execute_or_queue_command(command, &block)
544
531
  end
545
532
 
546
- # Updates the specified Version resource. You can specify the following fields
547
- # depending on the App Engine environment and type of scaling that the version
548
- # resource uses: serving_status (https://cloud.google.com/appengine/docs/admin-
549
- # api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
550
- # For Version resources that use basic scaling, manual scaling, or run in the
551
- # App Engine flexible environment. instance_class (https://cloud.google.com/
552
- # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
553
- # FIELDS.instance_class): For Version resources that run in the App Engine
554
- # standard environment. automatic_scaling.min_idle_instances (https://cloud.
555
- # google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
556
- # Version.FIELDS.automatic_scaling): For Version resources that use automatic
557
- # scaling and run in the App Engine standard environment. automatic_scaling.
558
- # max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/
559
- # reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
560
- # For Version resources that use automatic scaling and run in the App Engine
561
- # standard environment.
533
+ # Deploys code and resource files to a new version.
562
534
  # @param [String] apps_id
563
- # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
564
- # default/versions/1.
535
+ # Part of `parent`. Name of the parent resource to create this version under.
536
+ # Example: apps/myapp/services/default.
565
537
  # @param [String] services_id
566
- # Part of `name`. See documentation of `appsId`.
567
- # @param [String] versions_id
568
- # Part of `name`. See documentation of `appsId`.
538
+ # Part of `parent`. See documentation of `appsId`.
569
539
  # @param [Google::Apis::AppengineV1::Version] version_object
570
- # @param [String] update_mask
571
- # Standard field mask for the set of fields to be updated.
572
540
  # @param [String] fields
573
541
  # Selector specifying which fields to include in a partial response.
574
542
  # @param [String] quota_user
@@ -586,29 +554,29 @@ module Google
586
554
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
555
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
556
  # @raise [Google::Apis::AuthorizationError] Authorization is required
589
- def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
590
- command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
557
+ def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
558
+ command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
591
559
  command.request_representation = Google::Apis::AppengineV1::Version::Representation
592
560
  command.request_object = version_object
593
561
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
594
562
  command.response_class = Google::Apis::AppengineV1::Operation
595
563
  command.params['appsId'] = apps_id unless apps_id.nil?
596
564
  command.params['servicesId'] = services_id unless services_id.nil?
597
- command.params['versionsId'] = versions_id unless versions_id.nil?
598
- command.query['updateMask'] = update_mask unless update_mask.nil?
599
565
  command.query['fields'] = fields unless fields.nil?
600
566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
601
567
  execute_or_queue_command(command, &block)
602
568
  end
603
569
 
604
- # Deletes an existing Version resource.
570
+ # Stops a running instance.
605
571
  # @param [String] apps_id
606
572
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
607
- # default/versions/v1.
573
+ # default/versions/v1/instances/instance-1.
608
574
  # @param [String] services_id
609
575
  # Part of `name`. See documentation of `appsId`.
610
576
  # @param [String] versions_id
611
577
  # Part of `name`. See documentation of `appsId`.
578
+ # @param [String] instances_id
579
+ # Part of `name`. See documentation of `appsId`.
612
580
  # @param [String] fields
613
581
  # Selector specifying which fields to include in a partial response.
614
582
  # @param [String] quota_user
@@ -626,13 +594,14 @@ module Google
626
594
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
627
595
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
628
596
  # @raise [Google::Apis::AuthorizationError] Authorization is required
629
- def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
630
- command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
597
+ def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
598
+ command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
631
599
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
632
600
  command.response_class = Google::Apis::AppengineV1::Operation
633
601
  command.params['appsId'] = apps_id unless apps_id.nil?
634
602
  command.params['servicesId'] = services_id unless services_id.nil?
635
603
  command.params['versionsId'] = versions_id unless versions_id.nil?
604
+ command.params['instancesId'] = instances_id unless instances_id.nil?
636
605
  command.query['fields'] = fields unless fields.nil?
637
606
  command.query['quotaUser'] = quota_user unless quota_user.nil?
638
607
  execute_or_queue_command(command, &block)
@@ -648,10 +617,10 @@ module Google
648
617
  # Part of `parent`. See documentation of `appsId`.
649
618
  # @param [String] versions_id
650
619
  # Part of `parent`. See documentation of `appsId`.
651
- # @param [Fixnum] page_size
652
- # Maximum results to return per page.
653
620
  # @param [String] page_token
654
621
  # Continuation token for fetching the next page of results.
622
+ # @param [Fixnum] page_size
623
+ # Maximum results to return per page.
655
624
  # @param [String] fields
656
625
  # Selector specifying which fields to include in a partial response.
657
626
  # @param [String] quota_user
@@ -669,15 +638,15 @@ module Google
669
638
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
639
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
640
  # @raise [Google::Apis::AuthorizationError] Authorization is required
672
- def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
641
+ def list_app_service_version_instances(apps_id, services_id, versions_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
673
642
  command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
674
643
  command.response_representation = Google::Apis::AppengineV1::ListInstancesResponse::Representation
675
644
  command.response_class = Google::Apis::AppengineV1::ListInstancesResponse
676
645
  command.params['appsId'] = apps_id unless apps_id.nil?
677
646
  command.params['servicesId'] = services_id unless services_id.nil?
678
647
  command.params['versionsId'] = versions_id unless versions_id.nil?
679
- command.query['pageSize'] = page_size unless page_size.nil?
680
648
  command.query['pageToken'] = page_token unless page_token.nil?
649
+ command.query['pageSize'] = page_size unless page_size.nil?
681
650
  command.query['fields'] = fields unless fields.nil?
682
651
  command.query['quotaUser'] = quota_user unless quota_user.nil?
683
652
  execute_or_queue_command(command, &block)
@@ -723,7 +692,12 @@ module Google
723
692
  execute_or_queue_command(command, &block)
724
693
  end
725
694
 
726
- # Stops a running instance.
695
+ # Enables debugging on a VM instance. This allows you to use the SSH command to
696
+ # connect to the virtual machine where the instance lives. While in "debug mode",
697
+ # the instance continues to serve live traffic. You should delete the instance
698
+ # when you are done debugging and then allow the system to take over and
699
+ # determine if another instance should be started.Only applicable for instances
700
+ # in App Engine flexible environment.
727
701
  # @param [String] apps_id
728
702
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
729
703
  # default/versions/v1/instances/instance-1.
@@ -733,6 +707,7 @@ module Google
733
707
  # Part of `name`. See documentation of `appsId`.
734
708
  # @param [String] instances_id
735
709
  # Part of `name`. See documentation of `appsId`.
710
+ # @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_request_object
736
711
  # @param [String] fields
737
712
  # Selector specifying which fields to include in a partial response.
738
713
  # @param [String] quota_user
@@ -750,8 +725,10 @@ module Google
750
725
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
751
726
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
752
727
  # @raise [Google::Apis::AuthorizationError] Authorization is required
753
- def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
754
- command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
728
+ def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
729
+ command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
730
+ command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation
731
+ command.request_object = debug_instance_request_object
755
732
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
756
733
  command.response_class = Google::Apis::AppengineV1::Operation
757
734
  command.params['appsId'] = apps_id unless apps_id.nil?
@@ -763,22 +740,54 @@ module Google
763
740
  execute_or_queue_command(command, &block)
764
741
  end
765
742
 
766
- # Enables debugging on a VM instance. This allows you to use the SSH command to
767
- # connect to the virtual machine where the instance lives. While in "debug mode",
768
- # the instance continues to serve live traffic. You should delete the instance
769
- # when you are done debugging and then allow the system to take over and
770
- # determine if another instance should be started.Only applicable for instances
771
- # in App Engine flexible environment.
743
+ # Lists operations that match the specified filter in the request. If the server
744
+ # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
745
+ # below allows API services to override the binding to use different resource
746
+ # name schemes, such as users/*/operations.
772
747
  # @param [String] apps_id
773
- # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
774
- # default/versions/v1/instances/instance-1.
775
- # @param [String] services_id
776
- # Part of `name`. See documentation of `appsId`.
777
- # @param [String] versions_id
778
- # Part of `name`. See documentation of `appsId`.
779
- # @param [String] instances_id
748
+ # Part of `name`. The name of the operation collection.
749
+ # @param [Fixnum] page_size
750
+ # The standard list page size.
751
+ # @param [String] filter
752
+ # The standard list filter.
753
+ # @param [String] page_token
754
+ # The standard list page token.
755
+ # @param [String] fields
756
+ # Selector specifying which fields to include in a partial response.
757
+ # @param [String] quota_user
758
+ # Available to use for quota purposes for server-side applications. Can be any
759
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
760
+ # @param [Google::Apis::RequestOptions] options
761
+ # Request-specific options
762
+ #
763
+ # @yield [result, err] Result & error if block supplied
764
+ # @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
765
+ # @yieldparam err [StandardError] error object if request failed
766
+ #
767
+ # @return [Google::Apis::AppengineV1::ListOperationsResponse]
768
+ #
769
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
772
+ def list_app_operations(apps_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
773
+ command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
774
+ command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
775
+ command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
776
+ command.params['appsId'] = apps_id unless apps_id.nil?
777
+ command.query['pageSize'] = page_size unless page_size.nil?
778
+ command.query['filter'] = filter unless filter.nil?
779
+ command.query['pageToken'] = page_token unless page_token.nil?
780
+ command.query['fields'] = fields unless fields.nil?
781
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
782
+ execute_or_queue_command(command, &block)
783
+ end
784
+
785
+ # Gets the latest state of a long-running operation. Clients can use this method
786
+ # to poll the operation result at intervals as recommended by the API service.
787
+ # @param [String] apps_id
788
+ # Part of `name`. The name of the operation resource.
789
+ # @param [String] operations_id
780
790
  # Part of `name`. See documentation of `appsId`.
781
- # @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_request_object
782
791
  # @param [String] fields
783
792
  # Selector specifying which fields to include in a partial response.
784
793
  # @param [String] quota_user
@@ -796,16 +805,12 @@ module Google
796
805
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
797
806
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
798
807
  # @raise [Google::Apis::AuthorizationError] Authorization is required
799
- def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
800
- command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
801
- command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation
802
- command.request_object = debug_instance_request_object
808
+ def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
809
+ command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
803
810
  command.response_representation = Google::Apis::AppengineV1::Operation::Representation
804
811
  command.response_class = Google::Apis::AppengineV1::Operation
805
812
  command.params['appsId'] = apps_id unless apps_id.nil?
806
- command.params['servicesId'] = services_id unless services_id.nil?
807
- command.params['versionsId'] = versions_id unless versions_id.nil?
808
- command.params['instancesId'] = instances_id unless instances_id.nil?
813
+ command.params['operationsId'] = operations_id unless operations_id.nil?
809
814
  command.query['fields'] = fields unless fields.nil?
810
815
  command.query['quotaUser'] = quota_user unless quota_user.nil?
811
816
  execute_or_queue_command(command, &block)
@@ -816,10 +821,10 @@ module Google
816
821
  # Part of `name`. The resource that owns the locations collection, if applicable.
817
822
  # @param [String] filter
818
823
  # The standard list filter.
819
- # @param [Fixnum] page_size
820
- # The standard list page size.
821
824
  # @param [String] page_token
822
825
  # The standard list page token.
826
+ # @param [Fixnum] page_size
827
+ # The standard list page size.
823
828
  # @param [String] fields
824
829
  # Selector specifying which fields to include in a partial response.
825
830
  # @param [String] quota_user
@@ -837,14 +842,14 @@ module Google
837
842
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
838
843
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
839
844
  # @raise [Google::Apis::AuthorizationError] Authorization is required
840
- def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
845
+ def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
841
846
  command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
842
847
  command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
843
848
  command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
844
849
  command.params['appsId'] = apps_id unless apps_id.nil?
845
850
  command.query['filter'] = filter unless filter.nil?
846
- command.query['pageSize'] = page_size unless page_size.nil?
847
851
  command.query['pageToken'] = page_token unless page_token.nil?
852
+ command.query['pageSize'] = page_size unless page_size.nil?
848
853
  command.query['fields'] = fields unless fields.nil?
849
854
  command.query['quotaUser'] = quota_user unless quota_user.nil?
850
855
  execute_or_queue_command(command, &block)