google-api-client 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATING.md +22 -7
  4. data/README.md +4 -8
  5. data/api_names.yaml +1210 -37815
  6. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
  14. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
  21. data/generated/google/apis/appengine_v1.rb +40 -0
  22. data/generated/google/apis/appengine_v1/classes.rb +2251 -0
  23. data/generated/google/apis/appengine_v1/representations.rb +858 -0
  24. data/generated/google/apis/appengine_v1/service.rb +894 -0
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +11 -6
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +26 -0
  29. data/generated/google/apis/books_v1/representations.rb +15 -0
  30. data/generated/google/apis/books_v1/service.rb +4 -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/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
  35. data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
  36. data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
  37. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  38. data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
  39. data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
  40. data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
  41. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
  42. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
  43. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
  44. data/generated/google/apis/cloudfunctions_v1.rb +35 -0
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
  47. data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
  48. data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
  49. data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
  50. data/generated/google/apis/cloudkms_v1/service.rb +194 -194
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  60. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  61. data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
  62. data/generated/google/apis/compute_beta.rb +1 -1
  63. data/generated/google/apis/compute_beta/classes.rb +32 -7
  64. data/generated/google/apis/compute_beta/representations.rb +2 -0
  65. data/generated/google/apis/compute_beta/service.rb +11 -11
  66. data/generated/google/apis/compute_v1.rb +1 -1
  67. data/generated/google/apis/compute_v1/classes.rb +95 -2
  68. data/generated/google/apis/compute_v1/representations.rb +33 -0
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
  71. data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
  74. data/generated/google/apis/dataproc_v1/representations.rb +200 -200
  75. data/generated/google/apis/dataproc_v1/service.rb +356 -356
  76. data/generated/google/apis/datastore_v1.rb +4 -4
  77. data/generated/google/apis/datastore_v1/classes.rb +701 -690
  78. data/generated/google/apis/datastore_v1/representations.rb +160 -160
  79. data/generated/google/apis/datastore_v1/service.rb +52 -52
  80. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
  81. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2.rb +1 -1
  83. data/generated/google/apis/drive_v2/classes.rb +158 -35
  84. data/generated/google/apis/drive_v2/representations.rb +39 -0
  85. data/generated/google/apis/drive_v2/service.rb +4 -4
  86. data/generated/google/apis/drive_v3.rb +1 -1
  87. data/generated/google/apis/drive_v3/classes.rb +162 -33
  88. data/generated/google/apis/drive_v3/representations.rb +39 -0
  89. data/generated/google/apis/drive_v3/service.rb +4 -4
  90. data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
  91. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
  92. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
  93. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
  94. data/generated/google/apis/firebaserules_v1.rb +41 -0
  95. data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
  96. data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
  97. data/generated/google/apis/firebaserules_v1/service.rb +495 -0
  98. data/generated/google/apis/games_v1/classes.rb +4 -0
  99. data/generated/google/apis/genomics_v1.rb +7 -7
  100. data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
  101. data/generated/google/apis/genomics_v1/representations.rb +387 -387
  102. data/generated/google/apis/genomics_v1/service.rb +1187 -1187
  103. data/generated/google/apis/gmail_v1/classes.rb +3 -0
  104. data/generated/google/apis/iam_v1.rb +1 -1
  105. data/generated/google/apis/iam_v1/classes.rb +123 -117
  106. data/generated/google/apis/iam_v1/representations.rb +33 -33
  107. data/generated/google/apis/iam_v1/service.rb +109 -109
  108. data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
  109. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  110. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  111. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  112. data/generated/google/apis/language_v1.rb +36 -0
  113. data/generated/google/apis/language_v1/classes.rb +757 -0
  114. data/generated/google/apis/language_v1/representations.rb +338 -0
  115. data/generated/google/apis/language_v1/service.rb +185 -0
  116. data/generated/google/apis/language_v1beta1/classes.rb +407 -407
  117. data/generated/google/apis/language_v1beta1/representations.rb +103 -103
  118. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  119. data/generated/google/apis/logging_v2.rb +46 -0
  120. data/generated/google/apis/logging_v2/classes.rb +1271 -0
  121. data/generated/google/apis/logging_v2/representations.rb +421 -0
  122. data/generated/google/apis/logging_v2/service.rb +1569 -0
  123. data/generated/google/apis/logging_v2beta1.rb +1 -1
  124. data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
  125. data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
  126. data/generated/google/apis/logging_v2beta1/service.rb +235 -235
  127. data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
  128. data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
  129. data/generated/google/apis/ml_v1.rb +34 -0
  130. data/generated/google/apis/ml_v1/classes.rb +1617 -0
  131. data/generated/google/apis/ml_v1/representations.rb +498 -0
  132. data/generated/google/apis/ml_v1/service.rb +769 -0
  133. data/generated/google/apis/monitoring_v3.rb +4 -4
  134. data/generated/google/apis/monitoring_v3/classes.rb +630 -630
  135. data/generated/google/apis/monitoring_v3/representations.rb +134 -134
  136. data/generated/google/apis/monitoring_v3/service.rb +240 -240
  137. data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
  138. data/generated/google/apis/partners_v2.rb +1 -1
  139. data/generated/google/apis/partners_v2/classes.rb +639 -639
  140. data/generated/google/apis/partners_v2/representations.rb +168 -168
  141. data/generated/google/apis/partners_v2/service.rb +381 -381
  142. data/generated/google/apis/people_v1.rb +10 -10
  143. data/generated/google/apis/people_v1/classes.rb +524 -524
  144. data/generated/google/apis/people_v1/representations.rb +143 -143
  145. data/generated/google/apis/people_v1/service.rb +30 -30
  146. data/generated/google/apis/plus_domains_v1.rb +1 -1
  147. data/generated/google/apis/plus_v1.rb +1 -1
  148. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
  149. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
  150. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
  151. data/generated/google/apis/pubsub_v1/classes.rb +175 -173
  152. data/generated/google/apis/pubsub_v1/representations.rb +53 -53
  153. data/generated/google/apis/pubsub_v1/service.rb +210 -210
  154. data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
  155. data/generated/google/apis/runtimeconfig_v1.rb +38 -0
  156. data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
  157. data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
  158. data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
  159. data/generated/google/apis/script_v1.rb +1 -1
  160. data/generated/google/apis/script_v1/classes.rb +6 -6
  161. data/generated/google/apis/script_v1/representations.rb +1 -1
  162. data/generated/google/apis/searchconsole_v1.rb +31 -0
  163. data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
  164. data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
  165. data/generated/google/apis/searchconsole_v1/service.rb +88 -0
  166. data/generated/google/apis/servicecontrol_v1.rb +38 -0
  167. data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
  168. data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
  169. data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
  170. data/generated/google/apis/servicemanagement_v1.rb +45 -0
  171. data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
  172. data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
  173. data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
  174. data/generated/google/apis/serviceuser_v1.rb +42 -0
  175. data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
  176. data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
  177. data/generated/google/apis/serviceuser_v1/service.rb +214 -0
  178. data/generated/google/apis/sheets_v4.rb +3 -3
  179. data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
  180. data/generated/google/apis/sheets_v4/representations.rb +381 -381
  181. data/generated/google/apis/sheets_v4/service.rb +48 -48
  182. data/generated/google/apis/slides_v1.rb +3 -3
  183. data/generated/google/apis/slides_v1/classes.rb +2860 -2860
  184. data/generated/google/apis/slides_v1/representations.rb +693 -693
  185. data/generated/google/apis/slides_v1/service.rb +30 -30
  186. data/generated/google/apis/sourcerepo_v1.rb +34 -0
  187. data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
  188. data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
  189. data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
  190. data/generated/google/apis/spanner_v1.rb +35 -0
  191. data/generated/google/apis/spanner_v1/classes.rb +3294 -0
  192. data/generated/google/apis/spanner_v1/representations.rb +984 -0
  193. data/generated/google/apis/spanner_v1/service.rb +1504 -0
  194. data/generated/google/apis/speech_v1beta1.rb +1 -1
  195. data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
  196. data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
  197. data/generated/google/apis/speech_v1beta1/service.rb +27 -27
  198. data/generated/google/apis/storage_v1.rb +1 -1
  199. data/generated/google/apis/storage_v1/classes.rb +131 -0
  200. data/generated/google/apis/storage_v1/representations.rb +51 -0
  201. data/generated/google/apis/storage_v1/service.rb +182 -0
  202. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  203. data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
  204. data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
  205. data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
  206. data/generated/google/apis/surveys_v2.rb +40 -0
  207. data/generated/google/apis/surveys_v2/classes.rb +806 -0
  208. data/generated/google/apis/surveys_v2/representations.rb +347 -0
  209. data/generated/google/apis/surveys_v2/service.rb +477 -0
  210. data/generated/google/apis/tagmanager_v2.rb +52 -0
  211. data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
  212. data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
  213. data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
  214. data/generated/google/apis/toolresults_v1beta3.rb +34 -0
  215. data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
  216. data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
  217. data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
  218. data/generated/google/apis/tracing_v1.rb +40 -0
  219. data/generated/google/apis/tracing_v1/classes.rb +664 -0
  220. data/generated/google/apis/tracing_v1/representations.rb +279 -0
  221. data/generated/google/apis/tracing_v1/service.rb +225 -0
  222. data/generated/google/apis/vision_v1.rb +1 -1
  223. data/generated/google/apis/vision_v1/classes.rb +1223 -1222
  224. data/generated/google/apis/vision_v1/representations.rb +234 -234
  225. data/generated/google/apis/vision_v1/service.rb +10 -10
  226. data/generated/google/apis/webfonts_v1.rb +33 -0
  227. data/generated/google/apis/webfonts_v1/classes.rb +113 -0
  228. data/generated/google/apis/webfonts_v1/representations.rb +62 -0
  229. data/generated/google/apis/webfonts_v1/service.rb +102 -0
  230. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  231. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  232. data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
  233. data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
  234. data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
  235. data/generated/google/apis/youtube_v3/classes.rb +1 -0
  236. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  237. data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
  238. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  239. data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
  240. data/lib/google/apis/generator/annotator.rb +5 -4
  241. data/lib/google/apis/generator/templates/_class.tmpl +3 -0
  242. data/lib/google/apis/version.rb +1 -1
  243. data/samples/cli/lib/samples/adsense.rb +99 -0
  244. data/samples/cli/lib/samples/analytics.rb +18 -0
  245. data/samples/cli/lib/samples/gmail.rb +33 -0
  246. data/samples/cli/lib/samples/vision.rb +69 -0
  247. metadata +89 -4
  248. data/sync.rb +0 -71
