google-apis-monitoring_v3 0.22.0 → 0.25.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: 3c9233444fe4fcb43af9e29f5adcce4ef313ae441bc2df75ec493bb384a2bbc3
4
- data.tar.gz: 4bc8b8a451f10bca9ba65364af016cf21a2279a88129c6ca6ae3aaed7a6e1dc8
3
+ metadata.gz: aa0c91ffdd3ca73974a4e88bb7615cb007e91e25d31be77e01896dab225ce21b
4
+ data.tar.gz: 7980e541b104f08f54805540925753baf35d5e1bd7dead21aa2e55544f465ebb
5
5
  SHA512:
6
- metadata.gz: f77acdb3927e4ddf88f7935056b38bbf37fc3951a29dd9996b4f87d3e27ca3cba90777b1a85c1fd6f5c59926581b59d5093e5c43741d362878f61228b079bc79
7
- data.tar.gz: 7bf77b8085c8f8f6c4033268b33eb4cb6ae95adcd49fe16e427ff64b8494af51a0eaf37c5a282f4cd1e4c52f1269ac7bcbdb090dd3ab5bc077ba2897273ce161
6
+ metadata.gz: 579419f90d234e3742c520bde1c5a46d0fb4da958e746c6957753effb2ef16dddb5795f1137c625a9899f6973278eb344e346dd9c980936e43ab0f0ab1537884
7
+ data.tar.gz: d1ea9892bfde7a6630ba7760a3790d444512a6e20e1994b5b4f9638219de7882b861120d7a901982d2c485fed7fe7c736f500c0f55d26794c2c395202946759e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.25.0 (2022-05-13)
4
+
5
+ * Regenerated from discovery document revision 20220507
6
+
7
+ ### v0.24.0 (2022-03-25)
8
+
9
+ * Regenerated from discovery document revision 20220322
10
+
11
+ ### v0.23.0 (2022-02-25)
12
+
13
+ * Regenerated from discovery document revision 20220218
14
+
3
15
  ### v0.22.0 (2022-02-18)
4
16
 
5
17
  * Regenerated from discovery document revision 20220214
@@ -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
@@ -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
@@ -746,8 +775,8 @@ module Google
746
775
  class ContentMatcher
747
776
  include Google::Apis::Core::Hashable
748
777
 
749
- # String or regex content to match. Maximum 1024 bytes. An empty content string
750
- # indicates no content matching is to be performed.
778
+ # String, regex or JSON content to match. Maximum 1024 bytes. An empty content
779
+ # string indicates no content matching is to be performed.
751
780
  # Corresponds to the JSON property `content`
752
781
  # @return [String]
753
782
  attr_accessor :content
@@ -1094,8 +1123,7 @@ module Google
1094
1123
  # A generic empty message that you can re-use to avoid defining duplicated empty
1095
1124
  # messages in your APIs. A typical example is to use it as the request or the
1096
1125
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1097
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1098
- # Empty is empty JSON object ``.
1126
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1099
1127
  class Empty
1100
1128
  include Google::Apis::Core::Hashable
1101
1129
 
@@ -1372,6 +1400,147 @@ module Google
1372
1400
  end
1373
1401
  end
1374
1402
 
1403
+ # 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).
1405
+ class GkeNamespace
1406
+ include Google::Apis::Core::Hashable
1407
+
1408
+ # The name of the parent cluster.
1409
+ # Corresponds to the JSON property `clusterName`
1410
+ # @return [String]
1411
+ attr_accessor :cluster_name
1412
+
1413
+ # The location of the parent cluster. This may be a zone or region.
1414
+ # Corresponds to the JSON property `location`
1415
+ # @return [String]
1416
+ attr_accessor :location
1417
+
1418
+ # The name of this namespace.
1419
+ # Corresponds to the JSON property `namespaceName`
1420
+ # @return [String]
1421
+ attr_accessor :namespace_name
1422
+
1423
+ # Output only. The project this resource lives in. For legacy services migrated
1424
+ # from the Custom type, this may be a distinct project from the one parenting
1425
+ # the service itself.
1426
+ # Corresponds to the JSON property `projectId`
1427
+ # @return [String]
1428
+ attr_accessor :project_id
1429
+
1430
+ def initialize(**args)
1431
+ update!(**args)
1432
+ end
1433
+
1434
+ # Update properties of this object
1435
+ def update!(**args)
1436
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1437
+ @location = args[:location] if args.key?(:location)
1438
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1439
+ @project_id = args[:project_id] if args.key?(:project_id)
1440
+ end
1441
+ end
1442
+
1443
+ # GKE Service. The "service" here represents a Kubernetes service object (https:/
1444
+ # /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
1447
+ class GkeService
1448
+ include Google::Apis::Core::Hashable
1449
+
1450
+ # The name of the parent cluster.
1451
+ # Corresponds to the JSON property `clusterName`
1452
+ # @return [String]
1453
+ attr_accessor :cluster_name
1454
+
1455
+ # The location of the parent cluster. This may be a zone or region.
1456
+ # Corresponds to the JSON property `location`
1457
+ # @return [String]
1458
+ attr_accessor :location
1459
+
1460
+ # The name of the parent namespace.
1461
+ # Corresponds to the JSON property `namespaceName`
1462
+ # @return [String]
1463
+ attr_accessor :namespace_name
1464
+
1465
+ # Output only. The project this resource lives in. For legacy services migrated
1466
+ # from the Custom type, this may be a distinct project from the one parenting
1467
+ # the service itself.
1468
+ # Corresponds to the JSON property `projectId`
1469
+ # @return [String]
1470
+ attr_accessor :project_id
1471
+
1472
+ # The name of this service.
1473
+ # Corresponds to the JSON property `serviceName`
1474
+ # @return [String]
1475
+ attr_accessor :service_name
1476
+
1477
+ def initialize(**args)
1478
+ update!(**args)
1479
+ end
1480
+
1481
+ # Update properties of this object
1482
+ def update!(**args)
1483
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1484
+ @location = args[:location] if args.key?(:location)
1485
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1486
+ @project_id = args[:project_id] if args.key?(:project_id)
1487
+ @service_name = args[:service_name] if args.key?(:service_name)
1488
+ end
1489
+ end
1490
+
1491
+ # 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).
1494
+ class GkeWorkload
1495
+ include Google::Apis::Core::Hashable
1496
+
1497
+ # The name of the parent cluster.
1498
+ # Corresponds to the JSON property `clusterName`
1499
+ # @return [String]
1500
+ attr_accessor :cluster_name
1501
+
1502
+ # The location of the parent cluster. This may be a zone or region.
1503
+ # Corresponds to the JSON property `location`
1504
+ # @return [String]
1505
+ attr_accessor :location
1506
+
1507
+ # The name of the parent namespace.
1508
+ # Corresponds to the JSON property `namespaceName`
1509
+ # @return [String]
1510
+ attr_accessor :namespace_name
1511
+
1512
+ # Output only. The project this resource lives in. For legacy services migrated
1513
+ # from the Custom type, this may be a distinct project from the one parenting
1514
+ # the service itself.
1515
+ # Corresponds to the JSON property `projectId`
1516
+ # @return [String]
1517
+ attr_accessor :project_id
1518
+
1519
+ # The name of this workload.
1520
+ # Corresponds to the JSON property `topLevelControllerName`
1521
+ # @return [String]
1522
+ attr_accessor :top_level_controller_name
1523
+
1524
+ # The type of this workload (e.g. "Deployment" or "DaemonSet")
1525
+ # Corresponds to the JSON property `topLevelControllerType`
1526
+ # @return [String]
1527
+ attr_accessor :top_level_controller_type
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1536
+ @location = args[:location] if args.key?(:location)
1537
+ @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
1538
+ @project_id = args[:project_id] if args.key?(:project_id)
1539
+ @top_level_controller_name = args[:top_level_controller_name] if args.key?(:top_level_controller_name)
1540
+ @top_level_controller_type = args[:top_level_controller_type] if args.key?(:top_level_controller_type)
1541
+ end
1542
+ end
1543
+
1375
1544
  # Range of numerical values within min and max.
1376
1545
  class GoogleMonitoringV3Range
1377
1546
  include Google::Apis::Core::Hashable
@@ -1581,7 +1750,7 @@ module Google
1581
1750
  include Google::Apis::Core::Hashable
1582
1751
 
1583
1752
  # The checker's human-readable name. The display name should be unique within a
1584
- # Stackdriver Workspace in order to make it easier to identify; however,
1753
+ # Cloud Monitoring Metrics Scope in order to make it easier to identify; however,
1585
1754
  # uniqueness is not enforced.
1586
1755
  # Corresponds to the JSON property `displayName`
1587
1756
  # @return [String]
@@ -1595,8 +1764,8 @@ module Google
1595
1764
 
1596
1765
  # A unique resource name for this InternalChecker. The format is: projects/[
1597
1766
  # PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [
1598
- # PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime
1599
- # check config associated with the internal checker.
1767
+ # PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the
1768
+ # Uptime check config associated with the internal checker.
1600
1769
  # Corresponds to the JSON property `name`
1601
1770
  # @return [String]
1602
1771
  attr_accessor :name
@@ -1608,7 +1777,7 @@ module Google
1608
1777
  attr_accessor :network
1609
1778
 
1610
1779
  # The GCP project ID where the internal checker lives. Not necessary the same as
1611
- # the Workspace project.
1780
+ # the Metrics Scope project.
1612
1781
  # Corresponds to the JSON property `peerProjectId`
1613
1782
  # @return [String]
1614
1783
  attr_accessor :peer_project_id
@@ -3450,6 +3619,11 @@ module Google
3450
3619
  # @return [Google::Apis::MonitoringV3::CloudEndpoints]
3451
3620
  attr_accessor :cloud_endpoints
3452
3621
 
3622
+ # Cloud Run service. Learn more at https://cloud.google.com/run.
3623
+ # Corresponds to the JSON property `cloudRun`
3624
+ # @return [Google::Apis::MonitoringV3::CloudRun]
3625
+ attr_accessor :cloud_run
3626
+
3453
3627
  # Istio service scoped to a single Kubernetes cluster. Learn more at https://
3454
3628
  # istio.io. Clusters running OSS Istio will have their services ingested as this
3455
3629
  # type.
@@ -3468,6 +3642,27 @@ module Google
3468
3642
  # @return [String]
3469
3643
  attr_accessor :display_name
3470
3644
 
3645
+ # 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).
3647
+ # Corresponds to the JSON property `gkeNamespace`
3648
+ # @return [Google::Apis::MonitoringV3::GkeNamespace]
3649
+ attr_accessor :gke_namespace
3650
+
3651
+ # GKE Service. The "service" here represents a Kubernetes service object (https:/
3652
+ # /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
3655
+ # Corresponds to the JSON property `gkeService`
3656
+ # @return [Google::Apis::MonitoringV3::GkeService]
3657
+ attr_accessor :gke_service
3658
+
3659
+ # 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).
3662
+ # Corresponds to the JSON property `gkeWorkload`
3663
+ # @return [Google::Apis::MonitoringV3::GkeWorkload]
3664
+ attr_accessor :gke_workload
3665
+
3471
3666
  # Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
3472
3667
  # 8 will have their services ingested as this type.
3473
3668
  # Corresponds to the JSON property `istioCanonicalService`
@@ -3509,9 +3704,13 @@ module Google
3509
3704
  def update!(**args)
3510
3705
  @app_engine = args[:app_engine] if args.key?(:app_engine)
3511
3706
  @cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
3707
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3512
3708
  @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
3513
3709
  @custom = args[:custom] if args.key?(:custom)
3514
3710
  @display_name = args[:display_name] if args.key?(:display_name)
3711
+ @gke_namespace = args[:gke_namespace] if args.key?(:gke_namespace)
3712
+ @gke_service = args[:gke_service] if args.key?(:gke_service)
3713
+ @gke_workload = args[:gke_workload] if args.key?(:gke_workload)
3515
3714
  @istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service)
3516
3715
  @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
3517
3716
  @name = args[:name] if args.key?(:name)
@@ -4170,8 +4369,8 @@ module Google
4170
4369
  attr_accessor :content_matchers
