google-cloud-logging-v2 0.8.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) 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/log_entry_pb.rb +29 -38
  15. data/lib/google/logging/v2/logging_config_pb.rb +39 -215
  16. data/lib/google/logging/v2/logging_config_services_pb.rb +23 -5
  17. data/lib/google/logging/v2/logging_metrics_pb.rb +27 -41
  18. data/lib/google/logging/v2/logging_pb.rb +28 -64
  19. data/proto_docs/google/api/client.rb +381 -0
  20. data/proto_docs/google/api/distribution.rb +2 -0
  21. data/proto_docs/google/api/launch_stage.rb +3 -3
  22. data/proto_docs/google/api/metric.rb +10 -6
  23. data/proto_docs/google/api/monitored_resource.rb +30 -18
  24. data/proto_docs/google/logging/type/http_request.rb +1 -1
  25. data/proto_docs/google/logging/v2/log_entry.rb +56 -23
  26. data/proto_docs/google/logging/v2/logging.rb +36 -35
  27. data/proto_docs/google/logging/v2/logging_config.rb +350 -78
  28. data/proto_docs/google/logging/v2/logging_metrics.rb +14 -2
  29. data/proto_docs/google/protobuf/any.rb +7 -4
  30. data/proto_docs/google/protobuf/struct.rb +1 -1
  31. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  32. data/proto_docs/google/rpc/status.rb +4 -2
  33. 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: a889079ca36237781388bdc28fd1035058412e2cc008acb5bb3d43fed2704343
4
+ data.tar.gz: fda685a8fc1d66713f9728a2b9fa2468f8d912c0eef5d4df2e78d9096e6db6be
5
5
  SHA512:
6
- metadata.gz: b4b0088beb55630111e6c4c85fcea30994e2ab1084921bfcd6158f9eb3ce861fe1313edf793219192d2a25955c3ba664ead97f25c94dcc78071c7f85fb75180b
7
- data.tar.gz: 34e95aabdb7180e8610d07c503a5df24bac3dcd90ef32de2c04b2b1039c5653697c505e5b6ce355a930ad25203cd1be9f7c7b565acfb26f4cd239cce815b4eff
6
+ metadata.gz: a92ca1ed92a1bbcf19e4c5231e73fb45fac8cc16f9ce7efc8d0eed67b1d059debef6480139eb888121449bbba671ed8c40888c40536338e177e5ea7b20422c31
7
+ data.tar.gz: 9f4fde23ee45304025a8f301490c6c47cff81bd1cfd8e096a0f73e45b26a8b4fba23b455659a333829c8e3d584f4d7dc97ce143ba8bbd1e5454b62d63bb61c47
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