google-api-client 0.9.11 → 0.9.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +1 -1
  5. data/api_names.yaml +55 -117
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  12. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  13. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  17. data/generated/google/apis/admin_reports_v1.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  21. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  22. data/generated/google/apis/analytics_v3/service.rb +218 -0
  23. data/generated/google/apis/analytics_v3.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
  27. data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
  28. data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  31. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
  33. data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
  34. data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +50 -2
  39. data/generated/google/apis/bigquery_v2/representations.rb +6 -0
  40. data/generated/google/apis/bigquery_v2/service.rb +8 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
  44. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  45. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  46. data/generated/google/apis/civicinfo_v2.rb +3 -2
  47. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  48. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  49. data/generated/google/apis/classroom_v1/service.rb +392 -37
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
  53. data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
  54. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
  56. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  57. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +599 -77
  59. data/generated/google/apis/compute_beta/representations.rb +240 -0
  60. data/generated/google/apis/compute_beta/service.rb +1999 -710
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +140 -58
  63. data/generated/google/apis/compute_v1/representations.rb +17 -0
  64. data/generated/google/apis/compute_v1/service.rb +462 -521
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +689 -1
  67. data/generated/google/apis/content_v2/representations.rb +316 -0
  68. data/generated/google/apis/content_v2/service.rb +244 -0
  69. data/generated/google/apis/content_v2.rb +1 -1
  70. data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
  71. data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
  72. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  73. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  75. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  76. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  77. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  78. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2/classes.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v3.rb +1 -1
  83. data/generated/google/apis/fitness_v1/classes.rb +8 -0
  84. data/generated/google/apis/fitness_v1/representations.rb +1 -0
  85. data/generated/google/apis/fitness_v1/service.rb +2 -2
  86. data/generated/google/apis/fitness_v1.rb +7 -1
  87. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  88. data/generated/google/apis/games_management_v1management.rb +1 -1
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/genomics_v1/classes.rb +13 -2
  91. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  92. data/generated/google/apis/genomics_v1/service.rb +2 -3
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/gmail_v1/classes.rb +8 -11
  95. data/generated/google/apis/gmail_v1/service.rb +5 -5
  96. data/generated/google/apis/gmail_v1.rb +1 -1
  97. data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
  98. data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
  99. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +340 -421
  101. data/generated/google/apis/monitoring_v3/representations.rb +0 -17
  102. data/generated/google/apis/monitoring_v3/service.rb +136 -168
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/oauth2_v2.rb +1 -1
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +1 -1
  107. data/generated/google/apis/plus_v1.rb +1 -1
  108. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  109. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  110. data/generated/google/apis/qpx_express_v1.rb +1 -1
  111. data/generated/google/apis/script_v1/classes.rb +6 -0
  112. data/generated/google/apis/script_v1/representations.rb +1 -0
  113. data/generated/google/apis/script_v1.rb +1 -1
  114. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  115. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  116. data/generated/google/apis/sheets_v4/service.rb +55 -0
  117. data/generated/google/apis/sheets_v4.rb +1 -1
  118. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  119. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  120. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  121. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  122. data/generated/google/apis/storage_v1/classes.rb +36 -1
  123. data/generated/google/apis/storage_v1/representations.rb +16 -0
  124. data/generated/google/apis/storage_v1/service.rb +18 -3
  125. data/generated/google/apis/storage_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1.rb +1 -1
  127. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  128. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  129. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  130. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  131. data/generated/google/apis/youtube_v3.rb +1 -1
  132. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  133. data/lib/google/apis/generator/annotator.rb +6 -0
  134. data/lib/google/apis/version.rb +1 -1
  135. metadata +6 -3
@@ -312,15 +312,18 @@ module Google
312
312
  # @private
313
313
  class Representation < Google::Apis::Core::JsonRepresentation
314
314
  property :app_id, as: 'appId'
315
+ property :auth_flow_type, as: 'authFlowType'
315
316
  property :client_id, as: 'clientId'
316
317
  property :context, as: 'context'
317
318
  property :continue_uri, as: 'continueUri'
319
+ property :hosted_domain, as: 'hostedDomain'
318
320
  property :identifier, as: 'identifier'
319
321
  property :oauth_consumer_key, as: 'oauthConsumerKey'
320
322
  property :oauth_scope, as: 'oauthScope'
321
323
  property :openid_realm, as: 'openidRealm'
322
324
  property :ota_app, as: 'otaApp'
323
325
  property :provider_id, as: 'providerId'
326
+ property :session_id, as: 'sessionId'
324
327
  end
325
328
  end
326
329
 
@@ -630,6 +633,7 @@ module Google
630
633
  collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation
631
634
 
632
635
  property :salt, :base64 => true, as: 'salt'
636
+ property :screen_name, as: 'screenName'
633
637
  property :valid_since, as: 'validSince'
634
638
  property :version, as: 'version'
635
639
  end
@@ -643,6 +647,7 @@ module Google
643
647
  property :photo_url, as: 'photoUrl'
644
648
  property :provider_id, as: 'providerId'
645
649
  property :raw_id, as: 'rawId'
650
+ property :screen_name, as: 'screenName'
646
651
  end
647
652
  end
648
653
  end
@@ -683,6 +688,7 @@ module Google
683
688
  property :photo_url, as: 'photoUrl'
684
689
  property :provider_id, as: 'providerId'
685
690
  property :refresh_token, as: 'refreshToken'
691
+ property :screen_name, as: 'screenName'
686
692
  property :time_zone, as: 'timeZone'
687
693
  collection :verified_provider, as: 'verifiedProvider'
688
694
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/identity-toolkit/v3/
26
26
  module IdentitytoolkitV3
27
27
  VERSION = 'V3'
28
- REVISION = '20160608'
28
+ REVISION = '20160810'
29
29
  end
30
30
  end
31
31
  end
@@ -22,20 +22,19 @@ module Google
22
22
  module Apis
23
23
  module MonitoringV3
24
24
 
25
- # A specific metric identified by specifying values for all of the
26
- # labels of a `MetricDescriptor`.
25
+ # A specific metric identified by specifying values for all of the labels of a
26
+ # MetricDescriptor.
27
27
  class Metric
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # The set of labels that uniquely identify a metric. To specify a
31
- # metric, all labels enumerated in the `MetricDescriptor` must be
32
- # assigned values.
30
+ # The set of labels that uniquely identify a metric. To specify a metric, all
31
+ # labels enumerated in the MetricDescriptor must be assigned values.
33
32
  # Corresponds to the JSON property `labels`
34
33
  # @return [Hash<String,String>]
35
34
  attr_accessor :labels
36
35
 
37
- # An existing metric type, see google.api.MetricDescriptor.
38
- # For example, `compute.googleapis.com/instance/cpu/usage_time`.
36
+ # An existing metric type, see google.api.MetricDescriptor. For example, compute.
37
+ # googleapis.com/instance/cpu/usage_time.
39
38
  # Corresponds to the JSON property `type`
40
39
  # @return [String]
41
40
  attr_accessor :type
@@ -51,7 +50,7 @@ module Google
51
50
  end
52
51
  end
53
52
 
54
- # The `ListGroupMembers` response.
53
+ # The ListGroupMembers response.
55
54
  class ListGroupMembersResponse
56
55
  include Google::Apis::Core::Hashable
57
56
 
@@ -60,9 +59,9 @@ module Google
60
59
  # @return [Array<Google::Apis::MonitoringV3::MonitoredResource>]
61
60
  attr_accessor :members
62
61
 
63
- # If there are more results than have been returned, then this field is
64
- # set to a non-empty value. To see the additional results, use that value as
65
- # `pageToken` in the next call to this method.
62
+ # If there are more results than have been returned, then this field is set to a
63
+ # non-empty value. To see the additional results, use that value as pageToken in
64
+ # the next call to this method.
66
65
  # Corresponds to the JSON property `nextPageToken`
67
66
  # @return [String]
68
67
  attr_accessor :next_page_token
@@ -84,21 +83,19 @@ module Google
84
83
  end
85
84
  end
86
85
 
87
- # A time interval extending from after `startTime` through `endTime`. If
88
- # `startTime` is omitted, the interval is the single point in time, `endTime`.
86
+ # A time interval extending just after a start time through an end time. If the
87
+ # start time is the same as the end time, then the interval represents a single
88
+ # point in time.
89
89
  class TimeInterval
90
90
  include Google::Apis::Core::Hashable
91
91
 
