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
@@ -22,37 +22,7 @@ module Google
22
22
  module Apis
23
23
  module MonitoringV3
24
24
 
25
- class BucketOptions
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class CollectdValue
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class SourceContext
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class MetricDescriptor
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class Range
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class ListGroupsResponse
25
+ class CreateCollectdTimeSeriesRequest
56
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
27
 
58
28
  include Google::Apis::Core::JsonObjectSupport
@@ -64,12 +34,6 @@ module Google
64
34
  include Google::Apis::Core::JsonObjectSupport
65
35
  end
66
36
 
67
- class CreateCollectdTimeSeriesRequest
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
37
  class ListMonitoredResourceDescriptorsResponse
74
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
39
 
@@ -130,25 +94,25 @@ module Google
130
94
  include Google::Apis::Core::JsonObjectSupport
131
95
  end
132
96
 
133
- class Option
97
+ class Empty
134
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
99
 
136
100
  include Google::Apis::Core::JsonObjectSupport
137
101
  end
138
102
 
139
- class Empty
103
+ class Option
140
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
105
 
142
106
  include Google::Apis::Core::JsonObjectSupport
143
107
  end
144
108
 
145
- class TimeInterval
109
+ class Explicit
146
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
111
 
148
112
  include Google::Apis::Core::JsonObjectSupport
149
113
  end
150
114
 
151
- class Explicit
115
+ class TimeInterval
152
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
117
 
154
118
  include Google::Apis::Core::JsonObjectSupport
@@ -166,25 +130,25 @@ module Google
166
130
  include Google::Apis::Core::JsonObjectSupport
167
131
  end
168
132
 
169
- class Metric
133
+ class Field
170
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
135
 
172
136
  include Google::Apis::Core::JsonObjectSupport
173
137
  end
174
138
 
175
- class Field
139
+ class Metric
176
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
141
 
178
142
  include Google::Apis::Core::JsonObjectSupport
179
143
  end
180
144
 
181
- class ListTimeSeriesResponse
145
+ class LabelDescriptor
182
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
147
 
184
148
  include Google::Apis::Core::JsonObjectSupport
185
149
  end
186
150
 
187
- class LabelDescriptor
151
+ class ListTimeSeriesResponse
188
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
153
 
190
154
  include Google::Apis::Core::JsonObjectSupport
@@ -203,84 +167,59 @@ module Google
203
167
  end
204
168
 
205
169
  class BucketOptions
206
- # @private
207
- class Representation < Google::Apis::Core::JsonRepresentation
208
- property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation
209
-
210
- property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation
211
-
212
- property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
171
 
214
- end
172
+ include Google::Apis::Core::JsonObjectSupport
215
173
  end
216
174
 
217
175
  class CollectdValue
218
- # @private
219
- class Representation < Google::Apis::Core::JsonRepresentation
220
- property :data_source_name, as: 'dataSourceName'
221
- property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
222
177
 
223
- property :data_source_type, as: 'dataSourceType'
224
- end
178
+ include Google::Apis::Core::JsonObjectSupport
225
179
  end
226
180
 
227
181
  class SourceContext
228
- # @private
229
- class Representation < Google::Apis::Core::JsonRepresentation
230
- property :file_name, as: 'fileName'
231
- end
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
232
185
  end
233
186
 
234
187
  class MetricDescriptor
235
- # @private
236
- class Representation < Google::Apis::Core::JsonRepresentation
237
- property :value_type, as: 'valueType'
238
- property :metric_kind, as: 'metricKind'
239
- property :display_name, as: 'displayName'
240
- property :description, as: 'description'
241
- property :unit, as: 'unit'
242
- collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
189
 
244
- property :name, as: 'name'
245
- property :type, as: 'type'
246
- end
190
+ include Google::Apis::Core::JsonObjectSupport
247
191
  end
248
192
 
249
193
  class Range
250
- # @private
251
- class Representation < Google::Apis::Core::JsonRepresentation
252
- property :min, as: 'min'
253
- property :max, as: 'max'
254
- end
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
255
197
  end
256
198
 
257
199
  class ListGroupsResponse
258
- # @private
259
- class Representation < Google::Apis::Core::JsonRepresentation
260
- property :next_page_token, as: 'nextPageToken'
261
- collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
262
201
 
263
- end
202
+ include Google::Apis::Core::JsonObjectSupport
264
203
  end
265
204
 
266
- class ListGroupMembersResponse
205
+ class CreateCollectdTimeSeriesRequest
267
206
  # @private
268
207
  class Representation < Google::Apis::Core::JsonRepresentation
269
- property :next_page_token, as: 'nextPageToken'
270
- property :total_size, as: 'totalSize'
271
- collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
208
+ property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
209
+
210
+ collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation
272
211
 
212
+ property :collectd_version, as: 'collectdVersion'
273
213
  end
274
214
  end
275
215
 
276
- class CreateCollectdTimeSeriesRequest
216
+ class ListGroupMembersResponse
277
217
  # @private
278
218
  class Representation < Google::Apis::Core::JsonRepresentation
279
- property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
280
-
281
- collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation
219
+ collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
282
220
 
283
- property :collectd_version, as: 'collectdVersion'
221
+ property :next_page_token, as: 'nextPageToken'
222
+ property :total_size, as: 'totalSize'
284
223
  end
285
224
  end
286
225
 
@@ -296,7 +235,6 @@ module Google
296
235
  class TimeSeries
297
236
  # @private
298
237
  class Representation < Google::Apis::Core::JsonRepresentation
299
- property :value_type, as: 'valueType'
300
238
  property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
301
239
 
302
240
  property :metric_kind, as: 'metricKind'
@@ -304,6 +242,7 @@ module Google
304
242
 
305
243
  collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation
306
244
 
245
+ property :value_type, as: 'valueType'
307
246
  end
308
247
  end
309
248
 
@@ -318,14 +257,14 @@ module Google
318
257
  class Distribution
319
258
  # @private
320
259
  class Representation < Google::Apis::Core::JsonRepresentation
260
+ property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
261
+ property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
262
+
321
263
  property :count, as: 'count'
322
264
  property :mean, as: 'mean'
323
265
  collection :bucket_counts, as: 'bucketCounts'
324
266
  property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation
325
267
 
326
- property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
327
- property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
328
-
329
268
  end
330
269
  end
331
270
 
@@ -361,102 +300,91 @@ module Google
361
300
  class TypedValue
362
301
  # @private
363
302
  class Representation < Google::Apis::Core::JsonRepresentation
364
- property :int64_value, as: 'int64Value'
365
- property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation
366
-
367
303
  property :bool_value, as: 'boolValue'
368
304
  property :string_value, as: 'stringValue'
369
305
  property :double_value, as: 'doubleValue'
306
+ property :int64_value, as: 'int64Value'
307
+ property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation
308
+
370
309
  end
371
310
  end
372
311
 
373
312
  class CollectdPayload
374
313
  # @private
375
314
  class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :type_instance, as: 'typeInstance'
316
+ property :type, as: 'type'
317
+ hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
318
+
376
319
  property :plugin, as: 'plugin'
377
320
  property :plugin_instance, as: 'pluginInstance'
378
321
  property :end_time, as: 'endTime'
379
322
  property :start_time, as: 'startTime'
380
323
  collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation
381
324
 
382
- property :type_instance, as: 'typeInstance'
383
- hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
384
-
385
- property :type, as: 'type'
386
325
  end
387
326
  end
388
327
 
389
328
  class Linear
390
329
  # @private
391
330
  class Representation < Google::Apis::Core::JsonRepresentation
392
- property :width, as: 'width'
393
331
  property :offset, as: 'offset'
394
332
  property :num_finite_buckets, as: 'numFiniteBuckets'
333
+ property :width, as: 'width'
395
334
  end
396
335
  end
397
336
 
398
- class Option
337
+ class Empty
399
338
  # @private
400
339
  class Representation < Google::Apis::Core::JsonRepresentation
401
- hash :value, as: 'value'
402
- property :name, as: 'name'
403
340
  end
404
341
  end
405
342
 
406
- class Empty
343
+ class Option
407
344
  # @private
408
345
  class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :name, as: 'name'
347
+ hash :value, as: 'value'
409
348
  end
410
349
  end
411
350
 
412
- class TimeInterval
351
+ class Explicit
413
352
  # @private
414
353
  class Representation < Google::Apis::Core::JsonRepresentation
415
- property :end_time, as: 'endTime'
416
- property :start_time, as: 'startTime'
354
+ collection :bounds, as: 'bounds'
417
355
  end
418
356
  end
419
357
 
