google-cloud-filestore-v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dff524885f07f68754853fdd50a32f1f94d9df7374c9a2d6d7c983611e8bed4b
4
- data.tar.gz: 815300149fcd02ae6477af17fd09ad1b21f32047a531cba7b44c8b599879c202
3
+ metadata.gz: cfb3776e64c5b473cfb007b81019634418f3a6324e624f596c53ea9c53cf7ecd
4
+ data.tar.gz: 7c3fdac0965edb54698792b1ba08903083140c454810c6ff5573571f8876e4ed
5
5
  SHA512:
6
- metadata.gz: 96089e8c7e0bec69c64ba6080f006d9f66827977abebc41f54c7edf1571afe486ed82e5cfe778a74332945c45492bad0d72985e3a355ac14799f6efc91ca14df
7
- data.tar.gz: 4fe3124039b0a509374c7c2c0470bcf1c7ff439875a702654e170f440ca81f3262f49ffc359b462081d90e20f63311996614def3bab772fa96b09f83cfd9a050
6
+ metadata.gz: 2a13b216d5c20f4fd1e48b86f6e701061d38275cdb3e905b2ad8bdc00a5d200b17c044f43f49e6a3b9fa21f7ab6edf5f035f5552f81373ccb56f2adcf37bd628
7
+ data.tar.gz: 4824c28d05739d90457ac4b552cf6205fb98e77fc99cc352ce19713c11310a5501e5d2975d77419d1735add8e6e6b57a4b606859a4ebb7c17f594bde8cc406f2
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Filestore
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/filestore/v1/rest"
28
+ # client = ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Filestore"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config
68
+ end
69
+ yield @configure if block_given?
70
+ @configure
71
+ end
72
+
73
+ ##
74
+ # @private
75
+ # Configuration class for the google.cloud.filestore.v1 package.
76
+ #
77
+ # This class contains common configuration for all services
78
+ # of the google.cloud.filestore.v1 package.
79
+ #
80
+ # This configuration is for internal use of the client library classes,
81
+ # and it is not intended that the end-users will read or change it.
82
+ #
83
+ class Configuration
84
+ extend ::Gapic::Config
85
+
86
+ # @private
87
+ # Overrides for http bindings for the RPC of the mixins for this package.
88
+ # Services in this package should use these when creating clients for the mixin services.
89
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
+ config_attr :bindings_override, {}, ::Hash, nil
91
+
92
+ # @private
93
+ def initialize parent_config = nil
94
+ @parent_config = parent_config unless parent_config.nil?
95
+
96
+ yield self if block_given?
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
@@ -18,6 +18,7 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/filestore/v1/cloud_filestore_service_pb"
21
+ require "google/cloud/location"
21
22
 
22
23
  module Google
23
24
  module Cloud
@@ -191,6 +192,12 @@ module Google
191
192
  config.endpoint = @config.endpoint
192
193
  end
193
194
 
