google-cloud-logging-v2 0.5.6 → 0.8.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: d37896e2f4fd0a45e15c939b81ddb15fa56f1daa79ddf9449049bb53f0437f39
4
- data.tar.gz: 4035d46a8bb97cd38e532b91f340b3aad614714079befcb6037d80c5b6f53ee1
3
+ metadata.gz: 6f9483d6abd8d574951d58977fa24cc34d2fe8912ad8fb9a5080c6c8ff308046
4
+ data.tar.gz: 54166d1618799030f6807609c25e163d52502e884d3b6bc461f6b6e7bd2efb05
5
5
  SHA512:
6
- metadata.gz: a2fc1bf047fd4f9bff3859f3f9dd533b7b1521205983371046a5a1cff1befe0bb8fdc1870ae06e16f496d30cc84a7388285260a203f6e8cbafbfcb4326a401a7
7
- data.tar.gz: f842fa2c10c3017a4347d266734cb41d4929b6918f15947f5f37d0bff44b7ea916a9abf510f816ea0cbda6b4a3e8899661a739d73ba419764254afa6e30f6a0b
6
+ metadata.gz: d8015a3808193352758cf134e3965cda4905dc7ff58b002e560e93e4e3345fee814d26eb254a6979958e16f49994e6596811fefe6c251c93218916d7d21f2e5e
7
+ data.tar.gz: c3a7e77b39d87f02ce8e1687ba20953b231b03ade5959bf0264139a03a95ba987aa268eeb95abea6f4e8a93b2eebdb23b94526053e0dbd59b36185397ac0c65f
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export LOGGING_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/logging/v2"
29
29
 
30
- client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
30
+ client = ::Google::Cloud::Logging::V2::LoggingService::Client.new
31
31
  ```
32
32
 
33
33
  ## Credential Lookup
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-logging-v2
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Logging::V2::ConfigService::Credentials}):
67
+ {::Google::Cloud::Logging::V2::LoggingService::Credentials}):
68
68
 
69
69
  * `LOGGING_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  * `LOGGING_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/logging/v2"
77
77
 
78
78
  ENV["LOGGING_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
80
+ client = ::Google::Cloud::Logging::V2::LoggingService::Client.new
81
81
  ```
82
82
 
83
83
  ### Configuration
@@ -88,7 +88,7 @@ it in an environment variable. Either on an individual client initialization:
88
88
  ```ruby
89
89
  require "google/cloud/logging/v2"
90
90
 
91
- client = ::Google::Cloud::Logging::V2::ConfigService::Client.new do |config|
91
+ client = ::Google::Cloud::Logging::V2::LoggingService::Client.new do |config|
92
92
  config.credentials = "path/to/keyfile.json"
93
93
  end
94
94
  ```
@@ -98,11 +98,11 @@ Or globally for all clients:
98
98
  ```ruby
99
99
  require "google/cloud/logging/v2"
100
100
 
101
- ::Google::Cloud::Logging::V2::ConfigService::Client.configure do |config|
101
+ ::Google::Cloud::Logging::V2::LoggingService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
105
+ client = ::Google::Cloud::Logging::V2::LoggingService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
data/README.md CHANGED
@@ -32,12 +32,12 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/logging/v2"
34
34
 
35
- client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
36
- request = ::Google::Cloud::Logging::V2::ListBucketsRequest.new # (request fields as keyword arguments...)
37
- response = client.list_buckets request
35
+ client = ::Google::Cloud::Logging::V2::LoggingService::Client.new
36
+ request = ::Google::Cloud::Logging::V2::DeleteLogRequest.new # (request fields as keyword arguments...)
37
+ response = client.delete_log request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-logging-v2/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/logging)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89