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,184 +22,28 @@ module Google
22
22
  module Apis
23
23
  module ClouddebuggerV2
24
24
 
25
- # Response for listing debuggees.
26
- class ListDebuggeesResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # List of debuggees accessible to the calling user.
30
- # Note that the `description` field is the only human readable field
31
- # that should be displayed to the user.
32
- # The fields `debuggee.id` and `description` fields are guaranteed to be
33
- # set on each debuggee.
34
- # Corresponds to the JSON property `debuggees`
35
- # @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
36
- attr_accessor :debuggees
37
-
38
- def initialize(**args)
39
- update!(**args)
40
- end
41
-
42
- # Update properties of this object
43
- def update!(**args)
44
- @debuggees = args[:debuggees] if args.key?(:debuggees)
45
- end
46
- end
47
-
48
- # An alias to a repo revision.
49
- class AliasContext
50
- include Google::Apis::Core::Hashable
51
-
52
- # The alias name.
53
- # Corresponds to the JSON property `name`
54
- # @return [String]
55
- attr_accessor :name
56
-
57
- # The alias kind.
58
- # Corresponds to the JSON property `kind`
59
- # @return [String]
60
- attr_accessor :kind
61
-
62
- def initialize(**args)
63
- update!(**args)
64
- end
65
-
66
- # Update properties of this object
67
- def update!(**args)
68
- @name = args[:name] if args.key?(:name)
69
- @kind = args[:kind] if args.key?(:kind)
70
- end
71
- end
72
-
73
- # A generic empty message that you can re-use to avoid defining duplicated
74
- # empty messages in your APIs. A typical example is to use it as the request
75
- # or the response type of an API method. For instance:
76
- # service Foo `
77
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
78
- # `
79
- # The JSON representation for `Empty` is empty JSON object ````.
80
- class Empty
81
- include Google::Apis::Core::Hashable
82
-
83
- def initialize(**args)
84
- update!(**args)
85
- end
86
-
87
- # Update properties of this object
88
- def update!(**args)
89
- end
90
- end
91
-
92
- # Represents a location in the source code.
93
- class SourceLocation
94
- include Google::Apis::Core::Hashable
95
-
96
- # Line inside the file. The first line in the file has the value `1`.
97
- # Corresponds to the JSON property `line`
98
- # @return [Fixnum]
99
- attr_accessor :line
100
-
101
- # Path to the source file within the source context of the target binary.
102
- # Corresponds to the JSON property `path`
103
- # @return [String]
104
- attr_accessor :path
105
-
106
- def initialize(**args)
107
- update!(**args)
108
- end
109
-
110
- # Update properties of this object
111
- def update!(**args)
112
- @line = args[:line] if args.key?(:line)
113
- @path = args[:path] if args.key?(:path)
114
- end
115
- end
116
-
117
- # Represents the application to debug. The application may include one or more
118
- # replicated processes executing the same code. Each of these processes is
119
- # attached with a debugger agent, carrying out the debugging commands.
120
- # The agents attached to the same debuggee are identified by using exactly the
121
- # same field values when registering.
122
- class Debuggee
25
+ # Response for listing active breakpoints.
26
+ class ListActiveBreakpointsResponse
123
27
  include Google::Apis::Core::Hashable
124
28
 
