google-cloud-channel-v1 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a77fe9e406f35a76c68df1c99d797d9e7f29905b4207a28d0eafff2bad90ae7
4
- data.tar.gz: 64a652b856595f633d48eee24f25dd76a73c6bb6d5e8acbf502126bd5ec83bb5
3
+ metadata.gz: ed67a0064a272c846aaa0d325254b42e0d8648a45a114c1180d0396fb8cc761f
4
+ data.tar.gz: ba8d5174f4d62b579cb0de9411b863ea704f5312e0014158b6826f3504bd11bb
5
5
  SHA512:
6
- metadata.gz: 41493ce1583a526d25320bf44ab60f4bc918721f94a9164dc50fc182c83a8b229bab3bc292307a1d5d66406c91eebbb44755069b91add07545c6ce711b25aec5
7
- data.tar.gz: 72cccff9a7148bbbf70364be4d92a226a7d485b745cdc081256410b20747bbbe81124b99760b0787a5c4b9e9d88f63ff9dc70cda7a604fc60ae34272795b84d0
6
+ metadata.gz: d4b2513f59cc4278935b4ea6543b644033d2bc1cb533fffd1c197293586f0d66a566f64e3126fd60205073391f5455b676281c19ff478a1948fe7f077f5de839
7
+ data.tar.gz: 8aaa233c325f2b2724d3bf07b5593193b6b10a9e0f69ecb6d0a1e7f5358e21e1095489a50e7f05295189dfec77a00ab83f1392540e9e834e3ed20c1063a3f667
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export CHANNEL_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/channel/v1"
29
29
 
30
- client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
30
+ client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::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-channel-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Channel::V1::CloudChannelService::Credentials}):
67
+ {::Google::Cloud::Channel::V1::CloudChannelReportsService::Credentials}):
68
68
 
69
69
  * `CHANNEL_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  * `CHANNEL_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/channel/v1"
77
77
 
78
78
  ENV["CHANNEL_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
80
+ client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::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/channel/v1"
90
90
 
91
- client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new do |config|
91
+ client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::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/channel/v1"
100
100
 
101
- ::Google::Cloud::Channel::V1::CloudChannelService::Client.configure do |config|
101
+ ::Google::Cloud::Channel::V1::CloudChannelReportsService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
105
+ client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
@@ -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
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/channel/v1"
34
34
 
35
- client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
36
- request = ::Google::Cloud::Channel::V1::ListCustomersRequest.new # (request fields as keyword arguments...)
37
- response = client.list_customers request
35
+ client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Client.new
36
+ request = ::Google::Cloud::Channel::V1::RunReportJobRequest.new # (request fields as keyword arguments...)
37
+ response = client.run_report_job request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-channel-v1/latest)