google-apis-file_v1 0.59.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52c96c48f0d8a2dcb265f32c64d6be7f7b7cf2cfd5b21c80a8c4f596ab2c1c87
4
- data.tar.gz: 47615f6864cefcff8f106f20fd730b0706df14973ce1fbdf15dde56a60c9a9de
3
+ metadata.gz: ecd09bcd80c6a3075032b99f334e90adb0cb451773fba5671d098850398f14a2
4
+ data.tar.gz: 594aa1d3cec4bd0ef7fe09ba00fe2a7a5b541b58e927f566c4a84d7ce2b2f406
5
5
  SHA512:
6
- metadata.gz: 88bcf54f43f7a80952661f5598f1880b378611f7999a9857ba656a321c74684c422c03b2348c50bcbf7b627ad36e1f0b57c0d902f1a950339c68ff6837a169c0
7
- data.tar.gz: d4f719538247a2e2fdc12ce5a4c0deaa8eb61e21849ba5dd9fedf217223228c0c8c0de9d03eb6bc031cc4a13af9703d09c304820481d6c55bf1725ab04185911
6
+ metadata.gz: 219a1e58c0fa696b7a8c513e70ac22682a49c9c44dd0a3e8bd9bed39da0a9146e7b3fa8d105d3a69a045313d4472480666e3e92d8a379792ce7f50f966ca7062
7
+ data.tar.gz: 9feca23470c19c39d2ed59ea33d767ce25754e5ebb77085998d17876bb37ed37be443a34b932aceda1bc29050909ac7b346f8e1d21c0b256dc354451d8092e49
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.61.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251015
6
+
7
+ ### v0.60.0 (2025-10-12)
8
+
9
+ * Regenerated from discovery document revision 20250929
10
+
3
11
  ### v0.59.0 (2025-09-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20250910
@@ -278,6 +278,25 @@ module Google
278
278
  end
279
279
  end
280
280
 
281
+ # Directory Services configuration for Kerberos-based authentication.
282
+ class DirectoryServicesConfig
283
+ include Google::Apis::Core::Hashable
284
+
285
+ # LdapConfig contains all the parameters for connecting to LDAP servers.
286
+ # Corresponds to the JSON property `ldap`
287
+ # @return [Google::Apis::FileV1::LdapConfig]
288
+ attr_accessor :ldap
289
+
290
+ def initialize(**args)
291
+ update!(**args)
292
+ end
293
+
294
+ # Update properties of this object
295
+ def update!(**args)
296
+ @ldap = args[:ldap] if args.key?(:ldap)
297
+ end
298
+ end
299
+
281
300
  # A generic empty message that you can re-use to avoid defining duplicated empty
282
301
  # messages in your APIs. A typical example is to use it as the request or the
283
302
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -323,6 +342,14 @@ module Google
323
342
  # @return [String]
324
343
  attr_accessor :source_backup
325
344
 
345
+ # The resource name of the BackupDR backup, in the format `projects/`project_id`/
346
+ # locations/`location_id`/backupVaults/`backupvault_id`/dataSources/`
347
+ # datasource_id`/backups/`backup_id``, TODO (b/443690479) - Remove visibility
348
+ # restrictions once the feature is ready
349
+ # Corresponds to the JSON property `sourceBackupdrBackup`
350
+ # @return [String]
351
+ attr_accessor :source_backupdr_backup
352
+
326
353
  def initialize(**args)
327
354
  update!(**args)
328
355
  end
@@ -333,6 +360,7 @@ module Google
333
360
  @name = args[:name] if args.key?(:name)
334
361
  @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
335
362
  @source_backup = args[:source_backup] if args.key?(:source_backup)
363
+ @source_backupdr_backup = args[:source_backupdr_backup] if args.key?(:source_backupdr_backup)
336
364
  end
337
365
  end
338
366
 
@@ -858,6 +886,11 @@ module Google
858
886
  # @return [String]
