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
@@ -196,12 +196,6 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class Exemplar
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
199
  class ListGroupsResponse
206
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
201
 
@@ -364,8 +358,6 @@ module Google
364
358
  property :mean, as: 'mean'
365
359
  property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
366
360
 
367
- collection :exemplars, as: 'exemplars', class: Google::Apis::MonitoringV3::Exemplar, decorator: Google::Apis::MonitoringV3::Exemplar::Representation
368
-
369
361
  end
370
362
  end
371
363
 
@@ -511,15 +503,6 @@ module Google
511
503
  end
512
504
  end
513
505
 
514
- class Exemplar
515
- # @private
516
- class Representation < Google::Apis::Core::JsonRepresentation
517
- property :value, as: 'value'
518
- collection :attachments, as: 'attachments'
519
- property :timestamp, as: 'timestamp'
520
- end
521
- end
522
-
523
506
  class ListGroupsResponse
524
507
  # @private
525
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,14 +48,12 @@ module Google
48
48
  super('https://monitoring.googleapis.com/', '')
49
49
  end
50
50
 
51
- # **Stackdriver Monitoring Agent only:** Creates a new time series.
52
- # <aside class="caution">This method is only for use by the Google Monitoring
53
- # Agent.
54
- # Use projects.timeSeries.create
55
- # instead.</aside>
51
+ # Stackdriver Monitoring Agent only: Creates a new time series.<aside class="
52
+ # caution">This method is only for use by the Google Monitoring Agent. Use
53
+ # projects.timeSeries.create instead.</aside>
56
54
  # @param [String] name
57
- # The project in which to create the time series. The format is
58
- # `"projects/PROJECT_ID_OR_NUMBER"`.
55
+ # The project in which to create the time series. The format is &quot;projects/
56
+ # PROJECT_ID_OR_NUMBER&quot;.
59
57
  # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
60
58
  # @param [String] quota_user
61
59
  # Available to use for quota purposes for server-side applications. Can be any
@@ -86,16 +84,13 @@ module Google
86
84
  execute_or_queue_command(command, &block)
87
85
  end
88
86
 
89
- # Updates an existing group.
90
- # You can change any group attributes except `name`.
87
+ # Updates an existing group. You can change any group attributes except name.
91
88
  # @param [String] name
92
- # The name of this group.
93
- # The format is
94
- # `"projects/`project_id_or_number`/groups/`group_id`"`.
95
- # When creating a group, this field is ignored and a new name is created
96
- # consisting of the project specified in the call to `CreateGroup`
97
- # and a unique ``group_id`` that is generated automatically.
98
- # @OutputOnly
89
+ # Output only. The name of this group. The format is &quot;projects/`
90
+ # project_id_or_number`/groups/`group_id`&quot;. When creating a group, this
91
+ # field is ignored and a new name is created consisting of the project specified
92
+ # in the call to CreateGroup and a unique `group_id` that is generated
93
+ # automatically.
99
94
  # @param [Google::Apis::MonitoringV3::Group] group_object
100
95
  # @param [Boolean] validate_only
101
96
  # If true, validate this request but do not update the existing group.
@@ -131,8 +126,8 @@ module Google
131
126
 
132
127
  # Gets a single group.
133
128
  # @param [String] name
134
- # The group to retrieve. The format is
135
- # `"projects/`project_id_or_number`/groups/`group_id`"`.
129
+ # The group to retrieve. The format is &quot;projects/`project_id_or_number`/
130
+ # groups/`group_id`&quot;.
136
131
  # @param [String] quota_user
137
132
  # Available to use for quota purposes for server-side applications. Can be any
138
133
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -162,8 +157,8 @@ module Google
162
157
 
163
158
  # Creates a new group.
164
159
  # @param [String] name
165
- # The project in which to create the group. The format is
166
- # `"projects/`project_id_or_number`"`.
160
+ # The project in which to create the group. The format is &quot;projects/`
161
+ # project_id_or_number`&quot;.
167
162
  # @param [Google::Apis::MonitoringV3::Group] group_object
168
163
  # @param [Boolean] validate_only
