google-cloud-logging-v2 0.5.1 → 0.5.5

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: f1e7ecba38ee2ec7043a34a53f5bce65d54d15b48535a05aff8295f7b7aa89a5
4
- data.tar.gz: 56082eb83b3bbcaf510af9fb94dc0d77526ec1a56a0b545dc7a104b328d9c060
3
+ metadata.gz: 5aad56c02cdf03e5bd0e22378a17a9ede9785de677acc316188fe90f826e551a
4
+ data.tar.gz: fe53be7efb237e63442d2b57212d8cf90038f4617d2ab093291370a9b78b4df6
5
5
  SHA512:
6
- metadata.gz: 22de369f7f8f7695c82eb6967039ab9e60f35dbd109bc8be0281c2c7d8791343a7673d172c9a33bec10c7e2f0232ce698edbc91a0e34d14229d60d3ba349e5e3
7
- data.tar.gz: 7d73cd9d59242767e24912e774adbb693ada99514f8cef7e25dc28b519d30d447555d79e4f23a4e304d8371a1f32ba0cedd663bc09a1bdcd25f9c5389ae3f7ad
6
+ metadata.gz: 5b7124a3b6bbd72ed85bab7a2fe3aaac252c48ebb76a0cf0025cf170b7d1f5f420a1caf9cc83246cb9587d23905c31f13b92186d5b857ec468dd68723e5bc6e0
7
+ data.tar.gz: 3694da11812aa4dc24afb8b658feee67efeba5faf96d6981be5cff64b55db7a7d712a78545a76b548c596fb827abf4cdebc219c5d010110d01d0c95350d7d6be
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-logging-v2
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Logging::V2::ConfigService::Credentials}):
68
68
 
69
- 1. `LOGGING_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `LOGGING_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `LOGGING_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `LOGGING_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/logging/v2"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/logging/v2"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Logging::V2::ConfigService::Client.new do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/logging/v2"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/logging/v2"
34
34
 
35
35
  client = ::Google::Cloud::Logging::V2::ConfigService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Logging::V2::ListBucketsRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_buckets request
38
38
  ```
39
39