@@ -28,11 +28,11 @@ module Google
28
28
  VERSION = 'V2'
29
29
  REVISION = '20170322'
30
30
 
31
- # Manage cloud debugger
32
- AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
33
-
34
31
  # View and manage your data across Google Cloud Platform services
35
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+
34
+ # Manage cloud debugger
35
+ AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
36
36
  end
37
37
  end
38
38
  end
@@ -170,6 +170,59 @@ module Google
170
170
  class Breakpoint
171
171
  include Google::Apis::Core::Hashable
172
172
 
173
+ # Breakpoint identifier, unique in the scope of the debuggee.
174
+ # Corresponds to the JSON property `id`
175
+ # @return [String]
176
+ attr_accessor :id
177
+
178
+ # Represents a location in the source code.
179
+ # Corresponds to the JSON property `location`
180
+ # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
181
+ attr_accessor :location
182
+
183
+ # Time this breakpoint was finalized as seen by the server in seconds
184
+ # resolution.
185
+ # Corresponds to the JSON property `finalTime`
186
+ # @return [String]
187
+ attr_accessor :final_time
188
+
189
+ # The `variable_table` exists to aid with computation, memory and network
190
+ # traffic optimization. It enables storing a variable once and reference
191
+ # it from multiple variables, including variables stored in the
192
+ # `variable_table` itself.
193
+ # For example, the same `this` object, which may appear at many levels of
194
+ # the stack, can have all of its data stored once in this table. The
195
+ # stack frame variables then would hold only a reference to it.
196
+ # The variable `var_table_index` field is an index into this repeated field.
197
+ # The stored objects are nameless and get their name from the referencing
198
+ # variable. The effective variable is a merge of the referencing variable
199
+ # and the referenced variable.
200
+ # Corresponds to the JSON property `variableTable`
201
+ # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
202
+ attr_accessor :variable_table
203
+
204
+ # Time this breakpoint was created by the server in seconds resolution.
205
+ # Corresponds to the JSON property `createTime`
206
+ # @return [String]
207
+ attr_accessor :create_time
208
+
209
+ # Only relevant when action is `LOG`. Defines the message to log when
210
+ # the breakpoint hits. The message may include parameter placeholders `$0`,
211
+ # `$1`, etc. These placeholders are replaced with the evaluated value
212
+ # of the appropriate expression. Expressions not referenced in
213
+ # `log_message_format` are not logged.
214
+ # Example: `Message received, id = $0, count = $1` with
215
+ # `expressions` = `[ message.id, message.count ]`.
216
+ # Corresponds to the JSON property `logMessageFormat`
217
+ # @return [String]
218
+ attr_accessor :log_message_format
219
+
220
+ # A set of custom breakpoint properties, populated by the agent, to be
221
+ # displayed to the user.
222
+ # Corresponds to the JSON property `labels`
223
+ # @return [Hash<String,String>]
224
+ attr_accessor :labels
225
+
173
226
  # List of read-only expressions to evaluate at the breakpoint location.
