AUTHENTICATION.md in google-cloud-monitoring-1.2.1 vs AUTHENTICATION.md in google-cloud-monitoring-1.2.2
- old
+ new
@@ -80,21 +80,21 @@
client = Google::Cloud::Monitoring.alert_policy_service
```
### Configuration
-The **Credentials JSON** can be configured instead of placing them in
-environment variables. Either on an individual client initialization:
+The path to the **Credentials JSON** file can be configured instead of storing
+it in an environment variable. Either on an individual client initialization:
```ruby
require "google/cloud/monitoring"
client = Google::Cloud::Monitoring.alert_policy_service do |config|
config.credentials = "path/to/keyfile.json"
end
```
-Or configured globally for all clients:
+Or globally for all clients:
```ruby
require "google/cloud/monitoring"
Google::Cloud::Monitoring.configure do |config|