google-cloud-channel-v1 0.11.0 → 0.13.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: ab506e58f9de714b6ef424a8b2200b7097de9069dba21e47e01728fb37fc5957
4
- data.tar.gz: ab6a10dde096f378d40d85edac438f67e7d60e6eed485ba92c10784cf811e7af
3
+ metadata.gz: ed67a0064a272c846aaa0d325254b42e0d8648a45a114c1180d0396fb8cc761f
4
+ data.tar.gz: ba8d5174f4d62b579cb0de9411b863ea704f5312e0014158b6826f3504bd11bb
5
5
  SHA512:
6
- metadata.gz: 74c63fea6832b81a918e41f0885efb7324e0fdaf8ce27f0a39d760c7e2f1c14cb846fa91e86e45341015ea79fd3b778f6d52bf6c9d988188a1f1182374fd3f59
7
- data.tar.gz: 58d9c01a6b01ac38e97ea5ab639e5df324c10cfcb1b328c7460bf761c32654620367b67bbf19957d77b12619cdd31c1e79d92c9910ebf04e20b65e30878d5c20
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)
@@ -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