google-cloud-channel-v1 0.2.0 → 0.7.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 +4 -4
- data/LICENSE.md +188 -190
- data/README.md +2 -2
- data/lib/google/cloud/channel/v1/cloud_channel_service.rb +14 -16
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +940 -671
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +7 -7
- data/lib/google/cloud/channel/v1/common_pb.rb +1 -0
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +1 -2
- data/lib/google/cloud/channel/v1/offers_pb.rb +1 -0
- data/lib/google/cloud/channel/v1/service_pb.rb +34 -1
- data/lib/google/cloud/channel/v1/service_services_pb.rb +424 -437
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +59 -0
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/common.rb +9 -2
- data/proto_docs/google/cloud/channel/v1/customers.rb +23 -26
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +3 -6
- data/proto_docs/google/cloud/channel/v1/offers.rb +4 -0
- data/proto_docs/google/cloud/channel/v1/service.rb +284 -215
- data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +122 -0
- metadata +18 -10
@@ -0,0 +1,122 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Channel
|
23
|
+
module V1
|
24
|
+
# Represents Pub/Sub message content describing customer update.
|
25
|
+
# @!attribute [rw] customer
|
26
|
+
# @return [::String]
|
27
|
+
# Resource name of the customer.
|
28
|
+
# Format: accounts/\\{account_id}/customers/\\{customer_id}
|
29
|
+
# @!attribute [rw] event_type
|
30
|
+
# @return [::Google::Cloud::Channel::V1::CustomerEvent::Type]
|
31
|
+
# Type of event which happened on the customer.
|
32
|
+
class CustomerEvent
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
|
36
|
+
# Type of customer event.
|
37
|
+
module Type
|
38
|
+
# Default value. This state doesn't show unless an error occurs.
|
39
|
+
TYPE_UNSPECIFIED = 0
|
40
|
+
|
41
|
+
# Primary domain for customer was changed.
|
42
|
+
PRIMARY_DOMAIN_CHANGED = 1
|
43
|
+
|
44
|
+
# Primary domain of the customer has been verified.
|
45
|
+
PRIMARY_DOMAIN_VERIFIED = 2
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# Represents Pub/Sub message content describing entitlement update.
|
50
|
+
# @!attribute [rw] entitlement
|
51
|
+
# @return [::String]
|
52
|
+
# Resource name of an entitlement of the form:
|
53
|
+
# accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
|
54
|
+
# @!attribute [rw] event_type
|
55
|
+
# @return [::Google::Cloud::Channel::V1::EntitlementEvent::Type]
|
56
|
+
# Type of event which happened on the entitlement.
|
57
|
+
class EntitlementEvent
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
|
61
|
+
# Type of entitlement event.
|
62
|
+
module Type
|
63
|
+
# Default value. This state doesn't show unless an error occurs.
|
64
|
+
TYPE_UNSPECIFIED = 0
|
65
|
+
|
66
|
+
# A new entitlement was created.
|
67
|
+
CREATED = 1
|
68
|
+
|
69
|
+
# The offer type associated with an entitlement was changed.
|
70
|
+
# This is not triggered if an entitlement converts from a commit offer to a
|
71
|
+
# flexible offer as part of a renewal.
|
72
|
+
PRICE_PLAN_SWITCHED = 3
|
73
|
+
|
74
|
+
# Annual commitment for a commit plan was changed.
|
75
|
+
COMMITMENT_CHANGED = 4
|
76
|
+
|
77
|
+
# An annual entitlement was renewed.
|
78
|
+
RENEWED = 5
|
79
|
+
|
80
|
+
# Entitlement was suspended.
|
81
|
+
SUSPENDED = 6
|
82
|
+
|
83
|
+
# Entitlement was unsuspended.
|
84
|
+
ACTIVATED = 7
|
85
|
+
|
86
|
+
# Entitlement was cancelled.
|
87
|
+
CANCELLED = 8
|
88
|
+
|
89
|
+
# Entitlement was upgraded or downgraded (e.g. from Google Workspace
|
90
|
+
# Business Standard to Google Workspace Business Plus).
|
91
|
+
SKU_CHANGED = 9
|
92
|
+
|
93
|
+
# The renewal settings of an entitlement has changed.
|
94
|
+
RENEWAL_SETTING_CHANGED = 10
|
95
|
+
|
96
|
+
# Paid service has started on trial entitlement.
|
97
|
+
PAID_SERVICE_STARTED = 11
|
98
|
+
|
99
|
+
# License was assigned to or revoked from a user.
|
100
|
+
LICENSE_ASSIGNMENT_CHANGED = 12
|
101
|
+
|
102
|
+
# License cap was changed for the entitlement.
|
103
|
+
LICENSE_CAP_CHANGED = 13
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# Represents information which resellers will get as part of notification from
|
108
|
+
# Cloud Pub/Sub.
|
109
|
+
# @!attribute [rw] customer_event
|
110
|
+
# @return [::Google::Cloud::Channel::V1::CustomerEvent]
|
111
|
+
# Customer event send as part of Pub/Sub event to partners.
|
112
|
+
# @!attribute [rw] entitlement_event
|
113
|
+
# @return [::Google::Cloud::Channel::V1::EntitlementEvent]
|
114
|
+
# Entitlement event send as part of Pub/Sub event to partners.
|
115
|
+
class SubscriberEvent
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.7.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: 2021-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +50,14 @@ dependencies:
|
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
53
|
+
version: 1.25.1
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
60
|
+
version: 1.25.1
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: minitest
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,6 +187,7 @@ files:
|
|
181
187
|
- lib/google/cloud/channel/v1/products_pb.rb
|
182
188
|
- lib/google/cloud/channel/v1/service_pb.rb
|
183
189
|
- lib/google/cloud/channel/v1/service_services_pb.rb
|
190
|
+
- lib/google/cloud/channel/v1/subscriber_event_pb.rb
|
184
191
|
- lib/google/cloud/channel/v1/version.rb
|
185
192
|
- proto_docs/README.md
|
186
193
|
- proto_docs/google/api/field_behavior.rb
|
@@ -193,6 +200,7 @@ files:
|
|
193
200
|
- proto_docs/google/cloud/channel/v1/operations.rb
|
194
201
|
- proto_docs/google/cloud/channel/v1/products.rb
|
195
202
|
- proto_docs/google/cloud/channel/v1/service.rb
|
203
|
+
- proto_docs/google/cloud/channel/v1/subscriber_event.rb
|
196
204
|
- proto_docs/google/longrunning/operations.rb
|
197
205
|
- proto_docs/google/protobuf/any.rb
|
198
206
|
- proto_docs/google/protobuf/duration.rb
|
@@ -215,14 +223,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
223
|
requirements:
|
216
224
|
- - ">="
|
217
225
|
- !ruby/object:Gem::Version
|
218
|
-
version: '2.
|
226
|
+
version: '2.5'
|
219
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
228
|
requirements:
|
221
229
|
- - ">="
|
222
230
|
- !ruby/object:Gem::Version
|
223
231
|
version: '0'
|
224
232
|
requirements: []
|
225
|
-
rubygems_version: 3.2.
|
233
|
+
rubygems_version: 3.2.17
|
226
234
|
signing_key:
|
227
235
|
specification_version: 4
|
228
236
|
summary: API Client library for the Cloud Channel V1 API
|