google-apis-monitoring_v3 0.34.0 → 0.36.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: 1174c393042b09678c22d112a6ba0ca3f6c89f731fc367da626c67eb33b85a66
4
- data.tar.gz: 1abf544c2d8832fd64024f5a4f88d5fd48255bde8842bdc14f5dabb43794b163
3
+ metadata.gz: 940cdce2547ed8552227ccb3a36e09d6ce67afdf76bfbb30b46235daa1d414d3
4
+ data.tar.gz: a6d4f9993e910acdd45c7e6939e106f6353623170e36aa93ae0ccde575e1def1
5
5
  SHA512:
6
- metadata.gz: fb13db287e2005714434fc1b7f22811d8a853669ce39c2afb6aacb557d5a33f46d68bae15c907d1e5806434400bba56fe11a13d2636c8c9e75e8d013f6805f83
7
- data.tar.gz: f93854d51f6c3c1e44bfb1596364c419b3a542e254151dbab31ffa8f71416e3bba6f5f5c92e0ba04b64a4d10507fcd44c13ed8d78cb5d65cc32d750234131cfc
6
+ metadata.gz: e850a5c2a51a711730fea3ab753b34908f4f12997de0c5ae7ea909b5298165aec02f1bb48ea36cc761e6f3043fd225e9eba1a3958fe20c0f2797e7a27fc4075c
7
+ data.tar.gz: 639dcc02e5ddb10f5582d8c29dee13fa3d3d5a9ad2c0a11a482626e5eefe978a20053aa765cb5be3dc5c21dd6834014d14cac1524736df140dbae60d0bdab7b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.36.0 (2022-10-05)
4
+
5
+ * Regenerated from discovery document revision 20220930
6
+
7
+ ### v0.35.0 (2022-09-28)
8
+
9
+ * Regenerated from discovery document revision 20220926
10
+
3
11
  ### v0.34.0 (2022-09-20)
4
12
 
5
13
  * Regenerated using generator version 0.10.0
@@ -325,6 +325,39 @@ module Google
325
325
  end
326
326
  end
327
327
 
328
+ # A well-known service type, defined by its service type and service labels.
329
+ # Documentation and examples here (https://cloud.google.com/stackdriver/docs/
330
+ # solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
331
+ class BasicService
332
+ include Google::Apis::Core::Hashable
333
+
334
+ # Labels that specify the resource that emits the monitoring data which is used
335
+ # for SLO reporting of this Service. Documentation and valid values for given
336
+ # service types here (https://cloud.google.com/stackdriver/docs/solutions/slo-
337
+ # monitoring/api/api-structures#basic-svc-w-basic-sli).
338
+ # Corresponds to the JSON property `serviceLabels`
339
+ # @return [Hash<String,String>]
340
+ attr_accessor :service_labels
341
+
342
+ # The type of service that this basic service defines, e.g. APP_ENGINE service
343
+ # type. Documentation and valid values here (https://cloud.google.com/
344
+ # stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-
345
+ # sli).
346
+ # Corresponds to the JSON property `serviceType`
347
+ # @return [String]
348
+ attr_accessor :service_type
349
+
350
+ def initialize(**args)
351
+ update!(**args)
352
+ end
353
+
354
+ # Update properties of this object
355
+ def update!(**args)
356
+ @service_labels = args[:service_labels] if args.key?(:service_labels)
357
+ @service_type = args[:service_type] if args.key?(:service_type)
358
+ end
359
+ end
360
+
328
361
  # An SLI measuring performance on a well-known service type. Performance will be
329
362
  # computed on the basis of pre-defined metrics. The type of the service_resource
330
363
  # determines the metrics to use and the service_resource.labels and
@@ -932,8 +965,9 @@ module Google
932
965
  end
933
966
  end
934
967
 
935
- # Custom view of service telemetry. Currently a place-holder pending final
936
- # design.
968
+ # Use a custom service to designate a service that you want to monitor when none
969
+ # of the other service types (like App Engine, Cloud Run, or a GKE type) matches
970
+ # your intended service.
937
971
  class Custom
938
972
  include Google::Apis::Core::Hashable
939
973
 
@@ -3713,6 +3747,13 @@ module Google
3713
3747
  # @return [Google::Apis::MonitoringV3::AppEngine]
3714
3748
  attr_accessor :app_engine
3715
3749
 
3750
+ # A well-known service type, defined by its service type and service labels.
3751
+ # Documentation and examples here (https://cloud.google.com/stackdriver/docs/
3752
+ # solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
3753
+ # Corresponds to the JSON property `basicService`
3754
+ # @return [Google::Apis::MonitoringV3::BasicService]
3755
+ attr_accessor :basic_service
3756
+
3716
3757
  # Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
3717
3758
  # Corresponds to the JSON property `cloudEndpoints`
3718
3759
  # @return [Google::Apis::MonitoringV3::CloudEndpoints]
@@ -3730,8 +3771,9 @@ module Google
3730
3771
  # @return [Google::Apis::MonitoringV3::ClusterIstio]
3731
3772
  attr_accessor :cluster_istio
3732
3773
 
3733
- # Custom view of service telemetry. Currently a place-holder pending final
3734
- # design.
3774
+ # Use a custom service to designate a service that you want to monitor when none
3775
+ # of the other service types (like App Engine, Cloud Run, or a GKE type) matches
3776
+ # your intended service.
3735
3777
  # Corresponds to the JSON property `custom`
