google-cloud-channel-v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +12 -16
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +12 -14
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +583 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb +793 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/service_stub.rb +227 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest.rb +56 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service.rb +7 -1
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +92 -116
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +12 -14
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +4784 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb +793 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +2771 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest.rb +72 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service.rb +7 -1
- data/lib/google/cloud/channel/v1/rest.rb +38 -0
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/lib/google/cloud/channel/v1.rb +7 -2
- metadata +19 -8
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/channel/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/channel/v1/cloud_channel_service/credentials"
|
26
|
+
require "google/cloud/channel/v1/cloud_channel_service/paths"
|
27
|
+
require "google/cloud/channel/v1/cloud_channel_service/rest/operations"
|
28
|
+
require "google/cloud/channel/v1/cloud_channel_service/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Channel
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# CloudChannelService lets Google cloud resellers and distributors manage
|
36
|
+
# their customers, channel partners, entitlements, and reports.
|
37
|
+
#
|
38
|
+
# Using this service:
|
39
|
+
# 1. Resellers and distributors can manage a customer entity.
|
40
|
+
# 2. Distributors can register an authorized reseller in their channel and
|
41
|
+
# provide them with delegated admin access.
|
42
|
+
# 3. Resellers and distributors can manage customer entitlements.
|
43
|
+
#
|
44
|
+
# CloudChannelService exposes the following resources:
|
45
|
+
# - {::Google::Cloud::Channel::V1::Customer Customer}s: An entity-usually an
|
46
|
+
# enterprise-managed by a reseller or distributor.
|
47
|
+
#
|
48
|
+
# - {::Google::Cloud::Channel::V1::Entitlement Entitlement}s: An entity that
|
49
|
+
# provides a customer with the means to use a service. Entitlements are created
|
50
|
+
# or updated as a result of a successful fulfillment.
|
51
|
+
#
|
52
|
+
# - {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink}s: An
|
53
|
+
# entity that identifies links between distributors and their indirect
|
54
|
+
# resellers in a channel.
|
55
|
+
#
|
56
|
+
# To load this service and instantiate a REST client:
|
57
|
+
#
|
58
|
+
# require "google/cloud/channel/v1/cloud_channel_service/rest"
|
59
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Rest::Client.new
|
60
|
+
#
|
61
|
+
module CloudChannelService
|
62
|
+
# Client for the REST transport
|
63
|
+
module Rest
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
72
|
+
require "google/cloud/channel/v1/cloud_channel_service/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/channel/v1/cloud_channel_service/credentials"
|
|
26
26
|
require "google/cloud/channel/v1/cloud_channel_service/paths"
|
27
27
|
require "google/cloud/channel/v1/cloud_channel_service/operations"
|
28
28
|
require "google/cloud/channel/v1/cloud_channel_service/client"
|
29
|
+
require "google/cloud/channel/v1/cloud_channel_service/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -53,11 +54,16 @@ module Google
|
|
53
54
|
# entity that identifies links between distributors and their indirect
|
54
55
|
# resellers in a channel.
|
55
56
|
#
|
56
|
-
#
|
57
|
+
# @example Load this service and instantiate a gRPC client
|
57
58
|
#
|
58
59
|
# require "google/cloud/channel/v1/cloud_channel_service"
|
59
60
|
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
|
60
61
|
#
|
62
|
+
# @example Load this service and instantiate a REST client
|
63
|
+
#
|
64
|
+
# require "google/cloud/channel/v1/cloud_channel_service/rest"
|
65
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Rest::Client.new
|
66
|
+
#
|
61
67
|
module CloudChannelService
|
62
68
|
end
|
63
69
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/channel/v1/cloud_channel_reports_service/rest"
|
20
|
+
require "google/cloud/channel/v1/cloud_channel_service/rest"
|
21
|
+
require "google/cloud/channel/v1/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Channel
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/channel/v1/rest"
|
32
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -24,13 +24,18 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module Channel
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/channel/v1"
|
32
32
|
# client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/channel/v1"
|
37
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V1
|
35
40
|
end
|
36
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-channel-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,11 +179,19 @@ files:
|
|
179
179
|
- lib/google/cloud/channel/v1/cloud_channel_reports_service/credentials.rb
|
180
180
|
- lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb
|
181
181
|
- lib/google/cloud/channel/v1/cloud_channel_reports_service/paths.rb
|
182
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/rest.rb
|
183
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb
|
184
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb
|
185
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/service_stub.rb
|
182
186
|
- lib/google/cloud/channel/v1/cloud_channel_service.rb
|
183
187
|
- lib/google/cloud/channel/v1/cloud_channel_service/client.rb
|
184
188
|
- lib/google/cloud/channel/v1/cloud_channel_service/credentials.rb
|
185
189
|
- lib/google/cloud/channel/v1/cloud_channel_service/operations.rb
|
186
190
|
- lib/google/cloud/channel/v1/cloud_channel_service/paths.rb
|
191
|
+
- lib/google/cloud/channel/v1/cloud_channel_service/rest.rb
|
192
|
+
- lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb
|
193
|
+
- lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb
|
194
|
+
- lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb
|
187
195
|
- lib/google/cloud/channel/v1/common_pb.rb
|
188
196
|
- lib/google/cloud/channel/v1/customers_pb.rb
|
189
197
|
- lib/google/cloud/channel/v1/entitlements_pb.rb
|
@@ -193,6 +201,7 @@ files:
|
|
193
201
|
- lib/google/cloud/channel/v1/reports_service_pb.rb
|
194
202
|
- lib/google/cloud/channel/v1/reports_service_services_pb.rb
|
195
203
|
- lib/google/cloud/channel/v1/repricing_pb.rb
|
204
|
+
- lib/google/cloud/channel/v1/rest.rb
|
196
205
|
- lib/google/cloud/channel/v1/service_pb.rb
|
197
206
|
- lib/google/cloud/channel/v1/service_services_pb.rb
|
198
207
|
- lib/google/cloud/channel/v1/subscriber_event_pb.rb
|
@@ -244,8 +253,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
253
|
- !ruby/object:Gem::Version
|
245
254
|
version: '0'
|
246
255
|
requirements: []
|
247
|
-
rubygems_version: 3.
|
256
|
+
rubygems_version: 3.4.2
|
248
257
|
signing_key:
|
249
258
|
specification_version: 4
|
250
|
-
summary:
|
259
|
+
summary: The Cloud Channel API enables Google Cloud partners to have a single unified
|
260
|
+
resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps
|
261
|
+
and Chrome.
|
251
262
|
test_files: []
|