google-apis-parallelstore_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/parallelstore_v1/classes.rb +643 -0
- data/lib/google/apis/parallelstore_v1/gem_version.rb +28 -0
- data/lib/google/apis/parallelstore_v1/representations.rb +279 -0
- data/lib/google/apis/parallelstore_v1/service.rb +569 -0
- data/lib/google/apis/parallelstore_v1.rb +36 -0
- data/lib/google-apis-parallelstore_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,279 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ParallelstoreV1
|
24
|
+
|
25
|
+
class CancelOperationRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class DestinationGcsBucket
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class DestinationParallelstore
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class ExportDataRequest
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleProtobufEmpty
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ImportDataRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Instance
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ListInstancesResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ListLocationsResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ListOperationsResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Location
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Operation
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class OperationMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class SourceGcsBucket
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class SourceParallelstore
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class Status
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class CancelOperationRequest
|
122
|
+
# @private
|
123
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class DestinationGcsBucket
|
128
|
+
# @private
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
130
|
+
property :uri, as: 'uri'
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
class DestinationParallelstore
|
135
|
+
# @private
|
136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
137
|
+
property :path, as: 'path'
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class ExportDataRequest
|
142
|
+
# @private
|
143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
144
|
+
property :destination_gcs_bucket, as: 'destinationGcsBucket', class: Google::Apis::ParallelstoreV1::DestinationGcsBucket, decorator: Google::Apis::ParallelstoreV1::DestinationGcsBucket::Representation
|
145
|
+
|
146
|
+
property :request_id, as: 'requestId'
|
147
|
+
property :service_account, as: 'serviceAccount'
|
148
|
+
property :source_parallelstore, as: 'sourceParallelstore', class: Google::Apis::ParallelstoreV1::SourceParallelstore, decorator: Google::Apis::ParallelstoreV1::SourceParallelstore::Representation
|
149
|
+
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class GoogleProtobufEmpty
|
154
|
+
# @private
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class ImportDataRequest
|
160
|
+
# @private
|
161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
162
|
+
property :destination_parallelstore, as: 'destinationParallelstore', class: Google::Apis::ParallelstoreV1::DestinationParallelstore, decorator: Google::Apis::ParallelstoreV1::DestinationParallelstore::Representation
|
163
|
+
|
164
|
+
property :request_id, as: 'requestId'
|
165
|
+
property :service_account, as: 'serviceAccount'
|
166
|
+
property :source_gcs_bucket, as: 'sourceGcsBucket', class: Google::Apis::ParallelstoreV1::SourceGcsBucket, decorator: Google::Apis::ParallelstoreV1::SourceGcsBucket::Representation
|
167
|
+
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
class Instance
|
172
|
+
# @private
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
174
|
+
collection :access_points, as: 'accessPoints'
|
175
|
+
property :capacity_gib, :numeric_string => true, as: 'capacityGib'
|
176
|
+
property :create_time, as: 'createTime'
|
177
|
+
property :daos_version, as: 'daosVersion'
|
178
|
+
property :description, as: 'description'
|
179
|
+
property :directory_stripe_level, as: 'directoryStripeLevel'
|
180
|
+
property :effective_reserved_ip_range, as: 'effectiveReservedIpRange'
|
181
|
+
property :file_stripe_level, as: 'fileStripeLevel'
|
182
|
+
hash :labels, as: 'labels'
|
183
|
+
property :name, as: 'name'
|
184
|
+
property :network, as: 'network'
|
185
|
+
property :reserved_ip_range, as: 'reservedIpRange'
|
186
|
+
property :state, as: 'state'
|
187
|
+
property :update_time, as: 'updateTime'
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
class ListInstancesResponse
|
192
|
+
# @private
|
193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
194
|
+
collection :instances, as: 'instances', class: Google::Apis::ParallelstoreV1::Instance, decorator: Google::Apis::ParallelstoreV1::Instance::Representation
|
195
|
+
|
196
|
+
property :next_page_token, as: 'nextPageToken'
|
197
|
+
collection :unreachable, as: 'unreachable'
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
class ListLocationsResponse
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
collection :locations, as: 'locations', class: Google::Apis::ParallelstoreV1::Location, decorator: Google::Apis::ParallelstoreV1::Location::Representation
|
205
|
+
|
206
|
+
property :next_page_token, as: 'nextPageToken'
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ListOperationsResponse
|
211
|
+
# @private
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
213
|
+
property :next_page_token, as: 'nextPageToken'
|
214
|
+
collection :operations, as: 'operations', class: Google::Apis::ParallelstoreV1::Operation, decorator: Google::Apis::ParallelstoreV1::Operation::Representation
|
215
|
+
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
class Location
|
220
|
+
# @private
|
221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
222
|
+
property :display_name, as: 'displayName'
|
223
|
+
hash :labels, as: 'labels'
|
224
|
+
property :location_id, as: 'locationId'
|
225
|
+
hash :metadata, as: 'metadata'
|
226
|
+
property :name, as: 'name'
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
class Operation
|
231
|
+
# @private
|
232
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
233
|
+
property :done, as: 'done'
|
234
|
+
property :error, as: 'error', class: Google::Apis::ParallelstoreV1::Status, decorator: Google::Apis::ParallelstoreV1::Status::Representation
|
235
|
+
|
236
|
+
hash :metadata, as: 'metadata'
|
237
|
+
property :name, as: 'name'
|
238
|
+
hash :response, as: 'response'
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
class OperationMetadata
|
243
|
+
# @private
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
+
property :api_version, as: 'apiVersion'
|
246
|
+
property :create_time, as: 'createTime'
|
247
|
+
property :end_time, as: 'endTime'
|
248
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
249
|
+
property :status_message, as: 'statusMessage'
|
250
|
+
property :target, as: 'target'
|
251
|
+
property :verb, as: 'verb'
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class SourceGcsBucket
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :uri, as: 'uri'
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
class SourceParallelstore
|
263
|
+
# @private
|
264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
+
property :path, as: 'path'
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class Status
|
270
|
+
# @private
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
+
property :code, as: 'code'
|
273
|
+
collection :details, as: 'details'
|
274
|
+
property :message, as: 'message'
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
end
|