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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/api_names.yaml +55 -117
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1/service.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +371 -1
- data/generated/google/apis/analytics_v3/representations.rb +135 -0
- data/generated/google/apis/analytics_v3/service.rb +218 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
- data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
- data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
- data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -2
- data/generated/google/apis/bigquery_v2/representations.rb +6 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/classroom_v1/classes.rb +176 -37
- data/generated/google/apis/classroom_v1/representations.rb +73 -9
- data/generated/google/apis/classroom_v1/service.rb +392 -37
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +599 -77
- data/generated/google/apis/compute_beta/representations.rb +240 -0
- data/generated/google/apis/compute_beta/service.rb +1999 -710
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +140 -58
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +462 -521
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +689 -1
- data/generated/google/apis/content_v2/representations.rb +316 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -0
- data/generated/google/apis/fitness_v1/representations.rb +1 -0
- data/generated/google/apis/fitness_v1/service.rb +2 -2
- data/generated/google/apis/fitness_v1.rb +7 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +13 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -11
- data/generated/google/apis/gmail_v1/service.rb +5 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +340 -421
- data/generated/google/apis/monitoring_v3/representations.rb +0 -17
- data/generated/google/apis/monitoring_v3/service.rb +136 -168
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +35 -0
- data/generated/google/apis/sheets_v4/representations.rb +16 -0
- data/generated/google/apis/sheets_v4/service.rb +55 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +36 -1
- data/generated/google/apis/storage_v1/representations.rb +16 -0
- data/generated/google/apis/storage_v1/service.rb +18 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- 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
|
-
#
|
52
|
-
#
|
53
|
-
#
|
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
|
-
#
|
55
|
+
# The project in which to create the time series. The format is "projects/
|
56
|
+
# PROJECT_ID_OR_NUMBER".
|
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
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# and a unique ``group_id`` that is generated automatically.
|
98
|
-
# @OutputOnly
|
89
|
+
# Output only. The name of this group. The format is "projects/`
|
90
|
+
# project_id_or_number`/groups/`group_id`". 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
|
-
#
|
129
|
+
# The group to retrieve. The format is "projects/`project_id_or_number`/
|
130
|
+
# groups/`group_id`".
|
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
|
-
#
|
160
|
+
# The project in which to create the group. The format is "projects/`
|
161
|
+
# project_id_or_number`".
|
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
|
-
#
|
197
|
+
# The project whose groups are to be listed. The format is "projects/`
|
198
|
+
# project_id_or_number`".
|
204
199
|
# @param [String] descendants_of_group
|
205
|
-
# A group name:
|
206
|
-
# Returns the descendants of the specified group.
|
207
|
-
#
|
208
|
-
# children
|
200
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
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:
|
213
|
-
# Returns groups whose
|
214
|
-
#
|
207
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
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:
|
217
|
-
# Returns groups that are ancestors of the specified group.
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
211
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
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
|
223
|
-
# returned by a previous call to this method.
|
224
|
-
#
|
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
|
-
#
|
254
|
+
# The group to delete. The format is "projects/`project_id_or_number`/
|
255
|
+
# groups/`group_id`".
|
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
|
-
#
|
285
|
+
# The group whose members are listed. The format is "projects/`
|
286
|
+
# project_id_or_number`/groups/`group_id`".
|
292
287
|
# @param [String] filter
|
293
|
-
# An optional
|
294
|
-
#
|
295
|
-
# metadata of monitored resources that comprise the group.
|
296
|
-
#
|
297
|
-
#
|
298
|
-
# resource.type =
|
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 = "gce_instance"
|
299
294
|
# @param [String] interval_end_time
|
300
|
-
# Required. The end of the interval.
|
301
|
-
# time.
|
295
|
+
# Required. The end of the time interval.
|
302
296
|
# @param [String] interval_start_time
|
303
|
-
#
|
304
|
-
#
|
305
|
-
# (less than) `endTime`. The interval begins after
|
306
|
-
# `startTime`—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
|
311
|
-
# returned by a previous call to this method.
|
312
|
-
#
|
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
|
-
#
|
350
|
-
#
|
351
|
-
#
|
340
|
+
# The metric descriptor on which to execute the request. The format is "
|
341
|
+
# projects/`project_id_or_number`/metricDescriptors/`metric_id`". An
|
342
|
+
# example value of `metric_id` is "compute.googleapis.com/instance/disk/
|
343
|
+
# read_bytes_count".
|
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
|
-
#
|
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
|
-
#
|
374
|
+
# The project on which to execute the request. The format is "projects/`
|
375
|
+
# project_id_or_number`".
|
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
|
-
#
|
409
|
+
# The project on which to execute the request. The format is "projects/`
|
410
|
+
# project_id_or_number`".
|
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
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
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("custom.googleapis.com/")
|
430
419
|
# @param [String] page_token
|
431
|
-
# If this field is not empty then it must contain the
|
432
|
-
# returned by a previous call to this method.
|
433
|
-
#
|
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
|
-
#
|
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
|
-
#
|
469
|
-
#
|
470
|
-
# `"custom.googleapis.com/my_test_metric"`.
|
456
|
+
# The metric descriptor on which to execute the request. The format is "
|
457
|
+
# projects/`project_id_or_number`/metricDescriptors/`metric_id`". An
|
458
|
+
# example of `metric_id` is: "custom.googleapis.com/my_test_metric".
|
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
|
-
#
|
500
|
-
#
|
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
|
-
#
|
490
|
+
# The project on which to execute the request. The format is "projects/`
|
491
|
+
# project_id_or_number`".
|
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
|
-
#
|
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
|
542
|
-
# series should be returned.
|
543
|
-
#
|
544
|
-
#
|
545
|
-
# metric.
|
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 = "compute.googleapis.com/instance/cpu/usage_time" AND
|
532
|
+
# metric.label.instance_name = "my-instance-name"
|
547
533
|
# @param [Array<String>, String] aggregation_group_by_fields
|
548
|
-
# The set of fields to preserve when
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
555
|
-
#
|
556
|
-
#
|
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
|
-
#
|
562
|
-
#
|
563
|
-
# series.
|
564
|
-
# time series.
|
565
|
-
#
|
566
|
-
#
|
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.
|
572
|
-
# time.
|
552
|
+
# Required. The end of the time interval.
|
573
553
|
# @param [String] interval_start_time
|
574
|
-
#
|
575
|
-
#
|
576
|
-
# (less than) `endTime`. The interval begins after
|
577
|
-
# `startTime`—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
|
-
#
|
581
|
-
#
|
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
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
# this field
|
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
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
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
|
-
#
|
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
|
611
|
-
# returned by a previous call to this method.
|
612
|
-
#
|
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.
|
655
|
-
#
|
656
|
-
#
|
657
|
-
# The ``resource_type`` is a predefined type, such as
|
658
|
-
# `cloudsql_database`.
|
625
|
+
# The monitored resource descriptor to get. The format is "projects/`
|
626
|
+
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". 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
|
-
#
|
658
|
+
# The project on which to execute the request. The format is "projects/`
|
659
|
+
# project_id_or_number`".
|
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
|
695
|
-
#
|
696
|
-
# the
|
697
|
-
#
|
698
|
-
#
|
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("gce_") AND resource.label:id
|
700
668
|
# @param [String] page_token
|
701
|
-
# If this field is not empty then it must contain the
|
702
|
-
# returned by a previous call to this method.
|
703
|
-
#
|
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.
|