google-apis-file_v1 0.60.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: e1c004a74c85c9b457482cb1958e2a97e6936d9dd7036fd64fe466d7e5115e1c
4
- data.tar.gz: 67c8f1b3b302e90aeac9bd38857b5a479a29166cb6a673204652cfeb11b912dc
3
+ metadata.gz: ecd09bcd80c6a3075032b99f334e90adb0cb451773fba5671d098850398f14a2
4
+ data.tar.gz: 594aa1d3cec4bd0ef7fe09ba00fe2a7a5b541b58e927f566c4a84d7ce2b2f406
5
5
  SHA512:
6
- metadata.gz: a9c849d709c2bfe637454f8c4c5cf596fc35c2d90d4ddb558f5d3c9f76980952708eff95b540817613462c58582db37f6ea9aabb6ed17b4b91bbc8671e51c326
7
- data.tar.gz: 44d2e86114c7f2c5f2de71ce1c64bdf0705b8ef9a454ed172932d34358d6a89fd59a8ec7a6eda9a7db93662a270e5a741c1131a0809a9824ffdb312a19cbe671
6
+ metadata.gz: 219a1e58c0fa696b7a8c513e70ac22682a49c9c44dd0a3e8bd9bed39da0a9146e7b3fa8d105d3a69a045313d4472480666e3e92d8a379792ce7f50f966ca7062
7
+ data.tar.gz: 9feca23470c19c39d2ed59ea33d767ce25754e5ebb77085998d17876bb37ed37be443a34b932aceda1bc29050909ac7b346f8e1d21c0b256dc354451d8092e49
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.60.0 (2025-10-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20250929
@@ -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.
@@ -867,6 +886,11 @@ module Google
867
886
  # @return [String]
868
887
  attr_accessor :description
869
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
+
870
894
  # Server-specified ETag for the instance resource to prevent simultaneous
871
895
  # updates from overwriting each other.
872
896
  # Corresponds to the JSON property `etag`
@@ -995,6 +1019,7 @@ module Google
995
1019
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
996
1020
  @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
997
1021
  @description = args[:description] if args.key?(:description)
1022
+ @directory_services = args[:directory_services] if args.key?(:directory_services)
998
1023
  @etag = args[:etag] if args.key?(:etag)
999
1024
  @file_shares = args[:file_shares] if args.key?(:file_shares)
1000
1025
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -1017,6 +1042,51 @@ module Google
1017
1042
  end
1018
1043
  end
1019
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
+
1020
1090
  # ListBackupsResponse is the result of ListBackupsRequest.
1021
1091
  class ListBackupsResponse
1022
1092
  include Google::Apis::Core::Hashable
@@ -1128,6 +1198,13 @@ module Google
1128
1198
  # @return [Array<Google::Apis::FileV1::Operation>]
1129
1199
  attr_accessor :operations
1130
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
+
1131
1208
  def initialize(**args)
1132
1209
  update!(**args)
1133
1210
  end
@@ -1136,6 +1213,7 @@ module Google
1136
1213
  def update!(**args)
1137
1214
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1138
1215
  @operations = args[:operations] if args.key?(:operations)
1216
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1139
1217
  end
1140
1218
  end
1141
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.60.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 = "20250929"
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
@@ -493,6 +513,8 @@ module Google
493
513
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
494
514
  property :deletion_protection_reason, as: 'deletionProtectionReason'
495
515
  property :description, as: 'description'
516
+ property :directory_services, as: 'directoryServices', class: Google::Apis::FileV1::DirectoryServicesConfig, decorator: Google::Apis::FileV1::DirectoryServicesConfig::Representation
517
+
496
518
  property :etag, as: 'etag'
497
519
  collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
498
520
 
@@ -520,6 +542,16 @@ module Google
520
542
  end
521
543
  end
522
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
+
523
555
  class ListBackupsResponse
524
556
  # @private
525
557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +587,7 @@ module Google
555
587
  property :next_page_token, as: 'nextPageToken'
556
588
  collection :operations, as: 'operations', class: Google::Apis::FileV1::Operation, decorator: Google::Apis::FileV1::Operation::Representation
557
589
 
590
+ collection :unreachable, as: 'unreachable'
558
591
  end
559
592
  end
560
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.60.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.60.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: