google-cloud-channel-v1 0.3.0 → 0.4.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/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +128 -172
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +0 -2
- data/lib/google/cloud/channel/v1/service_pb.rb +0 -1
- data/lib/google/cloud/channel/v1/service_services_pb.rb +127 -167
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +0 -6
- data/proto_docs/google/cloud/channel/v1/service.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42339a74e254c72c876b25e4e6e2b9cb9eeb86ee4f97d5b1f1374b928bec0b41
|
4
|
+
data.tar.gz: 7e487d63ba1819fd1c58cf9066f56f7b37fc7d7f3a5440624ae89b1c6798e802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61353adea633f0bf622a376684894f727870e1b4f0782a018d02e737d5322ae76046924696a8b09b000c7e2473070abe6c76b236873c6230860f7788a50de4c7
|
7
|
+
data.tar.gz: 8d462ef4673a0e0dc24ab78e985ea4c5bdd42920973dbd80594eb99a330281500f4377604a7f7c8e85baf84a1f2d9fdc036a75a30c3a949b6993b14dbdf7a951
|
data/LICENSE.md
CHANGED
@@ -1,192 +1,190 @@
|
|
1
|
-
Apache License
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
same "printed page" as the copyright notice for easier
|
189
|
-
identification within third-party archives.
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
190
188
|
|
191
189
|
Copyright [yyyy] [name of copyright owner]
|
192
190
|
|
@@ -194,7 +192,7 @@ identification within third-party archives.
|
|
194
192
|
you may not use this file except in compliance with the License.
|
195
193
|
You may obtain a copy of the License at
|
196
194
|
|
197
|
-
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
198
196
|
|
199
197
|
Unless required by applicable law or agreed to in writing, software
|
200
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -223,7 +223,7 @@ module Google
|
|
223
223
|
# request.
|
224
224
|
#
|
225
225
|
# Return Value:
|
226
|
-
#
|
226
|
+
# List of {::Google::Cloud::Channel::V1::Customer Customer}s pertaining to the reseller or empty list if
|
227
227
|
# there are none.
|
228
228
|
#
|
229
229
|
# @overload list_customers(request, options = nil)
|
@@ -313,7 +313,7 @@ module Google
|
|
313
313
|
# the result of an invalid name parameter.
|
314
314
|
#
|
315
315
|
# Return Value:
|
316
|
-
#
|
316
|
+
# {::Google::Cloud::Channel::V1::Customer Customer} resource if found, error otherwise.
|
317
317
|
#
|
318
318
|
# @overload get_customer(request, options = nil)
|
319
319
|
# Pass arguments to `get_customer` via a request object, either of type
|
@@ -390,12 +390,12 @@ module Google
|
|
390
390
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the
|
391
391
|
# request.
|
392
392
|
# * INVALID_VALUE: Invalid domain value in the request.
|
393
|
-
# * NOT_FOUND: If there is no {::Google::Cloud::Channel::V1::CloudIdentityCustomerAccount CloudIdentityCustomerAccount} customer
|
394
|
-
# for the domain specified in the request.
|
395
393
|
#
|
396
394
|
# Return Value:
|
397
|
-
#
|
398
|
-
#
|
395
|
+
# List of {::Google::Cloud::Channel::V1::CloudIdentityCustomerAccount CloudIdentityCustomerAccount} resources for the domain.
|
396
|
+
# List may be empty.
|
397
|
+
# Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
|
398
|
+
# no {::Google::Cloud::Channel::V1::CloudIdentityCustomerAccount CloudIdentityCustomerAccount} resource match the domain.
|
399
399
|
#
|
400
400
|
# @overload check_cloud_identity_accounts_exist(request, options = nil)
|
401
401
|
# Pass arguments to `check_cloud_identity_accounts_exist` via a request object, either of type
|
@@ -468,20 +468,16 @@ module Google
|
|
468
468
|
# account.
|
469
469
|
#
|
470
470
|
# Possible Error Codes:
|
471
|
-
#
|
472
|
-
#
|
473
|
-
# reseller account being queried for are different
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
# email.</li>
|
479
|
-
# </ul>
|
480
|
-
# </li>
|
481
|
-
# </ul>
|
471
|
+
#
|
472
|
+
# * PERMISSION_DENIED: If the reseller account making the request and the
|
473
|
+
# reseller account being queried for are different.
|
474
|
+
# * INVALID_ARGUMENT: It can happen in following scenarios -
|
475
|
+
# * Missing or invalid required parameters in the request.
|
476
|
+
# * Domain field value doesn't match the domain specified in primary
|
477
|
+
# email.
|
482
478
|
#
|
483
479
|
# Return Value:
|
484
|
-
#
|
480
|
+
# If successful, the newly created {::Google::Cloud::Channel::V1::Customer Customer} resource, otherwise
|
485
481
|
# returns an error.
|
486
482
|
#
|
487
483
|
# @overload create_customer(request, options = nil)
|
@@ -564,7 +560,7 @@ module Google
|
|
564
560
|
# specified in the request.
|
565
561
|
#
|
566
562
|
# Return Value:
|
567
|
-
#
|
563
|
+
# If successful, the updated {::Google::Cloud::Channel::V1::Customer Customer} resource, otherwise returns
|
568
564
|
# an error.
|
569
565
|
#
|
570
566
|
# @overload update_customer(request, options = nil)
|
@@ -726,7 +722,7 @@ module Google
|
|
726
722
|
# Contact Cloud Channel support in this case.
|
727
723
|
#
|
728
724
|
# Return Value:
|
729
|
-
#
|
725
|
+
# Long Running Operation ID.
|
730
726
|
#
|
731
727
|
# To get the results of the operation, call the GetOperation method of
|
732
728
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -813,7 +809,7 @@ module Google
|
|
813
809
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
814
810
|
#
|
815
811
|
# Return Value:
|
816
|
-
#
|
812
|
+
# List of {::Google::Cloud::Channel::V1::Entitlement Entitlement}s belonging to the customer, or empty list if
|
817
813
|
# there are none.
|
818
814
|
#
|
819
815
|
# @overload list_entitlements(request, options = nil)
|
@@ -900,21 +896,16 @@ module Google
|
|
900
896
|
# the customer's Cloud Identity ID or Customer Name.
|
901
897
|
#
|
902
898
|
# Possible Error Codes:
|
903
|
-
#
|
904
|
-
#
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
# </ul>
|
911
|
-
# </li>
|
912
|
-
# <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
|
913
|
-
# request.</li>
|
914
|
-
# </ul>
|
899
|
+
#
|
900
|
+
# * PERMISSION_DENIED: Appears because of one of the following -
|
901
|
+
# * The customer doesn't belong to the reseller and no auth token.
|
902
|
+
# * The supplied auth token is invalid.
|
903
|
+
# * The reseller account making the request and the queries reseller
|
904
|
+
# account are different.
|
905
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
915
906
|
#
|
916
907
|
# Return Value:
|
917
|
-
#
|
908
|
+
# List of {::Google::Cloud::Channel::V1::TransferableSku TransferableSku} for the given customer.
|
918
909
|
#
|
919
910
|
# @overload list_transferable_skus(request, options = nil)
|
920
911
|
# Pass arguments to `list_transferable_skus` via a request object, either of type
|
@@ -1020,10 +1011,11 @@ module Google
|
|
1020
1011
|
#
|
1021
1012
|
# Possible Error Codes:
|
1022
1013
|
#
|
1023
|
-
# * PERMISSION_DENIED
|
1024
|
-
# customer doesn't belong to the reseller and no auth token or
|
1025
|
-
# token is supplied.
|
1026
|
-
# reseller account
|
1014
|
+
# * PERMISSION_DENIED: Appears because of one of the following:
|
1015
|
+
# * If the customer doesn't belong to the reseller and no auth token or
|
1016
|
+
# invalid auth token is supplied.
|
1017
|
+
# * If the reseller account making the request and the reseller account
|
1018
|
+
# being queried for are different.
|
1027
1019
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the
|
1028
1020
|
# request.
|
1029
1021
|
#
|
@@ -1125,7 +1117,7 @@ module Google
|
|
1125
1117
|
# * NOT_FOUND: If the entitlement is not found for the customer.
|
1126
1118
|
#
|
1127
1119
|
# Return Value:
|
1128
|
-
#
|
1120
|
+
# If found, the requested {::Google::Cloud::Channel::V1::Entitlement Entitlement} resource, otherwise returns
|
1129
1121
|
# an error.
|
1130
1122
|
#
|
1131
1123
|
# @overload get_entitlement(request, options = nil)
|
@@ -1197,51 +1189,38 @@ module Google
|
|
1197
1189
|
# Creates an entitlement for a customer.
|
1198
1190
|
#
|
1199
1191
|
# Possible Error Codes:
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
#
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
#
|
1216
|
-
#
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
1226
|
-
#
|
1227
|
-
#
|
1228
|
-
#
|
1229
|
-
# domain. Must meet the following domain naming requirements:
|
1230
|
-
# <ul>
|
1231
|
-
# <li> Domain names must start with goog-test. </li>
|
1232
|
-
# <li> Resold domain names must include the reseller domain. </li>
|
1233
|
-
# </ul>
|
1234
|
-
# </li>
|
1235
|
-
# </ul>
|
1236
|
-
# </li>
|
1237
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
1238
|
-
# backend. Contact Cloud Channel Support in this case. </li>
|
1239
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
1240
|
-
# backend. Contact Cloud Channel Support in this case. </li>
|
1241
|
-
# </ul>
|
1192
|
+
#
|
1193
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
1194
|
+
# * INVALID_ARGUMENT: It can happen in below scenarios -
|
1195
|
+
# * Missing or invalid required parameters in the request.
|
1196
|
+
# * Cannot purchase an entitlement if there is already an entitlement for
|
1197
|
+
# customer, for a SKU from the same product family.
|
1198
|
+
# * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
|
1199
|
+
# valid. If it is valid, then contact Google Channel support for further
|
1200
|
+
# troubleshooting.
|
1201
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
1202
|
+
# reseller.
|
1203
|
+
# * ALREADY_EXISTS: This failure can happen in the following cases:
|
1204
|
+
# * If the SKU has been already purchased for the customer.
|
1205
|
+
# * If the customer's primary email already exists. In this case retry
|
1206
|
+
# after changing the customer's primary contact email.
|
1207
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
1208
|
+
# following cases:
|
1209
|
+
# * Purchasing a SKU that requires domain verification and the domain has
|
1210
|
+
# not been verified.
|
1211
|
+
# * Purchasing an Add-On SKU like Vault or Drive without purchasing the
|
1212
|
+
# pre-requisite SKU, such as Google Workspace Business Starter.
|
1213
|
+
# * Applicable only for developer accounts: reseller and resold domain.
|
1214
|
+
# Must meet the following domain naming requirements:
|
1215
|
+
# * Domain names must start with goog-test.
|
1216
|
+
# * Resold domain names must include the reseller domain.
|
1217
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
1218
|
+
# backend. Contact Cloud Channel Support in this case.
|
1219
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the
|
1220
|
+
# backend. Contact Cloud Channel Support in this case.
|
1242
1221
|
#
|
1243
1222
|
# Return Value:
|
1244
|
-
#
|
1223
|
+
# Long Running Operation ID.
|
1245
1224
|
#
|
1246
1225
|
# To get the results of the operation, call the GetOperation method of
|
1247
1226
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1348,7 +1327,7 @@ module Google
|
|
1348
1327
|
# In this case, contact Cloud Channel support.
|
1349
1328
|
#
|
1350
1329
|
# Return Value:
|
1351
|
-
#
|
1330
|
+
# Long Running Operation ID.
|
1352
1331
|
#
|
1353
1332
|
# To get the results of the operation, call the GetOperation method of
|
1354
1333
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1459,7 +1438,7 @@ module Google
|
|
1459
1438
|
# In this case, contact Cloud Channel support.
|
1460
1439
|
#
|
1461
1440
|
# Return Value:
|
1462
|
-
#
|
1441
|
+
# Long Running Operation ID.
|
1463
1442
|
#
|
1464
1443
|
# To get the results of the operation, call the GetOperation method of
|
1465
1444
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1564,7 +1543,7 @@ module Google
|
|
1564
1543
|
# In this case, contact Cloud Channel support.
|
1565
1544
|
#
|
1566
1545
|
# Return Value:
|
1567
|
-
#
|
1546
|
+
# Long Running Operation ID.
|
1568
1547
|
#
|
1569
1548
|
# To get the results of the operation, call the GetOperation method of
|
1570
1549
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1677,7 +1656,7 @@ module Google
|
|
1677
1656
|
# in the backend. In this case, contact Cloud Channel support.
|
1678
1657
|
#
|
1679
1658
|
# Return Value:
|
1680
|
-
#
|
1659
|
+
# Long Running Operation ID.
|
1681
1660
|
#
|
1682
1661
|
# To get the results of the operation, call the GetOperation method of
|
1683
1662
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1779,7 +1758,7 @@ module Google
|
|
1779
1758
|
# In this case, contact Cloud Channel support.
|
1780
1759
|
#
|
1781
1760
|
# Return Value:
|
1782
|
-
#
|
1761
|
+
# Long Running Operation ID.
|
1783
1762
|
#
|
1784
1763
|
# To get the results of the operation, call the GetOperation method of
|
1785
1764
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -1886,7 +1865,7 @@ module Google
|
|
1886
1865
|
# In this case, contact Cloud Channel support.
|
1887
1866
|
#
|
1888
1867
|
# Return Value:
|
1889
|
-
#
|
1868
|
+
# Long Running Operation ID.
|
1890
1869
|
#
|
1891
1870
|
# To get the results of the operation, call the GetOperation method of
|
1892
1871
|
# CloudChannelOperationsService. The response will contain
|
@@ -1998,7 +1977,7 @@ module Google
|
|
1998
1977
|
# In this case, contact Cloud Channel support.
|
1999
1978
|
#
|
2000
1979
|
# Return Value:
|
2001
|
-
#
|
1980
|
+
# Long Running Operation ID.
|
2002
1981
|
#
|
2003
1982
|
# To get the results of the operation, call the GetOperation method of
|
2004
1983
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -2087,36 +2066,30 @@ module Google
|
|
2087
2066
|
# Transfers customer entitlements to new reseller.
|
2088
2067
|
#
|
2089
2068
|
# Possible Error Codes:
|
2090
|
-
#
|
2091
|
-
#
|
2092
|
-
#
|
2093
|
-
#
|
2094
|
-
#
|
2095
|
-
# SKU has been already transferred for the customer.
|
2096
|
-
# CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
2097
|
-
# following cases:
|
2098
|
-
#
|
2099
|
-
#
|
2100
|
-
#
|
2101
|
-
#
|
2102
|
-
# developer accounts: reseller and resold domain
|
2103
|
-
# naming convention as follows:
|
2104
|
-
#
|
2105
|
-
#
|
2106
|
-
#
|
2107
|
-
#
|
2108
|
-
#
|
2109
|
-
#
|
2110
|
-
#
|
2111
|
-
# </li>
|
2112
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
2113
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
2114
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
2115
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
2116
|
-
# </ul>
|
2069
|
+
#
|
2070
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
2071
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
2072
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
2073
|
+
# reseller.
|
2074
|
+
# * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
|
2075
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
2076
|
+
# following cases:
|
2077
|
+
# * Transferring a SKU that requires domain verification and the domain
|
2078
|
+
# has not been verified.
|
2079
|
+
# * Transferring an Add-On SKU like Vault or Drive without transferring
|
2080
|
+
# the pre-requisite SKU, such as G Suite Basic.
|
2081
|
+
# * Applicable only for developer accounts: reseller and resold domain
|
2082
|
+
# must follow the domain naming convention as follows:
|
2083
|
+
# * Domain names must start with goog-test.
|
2084
|
+
# * Resold domain names must include the reseller domain.
|
2085
|
+
# * All transferring entitlements must be specified.
|
2086
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
2087
|
+
# Please contact Cloud Channel Support in this case.
|
2088
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
2089
|
+
# Please contact Cloud Channel Support in this case.
|
2117
2090
|
#
|
2118
2091
|
# Return Value:
|
2119
|
-
#
|
2092
|
+
# Long Running Operation ID.
|
2120
2093
|
#
|
2121
2094
|
# To get the results of the operation, call the GetOperation method of
|
2122
2095
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -2213,38 +2186,29 @@ module Google
|
|
2213
2186
|
# Transfers customer entitlements from current reseller to Google.
|
2214
2187
|
#
|
2215
2188
|
# Possible Error Codes:
|
2216
|
-
#
|
2217
|
-
#
|
2218
|
-
#
|
2219
|
-
#
|
2220
|
-
#
|
2221
|
-
# for the
|
2222
|
-
#
|
2223
|
-
# transferred for the customer. </li>
|
2224
|
-
# <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
|
2189
|
+
#
|
2190
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
2191
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
2192
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
2193
|
+
# reseller.
|
2194
|
+
# * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
|
2195
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
|
2225
2196
|
# the following cases:
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
#
|
2229
|
-
#
|
2230
|
-
#
|
2231
|
-
#
|
2232
|
-
#
|
2233
|
-
#
|
2234
|
-
#
|
2235
|
-
#
|
2236
|
-
#
|
2237
|
-
#
|
2238
|
-
# </ul>
|
2239
|
-
# </li>
|
2240
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
2241
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
2242
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
2243
|
-
# backend. Please contact Cloud Channel Support in this case.</li>
|
2244
|
-
# </ul>
|
2197
|
+
# * Transferring a SKU that requires domain verification and the domain
|
2198
|
+
# has not been verified.
|
2199
|
+
# * Transferring an Add-On SKU like Vault or Drive without purchasing the
|
2200
|
+
# pre-requisite SKU, such as G Suite Basic.
|
2201
|
+
# * Applicable only for developer accounts: reseller and resold domain
|
2202
|
+
# must follow the domain naming convention as follows:
|
2203
|
+
# * Domain names must start with goog-test.
|
2204
|
+
# * Resold domain names must include the reseller domain.
|
2205
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
2206
|
+
# Please contact Cloud Channel Support in this case.
|
2207
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
2208
|
+
# Please contact Cloud Channel Support in this case.
|
2245
2209
|
#
|
2246
2210
|
# Return Value:
|
2247
|
-
#
|
2211
|
+
# Long Running Operation ID.
|
2248
2212
|
#
|
2249
2213
|
# To get the results of the operation, call the GetOperation method of
|
2250
2214
|
# CloudChannelOperationsService. The response will contain
|
@@ -2344,7 +2308,7 @@ module Google
|
|
2344
2308
|
# request.
|
2345
2309
|
#
|
2346
2310
|
# Return Value:
|
2347
|
-
#
|
2311
|
+
# If successful, returns the list of {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink} resources
|
2348
2312
|
# for the distributor account, otherwise returns an error.
|
2349
2313
|
#
|
2350
2314
|
# @overload list_channel_partner_links(request, options = nil)
|
@@ -2438,7 +2402,7 @@ module Google
|
|
2438
2402
|
# due invalid channel partner link name.
|
2439
2403
|
#
|
2440
2404
|
# Return Value:
|
2441
|
-
#
|
2405
|
+
# {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink} resource if found, otherwise returns an error.
|
2442
2406
|
#
|
2443
2407
|
# @overload get_channel_partner_link(request, options = nil)
|
2444
2408
|
# Pass arguments to `get_channel_partner_link` via a request object, either of type
|
@@ -2530,7 +2494,7 @@ module Google
|
|
2530
2494
|
# the backend. In this case, contact Cloud Channel support.
|
2531
2495
|
#
|
2532
2496
|
# Return Value:
|
2533
|
-
#
|
2497
|
+
# Newly created {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink} resource if successful,
|
2534
2498
|
# otherwise error is returned.
|
2535
2499
|
#
|
2536
2500
|
# @overload create_channel_partner_link(request, options = nil)
|
@@ -2543,7 +2507,7 @@ module Google
|
|
2543
2507
|
# @param options [::Gapic::CallOptions, ::Hash]
|
2544
2508
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2545
2509
|
#
|
2546
|
-
# @overload create_channel_partner_link(parent: nil, channel_partner_link: nil
|
2510
|
+
# @overload create_channel_partner_link(parent: nil, channel_partner_link: nil)
|
2547
2511
|
# Pass arguments to `create_channel_partner_link` via keyword arguments. Note that at
|
2548
2512
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2549
2513
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -2556,10 +2520,6 @@ module Google
|
|
2556
2520
|
# Required. The channel partner link to create.
|
2557
2521
|
# Either channel_partner_link.reseller_cloud_identity_id or domain can be
|
2558
2522
|
# used to create a link.
|
2559
|
-
# @param domain [::String]
|
2560
|
-
# Optional. The invited partner's domain. Either domain or
|
2561
|
-
# channel_partner_link.reseller_cloud_identity_id can be used to create a
|
2562
|
-
# link.
|
2563
2523
|
#
|
2564
2524
|
# @yield [response, operation] Access the result along with the RPC operation
|
2565
2525
|
# @yieldparam response [::Google::Cloud::Channel::V1::ChannelPartnerLink]
|
@@ -2612,26 +2572,22 @@ module Google
|
|
2612
2572
|
# To call this method, you must be a distributor.
|
2613
2573
|
#
|
2614
2574
|
# Possible Error Codes:
|
2615
|
-
#
|
2616
|
-
#
|
2617
|
-
# reseller account being queried for are different.
|
2618
|
-
#
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
#
|
2622
|
-
#
|
2623
|
-
#
|
2624
|
-
#
|
2625
|
-
#
|
2626
|
-
#
|
2627
|
-
#
|
2628
|
-
# backend. In this case, contact Cloud Channel support. </li>
|
2629
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
2630
|
-
# backend. In this case, contact Cloud Channel support.</li>
|
2631
|
-
# </ul>
|
2575
|
+
#
|
2576
|
+
# * PERMISSION_DENIED: If the reseller account making the request and the
|
2577
|
+
# reseller account being queried for are different.
|
2578
|
+
# * INVALID_ARGUMENT: It can happen in following scenarios -
|
2579
|
+
# * Missing or invalid required parameters in the request.
|
2580
|
+
# * Updating link state from invited to active or suspended.
|
2581
|
+
# * Sending reseller_cloud_identity_id, invite_url or name in update
|
2582
|
+
# mask.
|
2583
|
+
# * NOT_FOUND: ChannelPartnerLink resource not found.
|
2584
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
2585
|
+
# In this case, contact Cloud Channel support.
|
2586
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
2587
|
+
# In this case, contact Cloud Channel support.
|
2632
2588
|
#
|
2633
2589
|
# Return Value:
|
2634
|
-
#
|
2590
|
+
# If successful, the updated {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink} resource, otherwise
|
2635
2591
|
# returns an error.
|
2636
2592
|
#
|
2637
2593
|
# @overload update_channel_partner_link(request, options = nil)
|