google-apis-monitoring_v3 0.24.0 → 0.27.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: d814121507ec661d295572ba575ab2ffd673c8022205cb0a435bae476b440ac5
4
- data.tar.gz: e2cc0e379ae4334899c929c0416cfec67b35f6a96d7ab80c93181fd45544df55
3
+ metadata.gz: 6f7f68eb1104ee822b1c28e869f4390644d8bce13de93c3d1b082eae73adbc02
4
+ data.tar.gz: cc2aa5c7740ded88c12b8e8f44c309da26abe54b867a167c6df8ca44448b7c73
5
5
  SHA512:
6
- metadata.gz: 06b96b95584110bedf6aab38ad00a6d0c61117c71f7ab86131f76c805cad6ed38fefca664b8ca7285ab3105ea43a318095b39fcc0e20bc2c8c6ed51120be17b6
7
- data.tar.gz: 8be19dc679fc66e9bb0fdcda02fe86fbf557e84b15f4be2b4b771d698365579409ef885266202d627876f145b70355fc2f3cfd99d35a57e1cc4211a34152335e
6
+ metadata.gz: a99fe3edc69cad220bbc9600613724d1321f154881d192d2ea7b2be5ecab24eb5171f7b31b5f779ff5e5516c15af17cd13339a0033666bd18af8f3f43844a8ae
7
+ data.tar.gz: 4c5b95e0501b57c599cc5a4a8776f77034588b41ad13ae3f897256a6a4fa11001a0887bca2c30db379f1d75e375b8123fa339bd9892480d8f0e9d7b68f2e9eba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.27.0 (2022-05-27)
4
+
5
+ * Regenerated from discovery document revision 20220525
6
+
7
+ ### v0.26.0 (2022-05-20)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.25.0 (2022-05-13)
12
+
13
+ * Regenerated from discovery document revision 20220507
14
+
3
15
  ### v0.24.0 (2022-03-25)
4
16
 
5
17
  * Regenerated from discovery document revision 20220322
@@ -179,9 +179,9 @@ module Google
179
179
 
180
180
  # Required if the policy exists. The resource name for this policy. The format
181
181
  # is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
182
- # ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is
183
- # created. When calling the alertPolicies.create method, do not include the name
184
- # field in the alerting policy passed as part of the request.
182
+ # ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
183
+ # When calling the alertPolicies.create method, do not include the name field in
184
+ # the alerting policy passed as part of the request.
185
185
  # Corresponds to the JSON property `name`
186
186
  # @return [String]
187
187
  attr_accessor :name
@@ -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
@@ -460,6 +460,35 @@ module Google
460
460
  end
461
461
  end
462
462
 
463
+ # Cloud Run service. Learn more at https://cloud.google.com/run.
464
+ class CloudRun
465
+ include Google::Apis::Core::Hashable
466
+
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).
470
+ # Corresponds to the JSON property `location`
471
+ # @return [String]
472
+ attr_accessor :location
473
+
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).
477
+ # Corresponds to the JSON property `serviceName`
478
+ # @return [String]
479
+ attr_accessor :service_name
480
+
481
+ def initialize(**args)
482
+ update!(**args)
483
+ end
484
+
485
+ # Update properties of this object
486
+ def update!(**args)
487
+ @location = args[:location] if args.key?(:location)
488
+ @service_name = args[:service_name] if args.key?(:service_name)
489
+ end
490
+ end
491
+
463
492
  # Istio service scoped to a single Kubernetes cluster. Learn more at https://
464
493
  # istio.io. Clusters running OSS Istio will have their services ingested as this
465
494
  # type.
@@ -708,11 +737,11 @@ module Google
708
737
 
709
738
  # Required if the condition exists. The unique resource name for this condition.
710
739
  # Its format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/
711
- # conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Stackdriver Monitoring
712
- # when the condition is created as part of a new or updated alerting policy.When
740
+ # conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Cloud Monitoring when
741
+ # the condition is created as part of a new or updated alerting policy.When
713
742
  # calling the alertPolicies.create method, do not include the name field in the
714
- # conditions of the requested alerting policy. Stackdriver Monitoring creates
715
- # the condition identifiers and includes them in the new policy.When calling the
743
+ # conditions of the requested alerting policy. Cloud Monitoring creates the
744
+ # condition identifiers and includes them in the new policy.When calling the
716
745
  # alertPolicies.update method to update a policy, including a condition name
717
746
  # causes the existing condition to be updated. Conditions without names are
718
747
  # added to the updated policy. Existing conditions are deleted if they are not
@@ -752,6 +781,13 @@ module Google
752
781
  # @return [String]
753
782
  attr_accessor :content
754
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
+
755
791
  # The type of content matcher that will be applied to the server output,
756
792
  # compared to the content string when the check is run.
757
793
  # Corresponds to the JSON property `matcher`
@@ -765,6 +801,7 @@ module Google
765
801
  # Update properties of this object
766
802
  def update!(**args)
767
803
  @content = args[:content] if args.key?(:content)
804
+ @json_path_matcher = args[:json_path_matcher] if args.key?(:json_path_matcher)
768
805
  @matcher = args[:matcher] if args.key?(:matcher)
769
806
  end
770
807
  end
@@ -1371,6 +1408,148 @@ module Google
1371
1408
  end
1372
1409
  end
1373
1410
 
