google-apis-monitoring_v3 0.23.0 → 0.26.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae51723c0f5e9c77a61b617679f4cfa806c8ba0c6a63b9f5ff55fec622e7d0ab
|
4
|
+
data.tar.gz: 3e47f020bc70d481d8bccd172e3955d0d9ea08a6451f9bec29188bf25e2322ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a38eb7bec26b9d44bcdb7b56a57f5b2c0084b301fdb867f09c5c70652d264fabcdb5ab0704b2f920014f6502831d79c6bbc7fc556479ffff408e6d895999430
|
7
|
+
data.tar.gz: e9aee504e8ba10ae2814ebd9b9560902ba3d7c1c77592ed6286e6453a1139a81080f0974188354d48aca088077822bc41b89fecec5b609744e6f5cdb510a3faf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.26.0 (2022-05-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220513
|
6
|
+
|
7
|
+
### v0.25.0 (2022-05-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220507
|
10
|
+
|
11
|
+
### v0.24.0 (2022-03-25)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220322
|
14
|
+
|
3
15
|
### v0.23.0 (2022-02-25)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220218
|
@@ -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
|
183
|
-
#
|
184
|
-
#
|
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
|
@@ -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
|
712
|
-
#
|
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.
|
715
|
-
#
|
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
|
@@ -1094,8 +1131,7 @@ module Google
|
|
1094
1131
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1095
1132
|
# messages in your APIs. A typical example is to use it as the request or the
|
1096
1133
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1097
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1098
|
-
# Empty is empty JSON object ``.
|
1134
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1099
1135
|
class Empty
|
1100
1136
|
include Google::Apis::Core::Hashable
|
1101
1137
|
|
@@ -1372,6 +1408,147 @@ module Google
|
|
1372
1408
|
end
|
1373
1409
|
end
|
1374
1410
|
|
1411
|
+
# GKE Namespace. The field names correspond to the resource metadata labels on
|
1412
|
+
# monitored resources that fall under a namespace (e.g. k8s_container, k8s_pod).
|
1413
|
+
class GkeNamespace
|
1414
|
+
include Google::Apis::Core::Hashable
|
1415
|
+
|
1416
|
+
# The name of the parent cluster.
|
1417
|
+
# Corresponds to the JSON property `clusterName`
|
1418
|
+
# @return [String]
|
1419
|
+
attr_accessor :cluster_name
|
1420
|
+
|
1421
|
+
# The location of the parent cluster. This may be a zone or region.
|
1422
|
+
# Corresponds to the JSON property `location`
|
1423
|
+
# @return [String]
|
1424
|
+
attr_accessor :location
|
1425
|
+
|
1426
|
+
# The name of this namespace.
|
1427
|
+
# Corresponds to the JSON property `namespaceName`
|
1428
|
+
# @return [String]
|
1429
|
+
attr_accessor :namespace_name
|
1430
|
+
|
1431
|
+
# Output only. The project this resource lives in. For legacy services migrated
|
1432
|
+
# from the Custom type, this may be a distinct project from the one parenting
|
1433
|
+
# the service itself.
|
1434
|
+
# Corresponds to the JSON property `projectId`
|
1435
|
+
# @return [String]
|
1436
|
+
attr_accessor :project_id
|
1437
|
+
|
1438
|
+
def initialize(**args)
|
1439
|
+
update!(**args)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Update properties of this object
|
1443
|
+
def update!(**args)
|
1444
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
1445
|
+
@location = args[:location] if args.key?(:location)
|
1446
|
+
@namespace_name = args[:namespace_name] if args.key?(:namespace_name)
|
1447
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# GKE Service. The "service" here represents a Kubernetes service object (https:/
|
1452
|
+
# /kubernetes.io/docs/concepts/services-networking/service). The field names
|
1453
|
+
# correspond to the resource labels on k8s_service monitored resources: https://
|
1454
|
+
# cloud.google.com/monitoring/api/resources#tag_k8s_service
|
1455
|
+
class GkeService
|
1456
|
+
include Google::Apis::Core::Hashable
|
1457
|
+
|
1458
|
+
# The name of the parent cluster.
|
1459
|
+
# Corresponds to the JSON property `clusterName`
|
1460
|
+
# @return [String]
|
1461
|
+
attr_accessor :cluster_name
|
1462
|
+
|
1463
|
+
# The location of the parent cluster. This may be a zone or region.
|
1464
|
+
# Corresponds to the JSON property `location`
|
1465
|
+
# @return [String]
|
1466
|
+
attr_accessor :location
|
1467
|
+
|
1468
|
+
# The name of the parent namespace.
|
1469
|
+
# Corresponds to the JSON property `namespaceName`
|
1470
|
+
# @return [String]
|
1471
|
+
attr_accessor :namespace_name
|
1472
|
+
|
1473
|
+
# Output only. The project this resource lives in. For legacy services migrated
|
1474
|
+
# from the Custom type, this may be a distinct project from the one parenting
|
1475
|
+
# the service itself.
|
1476
|
+
# Corresponds to the JSON property `projectId`
|
1477
|
+
# @return [String]
|
1478
|
+
attr_accessor :project_id
|
1479
|
+
|
1480
|
+
# The name of this service.
|
1481
|
+
# Corresponds to the JSON property `serviceName`
|
1482
|
+
# @return [String]
|
1483
|
+
attr_accessor :service_name
|
1484
|
+
|
1485
|
+
def initialize(**args)
|
1486
|
+
update!(**args)
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Update properties of this object
|
1490
|
+
def update!(**args)
|
1491
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
1492
|
+
@location = args[:location] if args.key?(:location)
|
1493
|
+
@namespace_name = args[:namespace_name] if args.key?(:namespace_name)
|
1494
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1495
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
1496
|
+
end
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
|
1500
|
+
# the metadata labels on monitored resources that fall under a workload (e.g.
|
1501
|
+
# k8s_container, k8s_pod).
|
1502
|
+
class GkeWorkload
|
1503
|
+
include Google::Apis::Core::Hashable
|
1504
|
+
|
1505
|
+
# The name of the parent cluster.
|
1506
|
+
# Corresponds to the JSON property `clusterName`
|
1507
|
+
# @return [String]
|
1508
|
+
attr_accessor :cluster_name
|
1509
|
+
|
1510
|
+
# The location of the parent cluster. This may be a zone or region.
|
1511
|
+
# Corresponds to the JSON property `location`
|
1512
|
+
# @return [String]
|
1513
|
+
attr_accessor :location
|
1514
|
+
|
1515
|
+
# The name of the parent namespace.
|
1516
|
+
# Corresponds to the JSON property `namespaceName`
|
1517
|
+
# @return [String]
|
1518
|
+
attr_accessor :namespace_name
|
1519
|
+
|
1520
|
+
# Output only. The project this resource lives in. For legacy services migrated
|
1521
|
+
# from the Custom type, this may be a distinct project from the one parenting
|
1522
|
+
# the service itself.
|
1523
|
+
# Corresponds to the JSON property `projectId`
|
1524
|
+
# @return [String]
|
1525
|
+
attr_accessor :project_id
|
1526
|
+
|
1527
|
+
# The name of this workload.
|
1528
|
+
# Corresponds to the JSON property `topLevelControllerName`
|
1529
|
+
# @return [String]
|
1530
|
+
attr_accessor :top_level_controller_name
|
1531
|
+
|
1532
|
+
# The type of this workload (e.g. "Deployment" or "DaemonSet")
|
1533
|
+
# Corresponds to the JSON property `topLevelControllerType`
|
1534
|
+
# @return [String]
|
1535
|
+
attr_accessor :top_level_controller_type
|
1536
|
+
|
1537
|
+
def initialize(**args)
|
1538
|
+
update!(**args)
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
# Update properties of this object
|
1542
|
+
def update!(**args)
|
1543
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
1544
|
+
@location = args[:location] if args.key?(:location)
|
1545
|
+
@namespace_name = args[:namespace_name] if args.key?(:namespace_name)
|
1546
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1547
|
+
@top_level_controller_name = args[:top_level_controller_name] if args.key?(:top_level_controller_name)
|
1548
|
+
@top_level_controller_type = args[:top_level_controller_type] if args.key?(:top_level_controller_type)
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
|
1375
1552
|
# Range of numerical values within min and max.
|
1376
1553
|
class GoogleMonitoringV3Range
|
1377
1554
|
include Google::Apis::Core::Hashable
|
@@ -1581,7 +1758,7 @@ module Google
|
|
1581
1758
|
include Google::Apis::Core::Hashable
|
1582
1759
|
|
1583
1760
|
# The checker's human-readable name. The display name should be unique within a
|
1584
|
-
#
|
1761
|
+
# Cloud Monitoring Metrics Scope in order to make it easier to identify; however,
|
1585
1762
|
# uniqueness is not enforced.
|
1586
1763
|
# Corresponds to the JSON property `displayName`
|
1587
1764
|
# @return [String]
|
@@ -1595,8 +1772,8 @@ module Google
|
|
1595
1772
|
|
1596
1773
|
# A unique resource name for this InternalChecker. The format is: projects/[
|
1597
1774
|
# PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [
|
1598
|
-
# PROJECT_ID_OR_NUMBER] is the
|
1599
|
-
# check config associated with the internal checker.
|
1775
|
+
# PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the
|
1776
|
+
# Uptime check config associated with the internal checker.
|
1600
1777
|
# Corresponds to the JSON property `name`
|
1601
1778
|
# @return [String]
|
1602
1779
|
attr_accessor :name
|
@@ -1608,7 +1785,7 @@ module Google
|
|
1608
1785
|
attr_accessor :network
|
1609
1786
|
|
1610
1787
|
# The GCP project ID where the internal checker lives. Not necessary the same as
|
1611
|
-
# the
|
1788
|
+
# the Metrics Scope project.
|
1612
1789
|
# Corresponds to the JSON property `peerProjectId`
|
1613
1790
|
# @return [String]
|
1614
1791
|
attr_accessor :peer_project_id
|
@@ -1671,6 +1848,35 @@ module Google
|
|
1671
1848
|
end
|
1672
1849
|
end
|
1673
1850
|
|
1851
|
+
# Information needed to perform a JSONPath content match. Used for
|
1852
|
+
# ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::
|
1853
|
+
# NOT_MATCHES_JSON_PATH.
|
1854
|
+
class JsonPathMatcher
|
1855
|
+
include Google::Apis::Core::Hashable
|
1856
|
+
|
1857
|
+
# The type of JSONPath match that will be applied to the JSON output (
|
1858
|
+
# ContentMatcher.content)
|
1859
|
+
# Corresponds to the JSON property `jsonMatcher`
|
1860
|
+
# @return [String]
|
1861
|
+
attr_accessor :json_matcher
|
1862
|
+
|
1863
|
+
# JSONPath within the response output pointing to the expected ContentMatcher::
|
1864
|
+
# content to match against.
|
1865
|
+
# Corresponds to the JSON property `jsonPath`
|
1866
|
+
# @return [String]
|
1867
|
+
attr_accessor :json_path
|
1868
|
+
|
1869
|
+
def initialize(**args)
|
1870
|
+
update!(**args)
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# Update properties of this object
|
1874
|
+
def update!(**args)
|
1875
|
+
@json_matcher = args[:json_matcher] if args.key?(:json_matcher)
|
1876
|
+
@json_path = args[:json_path] if args.key?(:json_path)
|
1877
|
+
end
|
1878
|
+
end
|
1879
|
+
|
1674
1880
|
# A description of a label.
|
1675
1881
|
class LabelDescriptor
|
1676
1882
|
include Google::Apis::Core::Hashable
|
@@ -3450,6 +3656,11 @@ module Google
|
|
3450
3656
|
# @return [Google::Apis::MonitoringV3::CloudEndpoints]
|
3451
3657
|
attr_accessor :cloud_endpoints
|
3452
3658
|
|
3659
|
+
# Cloud Run service. Learn more at https://cloud.google.com/run.
|
3660
|
+
# Corresponds to the JSON property `cloudRun`
|
3661
|
+
# @return [Google::Apis::MonitoringV3::CloudRun]
|
3662
|
+
attr_accessor :cloud_run
|
3663
|
+
|
3453
3664
|
# Istio service scoped to a single Kubernetes cluster. Learn more at https://
|
3454
3665
|
# istio.io. Clusters running OSS Istio will have their services ingested as this
|
3455
3666
|
# type.
|
@@ -3468,6 +3679,27 @@ module Google
|
|
3468
3679
|
# @return [String]
|
3469
3680
|
attr_accessor :display_name
|
3470
3681
|
|
3682
|
+
# GKE Namespace. The field names correspond to the resource metadata labels on
|
3683
|
+
# monitored resources that fall under a namespace (e.g. k8s_container, k8s_pod).
|
3684
|
+
# Corresponds to the JSON property `gkeNamespace`
|
3685
|
+
# @return [Google::Apis::MonitoringV3::GkeNamespace]
|
3686
|
+
attr_accessor :gke_namespace
|
3687
|
+
|
3688
|
+
# GKE Service. The "service" here represents a Kubernetes service object (https:/
|
3689
|
+
# /kubernetes.io/docs/concepts/services-networking/service). The field names
|
3690
|
+
# correspond to the resource labels on k8s_service monitored resources: https://
|
3691
|
+
# cloud.google.com/monitoring/api/resources#tag_k8s_service
|
3692
|
+
# Corresponds to the JSON property `gkeService`
|
3693
|
+
# @return [Google::Apis::MonitoringV3::GkeService]
|
3694
|
+
attr_accessor :gke_service
|
3695
|
+
|
3696
|
+
# A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to
|
3697
|
+
# the metadata labels on monitored resources that fall under a workload (e.g.
|
3698
|
+
# k8s_container, k8s_pod).
|
3699
|
+
# Corresponds to the JSON property `gkeWorkload`
|
3700
|
+
# @return [Google::Apis::MonitoringV3::GkeWorkload]
|
3701
|
+
attr_accessor :gke_workload
|
3702
|
+
|
3471
3703
|
# Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
|
3472
3704
|
# 8 will have their services ingested as this type.
|
3473
3705
|
# Corresponds to the JSON property `istioCanonicalService`
|
@@ -3509,9 +3741,13 @@ module Google
|
|
3509
3741
|
def update!(**args)
|
3510
3742
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
3511
3743
|
@cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
|
3744
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
3512
3745
|
@cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
|
3513
3746
|
@custom = args[:custom] if args.key?(:custom)
|
3514
3747
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3748
|
+
@gke_namespace = args[:gke_namespace] if args.key?(:gke_namespace)
|
3749
|
+
@gke_service = args[:gke_service] if args.key?(:gke_service)
|
3750
|
+
@gke_workload = args[:gke_workload] if args.key?(:gke_workload)
|
3515
3751
|
@istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service)
|
3516
3752
|
@mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
|
3517
3753
|
@name = args[:name] if args.key?(:name)
|
@@ -4170,8 +4406,8 @@ module Google
|
|
4170
4406
|
attr_accessor :content_matchers
|
4171
4407
|
|
4172
4408
|
# A human-friendly name for the Uptime check configuration. The display name
|
4173
|
-
# should be unique within a
|
4174
|
-
# identify; however, uniqueness is not enforced. Required.
|
4409
|
+
# should be unique within a Cloud Monitoring Workspace in order to make it
|
4410
|
+
# easier to identify; however, uniqueness is not enforced. Required.
|
4175
4411
|
# Corresponds to the JSON property `displayName`
|
4176
4412
|
# @return [String]
|
4177
4413
|
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.
|
19
|
+
GEM_VERSION = "0.26.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 = "
|
25
|
+
REVISION = "20220513"
|
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
|
387
|
-
# return. The alerting policy that is returned will have a name that
|
388
|
-
# normalized representation of this name as a prefix but adds a
|
389
|
-
# form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in
|
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
|
545
|
-
#
|
546
|
-
#
|
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
|
-
#
|
595
|
-
#
|
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
|
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
|
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
|
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
|
2091
|
-
#
|
2092
|
-
#
|
2093
|
-
#
|
2094
|
-
#
|
2095
|
-
#
|
2096
|
-
#
|
2097
|
-
#
|
2098
|
-
#
|
2099
|
-
#
|
2100
|
-
#
|
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
|
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.
|
4
|
+
version: 0.26.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-
|
11
|
+
date: 2022-05-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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.26.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: []
|