google-cloud-filestore-v1 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/filestore/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/client.rb +130 -1
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/operations.rb +10 -1
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/client.rb +459 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/operations.rb +75 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/service_stub.rb +60 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest.rb +1 -0
- data/lib/google/cloud/filestore/v1/cloud_filestore_service_pb.rb +2 -1
- data/lib/google/cloud/filestore/v1/cloud_filestore_service_services_pb.rb +2 -0
- data/lib/google/cloud/filestore/v1/rest.rb +1 -0
- data/lib/google/cloud/filestore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb +42 -1
- metadata +26 -5
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -230,6 +230,44 @@ module Google
|
|
230
230
|
result
|
231
231
|
end
|
232
232
|
|
233
|
+
##
|
234
|
+
# Baseline implementation for the revert_instance REST call
|
235
|
+
#
|
236
|
+
# @param request_pb [::Google::Cloud::Filestore::V1::RevertInstanceRequest]
|
237
|
+
# A request object representing the call parameters. Required.
|
238
|
+
# @param options [::Gapic::CallOptions]
|
239
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
240
|
+
#
|
241
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
242
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
243
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
244
|
+
#
|
245
|
+
# @return [::Google::Longrunning::Operation]
|
246
|
+
# A result object deserialized from the server's reply
|
247
|
+
def revert_instance request_pb, options = nil
|
248
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
249
|
+
|
250
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_revert_instance_request request_pb
|
251
|
+
query_string_params = if query_string_params.any?
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
253
|
+
else
|
254
|
+
{}
|
255
|
+
end
|
256
|
+
|
257
|
+
response = @client_stub.make_http_request(
|
258
|
+
verb,
|
259
|
+
uri: uri,
|
260
|
+
body: body || "",
|
261
|
+
params: query_string_params,
|
262
|
+
options: options
|
263
|
+
)
|
264
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
265
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
266
|
+
|
267
|
+
yield result, operation if block_given?
|
268
|
+
result
|
269
|
+
end
|
270
|
+
|
233
271
|
##
|
234
272
|
# Baseline implementation for the delete_instance REST call
|
235
273
|
#
|
@@ -756,6 +794,28 @@ module Google
|
|
756
794
|
transcoder.transcode request_pb
|
757
795
|
end
|
758
796
|
|
797
|
+
##
|
798
|
+
# @private
|
799
|
+
#
|
800
|
+
# GRPC transcoding helper method for the revert_instance REST call
|
801
|
+
#
|
802
|
+
# @param request_pb [::Google::Cloud::Filestore::V1::RevertInstanceRequest]
|
803
|
+
# A request object representing the call parameters. Required.
|
804
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
805
|
+
# Uri, Body, Query string parameters
|
806
|
+
def self.transcode_revert_instance_request request_pb
|
807
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
808
|
+
.with_bindings(
|
809
|
+
uri_method: :post,
|
810
|
+
uri_template: "/v1/{name}:revert",
|
811
|
+
body: "*",
|
812
|
+
matches: [
|
813
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
|
814
|
+
]
|
815
|
+
)
|
816
|
+
transcoder.transcode request_pb
|
817
|
+
end
|
818
|
+
|
759
819
|
##
|
760
820
|
# @private
|
761
821
|
#
|
@@ -21,6 +21,7 @@ require "gapic/config"
|
|
21
21
|
require "gapic/config/method"
|
22
22
|
|
23
23
|
require "google/cloud/filestore/v1/version"
|
24
|
+
require "google/cloud/filestore/v1/bindings_override"
|
24
25
|
|
25
26
|
require "google/cloud/filestore/v1/cloud_filestore_manager/credentials"
|
26
27
|
require "google/cloud/filestore/v1/cloud_filestore_manager/paths"
|
@@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
|
|
16
16
|
require 'google/protobuf/wrappers_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n7google/cloud/filestore/v1/cloud_filestore_service.proto\x12\x19google.cloud.filestore.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/common/operation_metadata.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x80\x03\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x43\n\x05modes\x18\x03 \x03(\x0e\x32\x34.google.cloud.filestore.v1.NetworkConfig.AddressMode\x12\x19\n\x11reserved_ip_range\x18\x04 \x01(\t\x12\x19\n\x0cip_addresses\x18\x05 \x03(\tB\x03\xe0\x41\x03\x12J\n\x0c\x63onnect_mode\x18\x06 \x01(\x0e\x32\x34.google.cloud.filestore.v1.NetworkConfig.ConnectMode\":\n\x0b\x41\x64\x64ressMode\x12\x1c\n\x18\x41\x44\x44RESS_MODE_UNSPECIFIED\x10\x00\x12\r\n\tMODE_IPV4\x10\x01\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"\xc1\x01\n\x0f\x46ileShareConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63\x61pacity_gb\x18\x02 \x01(\x03\x12\x38\n\rsource_backup\x18\x08 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/BackupH\x00\x12G\n\x12nfs_export_options\x18\x07 \x03(\x0b\x32+.google.cloud.filestore.v1.NfsExportOptionsB\x08\n\x06source\"\xfd\x02\n\x10NfsExportOptions\x12\x11\n\tip_ranges\x18\x01 \x03(\t\x12K\n\x0b\x61\x63\x63\x65ss_mode\x18\x02 \x01(\x0e\x32\x36.google.cloud.filestore.v1.NfsExportOptions.AccessMode\x12K\n\x0bsquash_mode\x18\x03 \x01(\x0e\x32\x36.google.cloud.filestore.v1.NfsExportOptions.SquashMode\x12\x10\n\x08\x61non_uid\x18\x04 \x01(\x03\x12\x10\n\x08\x61non_gid\x18\x05 \x01(\x03\"H\n\nAccessMode\x12\x1b\n\x17\x41\x43\x43\x45SS_MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"N\n\nSquashMode\x12\x1b\n\x17SQUASH_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_ROOT_SQUASH\x10\x01\x12\x0f\n\x0bROOT_SQUASH\x10\x02\"\xe0\x08\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x05 \x01(\x0e\x32).google.cloud.filestore.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x04tier\x18\x08 \x01(\x0e\x32(.google.cloud.filestore.v1.Instance.Tier\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.filestore.v1.Instance.LabelsEntry\x12?\n\x0b\x66ile_shares\x18\n \x03(\x0b\x32*.google.cloud.filestore.v1.FileShareConfig\x12:\n\x08networks\x18\x0b \x03(\x0b\x32(.google.cloud.filestore.v1.NetworkConfig\x12\x0c\n\x04\x65tag\x18\x0c \x01(\t\x12\x36\n\rsatisfies_pzs\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x14\n\x0ckms_key_name\x18\x0e \x01(\t\x12U\n\x12suspension_reasons\x18\x0f \x03(\x0e\x32\x34.google.cloud.filestore.v1.Instance.SuspensionReasonB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\r\n\tREPAIRING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x06\x12\r\n\tRESTORING\x10\x07\x12\r\n\tSUSPENDED\x10\x08\x12\x0e\n\nSUSPENDING\x10\t\x12\x0c\n\x08RESUMING\x10\n\"y\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0b\n\x07PREMIUM\x10\x02\x12\r\n\tBASIC_HDD\x10\x03\x12\r\n\tBASIC_SSD\x10\x04\x12\x12\n\x0eHIGH_SCALE_SSD\x10\x05\x12\x0e\n\nENTERPRISE\x10\x06\"H\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01:_\xea\x41\\\n\x1c\x66ile.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\xa8\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.filestore.v1.InstanceB\x03\xe0\x41\x02\"H\n\x12GetInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\"\x7f\n\x15UpdateInstanceRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x35\n\x08instance\x18\x02 \x01(\x0b\x32#.google.cloud.filestore.v1.Instance\"\xa9\x01\n\x16RestoreInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x17\n\nfile_share\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\rsource_backup\x18\x03 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/BackupH\x00\x42\x08\n\x06source\"Z\n\x15\x44\x65leteInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x9a\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.filestore.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xf8\x03\n\x08Snapshot\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x03 \x01(\x0e\x32).google.cloud.filestore.v1.Snapshot.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x05 \x03(\x0b\x32/.google.cloud.filestore.v1.Snapshot.LabelsEntry\x12\"\n\x15\x66ilesystem_used_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:t\xea\x41q\n\x1c\x66ile.googleapis.com/Snapshot\x12Qprojects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}\"\xa3\x01\n\x15\x43reateSnapshotRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08snapshot\x18\x03 \x01(\x0b\x32#.google.cloud.filestore.v1.SnapshotB\x03\xe0\x41\x02\"H\n\x12GetSnapshotRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Snapshot\"K\n\x15\x44\x65leteSnapshotRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Snapshot\"\x89\x01\n\x15UpdateSnapshotRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\x08snapshot\x18\x02 \x01(\x0b\x32#.google.cloud.filestore.v1.SnapshotB\x03\xe0\x41\x02\"\x95\x01\n\x14ListSnapshotsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"h\n\x15ListSnapshotsResponse\x12\x36\n\tsnapshots\x18\x01 \x03(\x0b\x32#.google.cloud.filestore.v1.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x06\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.filestore.v1.Backup.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x05 \x03(\x0b\x32-.google.cloud.filestore.v1.Backup.LabelsEntry\x12\x18\n\x0b\x63\x61pacity_gb\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rstorage_bytes\x18\x07 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x0fsource_instance\x18\x08 \x01(\tB!\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x19\n\x11source_file_share\x18\t \x01(\t\x12K\n\x14source_instance_tier\x18\n \x01(\x0e\x32(.google.cloud.filestore.v1.Instance.TierB\x03\xe0\x41\x03\x12\x1b\n\x0e\x64ownload_bytes\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03\x12\x36\n\rsatisfies_pzs\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x14\n\x07kms_key\x18\r \x01(\tB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0e\n\nFINALIZING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:Y\xea\x41V\n\x1a\x66ile.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}\"\xa0\x01\n\x13\x43reateBackupRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x36\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32!.google.cloud.filestore.v1.BackupB\x03\xe0\x41\x02\x12\x16\n\tbackup_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"G\n\x13\x44\x65leteBackupRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/Backup\"\x83\x01\n\x13UpdateBackupRequest\x12\x36\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32!.google.cloud.filestore.v1.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"D\n\x10GetBackupRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/Backup\"\x98\x01\n\x12ListBackupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.filestore.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t2\xcb\x1b\n\x15\x43loudFilestoreManager\x12\xb2\x01\n\rListInstances\x12/.google.cloud.filestore.v1.ListInstancesRequest\x1a\x30.google.cloud.filestore.v1.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.filestore.v1.GetInstanceRequest\x1a#.google.cloud.filestore.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\xf5\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.filestore.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xf7\x01\n\x0eUpdateInstance\x12\x30.google.cloud.filestore.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xd9\x01\n\x0fRestoreInstance\x12\x31.google.cloud.filestore.v1.RestoreInstanceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:restore:\x01*\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xe0\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.filestore.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\xbe\x01\n\rListSnapshots\x12/.google.cloud.filestore.v1.ListSnapshotsRequest\x1a\x30.google.cloud.filestore.v1.ListSnapshotsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/instances/*}/snapshots\xda\x41\x06parent\x12\xab\x01\n\x0bGetSnapshot\x12-.google.cloud.filestore.v1.GetSnapshotRequest\x1a#.google.cloud.filestore.v1.Snapshot\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\xda\x41\x04name\x12\x81\x02\n\x0e\x43reateSnapshot\x12\x30.google.cloud.filestore.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02\x45\"9/v1/{parent=projects/*/locations/*/instances/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\x12\xed\x01\n\x0e\x44\x65leteSnapshot\x12\x30.google.cloud.filestore.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\x83\x02\n\x0eUpdateSnapshot\x12\x30.google.cloud.filestore.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02N2B/v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\x12\xaa\x01\n\x0bListBackups\x12-.google.cloud.filestore.v1.ListBackupsRequest\x1a..google.cloud.filestore.v1.ListBackupsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\x97\x01\n\tGetBackup\x12+.google.cloud.filestore.v1.GetBackupRequest\x1a!.google.cloud.filestore.v1.Backup\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xe7\x01\n\x0c\x43reateBackup\x12..google.cloud.filestore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\x12\xda\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.filestore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\xe9\x01\n\x0cUpdateBackup\x12..google.cloud.filestore.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02<22/v1/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\x1aG\xca\x41\x13\x66ile.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb2\x01\n\x1d\x63om.google.cloud.filestore.v1B\x1a\x43loudFilestoreServiceProtoP\x01Z;cloud.google.com/go/filestore/apiv1/filestorepb;filestorepb\xaa\x02\x19Google.Cloud.Filestore.V1\xca\x02\x19Google\\Cloud\\Filestore\\V1b\x06proto3"
|
19
|
+
descriptor_data = "\n7google/cloud/filestore/v1/cloud_filestore_service.proto\x12\x19google.cloud.filestore.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/common/operation_metadata.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x80\x03\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x43\n\x05modes\x18\x03 \x03(\x0e\x32\x34.google.cloud.filestore.v1.NetworkConfig.AddressMode\x12\x19\n\x11reserved_ip_range\x18\x04 \x01(\t\x12\x19\n\x0cip_addresses\x18\x05 \x03(\tB\x03\xe0\x41\x03\x12J\n\x0c\x63onnect_mode\x18\x06 \x01(\x0e\x32\x34.google.cloud.filestore.v1.NetworkConfig.ConnectMode\":\n\x0b\x41\x64\x64ressMode\x12\x1c\n\x18\x41\x44\x44RESS_MODE_UNSPECIFIED\x10\x00\x12\r\n\tMODE_IPV4\x10\x01\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"\xc1\x01\n\x0f\x46ileShareConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63\x61pacity_gb\x18\x02 \x01(\x03\x12\x38\n\rsource_backup\x18\x08 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/BackupH\x00\x12G\n\x12nfs_export_options\x18\x07 \x03(\x0b\x32+.google.cloud.filestore.v1.NfsExportOptionsB\x08\n\x06source\"\xfd\x02\n\x10NfsExportOptions\x12\x11\n\tip_ranges\x18\x01 \x03(\t\x12K\n\x0b\x61\x63\x63\x65ss_mode\x18\x02 \x01(\x0e\x32\x36.google.cloud.filestore.v1.NfsExportOptions.AccessMode\x12K\n\x0bsquash_mode\x18\x03 \x01(\x0e\x32\x36.google.cloud.filestore.v1.NfsExportOptions.SquashMode\x12\x10\n\x08\x61non_uid\x18\x04 \x01(\x03\x12\x10\n\x08\x61non_gid\x18\x05 \x01(\x03\"H\n\nAccessMode\x12\x1b\n\x17\x41\x43\x43\x45SS_MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"N\n\nSquashMode\x12\x1b\n\x17SQUASH_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_ROOT_SQUASH\x10\x01\x12\x0f\n\x0bROOT_SQUASH\x10\x02\"\xa5\t\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x05 \x01(\x0e\x32).google.cloud.filestore.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x04tier\x18\x08 \x01(\x0e\x32(.google.cloud.filestore.v1.Instance.Tier\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.filestore.v1.Instance.LabelsEntry\x12?\n\x0b\x66ile_shares\x18\n \x03(\x0b\x32*.google.cloud.filestore.v1.FileShareConfig\x12:\n\x08networks\x18\x0b \x03(\x0b\x32(.google.cloud.filestore.v1.NetworkConfig\x12\x0c\n\x04\x65tag\x18\x0c \x01(\t\x12\x36\n\rsatisfies_pzs\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x14\n\x0ckms_key_name\x18\x0e \x01(\t\x12U\n\x12suspension_reasons\x18\x0f \x03(\x0e\x32\x34.google.cloud.filestore.v1.Instance.SuspensionReasonB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xaa\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\r\n\tREPAIRING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x06\x12\r\n\tRESTORING\x10\x07\x12\r\n\tSUSPENDED\x10\x08\x12\x0e\n\nSUSPENDING\x10\t\x12\x0c\n\x08RESUMING\x10\n\x12\r\n\tREVERTING\x10\x0c\"\x92\x01\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0b\n\x07PREMIUM\x10\x02\x12\r\n\tBASIC_HDD\x10\x03\x12\r\n\tBASIC_SSD\x10\x04\x12\x12\n\x0eHIGH_SCALE_SSD\x10\x05\x12\x0e\n\nENTERPRISE\x10\x06\x12\t\n\x05ZONAL\x10\x07\x12\x0c\n\x08REGIONAL\x10\x08\"H\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01:_\xea\x41\\\n\x1c\x66ile.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\xa8\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.filestore.v1.InstanceB\x03\xe0\x41\x02\"H\n\x12GetInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\"\x7f\n\x15UpdateInstanceRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x35\n\x08instance\x18\x02 \x01(\x0b\x32#.google.cloud.filestore.v1.Instance\"\xa9\x01\n\x16RestoreInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x17\n\nfile_share\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\rsource_backup\x18\x03 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/BackupH\x00\x42\x08\n\x06source\"l\n\x15RevertInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x1f\n\x12target_snapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"Z\n\x15\x44\x65leteInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x9a\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.filestore.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xf8\x03\n\x08Snapshot\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x03 \x01(\x0e\x32).google.cloud.filestore.v1.Snapshot.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x05 \x03(\x0b\x32/.google.cloud.filestore.v1.Snapshot.LabelsEntry\x12\"\n\x15\x66ilesystem_used_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:t\xea\x41q\n\x1c\x66ile.googleapis.com/Snapshot\x12Qprojects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}\"\xa3\x01\n\x15\x43reateSnapshotRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08snapshot\x18\x03 \x01(\x0b\x32#.google.cloud.filestore.v1.SnapshotB\x03\xe0\x41\x02\"H\n\x12GetSnapshotRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Snapshot\"K\n\x15\x44\x65leteSnapshotRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Snapshot\"\x89\x01\n\x15UpdateSnapshotRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\x08snapshot\x18\x02 \x01(\x0b\x32#.google.cloud.filestore.v1.SnapshotB\x03\xe0\x41\x02\"\x95\x01\n\x14ListSnapshotsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"h\n\x15ListSnapshotsResponse\x12\x36\n\tsnapshots\x18\x01 \x03(\x0b\x32#.google.cloud.filestore.v1.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x06\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.filestore.v1.Backup.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x05 \x03(\x0b\x32-.google.cloud.filestore.v1.Backup.LabelsEntry\x12\x18\n\x0b\x63\x61pacity_gb\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rstorage_bytes\x18\x07 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x0fsource_instance\x18\x08 \x01(\tB!\xfa\x41\x1e\n\x1c\x66ile.googleapis.com/Instance\x12\x19\n\x11source_file_share\x18\t \x01(\t\x12K\n\x14source_instance_tier\x18\n \x01(\x0e\x32(.google.cloud.filestore.v1.Instance.TierB\x03\xe0\x41\x03\x12\x1b\n\x0e\x64ownload_bytes\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03\x12\x36\n\rsatisfies_pzs\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12\x14\n\x07kms_key\x18\r \x01(\tB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"b\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0e\n\nFINALIZING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07INVALID\x10\x05:Y\xea\x41V\n\x1a\x66ile.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}\"\xa0\x01\n\x13\x43reateBackupRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x36\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32!.google.cloud.filestore.v1.BackupB\x03\xe0\x41\x02\x12\x16\n\tbackup_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"G\n\x13\x44\x65leteBackupRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/Backup\"\x83\x01\n\x13UpdateBackupRequest\x12\x36\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32!.google.cloud.filestore.v1.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"D\n\x10GetBackupRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x66ile.googleapis.com/Backup\"\x98\x01\n\x12ListBackupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.filestore.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t2\xa4\x1d\n\x15\x43loudFilestoreManager\x12\xb2\x01\n\rListInstances\x12/.google.cloud.filestore.v1.ListInstancesRequest\x1a\x30.google.cloud.filestore.v1.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.filestore.v1.GetInstanceRequest\x1a#.google.cloud.filestore.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\xf5\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.filestore.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xf7\x01\n\x0eUpdateInstance\x12\x30.google.cloud.filestore.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xd9\x01\n\x0fRestoreInstance\x12\x31.google.cloud.filestore.v1.RestoreInstanceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:restore:\x01*\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xd6\x01\n\x0eRevertInstance\x12\x30.google.cloud.filestore.v1.RevertInstanceRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/instances/*}:revert:\x01*\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x12\xe0\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.filestore.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\xbe\x01\n\rListSnapshots\x12/.google.cloud.filestore.v1.ListSnapshotsRequest\x1a\x30.google.cloud.filestore.v1.ListSnapshotsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/instances/*}/snapshots\xda\x41\x06parent\x12\xab\x01\n\x0bGetSnapshot\x12-.google.cloud.filestore.v1.GetSnapshotRequest\x1a#.google.cloud.filestore.v1.Snapshot\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\xda\x41\x04name\x12\x81\x02\n\x0e\x43reateSnapshot\x12\x30.google.cloud.filestore.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02\x45\"9/v1/{parent=projects/*/locations/*/instances/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\x12\xed\x01\n\x0e\x44\x65leteSnapshot\x12\x30.google.cloud.filestore.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\x83\x02\n\x0eUpdateSnapshot\x12\x30.google.cloud.filestore.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02N2B/v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\x12\xaa\x01\n\x0bListBackups\x12-.google.cloud.filestore.v1.ListBackupsRequest\x1a..google.cloud.filestore.v1.ListBackupsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\x97\x01\n\tGetBackup\x12+.google.cloud.filestore.v1.GetBackupRequest\x1a!.google.cloud.filestore.v1.Backup\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xe7\x01\n\x0c\x43reateBackup\x12..google.cloud.filestore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\x12\xda\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.filestore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\x12\xe9\x01\n\x0cUpdateBackup\x12..google.cloud.filestore.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02<22/v1/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\x1aG\xca\x41\x13\x66ile.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb2\x01\n\x1d\x63om.google.cloud.filestore.v1B\x1a\x43loudFilestoreServiceProtoP\x01Z;cloud.google.com/go/filestore/apiv1/filestorepb;filestorepb\xaa\x02\x19Google.Cloud.Filestore.V1\xca\x02\x19Google\\Cloud\\Filestore\\V1b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -64,6 +64,7 @@ module Google
|
|
64
64
|
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.GetInstanceRequest").msgclass
|
65
65
|
UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.UpdateInstanceRequest").msgclass
|
66
66
|
RestoreInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.RestoreInstanceRequest").msgclass
|
67
|
+
RevertInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.RevertInstanceRequest").msgclass
|
67
68
|
DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.DeleteInstanceRequest").msgclass
|
68
69
|
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.ListInstancesRequest").msgclass
|
69
70
|
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.filestore.v1.ListInstancesResponse").msgclass
|
@@ -69,6 +69,8 @@ module Google
|
|
69
69
|
# capacity of the backup (and also equal to or larger than the minimum
|
70
70
|
# capacity of the tier).
|
71
71
|
rpc :RestoreInstance, ::Google::Cloud::Filestore::V1::RestoreInstanceRequest, ::Google::Longrunning::Operation
|
72
|
+
# Revert an existing instance's file system to a specified snapshot.
|
73
|
+
rpc :RevertInstance, ::Google::Cloud::Filestore::V1::RevertInstanceRequest, ::Google::Longrunning::Operation
|
72
74
|
# Deletes an instance.
|
73
75
|
rpc :DeleteInstance, ::Google::Cloud::Filestore::V1::DeleteInstanceRequest, ::Google::Longrunning::Operation
|
74
76
|
# Lists all snapshots in a project for either a specified location
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
# seconds: 360 # 6 minutes
|
305
305
|
# total_poll_timeout:
|
306
306
|
# seconds: 54000 # 90 minutes
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
308
|
+
# @return [::Array<::String>]
|
309
|
+
# List of top-level fields of the request message, that should be
|
310
|
+
# automatically populated by the client libraries based on their
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
312
|
+
#
|
313
|
+
# Example of a YAML configuration:
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# method_settings:
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
318
|
+
# auto_populated_fields:
|
319
|
+
# - request_id
|
307
320
|
class MethodSettings
|
308
321
|
include ::Google::Protobuf::MessageExts
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -92,7 +92,10 @@ module Google
|
|
92
92
|
# File share configuration for the instance.
|
93
93
|
# @!attribute [rw] name
|
94
94
|
# @return [::String]
|
95
|
-
# The name of the file share
|
95
|
+
# Required. The name of the file share. Must use 1-16 characters for the
|
96
|
+
# basic service tier and 1-63 characters for all other service tiers.
|
97
|
+
# Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must
|
98
|
+
# start with a letter. Immutable.
|
96
99
|
# @!attribute [rw] capacity_gb
|
97
100
|
# @return [::Integer]
|
98
101
|
# File share capacity in gigabytes (GB).
|
@@ -211,6 +214,9 @@ module Google
|
|
211
214
|
# @!attribute [r] satisfies_pzs
|
212
215
|
# @return [::Google::Protobuf::BoolValue]
|
213
216
|
# Output only. Reserved for future use.
|
217
|
+
# @!attribute [r] satisfies_pzi
|
218
|
+
# @return [::Boolean]
|
219
|
+
# Output only. Reserved for future use.
|
214
220
|
# @!attribute [rw] kms_key_name
|
215
221
|
# @return [::String]
|
216
222
|
# KMS key name used for data encryption.
|
@@ -267,6 +273,9 @@ module Google
|
|
267
273
|
|
268
274
|
# The instance is in the process of becoming active.
|
269
275
|
RESUMING = 10
|
276
|
+
|
277
|
+
# The instance is reverting to a snapshot.
|
278
|
+
REVERTING = 12
|
270
279
|
end
|
271
280
|
|
272
281
|
# Available service tiers.
|
@@ -297,6 +306,14 @@ module Google
|
|
297
306
|
# ENTERPRISE instances offer the features and availability needed for
|
298
307
|
# mission-critical workloads.
|
299
308
|
ENTERPRISE = 6
|
309
|
+
|
310
|
+
# ZONAL instances offer expanded capacity and performance scaling
|
311
|
+
# capabilities.
|
312
|
+
ZONAL = 7
|
313
|
+
|
314
|
+
# REGIONAL instances offer the features and availability needed for
|
315
|
+
# mission-critical workloads.
|
316
|
+
REGIONAL = 8
|
300
317
|
end
|
301
318
|
|
302
319
|
# SuspensionReason contains the possible reasons for a suspension.
|
@@ -374,6 +391,23 @@ module Google
|
|
374
391
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
375
392
|
end
|
376
393
|
|
394
|
+
# RevertInstanceRequest reverts the given instance's file share to the
|
395
|
+
# specified snapshot.
|
396
|
+
# @!attribute [rw] name
|
397
|
+
# @return [::String]
|
398
|
+
# Required.
|
399
|
+
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
|
400
|
+
# The resource name of the instance, in the format
|
401
|
+
# @!attribute [rw] target_snapshot_id
|
402
|
+
# @return [::String]
|
403
|
+
# Required. The snapshot resource ID, in the format 'my-snapshot', where the
|
404
|
+
# specified ID is the \\{snapshot_id} of the fully qualified name like
|
405
|
+
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`
|
406
|
+
class RevertInstanceRequest
|
407
|
+
include ::Google::Protobuf::MessageExts
|
408
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
409
|
+
end
|
410
|
+
|
377
411
|
# DeleteInstanceRequest deletes an instance.
|
378
412
|
# @!attribute [rw] name
|
379
413
|
# @return [::String]
|
@@ -623,6 +657,9 @@ module Google
|
|
623
657
|
# @!attribute [r] satisfies_pzs
|
624
658
|
# @return [::Google::Protobuf::BoolValue]
|
625
659
|
# Output only. Reserved for future use.
|
660
|
+
# @!attribute [r] satisfies_pzi
|
661
|
+
# @return [::Boolean]
|
662
|
+
# Output only. Reserved for future use.
|
626
663
|
# @!attribute [rw] kms_key
|
627
664
|
# @return [::String]
|
628
665
|
# Immutable. KMS key name used for data encryption.
|
@@ -656,6 +693,10 @@ module Google
|
|
656
693
|
|
657
694
|
# Backup is being deleted.
|
658
695
|
DELETING = 4
|
696
|
+
|
697
|
+
# Backup is not valid and cannot be used for creating new instances or
|
698
|
+
# restoring existing instances.
|
699
|
+
INVALID = 5
|
659
700
|
end
|
660
701
|
end
|
661
702
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-filestore-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,6 +58,26 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: google-cloud-location
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.4'
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.a
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.4'
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2.a
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: google-style
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,6 +207,7 @@ files:
|
|
187
207
|
- README.md
|
188
208
|
- lib/google-cloud-filestore-v1.rb
|
189
209
|
- lib/google/cloud/filestore/v1.rb
|
210
|
+
- lib/google/cloud/filestore/v1/bindings_override.rb
|
190
211
|
- lib/google/cloud/filestore/v1/cloud_filestore_manager.rb
|
191
212
|
- lib/google/cloud/filestore/v1/cloud_filestore_manager/client.rb
|
192
213
|
- lib/google/cloud/filestore/v1/cloud_filestore_manager/credentials.rb
|
@@ -234,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
255
|
- !ruby/object:Gem::Version
|
235
256
|
version: '0'
|
236
257
|
requirements: []
|
237
|
-
rubygems_version: 3.4.
|
258
|
+
rubygems_version: 3.4.19
|
238
259
|
signing_key:
|
239
260
|
specification_version: 4
|
240
261
|
summary: The Cloud Filestore API is used for creating and managing cloud file servers.
|