1411
+ # GKE Namespace. The field names correspond to the resource metadata labels on
1412
+ # monitored resources that fall under a namespace (for example, k8s_container or
1413
+ # k8s_pod).
1414
+ class GkeNamespace
1415
+ include Google::Apis::Core::Hashable
1416
+
1417
+ # The name of the parent cluster.
1418
+ # Corresponds to the JSON property `clusterName`
1419
+ # @return [String]
1420
+ attr_accessor :cluster_name
1421
+
1422
+ # The location of the parent cluster. This may be a zone or region.
1423
+ # Corresponds to the JSON property `location`
1424
+ # @return [String]
1425
+ attr_accessor :location
1426
+
1427
+ # The name of this namespace.
1428
+ # Corresponds to the JSON property `namespaceName`
1429
+ # @return [String]
1430
+ attr_accessor :namespace_name
1431
+
1432
+ # Output only. The project this resource lives in. For legacy services migrated
1433
+ # from the Custom type, this may be a distinct project from the one parenting
1434
+ # the service itself.
1435
+ # Corresponds to the JSON property `projectId`
1436
+ # @return [String]
1437
+ attr_accessor :project_id
1438
+
1439
+ def initialize(**args)
1440
+ update!(**args)
1441
+ end
1442
+
1443
+ # Update properties of this object
1444
+ def update!(**args)
1445
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1446
+ @location = args[:location] if args.key?(:location)
1447
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1448
+ @project_id = args[:project_id] if args.key?(:project_id)
1449
+ end
1450
+ end
1451
+
1452
+ # GKE Service. The "service" here represents a Kubernetes service object (https:/
1453
+ # /kubernetes.io/docs/concepts/services-networking/service). The field names
1454
+ # correspond to the resource labels on k8s_service monitored resources (https://
1455
+ # cloud.google.com/monitoring/api/resources#tag_k8s_service).
1456
+ class GkeService
1457
+ include Google::Apis::Core::Hashable
1458
+
1459
+ # The name of the parent cluster.
1460
+ # Corresponds to the JSON property `clusterName`
1461
+ # @return [String]
1462
+ attr_accessor :cluster_name
1463
+
1464
+ # The location of the parent cluster. This may be a zone or region.
1465
+ # Corresponds to the JSON property `location`
1466
+ # @return [String]
1467
+ attr_accessor :location
1468
+
1469
+ # The name of the parent namespace.
1470
+ # Corresponds to the JSON property `namespaceName`
1471
+ # @return [String]
1472
+ attr_accessor :namespace_name
1473
+
1474
+ # Output only. The project this resource lives in. For legacy services migrated
1475
+ # from the Custom type, this may be a distinct project from the one parenting
1476
+ # the service itself.
1477
+ # Corresponds to the JSON property `projectId`
1478
+ # @return [String]
1479
+ attr_accessor :project_id
1480
+
1481
+ # The name of this service.
1482
+ # Corresponds to the JSON property `serviceName`
1483
+ # @return [String]
1484
+ attr_accessor :service_name
1485
+
1486
+ def initialize(**args)
1487
+ update!(**args)
1488
+ end
1489
+
1490
+ # Update properties of this object
1491
+ def update!(**args)
1492
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1493
+ @location = args[:location] if args.key?(:location)
1494
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1495
+ @project_id = args[:project_id] if args.key?(:project_id)
1496
+ @service_name = args[:service_name] if args.key?(:service_name)
1497
+ end
1498
+ end
1499
+
1500
+ # A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
1501
+ # the metadata labels on monitored resources that fall under a workload (for
1502
+ # example, k8s_container or k8s_pod).
1503
+ class GkeWorkload
1504
+ include Google::Apis::Core::Hashable
1505
+
1506
+ # The name of the parent cluster.
1507
+ # Corresponds to the JSON property `clusterName`
1508
+ # @return [String]
1509
+ attr_accessor :cluster_name
1510
+
1511
+ # The location of the parent cluster. This may be a zone or region.
1512
+ # Corresponds to the JSON property `location`
1513
+ # @return [String]
1514
+ attr_accessor :location
1515
+
1516
+ # The name of the parent namespace.
1517
+ # Corresponds to the JSON property `namespaceName`
1518
+ # @return [String]
1519
+ attr_accessor :namespace_name
1520
+
1521
+ # Output only. The project this resource lives in. For legacy services migrated
1522
+ # from the Custom type, this may be a distinct project from the one parenting
1523
+ # the service itself.
1524
+ # Corresponds to the JSON property `projectId`
1525
+ # @return [String]
1526
+ attr_accessor :project_id
1527
+
1528
+ # The name of this workload.
1529
+ # Corresponds to the JSON property `topLevelControllerName`
1530
+ # @return [String]
1531
+ attr_accessor :top_level_controller_name
1532
+
1533
+ # The type of this workload (for example, "Deployment" or "DaemonSet")
1534
+ # Corresponds to the JSON property `topLevelControllerType`
1535
+ # @return [String]
1536
+ attr_accessor :top_level_controller_type
1537
+
1538
+ def initialize(**args)
1539
+ update!(**args)
1540
+ end
1541
+
1542
+ # Update properties of this object
1543
+ def update!(**args)
1544
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1545
+ @location = args[:location] if args.key?(:location)
1546
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1547
+ @project_id = args[:project_id] if args.key?(:project_id)
1548
+ @top_level_controller_name = args[:top_level_controller_name] if args.key?(:top_level_controller_name)
1549
+ @top_level_controller_type = args[:top_level_controller_type] if args.key?(:top_level_controller_type)
1550
+ end
1551
+ end
1552
+
1374
1553
  # Range of numerical values within min and max.
1375
1554
  class GoogleMonitoringV3Range
1376
1555
  include Google::Apis::Core::Hashable
@@ -1580,7 +1759,7 @@ module Google
1580
1759
  include Google::Apis::Core::Hashable
1581
1760
 
1582
1761
  # The checker's human-readable name. The display name should be unique within a
1583
- # Stackdriver Workspace in order to make it easier to identify; however,
1762
+ # Cloud Monitoring Metrics Scope in order to make it easier to identify; however,
1584
1763
  # uniqueness is not enforced.
1585
1764
  # Corresponds to the JSON property `displayName`
1586
1765
  # @return [String]
@@ -1594,8 +1773,8 @@ module Google
1594
1773
 
1595
1774
  # A unique resource name for this InternalChecker. The format is: projects/[
1596
1775
  # PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [
1597
- # PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime
1598
- # check config associated with the internal checker.
1776
+ # PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the
1777
+ # Uptime check config associated with the internal checker.
1599
1778
  # Corresponds to the JSON property `name`
1600
1779
  # @return [String]
1601
1780
  attr_accessor :name
@@ -1607,7 +1786,7 @@ module Google
1607
1786
  attr_accessor :network
1608
1787
 
1609
1788
  # The GCP project ID where the internal checker lives. Not necessary the same as
1610
- # the Workspace project.
1789
+ # the Metrics Scope project.
1611
1790
  # Corresponds to the JSON property `peerProjectId`
1612
1791
  # @return [String]
1613
1792
  attr_accessor :peer_project_id
@@ -1670,6 +1849,35 @@ module Google
1670
1849
  end
1671
1850
  end
1672
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
+
1673
1881
  # A description of a label.
1674
1882
  class LabelDescriptor
1675
1883
  include Google::Apis::Core::Hashable
@@ -3449,6 +3657,11 @@ module Google
3449
3657
  # @return [Google::Apis::MonitoringV3::CloudEndpoints]
3450
3658
  attr_accessor :cloud_endpoints
3451
3659
 
3660
+ # Cloud Run service. Learn more at https://cloud.google.com/run.
3661
+ # Corresponds to the JSON property `cloudRun`
3662
+ # @return [Google::Apis::MonitoringV3::CloudRun]
3663
+ attr_accessor :cloud_run
3664
+
3452
3665
  # Istio service scoped to a single Kubernetes cluster. Learn more at https://
3453
3666
  # istio.io. Clusters running OSS Istio will have their services ingested as this
3454
3667
  # type.
@@ -3467,6 +3680,28 @@ module Google
3467
3680
  # @return [String]
3468
3681
  attr_accessor :display_name
3469
3682
 
3683
+ # GKE Namespace. The field names correspond to the resource metadata labels on
3684
+ # monitored resources that fall under a namespace (for example, k8s_container or
3685
+ # k8s_pod).
3686
+ # Corresponds to the JSON property `gkeNamespace`
3687
+ # @return [Google::Apis::MonitoringV3::GkeNamespace]
3688
+ attr_accessor :gke_namespace
3689
+
3690
+ # GKE Service. The "service" here represents a Kubernetes service object (https:/
3691
+ # /kubernetes.io/docs/concepts/services-networking/service). The field names
3692
+ # correspond to the resource labels on k8s_service monitored resources (https://
3693
+ # cloud.google.com/monitoring/api/resources#tag_k8s_service).
3694
+ # Corresponds to the JSON property `gkeService`
3695
+ # @return [Google::Apis::MonitoringV3::GkeService]
3696
+ attr_accessor :gke_service
3697
+
3698
+ # A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
3699
+ # the metadata labels on monitored resources that fall under a workload (for
3700
+ # example, k8s_container or k8s_pod).
3701
+ # Corresponds to the JSON property `gkeWorkload`
3702
+ # @return [Google::Apis::MonitoringV3::GkeWorkload]
3703
+ attr_accessor :gke_workload
3704
+
3470
3705
  # Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
3471
3706
  # 8 will have their services ingested as this type.
3472
3707
  # Corresponds to the JSON property `istioCanonicalService`
@@ -3508,9 +3743,13 @@ module Google
3508
3743
  def update!(**args)
3509
3744
  @app_engine = args[:app_engine] if args.key?(:app_engine)
3510
3745
  @cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
3746
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3511
3747
  @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
3512
3748
  @custom = args[:custom] if args.key?(:custom)
3513
3749
  @display_name = args[:display_name] if args.key?(:display_name)
3750
+ @gke_namespace = args[:gke_namespace] if args.key?(:gke_namespace)
3751
+ @gke_service = args[:gke_service] if args.key?(:gke_service)
3752
+ @gke_workload = args[:gke_workload] if args.key?(:gke_workload)
3514
3753
  @istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service)
3515
3754
  @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
3516
3755
  @name = args[:name] if args.key?(:name)
@@ -4169,8 +4408,8 @@ module Google
4169
4408
  attr_accessor :content_matchers
4170
4409
 
4171
4410
  # A human-friendly name for the Uptime check configuration. The display name
4172
- # should be unique within a Stackdriver Workspace in order to make it easier to
4173
- # identify; however, uniqueness is not enforced. Required.
4411
+ # should be unique within a Cloud Monitoring Workspace in order to make it
4412
+ # easier to identify; however, uniqueness is not enforced. Required.
4174
4413
  # Corresponds to the JSON property `displayName`
4175
4414
  # @return [String]
4176
4415
  attr_accessor :display_name
@@ -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.24.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220322"
25
+ REVISION = "20220525"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class CloudRun
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class ClusterIstio
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -220,6 +226,24 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class GkeNamespace
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GkeService
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GkeWorkload
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
223
247
  class GoogleMonitoringV3Range
224
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
249
 
@@ -250,6 +274,12 @@ module Google
250
274
  include Google::Apis::Core::JsonObjectSupport
251
275
  end
252
276
 
277
+ class JsonPathMatcher
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
253
283
  class LabelDescriptor
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -730,6 +760,14 @@ module Google
730
760
  end
731
761
  end
732
762
 
763
+ class CloudRun
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :location, as: 'location'
767
+ property :service_name, as: 'serviceName'
768
+ end
769
+ end
770
+
733
771
  class ClusterIstio
734
772
  # @private
735
773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -806,6 +844,8 @@ module Google
806
844
  # @private
807
845
  class Representation < Google::Apis::Core::JsonRepresentation
808
846
  property :content, as: 'content'
847
+ property :json_path_matcher, as: 'jsonPathMatcher', class: Google::Apis::MonitoringV3::JsonPathMatcher, decorator: Google::Apis::MonitoringV3::JsonPathMatcher::Representation
848
+
809
849
  property :matcher, as: 'matcher'
810
850
  end
811
851
  end
@@ -967,6 +1007,39 @@ module Google
967
1007
  end
968
1008
  end
969
1009
 
1010
+ class GkeNamespace
1011
+ # @private
1012
+ class Representation < Google::Apis::Core::JsonRepresentation
1013
+ property :cluster_name, as: 'clusterName'
1014
+ property :location, as: 'location'
1015
+ property :namespace_name, as: 'namespaceName'
1016
+ property :project_id, as: 'projectId'
1017
+ end
1018
+ end
1019
+
1020
+ class GkeService
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :cluster_name, as: 'clusterName'
1024
+ property :location, as: 'location'
1025
+ property :namespace_name, as: 'namespaceName'
1026
+ property :project_id, as: 'projectId'
1027
+ property :service_name, as: 'serviceName'
1028
+ end
1029
+ end
1030
+
1031
+ class GkeWorkload
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :cluster_name, as: 'clusterName'
1035
+ property :location, as: 'location'
1036
+ property :namespace_name, as: 'namespaceName'
1037
+ property :project_id, as: 'projectId'
1038
+ property :top_level_controller_name, as: 'topLevelControllerName'
1039
+ property :top_level_controller_type, as: 'topLevelControllerType'
1040
+ end
1041
+ end
1042
+
970
1043
  class GoogleMonitoringV3Range
971
1044
  # @private
972
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1024,6 +1097,14 @@ module Google
1024
1097
  end
1025
1098
  end
1026
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
+
1027
1108
  class LabelDescriptor
1028
1109
  # @private
1029
1110
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1461,11 +1542,19 @@ module Google
1461
1542
 
1462
1543
  property :cloud_endpoints, as: 'cloudEndpoints', class: Google::Apis::MonitoringV3::CloudEndpoints, decorator: Google::Apis::MonitoringV3::CloudEndpoints::Representation
1463
1544
 
1545
+ property :cloud_run, as: 'cloudRun', class: Google::Apis::MonitoringV3::CloudRun, decorator: Google::Apis::MonitoringV3::CloudRun::Representation
1546
+
1464
1547
  property :cluster_istio, as: 'clusterIstio', class: Google::Apis::MonitoringV3::ClusterIstio, decorator: Google::Apis::MonitoringV3::ClusterIstio::Representation
1465
1548
 
1466
1549
  property :custom, as: 'custom', class: Google::Apis::MonitoringV3::Custom, decorator: Google::Apis::MonitoringV3::Custom::Representation
1467
1550
 
1468
1551
  property :display_name, as: 'displayName'
1552
+ property :gke_namespace, as: 'gkeNamespace', class: Google::Apis::MonitoringV3::GkeNamespace, decorator: Google::Apis::MonitoringV3::GkeNamespace::Representation
1553
+
1554
+ property :gke_service, as: 'gkeService', class: Google::Apis::MonitoringV3::GkeService, decorator: Google::Apis::MonitoringV3::GkeService::Representation
1555
+
1556
+ property :gke_workload, as: 'gkeWorkload', class: Google::Apis::MonitoringV3::GkeWorkload, decorator: Google::Apis::MonitoringV3::GkeWorkload::Representation
1557
+
1469
1558
  property :istio_canonical_service, as: 'istioCanonicalService', class: Google::Apis::MonitoringV3::IstioCanonicalService, decorator: Google::Apis::MonitoringV3::IstioCanonicalService::Representation
1470
1559
 
1471
1560
  property :mesh_istio, as: 'meshIstio', class: Google::Apis::MonitoringV3::MeshIstio, decorator: Google::Apis::MonitoringV3::MeshIstio::Representation
@@ -383,10 +383,11 @@ module Google
383
383
  # in which to create the alerting policy. The format is: projects/[
384
384
  # PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which
385
385
  # the alerting policy will be written, not the name of the created policy. |name|
386
- # must be a host project of a workspace, otherwise INVALID_ARGUMENT error will
387
- # return. The alerting policy that is returned will have a name that contains a
388
- # normalized representation of this name as a prefix but adds a suffix of the
389
- # form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.
386
+ # must be a host project of a Metrics Scope, otherwise INVALID_ARGUMENT error
387
+ # will return. The alerting policy that is returned will have a name that
388
+ # contains a normalized representation of this name as a prefix but adds a
389
+ # suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in
390
+ # the container.
390
391
  # @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object
391
392
  # @param [String] fields
392
393
  # Selector specifying which fields to include in a partial response.
@@ -541,9 +542,9 @@ module Google
541
542
  # @param [String] name
542
543
  # Required if the policy exists. The resource name for this policy. The format
543
544
  # is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
544
- # ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is
545
- # created. When calling the alertPolicies.create method, do not include the name
546
- # field in the alerting policy passed as part of the request.
545
+ # ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
546
+ # When calling the alertPolicies.create method, do not include the name field in
547
+ # the alerting policy passed as part of the request.
547
548
  # @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object
548
549
  # @param [String] update_mask
549
550
  # Optional. A list of alerting policy field names. If this field is not empty,
@@ -591,9 +592,8 @@ module Google
591
592
  execute_or_queue_command(command, &block)
592
593
  end
593
594
 
594
- # Stackdriver Monitoring Agent only: Creates a new time series.This method is
595
- # only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.
596
- # create instead.
595
+ # Cloud Monitoring Agent only: Creates a new time series.This method is only for
596
+ # use by the Cloud Monitoring Agent. Use projects.timeSeries.create instead.
597
597
  # @param [String] name
598
598
  # The project (https://cloud.google.com/monitoring/api/v3#project_name) in which
599
599
  # to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER]
@@ -1982,7 +1982,7 @@ module Google
1982
1982
  # Create a Service.
1983
1983
  # @param [String] parent
1984
1984
  # Required. Resource name (https://cloud.google.com/monitoring/api/v3#
1985
- # project_name) of the parent workspace. The format is: projects/[
1985
+ # project_name) of the parent Metrics Scope. The format is: projects/[
1986
1986
  # PROJECT_ID_OR_NUMBER]
1987
1987
  # @param [Google::Apis::MonitoringV3::Service] service_object
1988
1988
  # @param [String] service_id
@@ -2080,24 +2080,28 @@ module Google
2080
2080
  execute_or_queue_command(command, &block)
2081
2081
  end
2082
2082
 
2083
- # List Services for this workspace.
2083
+ # List Services for this Metrics Scope.
2084
2084
  # @param [String] parent
2085
2085
  # Required. Resource name of the parent containing the listed services, either a
2086
2086
  # project (https://cloud.google.com/monitoring/api/v3#project_name) or a
2087
- # Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]
2087
+ # Monitoring Metrics Scope. The formats are: projects/[PROJECT_ID_OR_NUMBER]
2088
2088
  # workspaces/[HOST_PROJECT_ID_OR_NUMBER]
2089
2089
  # @param [String] filter
2090
- # A filter specifying what Services to return. The filter currently supports the
2091
- # following fields: - `identifier_case` - `app_engine.module_id` - `
2092
- # cloud_endpoints.service` (reserved for future use) - `mesh_istio.mesh_uid` - `
2093
- # mesh_istio.service_namespace` - `mesh_istio.service_name` - `cluster_istio.
2094
- # location` (deprecated) - `cluster_istio.cluster_name` (deprecated) - `
2095
- # cluster_istio.service_namespace` (deprecated) - `cluster_istio.service_name` (
2096
- # deprecated) identifier_case refers to which option in the identifier oneof is
2097
- # populated. For example, the filter identifier_case = "CUSTOM" would match all
2098
- # services with a value for the custom field. Valid options are "CUSTOM", "
2099
- # APP_ENGINE", "MESH_ISTIO", plus "CLUSTER_ISTIO" (deprecated) and "
2100
- # CLOUD_ENDPOINTS" (reserved for future use).
2090
+ # A filter specifying what Services to return. The filter supports filtering on
2091
+ # a particular service-identifier type or one of its attributes.To filter on a
2092
+ # particular service-identifier type, the identifier_case refers to which option
2093
+ # in the identifier field is populated. For example, the filter identifier_case =
2094
+ # "CUSTOM" would match all services with a value for the custom field. Valid
2095
+ # options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options
2096
+ # listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#
2097
+ # ServiceTo filter on an attribute of a service-identifier type, apply the
2098
+ # filter name by using the snake case of the service-identifier type and the
2099
+ # attribute of that service-identifier type, and join the two with a period. For
2100
+ # example, to filter by the meshUid field of the MeshIstio service-identifier
2101
+ # type, you must filter on mesh_istio.mesh_uid = "123" to match all services
2102
+ # with mesh UID "123". Service-identifier types and their attributes are
2103
+ # described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#
2104
+ # Service
2101
2105
  # @param [Fixnum] page_size
2102
2106
  # A non-negative number that is the maximum number of results to return. When 0,
2103
2107
  # use default page size.
@@ -2283,7 +2287,7 @@ module Google
2283
2287
  # List the ServiceLevelObjectives for the given Service.
2284
2288
  # @param [String] parent
2285
2289
  # Required. Resource name of the parent containing the listed SLOs, either a
2286
- # project or a Monitoring Workspace. The formats are: projects/[
2290
+ # project or a Monitoring Metrics Scope. The formats are: projects/[
2287
2291
  # PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[
2288
2292
  # HOST_PROJECT_ID_OR_NUMBER]/services/-
2289
2293
  # @param [String] filter
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.24.0
4
+ version: 0.27.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-30 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.27.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