google-apis-monitoring_v1 0.14.0 → 0.15.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: c77a9ddfe87ea2d5e5a555a525ea57c1c0af045e567d71beff2c011fce457416
4
- data.tar.gz: a74b2b34f60d272fd56f0640e0e12f2c106fde17cda4fc6c27b230ed8c32aa6c
3
+ metadata.gz: ca008d8d1728a12f35eae0d004f8a481af0cf24afb5702b03fd28bc5928eff14
4
+ data.tar.gz: '049e2d40b9abf5ec189ae4078468aff7472c0ea37d2676ca4b1752aa2e6f14d6'
5
5
  SHA512:
6
- metadata.gz: 0b6138caa2022f4d5a57a3ecdcc16965f01916c5e6f121b1f15c5a196ca31251da3366db8bfda78ee2d3e7063119c4e794267b8cb021415632e73c54da2d529a
7
- data.tar.gz: 5a3f7c54c7d5f3d0936855298973d4e71723afe310b8c8a96ca99958425817d51b5ad62227cb5387008cb3ae979e632699fe45ad415363276ff8df3ba830fc95
6
+ metadata.gz: 5f41996fc5ad8ab1589dbef2273e89f68c8ce5c64b0e7755416b81614e08aa5fe1c675327f438fb1ea7b1cff02aeafdbacd033171895102d8f40c56e6342a550
7
+ data.tar.gz: 33678c867e936839bf89c82cd59ca9f8e78947e93b78255fe7db76d223392227796d654f77def4d083324f10a9e3528c88dabf0b0f8327ace228226de4a6cf8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.15.0 (2021-10-29)
4
+
5
+ * Regenerated from discovery document revision 20211026
6
+
3
7
  ### v0.14.0 (2021-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20211017
@@ -529,6 +529,54 @@ module Google
529
529
  end
530
530
  end
531
531
 
532
+ # Message that represents an arbitrary HTTP body. It should only be used for
533
+ # payload formats that can't be represented as JSON, such as raw binary or an
534
+ # HTML page.This message can be used both in streaming and non-streaming API
535
+ # methods in the request as well as the response.It can be used as a top-level
536
+ # request field, which is convenient if one wants to extract parameters from
537
+ # either the URL or HTTP template into the request fields and also want access
538
+ # to the raw HTTP body.Example: message GetResourceRequest ` // A unique request
539
+ # id. string request_id = 1; // The raw HTTP body is bound to this field. google.
540
+ # api.HttpBody http_body = 2; ` service ResourceService ` rpc GetResource(
541
+ # GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.
542
+ # api.HttpBody) returns (google.protobuf.Empty); ` Example with streaming
543
+ # methods: service CaldavService ` rpc GetCalendar(stream google.api.HttpBody)
544
+ # returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.
545
+ # HttpBody) returns (stream google.api.HttpBody); ` Use of this type only
546
+ # changes how the request and response bodies are handled, all other features
547
+ # will continue to work unchanged.
548
+ class HttpBody
549
+ include Google::Apis::Core::Hashable
550
+
551
+ # The HTTP Content-Type header value specifying the content type of the body.
552
+ # Corresponds to the JSON property `contentType`
553
+ # @return [String]
554
+ attr_accessor :content_type
555
+
556
+ # The HTTP request/response body as raw binary.
557
+ # Corresponds to the JSON property `data`
558
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
559
+ # @return [String]
560
+ attr_accessor :data
561
+
562
+ # Application specific response metadata. Must be set in the first response for
563
+ # streaming APIs.
564
+ # Corresponds to the JSON property `extensions`
565
+ # @return [Array<Hash<String,Object>>]
566
+ attr_accessor :extensions
567
+
568
+ def initialize(**args)
569
+ update!(**args)
570
+ end
571
+
572
+ # Update properties of this object
573
+ def update!(**args)
574
+ @content_type = args[:content_type] if args.key?(:content_type)
575
+ @data = args[:data] if args.key?(:data)
576
+ @extensions = args[:extensions] if args.key?(:extensions)
577
+ end
578
+ end
579
+
532
580
  # The ListDashboards request.
533
581
  class ListDashboardsResponse
534
582
  include Google::Apis::Core::Hashable
@@ -839,6 +887,127 @@ module Google
839
887
  end
840
888
  end
841
889
 
890
+ # QueryInstantRequest holds all parameters of the Prometheus upstream instant
891
+ # query API plus GCM specific parameters.
892
+ class QueryInstantRequest
893
+ include Google::Apis::Core::Hashable
894
+
895
+ # A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/
896
+ # prometheus/latest/querying/basics/.
897
+ # Corresponds to the JSON property `query`
898
+ # @return [String]
899
+ attr_accessor :query
900
+
901
+ # The single point in time to evaluate the query for. Either floating point UNIX
902
+ # seconds or RFC3339 formatted timestamp.
903
+ # Corresponds to the JSON property `time`
904
+ # @return [String]
905
+ attr_accessor :time
906
+
907
+ # An upper bound timeout for the query. Either a Prometheus duration string (
908
+ # https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations)
909
+ # or floating point seconds. This non-standard encoding must be used for
910
+ # compatibility with the open source API. Clients may still implement timeouts
911
+ # at the connection level while ignoring this field.
912
+ # Corresponds to the JSON property `timeout`
913
+ # @return [String]
914
+ attr_accessor :timeout
915
+
916
+ def initialize(**args)
917
+ update!(**args)
918
+ end
919
+
920
+ # Update properties of this object
921
+ def update!(**args)
922
+ @query = args[:query] if args.key?(:query)
923
+ @time = args[:time] if args.key?(:time)
924
+ @timeout = args[:timeout] if args.key?(:timeout)
925
+ end
926
+ end
927
+
928
+ # QueryRangeRequest holds all parameters of the Prometheus upstream range query
929
+ # API plus GCM specific parameters.
930
+ class QueryRangeRequest
931
+ include Google::Apis::Core::Hashable
932
+
933
+ # The end time to evaluate the query for. Either floating point UNIX seconds or
934
+ # RFC3339 formatted timestamp.
935
+ # Corresponds to the JSON property `end`
936
+ # @return [String]
937
+ attr_accessor :end
938
+
939
+ # A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/
940
+ # prometheus/latest/querying/basics/.
941
+ # Corresponds to the JSON property `query`
942
+ # @return [String]
943
+ attr_accessor :query
944
+
945
+ # The start time to evaluate the query for. Either floating point UNIX seconds
946
+ # or RFC3339 formatted timestamp.
947
+ # Corresponds to the JSON property `start`
948
+ # @return [String]
949
+ attr_accessor :start
950
+
951
+ # The resolution of query result. Either a Prometheus duration string (https://
952
+ # prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or
953
+ # floating point seconds. This non-standard encoding must be used for
954
+ # compatibility with the open source API. Clients may still implement timeouts
955
+ # at the connection level while ignoring this field.
956
+ # Corresponds to the JSON property `step`
957
+ # @return [String]
958
+ attr_accessor :step
959
+
960
+ # An upper bound timeout for the query. Either a Prometheus duration string (
961
+ # https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations)
962
+ # or floating point seconds. This non-standard encoding must be used for
963
+ # compatibility with the open source API. Clients may still implement timeouts
964
+ # at the connection level while ignoring this field.
965
+ # Corresponds to the JSON property `timeout`
966
+ # @return [String]
967
+ attr_accessor :timeout
968
+
969
+ def initialize(**args)
970
+ update!(**args)
971
+ end
972
+
973
+ # Update properties of this object
974
+ def update!(**args)
975
+ @end = args[:end] if args.key?(:end)
976
+ @query = args[:query] if args.key?(:query)
977
+ @start = args[:start] if args.key?(:start)
978
+ @step = args[:step] if args.key?(:step)
979
+ @timeout = args[:timeout] if args.key?(:timeout)
980
+ end
981
+ end
982
+
983
+ # QuerySeries holds all parameters of the Prometheus upstream API for querying
984
+ # series.
985
+ class QuerySeriesRequest
986
+ include Google::Apis::Core::Hashable
987
+
988
+ # The end time to evaluate the query for. Either floating point UNIX seconds or
989
+ # RFC3339 formatted timestamp.
990
+ # Corresponds to the JSON property `end`
991
+ # @return [String]
992
+ attr_accessor :end
993
+
994
+ # The start time to evaluate the query for. Either floating point UNIX seconds
995
+ # or RFC3339 formatted timestamp.
996
+ # Corresponds to the JSON property `start`
997
+ # @return [String]
998
+ attr_accessor :start
999
+
1000
+ def initialize(**args)
1001
+ update!(**args)
1002
+ end
1003
+
1004
+ # Update properties of this object
1005
+ def update!(**args)
1006
+ @end = args[:end] if args.key?(:end)
1007
+ @start = args[:start] if args.key?(:start)
1008
+ end
1009
+ end
1010
+
842
1011
  # Describes a query to build the numerator or denominator of a
