@origincloud/network 0.0.0-stage → 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.
Files changed (108) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +25 -2
  3. package/dist/longrunning/v1beta1/index.d.ts +2 -0
  4. package/dist/longrunning/v1beta1/index.d.ts.map +1 -0
  5. package/dist/longrunning/v1beta1/index.js +3 -0
  6. package/dist/longrunning/v1beta1/index.js.map +1 -0
  7. package/dist/longrunning/v1beta1/operations.d.ts +63 -0
  8. package/dist/longrunning/v1beta1/operations.d.ts.map +1 -0
  9. package/dist/longrunning/v1beta1/operations.js +54 -0
  10. package/dist/longrunning/v1beta1/operations.js.map +1 -0
  11. package/dist/v1beta1/acl.d.ts +145 -0
  12. package/dist/v1beta1/acl.d.ts.map +1 -0
  13. package/dist/v1beta1/acl.js +117 -0
  14. package/dist/v1beta1/acl.js.map +1 -0
  15. package/dist/v1beta1/acl_association.d.ts +107 -0
  16. package/dist/v1beta1/acl_association.d.ts.map +1 -0
  17. package/dist/v1beta1/acl_association.js +98 -0
  18. package/dist/v1beta1/acl_association.js.map +1 -0
  19. package/dist/v1beta1/acl_rule.d.ts +177 -0
  20. package/dist/v1beta1/acl_rule.d.ts.map +1 -0
  21. package/dist/v1beta1/acl_rule.js +133 -0
  22. package/dist/v1beta1/acl_rule.js.map +1 -0
  23. package/dist/v1beta1/dns_policy.d.ts +182 -0
  24. package/dist/v1beta1/dns_policy.d.ts.map +1 -0
  25. package/dist/v1beta1/dns_policy.js +140 -0
  26. package/dist/v1beta1/dns_policy.js.map +1 -0
  27. package/dist/v1beta1/dns_policy_association.d.ts +111 -0
  28. package/dist/v1beta1/dns_policy_association.d.ts.map +1 -0
  29. package/dist/v1beta1/dns_policy_association.js +99 -0
  30. package/dist/v1beta1/dns_policy_association.js.map +1 -0
  31. package/dist/v1beta1/floating_ip.d.ts +160 -0
  32. package/dist/v1beta1/floating_ip.d.ts.map +1 -0
  33. package/dist/v1beta1/floating_ip.js +120 -0
  34. package/dist/v1beta1/floating_ip.js.map +1 -0
  35. package/dist/v1beta1/floating_ip_association.d.ts +116 -0
  36. package/dist/v1beta1/floating_ip_association.d.ts.map +1 -0
  37. package/dist/v1beta1/floating_ip_association.js +99 -0
  38. package/dist/v1beta1/floating_ip_association.js.map +1 -0
  39. package/dist/v1beta1/index.d.ts +19 -0
  40. package/dist/v1beta1/index.d.ts.map +1 -0
  41. package/dist/v1beta1/index.js +20 -0
  42. package/dist/v1beta1/index.js.map +1 -0
  43. package/dist/v1beta1/internet_gateway.d.ts +146 -0
  44. package/dist/v1beta1/internet_gateway.d.ts.map +1 -0
  45. package/dist/v1beta1/internet_gateway.js +118 -0
  46. package/dist/v1beta1/internet_gateway.js.map +1 -0
  47. package/dist/v1beta1/nat_gateway.d.ts +147 -0
  48. package/dist/v1beta1/nat_gateway.d.ts.map +1 -0
  49. package/dist/v1beta1/nat_gateway.js +117 -0
  50. package/dist/v1beta1/nat_gateway.js.map +1 -0
  51. package/dist/v1beta1/network_interface.d.ts +195 -0
  52. package/dist/v1beta1/network_interface.d.ts.map +1 -0
  53. package/dist/v1beta1/network_interface.js +127 -0
  54. package/dist/v1beta1/network_interface.js.map +1 -0
  55. package/dist/v1beta1/route.d.ts +125 -0
  56. package/dist/v1beta1/route.d.ts.map +1 -0
  57. package/dist/v1beta1/route.js +100 -0
  58. package/dist/v1beta1/route.js.map +1 -0
  59. package/dist/v1beta1/route_table.d.ts +154 -0
  60. package/dist/v1beta1/route_table.d.ts.map +1 -0
  61. package/dist/v1beta1/route_table.js +114 -0
  62. package/dist/v1beta1/route_table.js.map +1 -0
  63. package/dist/v1beta1/route_table_association.d.ts +117 -0
  64. package/dist/v1beta1/route_table_association.d.ts.map +1 -0
  65. package/dist/v1beta1/route_table_association.js +105 -0
  66. package/dist/v1beta1/route_table_association.js.map +1 -0
  67. package/dist/v1beta1/security_group.d.ts +152 -0
  68. package/dist/v1beta1/security_group.d.ts.map +1 -0
  69. package/dist/v1beta1/security_group.js +118 -0
  70. package/dist/v1beta1/security_group.js.map +1 -0
  71. package/dist/v1beta1/security_group_association.d.ts +112 -0
  72. package/dist/v1beta1/security_group_association.d.ts.map +1 -0
  73. package/dist/v1beta1/security_group_association.js +100 -0
  74. package/dist/v1beta1/security_group_association.js.map +1 -0
  75. package/dist/v1beta1/security_group_rule.d.ts +172 -0
  76. package/dist/v1beta1/security_group_rule.d.ts.map +1 -0
  77. package/dist/v1beta1/security_group_rule.js +123 -0
  78. package/dist/v1beta1/security_group_rule.js.map +1 -0
  79. package/dist/v1beta1/subnet.d.ts +192 -0
  80. package/dist/v1beta1/subnet.d.ts.map +1 -0
  81. package/dist/v1beta1/subnet.js +121 -0
  82. package/dist/v1beta1/subnet.js.map +1 -0
  83. package/dist/v1beta1/vpc.d.ts +164 -0
  84. package/dist/v1beta1/vpc.d.ts.map +1 -0
  85. package/dist/v1beta1/vpc.js +118 -0
  86. package/dist/v1beta1/vpc.js.map +1 -0
  87. package/package.json +40 -4
  88. package/src/longrunning/v1beta1/index.ts +3 -0
  89. package/src/longrunning/v1beta1/operations.ts +103 -0
  90. package/src/v1beta1/acl.ts +244 -0
  91. package/src/v1beta1/acl_association.ts +190 -0
  92. package/src/v1beta1/acl_rule.ts +266 -0
  93. package/src/v1beta1/dns_policy.ts +296 -0
  94. package/src/v1beta1/dns_policy_association.ts +194 -0
  95. package/src/v1beta1/floating_ip.ts +259 -0
  96. package/src/v1beta1/floating_ip_association.ts +199 -0
  97. package/src/v1beta1/index.ts +20 -0
  98. package/src/v1beta1/internet_gateway.ts +245 -0
  99. package/src/v1beta1/nat_gateway.ts +246 -0
  100. package/src/v1beta1/network_interface.ts +296 -0
  101. package/src/v1beta1/route.ts +208 -0
  102. package/src/v1beta1/route_table.ts +253 -0
  103. package/src/v1beta1/route_table_association.ts +200 -0
  104. package/src/v1beta1/security_group.ts +251 -0
  105. package/src/v1beta1/security_group_association.ts +195 -0
  106. package/src/v1beta1/security_group_rule.ts +259 -0
  107. package/src/v1beta1/subnet.ts +291 -0
  108. package/src/v1beta1/vpc.ts +263 -0
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,26 @@
1
- # Temporary Holding Version
1
+ # @origincloud/network
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The client of Origin Cloud's network service: VPCs, subnets, routing, gateways,
4
+ floating IPs, network interfaces, security groups, ACLs and DNS policies. Part
5
+ of the [Origin Cloud SDK for
6
+ TypeScript](https://github.com/origincloudhq/sdk-typescript), generated from the
7
+ API definitions in [origincloudhq/api](https://github.com/origincloudhq/api).
8
+
9
+ ```ts
10
+ import { Client } from "@origincloud/core";
11
+ import { AclClient } from "@origincloud/network/v1beta1";
12
+
13
+ const acls = new AclClient(new Client());
14
+ ```
15
+
16
+ | Import | API |
17
+ |---|---|
18
+ | `@origincloud/network/v1beta1` | VPCs, subnets, routing, gateways, floating IPs, network interfaces, security groups, ACLs and DNS policies |
19
+ | `@origincloud/network/longrunning/v1beta1` | Network operations, for resuming one by name |
20
+
21
+ `v1beta1` is a preview version and may change in incompatible ways, like the API
22
+ itself. See the [repository's
23
+ README](https://github.com/origincloudhq/sdk-typescript#readme) for credentials
24
+ and behaviour.
25
+
26
+ Apache License 2.0.
@@ -0,0 +1,2 @@
1
+ export * from "./operations.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/longrunning/v1beta1/index.ts"],"names":[],"mappings":"AAEA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Code generated by the SDK's generator (generator/). DO NOT EDIT.
2
+ export * from "./operations.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/longrunning/v1beta1/index.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAEnE,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { type CallOptions, type Client, type LongrunningOperation, type Service } from "@origincloud/core";
2
+ /**
3
+ * Calls OperationService.
4
+ *
5
+ * The long-running operations of a service: what its creates, updates and
6
+ * deletes answer with, until their resource settles. Every service serves
7
+ * this at its own host, for the operations its own methods return.
8
+ *
9
+ * An operation is done when its resource reaches the state its method
10
+ * promises, or failed when it can't get there; that outcome never changes
11
+ * afterwards, whatever later happens to the resource. It can be read for a
12
+ * day after it is done.
13
+ */
14
+ export declare class OperationClient {
15
+ /**
16
+ * The endpoint the client sends its calls to, which also serves the
17
+ * operations its methods answer with.
18
+ */
19
+ readonly service: Service;
20
+ /**
21
+ * A client of OperationService at the network host, which serves the
22
+ * operations the network methods answer with.
23
+ */
24
+ constructor(client: Client);
25
+ /** Returns an operation as it is now. */
26
+ getOperation(request: GetOperationRequest, options?: CallOptions): Promise<LongrunningOperation>;
27
+ /**
28
+ * Waits until an operation is done or `timeout` has passed, whichever
29
+ * comes first, and returns it as it is then. It only reads, so a client
30
+ * may repeat it after a transport error.
31
+ */
32
+ waitOperation(request: WaitOperationRequest, options?: CallOptions): Promise<LongrunningOperation>;
33
+ }
34
+ /** The request for GetOperation. */
35
+ export interface GetOperationRequest {
36
+ /**
37
+ * The operation to return, `projects/{project}/zones/{zone}/operations/{operation}`,
38
+ * exactly as a method returned it.
39
+ */
40
+ name?: string;
41
+ }
42
+ /** The request for WaitOperation. */
43
+ export interface WaitOperationRequest {
44
+ /** The operation to wait for, exactly as a method returned it. */
45
+ name?: string;
46
+ /** The longest to wait, at most a minute; a minute when not set. */
47
+ timeout?: string;
48
+ }
49
+ /** What an operation is about. */
50
+ export interface OperationMetadata {
51
+ /** The resource the operation acts on. */
52
+ target?: string;
53
+ /**
54
+ * What it does, as the method that started it names it: for example
55
+ * `create`, `update` or `delete`.
56
+ */
57
+ verb?: string;
58
+ /** When it was accepted. */
59
+ createTime?: string;
60
+ /** When it finished; empty while it hasn't. */
61
+ endTime?: string;
62
+ }
63
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/longrunning/v1beta1/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,OAAO,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;GAWG;AACH,qBAAa,eAAe;IAC1B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B,yCAAyC;IACnC,YAAY,CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAatG;;;;OAIG;IACG,aAAa,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAYzG;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qCAAqC;AACrC,MAAM,WAAW,oBAAoB;IACnC,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,kCAAkC;AAClC,MAAM,WAAW,iBAAiB;IAChC,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,54 @@
1
+ // Code generated by the SDK's generator (generator/). DO NOT EDIT.
2
+ // source: origincloud/longrunning/v1beta1/operations.proto
3
+ import { pathValue, query, } from "@origincloud/core";
4
+ /**
5
+ * Calls OperationService.
6
+ *
7
+ * The long-running operations of a service: what its creates, updates and
8
+ * deletes answer with, until their resource settles. Every service serves
9
+ * this at its own host, for the operations its own methods return.
10
+ *
11
+ * An operation is done when its resource reaches the state its method
12
+ * promises, or failed when it can't get there; that outcome never changes
13
+ * afterwards, whatever later happens to the resource. It can be read for a
14
+ * day after it is done.
15
+ */
16
+ export class OperationClient {
17
+ /**
18
+ * The endpoint the client sends its calls to, which also serves the
19
+ * operations its methods answer with.
20
+ */
21
+ service;
22
+ /**
23
+ * A client of OperationService at the network host, which serves the
24
+ * operations the network methods answer with.
25
+ */
26
+ constructor(client) {
27
+ this.service = client.service("network", true);
28
+ }
29
+ /** Returns an operation as it is now. */
30
+ async getOperation(request, options) {
31
+ const p0 = pathValue("name", request.name, "projects/*/zones/*/operations/*");
32
+ return this.service.call({
33
+ method: "GET",
34
+ path: `/v1beta1/${p0}`,
35
+ query: query(request, ["name"]),
36
+ idempotent: true,
37
+ }, options);
38
+ }
39
+ /**
40
+ * Waits until an operation is done or `timeout` has passed, whichever
41
+ * comes first, and returns it as it is then. It only reads, so a client
42
+ * may repeat it after a transport error.
43
+ */
44
+ async waitOperation(request, options) {
45
+ const p0 = pathValue("name", request.name, "projects/*/zones/*/operations/*");
46
+ return this.service.call({
47
+ method: "POST",
48
+ path: `/v1beta1/${p0}:wait`,
49
+ body: request,
50
+ idempotent: true,
51
+ }, options);
52
+ }
53
+ }
54
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/longrunning/v1beta1/operations.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,2DAA2D;AAE3D,OAAO,EAKL,SAAS,EACT,KAAK,GACN,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,eAAe;IAC1B;;;OAGG;IACM,OAAO,CAAU;IAE1B;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,yCAAyC;IACzC,KAAK,CAAC,YAAY,CAAC,OAA4B,EAAE,OAAqB;QACpE,MAAM,EAAE,GAAG,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,iCAAiC,CAAC,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,YAAY,EAAE,EAAE;YACtB,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC;YAC/B,UAAU,EAAE,IAAI;SACjB,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,aAAa,CAAC,OAA6B,EAAE,OAAqB;QACtE,MAAM,EAAE,GAAG,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,iCAAiC,CAAC,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB;YACE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,YAAY,EAAE,OAAO;YAC3B,IAAI,EAAE,OAAO;YACb,UAAU,EAAE,IAAI;SACjB,EACD,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,145 @@
1
+ import { type CallOptions, type Client, type Empty, Operation, type Service } from "@origincloud/core";
2
+ import type { OperationMetadata } from "../longrunning/v1beta1/operations.js";
3
+ /**
4
+ * Calls AclService.
5
+ *
6
+ * ACLs: stateless filters at the edge of a subnet. An ACL holds rules
7
+ * (`AclRuleService`), and applies to the subnets that an ACL association
8
+ * names it for (`AclAssociationService`). Each packet entering or leaving
9
+ * such a subnet meets the rules of its direction in `priority` order; the
10
+ * first that matches accepts or drops it, and a packet no rule matches is
11
+ * dropped.
12
+ */
13
+ export declare class AclClient {
14
+ /**
15
+ * The endpoint the client sends its calls to, which also serves the
16
+ * operations its methods answer with.
17
+ */
18
+ readonly service: Service;
19
+ /** A client of AclService that sends its calls through `client`. */
20
+ constructor(client: Client);
21
+ /** Returns an ACL. */
22
+ getAcl(request: GetAclRequest, options?: CallOptions): Promise<Acl>;
23
+ /** Lists the ACLs in a region, oldest first. */
24
+ listAcls(request: ListAclsRequest, options?: CallOptions): Promise<ListAclsResponse>;
25
+ /**
26
+ * Iterates over everything listAcls lists from the request's page on,
27
+ * fetching the next page as the loop reaches it. A page that fails ends
28
+ * the iteration with its error.
29
+ */
30
+ allAcls(request: ListAclsRequest, options?: CallOptions): AsyncGenerator<Acl, void, undefined>;
31
+ /**
32
+ * Creates an ACL in a VPC, with no rules: it drops everything until
33
+ * rules are added. The operation is done once the ACL is recorded.
34
+ *
35
+ * It answers with an operation to wait on, whose result is the Acl.
36
+ */
37
+ createAcl(request: CreateAclRequest, options?: CallOptions): Promise<Operation<Acl, OperationMetadata>>;
38
+ /**
39
+ * Changes an ACL's tags. The operation is done once the change is
40
+ * recorded.
41
+ *
42
+ * It answers with an operation to wait on, whose result is the Acl.
43
+ */
44
+ updateAcl(request: UpdateAclRequest, options?: CallOptions): Promise<Operation<Acl, OperationMetadata>>;
45
+ /**
46
+ * Deletes an ACL with its rules. Refused for an ACL the platform created
47
+ * with its VPC, which goes with the VPC, and while an ACL association
48
+ * names it. The operation is done once the change is recorded; the
49
+ * network applies it within seconds.
50
+ *
51
+ * It answers with an operation to wait on, which has no result.
52
+ */
53
+ deleteAcl(request: DeleteAclRequest, options?: CallOptions): Promise<Operation<Empty, OperationMetadata>>;
54
+ }
55
+ /**
56
+ * Stateless rules for the traffic in and out of the subnets associated with
57
+ * the ACL.
58
+ */
59
+ export interface Acl {
60
+ /** The ACL's resource name. */
61
+ name?: string;
62
+ /** The ACL's URN, the identifier access policies and the audit log use. */
63
+ urn?: string;
64
+ /** The VPC the ACL belongs to, in the same project and region. */
65
+ vpc?: string;
66
+ /**
67
+ * Whether the platform created the ACL with the VPC. Only the project's
68
+ * default VPC has such resources. It can't be deleted, and goes with its
69
+ * VPC.
70
+ */
71
+ vpcDefault?: boolean;
72
+ /** When the ACL was created. */
73
+ createTime?: string;
74
+ /**
75
+ * The principal that created the ACL, such as `user:<id>` or
76
+ * `service_account:<id>`; empty for one the platform created.
77
+ */
78
+ creator?: string;
79
+ /**
80
+ * Labels of your own, at most 50. The `origin:name` tag is the name the
81
+ * console shows.
82
+ */
83
+ tags?: Record<string, string>;
84
+ }
85
+ /** The request for GetAcl. */
86
+ export interface GetAclRequest {
87
+ /** The ACL to return. */
88
+ name?: string;
89
+ }
90
+ /** The request for ListAcls. */
91
+ export interface ListAclsRequest {
92
+ /** The region whose ACLs to list, `projects/{project}/regions/{region}`. */
93
+ parent?: string;
94
+ /**
95
+ * The most ACLs to return; the server clamps it, and 0 means its
96
+ * default.
97
+ */
98
+ pageSize?: number;
99
+ /** A previous response's `nextPageToken`, for the page after it. */
100
+ pageToken?: string;
101
+ /** Only the ACLs of this VPC, when set. */
102
+ vpc?: string;
103
+ }
104
+ /** The response for ListAcls. */
105
+ export interface ListAclsResponse {
106
+ /** The ACLs on this page. */
107
+ acls?: Acl[];
108
+ /** The token for the next page; empty on the last one. */
109
+ nextPageToken?: string;
110
+ }
111
+ /** The request for CreateAcl. */
112
+ export interface CreateAclRequest {
113
+ /** The region to create the ACL in, `projects/{project}/regions/{region}`. */
114
+ parent?: string;
115
+ /** The ACL to create: its VPC, and optionally its tags. */
116
+ acl?: Acl;
117
+ /**
118
+ * A UUID; a repeat with the same id returns the first request's
119
+ * operation instead of creating a second ACL.
120
+ */
121
+ requestId?: string;
122
+ }
123
+ /** The request for UpdateAcl. */
124
+ export interface UpdateAclRequest {
125
+ /** The ACL, by its name, with the fields to change. */
126
+ acl?: Acl;
127
+ /** The fields to change: `tags`, or `*`. */
128
+ updateMask?: string;
129
+ /**
130
+ * A UUID; a repeat with the same id returns the first request's
131
+ * operation instead of changing the ACL again.
132
+ */
133
+ requestId?: string;
134
+ }
135
+ /** The request for DeleteAcl. */
136
+ export interface DeleteAclRequest {
137
+ /** The ACL to delete. */
138
+ name?: string;
139
+ /**
140
+ * A UUID; a repeat with the same id returns the first request's
141
+ * operation.
142
+ */
143
+ requestId?: string;
144
+ }
145
+ //# sourceMappingURL=acl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../src/v1beta1/acl.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,KAAK,EAEV,SAAS,EACT,KAAK,OAAO,EAIb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;GASG;AACH,qBAAa,SAAS;IACpB;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B,oEAAoE;gBACxD,MAAM,EAAE,MAAM;IAI1B,sBAAsB;IAChB,MAAM,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC;IAazE,gDAAgD;IAC1C,QAAQ,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAa1F;;;;OAIG;IACI,OAAO,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,cAAc,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC;IASrG;;;;;OAKG;IACG,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC;IAgB7G;;;;;OAKG;IACG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AAW,gBAAgB;IAC/B,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,GAAG,CAAC,EAAE,GAAG,CAAC;IACV;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iCAAiC;AACjC,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iCAAiC;AACjC,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,117 @@
1
+ // Code generated by the SDK's generator (generator/). DO NOT EDIT.
2
+ // source: origincloud/network/v1beta1/acl.proto
3
+ import { Operation, newRequestId, pathValue, query, } from "@origincloud/core";
4
+ /**
5
+ * Calls AclService.
6
+ *
7
+ * ACLs: stateless filters at the edge of a subnet. An ACL holds rules
8
+ * (`AclRuleService`), and applies to the subnets that an ACL association
9
+ * names it for (`AclAssociationService`). Each packet entering or leaving
10
+ * such a subnet meets the rules of its direction in `priority` order; the
11
+ * first that matches accepts or drops it, and a packet no rule matches is
12
+ * dropped.
13
+ */
14
+ export class AclClient {
15
+ /**
16
+ * The endpoint the client sends its calls to, which also serves the
17
+ * operations its methods answer with.
18
+ */
19
+ service;
20
+ /** A client of AclService that sends its calls through `client`. */
21
+ constructor(client) {
22
+ this.service = client.service("network", true);
23
+ }
24
+ /** Returns an ACL. */
25
+ async getAcl(request, options) {
26
+ const p0 = pathValue("name", request.name, "projects/*/regions/*/acls/*");
27
+ return this.service.call({
28
+ method: "GET",
29
+ path: `/v1beta1/${p0}`,
30
+ query: query(request, ["name"]),
31
+ idempotent: true,
32
+ }, options);
33
+ }
34
+ /** Lists the ACLs in a region, oldest first. */
35
+ async listAcls(request, options) {
36
+ const p0 = pathValue("parent", request.parent, "projects/*/regions/*");
37
+ return this.service.call({
38
+ method: "GET",
39
+ path: `/v1beta1/${p0}/acls`,
40
+ query: query(request, ["parent"]),
41
+ idempotent: true,
42
+ }, options);
43
+ }
44
+ /**
45
+ * Iterates over everything listAcls lists from the request's page on,
46
+ * fetching the next page as the loop reaches it. A page that fails ends
47
+ * the iteration with its error.
48
+ */
49
+ async *allAcls(request, options) {
50
+ for (let page = request;;) {
51
+ const response = await this.listAcls(page, options);
52
+ yield* response.acls ?? [];
53
+ if (!response.nextPageToken)
54
+ return;
55
+ page = { ...page, pageToken: response.nextPageToken };
56
+ }
57
+ }
58
+ /**
59
+ * Creates an ACL in a VPC, with no rules: it drops everything until
60
+ * rules are added. The operation is done once the ACL is recorded.
61
+ *
62
+ * It answers with an operation to wait on, whose result is the Acl.
63
+ */
64
+ async createAcl(request, options) {
65
+ if (!request.requestId)
66
+ request = { ...request, requestId: newRequestId() };
67
+ const p0 = pathValue("parent", request.parent, "projects/*/regions/*");
68
+ const op = await this.service.call({
69
+ method: "POST",
70
+ path: `/v1beta1/${p0}/acls`,
71
+ body: request.acl,
72
+ query: query(request, ["parent", "acl"]),
73
+ idempotent: true,
74
+ }, options);
75
+ return new Operation(this.service, op, "origincloud.network.v1beta1.Acl");
76
+ }
77
+ /**
78
+ * Changes an ACL's tags. The operation is done once the change is
79
+ * recorded.
80
+ *
81
+ * It answers with an operation to wait on, whose result is the Acl.
82
+ */
83
+ async updateAcl(request, options) {
84
+ if (!request.requestId)
85
+ request = { ...request, requestId: newRequestId() };
86
+ const p0 = pathValue("acl.name", request.acl?.name, "projects/*/regions/*/acls/*");
87
+ const op = await this.service.call({
88
+ method: "PATCH",
89
+ path: `/v1beta1/${p0}`,
90
+ body: request.acl,
91
+ query: query(request, ["acl.name", "acl"]),
92
+ idempotent: true,
93
+ }, options);
94
+ return new Operation(this.service, op, "origincloud.network.v1beta1.Acl");
95
+ }
96
+ /**
97
+ * Deletes an ACL with its rules. Refused for an ACL the platform created
98
+ * with its VPC, which goes with the VPC, and while an ACL association
99
+ * names it. The operation is done once the change is recorded; the
100
+ * network applies it within seconds.
101
+ *
102
+ * It answers with an operation to wait on, which has no result.
103
+ */
104
+ async deleteAcl(request, options) {
105
+ if (!request.requestId)
106
+ request = { ...request, requestId: newRequestId() };
107
+ const p0 = pathValue("name", request.name, "projects/*/regions/*/acls/*");
108
+ const op = await this.service.call({
109
+ method: "DELETE",
110
+ path: `/v1beta1/${p0}`,
111
+ query: query(request, ["name"]),
112
+ idempotent: true,
113
+ }, options);
114
+ return new Operation(this.service, op, "google.protobuf.Empty");
115
+ }
116
+ }
117
+ //# sourceMappingURL=acl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../src/v1beta1/acl.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,gDAAgD;AAEhD,OAAO,EAKL,SAAS,EAET,YAAY,EACZ,SAAS,EACT,KAAK,GACN,MAAM,mBAAmB,CAAC;AAG3B;;;;;;;;;GASG;AACH,MAAM,OAAO,SAAS;IACpB;;;OAGG;IACM,OAAO,CAAU;IAE1B,oEAAoE;IACpE,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,sBAAsB;IACtB,KAAK,CAAC,MAAM,CAAC,OAAsB,EAAE,OAAqB;QACxD,MAAM,EAAE,GAAG,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,6BAA6B,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,YAAY,EAAE,EAAE;YACtB,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC;YAC/B,UAAU,EAAE,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