AUTHENTICATION.md in google-cloud-dataplex-v1-0.19.0 vs AUTHENTICATION.md in google-cloud-dataplex-v1-0.20.0
- old
+ new
@@ -54,25 +54,25 @@
To configure a credentials file for an individual client initialization:
```ruby
require "google/cloud/dataplex/v1"
-client = ::Google::Cloud::Dataplex::V1::ContentService::Client.new do |config|
+client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new do |config|
config.credentials = "path/to/credentialfile.json"
end
```
To configure a credentials file globally for all clients:
```ruby
require "google/cloud/dataplex/v1"
-::Google::Cloud::Dataplex::V1::ContentService::Client.configure do |config|
+::Google::Cloud::Dataplex::V1::DataplexService::Client.configure do |config|
config.credentials = "path/to/credentialfile.json"
end
-client = ::Google::Cloud::Dataplex::V1::ContentService::Client.new
+client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new
```
### Environment Variables
You can also use an environment variable to provide a JSON credentials file.
@@ -98,10 +98,10 @@
```ruby
require "google/cloud/dataplex/v1"
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
-client = ::Google::Cloud::Dataplex::V1::ContentService::Client.new
+client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new
```
### Local ADC file
You can set up a local ADC file with your user credentials for authentication during