google-cloud-monitoring-v3 1.4.0 → 1.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c94834958ba7a7872ed428db25178097a161361f336a950736dc7632ad0b79d
4
- data.tar.gz: 8ff358ecba04a88692e007abb5986bd137da88b1f72fde134bdf240df1b38ea6
3
+ metadata.gz: 4a301092d2f226b93297bf8a439a5d2b20176db7b2267a2e606ae41afd4f37a4
4
+ data.tar.gz: 6e1df5d1377c294483a7f6da2b011b66fc5b411af851164a416d00976d8063e5
5
5
  SHA512:
6
- metadata.gz: e92b7836d37284a6de168fc1c67fb641b46a21bf97438362a1a7ddb3bca7880775110203228cf6c38b9eab00476ed3d910e395ae74d8b7f542379fcd66120fa9
7
- data.tar.gz: 07c90d9d651e59b261a8baa7fa07702f02e8b1b96ca1bd41e7f73b04f79f105d4a3cade47ccebd5e42e62de6c08a12aca6fb5da7505225a1cf445a2df74b4682
6
+ metadata.gz: 0647754c16134e30afc2b38b21c8752327de715a4e97a67f66d70ac3fe7766f0773d5f25fdbac80dcedf522c44948fd635db678bffc4c1611e0ecf912f84244e
7
+ data.tar.gz: e8c758db632f9fdedfad4e1fcff59ef66a5fdd715c91bd39026f336bbdd4556f92922c2a3e3459eacc1f6602659fe48824de8a5a9595709b8b3e2f312251043f
@@ -838,8 +838,8 @@ module Google
838
838
 
839
839
  config_attr :endpoint, nil, ::String, nil
840
840
  config_attr :credentials, nil do |value|
841
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
842
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
841
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
842
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
843
843
  allowed.any? { |klass| klass === value }
844
844
  end
845
845
  config_attr :scope, nil, ::String, ::Array, nil
@@ -932,8 +932,8 @@ module Google
932
932
 
933
933
  config_attr :endpoint, nil, ::String, nil
934
934
  config_attr :credentials, nil do |value|
935
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
936
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
935
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
936
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
937
937
  allowed.any? { |klass| klass === value }
938
938
  end
939
939
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1268,8 +1268,8 @@ module Google
1268
1268
 
1269
1269
  config_attr :endpoint, nil, ::String, nil
1270
1270
  config_attr :credentials, nil do |value|
1271
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1272
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1271
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1272
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1273
1273
  allowed.any? { |klass| klass === value }
1274
1274
  end
1275
1275
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1337,8 +1337,8 @@ module Google
1337
1337
 
1338
1338
  config_attr :endpoint, nil, ::String, nil
1339
1339
  config_attr :credentials, nil do |value|
1340
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1341
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1340
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1341
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1342
1342
  allowed.any? { |klass| klass === value }
1343
1343
  end
1344
1344
  config_attr :scope, nil, ::String, ::Array, nil
@@ -398,8 +398,8 @@ module Google
398
398
 
399
399
  config_attr :endpoint, nil, ::String, nil
400
400
  config_attr :credentials, nil do |value|
401
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
402
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
401
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
402
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
403
403
  allowed.any? { |klass| klass === value }
404
404
  end
405
405
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1280,8 +1280,8 @@ module Google
1280
1280
 
1281
1281
  config_attr :endpoint, nil, ::String, nil
1282
1282
  config_attr :credentials, nil do |value|
1283
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1284
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1283
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1284
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1285
1285
  allowed.any? { |klass| klass === value }
1286
1286
  end
1287
1287
  config_attr :scope, nil, ::String, ::Array, nil
@@ -327,10 +327,8 @@ module Google
327
327
  #
328
328
  # For example:
329
329
  #
330
- # ```
331
330
  # interval.start_time > "2022-03-11T00:00:00-08:00" AND
332
331
  # interval.end_time < "2022-03-12T00:00:00-08:00"
333
- # ```
334
332
  # @param page_size [::Integer]
335
333
  # Optional. The maximum number of results to return for a single query. The
336
334
  # server may further constrain the maximum number of results returned in a
