google-cloud-channel-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-channel-v1.rb +21 -0
  7. data/lib/google/cloud/channel/v1.rb +38 -0
  8. data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +47 -0
  9. data/lib/google/cloud/channel/v1/cloud_channel_service.rb +70 -0
  10. data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +3498 -0
  11. data/lib/google/cloud/channel/v1/cloud_channel_service/credentials.rb +51 -0
  12. data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +570 -0
  13. data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +100 -0
  14. data/lib/google/cloud/channel/v1/common_pb.rb +76 -0
  15. data/lib/google/cloud/channel/v1/customers_pb.rb +48 -0
  16. data/lib/google/cloud/channel/v1/entitlements_pb.rb +110 -0
  17. data/lib/google/cloud/channel/v1/offers_pb.rb +142 -0
  18. data/lib/google/cloud/channel/v1/operations_pb.rb +38 -0
  19. data/lib/google/cloud/channel/v1/products_pb.rb +48 -0
  20. data/lib/google/cloud/channel/v1/service_pb.rb +331 -0
  21. data/lib/google/cloud/channel/v1/service_services_pb.rb +680 -0
  22. data/lib/google/cloud/channel/v1/version.rb +28 -0
  23. data/proto_docs/README.md +4 -0
  24. data/proto_docs/google/api/field_behavior.rb +59 -0
  25. data/proto_docs/google/api/resource.rb +283 -0
  26. data/proto_docs/google/cloud/channel/v1/channel_partner_links.rb +92 -0
  27. data/proto_docs/google/cloud/channel/v1/common.rb +155 -0
  28. data/proto_docs/google/cloud/channel/v1/customers.rb +111 -0
  29. data/proto_docs/google/cloud/channel/v1/entitlements.rb +255 -0
  30. data/proto_docs/google/cloud/channel/v1/offers.rb +344 -0
  31. data/proto_docs/google/cloud/channel/v1/operations.rb +74 -0
  32. data/proto_docs/google/cloud/channel/v1/products.rb +98 -0
  33. data/proto_docs/google/cloud/channel/v1/service.rb +1013 -0
  34. data/proto_docs/google/longrunning/operations.rb +150 -0
  35. data/proto_docs/google/protobuf/any.rb +138 -0
  36. data/proto_docs/google/protobuf/empty.rb +36 -0
  37. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  38. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  39. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  40. data/proto_docs/google/rpc/status.rb +46 -0
  41. data/proto_docs/google/type/money.rb +43 -0
  42. data/proto_docs/google/type/postal_address.rb +135 -0
  43. metadata +225 -0