174
227
  # The expressions are composed using expressions in the programming language
175
228
  # at the source location. If the breakpoint action is `LOG`, the evaluated
@@ -233,65 +286,19 @@ module Google
233
286
  # @return [String]
234
287
  attr_accessor :log_level
235
288
 
236
- # Breakpoint identifier, unique in the scope of the debuggee.
237
- # Corresponds to the JSON property `id`
238
- # @return [String]
239
- attr_accessor :id
240
-
241
- # Represents a location in the source code.
242
- # Corresponds to the JSON property `location`
243
- # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
244
- attr_accessor :location
245
-
246
- # Time this breakpoint was finalized as seen by the server in seconds
247
- # resolution.
248
- # Corresponds to the JSON property `finalTime`
249
- # @return [String]
250
- attr_accessor :final_time
251
-
252
- # The `variable_table` exists to aid with computation, memory and network
253
- # traffic optimization. It enables storing a variable once and reference
254
- # it from multiple variables, including variables stored in the
255
- # `variable_table` itself.
256
- # For example, the same `this` object, which may appear at many levels of
257
- # the stack, can have all of its data stored once in this table. The
258
- # stack frame variables then would hold only a reference to it.
259
- # The variable `var_table_index` field is an index into this repeated field.
260
- # The stored objects are nameless and get their name from the referencing
261
- # variable. The effective variable is a merge of the referencing variable
262
- # and the referenced variable.
263
- # Corresponds to the JSON property `variableTable`
264
- # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
265
- attr_accessor :variable_table
266
-
267
- # Time this breakpoint was created by the server in seconds resolution.
268
- # Corresponds to the JSON property `createTime`
269
- # @return [String]
270
- attr_accessor :create_time
271
-
272
- # Only relevant when action is `LOG`. Defines the message to log when
273
- # the breakpoint hits. The message may include parameter placeholders `$0`,
274
- # `$1`, etc. These placeholders are replaced with the evaluated value
275
- # of the appropriate expression. Expressions not referenced in
276
- # `log_message_format` are not logged.
277
- # Example: `Message received, id = $0, count = $1` with
278
- # `expressions` = `[ message.id, message.count ]`.
279
- # Corresponds to the JSON property `logMessageFormat`
280
- # @return [String]
281
- attr_accessor :log_message_format
282
-
283
- # A set of custom breakpoint properties, populated by the agent, to be
284
- # displayed to the user.
285
- # Corresponds to the JSON property `labels`
286
- # @return [Hash<String,String>]
287
- attr_accessor :labels
288
-
289
289
  def initialize(**args)
290
290
  update!(**args)
291
291
  end
292
292
 
293
293
  # Update properties of this object
294
294
  def update!(**args)
295
+ @id = args[:id] if args.key?(:id)
296
+ @location = args[:location] if args.key?(:location)
297
+ @final_time = args[:final_time] if args.key?(:final_time)
298
+ @variable_table = args[:variable_table] if args.key?(:variable_table)
299
+ @create_time = args[:create_time] if args.key?(:create_time)
300
+ @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
301
+ @labels = args[:labels] if args.key?(:labels)
295
302
  @expressions = args[:expressions] if args.key?(:expressions)
296
303
  @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
297
304
  @is_final_state = args[:is_final_state] if args.key?(:is_final_state)
@@ -301,13 +308,6 @@ module Google
301
308
  @user_email = args[:user_email] if args.key?(:user_email)
302
309
  @action = args[:action] if args.key?(:action)
303
310
  @log_level = args[:log_level] if args.key?(:log_level)
304
- @id = args[:id] if args.key?(:id)
305
- @location = args[:location] if args.key?(:location)
306
- @final_time = args[:final_time] if args.key?(:final_time)
307
- @variable_table = args[:variable_table] if args.key?(:variable_table)
308
- @create_time = args[:create_time] if args.key?(:create_time)
309
- @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
310
- @labels = args[:labels] if args.key?(:labels)
311
311
  end
312
312
  end
313
313
 
@@ -354,12 +354,6 @@ module Google
354
354
  class SourceContext
355
355
  include Google::Apis::Core::Hashable
356
356
 
357
- # A GitSourceContext denotes a particular revision in a third party Git
358
- # repository (e.g. GitHub).
359
- # Corresponds to the JSON property `git`
360
- # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
361
- attr_accessor :git
362
-
363
357
  # A SourceContext referring to a Gerrit project.
364
358
  # Corresponds to the JSON property `gerrit`
365
359
  # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
@@ -376,16 +370,22 @@ module Google
376
370
  # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
377
371
  attr_accessor :cloud_workspace
378
372
 
373
+ # A GitSourceContext denotes a particular revision in a third party Git
374
+ # repository (e.g. GitHub).
375
+ # Corresponds to the JSON property `git`
376
+ # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
377
+ attr_accessor :git
378
+
379
379
  def initialize(**args)
380
380
  update!(**args)
381
381
  end
382
382
 
383
383
  # Update properties of this object
384
384
  def update!(**args)
385
- @git = args[:git] if args.key?(:git)
386
385
  @gerrit = args[:gerrit] if args.key?(:gerrit)
387
386
  @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
388
387
  @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
388
+ @git = args[:git] if args.key?(:git)
389
389
  end
390
390
  end
391
391
 
@@ -394,6 +394,11 @@ module Google
394
394
  class CloudRepoSourceContext
395
395
  include Google::Apis::Core::Hashable
396
396
 
397
+ # An alias to a repo revision.
398
+ # Corresponds to the JSON property `aliasContext`
399
+ # @return [Google::Apis::ClouddebuggerV2::AliasContext]
400
+ attr_accessor :alias_context
401
+
397
402
  # A revision ID.
398
403
  # Corresponds to the JSON property `revisionId`
399
404
  # @return [String]
@@ -409,26 +414,21 @@ module Google
409
414
  # @return [Google::Apis::ClouddebuggerV2::RepoId]
410
415
  attr_accessor :repo_id
411
416
 
412
- # An alias to a repo revision.
413
- # Corresponds to the JSON property `aliasContext`
414
- # @return [Google::Apis::ClouddebuggerV2::AliasContext]
415
- attr_accessor :alias_context
416
-
417
417
  def initialize(**args)
418
418
  update!(**args)
419
419
  end
420
420
 
421
421
  # Update properties of this object
422
422
  def update!(**args)
423
+ @alias_context = args[:alias_context] if args.key?(:alias_context)
423
424
  @revision_id = args[:revision_id] if args.key?(:revision_id)
424
425
  @alias_name = args[:alias_name] if args.key?(:alias_name)
425
426
  @repo_id = args[:repo_id] if args.key?(:repo_id)
426
- @alias_context = args[:alias_context] if args.key?(:alias_context)
427
427
  end
428
428
  end
429
429
 
430
- # Request to register a debuggee.
431
- class RegisterDebuggeeRequest
430
+ # Response for registering a debuggee.
431
+ class RegisterDebuggeeResponse
432
432
  include Google::Apis::Core::Hashable
433
433
 
434
434
  # Represents the application to debug. The application may include one or more
@@ -450,8 +450,8 @@ module Google
450
450
  end
451
451
  end
452
452
 
453
- # Response for registering a debuggee.
454
- class RegisterDebuggeeResponse
453
+ # Request to register a debuggee.
454
+ class RegisterDebuggeeRequest
455
455
  include Google::Apis::Core::Hashable
456
456
 
457
457
  # Represents the application to debug. The application may include one or more
@@ -640,6 +640,11 @@ module Google
640
640
  class Variable
641
641
  include Google::Apis::Core::Hashable
642
642
 
643
+ # Simple value of the variable.
644
+ # Corresponds to the JSON property `value`
645
+ # @return [String]
646
+ attr_accessor :value
647
+
643
648
  # Reference to a variable in the shared variable table. More than
644
649
  # one variable can reference the same variable in the table. The
645
650
  # `var_table_index` field is an index into `variable_table` in Breakpoint.
@@ -647,11 +652,6 @@ module Google
647
652
  # @return [Fixnum]
648
653
  attr_accessor :var_table_index
649
654
 
650
- # Simple value of the variable.
651
- # Corresponds to the JSON property `value`
652
- # @return [String]
653
- attr_accessor :value
654
-
655
655
  # Members contained or pointed to by the variable.
656
656
  # Corresponds to the JSON property `members`
657
657
  # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
@@ -685,8 +685,8 @@ module Google
685
685
 
686
686
  # Update properties of this object
687
687
  def update!(**args)
688
- @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
689
688
  @value = args[:value] if args.key?(:value)
689
+ @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
690
690
  @members = args[:members] if args.key?(:members)
691
691
  @status = args[:status] if args.key?(:status)
692
692
  @name = args[:name] if args.key?(:name)
@@ -737,25 +737,25 @@ module Google
737
737
  class RepoId
738
738
  include Google::Apis::Core::Hashable
739
739
 
740
- # A server-assigned, globally unique identifier.
741
- # Corresponds to the JSON property `uid`
742
- # @return [String]
743
- attr_accessor :uid
744
-
745
740
  # Selects a repo using a Google Cloud Platform project ID
746
741
  # (e.g. winged-cargo-31) and a repo name within that project.
747
742
  # Corresponds to the JSON property `projectRepoId`
748
743
  # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
749
744
  attr_accessor :project_repo_id
750
745
 
746
+ # A server-assigned, globally unique identifier.
747
+ # Corresponds to the JSON property `uid`
748
+ # @return [String]
749
+ attr_accessor :uid
750
+
751
751
  def initialize(**args)
752
752
  update!(**args)
753
753
  end
754
754
 
755
755
  # Update properties of this object
756
756
  def update!(**args)
757
- @uid = args[:uid] if args.key?(:uid)
758
757
  @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
758
+ @uid = args[:uid] if args.key?(:uid)
759
759
  end
760
760
  end
761
761
 
@@ -888,24 +888,24 @@ module Google
888
888
  class SourceLocation
889
889
  include Google::Apis::Core::Hashable
890
890
 
891
- # Path to the source file within the source context of the target binary.
892
- # Corresponds to the JSON property `path`
893
- # @return [String]
894
- attr_accessor :path
895
-
896
891
  # Line inside the file. The first line in the file has the value `1`.
897
892
  # Corresponds to the JSON property `line`
898
893
  # @return [Fixnum]
899
894
  attr_accessor :line
900
895
 
896
+ # Path to the source file within the source context of the target binary.
897
+ # Corresponds to the JSON property `path`
898
+ # @return [String]
899
+ attr_accessor :path
900
+
901
901
  def initialize(**args)
902
902
  update!(**args)
903
903
  end
904
904
 
905
905
  # Update properties of this object
906
906
  def update!(**args)
907
- @path = args[:path] if args.key?(:path)
908
907
  @line = args[:line] if args.key?(:line)
908
+ @path = args[:path] if args.key?(:path)
909
909
  end
910
910
  end
911
911
 
@@ -917,24 +917,12 @@ module Google
917
917
  class Debuggee
918
918
  include Google::Apis::Core::Hashable
919
919
 
920
- # Unique identifier for the debuggee generated by the controller service.
921
- # Corresponds to the JSON property `id`
922
- # @return [String]
923
- attr_accessor :id
924
-
925
- # Version ID of the agent release. The version ID is structured as
926
- # following: `domain/type/vmajor.minor` (for example
927
- # `google.com/gcp-java/v1.1`).
928
- # Corresponds to the JSON property `agentVersion`
920
+ # Human readable description of the debuggee.
921
+ # Including a human-readable project name, environment name and version
922
+ # information is recommended.
923
+ # Corresponds to the JSON property `description`
929
924
  # @return [String]
930
- attr_accessor :agent_version
931
-
932
- # If set to `true`, indicates that the agent should disable itself and
933
- # detach from the debuggee.
934
- # Corresponds to the JSON property `isDisabled`
935
- # @return [Boolean]
936
- attr_accessor :is_disabled
937
- alias_method :is_disabled?, :is_disabled
925
+ attr_accessor :description
938
926
 
939
927
  # Debuggee uniquifier within the project.
940
928
  # Any string that identifies the application within the project can be used.
@@ -943,13 +931,6 @@ module Google
943
931
  # @return [String]
944
932
  attr_accessor :uniquifier
945
933
 
946
- # Human readable description of the debuggee.
947
- # Including a human-readable project name, environment name and version
948
- # information is recommended.
949
- # Corresponds to the JSON property `description`
950
- # @return [String]
951
- attr_accessor :description
952
-
953
934
  # References to the locations and revisions of the source code used in the
954
935
  # deployed application.
955
936
  # NOTE: This field is deprecated. Consumers should use
@@ -974,6 +955,13 @@ module Google
974
955
  # @return [Hash<String,String>]
975
956
  attr_accessor :labels
976
957
 
958
+ # If set to `true`, indicates that the debuggee is considered as inactive by
959
+ # the Controller service.
960
+ # Corresponds to the JSON property `isInactive`
961
+ # @return [Boolean]
962
+ attr_accessor :is_inactive
963
+ alias_method :is_inactive?, :is_inactive
964
+
977
965
  # Represents a contextual status message.
978
966
  # The message can indicate an error or informational status, and refer to
979
967
  # specific parts of the containing object.
@@ -983,36 +971,48 @@ module Google
983
971
  # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
984
972
  attr_accessor :status
985
973
 
986
- # If set to `true`, indicates that the debuggee is considered as inactive by
987
- # the Controller service.
988
- # Corresponds to the JSON property `isInactive`
989
- # @return [Boolean]
990
- attr_accessor :is_inactive
991
- alias_method :is_inactive?, :is_inactive
992
-
993
974
  # Project the debuggee is associated with.
994
975
  # Use the project number when registering a Google Cloud Platform project.
995
976
  # Corresponds to the JSON property `project`
996
977
  # @return [String]
997
978
  attr_accessor :project
998
979
 
980
+ # If set to `true`, indicates that the agent should disable itself and
981
+ # detach from the debuggee.
982
+ # Corresponds to the JSON property `isDisabled`
983
+ # @return [Boolean]
984
+ attr_accessor :is_disabled
985
+ alias_method :is_disabled?, :is_disabled
986
+
987
+ # Version ID of the agent release. The version ID is structured as
988
+ # following: `domain/type/vmajor.minor` (for example
989
+ # `google.com/gcp-java/v1.1`).
990
+ # Corresponds to the JSON property `agentVersion`
991
+ # @return [String]
992
+ attr_accessor :agent_version
993
+
994
+ # Unique identifier for the debuggee generated by the controller service.
995
+ # Corresponds to the JSON property `id`
996
+ # @return [String]
997
+ attr_accessor :id
998
+
999
999
  def initialize(**args)
1000
1000
  update!(**args)
1001
1001
  end
1002
1002
 
1003
1003
  # Update properties of this object
1004
1004
  def update!(**args)
1005
- @id = args[:id] if args.key?(:id)
1006
- @agent_version = args[:agent_version] if args.key?(:agent_version)
1007
- @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
1008
- @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
1009
1005
  @description = args[:description] if args.key?(:description)
1006
+ @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
1010
1007
  @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
1011
1008
  @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
1012
1009
  @labels = args[:labels] if args.key?(:labels)
1013
- @status = args[:status] if args.key?(:status)
1014
1010
  @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
1011
+ @status = args[:status] if args.key?(:status)
1015
1012
  @project = args[:project] if args.key?(:project)
1013
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
1014
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1015
+ @id = args[:id] if args.key?(:id)
1016
1016
  end
1017
1017
  end
1018
1018