google-apis-monitoring_v1 0.24.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f859f4aa6a6cd245d47b88b898fe95331b208bb21e898198237cee84a239cc0e
|
4
|
+
data.tar.gz: 80c3394c86122eb927c27de43f1a97506d233a3a52eba59be55929d541681556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9265995738ddf8bfba67dcb65281cd01e12415a43599648cf62eb0f07da72f9a14ea8dda4e8f43b586bc3d2382de438afcdc8b413ebd4418f4c3c23cb9d2129f
|
7
|
+
data.tar.gz: 2a91b85af7ab01418fb78b501fe942a67dd6f4e472de8e731a439bd8bbf34a8aa49340b14969b4346acbdad62f00080d999a37297afecdc3c740e22f9314225a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2022-07-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220725
|
6
|
+
|
7
|
+
### v0.26.0 (2022-07-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220704
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.25.0 (2022-07-01)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
|
3
16
|
### v0.24.0 (2022-06-21)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.7.0
|
@@ -669,6 +669,41 @@ module Google
|
|
669
669
|
end
|
670
670
|
end
|
671
671
|
|
672
|
+
# ListLabelsRequest holds all parameters of the Prometheus upstream API for
|
673
|
+
# returning a list of label names.
|
674
|
+
class ListLabelsRequest
|
675
|
+
include Google::Apis::Core::Hashable
|
676
|
+
|
677
|
+
# The end time to evaluate the query for. Either floating point UNIX seconds or
|
678
|
+
# RFC3339 formatted timestamp.
|
679
|
+
# Corresponds to the JSON property `end`
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :end
|
682
|
+
|
683
|
+
# A list of matchers encoded in the Prometheus label matcher format to constrain
|
684
|
+
# the values to series that satisfy them.
|
685
|
+
# Corresponds to the JSON property `match`
|
686
|
+
# @return [String]
|
687
|
+
attr_accessor :match
|
688
|
+
|
689
|
+
# The start time to evaluate the query for. Either floating point UNIX seconds
|
690
|
+
# or RFC3339 formatted timestamp.
|
691
|
+
# Corresponds to the JSON property `start`
|
692
|
+
# @return [String]
|
693
|
+
attr_accessor :start
|
694
|
+
|
695
|
+
def initialize(**args)
|
696
|
+
update!(**args)
|
697
|
+
end
|
698
|
+
|
699
|
+
# Update properties of this object
|
700
|
+
def update!(**args)
|
701
|
+
@end = args[:end] if args.key?(:end)
|
702
|
+
@match = args[:match] if args.key?(:match)
|
703
|
+
@start = args[:start] if args.key?(:start)
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
672
707
|
# Response for the ListMetricsScopesByMonitoredProject method.
|
673
708
|
class ListMetricsScopesByMonitoredProjectResponse
|
674
709
|
include Google::Apis::Core::Hashable
|
@@ -1805,6 +1840,11 @@ module Google
|
|
1805
1840
|
# @return [Array<Google::Apis::MonitoringV1::TableDataSet>]
|
1806
1841
|
attr_accessor :data_sets
|
1807
1842
|
|
1843
|
+
# Optional. Store rendering strategy
|
1844
|
+
# Corresponds to the JSON property `metricVisualization`
|
1845
|
+
# @return [String]
|
1846
|
+
attr_accessor :metric_visualization
|
1847
|
+
|
1808
1848
|
def initialize(**args)
|
1809
1849
|
update!(**args)
|
1810
1850
|
end
|
@@ -1812,6 +1852,7 @@ module Google
|
|
1812
1852
|
# Update properties of this object
|
1813
1853
|
def update!(**args)
|
1814
1854
|
@data_sets = args[:data_sets] if args.key?(:data_sets)
|
1855
|
+
@metric_visualization = args[:metric_visualization] if args.key?(:metric_visualization)
|
1815
1856
|
end
|
1816
1857
|
end
|
1817
1858
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV1
|
18
18
|
# Version of the google-apis-monitoring_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220725"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class ListLabelsRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class ListMetricsScopesByMonitoredProjectResponse
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -485,6 +491,15 @@ module Google
|
|
485
491
|
end
|
486
492
|
end
|
487
493
|
|
494
|
+
class ListLabelsRequest
|
495
|
+
# @private
|
496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
497
|
+
property :end, as: 'end'
|
498
|
+
property :match, as: 'match'
|
499
|
+
property :start, as: 'start'
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
488
503
|
class ListMetricsScopesByMonitoredProjectResponse
|
489
504
|
# @private
|
490
505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -772,6 +787,7 @@ module Google
|
|
772
787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
773
788
|
collection :data_sets, as: 'dataSets', class: Google::Apis::MonitoringV1::TableDataSet, decorator: Google::Apis::MonitoringV1::TableDataSet::Representation
|
774
789
|
|
790
|
+
property :metric_visualization, as: 'metricVisualization'
|
775
791
|
end
|
776
792
|
end
|
777
793
|
|
@@ -408,6 +408,45 @@ module Google
|
|
408
408
|
execute_or_queue_command(command, &block)
|
409
409
|
end
|
410
410
|
|
411
|
+
# Lists labels for metrics.
|
412
|
+
# @param [String] name
|
413
|
+
# The workspace on which to execute the request. It is not part of the open
|
414
|
+
# source API but used as a request path prefix to distinguish different virtual
|
415
|
+
# Prometheus instances of Google Prometheus Engine. The format is: projects/
|
416
|
+
# PROJECT_ID_OR_NUMBER.
|
417
|
+
# @param [String] location
|
418
|
+
# Location of the resource information. Has to be "global" now.
|
419
|
+
# @param [Google::Apis::MonitoringV1::ListLabelsRequest] list_labels_request_object
|
420
|
+
# @param [String] fields
|
421
|
+
# Selector specifying which fields to include in a partial response.
|
422
|
+
# @param [String] quota_user
|
423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
425
|
+
# @param [Google::Apis::RequestOptions] options
|
426
|
+
# Request-specific options
|
427
|
+
#
|
428
|
+
# @yield [result, err] Result & error if block supplied
|
429
|
+
# @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
|
430
|
+
# @yieldparam err [StandardError] error object if request failed
|
431
|
+
#
|
432
|
+
# @return [Google::Apis::MonitoringV1::HttpBody]
|
433
|
+
#
|
434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
437
|
+
def labels_project_location_prometheu_api_v1(name, location, list_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
438
|
+
command = make_simple_command(:post, 'v1/{+name}/location/{location}/prometheus/api/v1/labels', options)
|
439
|
+
command.request_representation = Google::Apis::MonitoringV1::ListLabelsRequest::Representation
|
440
|
+
command.request_object = list_labels_request_object
|
441
|
+
command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
|
442
|
+
command.response_class = Google::Apis::MonitoringV1::HttpBody
|
443
|
+
command.params['name'] = name unless name.nil?
|
444
|
+
command.params['location'] = location unless location.nil?
|
445
|
+
command.query['fields'] = fields unless fields.nil?
|
446
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
447
|
+
execute_or_queue_command(command, &block)
|
448
|
+
end
|
449
|
+
|
411
450
|
# Evaluate a PromQL query at a single point in time.
|
412
451
|
# @param [String] name
|
413
452
|
# The project on which to execute the request. Data associcated with the project'
|
@@ -576,6 +615,54 @@ module Google
|
|
576
615
|
execute_or_queue_command(command, &block)
|
577
616
|
end
|
578
617
|
|
618
|
+
# Lists labels for metrics.
|
619
|
+
# @param [String] name
|
620
|
+
# The workspace on which to execute the request. It is not part of the open
|
621
|
+
# source API but used as a request path prefix to distinguish different virtual
|
622
|
+
# Prometheus instances of Google Prometheus Engine. The format is: projects/
|
623
|
+
# PROJECT_ID_OR_NUMBER.
|
624
|
+
# @param [String] location
|
625
|
+
# Location of the resource information. Has to be "global" now.
|
626
|
+
# @param [String] end_
|
627
|
+
# The end time to evaluate the query for. Either floating point UNIX seconds or
|
628
|
+
# RFC3339 formatted timestamp.
|
629
|
+
# @param [String] match
|
630
|
+
# A list of matchers encoded in the Prometheus label matcher format to constrain
|
631
|
+
# the values to series that satisfy them.
|
632
|
+
# @param [String] start
|
633
|
+
# The start time to evaluate the query for. Either floating point UNIX seconds
|
634
|
+
# or RFC3339 formatted timestamp.
|
635
|
+
# @param [String] fields
|
636
|
+
# Selector specifying which fields to include in a partial response.
|
637
|
+
# @param [String] quota_user
|
638
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
639
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
640
|
+
# @param [Google::Apis::RequestOptions] options
|
641
|
+
# Request-specific options
|
642
|
+
#
|
643
|
+
# @yield [result, err] Result & error if block supplied
|
644
|
+
# @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
|
645
|
+
# @yieldparam err [StandardError] error object if request failed
|
646
|
+
#
|
647
|
+
# @return [Google::Apis::MonitoringV1::HttpBody]
|
648
|
+
#
|
649
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
650
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
651
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
652
|
+
def list_project_location_prometheu_api_v1_labels(name, location, end_: nil, match: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
653
|
+
command = make_simple_command(:get, 'v1/{+name}/location/{location}/prometheus/api/v1/labels', options)
|
654
|
+
command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
|
655
|
+
command.response_class = Google::Apis::MonitoringV1::HttpBody
|
656
|
+
command.params['name'] = name unless name.nil?
|
657
|
+
command.params['location'] = location unless location.nil?
|
658
|
+
command.query['end'] = end_ unless end_.nil?
|
659
|
+
command.query['match'] = match unless match.nil?
|
660
|
+
command.query['start'] = start unless start.nil?
|
661
|
+
command.query['fields'] = fields unless fields.nil?
|
662
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
663
|
+
execute_or_queue_command(command, &block)
|
664
|
+
end
|
665
|
+
|
579
666
|
# Lists metadata for metrics.
|
580
667
|
# @param [String] name
|
581
668
|
# Required. The workspace on which to execute the request. It is not part of the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|