@@ -0,0 +1,155 @@
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
+ # Required Edu Attributes
25
+ # @!attribute [rw] institute_type
26
+ # @return [::Google::Cloud::Channel::V1::EduData::InstituteType]
27
+ # Designated institute type of customer.
28
+ # @!attribute [rw] institute_size
29
+ # @return [::Google::Cloud::Channel::V1::EduData::InstituteSize]
30
+ # Size of the institute.
31
+ # @!attribute [rw] website
32
+ # @return [::String]
33
+ # Web address for the edu customer's institution.
34
+ class EduData
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+
38
+ # Enum to specify the institute type.
39
+ module InstituteType
40
+ # Default value. This state doesn't show unless an error occurs.
41
+ INSTITUTE_TYPE_UNSPECIFIED = 0
42
+
43
+ # Elementary/Secondary Schools & Districts
44
+ K12 = 1
45
+
46
+ # Higher Education Universities & Colleges
47
+ UNIVERSITY = 2
48
+ end
49
+
50
+ # Number of students and staff the institute has.
51
+ module InstituteSize
52
+ # Default value. This state doesn't show unless an error occurs.
53
+ INSTITUTE_SIZE_UNSPECIFIED = 0
54
+
55
+ # 1 - 100
56
+ SIZE_1_100 = 1
57
+
58
+ # 101 - 500
59
+ SIZE_101_500 = 2
60
+
61
+ # 501 - 1,000
62
+ SIZE_501_1000 = 3
63
+
64
+ # 1,001 - 2,000
65
+ SIZE_1001_2000 = 4
66
+
67
+ # 2,001 - 5,000
68
+ SIZE_2001_5000 = 5
69
+
70
+ # 5,001 - 10,000
71
+ SIZE_5001_10000 = 6
72
+
73
+ # 10,001 +
74
+ SIZE_10001_OR_MORE = 7
75
+ end
76
+ end
77
+
78
+ # Cloud Identity information for the Cloud Channel Customer.
79
+ # @!attribute [rw] customer_type
80
+ # @return [::Google::Cloud::Channel::V1::CloudIdentityInfo::CustomerType]
81
+ # CustomerType indicates verification type needed for using services.
82
+ # @!attribute [r] primary_domain
83
+ # @return [::String]
84
+ # Output only. The primary domain name.
85
+ # @!attribute [rw] is_domain_verified
86
+ # @return [::Boolean]
87
+ # Whether the domain is verified.
88
+ # @!attribute [rw] alternate_email
89
+ # @return [::String]
90
+ # The alternate email.
91
+ # @!attribute [rw] phone_number
92
+ # @return [::String]
93
+ # Phone number associated with the Cloud Identity.
94
+ # @!attribute [rw] language_code
95
+ # @return [::String]
96
+ # Language code.
97
+ # @!attribute [r] admin_console_uri
98
+ # @return [::String]
99
+ # Output only. URI of Customer's Admin console dashboard.
100
+ # @!attribute [rw] edu_data
101
+ # @return [::Google::Cloud::Channel::V1::EduData]
102
+ # Edu information about the customer.
103
+ class CloudIdentityInfo
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+
107
+ # CustomerType of the customer
108
+ module CustomerType
109
+ # Default value. This state doesn't show unless an error occurs.
110
+ CUSTOMER_TYPE_UNSPECIFIED = 0
111
+
112
+ # Domain-owning customer which needs domain verification to use services.
113
+ DOMAIN = 1
114
+
115
+ # Team customer which needs email verification to use services.
116
+ TEAM = 2
117
+ end
118
+ end
119
+
120
+ # Data type and value of a parameter.
121
+ # @!attribute [rw] int64_value
122
+ # @return [::Integer]
123
+ # Represents an int64 value.
124
+ # @!attribute [rw] string_value
125
+ # @return [::String]
126
+ # Represents a string value.
127
+ # @!attribute [rw] double_value
128
+ # @return [::Float]
129
+ # Represents a double value.
130
+ # @!attribute [rw] proto_value
131
+ # @return [::Google::Protobuf::Any]
132
+ # Represents an 'Any' proto value.
133
+ class Value
134
+ include ::Google::Protobuf::MessageExts
135
+ extend ::Google::Protobuf::MessageExts::ClassMethods
136
+ end
137
+
138
+ # Information needed to create an Admin User for Google Workspace.
139
+ # @!attribute [rw] email
140
+ # @return [::String]
141
+ # Primary email of the admin user.
142
+ # @!attribute [rw] given_name
143
+ # @return [::String]
144
+ # Given name of the admin user.
145
+ # @!attribute [rw] family_name
146
+ # @return [::String]
147
+ # Family name of the admin user.
148
+ class AdminUser
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
+ end
152
+ end
153
+ end
154
+ end
155
+ end
@@ -0,0 +1,111 @@
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
+ # Entity representing a customer of a reseller or distributor.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. Resource name of the customer.
28
+ # Format: accounts/\\{account_id}/customers/\\{customer_id}
29
+ # @!attribute [rw] org_display_name
30
+ # @return [::String]
31
+ # Required. Name of the organization that the customer entity represents.
32
+ # @!attribute [rw] org_postal_address
33
+ # @return [::Google::Type::PostalAddress]
34
+ # Required. Address of the organization of the customer entity.
35
+ # Region and zip codes are required to enforce US laws and embargoes.
36
+ # Language code is discarded. Use the Customer-level language code to set the
37
+ # customer's language.
38
+ # @!attribute [rw] primary_contact_info
39
+ # @return [::Google::Cloud::Channel::V1::ContactInfo]
40
+ # Primary contact info.
41
+ # @!attribute [rw] alternate_email
42
+ # @return [::String]
43
+ # Secondary contact email.
44
+ # Alternate email and primary contact email are required to have different
45
+ # domains if primary contact email is present.
46
+ # When creating admin.google.com accounts, users get notified credentials at
47
+ # this email. This email address is also used as a recovery email.
48
+ # @!attribute [rw] domain
49
+ # @return [::String]
50
+ # Required. Primary domain used by the customer.
51
+ # Domain of primary contact email is required to be same as the provided
52
+ # domain.
53
+ # @!attribute [r] create_time
54
+ # @return [::Google::Protobuf::Timestamp]
55
+ # Output only. The time at which the customer is created.
56
+ # @!attribute [r] update_time
57
+ # @return [::Google::Protobuf::Timestamp]
58
+ # Output only. The time at which the customer is updated.
59
+ # @!attribute [r] cloud_identity_id
60
+ # @return [::String]
61
+ # Output only. Customer's cloud_identity_id.
62
+ # Populated only if a Cloud Identity resource exists for this customer.
63
+ # @!attribute [rw] language_code
64
+ # @return [::String]
65
+ # Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
66
+ # information, see
67
+ # https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
68
+ # @!attribute [r] cloud_identity_info
69
+ # @return [::Google::Cloud::Channel::V1::CloudIdentityInfo]
70
+ # Output only. Cloud Identity information for the customer.
71
+ # Populated only if a Cloud Identity account exists for this customer.
72
+ # @!attribute [rw] channel_partner_id
73
+ # @return [::String]
74
+ # Cloud Identity ID of the customer's channel partner.
75
+ # Populated only if a channel partner exists for this customer.
76
+ class Customer
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
+ end
80
+
81
+ # Contact information for a customer account.
82
+ # @!attribute [rw] first_name
83
+ # @return [::String]
84
+ # First name of the contact in the customer account.
85
+ # @!attribute [rw] last_name
86
+ # @return [::String]
87
+ # Last name of the contact in the customer account.
88
+ # @!attribute [r] display_name
89
+ # @return [::String]
90
+ # Output only. Display name of the contact in the customer account.
91
+ # Populated by combining customer first name and last name.
92
+ # @!attribute [rw] email
93
+ # @return [::String]
94
+ # Email of the contact in the customer account.
95
+ # Email is required for entitlements that need creation of admin.google.com
96
+ # accounts. The email will be the username used in credentials to access the
97
+ # admin.google.com account.
98
+ # @!attribute [rw] title
99
+ # @return [::String]
100
+ # Optional. Job title of the contact in the customer account.
101
+ # @!attribute [rw] phone
102
+ # @return [::String]
103
+ # Phone number of the contact in the customer account.
104
+ class ContactInfo
105
+ include ::Google::Protobuf::MessageExts
106
+ extend ::Google::Protobuf::MessageExts::ClassMethods
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,255 @@
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
+ # An entitlement is a representation of a customer's ability to use a service.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. Resource name of an entitlement in the form:
28
+ # accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}.
29
+ # @!attribute [r] create_time
30
+ # @return [::Google::Protobuf::Timestamp]
31
+ # Output only. The time at which the entitlement is created.
32
+ # @!attribute [r] update_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. The time at which the entitlement is updated.
35
+ # @!attribute [rw] offer
36
+ # @return [::String]
37
+ # Required. The offer resource name for which the entitlement is to be
38
+ # created. Takes the form: accounts/\\{account_id}/offers/\\{offer_id}.
39
+ # @!attribute [rw] commitment_settings
40
+ # @return [::Google::Cloud::Channel::V1::CommitmentSettings]
41
+ # Commitment settings for a commitment-based Offer.
42
+ # Required for commitment based offers.
43
+ # @!attribute [r] provisioning_state
44
+ # @return [::Google::Cloud::Channel::V1::Entitlement::ProvisioningState]
45
+ # Output only. Current provisioning state of the entitlement.
46
+ # @!attribute [r] provisioned_service
47
+ # @return [::Google::Cloud::Channel::V1::ProvisionedService]
48
+ # Output only. Service provisioning details for the entitlement.
49
+ # @!attribute [r] suspension_reasons
50
+ # @return [::Array<::Google::Cloud::Channel::V1::Entitlement::SuspensionReason>]
51
+ # Output only. Enumerable of all current suspension reasons for an entitlement.
52
+ # @!attribute [rw] purchase_order_id
53
+ # @return [::String]
54
+ # Optional. This purchase order (PO) information is for resellers to use for their
55
+ # company tracking usage. If a purchaseOrderId value is given, it appears in
56
+ # the API responses and shows up in the invoice. The property accepts up to
57
+ # 80 plain text characters.
58
+ # @!attribute [r] trial_settings
59
+ # @return [::Google::Cloud::Channel::V1::TrialSettings]
60
+ # Output only. Settings for trial offers.
61
+ # @!attribute [rw] association_info
62
+ # @return [::Google::Cloud::Channel::V1::AssociationInfo]
63
+ # Association information to other entitlements.
64
+ # @!attribute [rw] parameters
65
+ # @return [::Array<::Google::Cloud::Channel::V1::Parameter>]
66
+ # Extended entitlement parameters. When creating an entitlement, valid
67
+ # parameters' names and values are defined in the offer's parameter
68
+ # definitions.
69
+ class Entitlement
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+
73
+ # Indicates the current provisioning state of the entitlement.
74
+ module ProvisioningState
75
+ # Default value. This state doesn't show unless an error occurs.
76
+ PROVISIONING_STATE_UNSPECIFIED = 0
77
+
78
+ # The entitlement is currently active.
79
+ ACTIVE = 1
80
+
81
+ # The entitlement is currently suspended.
82
+ SUSPENDED = 5
83
+ end
84
+
85
+ # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
86
+ module SuspensionReason
87
+ # Default value. This state doesn't show unless an error occurs.
88
+ SUSPENSION_REASON_UNSPECIFIED = 0
89
+
90
+ # Entitlement was manually suspended by the Reseller.
91
+ RESELLER_INITIATED = 1
92
+
93
+ # Trial ended.
94
+ TRIAL_ENDED = 2
95
+
96
+ # Entitlement renewal was canceled.
97
+ RENEWAL_WITH_TYPE_CANCEL = 3
98
+
99
+ # Entitlement was automatically suspended on creation for pending ToS
100
+ # acceptance on customer.
101
+ PENDING_TOS_ACCEPTANCE = 4
102
+
103
+ # Other reasons (internal reasons, abuse, etc.).
104
+ OTHER = 100
105
+ end
106
+ end
107
+
108
+ # Definition for extended entitlement parameters.
109
+ # @!attribute [rw] name
110
+ # @return [::String]
111
+ # Name of the parameter.
112
+ # @!attribute [rw] value
113
+ # @return [::Google::Cloud::Channel::V1::Value]
114
+ # Value of the parameter.
115
+ # @!attribute [r] editable
116
+ # @return [::Boolean]
117
+ # Output only. Specifies whether this parameter is allowed to be changed. For example, for
118
+ # a Google Workspace Business Starter entitlement in commitment plan,
119
+ # num_units is editable when entitlement is active.
120
+ class Parameter
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
+ end
124
+
125
+ # Association links that an entitlement has to other entitlements.
126
+ # @!attribute [rw] base_entitlement
127
+ # @return [::String]
128
+ # The name of the base entitlement, for which this entitlement is an add-on.
129
+ class AssociationInfo
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+
134
+ # Service provisioned for an entitlement.
135
+ # @!attribute [r] provisioning_id
136
+ # @return [::String]
137
+ # Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the
138
+ # underlying Subscription ID.
139
+ # @!attribute [r] product_id
140
+ # @return [::String]
141
+ # Output only. The product pertaining to the provisioning resource as specified in the
142
+ # Offer.
143
+ # @!attribute [r] sku_id
144
+ # @return [::String]
145
+ # Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
146
+ class ProvisionedService
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # Commitment settings for commitment-based offers.
152
+ # @!attribute [r] start_time
153
+ # @return [::Google::Protobuf::Timestamp]
154
+ # Output only. Commitment start timestamp.
155
+ # @!attribute [r] end_time
156
+ # @return [::Google::Protobuf::Timestamp]
157
+ # Output only. Commitment end timestamp.
158
+ # @!attribute [rw] renewal_settings
159
+ # @return [::Google::Cloud::Channel::V1::RenewalSettings]
160
+ # Optional. Renewal settings applicable for a commitment-based Offer.
161
+ class CommitmentSettings
162
+ include ::Google::Protobuf::MessageExts
163
+ extend ::Google::Protobuf::MessageExts::ClassMethods
164
+ end
165
+
166
+ # Renewal settings for renewable Offers.
167
+ # @!attribute [rw] enable_renewal
168
+ # @return [::Boolean]
169
+ # If false, the plan will be completed at the end date.
170
+ # @!attribute [rw] resize_unit_count
171
+ # @return [::Boolean]
172
+ # If true and enable_renewal = true, the unit (for example seats or licenses)
173
+ # will be set to the number of active units at renewal time.
174
+ # @!attribute [rw] payment_plan
175
+ # @return [::Google::Cloud::Channel::V1::PaymentPlan]
176
+ # Describes how a reseller will be billed.
177
+ # @!attribute [rw] payment_cycle
178
+ # @return [::Google::Cloud::Channel::V1::Period]
179
+ # Describes how frequently the reseller will be billed, such as
180
+ # once per month.
181
+ class RenewalSettings
182
+ include ::Google::Protobuf::MessageExts
183
+ extend ::Google::Protobuf::MessageExts::ClassMethods
184
+ end
185
+
186
+ # Settings for trial offers.
187
+ # @!attribute [rw] trial
188
+ # @return [::Boolean]
189
+ # Determines if the entitlement is in a trial or not:
190
+ #
191
+ # * `true` - The entitlement is in trial.
192
+ # * `false` - The entitlement is not in trial.
193
+ # @!attribute [rw] end_time
194
+ # @return [::Google::Protobuf::Timestamp]
195
+ # Date when the trial ends. The value is in milliseconds
196
+ # using the UNIX Epoch format. See an example [Epoch
197
+ # converter](https://www.epochconverter.com).
198
+ class TrialSettings
199
+ include ::Google::Protobuf::MessageExts
200
+ extend ::Google::Protobuf::MessageExts::ClassMethods
201
+ end
202
+
203
+ # TransferableSku represents information a reseller needs to view existing
204
+ # provisioned services for a customer that they do not own.
205
+ # Read-only.
206
+ # @!attribute [rw] is_commitment
207
+ # @return [::Google::Protobuf::BoolValue]
208
+ # Whether a transferable SKU is commitment-based or not.
209
+ # @!attribute [rw] commitment_end_timestamp
210
+ # @return [::Google::Protobuf::Timestamp]
211
+ # Commitment end timestamp.
212
+ # @!attribute [rw] transfer_eligibility
213
+ # @return [::Google::Cloud::Channel::V1::TransferEligibility]
214
+ # Describes the transfer eligibility of a SKU.
215
+ # @!attribute [rw] sku
216
+ # @return [::Google::Cloud::Channel::V1::Sku]
217
+ # The SKU pertaining to the provisioning resource as specified in the Offer.
218
+ class TransferableSku
219
+ include ::Google::Protobuf::MessageExts
220
+ extend ::Google::Protobuf::MessageExts::ClassMethods
221
+ end
222
+
223
+ # Specifies transfer eligibility of a SKU.
224
+ # @!attribute [rw] is_eligible
225
+ # @return [::Boolean]
226
+ # Whether reseller is eligible to transfer the SKU.
227
+ # @!attribute [rw] description
228
+ # @return [::String]
229
+ # Localized description if reseller is not eligible to transfer the SKU.
230
+ # @!attribute [rw] ineligibility_reason
231
+ # @return [::Google::Cloud::Channel::V1::TransferEligibility::Reason]
232
+ # Specified the reason for ineligibility.
233
+ class TransferEligibility
234
+ include ::Google::Protobuf::MessageExts
235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
236
+
237
+ # Reason of ineligibility.
238
+ module Reason
239
+ # Reason is not available.
240
+ REASON_UNSPECIFIED = 0
241
+
242
+ # Reseller needs to accept TOS before transferring the SKU.
243
+ PENDING_TOS_ACCEPTANCE = 1
244
+
245
+ # Reseller not eligible to sell the SKU.
246
+ SKU_NOT_ELIGIBLE = 2
247
+
248
+ # SKU subscription is suspended
249
+ SKU_SUSPENDED = 3
250
+ end
251
+ end
252
+ end
253
+ end
254
+ end
255
+ end