4171
4370
 
4172
4371
  # A human-friendly name for the Uptime check configuration. The display name
4173
- # should be unique within a Stackdriver Workspace in order to make it easier to
4174
- # identify; however, uniqueness is not enforced. Required.
4372
+ # should be unique within a Cloud Monitoring Workspace in order to make it
4373
+ # easier to identify; however, uniqueness is not enforced. Required.
4175
4374
  # Corresponds to the JSON property `displayName`
4176
4375
  # @return [String]
4177
4376
  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.22.0"
19
+ GEM_VERSION = "0.25.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 = "20220214"
25
+ REVISION = "20220507"
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
 
@@ -730,6 +754,14 @@ module Google
730
754
  end
731
755
  end
732
756
 
757
+ class CloudRun
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :location, as: 'location'
761
+ property :service_name, as: 'serviceName'
762
+ end
763
+ end
764
+
733
765
  class ClusterIstio
734
766
  # @private
735
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -967,6 +999,39 @@ module Google
967
999
  end
968
1000
  end
969
1001
 
1002
+ class GkeNamespace
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :cluster_name, as: 'clusterName'
1006
+ property :location, as: 'location'
1007
+ property :namespace_name, as: 'namespaceName'
1008
+ property :project_id, as: 'projectId'
1009
+ end
1010
+ end
1011
+
1012
+ class GkeService
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :cluster_name, as: 'clusterName'
1016
+ property :location, as: 'location'
1017
+ property :namespace_name, as: 'namespaceName'
1018
+ property :project_id, as: 'projectId'
1019
+ property :service_name, as: 'serviceName'
1020
+ end
1021
+ end
1022
+
1023
+ class GkeWorkload
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :cluster_name, as: 'clusterName'
1027
+ property :location, as: 'location'
1028
+ property :namespace_name, as: 'namespaceName'
1029
+ property :project_id, as: 'projectId'
1030
+ property :top_level_controller_name, as: 'topLevelControllerName'
1031
+ property :top_level_controller_type, as: 'topLevelControllerType'
1032
+ end
1033
+ end
1034
+
970
1035
  class GoogleMonitoringV3Range
971
1036
  # @private
972
1037
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1461,11 +1526,19 @@ module Google
1461
1526
 
1462
1527
  property :cloud_endpoints, as: 'cloudEndpoints', class: Google::Apis::MonitoringV3::CloudEndpoints, decorator: Google::Apis::MonitoringV3::CloudEndpoints::Representation
1463
1528
 
1529
+ property :cloud_run, as: 'cloudRun', class: Google::Apis::MonitoringV3::CloudRun, decorator: Google::Apis::MonitoringV3::CloudRun::Representation
1530
+
1464
1531
  property :cluster_istio, as: 'clusterIstio', class: Google::Apis::MonitoringV3::ClusterIstio, decorator: Google::Apis::MonitoringV3::ClusterIstio::Representation
1465
1532
 
1466
1533
  property :custom, as: 'custom', class: Google::Apis::MonitoringV3::Custom, decorator: Google::Apis::MonitoringV3::Custom::Representation
1467
1534
 
1468
1535
  property :display_name, as: 'displayName'
1536
+ property :gke_namespace, as: 'gkeNamespace', class: Google::Apis::MonitoringV3::GkeNamespace, decorator: Google::Apis::MonitoringV3::GkeNamespace::Representation
1537
+
1538
+ property :gke_service, as: 'gkeService', class: Google::Apis::MonitoringV3::GkeService, decorator: Google::Apis::MonitoringV3::GkeService::Representation
1539
+
1540
+ property :gke_workload, as: 'gkeWorkload', class: Google::Apis::MonitoringV3::GkeWorkload, decorator: Google::Apis::MonitoringV3::GkeWorkload::Representation
1541
+
1469
1542
  property :istio_canonical_service, as: 'istioCanonicalService', class: Google::Apis::MonitoringV3::IstioCanonicalService, decorator: Google::Apis::MonitoringV3::IstioCanonicalService::Representation
1470
1543
 
1471
1544
  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.22.0
4
+ version: 0.25.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-02-21 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.25.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: []