google-cloud-monitoring-v3 0.4.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +113 -20
  3. data/lib/google/cloud/monitoring/v3/group_service/client.rb +142 -26
  4. data/lib/google/cloud/monitoring/v3/metric_service/client.rb +309 -38
  5. data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +227 -41
  6. data/lib/google/cloud/monitoring/v3/query_service/client.rb +28 -4
  7. data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +222 -38
  8. data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +135 -21
  9. data/lib/google/cloud/monitoring/v3/version.rb +1 -1
  10. data/lib/google/monitoring/v3/alert_pb.rb +18 -2
  11. data/lib/google/monitoring/v3/alert_service_pb.rb +2 -2
  12. data/lib/google/monitoring/v3/alert_service_services_pb.rb +1 -1
  13. data/lib/google/monitoring/v3/common_pb.rb +2 -2
  14. data/lib/google/monitoring/v3/group_pb.rb +1 -1
  15. data/lib/google/monitoring/v3/group_service_pb.rb +2 -2
  16. data/lib/google/monitoring/v3/group_service_services_pb.rb +1 -1
  17. data/lib/google/monitoring/v3/metric_pb.rb +2 -2
  18. data/lib/google/monitoring/v3/metric_service_pb.rb +2 -2
  19. data/lib/google/monitoring/v3/metric_service_services_pb.rb +13 -1
  20. data/lib/google/monitoring/v3/mutation_record_pb.rb +1 -1
  21. data/lib/google/monitoring/v3/notification_pb.rb +2 -2
  22. data/lib/google/monitoring/v3/notification_service_pb.rb +2 -2
  23. data/lib/google/monitoring/v3/notification_service_services_pb.rb +1 -1
  24. data/lib/google/monitoring/v3/query_service_pb.rb +2 -2
  25. data/lib/google/monitoring/v3/query_service_services_pb.rb +1 -1
  26. data/lib/google/monitoring/v3/service_pb.rb +5 -2
  27. data/lib/google/monitoring/v3/service_service_pb.rb +2 -2
  28. data/lib/google/monitoring/v3/service_service_services_pb.rb +1 -1
  29. data/lib/google/monitoring/v3/uptime_pb.rb +2 -2
  30. data/lib/google/monitoring/v3/uptime_service_pb.rb +3 -2
  31. data/lib/google/monitoring/v3/uptime_service_services_pb.rb +1 -1
  32. data/proto_docs/google/longrunning/operations.rb +164 -0
  33. data/proto_docs/google/monitoring/v3/alert.rb +72 -3
  34. data/proto_docs/google/monitoring/v3/alert_service.rb +4 -2
  35. data/proto_docs/google/monitoring/v3/common.rb +18 -6
  36. data/proto_docs/google/monitoring/v3/group_service.rb +4 -2
  37. data/proto_docs/google/monitoring/v3/metric.rb +3 -1
  38. data/proto_docs/google/monitoring/v3/metric_service.rb +13 -8
  39. data/proto_docs/google/monitoring/v3/notification_service.rb +8 -4
  40. data/proto_docs/google/monitoring/v3/service.rb +38 -6
  41. data/proto_docs/google/monitoring/v3/service_service.rb +4 -2
  42. data/proto_docs/google/monitoring/v3/span_context.rb +2 -2
  43. data/proto_docs/google/monitoring/v3/uptime.rb +5 -2
  44. data/proto_docs/google/monitoring/v3/uptime_service.rb +4 -2
  45. metadata +3 -2
@@ -102,12 +102,13 @@ module Google
102
102
  # The [monitored
103
103
  # resource](https://cloud.google.com/monitoring/api/resources) associated
104
104
  # with the configuration.
105
- # The following monitored resource types are supported for Uptime checks:
105
+ # The following monitored resource types are valid for this field:
106
106
  # `uptime_url`,
107
107
  # `gce_instance`,
108
108
  # `gae_app`,
109
109
  # `aws_ec2_instance`,
110
110
  # `aws_elb_load_balancer`
111
+ # `k8s_service`
111
112
  # @!attribute [rw] resource_group
112
113
  # @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ResourceGroup]
113
114
  # The group resource associated with the configuration.
@@ -339,11 +340,13 @@ module Google
339
340
 
340
341
  # Selects regular-expression matching. The match succeeds of the output
341
342
  # matches the regular expression specified in the `content` string.
343
+ # Regex matching is only supported for HTTP/HTTPS checks.
342
344
  MATCHES_REGEX = 3
343
345
 
344
346
  # Selects negation of regular-expression matching. The match succeeds if
345
347
  # the output does _NOT_ match the regular expression specified in the
346
- # `content` string.
348
+ # `content` string. Regex matching is only supported for HTTP/HTTPS
349
+ # checks.
347
350
  NOT_MATCHES_REGEX = 4
348
351
  end
349
352
  end
@@ -24,7 +24,8 @@ module Google
24
24
  # The protocol for the `ListUptimeCheckConfigs` request.
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
- # Required. The project whose Uptime check configurations are listed. The format is:
27
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
28
+ # whose Uptime check configurations are listed. The format is:
28
29
  #
29
30
  # projects/[PROJECT_ID_OR_NUMBER]
30
31
  # @!attribute [rw] page_size
@@ -77,7 +78,8 @@ module Google
77
78
  # The protocol for the `CreateUptimeCheckConfig` request.
78
79
  # @!attribute [rw] parent
79
80
  # @return [::String]
80
- # Required. The project in which to create the Uptime check. The format is:
81
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
82
+ # which to create the Uptime check. The format is:
81
83
  #
82
84
  # projects/[PROJECT_ID_OR_NUMBER]
83
85
  # @!attribute [rw] uptime_check_config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.7.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: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -232,6 +232,7 @@ files:
232
232
  - proto_docs/google/api/metric.rb
233
233
  - proto_docs/google/api/monitored_resource.rb
234
234
  - proto_docs/google/api/resource.rb
235
+ - proto_docs/google/longrunning/operations.rb
235
236
  - proto_docs/google/monitoring/v3/alert.rb
236
237
  - proto_docs/google/monitoring/v3/alert_service.rb
237
238
  - proto_docs/google/monitoring/v3/common.rb