843
1012
  # TimeSeriesFilterRatio.
844
1013
  class RatioPart
@@ -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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211017"
25
+ REVISION = "20211026"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class HttpBody
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class ListDashboardsResponse
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -154,6 +160,24 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class QueryInstantRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class QueryRangeRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class QuerySeriesRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
157
181
  class RatioPart
158
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
183
 
@@ -406,6 +430,15 @@ module Google
406
430
  end
407
431
  end
408
432
 
433
+ class HttpBody
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :content_type, as: 'contentType'
437
+ property :data, :base64 => true, as: 'data'
438
+ collection :extensions, as: 'extensions'
439
+ end
440
+ end
441
+
409
442
  class ListDashboardsResponse
410
443
  # @private
411
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -489,6 +522,34 @@ module Google
489
522
  end
490
523
  end
491
524
 
525
+ class QueryInstantRequest
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :query, as: 'query'
529
+ property :time, as: 'time'
530
+ property :timeout, as: 'timeout'
531
+ end
532
+ end
533
+
534
+ class QueryRangeRequest
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :end, as: 'end'
538
+ property :query, as: 'query'
539
+ property :start, as: 'start'
540
+ property :step, as: 'step'
541
+ property :timeout, as: 'timeout'
542
+ end
543
+ end
544
+
545
+ class QuerySeriesRequest
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :end, as: 'end'
549
+ property :start, as: 'start'
550
+ end
551
+ end
552
+
492
553
  class RatioPart
493
554
  # @private
494
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +412,217 @@ module Google
412
412
  command.query['quotaUser'] = quota_user unless quota_user.nil?
413
413
  execute_or_queue_command(command, &block)
414
414
  end