859
887
  attr_accessor :description
860
888
 
889
+ # Directory Services configuration for Kerberos-based authentication.
890
+ # Corresponds to the JSON property `directoryServices`
891
+ # @return [Google::Apis::FileV1::DirectoryServicesConfig]
892
+ attr_accessor :directory_services
893
+
861
894
  # Server-specified ETag for the instance resource to prevent simultaneous
862
895
  # updates from overwriting each other.
863
896
  # Corresponds to the JSON property `etag`
@@ -986,6 +1019,7 @@ module Google
986
1019
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
987
1020
  @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
988
1021
  @description = args[:description] if args.key?(:description)
1022
+ @directory_services = args[:directory_services] if args.key?(:directory_services)
989
1023
  @etag = args[:etag] if args.key?(:etag)
990
1024
  @file_shares = args[:file_shares] if args.key?(:file_shares)
991
1025
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -1008,6 +1042,51 @@ module Google
1008
1042
  end
1009
1043
  end
1010
1044
 
1045
+ # LdapConfig contains all the parameters for connecting to LDAP servers.
1046
+ class LdapConfig
1047
+ include Google::Apis::Core::Hashable
1048
+
1049
+ # Required. The LDAP domain name in the format of `my-domain.com`.
1050
+ # Corresponds to the JSON property `domain`
1051
+ # @return [String]
1052
+ attr_accessor :domain
1053
+
1054
+ # Optional. The groups Organizational Unit (OU) is optional. This parameter is a
1055
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1056
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1057
+ # Corresponds to the JSON property `groupsOu`
1058
+ # @return [String]
1059
+ attr_accessor :groups_ou
1060
+
1061
+ # Required. The servers names are used for specifying the LDAP servers names.
1062
+ # The LDAP servers names can come with two formats: 1. DNS name, for example: `
1063
+ # ldap.example1.com`, `ldap.example2.com`. 2. IP address, for example: `10.0.0.1`
1064
+ # , `10.0.0.2`, `10.0.0.3`. All servers names must be in the same format: either
1065
+ # all DNS names or all IP addresses.
1066
+ # Corresponds to the JSON property `servers`
1067
+ # @return [Array<String>]
1068
+ attr_accessor :servers
1069
+
1070
+ # Optional. The users Organizational Unit (OU) is optional. This parameter is a
1071
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1072
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1073
+ # Corresponds to the JSON property `usersOu`
1074
+ # @return [String]
1075
+ attr_accessor :users_ou
1076
+
1077
+ def initialize(**args)
1078
+ update!(**args)
1079
+ end
1080
+
1081
+ # Update properties of this object
1082
+ def update!(**args)
1083
+ @domain = args[:domain] if args.key?(:domain)
1084
+ @groups_ou = args[:groups_ou] if args.key?(:groups_ou)
1085
+ @servers = args[:servers] if args.key?(:servers)
1086
+ @users_ou = args[:users_ou] if args.key?(:users_ou)
1087
+ end
1088
+ end
1089
+
1011
1090
  # ListBackupsResponse is the result of ListBackupsRequest.
1012
1091
  class ListBackupsResponse
1013
1092
  include Google::Apis::Core::Hashable
@@ -1119,6 +1198,13 @@ module Google
1119
1198
  # @return [Array<Google::Apis::FileV1::Operation>]
1120
1199
  attr_accessor :operations
1121
1200
 
1201
+ # Unordered list. Unreachable resources. Populated when the request sets `
1202
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1203
+ # when attempting to list all resources across all supported locations.
1204
+ # Corresponds to the JSON property `unreachable`
1205
+ # @return [Array<String>]
1206
+ attr_accessor :unreachable
1207
+
1122
1208
  def initialize(**args)
1123
1209
  update!(**args)
1124
1210
  end
@@ -1127,6 +1213,7 @@ module Google
1127
1213
  def update!(**args)
1128
1214
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1129
1215
  @operations = args[:operations] if args.key?(:operations)
