google-api-client 0.9.28 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20170203'
30
+ REVISION = '20170206'
31
31
 
32
32
  # Publish metric data to your Google Cloud projects
33
33
  AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write'
@@ -22,33 +22,6 @@ module Google
22
22
  module Apis
23
23
  module MonitoringV3
24
24
 
25
- # The ListGroups response.
26
- class ListGroupsResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # If there are more results than have been returned, then this field is set to a
30
- # non-empty value. To see the additional results, use that value as pageToken in
31
- # the next call to this method.
32
- # Corresponds to the JSON property `nextPageToken`
33
- # @return [String]
34
- attr_accessor :next_page_token
35
-
36
- # The groups that match the specified filters.
37
- # Corresponds to the JSON property `group`
38
- # @return [Array<Google::Apis::MonitoringV3::Group>]
39
- attr_accessor :group
40
-
41
- def initialize(**args)
42
- update!(**args)
43
- end
44
-
45
- # Update properties of this object
46
- def update!(**args)
47
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
48
- @group = args[:group] if args.key?(:group)
49
- end
50
- end
51
-
52
25
  # The ListGroupMembers response.
53
26
  class ListGroupMembersResponse
54
27
  include Google::Apis::Core::Hashable
@@ -86,6 +59,11 @@ module Google
86
59
  class CreateCollectdTimeSeriesRequest
87
60
  include Google::Apis::Core::Hashable
88
61
 
62
+ # The version of collectd that collected the data. Example: "5.3.0-192.el6".
63
+ # Corresponds to the JSON property `collectdVersion`
64
+ # @return [String]
65
+ attr_accessor :collectd_version
66
+
89
67
  # An object representing a resource that can be used for monitoring, logging,
90
68
  # billing, or other purposes. Examples include virtual machine instances,
91
69
  # databases, and storage devices such as disks. The type field identifies a
@@ -110,20 +88,15 @@ module Google
110
88
  # @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
111
89
  attr_accessor :collectd_payloads
112
90
 
113
- # The version of collectd that collected the data. Example: "5.3.0-192.el6".
114
- # Corresponds to the JSON property `collectdVersion`
115
- # @return [String]
116
- attr_accessor :collectd_version
117
-
118
91
  def initialize(**args)
119
92
  update!(**args)
120
93
  end
121
94
 
122
95
  # Update properties of this object
123
96
  def update!(**args)
97
+ @collectd_version = args[:collectd_version] if args.key?(:collectd_version)
124
98
  @resource = args[:resource] if args.key?(:resource)
125
99
  @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
126
- @collectd_version = args[:collectd_version] if args.key?(:collectd_version)
127
100
  end
128
101
  end
129
102
 
@@ -131,12 +104,6 @@ module Google
131
104
  class ListMonitoredResourceDescriptorsResponse
132
105
  include Google::Apis::Core::Hashable
133
106
 
134
- # The monitored resource descriptors that are available to this project and that
135
- # match filter, if present.
136
- # Corresponds to the JSON property `resourceDescriptors`
137
- # @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
138
- attr_accessor :resource_descriptors
139
-
140
107
  # If there are more results than have been returned, then this field is set to a
141
108
  # non-empty value. To see the additional results, use that value as pageToken in
142
109
  # the next call to this method.
@@ -144,14 +111,20 @@ module Google
144
111
  # @return [String]
145
112
  attr_accessor :next_page_token
146
113
 
114
+ # The monitored resource descriptors that are available to this project and that
115
+ # match filter, if present.
116
+ # Corresponds to the JSON property `resourceDescriptors`
117
+ # @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
118
+ attr_accessor :resource_descriptors
119
+
147
120
  def initialize(**args)
148
121
  update!(**args)
149
122
  end
150
123
 
151
124
  # Update properties of this object
152
125
  def update!(**args)
153
- @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
154
126
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
127
+ @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
155
128
  end
156
129
  end
157
130
 
@@ -162,22 +135,6 @@ module Google
162
135
  class TimeSeries
163
136
  include Google::Apis::Core::Hashable
164
137
 