169
164
  # If true, validate this request but do not create the group.
@@ -199,29 +194,29 @@ module Google
199
194
 
200
195
  # Lists the existing groups.
201
196
  # @param [String] name
202
- # The project whose groups are to be listed. The format is
203
- # `"projects/`project_id_or_number`"`.
197
+ # The project whose groups are to be listed. The format is &quot;projects/`
198
+ # project_id_or_number`&quot;.
204
199
  # @param [String] descendants_of_group
205
- # A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
206
- # Returns the descendants of the specified group. This is a superset of
207
- # the results returned by the `childrenOfGroup` filter, and includes
208
- # children-of-children, and so forth.
200
+ # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
201
+ # Returns the descendants of the specified group. This is a superset of the
202
+ # results returned by the childrenOfGroup filter, and includes children-of-
203
+ # children, and so forth.
209
204
  # @param [Fixnum] page_size
210
205
  # A positive number that is the maximum number of results to return.
211
206
  # @param [String] children_of_group
212
- # A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
213
- # Returns groups whose `parentName` field contains the group
214
- # name. If no groups have this parent, the results are empty.
207
+ # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
208
+ # Returns groups whose parentName field contains the group name. If no groups
209
+ # have this parent, the results are empty.
215
210
  # @param [String] ancestors_of_group
216
- # A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
217
- # Returns groups that are ancestors of the specified group.
218
- # The groups are returned in order, starting with the immediate parent and
219
- # ending with the most distant ancestor. If the specified group has no
220
- # immediate parent, the results are empty.
211
+ # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
212
+ # Returns groups that are ancestors of the specified group. The groups are
213
+ # returned in order, starting with the immediate parent and ending with the most
214
+ # distant ancestor. If the specified group has no immediate parent, the results
215
+ # are empty.
221
216
  # @param [String] page_token
222
- # If this field is not empty then it must contain the `nextPageToken` value
223
- # returned by a previous call to this method. Using this field causes the
224
- # method to return additional results from the previous method call.
217
+ # If this field is not empty then it must contain the nextPageToken value
218
+ # returned by a previous call to this method. Using this field causes the method
219
+ # to return additional results from the previous method call.
225
220
  # @param [String] quota_user
226
221
  # Available to use for quota purposes for server-side applications. Can be any
227
222
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -256,8 +251,8 @@ module Google
256
251
 
257
252
  # Deletes an existing group.
258
253
  # @param [String] name
259
- # The group to delete. The format is
260
- # `"projects/`project_id_or_number`/groups/`group_id`"`.
254
+ # The group to delete. The format is &quot;projects/`project_id_or_number`/
255
+ # groups/`group_id`&quot;.
261
256
  # @param [String] quota_user
262
257
  # Available to use for quota purposes for server-side applications. Can be any
263
258
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -287,29 +282,26 @@ module Google
287
282
 
288
283
  # Lists the monitored resources that are members of a group.
289
284
  # @param [String] name
290
- # The group whose members are listed. The format is
291
- # `"projects/`project_id_or_number`/groups/`group_id`"`.
285
+ # The group whose members are listed. The format is &quot;projects/`
286
+ # project_id_or_number`/groups/`group_id`&quot;.
292
287
  # @param [String] filter
293
- # An optional [list filter](/monitoring/api/learn_more#filtering) describing
294
- # the members to be returned. The filter may reference the type, labels, and
295
- # metadata of monitored resources that comprise the group.
296
- # For example, to return only resources representing Compute Engine VM
297
- # instances, use this filter:
298
- # resource.type = "gce_instance"
288
+ # An optional list filter (/monitoring/api/learn_more#filtering) describing the
289
+ # members to be returned. The filter may reference the type, labels, and
290
+ # metadata of monitored resources that comprise the group. For example, to
291
+ # return only resources representing Compute Engine VM instances, use this
292
+ # filter:
293
+ # resource.type = &quot;gce_instance&quot;
299
294
  # @param [String] interval_end_time
300
- # Required. The end of the interval. The interval includes this
301
- # time.
295
+ # Required. The end of the time interval.
302
296
  # @param [String] interval_start_time
303
- # If this value is omitted, the interval is a point in time,
304
- # `endTime`. If `startTime` is present, it must be earlier than
305
- # (less than) `endTime`. The interval begins after
306
- # `startTime`&mdash;it does not include `startTime`.
297
+ # Optional. The beginning of the time interval. The default value for the start
298
+ # time is the end time. The start time must not be later than the end time.
307
299
  # @param [Fixnum] page_size
308
300
  # A positive number that is the maximum number of results to return.
309
301
  # @param [String] page_token
310
- # If this field is not empty then it must contain the `nextPageToken` value
311
- # returned by a previous call to this method. Using this field causes the
312
- # method to return additional results from the previous method call.
302
+ # If this field is not empty then it must contain the nextPageToken value
303
+ # returned by a previous call to this method. Using this field causes the method
304
+ # to return additional results from the previous method call.
313
305
  # @param [String] quota_user
314
306
  # Available to use for quota purposes for server-side applications. Can be any
315
307
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -345,10 +337,10 @@ module Google
345
337
  # Gets a single metric descriptor. This method does not require a Stackdriver
346
338
  # account.
347
339
  # @param [String] name
348
- # The metric descriptor on which to execute the request. The format is
349
- # `"projects/`project_id_or_number`/metricDescriptors/`metric_id`"`.
350
- # An example value of ``metric_id`` is
351
- # `"compute.googleapis.com/instance/disk/read_bytes_count"`.
340
+ # The metric descriptor on which to execute the request. The format is &quot;
341
+ # projects/`project_id_or_number`/metricDescriptors/`metric_id`&quot;. An
342
+ # example value of `metric_id` is &quot;compute.googleapis.com/instance/disk/
343
+ # read_bytes_count&quot;.
352
344
  # @param [String] quota_user
353
345
  # Available to use for quota purposes for server-side applications. Can be any
354
346
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -376,12 +368,11 @@ module Google
376
368
  execute_or_queue_command(command, &block)
377
369
  end
378
370
 
379
- # Creates a new metric descriptor.
380
- # User-created metric descriptors define
381
- # [custom metrics](/monitoring/custom-metrics).
371
+ # Creates a new metric descriptor. User-created metric descriptors define custom
372
+ # metrics (/monitoring/custom-metrics).
382
373
  # @param [String] name
383
- # The project on which to execute the request. The format is
384
- # `"projects/`project_id_or_number`"`.
374
+ # The project on which to execute the request. The format is &quot;projects/`
375
+ # project_id_or_number`&quot;.
385
376
  # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
386
377
  # @param [String] quota_user
387
378
  # Available to use for quota purposes for server-side applications. Can be any
@@ -415,22 +406,20 @@ module Google
415
406
  # Lists metric descriptors that match a filter. This method does not require a
416
407
  # Stackdriver account.
417
408
  # @param [String] name
418
- # The project on which to execute the request. The format is
419
- # `"projects/`project_id_or_number`"`.
409
+ # The project on which to execute the request. The format is &quot;projects/`
410
+ # project_id_or_number`&quot;.
420
411
  # @param [Fixnum] page_size
421
412
  # A positive number that is the maximum number of results to return.
422
413
  # @param [String] filter
423
- # If this field is empty, all custom and
424
- # system-defined metric descriptors are returned.
425
- # Otherwise, the [filter](/monitoring/api/v3/filters)
426
- # specifies which metric descriptors are to be
427
- # returned. For example, the following filter matches all
428
- # [custom metrics](/monitoring/custom-metrics):
429
- # metric.type = starts_with("custom.googleapis.com/")
414
+ # If this field is empty, all custom and system-defined metric descriptors are
415
+ # returned. Otherwise, the filter (/monitoring/api/v3/filters) specifies which
416
+ # metric descriptors are to be returned. For example, the following filter
417
+ # matches all custom metrics (/monitoring/custom-metrics):
418
+ # metric.type = starts_with(&quot;custom.googleapis.com/&quot;)
430
419
  # @param [String] page_token