1216
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1130
1217
  end
1131
1218
  end
1132
1219
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1
18
18
  # Version of the google-apis-file_v1 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250910"
25
+ REVISION = "20251015"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class DirectoryServicesConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class Empty
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class LdapConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class ListBackupsResponse
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -350,6 +362,14 @@ module Google
350
362
  end
351
363
  end
352
364
 
365
+ class DirectoryServicesConfig
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :ldap, as: 'ldap', class: Google::Apis::FileV1::LdapConfig, decorator: Google::Apis::FileV1::LdapConfig::Representation
369
+
370
+ end
371
+ end
372
+
353
373
  class Empty
354
374
  # @private
355
375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -364,6 +384,7 @@ module Google
364
384
  collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1::NfsExportOptions, decorator: Google::Apis::FileV1::NfsExportOptions::Representation
365
385
 
366
386
  property :source_backup, as: 'sourceBackup'
387
+ property :source_backupdr_backup, as: 'sourceBackupdrBackup'
367
388
  end
368
389
  end
369
390
 
@@ -492,6 +513,8 @@ module Google
492
513
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
493
514
  property :deletion_protection_reason, as: 'deletionProtectionReason'
494
515
  property :description, as: 'description'
516
+ property :directory_services, as: 'directoryServices', class: Google::Apis::FileV1::DirectoryServicesConfig, decorator: Google::Apis::FileV1::DirectoryServicesConfig::Representation
517
+
495
518
  property :etag, as: 'etag'
496
519
  collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
497
520
 
@@ -519,6 +542,16 @@ module Google
519
542
  end
520
543
  end
521
544
 
545
+ class LdapConfig
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :domain, as: 'domain'
549
+ property :groups_ou, as: 'groupsOu'
550
+ collection :servers, as: 'servers'
551
+ property :users_ou, as: 'usersOu'
552
+ end
553
+ end
554
+
522
555
  class ListBackupsResponse
523
556
  # @private
524
557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -554,6 +587,7 @@ module Google
554
587
  property :next_page_token, as: 'nextPageToken'
555
588
  collection :operations, as: 'operations', class: Google::Apis::FileV1::Operation, decorator: Google::Apis::FileV1::Operation::Representation
556
589
 
590
+ collection :unreachable, as: 'unreachable'
557
591
  end
558
592
  end
559
593
 
@@ -919,6 +919,13 @@ module Google
919
919
  # The standard list page size.
920
920
  # @param [String] page_token
921
921
  # The standard list page token.
922
+ # @param [Boolean] return_partial_success
923
+ # When set to `true`, operations that are reachable are returned as normal, and
924
+ # those that are unreachable are returned in the [ListOperationsResponse.
925
+ # unreachable] field. This can only be `true` when reading across collections e.
926
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
927
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
928
+ # explicitly documented otherwise in service or product specific documentation.
922
929
  # @param [String] fields
923
930
  # Selector specifying which fields to include in a partial response.
924
931
  # @param [String] quota_user
@@ -936,7 +943,7 @@ module Google
936
943
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
937
944
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
938
945
  # @raise [Google::Apis::AuthorizationError] Authorization is required
939
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
946
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
940
947
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
941
948
  command.response_representation = Google::Apis::FileV1::ListOperationsResponse::Representation
942
949
  command.response_class = Google::Apis::FileV1::ListOperationsResponse
@@ -944,6 +951,7 @@ module Google
944
951
  command.query['filter'] = filter unless filter.nil?
945
952
  command.query['pageSize'] = page_size unless page_size.nil?
946
953
  command.query['pageToken'] = page_token unless page_token.nil?
954
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
947
955
  command.query['fields'] = fields unless fields.nil?
948
956
  command.query['quotaUser'] = quota_user unless quota_user.nil?
949
957
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.59.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.61.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
62
62
  rdoc_options: []
63
63
  require_paths: