google-apis-monitoring_v3 0.47.0 → 0.48.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: 597c4c5269296fe9b17d05f9c44dbfb7ded4da6a5da8ec4e6437148ffc2605f4
4
- data.tar.gz: 415c6eeef658a86fd5b9296351d1ade45303f657dc8f1908bba450dedc4ab81b
3
+ metadata.gz: d1b0ea5e07511b8ea9a501134bce2ebcf517c9f9d5ad748ad5516c5211968aed
4
+ data.tar.gz: 20b5ed8fb26dbde9c8044c9fe15ba9d570929a0b454cd61ebd1fd1cacfada310
5
5
  SHA512:
6
- metadata.gz: 92129e6d00a3e4bb323f338dbc77d618e68af41a38c3d35c0687fe083c9acdd8884d4a1166daa4016feada68b30232ac8e2687869bb1c238a605f774c907af63
7
- data.tar.gz: 7aedf7c117d11b6c5831812c3b129fae6640b25fd3dc3f5789af0228e5aa233803cc36a99e991ed2b962e92a706add64320e5d128dd9d5adb23da7e2c007e6a8
6
+ metadata.gz: 2750c1d6c3caad1dc34c5a9fcad380ea82d3a37cd6f82e9f296ebcdf577e07d55b27377fa6bb4bd276e5650040919e1462e88e12aa6a929906cbdbaa41064d2e
7
+ data.tar.gz: 4495abcbb8a9a9922c85c149ade510b03172466dd70d35f0ac11a0cd90d63a1ba9e30416d7423dc753f303f02ea91191d744e23f7e481b65b5dd5495df5cfe9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.48.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230716
6
+
3
7
  ### v0.47.0 (2023-07-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20230703
@@ -155,9 +155,10 @@ module Google
155
155
  # notifications, and incidents. To avoid confusion, don't use the same display
156
156
  # name for multiple policies in the same project. The name is limited to 512
157
157
  # Unicode characters.The convention for the display_name of a
158
- # PrometheusQueryLanguageCondition is "/", where the and should be taken from
159
- # the corresponding Prometheus configuration file. This convention is not
160
- # enforced. In any case the display_name is not a unique key of the AlertPolicy.
158
+ # PrometheusQueryLanguageCondition is "`rule group name`/`alert name`", where
159
+ # the `rule group name` and `alert name` should be taken from the corresponding
160
+ # Prometheus configuration file. This convention is not enforced. In any case
161
+ # the display_name is not a unique key of the AlertPolicy.
161
162
  # Corresponds to the JSON property `displayName`
162
163
  # @return [String]
163
164
  attr_accessor :display_name
@@ -205,10 +206,11 @@ module Google
205
206
  # AlertPolicy objects.The field can contain up to 64 entries. Each key and value
206
207
  # is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels
207
208
  # and values can contain only lowercase letters, numerals, underscores, and
208
- # dashes. Keys must begin with a letter.Note that Prometheus and are valid
209
- # Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-
210
- # names-and-labels). This means that they cannot be stored as is in user labels,
211
- # because Prometheus labels may contain upper-case letters.
209
+ # dashes. Keys must begin with a letter.Note that Prometheus `rule group name`
210
+ # and `alert name` are valid Prometheus label names (https://prometheus.io/docs/
211
+ # concepts/data_model/#metric-names-and-labels). This means that they cannot be
212
+ # stored as-is in user labels, because Prometheus labels may contain upper-case
213
+ # letters.
212
214
  # Corresponds to the JSON property `userLabels`
213
215
  # @return [Hash<String,String>]
214
216
  attr_accessor :user_labels
@@ -507,6 +509,41 @@ module Google
507
509
  end
508
510
  end
509
511
 
512
+ # A Synthetic Monitor deployed to a Cloud Functions V2 instance.
513
+ class CloudFunctionV2Target
514
+ include Google::Apis::Core::Hashable
515
+
516
+ # An object representing a resource that can be used for monitoring, logging,
517
+ # billing, or other purposes. Examples include virtual machine instances,
518
+ # databases, and storage devices such as disks. The type field identifies a
519
+ # MonitoredResourceDescriptor object that describes the resource's schema.
520
+ # Information in the labels field identifies the actual resource and its
521
+ # attributes according to the schema. For example, a particular Compute Engine
522
+ # VM instance could be represented by the following object, because the
523
+ # MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
524
+ # instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
525
+ # my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
526
+ # Corresponds to the JSON property `cloudRunRevision`
527
+ # @return [Google::Apis::MonitoringV3::MonitoredResource]
528
+ attr_accessor :cloud_run_revision
529
+
530
+ # Required. Fully qualified GCFv2 resource name i.e. projects/`project`/
531
+ # locations/`location`/functions/`function` Required.
532
+ # Corresponds to the JSON property `name`
533
+ # @return [String]
534
+ attr_accessor :name
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @cloud_run_revision = args[:cloud_run_revision] if args.key?(:cloud_run_revision)
543
+ @name = args[:name] if args.key?(:name)
544
+ end
545
+ end
546
+
510
547
  # Cloud Run service. Learn more at https://cloud.google.com/run.
