google-cloud-logging-v2 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +3 -3
  4. data/lib/google/cloud/logging/v2/config_service/client.rb +728 -71
  5. data/lib/google/cloud/logging/v2/config_service/operations.rb +14 -16
  6. data/lib/google/cloud/logging/v2/config_service/paths.rb +81 -0
  7. data/lib/google/cloud/logging/v2/config_service.rb +1 -1
  8. data/lib/google/cloud/logging/v2/logging_service/client.rb +47 -48
  9. data/lib/google/cloud/logging/v2/logging_service.rb +1 -1
  10. data/lib/google/cloud/logging/v2/metrics_service/client.rb +6 -8
  11. data/lib/google/cloud/logging/v2/metrics_service.rb +1 -1
  12. data/lib/google/cloud/logging/v2/version.rb +1 -1
  13. data/lib/google/cloud/logging/v2.rb +2 -2
  14. data/lib/google/logging/v2/logging_config_pb.rb +84 -5
  15. data/lib/google/logging/v2/logging_config_services_pb.rb +23 -5
  16. data/lib/google/logging/v2/logging_metrics_pb.rb +1 -0
  17. data/lib/google/logging/v2/logging_pb.rb +1 -1
  18. data/proto_docs/google/api/client.rb +381 -0
  19. data/proto_docs/google/api/distribution.rb +2 -0
  20. data/proto_docs/google/api/launch_stage.rb +3 -3
  21. data/proto_docs/google/api/metric.rb +10 -6
  22. data/proto_docs/google/api/monitored_resource.rb +30 -18
  23. data/proto_docs/google/logging/type/http_request.rb +1 -1
  24. data/proto_docs/google/logging/v2/log_entry.rb +56 -23
  25. data/proto_docs/google/logging/v2/logging.rb +36 -35
  26. data/proto_docs/google/logging/v2/logging_config.rb +350 -78
  27. data/proto_docs/google/logging/v2/logging_metrics.rb +14 -2
  28. data/proto_docs/google/rpc/status.rb +4 -2
  29. metadata +9 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee90253cb5a747bb4cc8e110ee3e7f3a1f67987f62eb56806043a2350d3a75fa
4
- data.tar.gz: 1986b81148d0d51686307ad92801157507fb070e88974e9c01b175d2bb11eb89
3
+ metadata.gz: 98ce330c07ced79a66ae1ea7ec773725a50d8d177a4a8ec7f61776cc56bfa047
4
+ data.tar.gz: 0fa536ffdc8cc53c521a482939e19062fc62205b313d697757357eef6c1a20b7
5
5
  SHA512:
6
- metadata.gz: b4b0088beb55630111e6c4c85fcea30994e2ab1084921bfcd6158f9eb3ce861fe1313edf793219192d2a25955c3ba664ead97f25c94dcc78071c7f85fb75180b
7
- data.tar.gz: 34e95aabdb7180e8610d07c503a5df24bac3dcd90ef32de2c04b2b1039c5653697c505e5b6ce355a930ad25203cd1be9f7c7b565acfb26f4cd239cce815b4eff
6
+ metadata.gz: 7cfb2eb8c1dc4077ad90a4cf28b8d6e13d13364dbb263f4d8fe23ac3024a3dd2a1ca604804193acfa5af0bcc69c76bdb2dcfa7aac7bad20c5939fd960dce981f
7
+ data.tar.gz: 264540f41b6343bff85a9231c18f68384d7c8f34ecfd114923d8d03761e4a1bc8bc85295297e7d9b9e237fce6931792cdf0f648d6e35b8b930ee3fd3f6afa1b4
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Logging V2 API
2
2
 
3
- API Client library for the Cloud Logging V2 API
3
+ Writes log entries and manages your Cloud Logging configuration.
4
4
 
5
5
  The Cloud Logging API lets you programmatically read and write log entries, set up exclusions, create logs-based metrics, and manage export sinks.
6
6
 
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53