3736
3778
  # @return [Google::Apis::MonitoringV3::Custom]
3737
3779
  attr_accessor :custom
@@ -3803,6 +3845,7 @@ module Google
3803
3845
  # Update properties of this object
3804
3846
  def update!(**args)
3805
3847
  @app_engine = args[:app_engine] if args.key?(:app_engine)
3848
+ @basic_service = args[:basic_service] if args.key?(:basic_service)
3806
3849
  @cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints)
3807
3850
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3808
3851
  @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220819"
25
+ REVISION = "20220930"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BasicService
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class BasicSli
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -740,6 +746,14 @@ module Google
740
746
  end
741
747
  end
742
748
 
749
+ class BasicService
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ hash :service_labels, as: 'serviceLabels'
753
+ property :service_type, as: 'serviceType'
754
+ end
755
+ end
756
+
743
757
  class BasicSli
744
758
  # @private
745
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1571,6 +1585,8 @@ module Google
1571
1585
  class Representation < Google::Apis::Core::JsonRepresentation
1572
1586
  property :app_engine, as: 'appEngine', class: Google::Apis::MonitoringV3::AppEngine, decorator: Google::Apis::MonitoringV3::AppEngine::Representation
1573
1587
 
1588
+ property :basic_service, as: 'basicService', class: Google::Apis::MonitoringV3::BasicService, decorator: Google::Apis::MonitoringV3::BasicService::Representation
1589
+
1574
1590
  property :cloud_endpoints, as: 'cloudEndpoints', class: Google::Apis::MonitoringV3::CloudEndpoints, decorator: Google::Apis::MonitoringV3::CloudEndpoints::Representation
1575
1591
 
1576
1592
  property :cloud_run, as: 'cloudRun', class: Google::Apis::MonitoringV3::CloudRun, decorator: Google::Apis::MonitoringV3::CloudRun::Representation
@@ -377,7 +377,9 @@ module Google
377
377
  execute_or_queue_command(command, &block)
378
378
  end
379
379
 
380
- # Creates a new alerting policy.
380
+ # Creates a new alerting policy.Design your application to single-thread API
381
+ # calls that modify the state of alerting policies in a single project. This
382
+ # includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
381
383
  # @param [String] name
382
384
  # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
383
385
  # in which to create the alerting policy. The format is: projects/[
@@ -418,7 +420,9 @@ module Google
418
420
  execute_or_queue_command(command, &block)
419
421
  end
420
422
 
421
- # Deletes an alerting policy.
423
+ # Deletes an alerting policy.Design your application to single-thread API calls
424
+ # that modify the state of alerting policies in a single project. This includes
425
+ # calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
422
426
  # @param [String] name
423
427
  # Required. The alerting policy to delete. The format is: projects/[
424
428
  # PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] For more information,
@@ -538,7 +542,9 @@ module Google
538
542
  # Updates an alerting policy. You can either replace the entire policy with a
539
543
  # new one or replace only certain fields in the current alerting policy by
540
544
  # specifying the fields to be updated via updateMask. Returns the updated
541
- # alerting policy.
545
+ # alerting policy.Design your application to single-thread API calls that modify
546
+ # the state of alerting policies in a single project. This includes calls to
547
+ # CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
542
548
  # @param [String] name
543
549
  # Required if the policy exists. The resource name for this policy. The format
544
550
  # is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
@@ -1188,7 +1194,11 @@ module Google
1188
1194
  end
1189
1195
 
1190
1196
  # Creates a new notification channel, representing a single notification
1191
- # endpoint such as an email address, SMS number, or PagerDuty service.
1197
+ # endpoint such as an email address, SMS number, or PagerDuty service.Design
1198
+ # your application to single-thread API calls that modify the state of
1199
+ # notification channels in a single project. This includes calls to
1200
+ # CreateNotificationChannel, DeleteNotificationChannel and
1201
+ # UpdateNotificationChannel.
1192
1202
  # @param [String] name
1193
1203
  # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1194
1204
  # on which to execute the request. The format is: projects/[
@@ -1226,7 +1236,10 @@ module Google
1226
1236
  execute_or_queue_command(command, &block)
1227
1237
  end
1228
1238
 
1229
- # Deletes a notification channel.
1239
+ # Deletes a notification channel.Design your application to single-thread API
1240
+ # calls that modify the state of notification channels in a single project. This
1241
+ # includes calls to CreateNotificationChannel, DeleteNotificationChannel and
1242
+ # UpdateNotificationChannel.
1230
1243
  # @param [String] name
1231
1244
  # Required. The channel for which to execute the request. The format is:
1232
1245
  # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1407,7 +1420,10 @@ module Google
1407
1420
  end
1408
1421
 
1409
1422
  # Updates a notification channel. Fields not specified in the field mask remain
1410
- # unchanged.
1423
+ # unchanged.Design your application to single-thread API calls that modify the
1424
+ # state of notification channels in a single project. This includes calls to
1425
+ # CreateNotificationChannel, DeleteNotificationChannel and
1426
+ # UpdateNotificationChannel.
1411
1427
  # @param [String] name
1412
1428
  # The full REST resource name for this channel. The format is: projects/[
1413
1429
  # PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is
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.34.0
4
+ version: 0.36.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-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-17 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.36.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: []