google-cloud-filestore-v1 0.4.1 → 0.5.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: 3e66d9efdb82a331068ad07602444b3f1a832a9442cceb8f975294b00175f0c1
4
- data.tar.gz: 3ad00864d45f3626975ddcffe8145a3fbd012f8f05c64e7ea9e6b45a3e9a0136
3
+ metadata.gz: 5209525b3af543f94ab2597da4c637f46b697457b9a8901697c703965e7b12c8
4
+ data.tar.gz: 3d44b32f68dcbe8911c39506c2f40d6bcf5d6a92c857831737b550976666a9bf
5
5
  SHA512:
6
- metadata.gz: 8ba7ac43b2bd4afb2f2422df690374099b77eba7667a7f24b478b3043a7c4791af2357801343ddee8ef9f0e179c9b390999c415577939c11ae46d5f7c0025584
7
- data.tar.gz: 0c7253ff084efbe4f5c967164a6b63d5212f4f083a2f6a0d255888aef83f57d6af1005251ff07627a526140a8a0c684f7683a865f7856b302a8446ed024a161d
6
+ metadata.gz: a7285622e0b879fe37867e191871b2783afd0ea5f2019f57693f563f2a9aef981ed44dfe83d9af47cdbdc6df35f5a96a9ee2d33838f9b2dd62fa4b07ff6835d3
7
+ data.tar.gz: 8557b73a45da846ec8c3dd0e69cf1ace2da5069e00545df6d137bab26208ec82d8150b71c4b24d3fbe4bea779446f05c9975e463aac303b3f0f5ce0ff787f5e0
@@ -175,7 +175,7 @@ module Google
175
175
  credentials = @config.credentials
176
176
  # Use self-signed JWT if the endpoint is unchanged from default,
177
177
  # but only if the default endpoint does not have a region prefix.
178
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
178
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
179
179
  !@config.endpoint.split(".").first.include?("-")
180
180
  credentials ||= Credentials.default scope: @config.scope,
181
181
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1853,7 +1853,9 @@ module Google
1853
1853
  class Configuration
1854
1854
  extend ::Gapic::Config
1855
1855
 
1856
- config_attr :endpoint, "file.googleapis.com", ::String
1856
+ DEFAULT_ENDPOINT = "file.googleapis.com"
1857
+
1858
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1857
1859
  config_attr :credentials, nil do |value|
1858
1860
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1859
1861
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "file.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "file.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -171,7 +171,7 @@ module Google
171
171
  credentials = @config.credentials
172
172
  # Use self-signed JWT if the endpoint is unchanged from default,
173
173
  # but only if the default endpoint does not have a region prefix.
174
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
174
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
175
175
  !@config.endpoint.split(".").first.include?("-")
176
176
  credentials ||= Credentials.default scope: @config.scope,
177
177
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1383,7 +1383,9 @@ module Google
1383
1383
  class Configuration
1384
1384
  extend ::Gapic::Config
1385
1385
 
1386
- config_attr :endpoint, "file.googleapis.com", ::String
1386
+ DEFAULT_ENDPOINT = "file.googleapis.com"
1387
+
1388
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1387
1389
  config_attr :credentials, nil do |value|
1388
1390
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1389
1391
  allowed.any? { |klass| klass === value }
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "file.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "file.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_instances_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_instance_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_instance_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_instance_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_restore_instance_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_instance_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_list_snapshots_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_get_snapshot_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_create_snapshot_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end
@@ -401,7 +401,7 @@ module Google
401
401
 
402
402
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_snapshot_request request_pb
403
403
  query_string_params = if query_string_params.any?
404
- query_string_params.to_h { |p| p.split("=", 2) }
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
405
  else
406
406
  {}
407
407
  end
@@ -439,7 +439,7 @@ module Google
439
439
 
440
440
  verb, uri, query_string_params, body = ServiceStub.transcode_update_snapshot_request request_pb
441
441
  query_string_params = if query_string_params.any?
442
- query_string_params.to_h { |p| p.split("=", 2) }
442
+ query_string_params.to_h { |p| p.split "=", 2 }
443
443
  else
444
444
  {}
445
445
  end
@@ -477,7 +477,7 @@ module Google
477
477
 
478
478
  verb, uri, query_string_params, body = ServiceStub.transcode_list_backups_request request_pb
479
479
  query_string_params = if query_string_params.any?
480
- query_string_params.to_h { |p| p.split("=", 2) }
480
+ query_string_params.to_h { |p| p.split "=", 2 }
481
481
  else
482
482
  {}
483
483
  end
@@ -515,7 +515,7 @@ module Google
515
515
 
516
516
  verb, uri, query_string_params, body = ServiceStub.transcode_get_backup_request request_pb
517
517
  query_string_params = if query_string_params.any?
518
- query_string_params.to_h { |p| p.split("=", 2) }
518
+ query_string_params.to_h { |p| p.split "=", 2 }
519
519
  else
520
520
  {}
521
521
  end
@@ -553,7 +553,7 @@ module Google
553
553
 
554
554
  verb, uri, query_string_params, body = ServiceStub.transcode_create_backup_request request_pb
555
555
  query_string_params = if query_string_params.any?
556
- query_string_params.to_h { |p| p.split("=", 2) }
556
+ query_string_params.to_h { |p| p.split "=", 2 }
557
557
  else
558
558
  {}
559
559
  end
@@ -591,7 +591,7 @@ module Google
591
591
 
592
592
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_backup_request request_pb
593
593
  query_string_params = if query_string_params.any?
594
- query_string_params.to_h { |p| p.split("=", 2) }
594
+ query_string_params.to_h { |p| p.split "=", 2 }
595
595
  else
596
596
  {}
597
597
  end
@@ -629,7 +629,7 @@ module Google
629
629
 
630
630
  verb, uri, query_string_params, body = ServiceStub.transcode_update_backup_request request_pb
631
631
  query_string_params = if query_string_params.any?
632
- query_string_params.to_h { |p| p.split("=", 2) }
632
+ query_string_params.to_h { |p| p.split "=", 2 }
633
633
  else
634
634
  {}
635
635
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/filestore/v1/cloud_filestore_service.proto
3
4
 
@@ -14,214 +15,34 @@ require 'google/protobuf/field_mask_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
  require 'google/protobuf/wrappers_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/filestore/v1/cloud_filestore_service.proto", :syntax => :proto3) do