165
- # An object representing a resource that can be used for monitoring, logging,
166
- # billing, or other purposes. Examples include virtual machine instances,
167
- # databases, and storage devices such as disks. The type field identifies a
168
- # MonitoredResourceDescriptor object that describes the resource's schema.
169
- # Information in the labels field identifies the actual resource and its
170
- # attributes according to the schema. For example, a particular Compute Engine
171
- # VM instance could be represented by the following object, because the
172
- # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
173
- # zone":
174
- # ` "type": "gce_instance",
175
- # "labels": ` "instance_id": "12345678901234",
176
- # "zone": "us-central1-a" ``
177
- # Corresponds to the JSON property `resource`
178
- # @return [Google::Apis::MonitoringV3::MonitoredResource]
179
- attr_accessor :resource
180
-
181
138
  # The metric kind of the time series. When listing time series, this metric kind
182
139
  # might be different from the metric kind of the associated metric if this time
183
140
  # series is an alignment or reduction of other time series.When creating a time
@@ -214,17 +171,33 @@ module Google
214
171
  # @return [String]
215
172
  attr_accessor :value_type
216
173
 
174
+ # An object representing a resource that can be used for monitoring, logging,
175
+ # billing, or other purposes. Examples include virtual machine instances,
176
+ # databases, and storage devices such as disks. The type field identifies a
177
+ # MonitoredResourceDescriptor object that describes the resource's schema.
178
+ # Information in the labels field identifies the actual resource and its
179
+ # attributes according to the schema. For example, a particular Compute Engine
180
+ # VM instance could be represented by the following object, because the
181
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
182
+ # zone":
183
+ # ` "type": "gce_instance",
184
+ # "labels": ` "instance_id": "12345678901234",
185
+ # "zone": "us-central1-a" ``
186
+ # Corresponds to the JSON property `resource`
187
+ # @return [Google::Apis::MonitoringV3::MonitoredResource]
188
+ attr_accessor :resource
189
+
217
190
  def initialize(**args)
218
191
  update!(**args)
219
192
  end
220
193
 
221
194
  # Update properties of this object
222
195
  def update!(**args)
223
- @resource = args[:resource] if args.key?(:resource)
224
196
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
225
197
  @metric = args[:metric] if args.key?(:metric)
226
198
  @points = args[:points] if args.key?(:points)
227
199
  @value_type = args[:value_type] if args.key?(:value_type)
200
+ @resource = args[:resource] if args.key?(:resource)
228
201
  end
229
202
  end
230
203
 
@@ -265,22 +238,32 @@ module Google
265
238
  class Distribution
266
239
  include Google::Apis::Core::Hashable
267
240
 
241
+ # The sum of squared deviations from the mean of the values in the population.
242
+ # For values x_i this is:
243
+ # Sum[i=1..n]((x_i - mean)^2)
244
+ # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
245
+ # describes Welford's method for accumulating this sum in one pass.If count is
246
+ # zero then this field must be zero.
247
+ # Corresponds to the JSON property `sumOfSquaredDeviation`
248
+ # @return [Float]
249
+ attr_accessor :sum_of_squared_deviation
250
+
268
251
  # The range of the population values.
269
252
  # Corresponds to the JSON property `range`
270
253
  # @return [Google::Apis::MonitoringV3::Range]
271
254
  attr_accessor :range
272
255
 
256
+ # The number of values in the population. Must be non-negative.
257
+ # Corresponds to the JSON property `count`
258
+ # @return [String]
259
+ attr_accessor :count
260
+
273
261
  # The arithmetic mean of the values in the population. If count is zero then
274
262
  # this field must be zero.
275
263
  # Corresponds to the JSON property `mean`
276
264
  # @return [Float]
277
265
  attr_accessor :mean
278
266
 
279
- # The number of values in the population. Must be non-negative.
280
- # Corresponds to the JSON property `count`
281
- # @return [String]
282
- attr_accessor :count
283
-
284
267
  # If bucket_options is given, then the sum of the values in bucket_counts must
285
268
  # equal the value in count. If bucket_options is not given, no bucket_counts
286
269
  # fields may be given.Bucket counts are given in order under the numbering
@@ -313,28 +296,18 @@ module Google
313
296
  # @return [Google::Apis::MonitoringV3::BucketOptions]
314
297
  attr_accessor :bucket_options
315
298
 
316
- # The sum of squared deviations from the mean of the values in the population.
317
- # For values x_i this is:
318
- # Sum[i=1..n]((x_i - mean)^2)
319
- # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
320
- # describes Welford's method for accumulating this sum in one pass.If count is
321
- # zero then this field must be zero.
322
- # Corresponds to the JSON property `sumOfSquaredDeviation`
323
- # @return [Float]
324
- attr_accessor :sum_of_squared_deviation
325
-
326
299
  def initialize(**args)