92
- # Required. The end of the interval. The interval includes this
93
- # time.
92
+ # Required. The end of the time interval.
94
93
  # Corresponds to the JSON property `endTime`
95
94
  # @return [String]
96
95
  attr_accessor :end_time
97
96
 
98
- # If this value is omitted, the interval is a point in time,
99
- # `endTime`. If `startTime` is present, it must be earlier than
100
- # (less than) `endTime`. The interval begins after
101
- # `startTime`&mdash;it does not include `startTime`.
97
+ # Optional. The beginning of the time interval. The default value for the start
98
+ # time is the end time. The start time must not be later than the end time.
102
99
  # Corresponds to the JSON property `startTime`
103
100
  # @return [String]
104
101
  attr_accessor :start_time
@@ -114,29 +111,26 @@ module Google
114
111
  end
115
112
  end
116
113
 
117
- # The description of a dynamic collection of monitored resources. Each group
118
- # has a filter that is matched against monitored resources and their associated
114
+ # The description of a dynamic collection of monitored resources. Each group has
115
+ # a filter that is matched against monitored resources and their associated
119
116
  # metadata. If a group's filter matches an available monitored resource, then
120
- # that resource is a member of that group. Groups can contain any number of
121
- # monitored resources, and each monitored resource can be a member of any
122
- # number of groups.
123
- # Groups can be nested in parent-child hierarchies. The `parentName` field
124
- # identifies an optional parent for each group. If a group has a parent, then
125
- # the only monitored resources available to be matched by the group's filter
126
- # are the resources contained in the parent group. In other words, a group
127
- # contains the monitored resources that match its filter and the filters of all
128
- # the group's ancestors. A group without a parent can contain any monitored
129
- # resource.
130
- # For example, consider an infrastructure running a set of instances with two
131
- # user-defined tags: `"environment"` and `"role"`. A parent group has a filter,
132
- # `environment="production"`. A child of that parent group has a filter,
133
- # `role="transcoder"`. The parent group contains all instances in the
134
- # production environment, regardless of their roles. The child group contains
135
- # instances that have the transcoder role *and* are in the production
136
- # environment.
137
- # The monitored resources contained in a group can change at any moment,
138
- # depending on what resources exist and what filters are associated with the
139
- # group and its ancestors.
117
+ # that resource is a member of that group. Groups can contain any number of
118
+ # monitored resources, and each monitored resource can be a member of any number
119
+ # of groups.Groups can be nested in parent-child hierarchies. The parentName
120
+ # field identifies an optional parent for each group. If a group has a parent,
121
+ # then the only monitored resources available to be matched by the group's
122
+ # filter are the resources contained in the parent group. In other words, a
123
+ # group contains the monitored resources that match its filter and the filters
124
+ # of all the group's ancestors. A group without a parent can contain any
125
+ # monitored resource.For example, consider an infrastructure running a set of
126
+ # instances with two user-defined tags: &quot;environment&quot; and &quot;role&
127
+ # quot;. A parent group has a filter, environment=&quot;production&quot;. A
128
+ # child of that parent group has a filter, role=&quot;transcoder&quot;. The
129
+ # parent group contains all instances in the production environment, regardless
130
+ # of their roles. The child group contains instances that have the transcoder
131
+ # role and are in the production environment.The monitored resources contained
132
+ # in a group can change at any moment, depending on what resources exist and
133
+ # what filters are associated with the group and its ancestors.
140
134
  class Group
141
135
  include Google::Apis::Core::Hashable
142
136
 
@@ -145,15 +139,15 @@ module Google
145
139
  # @return [String]
146
140
  attr_accessor :display_name
147
141
 
148
- # The name of the group's parent, if it has one.
149
- # The format is `"projects/`project_id_or_number`/groups/`group_id`"`.
150
- # For groups with no parent, `parentName` is the empty string, `""`.
142
+ # The name of the group's parent, if it has one. The format is &quot;projects/`
143
+ # project_id_or_number`/groups/`group_id`&quot;. For groups with no parent,
144
+ # parentName is the empty string, &quot;&quot;.
151
145
  # Corresponds to the JSON property `parentName`
152
146
  # @return [String]
153
147
  attr_accessor :parent_name
154
148
 
155
- # If true, the members of this group are considered to be a cluster.
156
- # The system can perform additional analysis on groups that are clusters.
149
+ # If true, the members of this group are considered to be a cluster. The system
150
+ # can perform additional analysis on groups that are clusters.
157
151
  # Corresponds to the JSON property `isCluster`
158
152
  # @return [Boolean]
159
153
  attr_accessor :is_cluster
@@ -164,13 +158,11 @@ module Google
164
158
  # @return [String]
165
159
  attr_accessor :filter
166
160
 
167
- # The name of this group.
168
- # The format is
169
- # `"projects/`project_id_or_number`/groups/`group_id`"`.
170
- # When creating a group, this field is ignored and a new name is created
171
- # consisting of the project specified in the call to `CreateGroup`
172
- # and a unique ``group_id`` that is generated automatically.
173
- # @OutputOnly
161
+ # Output only. The name of this group. The format is &quot;projects/`
162
+ # project_id_or_number`/groups/`group_id`&quot;. When creating a group, this
163
+ # field is ignored and a new name is created consisting of the project specified
164
+ # in the call to CreateGroup and a unique `group_id` that is generated
165
+ # automatically.
174
166
  # Corresponds to the JSON property `name`
175
167
  # @return [String]
176
168
  attr_accessor :name
@@ -189,7 +181,7 @@ module Google
189
181
  end
190
182
  end
191
183
 
192
- # The `ListTimeSeries` response.
184
+ # The ListTimeSeries response.
193
185
  class ListTimeSeriesResponse
194
186
  include Google::Apis::Core::Hashable
195
187
 
@@ -198,9 +190,9 @@ module Google
198
190
  # @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
199
191
  attr_accessor :time_series
200
192
 
201
- # If there are more results than have been returned, then this field is set
202
- # to a non-empty value. To see the additional results,
203
- # use that value as `pageToken` in the next call to this method.
193
+ # If there are more results than have been returned, then this field is set to a
194
+ # non-empty value. To see the additional results, use that value as pageToken in
195
+ # the next call to this method.
204
196
  # Corresponds to the JSON property `nextPageToken`
205
197
  # @return [String]
206
198
  attr_accessor :next_page_token
@@ -225,8 +217,9 @@ module Google
225
217
  # @return [Google::Apis::MonitoringV3::TypedValue]
226
218
  attr_accessor :value
227
219
 
228
- # A time interval extending from after `startTime` through `endTime`. If
229
- # `startTime` is omitted, the interval is the single point in time, `endTime`.
220
+ # A time interval extending just after a start time through an end time. If the
221
+ # start time is the same as the end time, then the interval represents a single
222
+ # point in time.
230
223
  # Corresponds to the JSON property `interval`
231
224
  # @return [Google::Apis::MonitoringV3::TimeInterval]
232
225
  attr_accessor :interval
@@ -242,7 +235,7 @@ module Google
242
235
  end
243
236
  end
244
237
 
245
- # A single data point from a `collectd`-based plugin.
238
+ # A single data point from a collectd-based plugin.
246
239
  class CollectdValue
247
240
  include Google::Apis::Core::Hashable
248
241
 
@@ -251,8 +244,8 @@ module Google
251
244
  # @return [Google::Apis::MonitoringV3::TypedValue]
252
245
  attr_accessor :value
253
246
 
254
- # The data source for the `collectd` value. For example there are
255
- # two data sources for network measurements: `"rx"` and `"tx"`.
247
+ # The data source for the collectd value. For example there are two data sources
248
+ # for network measurements: &quot;rx&quot; and &quot;tx&quot;.
256
249
  # Corresponds to the JSON property `dataSourceName`
257
250
  # @return [String]
258
251
  attr_accessor :data_source_name
@@ -274,55 +267,52 @@ module Google
274
267
  end
275
268
  end
276
269
 
277
- # A collection of data points that describes the time-varying nature
278
- # of a metric. A time series is identified by a combination of a
279
- # fully-specified monitored resource and a fully-specified metric.
270
+ # A collection of data points that describes the time-varying values of a metric.
271
+ # A time series is identified by a combination of a fully-specified monitored
272
+ # resource and a fully-specified metric.
280
273
  class TimeSeries
281
274
  include Google::Apis::Core::Hashable
282
275
 
283
- # A specific metric identified by specifying values for all of the
284
- # labels of a `MetricDescriptor`.
276
+ # A specific metric identified by specifying values for all of the labels of a
277
+ # MetricDescriptor.
285
278
  # Corresponds to the JSON property `metric`
286
279
  # @return [Google::Apis::MonitoringV3::Metric]
287
280
  attr_accessor :metric
288
281
 
289
- # The data points of this time series. When used as output, points will be
290
- # sorted by decreasing time order. When used as input, points could be
291
- # written in any orders.
282
+ # The data points of this time series. The order of the points is specified when
283
+ # you retrieve the time series.
292
284
  # Corresponds to the JSON property `points`
293
285
  # @return [Array<Google::Apis::MonitoringV3::Point>]
294
286
  attr_accessor :points
295
287
 
296
- # The value type of the time series. This can be different than the value
297
- # type specified in [google.api.MetricDescriptor] because of alignment and
298
- # reduction operations on the data. This field is ignored when writing data;
299
- # the value specified in the descriptor is used instead.
300
- # @OutputOnly
288
+ # Output only. The value type of the time series. This can be different than the
289
+ # value type of the metric object if this time series is an alignment or
290
+ # reduction of other time series. This field is ignored when writing data to a
291
+ # time series.
301
292
  # Corresponds to the JSON property `valueType`
302
293
  # @return [String]
303
294
  attr_accessor :value_type
304
295
 
305
296
  # An object representing a resource that can be used for monitoring, logging,
306
297
  # billing, or other purposes. Examples include virtual machine instances,
307
- # databases, and storage devices such as disks. The `type` field identifies a
308
- # MonitoredResourceDescriptor object that describes the resource's
309
- # schema. Information in the `labels` field identifies the actual resource and
310
- # its attributes according to the schema. For example, a particular Compute
311
- # Engine VM instance could be represented by the following object, because the
312
- # MonitoredResourceDescriptor for `"gce_instance"` has labels
313
- # `"instance_id"` and `"zone"`:
314
- # ` "type": "gce_instance",
315
- # "labels": ` "instance_id": "12345678901234",
316
- # "zone": "us-central1-a" ``
298
+ # databases, and storage devices such as disks. The type field identifies a
299
+ # MonitoredResourceDescriptor object that describes the resource's schema.
300
+ # Information in the labels field identifies the actual resource and its
301
+ # attributes according to the schema. For example, a particular Compute Engine
302
+ # VM instance could be represented by the following object, because the
303
+ # MonitoredResourceDescriptor for &quot;gce_instance&quot; has labels &quot;
304
+ # instance_id&quot; and &quot;zone&quot;:
305
+ # ` &quot;type&quot;: &quot;gce_instance&quot;,
306
+ # &quot;labels&quot;: ` &quot;instance_id&quot;: &quot;12345678901234&quot;,
307
+ # &quot;zone&quot;: &quot;us-central1-a&quot; ``
317
308
  # Corresponds to the JSON property `resource`
318
309
  # @return [Google::Apis::MonitoringV3::MonitoredResource]
319
310
  attr_accessor :resource
320
311
 
321
- # The metric kind of the time series. This can be different than the metric
322
- # kind specified in [google.api.MetricDescriptor] because of alignment and
323
- # reduction operations on the data. This field is ignored when writing data;
324
- # the value specified in the descriptor is used instead.
325
- # @OutputOnly
312
+ # Output only. The metric kind of the time series. This can be different than
313
+ # the metric kind of the metric object if this time series is an alignment or
314
+ # reduction of other time series. This field is ignored when writing data to a
315
+ # time series.
326
316
  # Corresponds to the JSON property `metricKind`
327
317
  # @return [String]
328
318
  attr_accessor :metric_kind
@@ -350,65 +340,61 @@ module Google
350
340
  # @return [String]
351
341
  attr_accessor :description
352
342
 
353
- # The unit in which the metric value is reported. It is only applicable
354
- # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
355
- # supported units are a subset of [The Unified Code for Units of
356
- # Measure](http://unitsofmeasure.org/ucum.html) standard:
357
- # **Basic units (UNIT)**
358
- # * `bit` bit
359
- # * `By` byte
360
- # * `s` second
361
- # * `min` minute
362
- # * `h` hour
363
- # * `d` day
364
- # **Prefixes (PREFIX)**
365
- # * `k` kilo (10**3)
366
- # * `M` mega (10**6)
367
- # * `G` giga (10**9)
368
- # * `T` tera (10**12)
369
- # * `P` peta (10**15)
370
- # * `E` exa (10**18)
371
- # * `Z` zetta (10**21)
372
- # * `Y` yotta (10**24)
373
- # * `m` milli (10**-3)
374
- # * `u` micro (10**-6)
375
- # * `n` nano (10**-9)
376
- # * `p` pico (10**-12)
377
- # * `f` femto (10**-15)
378
- # * `a` atto (10**-18)
379
- # * `z` zepto (10**-21)
380
- # * `y` yocto (10**-24)
381
- # * `Ki` kibi (2**10)
382
- # * `Mi` mebi (2**20)
383
- # * `Gi` gibi (2**30)
384
- # * `Ti` tebi (2**40)
385
- # **Grammar**
386
- # The grammar includes the dimensionless unit `1`, such as `1/s`.
387
- # The grammar also includes these connectors:
388
- # * `/` division (as an infix operator, e.g. `1/s`).
389
- # * `.` multiplication (as an infix operator, e.g. `GBy.d`)
390
- # The grammar for a unit is as follows:
391
- # Expression = Component ` "." Component ` ` "/" Component ` ;
343
+ # The unit in which the metric value is reported. It is only applicable if the
344
+ # value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
345
+ # of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
346
+ # standard:Basic units (UNIT)
347
+ # bit bit
348
+ # By byte
349
+ # s second
350
+ # min minute
351
+ # h hour
352
+ # d dayPrefixes (PREFIX)
353
+ # k kilo (10**3)
354
+ # M mega (10**6)
355
+ # G giga (10**9)
356
+ # T tera (10**12)
357
+ # P peta (10**15)
358
+ # E exa (10**18)
359
+ # Z zetta (10**21)
360
+ # Y yotta (10**24)
361
+ # m milli (10**-3)
362
+ # u micro (10**-6)
363
+ # n nano (10**-9)
364
+ # p pico (10**-12)
365
+ # f femto (10**-15)
366
+ # a atto (10**-18)
367
+ # z zepto (10**-21)
368
+ # y yocto (10**-24)
369
+ # Ki kibi (2**10)
370
+ # Mi mebi (2**20)
371
+ # Gi gibi (2**30)
372
+ # Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
373
+ # s.The grammar also includes these connectors:
374
+ # / division (as an infix operator, e.g. 1/s).
375
+ # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
376
+ # as follows:
377
+ # Expression = Component ` &quot;.&quot; Component ` ` &quot;/&quot; Component `
378
+ # ;
392
379
  # Component = [ PREFIX ] UNIT [ Annotation ]
393
380
  # | Annotation
394
- # | "1"
381
+ # | &quot;1&quot;
395
382
  # ;
396
- # Annotation = "`" NAME "`" ;
383
+ # Annotation = &quot;`&quot; NAME &quot;`&quot; ;
397
384
  # Notes:
398
- # * `Annotation` is just a comment if it follows a `UNIT` and is
399
- # equivalent to `1` if it is used alone. For examples,
400
- # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
401
- # * `NAME` is a sequence of non-blank printable ASCII characters not
402
- # containing '`' or '`'.
385
+ # Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
386
+ # it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
387
+ # s.
388
+ # NAME is a sequence of non-blank printable ASCII characters not containing '`'
389
+ # or '`'.
403
390
  # Corresponds to the JSON property `unit`
404
391
  # @return [String]
405
392
  attr_accessor :unit
406
393
 
407
394
  # The set of labels that can be used to describe a specific instance of this
408
- # metric type. For example, the
409
- # `compute.googleapis.com/instance/network/received_bytes_count` metric type
410
- # has a label, `loadbalanced`, that specifies whether the traffic was
411
- # received through a load balanced IP address.
395
+ # metric type. For example, the compute.googleapis.com/instance/network/
396
+ # received_bytes_count metric type has a label, loadbalanced, that specifies
397
+ # whether the traffic was received through a load balanced IP address.
412
398
  # Corresponds to the JSON property `labels`
413
399
  # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
414
400
  attr_accessor :labels
@@ -423,8 +409,8 @@ module Google
423
409
  # @return [String]
424
410
  attr_accessor :value_type
425
411
 
426
- # A concise name for the metric, which can be displayed in user interfaces.
427
- # Use sentence case without an ending period, for example "Request count".
412
+ # A concise name for the metric, which can be displayed in user interfaces. Use
413
+ # sentence case without an ending period, for example "Request count".
428
414
  # Corresponds to the JSON property `displayName`
429
415
  # @return [String]
430
416
  attr_accessor :display_name
@@ -437,16 +423,16 @@ module Google
437
423
  # @return [String]
438
424
  attr_accessor :name
439
425
 
440
- # The metric type including a DNS name prefix, for example
441
- # `"compute.googleapis.com/instance/cpu/utilization"`. Metric types
442
- # should use a natural hierarchical grouping such as the following:
426
+ # The metric type including a DNS name prefix, for example &quot;compute.
427
+ # googleapis.com/instance/cpu/utilization&quot;. Metric types should use a
428
+ # natural hierarchical grouping such as the following:
443
429
  # compute.googleapis.com/instance/cpu/utilization
444
430
  # compute.googleapis.com/instance/disk/read_ops_count
445
431
  # compute.googleapis.com/instance/network/received_bytes_count
446
- # Note that if the metric type changes, the monitoring data will be
447
- # discontinued, and anything depends on it will break, such as monitoring
448
- # dashboards, alerting rules and quota limits. Therefore, once a metric has
449
- # been published, its type should be immutable.
432
+ # Note that if the metric type changes, the monitoring data will be discontinued,
433
+ # and anything depends on it will break, such as monitoring dashboards,
434
+ # alerting rules and quota limits. Therefore, once a metric has been published,
435
+ # its type should be immutable.
450
436
  # Corresponds to the JSON property `type`
451
437
  # @return [String]
452
438
  attr_accessor :type
@@ -468,13 +454,12 @@ module Google
468
454
  end
469
455
  end
470
456
 
471
- # Specify a sequence of buckets that have a width that is proportional to
472
- # the value of the lower bound. Each bucket represents a constant relative
473
- # uncertainty on a specific value in the bucket.
474
- # Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
475
- # bucket i:
476
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
477
- # Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
457
+ # Specify a sequence of buckets that have a width that is proportional to the
458
+ # value of the lower bound. Each bucket represents a constant relative
459
+ # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
460
+ # N) buckets with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1)
461
+ # : scale * (growth_factor ^ i). Lower bound (1 &lt;= i &lt; N): scale * (
462
+ # growth_factor ^ (i - 1)).
478
463
  class Exponential
479
464
  include Google::Apis::Core::Hashable
480
465
 
@@ -505,14 +490,12 @@ module Google
505
490
  end
506
491
  end
507
492
 
508
- # A set of buckets with arbitrary widths.
509
- # Defines `size(bounds) + 1` (= N) buckets with these boundaries for
510
- # bucket i:
511
- # Upper bound (0 <= i < N-1): bounds[i]
512
- # Lower bound (1 <= i < N); bounds[i - 1]
513
- # There must be at least one element in `bounds`. If `bounds` has only one
514
- # element, there are no finite buckets, and that single element is the
515
- # common boundary of the overflow and underflow buckets.
493
+ # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
494
+ # with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): boundsi
495
+ # Lower bound (1 &lt;= i &lt; N); boundsi - 1There must be at least one element
496
+ # in bounds. If bounds has only one element, there are no finite buckets, and
497
+ # that single element is the common boundary of the overflow and underflow
498
+ # buckets.
516
499
  class Explicit
517
500
  include Google::Apis::Core::Hashable
518
501
 
@@ -531,13 +514,11 @@ module Google
531
514
  end
532
515
  end
533
516
 
534
- # Specify a sequence of buckets that all have the same width (except
535
- # overflow and underflow). Each bucket represents a constant absolute
536
- # uncertainty on the specific value in the bucket.
537
- # Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
538
- # bucket `i`:
539
- # Upper bound (0 <= i < N-1): offset + (width * i).
540
- # Lower bound (1 <= i < N): offset + (width * (i - 1)).
517
+ # Specify a sequence of buckets that all have the same width (except overflow
518
+ # and underflow). Each bucket represents a constant absolute uncertainty on the
519
+ # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
520
+ # these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): offset + (
521
+ # width * i). Lower bound (1 &lt;= i &lt; N): offset + (width * (i - 1)).
541
522
  class Linear
542
523
  include Google::Apis::Core::Hashable
543
524
 
@@ -568,8 +549,8 @@ module Google
568
549
  end
569
550
  end
570
551
 
571
- # A collection of data points sent from a `collectd`-based plugin.
572
- # See the `collectd` documentation for more information.
552
+ # A collection of data points sent from a collectd-based plugin. See the
553
+ # collectd documentation for more information.
573
554
  class CollectdPayload
574
555
  include Google::Apis::Core::Hashable
575
556
 
@@ -578,18 +559,18 @@ module Google
578
559
  # @return [String]
579
560
  attr_accessor :end_time
580
561
 
581
- # The measurement metadata. Example: `"process_id" -> 12345`
562
+ # The measurement metadata. Example: &quot;process_id&quot; -&gt; 12345
582
563
  # Corresponds to the JSON property `metadata`
583
564
  # @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
584
565
  attr_accessor :metadata
585
566
 
586
- # The measured values during this time interval.
587
- # Each value must have a different `dataSourceName`.
567
+ # The measured values during this time interval. Each value must have a
568
+ # different dataSourceName.
588
569
  # Corresponds to the JSON property `values`
589
570
  # @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
590
571
  attr_accessor :values
591
572
 
592
- # The instance name of the plugin Example: `"hdcl"`.
573
+ # The instance name of the plugin Example: &quot;hdcl&quot;.
593
574
  # Corresponds to the JSON property `pluginInstance`
594
575
  # @return [String]
595
576
  attr_accessor :plugin_instance
@@ -599,17 +580,17 @@ module Google
599
580
  # @return [String]
600
581
  attr_accessor :start_time
601
582
 
602
- # The measurement type instance. Example: `"used"`.
583
+ # The measurement type instance. Example: &quot;used&quot;.
603
584
  # Corresponds to the JSON property `typeInstance`
604
585
  # @return [String]
605
586
  attr_accessor :type_instance
606
587
 
607
- # The measurement type. Example: `"memory"`.
588
+ # The measurement type. Example: &quot;memory&quot;.
608
589
  # Corresponds to the JSON property `type`
609
590
  # @return [String]
610
591
  attr_accessor :type
611
592
 
612
- # The name of the plugin. Example: `"disk"`.
593
+ # The name of the plugin. Example: &quot;disk&quot;.
613
594
  # Corresponds to the JSON property `plugin`
614
595
  # @return [String]
615
596
  attr_accessor :plugin
@@ -631,19 +612,19 @@ module Google
631
612
  end
632
613
  end
633
614
 
634
- # The `ListMetricDescriptors` response.
615
+ # The ListMetricDescriptors response.
635
616
  class ListMetricDescriptorsResponse
636
617
  include Google::Apis::Core::Hashable
637
618
 
638
- # The metric descriptors that are available to the project
639
- # and that match the value of `filter`, if present.
619
+ # The metric descriptors that are available to the project and that match the
620
+ # value of filter, if present.
640
621
  # Corresponds to the JSON property `metricDescriptors`
641
622
  # @return [Array<Google::Apis::MonitoringV3::MetricDescriptor>]
642
623
  attr_accessor :metric_descriptors
643
624
 
644
- # If there are more results than have been returned, then this field is set
645
- # to a non-empty value. To see the additional results,
646
- # use that value as `pageToken` in the next call to this method.
625
+ # If there are more results than have been returned, then this field is set to a
626
+ # non-empty value. To see the additional results, use that value as pageToken in
627
+ # the next call to this method.
647
628
  # Corresponds to the JSON property `nextPageToken`
648
629
  # @return [String]
649
630
  attr_accessor :next_page_token
@@ -660,52 +641,47 @@ module Google
660
641
  end
661
642
 
662
643
  # Distribution contains summary statistics for a population of values and,
663
- # optionally, a histogram representing the distribution of those values across
664
- # a specified set of histogram buckets.
665
- # The summary statistics are the count, mean, sum of the squared deviation from
666
- # the mean, the minimum, and the maximum of the set of population of values.
667
- # The histogram is based on a sequence of buckets and gives a count of values
668
- # that fall into each bucket. The boundaries of the buckets are given either
669
- # explicitly or by specifying parameters for a method of computing them
670
- # (buckets of fixed width or buckets of exponentially increasing width).
671
- # Although it is not forbidden, it is generally a bad idea to include
672
- # non-finite values (infinities or NaNs) in the population of values, as this
673
- # will render the `mean` and `sum_of_squared_deviation` fields meaningless.
644
+ # optionally, a histogram representing the distribution of those values across a
645
+ # specified set of histogram buckets.The summary statistics are the count, mean,
646
+ # sum of the squared deviation from the mean, the minimum, and the maximum of
647
+ # the set of population of values.The histogram is based on a sequence of
648
+ # buckets and gives a count of values that fall into each bucket. The boundaries
649
+ # of the buckets are given either explicitly or by specifying parameters for a
650
+ # method of computing them (buckets of fixed width or buckets of exponentially
651
+ # increasing width).Although it is not forbidden, it is generally a bad idea to
652
+ # include non-finite values (infinities or NaNs) in the population of values, as
653
+ # this will render the mean and sum_of_squared_deviation fields meaningless.
674
654
  class Distribution
675
655
  include Google::Apis::Core::Hashable
676
656
 
677
- # If `bucket_options` is given, then the sum of the values in `bucket_counts`
678
- # must equal the value in `count`. If `bucket_options` is not given, no
679
- # `bucket_counts` fields may be given.
680
- # Bucket counts are given in order under the numbering scheme described
681
- # above (the underflow bucket has number 0; the finite buckets, if any,
682
- # have numbers 1 through N-2; the overflow bucket has number N-1).
683
- # The size of `bucket_counts` must be no greater than N as defined in
684
- # `bucket_options`.
657
+ # If bucket_options is given, then the sum of the values in bucket_counts must
658
+ # equal the value in count. If bucket_options is not given, no bucket_counts
659
+ # fields may be given.Bucket counts are given in order under the numbering
660
+ # scheme described above (the underflow bucket has number 0; the finite buckets,
661
+ # if any, have numbers 1 through N-2; the overflow bucket has number N-1).The
662
+ # size of bucket_counts must be no greater than N as defined in bucket_options.
685
663
  # Any suffix of trailing zero bucket_count fields may be omitted.
686
664
  # Corresponds to the JSON property `bucketCounts`
687
665
  # @return [Array<String>]
688
666
  attr_accessor :bucket_counts
689
667
 
690
668
  # A Distribution may optionally contain a histogram of the values in the
691
- # population. The histogram is given in `bucket_counts` as counts of values
692
- # that fall into one of a sequence of non-overlapping buckets. The sequence
693
- # of buckets is described by `bucket_options`.
694
- # A bucket specifies an inclusive lower bound and exclusive upper bound for
695
- # the values that are counted for that bucket. The upper bound of a bucket
696
- # is strictly greater than the lower bound.
697
- # The sequence of N buckets for a Distribution consists of an underflow
698
- # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and
699
- # an overflow bucket (number N - 1). The buckets are contiguous: the lower
700
- # bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1.
701
- # The buckets span the whole range of finite values: lower bound of the
702
- # underflow bucket is -infinity and the upper bound of the overflow bucket is
703
- # +infinity. The finite buckets are so-called because both bounds are
704
- # finite.
705
- # `BucketOptions` describes bucket boundaries in one of three ways. Two
706
- # describe the boundaries by giving parameters for a formula to generate
707
- # boundaries and one gives the bucket boundaries explicitly.
708
- # If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
669
+ # population. The histogram is given in bucket_counts as counts of values that
670
+ # fall into one of a sequence of non-overlapping buckets. The sequence of
671
+ # buckets is described by bucket_options.A bucket specifies an inclusive lower
672
+ # bound and exclusive upper bound for the values that are counted for that
673
+ # bucket. The upper bound of a bucket is strictly greater than the lower bound.
674
+ # The sequence of N buckets for a Distribution consists of an underflow bucket (
675
+ # number 0), zero or more finite buckets (number 1 through N - 2) and an
676
+ # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
677
+ # bucket i (i &gt; 0) is the same as the upper bound of bucket i - 1. The
678
+ # buckets span the whole range of finite values: lower bound of the underflow
679
+ # bucket is -infinity and the upper bound of the overflow bucket is +infinity.
680
+ # The finite buckets are so-called because both bounds are finite.BucketOptions
681
+ # describes bucket boundaries in one of three ways. Two describe the boundaries
682
+ # by giving parameters for a formula to generate boundaries and one gives the
683
+ # bucket boundaries explicitly.If bucket_boundaries is not given, then no
684
+ # bucket_counts may be given.
709
685
  # Corresponds to the JSON property `bucketOptions`
710
686
  # @return [Google::Apis::MonitoringV3::BucketOptions]
711
687
  attr_accessor :bucket_options
@@ -715,18 +691,18 @@ module Google
715
691
  # @return [String]
716
692
  attr_accessor :count
717
693
 
718
- # The sum of squared deviations from the mean of the values in the
719
- # population. For values x_i this is:
694
+ # The sum of squared deviations from the mean of the values in the population.
695
+ # For values x_i this is:
720
696
  # Sum[i=1..n]((x_i - mean)^2)
721
697
  # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
722
- # describes Welford's method for accumulating this sum in one pass.
723
- # If `count` is zero then this field must be zero.
698
+ # describes Welford's method for accumulating this sum in one pass.If count is
699
+ # zero then this field must be zero.
724
700
  # Corresponds to the JSON property `sumOfSquaredDeviation`
725
701
  # @return [Float]
726
702
  attr_accessor :sum_of_squared_deviation
727
703
 
728
- # The arithmetic mean of the values in the population. If `count` is zero
729
- # then this field must be zero.
704
+ # The arithmetic mean of the values in the population. If count is zero then
705
+ # this field must be zero.
730
706
  # Corresponds to the JSON property `mean`
731
707
  # @return [Float]
732
708
  attr_accessor :mean
@@ -736,13 +712,6 @@ module Google
736
712
  # @return [Google::Apis::MonitoringV3::Range]
737
713
  attr_accessor :range
738
714
 
739
- # Must be in increasing order of |value| field. The current requirement
740
- # enforced by the backend is that at most one Exemplar will fall into any
741
- # bucket.
742
- # Corresponds to the JSON property `exemplars`
743
- # @return [Array<Google::Apis::MonitoringV3::Exemplar>]
744
- attr_accessor :exemplars
745
-
746
715
  def initialize(**args)
747
716
  update!(**args)
748
717
  end
@@ -755,35 +724,34 @@ module Google
755
724
  @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
756
725
  @mean = args[:mean] if args.key?(:mean)
757
726
  @range = args[:range] if args.key?(:range)
758
- @exemplars = args[:exemplars] if args.key?(:exemplars)
759
727
  end
760
728
  end
761
729
 
762
730
  # An object representing a resource that can be used for monitoring, logging,
763
731
  # billing, or other purposes. Examples include virtual machine instances,
764
- # databases, and storage devices such as disks. The `type` field identifies a
765
- # MonitoredResourceDescriptor object that describes the resource's
766
- # schema. Information in the `labels` field identifies the actual resource and
767
- # its attributes according to the schema. For example, a particular Compute
768
- # Engine VM instance could be represented by the following object, because the
769
- # MonitoredResourceDescriptor for `"gce_instance"` has labels
770
- # `"instance_id"` and `"zone"`:
771
- # ` "type": "gce_instance",
772
- # "labels": ` "instance_id": "12345678901234",
773
- # "zone": "us-central1-a" ``
732
+ # databases, and storage devices such as disks. The type field identifies a
733
+ # MonitoredResourceDescriptor object that describes the resource's schema.
734
+ # Information in the labels field identifies the actual resource and its
735
+ # attributes according to the schema. For example, a particular Compute Engine
736
+ # VM instance could be represented by the following object, because the
737
+ # MonitoredResourceDescriptor for &quot;gce_instance&quot; has labels &quot;
738
+ # instance_id&quot; and &quot;zone&quot;:
739
+ # ` &quot;type&quot;: &quot;gce_instance&quot;,
740
+ # &quot;labels&quot;: ` &quot;instance_id&quot;: &quot;12345678901234&quot;,
741
+ # &quot;zone&quot;: &quot;us-central1-a&quot; ``
774
742
  class MonitoredResource
775
743
  include Google::Apis::Core::Hashable
776
744
 
777
745
  # Required. Values for all of the labels listed in the associated monitored
778
- # resource descriptor. For example, Cloud SQL databases use the labels
779
- # `"database_id"` and `"zone"`.
746
+ # resource descriptor. For example, Cloud SQL databases use the labels &quot;
747
+ # database_id&quot; and &quot;zone&quot;.
780
748
  # Corresponds to the JSON property `labels`
781
749
  # @return [Hash<String,String>]
782
750
  attr_accessor :labels
783
751
 
784
- # Required. The monitored resource type. This field must match
785
- # the `type` field of a MonitoredResourceDescriptor object. For
786
- # example, the type of a Cloud SQL database is `"cloudsql_database"`.
752
+ # Required. The monitored resource type. This field must match the type field of
753
+ # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
754
+ # database is &quot;cloudsql_database&quot;.
787
755
  # Corresponds to the JSON property `type`
788
756
  # @return [String]
789
757
  attr_accessor :type
@@ -830,49 +798,51 @@ module Google
830
798
  end
831
799
  end
832
800
 
833
- # An object that describes the schema of a MonitoredResource object using a
834
- # type name and a set of labels. For example, the monitored resource
835
- # descriptor for Google Compute Engine VM instances has a type of
836
- # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
837
- # `"zone"` to identify particular VM instances.
838
- # Different APIs can support different monitored resource types. APIs generally
839
- # provide a `list` method that returns the monitored resource descriptors used
840
- # by the API.
801
+ # An object that describes the schema of a MonitoredResource object using a type
802
+ # name and a set of labels. For example, the monitored resource descriptor for
803
+ # Google Compute Engine VM instances has a type of &quot;gce_instance&quot; and
804
+ # specifies the use of the labels &quot;instance_id&quot; and &quot;zone&quot;
805
+ # to identify particular VM instances.Different APIs can support different
806
+ # monitored resource types. APIs generally provide a list method that returns
807
+ # the monitored resource descriptors used by the API.
841
808
  class MonitoredResourceDescriptor
842
809
  include Google::Apis::Core::Hashable
843
810
 
844
811
  # Optional. A concise name for the monitored resource type that might be
845
- # displayed in user interfaces. For example, `"Google Cloud SQL Database"`.
812
+ # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
813
+ # any article or other determiners. For example, &quot;Google Cloud SQL Database&
814
+ # quot;.
846
815
  # Corresponds to the JSON property `displayName`
847
816
  # @return [String]
848
817
  attr_accessor :display_name
849
818
 
850
- # Optional. A detailed description of the monitored resource type that might
851
- # be used in documentation.
819
+ # Optional. A detailed description of the monitored resource type that might be
820
+ # used in documentation.
852
821
  # Corresponds to the JSON property `description`
853
822
  # @return [String]
854
823
  attr_accessor :description
855
824
 
856
825
  # Required. A set of labels used to describe instances of this monitored
857
826
  # resource type. For example, an individual Google Cloud SQL database is
858
- # identified by values for the labels `"database_id"` and `"zone"`.
827
+ # identified by values for the labels &quot;database_id&quot; and &quot;zone&
828
+ # quot;.
859
829
  # Corresponds to the JSON property `labels`
860
830
  # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
861
831
  attr_accessor :labels
862
832
 
863
- # Required. The monitored resource type. For example, the type
864
- # `"cloudsql_database"` represents databases in Google Cloud SQL.
865
- # The maximum length of this value is 256 characters.
833
+ # Required. The monitored resource type. For example, the type &quot;
834
+ # cloudsql_database&quot; represents databases in Google Cloud SQL. The maximum
835
+ # length of this value is 256 characters.
866
836
  # Corresponds to the JSON property `type`
867
837
  # @return [String]
868
838
  attr_accessor :type
869
839
 
870
- # Optional. The resource name of the monitored resource descriptor:
871
- # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
872
- # `type` is the value of the `type` field in this object and
873
- # `project_id` is a project ID that provides API-specific context for
874
- # accessing the type. APIs that do not use project information can use the
875
- # resource name format `"monitoredResourceDescriptors/`type`"`.
840
+ # Optional. The resource name of the monitored resource descriptor: &quot;
841
+ # projects/`project_id`/monitoredResourceDescriptors/`type`&quot; where `type`
842
+ # is the value of the type field in this object and `project_id` is a project ID
843
+ # that provides API-specific context for accessing the type. APIs that do not
844
+ # use project information can use the resource name format &quot;
845
+ # monitoredResourceDescriptors/`type`&quot;.
876
846
  # Corresponds to the JSON property `name`
877
847
  # @return [String]
878
848
  attr_accessor :name
@@ -895,7 +865,7 @@ module Google
895
865
  class TypedValue
896
866
  include Google::Apis::Core::Hashable
897
867
 
898
- # A Boolean value: `true` or `false`.
868
+ # A Boolean value: true or false.
899
869
  # Corresponds to the JSON property `boolValue`
900
870
  # @return [Boolean]
901
871
  attr_accessor :bool_value
@@ -911,25 +881,24 @@ module Google
911
881
  # @return [String]
912
882
  attr_accessor :int64_value
913
883
 
914
- # A 64-bit double-precision floating-point number. Its magnitude
915
- # is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
916
- # significant digits of precision.
884
+ # A 64-bit double-precision floating-point number. Its magnitude is
885
+ # approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant
886
+ # digits of precision.
917
887
  # Corresponds to the JSON property `doubleValue`
918
888
  # @return [Float]
919
889
  attr_accessor :double_value
920
890
 
921
891
  # Distribution contains summary statistics for a population of values and,
922
- # optionally, a histogram representing the distribution of those values across
923
- # a specified set of histogram buckets.
924
- # The summary statistics are the count, mean, sum of the squared deviation from
925
- # the mean, the minimum, and the maximum of the set of population of values.
926
- # The histogram is based on a sequence of buckets and gives a count of values
927
- # that fall into each bucket. The boundaries of the buckets are given either
928
- # explicitly or by specifying parameters for a method of computing them
929
- # (buckets of fixed width or buckets of exponentially increasing width).
930
- # Although it is not forbidden, it is generally a bad idea to include
931
- # non-finite values (infinities or NaNs) in the population of values, as this
932
- # will render the `mean` and `sum_of_squared_deviation` fields meaningless.
892
+ # optionally, a histogram representing the distribution of those values across a
893
+ # specified set of histogram buckets.The summary statistics are the count, mean,
894
+ # sum of the squared deviation from the mean, the minimum, and the maximum of
895
+ # the set of population of values.The histogram is based on a sequence of
896
+ # buckets and gives a count of values that fall into each bucket. The boundaries
897
+ # of the buckets are given either explicitly or by specifying parameters for a
898
+ # method of computing them (buckets of fixed width or buckets of exponentially
899
+ # increasing width).Although it is not forbidden, it is generally a bad idea to
900
+ # include non-finite values (infinities or NaNs) in the population of values, as
901
+ # this will render the mean and sum_of_squared_deviation fields meaningless.
933
902
  # Corresponds to the JSON property `distributionValue`
934
903
  # @return [Google::Apis::MonitoringV3::Distribution]
935
904
  attr_accessor :distribution_value
@@ -948,19 +917,19 @@ module Google
948
917
  end
949
918
  end
950
919
 
951
- # The `ListMonitoredResourcDescriptors` response.
920
+ # The ListMonitoredResourcDescriptors response.
952
921
  class ListMonitoredResourceDescriptorsResponse
953
922
  include Google::Apis::Core::Hashable
954
923
 
955
- # If there are more results than have been returned, then this field is set
956
- # to a non-empty value. To see the additional results,
957
- # use that value as `pageToken` in the next call to this method.
924
+ # If there are more results than have been returned, then this field is set to a
925
+ # non-empty value. To see the additional results, use that value as pageToken in
926
+ # the next call to this method.
958
927
  # Corresponds to the JSON property `nextPageToken`
959
928
  # @return [String]
960
929
  attr_accessor :next_page_token
961
930
 
962
- # The monitored resource descriptors that are available to this project
963
- # and that match `filter`, if present.
931
+ # The monitored resource descriptors that are available to this project and that
932
+ # match filter, if present.
964
933
  # Corresponds to the JSON property `resourceDescriptors`
965
934
  # @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
966
935
  attr_accessor :resource_descriptors
@@ -995,8 +964,8 @@ module Google
995
964
  # @return [Array<Google::Apis::MonitoringV3::Option>]
996
965
  attr_accessor :options
997
966
 
998
- # The index of the field type in `Type.oneofs`, for message or enumeration
999
- # types. The first type has index 1; zero means the type is not in the list.
967
+ # The index of the field type in Type.oneofs, for message or enumeration types.
968
+ # The first type has index 1; zero means the type is not in the list.
1000
969
  # Corresponds to the JSON property `oneofIndex`
1001
970
  # @return [Fixnum]
1002
971
  attr_accessor :oneof_index
@@ -1006,8 +975,8 @@ module Google
1006
975
  # @return [String]
1007
976
  attr_accessor :cardinality
1008
977
 
1009
- # The field type URL, without the scheme, for message or enumeration
1010
- # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
978
+ # The field type URL, without the scheme, for message or enumeration types.
979
+ # Example: &quot;type.googleapis.com/google.protobuf.Timestamp&quot;.
1011
980
  # Corresponds to the JSON property `typeUrl`
1012
981
  # @return [String]
1013
982
  attr_accessor :type_url
@@ -1057,12 +1026,12 @@ module Google
1057
1026
  class Option
1058
1027
  include Google::Apis::Core::Hashable
1059
1028
 
1060
- # The option's value. For example, `"com.google.protobuf"`.
1029
+ # The option's value. For example, &quot;com.google.protobuf&quot;.
1061
1030
  # Corresponds to the JSON property `value`
1062
1031
  # @return [Hash<String,Object>]
1063
1032
  attr_accessor :value
1064
1033
 
1065
- # The option's name. For example, `"java_package"`.
1034
+ # The option's name. For example, &quot;java_package&quot;.
1066
1035
  # Corresponds to the JSON property `name`
1067
1036
  # @return [String]
1068
1037
  attr_accessor :name
@@ -1078,13 +1047,13 @@ module Google
1078
1047
  end
1079
1048
  end
1080
1049
 
1081
- # A generic empty message that you can re-use to avoid defining duplicated
1082
- # empty messages in your APIs. A typical example is to use it as the request
1083
- # or the response type of an API method. For instance:
1050
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1051
+ # messages in your APIs. A typical example is to use it as the request or the
1052
+ # response type of an API method. For instance:
1084
1053
  # service Foo `
1085
1054
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1086
1055
  # `
1087
- # The JSON representation for `Empty` is empty JSON object ````.
1056
+ # The JSON representation for Empty is empty JSON object ``.
1088
1057
  class Empty
1089
1058
  include Google::Apis::Core::Hashable
1090
1059
 
@@ -1097,13 +1066,14 @@ module Google
1097
1066
  end
1098
1067
  end
1099
1068
 
1100
- # `SourceContext` represents information about the source of a
1101
- # protobuf element, like the file in which it is defined.
1069
+ # SourceContext represents information about the source of a protobuf element,
1070
+ # like the file in which it is defined.
1102
1071
  class SourceContext
1103
1072
  include Google::Apis::Core::Hashable
1104
1073
 
1105
1074
  # The path-qualified name of the .proto file that contained the associated
1106
- # protobuf element. For example: `"google/protobuf/source.proto"`.
1075
+ # protobuf element. For example: &quot;google/protobuf/source_context.proto&quot;
1076
+ # .
1107
1077
  # Corresponds to the JSON property `fileName`
1108
1078
  # @return [String]
1109
1079
  attr_accessor :file_name
@@ -1143,15 +1113,15 @@ module Google
1143
1113
  end
1144
1114
  end
1145
1115
 
1146
- # The `CreateTimeSeries` request.
1116
+ # The CreateTimeSeries request.
1147
1117
  class CreateTimeSeriesRequest
1148
1118
  include Google::Apis::Core::Hashable
1149
1119
 
1150
- # The new data to be added to a list of time series.
1151
- # Adds at most one data point to each of several time series. The new data
1152
- # point must be more recent than any other point in its time series. Each
1153
- # `TimeSeries` value must fully specify a unique time series by supplying
1154
- # all label values for the metric and the monitored resource.
1120
+ # The new data to be added to a list of time series. Adds at most one data point
1121
+ # to each of several time series. The new data point must be more recent than
1122
+ # any other point in its time series. Each TimeSeries value must fully specify a
1123
+ # unique time series by supplying all label values for the metric and the
1124
+ # monitored resource.
1155
1125
  # Corresponds to the JSON property `timeSeries`
1156
1126
  # @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
1157
1127
  attr_accessor :time_series
@@ -1167,57 +1137,50 @@ module Google
1167
1137
  end
1168
1138
 
1169
1139
  # A Distribution may optionally contain a histogram of the values in the
1170
- # population. The histogram is given in `bucket_counts` as counts of values
1171
- # that fall into one of a sequence of non-overlapping buckets. The sequence
1172
- # of buckets is described by `bucket_options`.
1173
- # A bucket specifies an inclusive lower bound and exclusive upper bound for
1174
- # the values that are counted for that bucket. The upper bound of a bucket
1175
- # is strictly greater than the lower bound.
1176
- # The sequence of N buckets for a Distribution consists of an underflow
1177
- # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and
1178
- # an overflow bucket (number N - 1). The buckets are contiguous: the lower
1179
- # bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1.
1180
- # The buckets span the whole range of finite values: lower bound of the
1181
- # underflow bucket is -infinity and the upper bound of the overflow bucket is
1182
- # +infinity. The finite buckets are so-called because both bounds are
1183
- # finite.
1184
- # `BucketOptions` describes bucket boundaries in one of three ways. Two
1185
- # describe the boundaries by giving parameters for a formula to generate
1186
- # boundaries and one gives the bucket boundaries explicitly.
1187
- # If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
1140
+ # population. The histogram is given in bucket_counts as counts of values that
1141
+ # fall into one of a sequence of non-overlapping buckets. The sequence of
1142
+ # buckets is described by bucket_options.A bucket specifies an inclusive lower
1143
+ # bound and exclusive upper bound for the values that are counted for that
1144
+ # bucket. The upper bound of a bucket is strictly greater than the lower bound.
1145
+ # The sequence of N buckets for a Distribution consists of an underflow bucket (
1146
+ # number 0), zero or more finite buckets (number 1 through N - 2) and an
1147
+ # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
1148
+ # bucket i (i &gt; 0) is the same as the upper bound of bucket i - 1. The
1149
+ # buckets span the whole range of finite values: lower bound of the underflow
1150
+ # bucket is -infinity and the upper bound of the overflow bucket is +infinity.
1151
+ # The finite buckets are so-called because both bounds are finite.BucketOptions
1152
+ # describes bucket boundaries in one of three ways. Two describe the boundaries
1153
+ # by giving parameters for a formula to generate boundaries and one gives the
1154
+ # bucket boundaries explicitly.If bucket_boundaries is not given, then no
1155
+ # bucket_counts may be given.
1188
1156
  class BucketOptions
1189
1157
  include Google::Apis::Core::Hashable
1190
1158
 
1191
- # A set of buckets with arbitrary widths.
1192
- # Defines `size(bounds) + 1` (= N) buckets with these boundaries for
1193
- # bucket i:
1194
- # Upper bound (0 <= i < N-1): bounds[i]
1195
- # Lower bound (1 <= i < N); bounds[i - 1]
1196
- # There must be at least one element in `bounds`. If `bounds` has only one
1197
- # element, there are no finite buckets, and that single element is the
1198
- # common boundary of the overflow and underflow buckets.
1159
+ # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
1160
+ # with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): boundsi
1161
+ # Lower bound (1 &lt;= i &lt; N); boundsi - 1There must be at least one element
1162
+ # in bounds. If bounds has only one element, there are no finite buckets, and
1163
+ # that single element is the common boundary of the overflow and underflow
1164
+ # buckets.
1199
1165
  # Corresponds to the JSON property `explicitBuckets`
1200
1166
  # @return [Google::Apis::MonitoringV3::Explicit]
1201
1167
  attr_accessor :explicit_buckets
1202
1168
 
1203
- # Specify a sequence of buckets that have a width that is proportional to
1204
- # the value of the lower bound. Each bucket represents a constant relative
1205
- # uncertainty on a specific value in the bucket.
1206
- # Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
1207
- # bucket i:
1208
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
1209
- # Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
1169
+ # Specify a sequence of buckets that have a width that is proportional to the
1170
+ # value of the lower bound. Each bucket represents a constant relative
1171
+ # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
1172
+ # N) buckets with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1)
1173
+ # : scale * (growth_factor ^ i). Lower bound (1 &lt;= i &lt; N): scale * (
1174
+ # growth_factor ^ (i - 1)).
1210
1175
  # Corresponds to the JSON property `exponentialBuckets`
1211
1176
  # @return [Google::Apis::MonitoringV3::Exponential]
1212
1177
  attr_accessor :exponential_buckets
1213
1178
 
1214
- # Specify a sequence of buckets that all have the same width (except
1215
- # overflow and underflow). Each bucket represents a constant absolute
1216
- # uncertainty on the specific value in the bucket.
1217
- # Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
1218
- # bucket `i`:
1219
- # Upper bound (0 <= i < N-1): offset + (width * i).
1220
- # Lower bound (1 <= i < N): offset + (width * (i - 1)).
1179
+ # Specify a sequence of buckets that all have the same width (except overflow
1180
+ # and underflow). Each bucket represents a constant absolute uncertainty on the
1181
+ # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
1182
+ # these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): offset + (
1183
+ # width * i). Lower bound (1 &lt;= i &lt; N): offset + (width * (i - 1)).
1221
1184
  # Corresponds to the JSON property `linearBuckets`
1222
1185
  # @return [Google::Apis::MonitoringV3::Linear]
1223
1186
  attr_accessor :linear_buckets
@@ -1234,35 +1197,36 @@ module Google
1234
1197
  end
1235
1198
  end
1236
1199
 
1237
- # The `CreateCollectdTimeSeries` request.
1200
+ # The CreateCollectdTimeSeries request.
1238
1201
  class CreateCollectdTimeSeriesRequest
1239
1202
  include Google::Apis::Core::Hashable
1240
1203
 
1241
- # The `collectd` payloads representing the time series data.
1242
- # You must not include more than a single point for each
1243
- # time series, so no two payloads can have the same values
1244
- # for all of the fields `plugin`, `plugin_instance`, `type`, and `type_instance`.
1204
+ # The collectd payloads representing the time series data. You must not include
1205
+ # more than a single point for each time series, so no two payloads can have the
1206
+ # same values for all of the fields plugin, plugin_instance, type, and
1207
+ # type_instance.
1245
1208
  # Corresponds to the JSON property `collectdPayloads`
1246
1209
  # @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
1247
1210
  attr_accessor :collectd_payloads
1248
1211
 
1249
- # The version of `collectd` that collected the data. Example: `"5.3.0-192.el6"`.
1212
+ # The version of collectd that collected the data. Example: &quot;5.3.0-192.el6&
1213
+ # quot;.
1250
1214
  # Corresponds to the JSON property `collectdVersion`
1251
1215
  # @return [String]
1252
1216
  attr_accessor :collectd_version
1253
1217
 
1254
1218
  # An object representing a resource that can be used for monitoring, logging,
1255
1219
  # billing, or other purposes. Examples include virtual machine instances,
1256
- # databases, and storage devices such as disks. The `type` field identifies a
1257
- # MonitoredResourceDescriptor object that describes the resource's
1258
- # schema. Information in the `labels` field identifies the actual resource and
1259
- # its attributes according to the schema. For example, a particular Compute
1260
- # Engine VM instance could be represented by the following object, because the
1261
- # MonitoredResourceDescriptor for `"gce_instance"` has labels
1262
- # `"instance_id"` and `"zone"`:
1263
- # ` "type": "gce_instance",
1264
- # "labels": ` "instance_id": "12345678901234",
1265
- # "zone": "us-central1-a" ``
1220
+ # databases, and storage devices such as disks. The type field identifies a
1221
+ # MonitoredResourceDescriptor object that describes the resource's schema.
1222
+ # Information in the labels field identifies the actual resource and its
1223
+ # attributes according to the schema. For example, a particular Compute Engine
1224
+ # VM instance could be represented by the following object, because the
1225
+ # MonitoredResourceDescriptor for &quot;gce_instance&quot; has labels &quot;
1226
+ # instance_id&quot; and &quot;zone&quot;:
1227
+ # ` &quot;type&quot;: &quot;gce_instance&quot;,
1228
+ # &quot;labels&quot;: ` &quot;instance_id&quot;: &quot;12345678901234&quot;,
1229
+ # &quot;zone&quot;: &quot;us-central1-a&quot; ``
1266
1230
  # Corresponds to the JSON property `resource`
1267
1231
  # @return [Google::Apis::MonitoringV3::MonitoredResource]
1268
1232
  attr_accessor :resource
@@ -1283,7 +1247,7 @@ module Google
1283
1247
  class Type
1284
1248
  include Google::Apis::Core::Hashable
1285
1249
 
1286
- # The list of types appearing in `oneof` definitions in this type.
1250
+ # The list of types appearing in oneof definitions in this type.
1287
1251
  # Corresponds to the JSON property `oneofs`
1288
1252
  # @return [Array<String>]
1289
1253
  attr_accessor :oneofs
@@ -1293,8 +1257,8 @@ module Google
1293
1257
  # @return [Array<Google::Apis::MonitoringV3::Option>]
1294
1258
  attr_accessor :options
1295
1259
 
1296
- # `SourceContext` represents information about the source of a
1297
- # protobuf element, like the file in which it is defined.
1260
+ # SourceContext represents information about the source of a protobuf element,
1261
+ # like the file in which it is defined.
1298
1262
  # Corresponds to the JSON property `sourceContext`
1299
1263
  # @return [Google::Apis::MonitoringV3::SourceContext]
1300
1264
  attr_accessor :source_context
@@ -1329,52 +1293,7 @@ module Google
1329
1293
  end
1330
1294
  end
1331
1295
 
1332
- # Exemplars are example points that may be used to annotate aggregated
1333
- # distribution values. They are metadata that gives information about a
1334
- # particular value added to a Distribution bucket, such as a trace ID that
1335
- # was active when a value was added. They can contain further information,
1336
- # such as a example values and timestamps, origin, etc.
1337
- # This is an experimental feature which is available in internal Monarch.
1338
- # The purpose of including it here is to be able to construct demos and
1339
- # prototypes for the purposes of eludicating use cases.
1340
- class Exemplar
1341
- include Google::Apis::Core::Hashable
1342
-
1343
- # Value of the exemplar point. This value determines to which bucket the
1344
- # exemplar belongs.
1345
- # Corresponds to the JSON property `value`
1346
- # @return [Float]
1347
- attr_accessor :value
1348
-
1349
- # Contextual information about the example value. Examples are:
1350
- # Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
1351
- # Literal string: type.googleapis.com/google.protobuf.StringValue
1352
- # Labels dropped during aggregation:
1353
- # type.googleapis.com/google.monitoring.v3.DroppedLabels
1354
- # There may be only a single attachment of any given message type in a
1355
- # single exemplar, and this is enforced by the system.
1356
- # Corresponds to the JSON property `attachments`
1357
- # @return [Array<Hash<String,Object>>]
1358
- attr_accessor :attachments
1359
-
1360
- # The observation (sampling) time of the above value.
1361
- # Corresponds to the JSON property `timestamp`
1362
- # @return [String]
1363
- attr_accessor :timestamp
1364
-
1365
- def initialize(**args)
1366
- update!(**args)
1367
- end
1368
-
1369
- # Update properties of this object
1370
- def update!(**args)
1371
- @value = args[:value] if args.key?(:value)
1372
- @attachments = args[:attachments] if args.key?(:attachments)
1373
- @timestamp = args[:timestamp] if args.key?(:timestamp)
1374
- end
1375
- end
1376
-
1377
- # The `ListGroups` response.
1296
+ # The ListGroups response.
1378
1297
  class ListGroupsResponse
1379
1298
  include Google::Apis::Core::Hashable
1380
1299
 
@@ -1383,9 +1302,9 @@ module Google
1383
1302
  # @return [Array<Google::Apis::MonitoringV3::Group>]
1384
1303
  attr_accessor :group
1385
1304
 
1386
- # If there are more results than have been returned, then this field is set
1387
- # to a non-empty value. To see the additional results,
1388
- # use that value as `pageToken` in the next call to this method.
1305
+ # If there are more results than have been returned, then this field is set to a
1306
+ # non-empty value. To see the additional results, use that value as pageToken in
1307
+ # the next call to this method.
1389
1308
  # Corresponds to the JSON property `nextPageToken`
1390
1309
  # @return [String]
1391
1310
  attr_accessor :next_page_token