19
- add_message "google.cloud.filestore.v1.NetworkConfig" do
20
- optional :network, :string, 1
21
- repeated :modes, :enum, 3, "google.cloud.filestore.v1.NetworkConfig.AddressMode"
22
- optional :reserved_ip_range, :string, 4
23
- repeated :ip_addresses, :string, 5
24
- optional :connect_mode, :enum, 6, "google.cloud.filestore.v1.NetworkConfig.ConnectMode"
25
- end
26
- add_enum "google.cloud.filestore.v1.NetworkConfig.AddressMode" do
27
- value :ADDRESS_MODE_UNSPECIFIED, 0
28
- value :MODE_IPV4, 1
29
- end
30
- add_enum "google.cloud.filestore.v1.NetworkConfig.ConnectMode" do
31
- value :CONNECT_MODE_UNSPECIFIED, 0
32
- value :DIRECT_PEERING, 1
33
- value :PRIVATE_SERVICE_ACCESS, 2
34
- end
35
- add_message "google.cloud.filestore.v1.FileShareConfig" do
36
- optional :name, :string, 1
37
- optional :capacity_gb, :int64, 2
38
- repeated :nfs_export_options, :message, 7, "google.cloud.filestore.v1.NfsExportOptions"
39
- oneof :source do
40
- optional :source_backup, :string, 8
41
- end
42
- end
43
- add_message "google.cloud.filestore.v1.NfsExportOptions" do
44
- repeated :ip_ranges, :string, 1
45
- optional :access_mode, :enum, 2, "google.cloud.filestore.v1.NfsExportOptions.AccessMode"
46
- optional :squash_mode, :enum, 3, "google.cloud.filestore.v1.NfsExportOptions.SquashMode"
47
- optional :anon_uid, :int64, 4
48
- optional :anon_gid, :int64, 5
49
- end
50
- add_enum "google.cloud.filestore.v1.NfsExportOptions.AccessMode" do
51
- value :ACCESS_MODE_UNSPECIFIED, 0
52
- value :READ_ONLY, 1
53
- value :READ_WRITE, 2
54
- end
55
- add_enum "google.cloud.filestore.v1.NfsExportOptions.SquashMode" do
56
- value :SQUASH_MODE_UNSPECIFIED, 0
57
- value :NO_ROOT_SQUASH, 1
58
- value :ROOT_SQUASH, 2
59
- end
60
- add_message "google.cloud.filestore.v1.Instance" do
61
- optional :name, :string, 1
62
- optional :description, :string, 2
63
- optional :state, :enum, 5, "google.cloud.filestore.v1.Instance.State"
64
- optional :status_message, :string, 6
65
- optional :create_time, :message, 7, "google.protobuf.Timestamp"
66
- optional :tier, :enum, 8, "google.cloud.filestore.v1.Instance.Tier"
67
- map :labels, :string, :string, 9
68
- repeated :file_shares, :message, 10, "google.cloud.filestore.v1.FileShareConfig"
69
- repeated :networks, :message, 11, "google.cloud.filestore.v1.NetworkConfig"
70
- optional :etag, :string, 12
71
- optional :satisfies_pzs, :message, 13, "google.protobuf.BoolValue"
72
- optional :kms_key_name, :string, 14
73
- repeated :suspension_reasons, :enum, 15, "google.cloud.filestore.v1.Instance.SuspensionReason"
74
- end
75
- add_enum "google.cloud.filestore.v1.Instance.State" do
76
- value :STATE_UNSPECIFIED, 0
77
- value :CREATING, 1
78
- value :READY, 2
79
- value :REPAIRING, 3
80
- value :DELETING, 4
81
- value :ERROR, 6
82
- value :RESTORING, 7
83
- value :SUSPENDED, 8
84
- value :SUSPENDING, 9
85
- value :RESUMING, 10
86
- end
87
- add_enum "google.cloud.filestore.v1.Instance.Tier" do
88
- value :TIER_UNSPECIFIED, 0
89
- value :STANDARD, 1
90
- value :PREMIUM, 2
91
- value :BASIC_HDD, 3
92
- value :BASIC_SSD, 4
93
- value :HIGH_SCALE_SSD, 5
94
- value :ENTERPRISE, 6
95
- end
96
- add_enum "google.cloud.filestore.v1.Instance.SuspensionReason" do
97
- value :SUSPENSION_REASON_UNSPECIFIED, 0
98
- value :KMS_KEY_ISSUE, 1
99
- end
100
- add_message "google.cloud.filestore.v1.CreateInstanceRequest" do
101
- optional :parent, :string, 1
102
- optional :instance_id, :string, 2
103
- optional :instance, :message, 3, "google.cloud.filestore.v1.Instance"
104
- end
105
- add_message "google.cloud.filestore.v1.GetInstanceRequest" do
106
- optional :name, :string, 1
107
- end
108
- add_message "google.cloud.filestore.v1.UpdateInstanceRequest" do
109
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
110
- optional :instance, :message, 2, "google.cloud.filestore.v1.Instance"
111
- end
112
- add_message "google.cloud.filestore.v1.RestoreInstanceRequest" do
113
- optional :name, :string, 1
114
- optional :file_share, :string, 2
115
- oneof :source do
116
- optional :source_backup, :string, 3
117
- end
118
- end
119
- add_message "google.cloud.filestore.v1.DeleteInstanceRequest" do
120
- optional :name, :string, 1
121
- optional :force, :bool, 2
122
- end
123
- add_message "google.cloud.filestore.v1.ListInstancesRequest" do
124
- optional :parent, :string, 1
125
- optional :page_size, :int32, 2
126
- optional :page_token, :string, 3
127
- optional :order_by, :string, 4
128
- optional :filter, :string, 5
129
- end
130
- add_message "google.cloud.filestore.v1.ListInstancesResponse" do
131
- repeated :instances, :message, 1, "google.cloud.filestore.v1.Instance"
132
- optional :next_page_token, :string, 2
133
- repeated :unreachable, :string, 3
134
- end
135
- add_message "google.cloud.filestore.v1.Snapshot" do
136
- optional :name, :string, 1
137
- optional :description, :string, 2
138
- optional :state, :enum, 3, "google.cloud.filestore.v1.Snapshot.State"
139
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
140
- map :labels, :string, :string, 5
141
- optional :filesystem_used_bytes, :int64, 6
142
- end
143
- add_enum "google.cloud.filestore.v1.Snapshot.State" do
144
- value :STATE_UNSPECIFIED, 0
145
- value :CREATING, 1
146
- value :READY, 2
147
- value :DELETING, 3
148
- end
149
- add_message "google.cloud.filestore.v1.CreateSnapshotRequest" do
150
- optional :parent, :string, 1
151
- optional :snapshot_id, :string, 2
152
- optional :snapshot, :message, 3, "google.cloud.filestore.v1.Snapshot"
153
- end
154
- add_message "google.cloud.filestore.v1.GetSnapshotRequest" do
155
- optional :name, :string, 1
156
- end
157
- add_message "google.cloud.filestore.v1.DeleteSnapshotRequest" do
158
- optional :name, :string, 1
159
- end
160
- add_message "google.cloud.filestore.v1.UpdateSnapshotRequest" do
161
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
162
- optional :snapshot, :message, 2, "google.cloud.filestore.v1.Snapshot"
163
- end
164
- add_message "google.cloud.filestore.v1.ListSnapshotsRequest" do
165
- optional :parent, :string, 1
166
- optional :page_size, :int32, 2
167
- optional :page_token, :string, 3
168
- optional :order_by, :string, 4
169
- optional :filter, :string, 5
170
- end
171
- add_message "google.cloud.filestore.v1.ListSnapshotsResponse" do
172
- repeated :snapshots, :message, 1, "google.cloud.filestore.v1.Snapshot"
173
- optional :next_page_token, :string, 2
174
- end
175
- add_message "google.cloud.filestore.v1.Backup" do
176
- optional :name, :string, 1
177
- optional :description, :string, 2
178
- optional :state, :enum, 3, "google.cloud.filestore.v1.Backup.State"
179
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
180
- map :labels, :string, :string, 5
181
- optional :capacity_gb, :int64, 6
182
- optional :storage_bytes, :int64, 7
183
- optional :source_instance, :string, 8
184
- optional :source_file_share, :string, 9
185
- optional :source_instance_tier, :enum, 10, "google.cloud.filestore.v1.Instance.Tier"
186
- optional :download_bytes, :int64, 11
187
- optional :satisfies_pzs, :message, 12, "google.protobuf.BoolValue"
188
- optional :kms_key, :string, 13
189
- end
190
- add_enum "google.cloud.filestore.v1.Backup.State" do
191
- value :STATE_UNSPECIFIED, 0
192
- value :CREATING, 1
193
- value :FINALIZING, 2
194
- value :READY, 3
195
- value :DELETING, 4
196
- end
197
- add_message "google.cloud.filestore.v1.CreateBackupRequest" do
198
- optional :parent, :string, 1
199
- optional :backup, :message, 2, "google.cloud.filestore.v1.Backup"
200
- optional :backup_id, :string, 3
201
- end
202
- add_message "google.cloud.filestore.v1.DeleteBackupRequest" do
203
- optional :name, :string, 1
204
- end
205
- add_message "google.cloud.filestore.v1.UpdateBackupRequest" do
206
- optional :backup, :message, 1, "google.cloud.filestore.v1.Backup"
207
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
208
- end
209
- add_message "google.cloud.filestore.v1.GetBackupRequest" do
210
- optional :name, :string, 1
211
- end
212
- add_message "google.cloud.filestore.v1.ListBackupsRequest" do
213
- optional :parent, :string, 1
214
- optional :page_size, :int32, 2
215
- optional :page_token, :string, 3
216
- optional :order_by, :string, 4
217
- optional :filter, :string, 5
218
- end
219
- add_message "google.cloud.filestore.v1.ListBackupsResponse" do
220
- repeated :backups, :message, 1, "google.cloud.filestore.v1.Backup"
221
- optional :next_page_token, :string, 2
222
- repeated :unreachable, :string, 3
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"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
36
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
223
42
  end
224
43
  end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
225
46
  end
226
47
 
227
48
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Filestore
23
23
  module V1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.1
4
+ version: 0.5.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-04-21 00:00:00.000000000 Z
11
+ date: 2023-06-06 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.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a