google-apis-monitoring_v3 0.24.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: d814121507ec661d295572ba575ab2ffd673c8022205cb0a435bae476b440ac5
4
- data.tar.gz: e2cc0e379ae4334899c929c0416cfec67b35f6a96d7ab80c93181fd45544df55
3
+ metadata.gz: aa0c91ffdd3ca73974a4e88bb7615cb007e91e25d31be77e01896dab225ce21b
4
+ data.tar.gz: 7980e541b104f08f54805540925753baf35d5e1bd7dead21aa2e55544f465ebb
5
5
  SHA512:
6
- metadata.gz: 06b96b95584110bedf6aab38ad00a6d0c61117c71f7ab86131f76c805cad6ed38fefca664b8ca7285ab3105ea43a318095b39fcc0e20bc2c8c6ed51120be17b6
7
- data.tar.gz: 8be19dc679fc66e9bb0fdcda02fe86fbf557e84b15f4be2b4b771d698365579409ef885266202d627876f145b70355fc2f3cfd99d35a57e1cc4211a34152335e
6
+ metadata.gz: 579419f90d234e3742c520bde1c5a46d0fb4da958e746c6957753effb2ef16dddb5795f1137c625a9899f6973278eb344e346dd9c980936e43ab0f0ab1537884
7
+ data.tar.gz: d1ea9892bfde7a6630ba7760a3790d444512a6e20e1994b5b4f9638219de7882b861120d7a901982d2c485fed7fe7c736f500c0f55d26794c2c395202946759e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.24.0 (2022-03-25)
4
8
 
5
9
  * 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
@@ -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
@@ -1371,6 +1400,147 @@ module Google
1371
1400
  end
1372
1401
  end
1373
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
+
1374
1544
  # Range of numerical values within min and max.
1375
1545
  class GoogleMonitoringV3Range
1376
1546
  include Google::Apis::Core::Hashable
@@ -1580,7 +1750,7 @@ module Google
1580
1750
  include Google::Apis::Core::Hashable
1581
1751
 
1582
1752
  # 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,
1753
+ # Cloud Monitoring Metrics Scope in order to make it easier to identify; however,
1584
1754
  # uniqueness is not enforced.
1585
1755
  # Corresponds to the JSON property `displayName`
1586
1756
  # @return [String]
@@ -1594,8 +1764,8 @@ module Google
1594
1764
 
1595
1765
  # A unique resource name for this InternalChecker. The format is: projects/[
1596
1766
  # 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.
1767
+ # PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the
1768
+ # Uptime check config associated with the internal checker.
1599
1769
  # Corresponds to the JSON property `name`
1600
1770
  # @return [String]
1601
1771
  attr_accessor :name
@@ -1607,7 +1777,7 @@ module Google
1607
1777
  attr_accessor :network
1608
1778
 
1609
1779
  # The GCP project ID where the internal checker lives. Not necessary the same as
1610
- # the Workspace project.
1780
+ # the Metrics Scope project.
1611
1781
  # Corresponds to the JSON property `peerProjectId`
1612
1782
  # @return [String]
1613
1783
  attr_accessor :peer_project_id
@@ -3449,6 +3619,11 @@ module Google
3449
3619
  # @return [Google::Apis::MonitoringV3::CloudEndpoints]
3450
3620
  attr_accessor :cloud_endpoints
3451
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
+
3452
3627
  # Istio service scoped to a single Kubernetes cluster. Learn more at https://
3453
3628
  # istio.io. Clusters running OSS Istio will have their services ingested as this
3454
3629
  # type.
@@ -3467,6 +3642,27 @@ module Google
3467
3642
  # @return [String]
3468
3643
  attr_accessor :display_name
3469
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
+
3470
3666
  # Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
3471
3667
  # 8 will have their services ingested as this type.
3472
3668
  # Corresponds to the JSON property `istioCanonicalService`
@@ -3508,9 +3704,13 @@ module Google
3508
3704
  def update!(**args)
3509
3705
  @app_engine = args[:app_engine] if args.key?(:app_engine)
3510
3706
  @cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
3707
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3511
3708
  @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
3512
3709
  @custom = args[:custom] if args.key?(:custom)
3513
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)
3514
3714
  @istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service)
3515
3715
  @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
3516
3716
  @name = args[:name] if args.key?(:name)
@@ -4169,8 +4369,8 @@ module Google
4169
4369
  attr_accessor :content_matchers
4170
4370
 
4171
4371
  # 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.
4372
+ # should be unique within a Cloud Monitoring Workspace in order to make it
4373
+ # easier to identify; however, uniqueness is not enforced. Required.
4174
4374
  # Corresponds to the JSON property `displayName`
4175
4375
  # @return [String]
4176
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.24.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 = "20220322"
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.24.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-03-28 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.24.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: []