195
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
196
+ config.credentials = credentials
197
+ config.quota_project = @quota_project_id
198
+ config.endpoint = @config.endpoint
199
+ end
200
+
194
201
  @cloud_filestore_manager_stub = ::Gapic::ServiceStub.new(
195
202
  ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Stub,
196
203
  credentials: credentials,
@@ -208,6 +215,13 @@ module Google
208
215
  #
209
216
  attr_reader :operations_client
210
217
 
218
+ ##
219
+ # Get the associated client for mix-in of the Locations.
220
+ #
221
+ # @return [Google::Cloud::Location::Locations::Client]
222
+ #
223
+ attr_reader :location_client
224
+
211
225
  # Service calls
212
226
 
213
227
  ##
@@ -709,6 +723,105 @@ module Google
709
723
  raise ::Google::Cloud::Error.from_error(e)
710
724
  end
711
725
 
726
+ ##
727
+ # Revert an existing instance's file system to a specified snapshot.
728
+ #
729
+ # @overload revert_instance(request, options = nil)
730
+ # Pass arguments to `revert_instance` via a request object, either of type
731
+ # {::Google::Cloud::Filestore::V1::RevertInstanceRequest} or an equivalent Hash.
732
+ #
733
+ # @param request [::Google::Cloud::Filestore::V1::RevertInstanceRequest, ::Hash]
734
+ # A request object representing the call parameters. Required. To specify no
735
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
736
+ # @param options [::Gapic::CallOptions, ::Hash]
737
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
738
+ #
739
+ # @overload revert_instance(name: nil, target_snapshot_id: nil)
740
+ # Pass arguments to `revert_instance` via keyword arguments. Note that at
741
+ # least one keyword argument is required. To specify no parameters, or to keep all
742
+ # the default parameter values, pass an empty Hash as a request object (see above).
743
+ #
744
+ # @param name [::String]
745
+ # Required.
746
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
747
+ # The resource name of the instance, in the format
748
+ # @param target_snapshot_id [::String]
749
+ # Required. The snapshot resource ID, in the format 'my-snapshot', where the
750
+ # specified ID is the \\{snapshot_id} of the fully qualified name like
751
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`
752
+ #
753
+ # @yield [response, operation] Access the result along with the RPC operation
754
+ # @yieldparam response [::Gapic::Operation]
755
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
756
+ #
757
+ # @return [::Gapic::Operation]
758
+ #
759
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
760
+ #
761
+ # @example Basic example
762
+ # require "google/cloud/filestore/v1"
763
+ #
764
+ # # Create a client object. The client can be reused for multiple calls.
765
+ # client = Google::Cloud::Filestore::V1::CloudFilestoreManager::Client.new
766
+ #
767
+ # # Create a request. To set request fields, pass in keyword arguments.
768
+ # request = Google::Cloud::Filestore::V1::RevertInstanceRequest.new
769
+ #
770
+ # # Call the revert_instance method.
771
+ # result = client.revert_instance request
772
+ #
773
+ # # The returned object is of type Gapic::Operation. You can use it to
774
+ # # check the status of an operation, cancel it, or wait for results.
775
+ # # Here is how to wait for a response.
776
+ # result.wait_until_done! timeout: 60
777
+ # if result.response?
778
+ # p result.response
779
+ # else
780
+ # puts "No response received."
781
+ # end
782
+ #
783
+ def revert_instance request, options = nil
784
+ raise ::ArgumentError, "request must be provided" if request.nil?
785
+
786
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Filestore::V1::RevertInstanceRequest
787
+
788
+ # Converts hash and nil to an options object
789
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
790
+
791
+ # Customize the options with defaults
792
+ metadata = @config.rpcs.revert_instance.metadata.to_h
793
+
794
+ # Set x-goog-api-client and x-goog-user-project headers
795
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
796
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
797
+ gapic_version: ::Google::Cloud::Filestore::V1::VERSION
798
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
799
+
800
+ header_params = {}
801
+ if request.name
802
+ header_params["name"] = request.name
803
+ end
804
+
805
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
806
+ metadata[:"x-goog-request-params"] ||= request_params_header
807
+
808
+ options.apply_defaults timeout: @config.rpcs.revert_instance.timeout,
809
+ metadata: metadata,
810
+ retry_policy: @config.rpcs.revert_instance.retry_policy
811
+
812
+ options.apply_defaults timeout: @config.timeout,
813
+ metadata: @config.metadata,
814
+ retry_policy: @config.retry_policy
815
+
816
+ @cloud_filestore_manager_stub.call_rpc :revert_instance, request, options: options do |response, operation|
817
+ response = ::Gapic::Operation.new response, @operations_client, options: options
818
+ yield response, operation if block_given?
819
+ return response
820
+ end
821
+ rescue ::GRPC::BadStatus => e
822
+ raise ::Google::Cloud::Error.from_error(e)
823
+ end
824
+
712
825
  ##
713
826
  # Deletes an instance.
714
827
  #
@@ -1943,6 +2056,11 @@ module Google
1943
2056
  #
1944
2057
  attr_reader :restore_instance
1945
2058
  ##
2059
+ # RPC-specific configuration for `revert_instance`
2060
+ # @return [::Gapic::Config::Method]
2061
+ #
2062
+ attr_reader :revert_instance
2063
+ ##
1946
2064
  # RPC-specific configuration for `delete_instance`
1947
2065
  # @return [::Gapic::Config::Method]
1948
2066
  #
@@ -2010,6 +2128,8 @@ module Google
2010
2128
  @update_instance = ::Gapic::Config::Method.new update_instance_config
2011
2129
  restore_instance_config = parent_rpcs.restore_instance if parent_rpcs.respond_to? :restore_instance
2012
2130
  @restore_instance = ::Gapic::Config::Method.new restore_instance_config
2131
+ revert_instance_config = parent_rpcs.revert_instance if parent_rpcs.respond_to? :revert_instance
2132
+ @revert_instance = ::Gapic::Config::Method.new revert_instance_config
2013
2133
  delete_instance_config = parent_rpcs.delete_instance if parent_rpcs.respond_to? :delete_instance
2014
2134
  @delete_instance = ::Gapic::Config::Method.new delete_instance_config
2015
2135
  list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots
@@ -19,6 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/filestore/v1/cloud_filestore_service_pb"
21
21
  require "google/cloud/filestore/v1/cloud_filestore_manager/rest/service_stub"
22
+ require "google/cloud/location/rest"
22
23
 
23
24
  module Google
24
25
  module Cloud
@@ -188,6 +189,13 @@ module Google
188
189
  config.endpoint = @config.endpoint
189
190
  end
190
191
 
192
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
193
+ config.credentials = credentials
194
+ config.quota_project = @quota_project_id
195
+ config.endpoint = @config.endpoint
196
+ config.bindings_override = @config.bindings_override
197
+ end
198
+
191
199
  @cloud_filestore_manager_stub = ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
192
200
  end
193
201
 
@@ -198,6 +206,13 @@ module Google
198
206
  #
199
207
  attr_reader :operations_client
200
208
 
209
+ ##
210
+ # Get the associated client for mix-in of the Locations.
211
+ #
212
+ # @return [Google::Cloud::Location::Locations::Rest::Client]
213
+ #
214
+ attr_reader :location_client
215
+
201
216
  # Service calls
202
217
 
203
218
  ##
@@ -663,6 +678,98 @@ module Google
663
678
  raise ::Google::Cloud::Error.from_error(e)
664
679
  end
665
680
 
681
+ ##
682
+ # Revert an existing instance's file system to a specified snapshot.
683
+ #
684
+ # @overload revert_instance(request, options = nil)
685
+ # Pass arguments to `revert_instance` via a request object, either of type
686
+ # {::Google::Cloud::Filestore::V1::RevertInstanceRequest} or an equivalent Hash.
687
+ #
688
+ # @param request [::Google::Cloud::Filestore::V1::RevertInstanceRequest, ::Hash]
689
+ # A request object representing the call parameters. Required. To specify no
690
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
691
+ # @param options [::Gapic::CallOptions, ::Hash]
692
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
693
+ #
694
+ # @overload revert_instance(name: nil, target_snapshot_id: nil)
695
+ # Pass arguments to `revert_instance` via keyword arguments. Note that at
696
+ # least one keyword argument is required. To specify no parameters, or to keep all
697
+ # the default parameter values, pass an empty Hash as a request object (see above).
698
+ #
699
+ # @param name [::String]
700
+ # Required.
701
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
702
+ # The resource name of the instance, in the format
703
+ # @param target_snapshot_id [::String]
704
+ # Required. The snapshot resource ID, in the format 'my-snapshot', where the
705
+ # specified ID is the \\{snapshot_id} of the fully qualified name like
706
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`
707
+ # @yield [result, operation] Access the result along with the TransportOperation object
708
+ # @yieldparam result [::Gapic::Operation]
709
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
710
+ #
711
+ # @return [::Gapic::Operation]
712
+ #
713
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
714
+ #
715
+ # @example Basic example
716
+ # require "google/cloud/filestore/v1"
717
+ #
718
+ # # Create a client object. The client can be reused for multiple calls.
719
+ # client = Google::Cloud::Filestore::V1::CloudFilestoreManager::Rest::Client.new
720
+ #
721
+ # # Create a request. To set request fields, pass in keyword arguments.
722
+ # request = Google::Cloud::Filestore::V1::RevertInstanceRequest.new
723
+ #
724
+ # # Call the revert_instance method.
725
+ # result = client.revert_instance request
726
+ #
727
+ # # The returned object is of type Gapic::Operation. You can use it to
728
+ # # check the status of an operation, cancel it, or wait for results.
729
+ # # Here is how to wait for a response.
730
+ # result.wait_until_done! timeout: 60
731
+ # if result.response?
732
+ # p result.response
733
+ # else
734
+ # puts "No response received."
735
+ # end
736
+ #
737
+ def revert_instance request, options = nil
738
+ raise ::ArgumentError, "request must be provided" if request.nil?
739
+
740
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Filestore::V1::RevertInstanceRequest
741
+
742
+ # Converts hash and nil to an options object
743
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
744
+
745
+ # Customize the options with defaults
746
+ call_metadata = @config.rpcs.revert_instance.metadata.to_h
747
+
748
+ # Set x-goog-api-client and x-goog-user-project headers
749
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
750
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
751
+ gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
752
+ transports_version_send: [:rest]
753
+
754
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
755
+
756
+ options.apply_defaults timeout: @config.rpcs.revert_instance.timeout,
757
+ metadata: call_metadata,
758
+ retry_policy: @config.rpcs.revert_instance.retry_policy
759
+
760
+ options.apply_defaults timeout: @config.timeout,
761
+ metadata: @config.metadata,
762
+ retry_policy: @config.retry_policy
763
+
764
+ @cloud_filestore_manager_stub.revert_instance request, options do |result, operation|
765
+ result = ::Gapic::Operation.new result, @operations_client, options: options
766
+ yield result, operation if block_given?
767
+ return result
768
+ end
769
+ rescue ::Gapic::Rest::Error => e
770
+ raise ::Google::Cloud::Error.from_error(e)
771
+ end
772
+
666
773
  ##
667
774
  # Deletes an instance.
668
775
  #
@@ -1736,6 +1843,13 @@ module Google
1736
1843
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1737
1844
  config_attr :quota_project, nil, ::String, nil
1738
1845
 
1846
+ # @private
1847
+ # Overrides for http bindings for the RPCs of this service
1848
+ # are only used when this service is used as mixin, and only
1849
+ # by the host service.
1850
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
1851
+ config_attr :bindings_override, {}, ::Hash, nil
1852
+
1739
1853
  # @private
1740
1854
  def initialize parent_config = nil
1741
1855
  @parent_config = parent_config unless parent_config.nil?
@@ -1799,6 +1913,11 @@ module Google
1799
1913
  #
1800
1914
  attr_reader :restore_instance
1801
1915
  ##
1916
+ # RPC-specific configuration for `revert_instance`
1917
+ # @return [::Gapic::Config::Method]
1918
+ #
1919
+ attr_reader :revert_instance
1920
+ ##
1802
1921
  # RPC-specific configuration for `delete_instance`
1803
1922
  # @return [::Gapic::Config::Method]
1804
1923
  #
@@ -1866,6 +1985,8 @@ module Google
1866
1985
  @update_instance = ::Gapic::Config::Method.new update_instance_config
1867
1986
  restore_instance_config = parent_rpcs.restore_instance if parent_rpcs.respond_to? :restore_instance
1868
1987
  @restore_instance = ::Gapic::Config::Method.new restore_instance_config
1988
+ revert_instance_config = parent_rpcs.revert_instance if parent_rpcs.respond_to? :revert_instance
1989
+ @revert_instance = ::Gapic::Config::Method.new revert_instance_config
1869
1990
  delete_instance_config = parent_rpcs.delete_instance if parent_rpcs.respond_to? :delete_instance
1870
1991
  @delete_instance = ::Gapic::Config::Method.new delete_instance_config
1871
1992
  list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots
@@ -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
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/filestore/v1/cloud_filestore_manager/rest"
20
+ require "google/cloud/filestore/v1/bindings_override"
20
21
  require "google/cloud/filestore/v1/version"
21
22
 
22
23
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Filestore
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -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 (must be 16 characters or less).
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.6.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-09-12 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -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