431
- # If this field is not empty then it must contain the `nextPageToken` value
432
- # returned by a previous call to this method. Using this field causes the
433
- # method to return additional results from the previous method call.
420
+ # If this field is not empty then it must contain the nextPageToken value
421
+ # returned by a previous call to this method. Using this field causes the method
422
+ # to return additional results from the previous method call.
434
423
  # @param [String] quota_user
435
424
  # Available to use for quota purposes for server-side applications. Can be any
436
425
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -461,13 +450,12 @@ module Google
461
450
  execute_or_queue_command(command, &block)
462
451
  end
463
452
 
464
- # Deletes a metric descriptor. Only user-created
465
- # [custom metrics](/monitoring/custom-metrics) can be deleted.
453
+ # Deletes a metric descriptor. Only user-created custom metrics (/monitoring/
454
+ # custom-metrics) can be deleted.
466
455
  # @param [String] name
467
- # The metric descriptor on which to execute the request. The format is
468
- # `"projects/`project_id_or_number`/metricDescriptors/`metric_id`"`.
469
- # An example of ``metric_id`` is:
470
- # `"custom.googleapis.com/my_test_metric"`.
456
+ # The metric descriptor on which to execute the request. The format is &quot;
457
+ # projects/`project_id_or_number`/metricDescriptors/`metric_id`&quot;. An
458
+ # example of `metric_id` is: &quot;custom.googleapis.com/my_test_metric&quot;.
471
459
  # @param [String] quota_user
472
460
  # Available to use for quota purposes for server-side applications. Can be any
473
461
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -495,13 +483,12 @@ module Google
495
483
  execute_or_queue_command(command, &block)
496
484
  end
497
485
 
498
- # Creates or adds data to one or more time series.
499
- # The response is empty if all time series in the request were written.
500
- # If any time series could not be written, a corresponding failure message is
501
- # included in the error response.
486
+ # Creates or adds data to one or more time series. The response is empty if all
487
+ # time series in the request were written. If any time series could not be
488
+ # written, a corresponding failure message is included in the error response.
502
489
  # @param [String] name
503
- # The project on which to execute the request. The format is
504
- # `"projects/`project_id_or_number`"`.
490
+ # The project on which to execute the request. The format is &quot;projects/`
491
+ # project_id_or_number`&quot;.
505
492
  # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
506
493
  # @param [String] quota_user
507
494
  # Available to use for quota purposes for server-side applications. Can be any
@@ -535,81 +522,65 @@ module Google
535
522
  # Lists time series that match a filter. This method does not require a
536
523
  # Stackdriver account.
537
524
  # @param [String] name
538
- # The project on which to execute the request. The format is
539
- # "projects/`project_id_or_number`".
525
+ # The project on which to execute the request. The format is "projects/`
526
+ # project_id_or_number`".
540
527
  # @param [String] filter
541
- # A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
542
- # series should be returned. The filter must specify a single metric type,
543
- # and can additionally specify metric labels and other information. For
544
- # example:
545
- # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
546
- # metric.label.instance_name = "my-instance-name"
528
+ # A monitoring filter (/monitoring/api/v3/filters) that specifies which time
529
+ # series should be returned. The filter must specify a single metric type, and
530
+ # can additionally specify metric labels and other information. For example:
531
+ # metric.type = &quot;compute.googleapis.com/instance/cpu/usage_time&quot; AND
532
+ # metric.label.instance_name = &quot;my-instance-name&quot;
547
533
  # @param [Array<String>, String] aggregation_group_by_fields
548
- # The set of fields to preserve when `crossSeriesReducer` is
549
- # specified. The `groupByFields` determine how the time series
550
- # are partitioned into subsets prior to applying the aggregation
551
- # function. Each subset contains time series that have the same
552
- # value for each of the grouping fields. Each individual time
553
- # series is a member of exactly one subset. The
554
- # `crossSeriesReducer` is applied to each subset of time series.
555
- # Fields not specified in `groupByFields` are aggregated away.
556
- # If `groupByFields` is not specified, the time series are
557
- # aggregated into a single output time series. If
558
- # `crossSeriesReducer` is not defined, this field is ignored.
534
+ # The set of fields to preserve when crossSeriesReducer is specified. The
535
+ # groupByFields determine how the time series are partitioned into subsets prior
536
+ # to applying the aggregation function. Each subset contains time series that
537
+ # have the same value for each of the grouping fields. Each individual time
538
+ # series is a member of exactly one subset. The crossSeriesReducer is applied to
539
+ # each subset of time series. Fields not specified in groupByFields are
540
+ # aggregated away. If groupByFields is not specified, the time series are
541
+ # aggregated into a single output time series. If crossSeriesReducer is not
542
+ # defined, this field is ignored.
559
543
  # @param [String] aggregation_cross_series_reducer
560
- # The approach to be used to combine time series. Not all reducer
561
- # functions may be applied to all time series, depending on the
562
- # metric type and the value type of the original time
563
- # series. Reduction may change the metric type of value type of the
564
- # time series.
565
- # Time series data must be aligned in order to perform cross-time
566
- # series reduction. If `crossSeriesReducer` is specified, then
567
- # `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
568
- # and `alignmentPeriod` must be specified; otherwise, an error is
569
- # returned.
544
+ # The approach to be used to combine time series. Not all reducer functions may
545
+ # be applied to all time series, depending on the metric type and the value type
546
+ # of the original time series. Reduction may change the metric type of value
547
+ # type of the time series.Time series data must be aligned in order to perform
548
+ # cross-time series reduction. If crossSeriesReducer is specified, then
549
+ # perSeriesAligner must be specified and not equal ALIGN_NONE and
550
+ # alignmentPeriod must be specified; otherwise, an error is returned.
570
551
  # @param [String] interval_end_time
571
- # Required. The end of the interval. The interval includes this
572
- # time.
552
+ # Required. The end of the time interval.
573
553
  # @param [String] interval_start_time
574
- # If this value is omitted, the interval is a point in time,
575
- # `endTime`. If `startTime` is present, it must be earlier than
576
- # (less than) `endTime`. The interval begins after
577
- # `startTime`&mdash;it does not include `startTime`.
554
+ # Optional. The beginning of the time interval. The default value for the start
555
+ # time is the end time. The start time must not be later than the end time.
578
556
  # @param [Fixnum] page_size
579
- # A positive number that is the maximum number of results to return.
580
- # When `view` field sets to `FULL`, it limits the number of `Points` server
581
- # will return; if `view` field is `HEADERS`, it limits the number of
582
- # `TimeSeries` server will return.
557
+ # A positive number that is the maximum number of results to return. When view
558
+ # field sets to FULL, it limits the number of Points server will return; if view
559
+ # field is HEADERS, it limits the number of TimeSeries server will return.
583
560
  # @param [String] view
584
561
  # Specifies which information is returned about the time series.
585
562
  # @param [String] aggregation_alignment_period
586
- # The alignment period for per-time series
587
- # alignment. If present, `alignmentPeriod` must be at least 60
588
- # seconds. After per-time series alignment, each time series will
589
- # contain data points only on the period boundaries. If
590
- # `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
591
- # this field is ignored. If `perSeriesAligner` is specified and
592
- # does not equal `ALIGN_NONE`, then this field must be defined;
593
- # otherwise an error is returned.
563
+ # The alignment period for per-time series alignment. If present,
564
+ # alignmentPeriod must be at least 60 seconds. After per-time series alignment,
565
+ # each time series will contain data points only on the period boundaries. If
566
+ # perSeriesAligner is not specified or equals ALIGN_NONE, then this field is
567
+ # ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then
568
+ # this field must be defined; otherwise an error is returned.
594
569
  # @param [String] aggregation_per_series_aligner
595
- # The approach to be used to align individual time series. Not all
596
- # alignment functions may be applied to all time series, depending
597
- # on the metric type and value type of the original time
598
- # series. Alignment may change the metric type or the value type of
599
- # the time series.
600
- # Time series data must be aligned in order to perform cross-time
601
- # series reduction. If `crossSeriesReducer` is specified, then
602
- # `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
603
- # and `alignmentPeriod` must be specified; otherwise, an error is
604
- # returned.
570
+ # The approach to be used to align individual time series. Not all alignment
571
+ # functions may be applied to all time series, depending on the metric type and
572
+ # value type of the original time series. Alignment may change the metric type
573
+ # or the value type of the time series.Time series data must be aligned in order
574
+ # to perform cross-time series reduction. If crossSeriesReducer is specified,
575
+ # then perSeriesAligner must be specified and not equal ALIGN_NONE and
576
+ # alignmentPeriod must be specified; otherwise, an error is returned.
605
577
  # @param [String] order_by
606
- # Specifies the order in which the points of the time series should
607
- # be returned. By default, results are not ordered. Currently,
608
- # this field must be left blank.
578
+ # Specifies the order in which the points of the time series should be returned.
579
+ # By default, results are not ordered. Currently, this field must be left blank.
609
580
  # @param [String] page_token
610
- # If this field is not empty then it must contain the `nextPageToken` value
611
- # returned by a previous call to this method. Using this field causes the
612
- # method to return additional results from the previous method call.
581
+ # If this field is not empty then it must contain the nextPageToken value
582
+ # returned by a previous call to this method. Using this field causes the method
583
+ # to return additional results from the previous method call.
613
584
  # @param [String] quota_user
614
585
  # Available to use for quota purposes for server-side applications. Can be any
615
586
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -651,11 +622,9 @@ module Google
651
622
  # Gets a single monitored resource descriptor. This method does not require a
652
623
  # Stackdriver account.
653
624
  # @param [String] name
654
- # The monitored resource descriptor to get. The format is
655
- # `"projects/`project_id_or_number`/monitoredResourceDescriptors/`resource_type`"
656
- # `.
657
- # The ``resource_type`` is a predefined type, such as
658
- # `cloudsql_database`.
625
+ # The monitored resource descriptor to get. The format is &quot;projects/`
626
+ # project_id_or_number`/monitoredResourceDescriptors/`resource_type`&quot;. The `
627
+ # resource_type` is a predefined type, such as cloudsql_database.
659
628
  # @param [String] quota_user
660
629
  # Available to use for quota purposes for server-side applications. Can be any
661
630
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -686,21 +655,20 @@ module Google
686
655
  # Lists monitored resource descriptors that match a filter. This method does not
687
656
  # require a Stackdriver account.
688
657
  # @param [String] name
689
- # The project on which to execute the request. The format is
690
- # `"projects/`project_id_or_number`"`.
658
+ # The project on which to execute the request. The format is &quot;projects/`
659
+ # project_id_or_number`&quot;.
691
660
  # @param [Fixnum] page_size
692
661
  # A positive number that is the maximum number of results to return.
693
662
  # @param [String] filter
694
- # An optional [filter](/monitoring/api/v3/filters) describing
695
- # the descriptors to be returned. The filter can reference
696
- # the descriptor's type and labels. For example, the
697
- # following filter returns only Google Compute Engine descriptors
698
- # that have an `id` label:
699
- # resource.type = starts_with("gce_") AND resource.label:id
663
+ # An optional filter (/monitoring/api/v3/filters) describing the descriptors to
664
+ # be returned. The filter can reference the descriptor's type and labels. For
665
+ # example, the following filter returns only Google Compute Engine descriptors
666
+ # that have an id label:
667
+ # resource.type = starts_with(&quot;gce_&quot;) AND resource.label:id
700
668
  # @param [String] page_token
701
- # If this field is not empty then it must contain the `nextPageToken` value
702
- # returned by a previous call to this method. Using this field causes the
703
- # method to return additional results from the previous method call.
669
+ # If this field is not empty then it must contain the nextPageToken value
670
+ # returned by a previous call to this method. Using this field causes the method
671
+ # to return additional results from the previous method call.
704
672
  # @param [String] quota_user
705
673
  # Available to use for quota purposes for server-side applications. Can be any
706
674
  # arbitrary string assigned to a user, but should not exceed 40 characters.