125
- # References to the locations and revisions of the source code used in the
126
- # deployed application.
127
- # Contexts describing a remote repo related to the source code
128
- # have a `category` label of `remote_repo`. Source snapshot source
129
- # contexts have a `category` of `snapshot`.
130
- # Corresponds to the JSON property `extSourceContexts`
131
- # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
132
- attr_accessor :ext_source_contexts
133
-
134
- # A set of custom debuggee properties, populated by the agent, to be
135
- # displayed to the user.
136
- # Corresponds to the JSON property `labels`
137
- # @return [Hash<String,String>]
138
- attr_accessor :labels
139
-
140
- # Represents a contextual status message.
141
- # The message can indicate an error or informational status, and refer to
142
- # specific parts of the containing object.
143
- # For example, the `Breakpoint.status` field can indicate an error referring
144
- # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
145
- # Corresponds to the JSON property `status`
146
- # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
147
- attr_accessor :status
148
-
149
- # If set to `true`, indicates that the debuggee is considered as inactive by
150
- # the Controller service.
151
- # Corresponds to the JSON property `isInactive`
152
- # @return [Boolean]
153
- attr_accessor :is_inactive
154
- alias_method :is_inactive?, :is_inactive
155
-
156
- # Project the debuggee is associated with.
157
- # Use the project number when registering a Google Cloud Platform project.
158
- # Corresponds to the JSON property `project`
159
- # @return [String]
160
- attr_accessor :project
161
-
162
- # Unique identifier for the debuggee generated by the controller service.
163
- # Corresponds to the JSON property `id`
164
- # @return [String]
165
- attr_accessor :id
166
-
167
- # Version ID of the agent release. The version ID is structured as
168
- # following: `domain/type/vmajor.minor` (for example
169
- # `google.com/gcp-java/v1.1`).
170
- # Corresponds to the JSON property `agentVersion`
171
- # @return [String]
172
- attr_accessor :agent_version
29
+ # List of all active breakpoints.
30
+ # The fields `id` and `location` are guaranteed to be set on each breakpoint.
31
+ # Corresponds to the JSON property `breakpoints`
32
+ # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
33
+ attr_accessor :breakpoints
173
34
 
174
- # If set to `true`, indicates that the agent should disable itself and
175
- # detach from the debuggee.
176
- # Corresponds to the JSON property `isDisabled`
35
+ # The `wait_expired` field is set to true by the server when the
36
+ # request times out and the field `success_on_timeout` is set to true.
37
+ # Corresponds to the JSON property `waitExpired`
177
38
  # @return [Boolean]
178
- attr_accessor :is_disabled
179
- alias_method :is_disabled?, :is_disabled
180
-
181
- # Human readable description of the debuggee.
182
- # Including a human-readable project name, environment name and version
183
- # information is recommended.
184
- # Corresponds to the JSON property `description`
185
- # @return [String]
186
- attr_accessor :description
39
+ attr_accessor :wait_expired
40
+ alias_method :wait_expired?, :wait_expired
187
41
 
188
- # Debuggee uniquifier within the project.
189
- # Any string that identifies the application within the project can be used.
190
- # Including environment and version or build IDs is recommended.
191
- # Corresponds to the JSON property `uniquifier`
42
+ # A wait token that can be used in the next method call to block until
43
+ # the list of breakpoints changes.
44
+ # Corresponds to the JSON property `nextWaitToken`
192
45
  # @return [String]
193
- attr_accessor :uniquifier
194
-
195
- # References to the locations and revisions of the source code used in the
196
- # deployed application.
197
- # NOTE: This field is deprecated. Consumers should use
198
- # `ext_source_contexts` if it is not empty. Debug agents should populate
199
- # both this field and `ext_source_contexts`.
200
- # Corresponds to the JSON property `sourceContexts`
201
- # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
202
- attr_accessor :source_contexts
46
+ attr_accessor :next_wait_token
203
47
 
204
48
  def initialize(**args)
205
49
  update!(**args)
@@ -207,17 +51,9 @@ module Google
207
51
 
208
52
  # Update properties of this object
209
53
  def update!(**args)
210
- @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
211
- @labels = args[:labels] if args.key?(:labels)
212
- @status = args[:status] if args.key?(:status)
213
- @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
214
- @project = args[:project] if args.key?(:project)
215
- @id = args[:id] if args.key?(:id)
216
- @agent_version = args[:agent_version] if args.key?(:agent_version)
217
- @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
218
- @description = args[:description] if args.key?(:description)
219
- @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
220
- @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
54
+ @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
55
+ @wait_expired = args[:wait_expired] if args.key?(:wait_expired)
56
+ @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
221
57
  end
222
58
  end
223
59
 
@@ -247,41 +83,6 @@ module Google
247
83
  end
248
84
  end
249
85
 
250
- # Response for listing active breakpoints.
251
- class ListActiveBreakpointsResponse
252
- include Google::Apis::Core::Hashable
253
-
254
- # List of all active breakpoints.
255
- # The fields `id` and `location` are guaranteed to be set on each breakpoint.
256
- # Corresponds to the JSON property `breakpoints`
257
- # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
258
- attr_accessor :breakpoints
259
-
260
- # The `wait_expired` field is set to true by the server when the
261
- # request times out and the field `success_on_timeout` is set to true.
262
- # Corresponds to the JSON property `waitExpired`
263
- # @return [Boolean]
264
- attr_accessor :wait_expired
265
- alias_method :wait_expired?, :wait_expired
266
-
267
- # A wait token that can be used in the next method call to block until
268
- # the list of breakpoints changes.
269
- # Corresponds to the JSON property `nextWaitToken`
270
- # @return [String]
271
- attr_accessor :next_wait_token
272
-
273
- def initialize(**args)
274
- update!(**args)
275
- end
276
-
277
- # Update properties of this object
278
- def update!(**args)
279
- @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
280
- @wait_expired = args[:wait_expired] if args.key?(:wait_expired)
281
- @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
282
- end
283
- end
284
-
285
86
  # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
286
87
  class CloudWorkspaceSourceContext
287
88
  include Google::Apis::Core::Hashable
@@ -445,10 +246,11 @@ module Google
445
246
  # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
446
247
  attr_accessor :variable_table
447
248
 
448
- # Time this breakpoint was created by the server in seconds resolution.
449
- # Corresponds to the JSON property `createTime`
450
- # @return [String]
451
- attr_accessor :create_time
249
+ # A set of custom breakpoint properties, populated by the agent, to be
250
+ # displayed to the user.
251
+ # Corresponds to the JSON property `labels`
252
+ # @return [Hash<String,String>]
253
+ attr_accessor :labels
452
254
 
453
255
  # Only relevant when action is `LOG`. Defines the message to log when
454
256
  # the breakpoint hits. The message may include parameter placeholders `$0`,
@@ -461,11 +263,10 @@ module Google
461
263
  # @return [String]
462
264
  attr_accessor :log_message_format
463
265
 
464
- # A set of custom breakpoint properties, populated by the agent, to be
465
- # displayed to the user.
466
- # Corresponds to the JSON property `labels`
467
- # @return [Hash<String,String>]
468
- attr_accessor :labels
266
+ # Time this breakpoint was created by the server in seconds resolution.
267
+ # Corresponds to the JSON property `createTime`
268
+ # @return [String]
269
+ attr_accessor :create_time
469
270
 
470
271
  # List of read-only expressions to evaluate at the breakpoint location.
471
272
  # The expressions are composed using expressions in the programming language
@@ -553,9 +354,9 @@ module Google
553
354
  # Update properties of this object
554
355
  def update!(**args)
555
356
  @variable_table = args[:variable_table] if args.key?(:variable_table)
556
- @create_time = args[:create_time] if args.key?(:create_time)
557
- @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
558
357
  @labels = args[:labels] if args.key?(:labels)
358
+ @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
359
+ @create_time = args[:create_time] if args.key?(:create_time)
559
360
  @expressions = args[:expressions] if args.key?(:expressions)
560
361
  @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
561
362
  @is_final_state = args[:is_final_state] if args.key?(:is_final_state)
@@ -654,11 +455,6 @@ module Google
654
455
  class CloudRepoSourceContext
655
456
  include Google::Apis::Core::Hashable
656
457
 
657
- # A revision ID.
658
- # Corresponds to the JSON property `revisionId`
659
- # @return [String]
660
- attr_accessor :revision_id
661
-
662
458
  # The name of an alias (branch, tag, etc.).
663
459
  # Corresponds to the JSON property `aliasName`
664
460
  # @return [String]
@@ -674,21 +470,26 @@ module Google
674
470
  # @return [Google::Apis::ClouddebuggerV2::AliasContext]
675
471
  attr_accessor :alias_context
676
472
 
473
+ # A revision ID.
474
+ # Corresponds to the JSON property `revisionId`
475
+ # @return [String]
476
+ attr_accessor :revision_id
477
+
677
478
  def initialize(**args)
678
479
  update!(**args)
679
480
  end
680
481
 
681
482
  # Update properties of this object
682
483
  def update!(**args)
683
- @revision_id = args[:revision_id] if args.key?(:revision_id)
684
484
  @alias_name = args[:alias_name] if args.key?(:alias_name)
685
485
  @repo_id = args[:repo_id] if args.key?(:repo_id)
686
486
  @alias_context = args[:alias_context] if args.key?(:alias_context)
487
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
687
488
  end
688
489
  end
689
490
 
690
- # Response for registering a debuggee.
691
- class RegisterDebuggeeResponse
491
+ # Request to register a debuggee.
492
+ class RegisterDebuggeeRequest
692
493
  include Google::Apis::Core::Hashable
693
494
 
694
495
  # Represents the application to debug. The application may include one or more
@@ -709,9 +510,9 @@ module Google
709
510
  @debuggee = args[:debuggee] if args.key?(:debuggee)
710
511
  end
711
512
  end
712
-
713
- # Request to register a debuggee.
714
- class RegisterDebuggeeRequest
513
+
514
+ # Response for registering a debuggee.
515
+ class RegisterDebuggeeResponse
715
516
  include Google::Apis::Core::Hashable
716
517
 
717
518
  # Represents the application to debug. The application may include one or more
@@ -793,25 +594,25 @@ module Google
793
594
  class GitSourceContext
794
595
  include Google::Apis::Core::Hashable
795
596
 
597
+ # Git repository URL.
598
+ # Corresponds to the JSON property `url`
599
+ # @return [String]
600
+ attr_accessor :url
601
+
796
602
  # Git commit hash.
797
603
  # required.
798
604
  # Corresponds to the JSON property `revisionId`
799
605
  # @return [String]
800
606
  attr_accessor :revision_id
801
607
 
802
- # Git repository URL.
803
- # Corresponds to the JSON property `url`
804
- # @return [String]
805
- attr_accessor :url
806
-
807
608
  def initialize(**args)
808
609
  update!(**args)
809
610
  end
810
611
 
811
612
  # Update properties of this object
812
613
  def update!(**args)
813
- @revision_id = args[:revision_id] if args.key?(:revision_id)
814
614
  @url = args[:url] if args.key?(:url)
615
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
815
616
  end
816
617
  end
817
618
 
@@ -900,18 +701,6 @@ module Google
900
701
  class Variable
901
702
  include Google::Apis::Core::Hashable
902
703
 
903
- # Simple value of the variable.
904
- # Corresponds to the JSON property `value`
905
- # @return [String]
906
- attr_accessor :value
907
-
908
- # Reference to a variable in the shared variable table. More than
909
- # one variable can reference the same variable in the table. The
910
- # `var_table_index` field is an index into `variable_table` in Breakpoint.
911
- # Corresponds to the JSON property `varTableIndex`
912
- # @return [Fixnum]
913
- attr_accessor :var_table_index
914
-
915
704
  # Members contained or pointed to by the variable.
916
705
  # Corresponds to the JSON property `members`
917
706
  # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
@@ -939,18 +728,30 @@ module Google
939
728
  # @return [String]
940
729
  attr_accessor :type
941
730
 
731
+ # Reference to a variable in the shared variable table. More than
732
+ # one variable can reference the same variable in the table. The
733
+ # `var_table_index` field is an index into `variable_table` in Breakpoint.
734
+ # Corresponds to the JSON property `varTableIndex`
735
+ # @return [Fixnum]
736
+ attr_accessor :var_table_index
737
+
738
+ # Simple value of the variable.
739
+ # Corresponds to the JSON property `value`
740
+ # @return [String]
741
+ attr_accessor :value
742
+
942
743
  def initialize(**args)
943
744
  update!(**args)
944
745
  end
945
746
 
946
747
  # Update properties of this object
947
748
  def update!(**args)
948
- @value = args[:value] if args.key?(:value)
949
- @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
950
749
  @members = args[:members] if args.key?(:members)
951
750
  @status = args[:status] if args.key?(:status)
952
751
  @name = args[:name] if args.key?(:name)
953
752
  @type = args[:type] if args.key?(:type)
753
+ @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
754
+ @value = args[:value] if args.key?(:value)
954
755
  end
955
756
  end
956
757
 
@@ -958,12 +759,6 @@ module Google
958
759
  class StackFrame
959
760
  include Google::Apis::Core::Hashable
960
761
 
961
- # Set of arguments passed to this function.
962
- # Note that this might not be populated for all stack frames.
963
- # Corresponds to the JSON property `arguments`
964
- # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
965
- attr_accessor :arguments
966
-
967
762
  # Set of local variables at the stack frame location.
968
763
  # Note that this might not be populated for all stack frames.
969
764
  # Corresponds to the JSON property `locals`
@@ -980,16 +775,22 @@ module Google
980
775
  # @return [String]
981
776
  attr_accessor :function
982
777
 
778
+ # Set of arguments passed to this function.
779
+ # Note that this might not be populated for all stack frames.
780
+ # Corresponds to the JSON property `arguments`
781
+ # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
782
+ attr_accessor :arguments
783
+
983
784
  def initialize(**args)
984
785
  update!(**args)
985
786
  end
986
787
 
987
788
  # Update properties of this object
988
789
  def update!(**args)
989
- @arguments = args[:arguments] if args.key?(:arguments)
990
790
  @locals = args[:locals] if args.key?(:locals)
991
791
  @location = args[:location] if args.key?(:location)
992
792
  @function = args[:function] if args.key?(:function)
793
+ @arguments = args[:arguments] if args.key?(:arguments)
993
794
  end
994
795
  end
995
796
 
@@ -1076,6 +877,205 @@ module Google
1076
877
  @labels = args[:labels] if args.key?(:labels)
1077
878
  end
1078
879
  end
880
+
881
+ # Response for listing debuggees.
882
+ class ListDebuggeesResponse
883
+ include Google::Apis::Core::Hashable
884
+
885
+ # List of debuggees accessible to the calling user.
886
+ # Note that the `description` field is the only human readable field
887
+ # that should be displayed to the user.
888
+ # The fields `debuggee.id` and `description` fields are guaranteed to be
889
+ # set on each debuggee.
890
+ # Corresponds to the JSON property `debuggees`
891
+ # @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
892
+ attr_accessor :debuggees
893
+
894
+ def initialize(**args)
895
+ update!(**args)
896
+ end
897
+
898
+ # Update properties of this object
899
+ def update!(**args)
900
+ @debuggees = args[:debuggees] if args.key?(:debuggees)
901
+ end
902
+ end
903
+
904
+ # An alias to a repo revision.
905
+ class AliasContext
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # The alias name.
909
+ # Corresponds to the JSON property `name`
910
+ # @return [String]
911
+ attr_accessor :name
912
+
913
+ # The alias kind.
914
+ # Corresponds to the JSON property `kind`
915
+ # @return [String]
916
+ attr_accessor :kind
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @name = args[:name] if args.key?(:name)
925
+ @kind = args[:kind] if args.key?(:kind)
926
+ end
927
+ end
928
+
929
+ # A generic empty message that you can re-use to avoid defining duplicated
930
+ # empty messages in your APIs. A typical example is to use it as the request
931
+ # or the response type of an API method. For instance:
932
+ # service Foo `
933
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
934
+ # `
935
+ # The JSON representation for `Empty` is empty JSON object ````.
936
+ class Empty
937
+ include Google::Apis::Core::Hashable
938
+
939
+ def initialize(**args)
940
+ update!(**args)
941
+ end
942
+
943
+ # Update properties of this object
944
+ def update!(**args)
945
+ end
946
+ end
947
+
948
+ # Represents a location in the source code.
949
+ class SourceLocation
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # Line inside the file. The first line in the file has the value `1`.
953
+ # Corresponds to the JSON property `line`
954
+ # @return [Fixnum]
955
+ attr_accessor :line
956
+
957
+ # Path to the source file within the source context of the target binary.
958
+ # Corresponds to the JSON property `path`
959
+ # @return [String]
960
+ attr_accessor :path
961
+
962
+ def initialize(**args)
963
+ update!(**args)
964
+ end
965
+
966
+ # Update properties of this object
967
+ def update!(**args)
968
+ @line = args[:line] if args.key?(:line)
969
+ @path = args[:path] if args.key?(:path)
970
+ end
971
+ end
972
+
973
+ # Represents the application to debug. The application may include one or more
974
+ # replicated processes executing the same code. Each of these processes is
975
+ # attached with a debugger agent, carrying out the debugging commands.
976
+ # The agents attached to the same debuggee are identified by using exactly the
977
+ # same field values when registering.
978
+ class Debuggee
979
+ include Google::Apis::Core::Hashable
980
+
981
+ # If set to `true`, indicates that the agent should disable itself and
982
+ # detach from the debuggee.
983
+ # Corresponds to the JSON property `isDisabled`
984
+ # @return [Boolean]
985
+ attr_accessor :is_disabled
986
+ alias_method :is_disabled?, :is_disabled
987
+
988
+ # Version ID of the agent release. The version ID is structured as
989
+ # following: `domain/type/vmajor.minor` (for example
990
+ # `google.com/gcp-java/v1.1`).
991
+ # Corresponds to the JSON property `agentVersion`
992
+ # @return [String]
993
+ attr_accessor :agent_version
994
+
995
+ # Unique identifier for the debuggee generated by the controller service.
996
+ # Corresponds to the JSON property `id`
997
+ # @return [String]
998
+ attr_accessor :id
999
+
1000
+ # Human readable description of the debuggee.
1001
+ # Including a human-readable project name, environment name and version
1002
+ # information is recommended.
1003
+ # Corresponds to the JSON property `description`
1004
+ # @return [String]
1005
+ attr_accessor :description
1006
+
1007
+ # Debuggee uniquifier within the project.
1008
+ # Any string that identifies the application within the project can be used.
1009
+ # Including environment and version or build IDs is recommended.
1010
+ # Corresponds to the JSON property `uniquifier`
1011
+ # @return [String]
1012
+ attr_accessor :uniquifier
1013
+
1014
+ # References to the locations and revisions of the source code used in the
1015
+ # deployed application.
1016
+ # NOTE: This field is deprecated. Consumers should use
1017
+ # `ext_source_contexts` if it is not empty. Debug agents should populate
1018
+ # both this field and `ext_source_contexts`.
1019
+ # Corresponds to the JSON property `sourceContexts`
1020
+ # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
1021
+ attr_accessor :source_contexts
1022
+
1023
+ # References to the locations and revisions of the source code used in the
1024
+ # deployed application.
1025
+ # Contexts describing a remote repo related to the source code
1026
+ # have a `category` label of `remote_repo`. Source snapshot source
1027
+ # contexts have a `category` of `snapshot`.
1028
+ # Corresponds to the JSON property `extSourceContexts`
1029
+ # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
1030
+ attr_accessor :ext_source_contexts
1031
+
1032
+ # A set of custom debuggee properties, populated by the agent, to be
1033
+ # displayed to the user.
1034
+ # Corresponds to the JSON property `labels`
1035
+ # @return [Hash<String,String>]
1036
+ attr_accessor :labels
1037
+
1038
+ # Represents a contextual status message.
1039
+ # The message can indicate an error or informational status, and refer to
1040
+ # specific parts of the containing object.
1041
+ # For example, the `Breakpoint.status` field can indicate an error referring
1042
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1043
+ # Corresponds to the JSON property `status`
1044
+ # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
1045
+ attr_accessor :status
1046
+
1047
+ # If set to `true`, indicates that the debuggee is considered as inactive by
1048
+ # the Controller service.
1049
+ # Corresponds to the JSON property `isInactive`
1050
+ # @return [Boolean]
1051
+ attr_accessor :is_inactive
1052
+ alias_method :is_inactive?, :is_inactive
1053
+
1054
+ # Project the debuggee is associated with.
1055
+ # Use the project number when registering a Google Cloud Platform project.
1056
+ # Corresponds to the JSON property `project`
1057
+ # @return [String]
1058
+ attr_accessor :project
1059
+
1060
+ def initialize(**args)
1061
+ update!(**args)
1062
+ end
1063
+
1064
+ # Update properties of this object
1065
+ def update!(**args)
1066
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
1067
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1068
+ @id = args[:id] if args.key?(:id)
1069
+ @description = args[:description] if args.key?(:description)
1070
+ @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
1071
+ @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
1072
+ @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
1073
+ @labels = args[:labels] if args.key?(:labels)
1074
+ @status = args[:status] if args.key?(:status)
1075
+ @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
1076
+ @project = args[:project] if args.key?(:project)
1077
+ end
1078
+ end
1079
1079
  end
1080
1080
  end
1081
1081
  end