511
548
  class CloudRun
512
549
  include Google::Apis::Core::Hashable
@@ -4422,6 +4459,25 @@ module Google
4422
4459
  end
4423
4460
  end
4424
4461
 
4462
+ # Describes a Synthetic Monitor to be invoked by Uptime.
4463
+ class SyntheticMonitorTarget
4464
+ include Google::Apis::Core::Hashable
4465
+
4466
+ # A Synthetic Monitor deployed to a Cloud Functions V2 instance.
4467
+ # Corresponds to the JSON property `cloudFunctionV2`
4468
+ # @return [Google::Apis::MonitoringV3::CloudFunctionV2Target]
4469
+ attr_accessor :cloud_function_v2
4470
+
4471
+ def initialize(**args)
4472
+ update!(**args)
4473
+ end
4474
+
4475
+ # Update properties of this object
4476
+ def update!(**args)
4477
+ @cloud_function_v2 = args[:cloud_function_v2] if args.key?(:cloud_function_v2)
4478
+ end
4479
+ end
4480
+
4425
4481
  # Information required for a TCP Uptime check request.
4426
4482
  class TcpCheck
4427
4483
  include Google::Apis::Core::Hashable
@@ -4943,6 +4999,11 @@ module Google
4943
4999
  # @return [Array<String>]
4944
5000
  attr_accessor :selected_regions
4945
5001
 
5002
+ # Describes a Synthetic Monitor to be invoked by Uptime.
5003
+ # Corresponds to the JSON property `syntheticMonitor`
5004
+ # @return [Google::Apis::MonitoringV3::SyntheticMonitorTarget]
5005
+ attr_accessor :synthetic_monitor
5006
+
4946
5007
  # Information required for a TCP Uptime check request.
4947
5008
  # Corresponds to the JSON property `tcpCheck`
4948
5009
  # @return [Google::Apis::MonitoringV3::TcpCheck]
@@ -4980,6 +5041,7 @@ module Google
4980
5041
  @period = args[:period] if args.key?(:period)
4981
5042
  @resource_group = args[:resource_group] if args.key?(:resource_group)
4982
5043
  @selected_regions = args[:selected_regions] if args.key?(:selected_regions)
5044
+ @synthetic_monitor = args[:synthetic_monitor] if args.key?(:synthetic_monitor)
4983
5045
  @tcp_check = args[:tcp_check] if args.key?(:tcp_check)
4984
5046
  @timeout = args[:timeout] if args.key?(:timeout)
4985
5047
  @user_labels = args[:user_labels] if args.key?(:user_labels)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV3
18
18
  # Version of the google-apis-monitoring_v3 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230703"
25
+ REVISION = "20230716"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CloudFunctionV2Target
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class CloudRun
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -628,6 +634,12 @@ module Google
628
634
  include Google::Apis::Core::JsonObjectSupport
629
635
  end
630
636
 
637
+ class SyntheticMonitorTarget
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
631
643
  class TcpCheck
632
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
645
 
@@ -824,6 +836,15 @@ module Google
824
836
  end
825
837
  end
826
838
 
839
+ class CloudFunctionV2Target
840
+ # @private
841
+ class Representation < Google::Apis::Core::JsonRepresentation
842
+ property :cloud_run_revision, as: 'cloudRunRevision', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
843
+
844
+ property :name, as: 'name'
845
+ end
846
+ end
847
+
827
848
  class CloudRun
828
849
  # @private
829
850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1761,6 +1782,14 @@ module Google
1761
1782
  end
1762
1783
  end
1763
1784
 
1785
+ class SyntheticMonitorTarget
1786
+ # @private
1787
+ class Representation < Google::Apis::Core::JsonRepresentation
1788
+ property :cloud_function_v2, as: 'cloudFunctionV2', class: Google::Apis::MonitoringV3::CloudFunctionV2Target, decorator: Google::Apis::MonitoringV3::CloudFunctionV2Target::Representation
1789
+
1790
+ end
1791
+ end
1792
+
1764
1793
  class TcpCheck
1765
1794
  # @private
1766
1795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1886,6 +1915,8 @@ module Google
1886
1915
  property :resource_group, as: 'resourceGroup', class: Google::Apis::MonitoringV3::ResourceGroup, decorator: Google::Apis::MonitoringV3::ResourceGroup::Representation
1887
1916
 
1888
1917
  collection :selected_regions, as: 'selectedRegions'
1918
+ property :synthetic_monitor, as: 'syntheticMonitor', class: Google::Apis::MonitoringV3::SyntheticMonitorTarget, decorator: Google::Apis::MonitoringV3::SyntheticMonitorTarget::Representation
1919
+
1889
1920
  property :tcp_check, as: 'tcpCheck', class: Google::Apis::MonitoringV3::TcpCheck, decorator: Google::Apis::MonitoringV3::TcpCheck::Representation
1890
1921
 
1891
1922
  property :timeout, as: 'timeout'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.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: 2023-07-09 00:00:00.000000000 Z
11
+ date: 2023-07-23 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
63
63
  post_install_message:
64
64
  rdoc_options: []