327
300
  update!(**args)
328
301
  end
329
302
 
330
303
  # Update properties of this object
331
304
  def update!(**args)
305
+ @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
332
306
  @range = args[:range] if args.key?(:range)
333
- @mean = args[:mean] if args.key?(:mean)
334
307
  @count = args[:count] if args.key?(:count)
308
+ @mean = args[:mean] if args.key?(:mean)
335
309
  @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
336
310
  @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
337
- @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
338
311
  end
339
312
  end
340
313
 
@@ -353,13 +326,6 @@ module Google
353
326
  class MonitoredResource
354
327
  include Google::Apis::Core::Hashable
355
328
 
356
- # Required. Values for all of the labels listed in the associated monitored
357
- # resource descriptor. For example, Cloud SQL databases use the labels "
358
- # database_id" and "zone".
359
- # Corresponds to the JSON property `labels`
360
- # @return [Hash<String,String>]
361
- attr_accessor :labels
362
-
363
329
  # Required. The monitored resource type. This field must match the type field of
364
330
  # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
365
331
  # database is "cloudsql_database".
@@ -367,14 +333,21 @@ module Google
367
333
  # @return [String]
368
334
  attr_accessor :type
369
335
 
336
+ # Required. Values for all of the labels listed in the associated monitored
337
+ # resource descriptor. For example, Cloud SQL databases use the labels "
338
+ # database_id" and "zone".
339
+ # Corresponds to the JSON property `labels`
340
+ # @return [Hash<String,String>]
341
+ attr_accessor :labels
342
+
370
343
  def initialize(**args)
371
344
  update!(**args)
372
345
  end
373
346
 
374
347
  # Update properties of this object
375
348
  def update!(**args)
376
- @labels = args[:labels] if args.key?(:labels)
377
349
  @type = args[:type] if args.key?(:type)
350
+ @labels = args[:labels] if args.key?(:labels)
378
351
  end
379
352
  end
380
353
 
@@ -416,13 +389,6 @@ module Google
416
389
  class MonitoredResourceDescriptor
417
390
  include Google::Apis::Core::Hashable
418
391
 
419
- # Required. The monitored resource type. For example, the type "
420
- # cloudsql_database" represents databases in Google Cloud SQL. The maximum
421
- # length of this value is 256 characters.
422
- # Corresponds to the JSON property `type`
423
- # @return [String]
424
- attr_accessor :type
425
-
426
392
  # Required. A set of labels used to describe instances of this monitored
427
393
  # resource type. For example, an individual Google Cloud SQL database is
428
394
  # identified by values for the labels "database_id" and "zone".
@@ -453,17 +419,24 @@ module Google
453
419
  # @return [String]
454
420
  attr_accessor :description
455
421
 
422
+ # Required. The monitored resource type. For example, the type "
423
+ # cloudsql_database" represents databases in Google Cloud SQL. The maximum
424
+ # length of this value is 256 characters.
425
+ # Corresponds to the JSON property `type`
426
+ # @return [String]
427
+ attr_accessor :type
428
+
456
429
  def initialize(**args)
457
430
  update!(**args)
458
431
  end
459
432
 
460
433
  # Update properties of this object
461
434
  def update!(**args)
462
- @type = args[:type] if args.key?(:type)
463
435
  @labels = args[:labels] if args.key?(:labels)
464
436
  @name = args[:name] if args.key?(:name)
465
437
  @display_name = args[:display_name] if args.key?(:display_name)
466
438
  @description = args[:description] if args.key?(:description)
439
+ @type = args[:type] if args.key?(:type)
467
440
  end
468
441
  end
469
442
 
@@ -594,11 +567,6 @@ module Google
594
567
  class Linear
595
568
  include Google::Apis::Core::Hashable
596
569
 
597
- # Must be greater than 0.
598
- # Corresponds to the JSON property `width`
599
- # @return [Float]
600
- attr_accessor :width
601
-
602
570
  # Lower bound of the first bucket.
603
571
  # Corresponds to the JSON property `offset`
604
572
  # @return [Float]
@@ -609,15 +577,20 @@ module Google
609
577
  # @return [Fixnum]
610
578
  attr_accessor :num_finite_buckets
611
579
 
580
+ # Must be greater than 0.
581
+ # Corresponds to the JSON property `width`
582
+ # @return [Float]
583
+ attr_accessor :width
584
+
612
585
  def initialize(**args)
613
586
  update!(**args)
614
587
  end
615
588
 
616
589
  # Update properties of this object
617
590
  def update!(**args)
618
- @width = args[:width] if args.key?(:width)
619
591
  @offset = args[:offset] if args.key?(:offset)
620
592
  @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
593
+ @width = args[:width] if args.key?(:width)
621
594
  end
622
595
  end
623
596
 
@@ -626,14 +599,6 @@ module Google
626
599
  class Option
627
600
  include Google::Apis::Core::Hashable
628
601
 
629
- # The option's value packed in an Any message. If the value is a primitive, the
630
- # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
631
- # used. If the value is an enum, it should be stored as an int32 value using the
632
- # google.protobuf.Int32Value type.
633
- # Corresponds to the JSON property `value`
634
- # @return [Hash<String,Object>]
635
- attr_accessor :value
636
-
637
602
  # The option's name. For protobuf built-in options (options defined in
638
603
  # descriptor.proto), this is the short name. For example, "map_entry". For
639
604
  # custom options, it should be the fully-qualified name. For example, "google.
@@ -642,14 +607,22 @@ module Google
642
607
  # @return [String]
643
608
  attr_accessor :name
644
609
 
610
+ # The option's value packed in an Any message. If the value is a primitive, the
611
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
612
+ # used. If the value is an enum, it should be stored as an int32 value using the
613
+ # google.protobuf.Int32Value type.
614
+ # Corresponds to the JSON property `value`
615
+ # @return [Hash<String,Object>]
616
+ attr_accessor :value
617
+
645
618
  def initialize(**args)
646
619
  update!(**args)
647
620
  end
648
621
 
649
622
  # Update properties of this object
650
623
  def update!(**args)
651
- @value = args[:value] if args.key?(:value)
652
624
  @name = args[:name] if args.key?(:name)
625
+ @value = args[:value] if args.key?(:value)
653
626
  end
654
627
  end
655
628
 
@@ -672,6 +645,29 @@ module Google
672
645
  end
673
646
  end
674
647
 
648
+ # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
649
+ # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
650
+ # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
651
+ # If bounds has only one element, there are no finite buckets, and that single
652
+ # element is the common boundary of the overflow and underflow buckets.
653
+ class Explicit
654
+ include Google::Apis::Core::Hashable
655
+
656
+ # The values must be monotonically increasing.
657
+ # Corresponds to the JSON property `bounds`
658
+ # @return [Array<Float>]
659
+ attr_accessor :bounds
660
+
661
+ def initialize(**args)
662
+ update!(**args)
663
+ end
664
+
665
+ # Update properties of this object
666
+ def update!(**args)
667
+ @bounds = args[:bounds] if args.key?(:bounds)
668
+ end
669
+ end
670
+
675
671
  # A time interval extending just after a start time through an end time. If the
676
672
  # start time is the same as the end time, then the interval represents a single
677
673
  # point in time.
@@ -700,29 +696,6 @@ module Google
700
696
  end
701
697
  end
702
698
 
703
- # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
704
- # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
705
- # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
706
- # If bounds has only one element, there are no finite buckets, and that single
707
- # element is the common boundary of the overflow and underflow buckets.
708
- class Explicit
709
- include Google::Apis::Core::Hashable
710
-
711
- # The values must be monotonically increasing.
712
- # Corresponds to the JSON property `bounds`
713
- # @return [Array<Float>]
714
- attr_accessor :bounds
715
-
716
- def initialize(**args)
717
- update!(**args)
718
- end
719
-
720
- # Update properties of this object
721
- def update!(**args)
722
- @bounds = args[:bounds] if args.key?(:bounds)
723
- end
724
- end
725
-
726
699
  # Specify a sequence of buckets that have a width that is proportional to the
727
700
  # value of the lower bound. Each bucket represents a constant relative
728
701
  # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
@@ -732,6 +705,11 @@ module Google
732
705
  class Exponential
733
706
  include Google::Apis::Core::Hashable
734
707
 
708
+ # Must be greater than 1.
709
+ # Corresponds to the JSON property `growthFactor`
710
+ # @return [Float]
711
+ attr_accessor :growth_factor
712
+
735
713
  # Must be greater than 0.
736
714
  # Corresponds to the JSON property `scale`
737
715
  # @return [Float]
@@ -742,20 +720,15 @@ module Google
742
720
  # @return [Fixnum]
743
721
  attr_accessor :num_finite_buckets
744
722
 
745
- # Must be greater than 1.
746
- # Corresponds to the JSON property `growthFactor`
747
- # @return [Float]
748
- attr_accessor :growth_factor
749
-
750
723
  def initialize(**args)
751
724
  update!(**args)
752
725
  end
753
726
 
754
727
  # Update properties of this object
755
728
  def update!(**args)
729
+ @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
756
730
  @scale = args[:scale] if args.key?(:scale)
757
731
  @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
758
- @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
759
732
  end
760
733
  end
761
734
 
@@ -763,6 +736,11 @@ module Google
763
736
  class Point
764
737
  include Google::Apis::Core::Hashable
765
738
 
739
+ # A single strongly-typed value.
740
+ # Corresponds to the JSON property `value`
741
+ # @return [Google::Apis::MonitoringV3::TypedValue]
742
+ attr_accessor :value
743
+
766
744
  # A time interval extending just after a start time through an end time. If the
767
745
  # start time is the same as the end time, then the interval represents a single
768
746
  # point in time.
@@ -770,19 +748,14 @@ module Google
770
748
  # @return [Google::Apis::MonitoringV3::TimeInterval]
771
749
  attr_accessor :interval
772
750
 
773
- # A single strongly-typed value.
774
- # Corresponds to the JSON property `value`
775
- # @return [Google::Apis::MonitoringV3::TypedValue]
776
- attr_accessor :value
777
-
778
751
  def initialize(**args)
779
752
  update!(**args)
780
753
  end
781
754
 
782
755
  # Update properties of this object
783
756
  def update!(**args)
784
- @interval = args[:interval] if args.key?(:interval)
785
757
  @value = args[:value] if args.key?(:value)
758
+ @interval = args[:interval] if args.key?(:interval)
786
759
  end
787
760
  end
788
761
 
@@ -801,16 +774,16 @@ module Google
801
774
  # @return [Fixnum]
802
775
  attr_accessor :number
803
776
 
804
- # The field type.
805
- # Corresponds to the JSON property `kind`
806
- # @return [String]
807
- attr_accessor :kind
808
-
809
777
  # The field JSON name.
810
778
  # Corresponds to the JSON property `jsonName`
811
779
  # @return [String]
812
780
  attr_accessor :json_name
813
781
 
782
+ # The field type.
783
+ # Corresponds to the JSON property `kind`
784
+ # @return [String]
785
+ attr_accessor :kind
786
+
814
787
  # The protocol buffer options.
815
788
  # Corresponds to the JSON property `options`
816
789
  # @return [Array<Google::Apis::MonitoringV3::Option>]
@@ -822,17 +795,17 @@ module Google
822
795
  # @return [Fixnum]
823
796
  attr_accessor :oneof_index
824
797
 
798
+ # The field cardinality.
799
+ # Corresponds to the JSON property `cardinality`
800
+ # @return [String]
801
+ attr_accessor :cardinality
802
+
825
803
  # Whether to use alternative packed wire representation.
826
804
  # Corresponds to the JSON property `packed`
827
805
  # @return [Boolean]
828
806
  attr_accessor :packed
829
807
  alias_method :packed?, :packed
830
808
 
831
- # The field cardinality.
832
- # Corresponds to the JSON property `cardinality`
833
- # @return [String]
834
- attr_accessor :cardinality
835
-
836
809
  # The string value of the default value of this field. Proto2 syntax only.
837
810
  # Corresponds to the JSON property `defaultValue`
838
811
  # @return [String]
@@ -851,12 +824,12 @@ module Google
851
824
  def update!(**args)
852
825
  @type_url = args[:type_url] if args.key?(:type_url)
853
826
  @number = args[:number] if args.key?(:number)
854
- @kind = args[:kind] if args.key?(:kind)
855
827
  @json_name = args[:json_name] if args.key?(:json_name)
828
+ @kind = args[:kind] if args.key?(:kind)
856
829
  @options = args[:options] if args.key?(:options)
857
830
  @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
858
- @packed = args[:packed] if args.key?(:packed)
859
831
  @cardinality = args[:cardinality] if args.key?(:cardinality)
832
+ @packed = args[:packed] if args.key?(:packed)
860
833
  @default_value = args[:default_value] if args.key?(:default_value)
861
834
  @name = args[:name] if args.key?(:name)
862
835
  end
@@ -948,56 +921,6 @@ module Google
948
921
  end
949
922
  end
950
923
 
951
- # A protocol buffer message type.
952
- class Type
953
- include Google::Apis::Core::Hashable
954
-
955
- # The protocol buffer options.
956
- # Corresponds to the JSON property `options`
957
- # @return [Array<Google::Apis::MonitoringV3::Option>]
958
- attr_accessor :options
959
-
960
- # The list of fields.
961
- # Corresponds to the JSON property `fields`
962
- # @return [Array<Google::Apis::MonitoringV3::Field>]
963
- attr_accessor :fields
964
-
965
- # The fully qualified message name.
966
- # Corresponds to the JSON property `name`
967
- # @return [String]
968
- attr_accessor :name
969
-
970
- # The list of types appearing in oneof definitions in this type.
971
- # Corresponds to the JSON property `oneofs`
972
- # @return [Array<String>]
973
- attr_accessor :oneofs
974
-
975
- # The source syntax.
976
- # Corresponds to the JSON property `syntax`
977
- # @return [String]
978
- attr_accessor :syntax
979
-
980
- # SourceContext represents information about the source of a protobuf element,
981
- # like the file in which it is defined.
982
- # Corresponds to the JSON property `sourceContext`
983
- # @return [Google::Apis::MonitoringV3::SourceContext]
984
- attr_accessor :source_context
985
-
986
- def initialize(**args)
987
- update!(**args)
988
- end
989
-
990
- # Update properties of this object
991
- def update!(**args)
992
- @options = args[:options] if args.key?(:options)
993
- @fields = args[:fields] if args.key?(:fields)
994
- @name = args[:name] if args.key?(:name)
995
- @oneofs = args[:oneofs] if args.key?(:oneofs)
996
- @syntax = args[:syntax] if args.key?(:syntax)
997
- @source_context = args[:source_context] if args.key?(:source_context)
998
- end
999
- end
1000
-
1001
924
  # The description of a dynamic collection of monitored resources. Each group has
1002
925
  # a filter that is matched against monitored resources and their associated
1003
926
  # metadata. If a group's filter matches an available monitored resource, then
@@ -1021,6 +944,23 @@ module Google
1021
944
  class Group
1022
945
  include Google::Apis::Core::Hashable
1023
946
 
947
+ # A user-assigned name for this group, used only for display purposes.
948
+ # Corresponds to the JSON property `displayName`
949
+ # @return [String]
950
+ attr_accessor :display_name
951
+
952
+ # If true, the members of this group are considered to be a cluster. The system
953
+ # can perform additional analysis on groups that are clusters.
954
+ # Corresponds to the JSON property `isCluster`
955
+ # @return [Boolean]
956
+ attr_accessor :is_cluster
957
+ alias_method :is_cluster?, :is_cluster
958
+
959
+ # The filter used to determine which monitored resources belong to this group.
960
+ # Corresponds to the JSON property `filter`
961
+ # @return [String]
962
+ attr_accessor :filter
963
+
1024
964
  # Output only. The name of this group. The format is "projects/`
1025
965
  # project_id_or_number`/groups/`group_id`". When creating a group, this field is
1026
966
  # ignored and a new name is created consisting of the project specified in the
@@ -1036,22 +976,54 @@ module Google
1036
976
  # @return [String]
1037
977
  attr_accessor :parent_name
1038
978
 
1039
- # A user-assigned name for this group, used only for display purposes.
1040
- # Corresponds to the JSON property `displayName`
979
+ def initialize(**args)
980
+ update!(**args)
981
+ end
982
+
983
+ # Update properties of this object
984
+ def update!(**args)
985
+ @display_name = args[:display_name] if args.key?(:display_name)
986
+ @is_cluster = args[:is_cluster] if args.key?(:is_cluster)
987
+ @filter = args[:filter] if args.key?(:filter)
988
+ @name = args[:name] if args.key?(:name)
989
+ @parent_name = args[:parent_name] if args.key?(:parent_name)
990
+ end
991
+ end
992
+
993
+ # A protocol buffer message type.
994
+ class Type
995
+ include Google::Apis::Core::Hashable
996
+
997
+ # The source syntax.
998
+ # Corresponds to the JSON property `syntax`
1041
999
  # @return [String]
1042
- attr_accessor :display_name
1000
+ attr_accessor :syntax
1043
1001
 
1044
- # If true, the members of this group are considered to be a cluster. The system
1045
- # can perform additional analysis on groups that are clusters.
1046
- # Corresponds to the JSON property `isCluster`
1047
- # @return [Boolean]
1048
- attr_accessor :is_cluster
1049
- alias_method :is_cluster?, :is_cluster
1002
+ # SourceContext represents information about the source of a protobuf element,
1003
+ # like the file in which it is defined.
1004
+ # Corresponds to the JSON property `sourceContext`
1005
+ # @return [Google::Apis::MonitoringV3::SourceContext]
1006
+ attr_accessor :source_context
1050
1007
 
1051
- # The filter used to determine which monitored resources belong to this group.
1052
- # Corresponds to the JSON property `filter`
1008
+ # The protocol buffer options.
1009
+ # Corresponds to the JSON property `options`
1010
+ # @return [Array<Google::Apis::MonitoringV3::Option>]
1011
+ attr_accessor :options
1012
+
1013
+ # The list of fields.
1014
+ # Corresponds to the JSON property `fields`
1015
+ # @return [Array<Google::Apis::MonitoringV3::Field>]
1016
+ attr_accessor :fields
1017
+
1018
+ # The fully qualified message name.
1019
+ # Corresponds to the JSON property `name`
1053
1020
  # @return [String]
1054
- attr_accessor :filter
1021
+ attr_accessor :name
1022
+
1023
+ # The list of types appearing in oneof definitions in this type.
1024
+ # Corresponds to the JSON property `oneofs`
1025
+ # @return [Array<String>]
1026
+ attr_accessor :oneofs
1055
1027
 
1056
1028
  def initialize(**args)
1057
1029
  update!(**args)
@@ -1059,11 +1031,12 @@ module Google
1059
1031
 
1060
1032
  # Update properties of this object
1061
1033
  def update!(**args)
1034
+ @syntax = args[:syntax] if args.key?(:syntax)
1035
+ @source_context = args[:source_context] if args.key?(:source_context)
1036
+ @options = args[:options] if args.key?(:options)
1037
+ @fields = args[:fields] if args.key?(:fields)
1062
1038
  @name = args[:name] if args.key?(:name)
1063
- @parent_name = args[:parent_name] if args.key?(:parent_name)
1064
- @display_name = args[:display_name] if args.key?(:display_name)
1065
- @is_cluster = args[:is_cluster] if args.key?(:is_cluster)
1066
- @filter = args[:filter] if args.key?(:filter)
1039
+ @oneofs = args[:oneofs] if args.key?(:oneofs)
1067
1040
  end
1068
1041
  end
1069
1042
 
@@ -1131,6 +1104,12 @@ module Google
1131
1104
  class CollectdValue
1132
1105
  include Google::Apis::Core::Hashable
1133
1106
 
1107
+ # The data source for the collectd value. For example there are two data sources
1108
+ # for network measurements: "rx" and "tx".
1109
+ # Corresponds to the JSON property `dataSourceName`
1110
+ # @return [String]
1111
+ attr_accessor :data_source_name
1112
+
1134
1113
  # A single strongly-typed value.
1135
1114
  # Corresponds to the JSON property `value`
1136
1115
  # @return [Google::Apis::MonitoringV3::TypedValue]
@@ -1141,21 +1120,36 @@ module Google
1141
1120
  # @return [String]
1142
1121
  attr_accessor :data_source_type
1143
1122
 
1144
- # The data source for the collectd value. For example there are two data sources
1145
- # for network measurements: "rx" and "tx".
1146
- # Corresponds to the JSON property `dataSourceName`
1147
- # @return [String]
1148
- attr_accessor :data_source_name
1149
-
1150
1123
  def initialize(**args)
1151
1124
  update!(**args)
1152
1125
  end
1153
1126
 
1154
1127
  # Update properties of this object
1155
1128
  def update!(**args)
1129
+ @data_source_name = args[:data_source_name] if args.key?(:data_source_name)
1156
1130
  @value = args[:value] if args.key?(:value)
1157
1131
  @data_source_type = args[:data_source_type] if args.key?(:data_source_type)
1158
- @data_source_name = args[:data_source_name] if args.key?(:data_source_name)
1132
+ end
1133
+ end
1134
+
1135
+ # SourceContext represents information about the source of a protobuf element,
1136
+ # like the file in which it is defined.
1137
+ class SourceContext
1138
+ include Google::Apis::Core::Hashable
1139
+
1140
+ # The path-qualified name of the .proto file that contained the associated
1141
+ # protobuf element. For example: "google/protobuf/source_context.proto".
1142
+ # Corresponds to the JSON property `fileName`
1143
+ # @return [String]
1144
+ attr_accessor :file_name
1145
+
1146
+ def initialize(**args)
1147
+ update!(**args)
1148
+ end
1149
+
1150
+ # Update properties of this object
1151
+ def update!(**args)
1152
+ @file_name = args[:file_name] if args.key?(:file_name)
1159
1153
  end
1160
1154
  end
1161
1155
 
@@ -1165,6 +1159,12 @@ module Google
1165
1159
  class MetricDescriptor
1166
1160
  include Google::Apis::Core::Hashable
1167
1161
 
1162
+ # Whether the metric records instantaneous values, changes to a value, etc. Some
1163
+ # combinations of metric_kind and value_type might not be supported.
1164
+ # Corresponds to the JSON property `metricKind`
1165
+ # @return [String]
1166
+ attr_accessor :metric_kind
1167
+
1168
1168
  # A concise name for the metric, which can be displayed in user interfaces. Use
1169
1169
  # sentence case without an ending period, for example "Request count".
1170
1170
  # Corresponds to the JSON property `displayName`
@@ -1262,18 +1262,13 @@ module Google
1262
1262
  # @return [String]
1263
1263
  attr_accessor :value_type
1264
1264
 
1265
- # Whether the metric records instantaneous values, changes to a value, etc. Some
1266
- # combinations of metric_kind and value_type might not be supported.
1267
- # Corresponds to the JSON property `metricKind`
1268
- # @return [String]
1269
- attr_accessor :metric_kind
1270
-
1271
1265
  def initialize(**args)
1272
1266
  update!(**args)
1273
1267
  end
1274
1268
 
1275
1269
  # Update properties of this object
1276
1270
  def update!(**args)
1271
+ @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1277
1272
  @display_name = args[:display_name] if args.key?(:display_name)
1278
1273
  @description = args[:description] if args.key?(:description)
1279
1274
  @unit = args[:unit] if args.key?(:unit)
@@ -1281,28 +1276,6 @@ module Google
1281
1276
  @name = args[:name] if args.key?(:name)
1282
1277
  @type = args[:type] if args.key?(:type)
1283
1278
  @value_type = args[:value_type] if args.key?(:value_type)
1284
- @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1285
- end
1286
- end
1287
-
1288
- # SourceContext represents information about the source of a protobuf element,
1289
- # like the file in which it is defined.
1290
- class SourceContext
1291
- include Google::Apis::Core::Hashable
1292
-
1293
- # The path-qualified name of the .proto file that contained the associated
1294
- # protobuf element. For example: "google/protobuf/source_context.proto".
1295
- # Corresponds to the JSON property `fileName`
1296
- # @return [String]
1297
- attr_accessor :file_name
1298
-
1299
- def initialize(**args)
1300
- update!(**args)
1301
- end
1302
-
1303
- # Update properties of this object
1304
- def update!(**args)
1305
- @file_name = args[:file_name] if args.key?(:file_name)
1306
1279
  end
1307
1280
  end
1308
1281
 
@@ -1330,6 +1303,33 @@ module Google
1330
1303
  @max = args[:max] if args.key?(:max)
1331
1304
  end
1332
1305
  end
1306
+
1307
+ # The ListGroups response.
1308
+ class ListGroupsResponse
1309
+ include Google::Apis::Core::Hashable
1310
+
1311
+ # If there are more results than have been returned, then this field is set to a
1312
+ # non-empty value. To see the additional results, use that value as pageToken in
1313
+ # the next call to this method.
1314
+ # Corresponds to the JSON property `nextPageToken`
1315
+ # @return [String]
1316
+ attr_accessor :next_page_token
1317
+
1318
+ # The groups that match the specified filters.
1319
+ # Corresponds to the JSON property `group`
1320
+ # @return [Array<Google::Apis::MonitoringV3::Group>]
1321
+ attr_accessor :group
1322
+
1323
+ def initialize(**args)
1324
+ update!(**args)
1325
+ end
1326
+
1327
+ # Update properties of this object
1328
+ def update!(**args)
1329
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1330
+ @group = args[:group] if args.key?(:group)
1331
+ end
1332
+ end
1333
1333
  end
1334
1334
  end
1335
1335
  end