415
+
416
+ # Evaluate a PromQL query at a single point in time.
417
+ # @param [String] name
418
+ # The project on which to execute the request. Data associcated with the project'
419
+ # s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER.
420
+ # Open source API but used as a request path prefix to distinguish different
421
+ # virtual Prometheus instances of Google Prometheus Engine.
422
+ # @param [String] location
423
+ # Location of the resource information. Has to be "global" now.
424
+ # @param [Google::Apis::MonitoringV1::QueryInstantRequest] query_instant_request_object
425
+ # @param [String] fields
426
+ # Selector specifying which fields to include in a partial response.
427
+ # @param [String] quota_user
428
+ # Available to use for quota purposes for server-side applications. Can be any
429
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
430
+ # @param [Google::Apis::RequestOptions] options
431
+ # Request-specific options
432
+ #
433
+ # @yield [result, err] Result & error if block supplied
434
+ # @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
435
+ # @yieldparam err [StandardError] error object if request failed
436
+ #
437
+ # @return [Google::Apis::MonitoringV1::HttpBody]
438
+ #
439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
442
+ def query_v1_instant(name, location, query_instant_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
443
+ command = make_simple_command(:post, 'v1/{+name}/location/{location}/prometheus/api/v1/query', options)
444
+ command.request_representation = Google::Apis::MonitoringV1::QueryInstantRequest::Representation
445
+ command.request_object = query_instant_request_object
446
+ command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
447
+ command.response_class = Google::Apis::MonitoringV1::HttpBody
448
+ command.params['name'] = name unless name.nil?
449
+ command.params['location'] = location unless location.nil?
450
+ command.query['fields'] = fields unless fields.nil?
451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
452
+ execute_or_queue_command(command, &block)
453
+ end
454
+
455
+ # Evaluate a PromQL query with start, end time range.
456
+ # @param [String] name
457
+ # The project on which to execute the request. Data associcated with the project'
458
+ # s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER.
459
+ # Open source API but used as a request path prefix to distinguish different
460
+ # virtual Prometheus instances of Google Prometheus Engine.
461
+ # @param [String] location
462
+ # Location of the resource information. Has to be "global" now.
463
+ # @param [Google::Apis::MonitoringV1::QueryRangeRequest] query_range_request_object
464
+ # @param [String] fields
465
+ # Selector specifying which fields to include in a partial response.
466
+ # @param [String] quota_user
467
+ # Available to use for quota purposes for server-side applications. Can be any
468
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
469
+ # @param [Google::Apis::RequestOptions] options
470
+ # Request-specific options
471
+ #
472
+ # @yield [result, err] Result & error if block supplied
473
+ # @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
474
+ # @yieldparam err [StandardError] error object if request failed
475
+ #
476
+ # @return [Google::Apis::MonitoringV1::HttpBody]
477
+ #
478
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
479
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
480
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
481
+ def query_v1_range(name, location, query_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
482
+ command = make_simple_command(:post, 'v1/{+name}/location/{location}/prometheus/api/v1/query_range', options)
483
+ command.request_representation = Google::Apis::MonitoringV1::QueryRangeRequest::Representation
484
+ command.request_object = query_range_request_object
485
+ command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
486
+ command.response_class = Google::Apis::MonitoringV1::HttpBody
487
+ command.params['name'] = name unless name.nil?
488
+ command.params['location'] = location unless location.nil?
489
+ command.query['fields'] = fields unless fields.nil?
490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
491
+ execute_or_queue_command(command, &block)
492
+ end
493
+
494
+ # Lists metadata for metrics.
495
+ # @param [String] name
496
+ # Required. The workspace on which to execute the request. It is not part of the
497
+ # open source API but used as a request path prefix to distinguish different
498
+ # virtual Prometheus instances of Google Prometheus Engine. The format is:
499
+ # projects/PROJECT_ID_OR_NUMBER.
500
+ # @param [String] location
501
+ # Location of the resource information. Has to be "global" for now.
502
+ # @param [Google::Apis::MonitoringV1::QuerySeriesRequest] query_series_request_object
503
+ # @param [String] fields
504
+ # Selector specifying which fields to include in a partial response.
505
+ # @param [String] quota_user
506
+ # Available to use for quota purposes for server-side applications. Can be any
507
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
508
+ # @param [Google::Apis::RequestOptions] options
509
+ # Request-specific options
510
+ #
511
+ # @yield [result, err] Result & error if block supplied
512
+ # @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
513
+ # @yieldparam err [StandardError] error object if request failed
514
+ #
515
+ # @return [Google::Apis::MonitoringV1::HttpBody]
516
+ #
517
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
518
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
520
+ def series_project_location_prometheu_api_v1(name, location, query_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
+ command = make_simple_command(:post, 'v1/{+name}/location/{location}/prometheus/api/v1/series', options)
522
+ command.request_representation = Google::Apis::MonitoringV1::QuerySeriesRequest::Representation
523
+ command.request_object = query_series_request_object
524
+ command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
525
+ command.response_class = Google::Apis::MonitoringV1::HttpBody
526
+ command.params['name'] = name unless name.nil?
527
+ command.params['location'] = location unless location.nil?
528
+ command.query['fields'] = fields unless fields.nil?
529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
530
+ execute_or_queue_command(command, &block)
531
+ end
532
+
533
+ # Lists possible values for a given label name.
534
+ # @param [String] name
535
+ # The workspace on which to execute the request. It is not part of the open
536
+ # source API but used as a request path prefix to distinguish different virtual
537
+ # Prometheus instances of Google Prometheus Engine. The format is: projects/
538
+ # PROJECT_ID_OR_NUMBER.
539
+ # @param [String] location
540
+ # Location of the resource information. Has to be "global" now.
541
+ # @param [String] label
542
+ # The label name for which values are queried.
543
+ # @param [String] end_
544
+ # The end time to evaluate the query for. Either floating point UNIX seconds or
545
+ # RFC3339 formatted timestamp.
546
+ # @param [String] match
547
+ # A list of matchers encoded in the Prometheus label matcher format to constrain
548
+ # the values to series that satisfy them.
549
+ # @param [String] start
550
+ # The start time to evaluate the query for. Either floating point UNIX seconds
551
+ # or RFC3339 formatted timestamp.
552
+ # @param [String] fields
553
+ # Selector specifying which fields to include in a partial response.
554
+ # @param [String] quota_user
555
+ # Available to use for quota purposes for server-side applications. Can be any
556
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
557
+ # @param [Google::Apis::RequestOptions] options
558
+ # Request-specific options
559
+ #
560
+ # @yield [result, err] Result & error if block supplied
561
+ # @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
562
+ # @yieldparam err [StandardError] error object if request failed
563
+ #
564
+ # @return [Google::Apis::MonitoringV1::HttpBody]
565
+ #
566
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
567
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
568
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
569
+ def values_project_location_prometheu_api_v1_label(name, location, label, end_: nil, match: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
570
+ command = make_simple_command(:get, 'v1/{+name}/location/{location}/prometheus/api/v1/label/{label}/values', options)
571
+ command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
572
+ command.response_class = Google::Apis::MonitoringV1::HttpBody
573
+ command.params['name'] = name unless name.nil?
574
+ command.params['location'] = location unless location.nil?
575
+ command.params['label'] = label unless label.nil?
576
+ command.query['end'] = end_ unless end_.nil?
577
+ command.query['match'] = match unless match.nil?
578
+ command.query['start'] = start unless start.nil?
579
+ command.query['fields'] = fields unless fields.nil?
580
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
581
+ execute_or_queue_command(command, &block)
582
+ end
583
+
584
+ # Lists metadata for metrics.
585
+ # @param [String] name
586
+ # Required. The workspace on which to execute the request. It is not part of the
587
+ # open source API but used as a request path prefix to distinguish different
588
+ # virtual Prometheus instances of Google Prometheus Engine. The format is:
589
+ # projects/PROJECT_ID_OR_NUMBER.
590
+ # @param [String] location
591
+ # Location of the resource information. Has to be "global" for now.
592
+ # @param [Fixnum] limit
593
+ # Maximum number of metrics to return.
594
+ # @param [String] metric
595
+ # The metric name for which to query metadata. If unset, all metric metadata is
596
+ # returned.
597
+ # @param [String] fields
598
+ # Selector specifying which fields to include in a partial response.
599
+ # @param [String] quota_user
600
+ # Available to use for quota purposes for server-side applications. Can be any
601
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
602
+ # @param [Google::Apis::RequestOptions] options
603
+ # Request-specific options
604
+ #
605
+ # @yield [result, err] Result & error if block supplied
606
+ # @yieldparam result [Google::Apis::MonitoringV1::HttpBody] parsed result object
607
+ # @yieldparam err [StandardError] error object if request failed
608
+ #
609
+ # @return [Google::Apis::MonitoringV1::HttpBody]
610
+ #
611
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
612
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
613
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
614
+ def list_project_location_prometheu_api_v1_metadata(name, location, limit: nil, metric: nil, fields: nil, quota_user: nil, options: nil, &block)
615
+ command = make_simple_command(:get, 'v1/{+name}/location/{location}/prometheus/api/v1/metadata', options)
616
+ command.response_representation = Google::Apis::MonitoringV1::HttpBody::Representation
617
+ command.response_class = Google::Apis::MonitoringV1::HttpBody
618
+ command.params['name'] = name unless name.nil?
619
+ command.params['location'] = location unless location.nil?
620
+ command.query['limit'] = limit unless limit.nil?
621
+ command.query['metric'] = metric unless metric.nil?
622
+ command.query['fields'] = fields unless fields.nil?
623
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
624
+ execute_or_queue_command(command, &block)
625
+ end
415
626
 
416
627
  protected
417
628
 
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.14.0
4
+ version: 0.15.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.15.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: []