420
- class Explicit
358
+ class TimeInterval
421
359
  # @private
422
360
  class Representation < Google::Apis::Core::JsonRepresentation
423
- collection :bounds, as: 'bounds'
361
+ property :end_time, as: 'endTime'
362
+ property :start_time, as: 'startTime'
424
363
  end
425
364
  end
426
365
 
427
366
  class Exponential
428
367
  # @private
429
368
  class Representation < Google::Apis::Core::JsonRepresentation
430
- property :scale, as: 'scale'
431
369
  property :num_finite_buckets, as: 'numFiniteBuckets'
432
370
  property :growth_factor, as: 'growthFactor'
371
+ property :scale, as: 'scale'
433
372
  end
434
373
  end
435
374
 
436
375
  class Point
437
376
  # @private
438
377
  class Representation < Google::Apis::Core::JsonRepresentation
439
- property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
440
-
441
378
  property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
442
379
 
443
- end
444
- end
380
+ property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
445
381
 
446
- class Metric
447
- # @private
448
- class Representation < Google::Apis::Core::JsonRepresentation
449
- hash :labels, as: 'labels'
450
- property :type, as: 'type'
451
382
  end
452
383
  end
453
384
 
454
385
  class Field
455
386
  # @private
456
387
  class Representation < Google::Apis::Core::JsonRepresentation
457
- property :oneof_index, as: 'oneofIndex'
458
- property :cardinality, as: 'cardinality'
459
- property :packed, as: 'packed'
460
388
  property :default_value, as: 'defaultValue'
461
389
  property :name, as: 'name'
462
390
  property :type_url, as: 'typeUrl'
@@ -465,15 +393,17 @@ module Google
465
393
  property :kind, as: 'kind'
466
394
  collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation
467
395
 
396
+ property :oneof_index, as: 'oneofIndex'
397
+ property :cardinality, as: 'cardinality'
398
+ property :packed, as: 'packed'
468
399
  end
469
400
  end
470
401
 
471
- class ListTimeSeriesResponse
402
+ class Metric
472
403
  # @private
473
404
  class Representation < Google::Apis::Core::JsonRepresentation
474
- property :next_page_token, as: 'nextPageToken'
475
- collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
476
-
405
+ property :type, as: 'type'
406
+ hash :labels, as: 'labels'
477
407
  end
478
408
  end
479
409
 
@@ -486,6 +416,15 @@ module Google
486
416
  end
487
417
  end
488
418
 
419
+ class ListTimeSeriesResponse
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
423
+
424
+ property :next_page_token, as: 'nextPageToken'
425
+ end
426
+ end
427
+
489
428
  class Group
490
429
  # @private
491
430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -500,15 +439,76 @@ module Google
500
439
  class Type
501
440
  # @private
502
441
  class Representation < Google::Apis::Core::JsonRepresentation
503
- collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
504
-
505
- property :name, as: 'name'
506
442
  collection :oneofs, as: 'oneofs'
507
443
  property :syntax, as: 'syntax'
508
444
  property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation
509
445
 
510
446
  collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation
511
447
 
448
+ collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
449
+
450
+ property :name, as: 'name'
451
+ end
452
+ end
453
+
454
+ class BucketOptions
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation
458
+
459
+ property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation
460
+
461
+ property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation
462
+
463
+ end
464
+ end
465
+
466
+ class CollectdValue
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation
470
+
471
+ property :data_source_type, as: 'dataSourceType'
472
+ property :data_source_name, as: 'dataSourceName'
473
+ end
474
+ end
475
+
476
+ class SourceContext
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :file_name, as: 'fileName'
480
+ end
481
+ end
482
+
483
+ class MetricDescriptor
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :type, as: 'type'
487
+ property :value_type, as: 'valueType'
488
+ property :metric_kind, as: 'metricKind'
489
+ property :display_name, as: 'displayName'
490
+ property :description, as: 'description'
491
+ property :unit, as: 'unit'
492
+ collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
493
+
494
+ property :name, as: 'name'
495
+ end
496
+ end
497
+
498
+ class Range
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :min, as: 'min'
502
+ property :max, as: 'max'
503
+ end
504
+ end
505
+
506
+ class ListGroupsResponse
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :next_page_token, as: 'nextPageToken'
510
+ collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation
511
+
512
512
  end
513
513
  end
514
514
  end