google-cloud-channel-v1 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +3 -2
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +412 -172
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +54 -37
- data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +17 -0
- data/lib/google/cloud/channel/v1/common_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/customers_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/offers_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/operations_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/products_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/service_pb.rb +14 -2
- data/lib/google/cloud/channel/v1/service_services_pb.rb +18 -0
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/channel/v1/customers.rb +5 -4
- data/proto_docs/google/cloud/channel/v1/service.rb +38 -0
- data/proto_docs/google/type/money.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2c17c7215f7f7b7d29f6a470bcaae01e4ea390bb0ba57050eece921c969d394
|
4
|
+
data.tar.gz: fb544c4f0786ec81f4b65a0eec48d3fce30c463b8786d547bf1e6adf922fe7af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1af54f5b44582fbd75eb0d4cec0e10c47650d0b2498f3edb2cb852146cc134e507ded696375517b9705a2883a3938bdebf45ad3c1faf4a4dcd3a4d10a1157b4
|
7
|
+
data.tar.gz: 80d4224531a08b5523ac8b2086654b54d7f8b0698fbc134b967c7a6b30da1540312fc99667ae516702f9b3f2739ea3a551c32ff7209dc3e0009aab3587897337
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-channel-v1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Channel::V1::CloudChannelService::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `CHANNEL_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `CHANNEL_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/channel/v1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
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/channel/v1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new do |confi
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/channel/v1"
|
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/channel/v1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Channel::V1::ListCustomersRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_customers request
|
38
38
|
```
|
39
39
|
|
@@ -1,12 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/channel_partner_links.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
5
|
+
require 'google/api/resource_pb'
|
7
6
|
require 'google/cloud/channel/v1/common_pb'
|
8
7
|
require 'google/protobuf/timestamp_pb'
|
9
8
|
require 'google/api/annotations_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
10
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
12
|
add_file("google/cloud/channel/v1/channel_partner_links.proto", :syntax => :proto3) do
|
12
13
|
add_message "google.cloud.channel.v1.ChannelPartnerLink" do
|