@@ -712,8 +710,8 @@ module Google
712
710
 
713
711
  config_attr :endpoint, nil, ::String, nil
714
712
  config_attr :credentials, nil do |value|
715
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
716
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
713
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
714
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
717
715
  allowed.any? { |klass| klass === value }
718
716
  end
719
717
  config_attr :scope, nil, ::String, ::Array, nil
@@ -892,8 +892,8 @@ module Google
892
892
 
893
893
  config_attr :endpoint, nil, ::String, nil
894
894
  config_attr :credentials, nil do |value|
895
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
896
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
895
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
896
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
897
897
  allowed.any? { |klass| klass === value }
898
898
  end
899
899
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Monitoring
23
23
  module V3
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/monitoring/v3/common_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n!google/monitoring/v3/snooze.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\"\xc5\x02\n\x06Snooze\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12<\n\x08\x63riteria\x18\x03 \x01(\x0b\x32%.google.monitoring.v3.Snooze.CriteriaB\x03\xe0\x41\x02\x12\x39\n\x08interval\x18\x04 \x01(\x0b\x32\".google.monitoring.v3.TimeIntervalB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1aH\n\x08\x43riteria\x12<\n\x08policies\x18\x01 \x03(\tB*\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy:J\xea\x41G\n monitoring.googleapis.com/Snooze\x12#projects/{project}/snoozes/{snooze}B\xc6\x01\n\x18\x63om.google.monitoring.v3B\x0bSnoozeProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
12
+ descriptor_data = "\n!google/monitoring/v3/snooze.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\"\xd5\x02\n\x06Snooze\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12<\n\x08\x63riteria\x18\x03 \x01(\x0b\x32%.google.monitoring.v3.Snooze.CriteriaB\x03\xe0\x41\x02\x12\x39\n\x08interval\x18\x04 \x01(\x0b\x32\".google.monitoring.v3.TimeIntervalB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1aX\n\x08\x43riteria\x12<\n\x08policies\x18\x01 \x03(\tB*\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t:J\xea\x41G\n monitoring.googleapis.com/Snooze\x12#projects/{project}/snoozes/{snooze}B\xc6\x01\n\x18\x63om.google.monitoring.v3B\x0bSnoozeProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -63,6 +63,24 @@ module Google
63
63
  #
64
64
  # There is a limit of 16 policies per snooze. This limit is checked during
65
65
  # snooze creation.
66
+ # Exactly 1 alert policy is required if `filter` is specified at the same
67
+ # time.
68
+ # @!attribute [rw] filter
69
+ # @return [::String]
70
+ # Optional. The filter string to match on Alert fields when silencing the
71
+ # alerts. It follows the standard https://google.aip.dev/160 syntax.
72
+ # A filter string used to apply the snooze to specific incidents
73
+ # that have matching filter values.
74
+ # Filters can be defined for snoozes that apply to one alerting
75
+ # policy.
76
+ # Filters must be a string formatted as one or more resource labels with
77
+ # specific label values. If multiple resource labels are used, then they
78
+ # must be connected with an AND operator. For example, the following filter
79
+ # applies the snooze to incidents that have an instance ID of
80
+ # `1234567890` and a zone of `us-central1-a`:
81
+ #
82
+ # resource.labels.instance_id="1234567890" AND
83
+ # resource.labels.zone="us-central1-a"
66
84
  class Criteria
67
85
  include ::Google::Protobuf::MessageExts
68
86
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -58,10 +58,8 @@ module Google
58
58
  #
59
59
  # For example:
60
60
  #
61
- # ```
62
61
  # interval.start_time > "2022-03-11T00:00:00-08:00" AND
63
62
  # interval.end_time < "2022-03-12T00:00:00-08:00"
64
- # ```
65
63
  # @!attribute [rw] page_size
66
64
  # @return [::Integer]
67
65
  # Optional. The maximum number of results to return for a single query. The
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.6.2
177
+ rubygems_version: 3.6.8
178
178
  specification_version: 4
179
179
  summary: Manages your Cloud Monitoring data and configurations.
180
180
  test_files: []