google-cloud-hypercompute_cluster-v1beta 0.a → 0.1.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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/hypercompute_cluster/v1beta/bindings_override.rb +75 -0
  6. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/client.rb +968 -0
  7. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/credentials.rb +47 -0
  8. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/operations.rb +841 -0
  9. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/paths.rb +217 -0
  10. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/rest/client.rb +898 -0
  11. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/rest/operations.rb +925 -0
  12. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/rest/service_stub.rb +388 -0
  13. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster/rest.rb +54 -0
  14. data/lib/google/cloud/hypercompute_cluster/v1beta/hypercompute_cluster.rb +56 -0
  15. data/lib/google/cloud/hypercompute_cluster/v1beta/rest.rb +38 -0
  16. data/lib/google/cloud/hypercompute_cluster/v1beta/version.rb +7 -2
  17. data/lib/google/cloud/hypercompute_cluster/v1beta.rb +45 -0
  18. data/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_pb.rb +101 -0
  19. data/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_services_pb.rb +53 -0
  20. data/lib/google/cloud/hypercomputecluster/v1beta/operation_metadata_pb.rb +47 -0
  21. data/lib/google-cloud-hypercompute_cluster-v1beta.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +473 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/field_info.rb +88 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/api/resource.rb +227 -0
  28. data/proto_docs/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster.rb +1007 -0
  29. data/proto_docs/google/cloud/hypercomputecluster/v1beta/operation_metadata.rb +55 -0
  30. data/proto_docs/google/longrunning/operations.rb +191 -0
  31. data/proto_docs/google/protobuf/any.rb +145 -0
  32. data/proto_docs/google/protobuf/duration.rb +98 -0
  33. data/proto_docs/google/protobuf/empty.rb +34 -0
  34. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  35. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  36. data/proto_docs/google/rpc/status.rb +48 -0
  37. metadata +84 -9
@@ -0,0 +1,217 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 HypercomputeCluster
23
+ module V1beta
24
+ module HypercomputeCluster
25
+ # Path helper methods for the HypercomputeCluster API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Bucket resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/buckets/{bucket}`
33
+ #
34
+ # @param project [String]
35
+ # @param bucket [String]
36
+ #
37
+ # @return [::String]
38
+ def bucket_path project:, bucket:
39
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
40
+
41
+ "projects/#{project}/buckets/#{bucket}"
42
+ end
43
+
44
+ ##
45
+ # Create a fully-qualified Cluster resource string.
46
+ #
47
+ # The resource will be in the following format:
48
+ #
49
+ # `projects/{project}/locations/{location}/clusters/{cluster}`
50
+ #
51
+ # @param project [String]
52
+ # @param location [String]
53
+ # @param cluster [String]
54
+ #
55
+ # @return [::String]
56
+ def cluster_path project:, location:, cluster:
57
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
58
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
59
+
60
+ "projects/#{project}/locations/#{location}/clusters/#{cluster}"
61
+ end
62
+
63
+ ##
64
+ # Create a fully-qualified ComputeInstance resource string.
65
+ #
66
+ # The resource will be in the following format:
67
+ #
68
+ # `projects/{project}/zones/{zone}/instances/{instance}`
69
+ #
70
+ # @param project [String]
71
+ # @param zone [String]
72
+ # @param instance [String]
73
+ #
74
+ # @return [::String]
75
+ def compute_instance_path project:, zone:, instance:
76
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
77
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
78
+
79
+ "projects/#{project}/zones/#{zone}/instances/#{instance}"
80
+ end
81
+
82
+ ##
83
+ # Create a fully-qualified DiskType resource string.
84
+ #
85
+ # The resource will be in the following format:
86
+ #
87
+ # `projects/{project}/zones/{zone}/diskTypes/{disk_type}`
88
+ #
89
+ # @param project [String]
90
+ # @param zone [String]
91
+ # @param disk_type [String]
92
+ #
93
+ # @return [::String]
94
+ def disk_type_path project:, zone:, disk_type:
95
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
96
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
97
+
98
+ "projects/#{project}/zones/#{zone}/diskTypes/#{disk_type}"
99
+ end
100
+
101
+ ##
102
+ # Create a fully-qualified FileInstance resource string.
103
+ #
104
+ # The resource will be in the following format:
105
+ #
106
+ # `projects/{project}/locations/{location}/instances/{instance}`
107
+ #
108
+ # @param project [String]
109
+ # @param location [String]
110
+ # @param instance [String]
111
+ #
112
+ # @return [::String]
113
+ def file_instance_path project:, location:, instance:
114
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
115
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
116
+
117
+ "projects/#{project}/locations/#{location}/instances/#{instance}"
118
+ end
119
+
120
+ ##
121
+ # Create a fully-qualified Location resource string.
122
+ #
123
+ # The resource will be in the following format:
124
+ #
125
+ # `projects/{project}/locations/{location}`
126
+ #
127
+ # @param project [String]
128
+ # @param location [String]
129
+ #
130
+ # @return [::String]
131
+ def location_path project:, location:
132
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
133
+
134
+ "projects/#{project}/locations/#{location}"
135
+ end
136
+
137
+ ##
138
+ # Create a fully-qualified LustreInstance resource string.
139
+ #
140
+ # The resource will be in the following format:
141
+ #
142
+ # `projects/{project}/locations/{location}/instances/{instance}`
143
+ #
144
+ # @param project [String]
145
+ # @param location [String]
146
+ # @param instance [String]
147
+ #
148
+ # @return [::String]
149
+ def lustre_instance_path project:, location:, instance:
150
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
151
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
152
+
153
+ "projects/#{project}/locations/#{location}/instances/#{instance}"
154
+ end
155
+
156
+ ##
157
+ # Create a fully-qualified Network resource string.
158
+ #
159
+ # The resource will be in the following format:
160
+ #
161
+ # `projects/{project}/global/networks/{network}`
162
+ #
163
+ # @param project [String]
164
+ # @param network [String]
165
+ #
166
+ # @return [::String]
167
+ def network_path project:, network:
168
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
169
+
170
+ "projects/#{project}/global/networks/#{network}"
171
+ end
172
+
173
+ ##
174
+ # Create a fully-qualified Reservation resource string.
175
+ #
176
+ # The resource will be in the following format:
177
+ #
178
+ # `projects/{project}/zones/{zone}/reservations/{reservation}`
179
+ #
180
+ # @param project [String]
181
+ # @param zone [String]
182
+ # @param reservation [String]
183
+ #
184
+ # @return [::String]
185
+ def reservation_path project:, zone:, reservation:
186
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
187
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
188
+
189
+ "projects/#{project}/zones/#{zone}/reservations/#{reservation}"
190
+ end
191
+
192
+ ##
193
+ # Create a fully-qualified Subnetwork resource string.
194
+ #
195
+ # The resource will be in the following format:
196
+ #
197
+ # `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
198
+ #
199
+ # @param project [String]
200
+ # @param region [String]
201
+ # @param subnetwork [String]
202
+ #
203
+ # @return [::String]
204
+ def subnetwork_path project:, region:, subnetwork:
205
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
206
+ raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
207
+
208
+ "projects/#{project}/regions/#{region}/subnetworks/#{subnetwork}"
209
+ end
210
+
211
+ extend self
212
+ end
213
+ end
214
+ end
215
+ end
216
+ end
217
+ end