google-apis-monitoring_v3 0.63.0 → 0.64.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: 7d08395256201c579b7a5130666e8476a6507b9b74dbf039bedb2f67fecc7951
4
- data.tar.gz: 48466beaaa9bb65ddaeb30e066cfbe28e0aa0e195c6512e1bb3364b9291368e8
3
+ metadata.gz: 3b7521f7f947f682432189fb40399f65b027de8fbd5a10fab46357ec7ac41dc3
4
+ data.tar.gz: 1c8b12110f1b651e55b19a272af4047eb17279b3d40b15659103efe127f77b78
5
5
  SHA512:
6
- metadata.gz: ed92f6fc11dfa03b9112ef0cfe04c050119ba0a328e3baeed86d27405fc953e14cbb287c6d993e329a0009a00e9adc1ae26769eb361ea5aed75fc6d06316f050
7
- data.tar.gz: 73937b84b63c3e36218ae703543d0874076115d5c99179ad1200f3d0c9e8faeb4e89ff02cba7d282b8de4dfaafcbc4497389891eb8d8a88181cd68631f37dc12
6
+ metadata.gz: 572882a03d4f8ae527d559eab41b4ed992bb3cb546da3cd062ac829e6b3d09caed9052a2ff12cc6d706ef63fd3dc82d2f41610b4e03ca80db6d58b0bab06cfdf
7
+ data.tar.gz: 499cfa9cc312fffe1a6ba02836ea94df11bc070385e525e66dbc13b2b4fd25e2080bb2a06e1e079a746fd6dfb77f306cbb6198893e7279683668dd3230073d04
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.64.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240616
6
+
3
7
  ### v0.63.0 (2024-06-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20240602
@@ -1221,11 +1221,17 @@ module Google
1221
1221
  # may not exceed 8,192 Unicode characters and may not exceed more than 10,240
1222
1222
  # bytes when encoded in UTF-8 format, whichever is smaller. This text can be
1223
1223
  # templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-
1224
- # variables).
1224
+ # variables#doc-vars).
1225
1225
  # Corresponds to the JSON property `content`
1226
1226
  # @return [String]
1227
1227
  attr_accessor :content
1228
1228
 
1229
+ # Optional. Links to content such as playbooks, repositories, and other
1230
+ # resources. This field can contain up to 3 entries.
1231
+ # Corresponds to the JSON property `links`
1232
+ # @return [Array<Google::Apis::MonitoringV3::Link>]
1233
+ attr_accessor :links
1234
+
1229
1235
  # The format of the content field. Presently, only the value "text/markdown" is
1230
1236
  # supported. See Markdown (https://en.wikipedia.org/wiki/Markdown) for more
1231
1237
  # information.
@@ -1241,8 +1247,9 @@ module Google
1241
1247
  # is-the-email-subject-length-limit). It is both the limit imposed by some third-
1242
1248
  # party ticketing products and it is common to define textual fields in
1243
1249
  # databases as VARCHAR(255).The contents of the subject line can be templatized
1244
- # by using variables (https://cloud.google.com/monitoring/alerts/doc-variables).
1245
- # If this field is missing or empty, a default subject line will be generated.
1250
+ # by using variables (https://cloud.google.com/monitoring/alerts/doc-variables#
1251
+ # doc-vars). If this field is missing or empty, a default subject line will be
1252
+ # generated.
1246
1253
  # Corresponds to the JSON property `subject`
1247
1254
  # @return [String]
1248
1255
  attr_accessor :subject
@@ -1254,6 +1261,7 @@ module Google
1254
1261
  # Update properties of this object
1255
1262
  def update!(**args)
1256
1263
  @content = args[:content] if args.key?(:content)
1264
+ @links = args[:links] if args.key?(:links)
1257
1265
  @mime_type = args[:mime_type] if args.key?(:mime_type)
1258
1266
  @subject = args[:subject] if args.key?(:subject)
1259
1267
  end
@@ -2218,6 +2226,35 @@ module Google
2218
2226
  end
2219
2227
  end
2220
2228
 
2229
+ # Links to content such as playbooks, repositories, and other resources.
2230
+ class Link
2231
+ include Google::Apis::Core::Hashable
2232
+
2233
+ # A short display name for the link. The display name must not be empty or
2234
+ # exceed 63 characters. Example: "playbook".
2235
+ # Corresponds to the JSON property `displayName`
2236
+ # @return [String]
2237
+ attr_accessor :display_name
2238
+
2239
+ # The url of a webpage. A url can be templatized by using variables in the path
2240
+ # or the query parameters. The total length of a URL should not exceed 2083
2241
+ # characters before and after variable expansion. Example: "https://my_domain.
2242
+ # com/playbook?name=$`resource.name`"
2243
+ # Corresponds to the JSON property `url`
2244
+ # @return [String]
2245
+ attr_accessor :url
2246
+
2247
+ def initialize(**args)
2248
+ update!(**args)
2249
+ end
2250
+
2251
+ # Update properties of this object
2252
+ def update!(**args)
2253
+ @display_name = args[:display_name] if args.key?(:display_name)
2254
+ @url = args[:url] if args.key?(:url)
2255
+ end
2256
+ end
2257
+
2221
2258
  # The protocol for the ListAlertPolicies response.
2222
2259
  class ListAlertPoliciesResponse
2223
2260
  include Google::Apis::Core::Hashable
@@ -3827,9 +3864,9 @@ module Google
3827
3864
  # Optional. Labels to add to or overwrite in the PromQL query result. Label
3828
3865
  # names must be valid (https://prometheus.io/docs/concepts/data_model/#metric-
3829
3866
  # names-and-labels). Label values can be templatized by using variables (https://
3830
- # cloud.google.com/monitoring/alerts/doc-variables). The only available variable
3831
- # names are the names of the labels in the PromQL result, including "__name__"
3832
- # and "value". "labels" may be empty.
3867
+ # cloud.google.com/monitoring/alerts/doc-variables#doc-vars). The only available
3868
+ # variable names are the names of the labels in the PromQL result, including "
3869
+ # __name__" and "value". "labels" may be empty.
3833
3870
  # Corresponds to the JSON property `labels`
3834
3871
  # @return [Hash<String,String>]
3835
3872
  attr_accessor :labels
@@ -4287,7 +4324,7 @@ module Google
4287
4324
  attr_accessor :display_name
4288
4325
 
4289
4326
  # The fraction of service that must be good in order for this objective to be
4290
- # met. 0 < goal <= 0.999.
4327
+ # met. 0 < goal <= 0.9999.
4291
4328
  # Corresponds to the JSON property `goal`
4292
4329
  # @return [Float]
4293
4330
  attr_accessor :goal
@@ -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.63.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240602"
25
+ REVISION = "20240616"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class Link
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class ListAlertPoliciesResponse
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -1025,6 +1031,8 @@ module Google
1025
1031
  # @private
1026
1032
  class Representation < Google::Apis::Core::JsonRepresentation
1027
1033
  property :content, as: 'content'
1034
+ collection :links, as: 'links', class: Google::Apis::MonitoringV3::Link, decorator: Google::Apis::MonitoringV3::Link::Representation
1035
+
1028
1036
  property :mime_type, as: 'mimeType'
1029
1037
  property :subject, as: 'subject'
1030
1038
  end
@@ -1255,6 +1263,14 @@ module Google
1255
1263
  end
1256
1264
  end
1257
1265
 
1266
+ class Link
1267
+ # @private
1268
+ class Representation < Google::Apis::Core::JsonRepresentation
1269
+ property :display_name, as: 'displayName'
1270
+ property :url, as: 'url'
1271
+ end
1272
+ end
1273
+
1258
1274
  class ListAlertPoliciesResponse
1259
1275
  # @private
1260
1276
  class Representation < Google::Apis::Core::JsonRepresentation
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.63.0
4
+ version: 0.64.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: 2024-06-09 00:00:00.000000000 Z
11
+ date: 2024-06-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.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.64.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: []