google-apis-monitoring_v3 0.25.0 → 0.28.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: aa0c91ffdd3ca73974a4e88bb7615cb007e91e25d31be77e01896dab225ce21b
4
- data.tar.gz: 7980e541b104f08f54805540925753baf35d5e1bd7dead21aa2e55544f465ebb
3
+ metadata.gz: 95bdc7c711c5d6ec3f637c7f376aa033ff56460993b584c191665412403cd050
4
+ data.tar.gz: 431dffd5b5c6dd3df350bac8a1bc3b631c6148fcb32c39932e8587ab962e1587
5
5
  SHA512:
6
- metadata.gz: 579419f90d234e3742c520bde1c5a46d0fb4da958e746c6957753effb2ef16dddb5795f1137c625a9899f6973278eb344e346dd9c980936e43ab0f0ab1537884
7
- data.tar.gz: d1ea9892bfde7a6630ba7760a3790d444512a6e20e1994b5b4f9638219de7882b861120d7a901982d2c485fed7fe7c736f500c0f55d26794c2c395202946759e
6
+ metadata.gz: 2adcabb27c0200b72d5e731b57bf692776c37a8e15a2cad0253da91daca5652c9d9c5d3cc2f0c9a052a75e358d83cf2b72f5ffa2e0285854195ad987a966c043
7
+ data.tar.gz: ca0cb5c2ee3beb171746bc26668ccdc1e6623437484a6edf7ea6232f74f1e33b90f06e57ef7e82e148957c344a7e2b3cbe36a563c6be3d0672e5931c0ec11468
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.28.0 (2022-06-06)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.27.0 (2022-05-27)
8
+
9
+ * Regenerated from discovery document revision 20220525
10
+
11
+ ### v0.26.0 (2022-05-20)
12
+
13
+ * Regenerated from discovery document revision 20220513
14
+
3
15
  ### v0.25.0 (2022-05-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220507
@@ -269,8 +269,8 @@ module Google
269
269
  include Google::Apis::Core::Hashable
270
270
 
271
271
  # The ID of the App Engine module underlying this service. Corresponds to the
272
- # module_id resource label in the gae_app monitored resource: https://cloud.
273
- # google.com/monitoring/api/resources#tag_gae_app
272
+ # module_id resource label in the gae_app monitored resource (https://cloud.
273
+ # google.com/monitoring/api/resources#tag_gae_app).
274
274
  # Corresponds to the JSON property `moduleId`
275
275
  # @return [String]
276
276
  attr_accessor :module_id
@@ -444,8 +444,8 @@ module Google
444
444
  include Google::Apis::Core::Hashable
445
445
 
446
446
  # The name of the Cloud Endpoints service underlying this service. Corresponds
447
- # to the service resource label in the api monitored resource: https://cloud.
448
- # google.com/monitoring/api/resources#tag_api
447
+ # to the service resource label in the api monitored resource (https://cloud.
448
+ # google.com/monitoring/api/resources#tag_api).
449
449
  # Corresponds to the JSON property `service`
450
450
  # @return [String]
451
451
  attr_accessor :service
@@ -465,15 +465,15 @@ module Google
465
465
  include Google::Apis::Core::Hashable
466
466
 
467
467
  # The location the service is run. Corresponds to the location resource label in
468
- # the cloud_run_revision monitored resource: https://cloud.google.com/monitoring/
469
- # api/resources#tag_cloud_run_revision
468
+ # the cloud_run_revision monitored resource (https://cloud.google.com/monitoring/
469
+ # api/resources#tag_cloud_run_revision).
470
470
  # Corresponds to the JSON property `location`
471
471
  # @return [String]
472
472
  attr_accessor :location
473
473
 
474
474
  # The name of the Cloud Run service. Corresponds to the service_name resource
475
- # label in the cloud_run_revision monitored resource: https://cloud.google.com/
476
- # monitoring/api/resources#tag_cloud_run_revision
475
+ # label in the cloud_run_revision monitored resource (https://cloud.google.com/
476
+ # monitoring/api/resources#tag_cloud_run_revision).
477
477
  # Corresponds to the JSON property `serviceName`
478
478
  # @return [String]
479
479
  attr_accessor :service_name
@@ -781,6 +781,13 @@ module Google
781
781
  # @return [String]
782
782
  attr_accessor :content
783
783
 
784
+ # Information needed to perform a JSONPath content match. Used for
785
+ # ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::
786
+ # NOT_MATCHES_JSON_PATH.
787
+ # Corresponds to the JSON property `jsonPathMatcher`
788
+ # @return [Google::Apis::MonitoringV3::JsonPathMatcher]
789
+ attr_accessor :json_path_matcher
790
+
784
791
  # The type of content matcher that will be applied to the server output,
785
792
  # compared to the content string when the check is run.
786
793
  # Corresponds to the JSON property `matcher`
@@ -794,6 +801,7 @@ module Google
794
801
  # Update properties of this object
795
802
  def update!(**args)
796
803
  @content = args[:content] if args.key?(:content)
804
+ @json_path_matcher = args[:json_path_matcher] if args.key?(:json_path_matcher)
797
805
  @matcher = args[:matcher] if args.key?(:matcher)
798
806
  end
799
807
  end
@@ -1401,7 +1409,8 @@ module Google
1401
1409
  end
1402
1410
 
1403
1411
  # GKE Namespace. The field names correspond to the resource metadata labels on
1404
- # monitored resources that fall under a namespace (e.g. k8s_container, k8s_pod).
1412
+ # monitored resources that fall under a namespace (for example, k8s_container or
1413
+ # k8s_pod).
1405
1414
  class GkeNamespace
1406
1415
  include Google::Apis::Core::Hashable
1407
1416
 
@@ -1442,8 +1451,8 @@ module Google
1442
1451
 
1443
1452
  # GKE Service. The "service" here represents a Kubernetes service object (https:/
1444
1453
  # /kubernetes.io/docs/concepts/services-networking/service). The field names
1445
- # correspond to the resource labels on k8s_service monitored resources: https://
1446
- # cloud.google.com/monitoring/api/resources#tag_k8s_service
1454
+ # correspond to the resource labels on k8s_service monitored resources (https://
1455
+ # cloud.google.com/monitoring/api/resources#tag_k8s_service).
1447
1456
  class GkeService
1448
1457
  include Google::Apis::Core::Hashable
1449
1458
 
@@ -1489,8 +1498,8 @@ module Google
1489
1498
  end
1490
1499
 
1491
1500
  # A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
1492
- # the metadata labels on monitored resources that fall under a workload (e.g.
1493
- # k8s_container, k8s_pod).
1501
+ # the metadata labels on monitored resources that fall under a workload (for
1502
+ # example, k8s_container or k8s_pod).
1494
1503
  class GkeWorkload
1495
1504
  include Google::Apis::Core::Hashable
1496
1505
 
@@ -1521,7 +1530,7 @@ module Google
1521
1530
  # @return [String]
1522
1531
  attr_accessor :top_level_controller_name
1523
1532
 
1524
- # The type of this workload (e.g. "Deployment" or "DaemonSet")
1533
+ # The type of this workload (for example, "Deployment" or "DaemonSet")
1525
1534
  # Corresponds to the JSON property `topLevelControllerType`
1526
1535
  # @return [String]
1527
1536
  attr_accessor :top_level_controller_type
@@ -1840,6 +1849,35 @@ module Google
1840
1849
  end
1841
1850
  end
1842
1851
 
1852
+ # Information needed to perform a JSONPath content match. Used for
1853
+ # ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::
1854
+ # NOT_MATCHES_JSON_PATH.
1855
+ class JsonPathMatcher
1856
+ include Google::Apis::Core::Hashable
1857
+
1858
+ # The type of JSONPath match that will be applied to the JSON output (
1859
+ # ContentMatcher.content)
1860
+ # Corresponds to the JSON property `jsonMatcher`
1861
+ # @return [String]
1862
+ attr_accessor :json_matcher
1863
+
1864
+ # JSONPath within the response output pointing to the expected ContentMatcher::
1865
+ # content to match against.
1866
+ # Corresponds to the JSON property `jsonPath`
1867
+ # @return [String]
1868
+ attr_accessor :json_path
1869
+
1870
+ def initialize(**args)
1871
+ update!(**args)
1872
+ end
1873
+
1874
+ # Update properties of this object
1875
+ def update!(**args)
1876
+ @json_matcher = args[:json_matcher] if args.key?(:json_matcher)
1877
+ @json_path = args[:json_path] if args.key?(:json_path)
1878
+ end
1879
+ end
1880
+
1843
1881
  # A description of a label.
1844
1882
  class LabelDescriptor
1845
1883
  include Google::Apis::Core::Hashable
@@ -3643,22 +3681,23 @@ module Google
3643
3681
  attr_accessor :display_name
3644
3682
 
3645
3683
  # GKE Namespace. The field names correspond to the resource metadata labels on
3646
- # monitored resources that fall under a namespace (e.g. k8s_container, k8s_pod).
3684
+ # monitored resources that fall under a namespace (for example, k8s_container or
3685
+ # k8s_pod).
3647
3686
  # Corresponds to the JSON property `gkeNamespace`
3648
3687
  # @return [Google::Apis::MonitoringV3::GkeNamespace]
3649
3688
  attr_accessor :gke_namespace
3650
3689
 
3651
3690
  # GKE Service. The "service" here represents a Kubernetes service object (https:/
3652
3691
  # /kubernetes.io/docs/concepts/services-networking/service). The field names
3653
- # correspond to the resource labels on k8s_service monitored resources: https://
3654
- # cloud.google.com/monitoring/api/resources#tag_k8s_service
3692
+ # correspond to the resource labels on k8s_service monitored resources (https://
3693
+ # cloud.google.com/monitoring/api/resources#tag_k8s_service).
3655
3694
  # Corresponds to the JSON property `gkeService`
3656
3695
  # @return [Google::Apis::MonitoringV3::GkeService]
3657
3696
  attr_accessor :gke_service
3658
3697
 
3659
3698
  # A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
3660
- # the metadata labels on monitored resources that fall under a workload (e.g.
3661
- # k8s_container, k8s_pod).
3699
+ # the metadata labels on monitored resources that fall under a workload (for
3700
+ # example, k8s_container or k8s_pod).
3662
3701
  # Corresponds to the JSON property `gkeWorkload`
3663
3702
  # @return [Google::Apis::MonitoringV3::GkeWorkload]
3664
3703
  attr_accessor :gke_workload
@@ -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.25.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220507"
25
+ REVISION = "20220525"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class JsonPathMatcher
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class LabelDescriptor
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -838,6 +844,8 @@ module Google
838
844
  # @private
839
845
  class Representation < Google::Apis::Core::JsonRepresentation
840
846
  property :content, as: 'content'
847
+ property :json_path_matcher, as: 'jsonPathMatcher', class: Google::Apis::MonitoringV3::JsonPathMatcher, decorator: Google::Apis::MonitoringV3::JsonPathMatcher::Representation
848
+
841
849
  property :matcher, as: 'matcher'
842
850
  end
843
851
  end
@@ -1089,6 +1097,14 @@ module Google
1089
1097
  end
1090
1098
  end
1091
1099
 
1100
+ class JsonPathMatcher
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ property :json_matcher, as: 'jsonMatcher'
1104
+ property :json_path, as: 'jsonPath'
1105
+ end
1106
+ end
1107
+
1092
1108
  class LabelDescriptor
1093
1109
  # @private
1094
1110
  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.25.0
4
+ version: 0.28.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.28.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Monitoring API V3