google-apis-file_v1beta1 0.53.0 → 0.54.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: 2d82fdcab39e0a13f937c7afd1e7fa7514822bd37f13c9ae19c8267a53b590c1
4
- data.tar.gz: ce612db38590b770569c5b2814f3f4f7c7c8d36f3e18978adf8da146efb32dc1
3
+ metadata.gz: fb5d806940ab9f3302518802f4004d89a27b976a9ec7f38264f40e9aed974105
4
+ data.tar.gz: fb64d22c9c404dedf75644543e8e69d13cf44055d1c8c4786466dd46024004f3
5
5
  SHA512:
6
- metadata.gz: 38efceb1369fb0d16d80efffe0bd35818554621aaa5b4f7dd96825d659ec09cbcbf94e9a70e5c06cc0f01fb8ba3238da298418fd8c21790d8240f8aa18c19f1c
7
- data.tar.gz: 9cfda7d3907865b9510eccaefd566d103edd17c7bba053e4b631ac67ca0e57888c580ca9dd9d1f013833e10fcdbe8fe4f06c257e32b151a44472cf6cee4168de
6
+ metadata.gz: 3f4746b823a56e0ae199462e5b493c9f45eff190c75cef6404120bd91eb427d41bcfe82740931a3ce50d2e9aee9e08f6678358aa335b8cdf8e8d586361f80f80
7
+ data.tar.gz: 86335a7e50993956c99244aafda4e9ad9e3f14d327ff257e42b6dcda583581cac702362e279fedbcde034900e7487a6c98bf69bf4c79326ae0ffb7aa97476989
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.54.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250404
6
+
3
7
  ### v0.53.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250205
@@ -276,10 +276,15 @@ module Google
276
276
  end
277
277
  end
278
278
 
279
- # Directory Services configuration for Kerberos-based authentication.
279
+ # Directory Services configuration.
280
280
  class DirectoryServicesConfig
281
281
  include Google::Apis::Core::Hashable
282
282
 
283
+ # LdapConfig contains all the parameters for connecting to LDAP servers.
284
+ # Corresponds to the JSON property `ldap`
285
+ # @return [Google::Apis::FileV1beta1::LdapConfig]
286
+ attr_accessor :ldap
287
+
283
288
  # ManagedActiveDirectoryConfig contains all the parameters for connecting to
284
289
  # Managed Service for Microsoft Active Directory (Managed Microsoft AD).
285
290
  # Corresponds to the JSON property `managedActiveDirectory`
@@ -292,6 +297,7 @@ module Google
292
297
 
293
298
  # Update properties of this object
294
299
  def update!(**args)
300
+ @ldap = args[:ldap] if args.key?(:ldap)
295
301
  @managed_active_directory = args[:managed_active_directory] if args.key?(:managed_active_directory)
296
302
  end
297
303
  end
@@ -871,7 +877,7 @@ module Google
871
877
  # @return [String]
872
878
  attr_accessor :description
873
879
 
874
- # Directory Services configuration for Kerberos-based authentication.
880
+ # Directory Services configuration.
875
881
  # Corresponds to the JSON property `directoryServices`
876
882
  # @return [Google::Apis::FileV1beta1::DirectoryServicesConfig]
877
883
  attr_accessor :directory_services
@@ -1037,6 +1043,51 @@ module Google
1037
1043
  end
1038
1044
  end
1039
1045
 
1046
+ # LdapConfig contains all the parameters for connecting to LDAP servers.
1047
+ class LdapConfig
1048
+ include Google::Apis::Core::Hashable
1049
+
1050
+ # Required. The LDAP domain name in the format of `my-domain.com`.
1051
+ # Corresponds to the JSON property `domain`
1052
+ # @return [String]
1053
+ attr_accessor :domain
1054
+
1055
+ # Optional. The groups Organizational Unit (OU) is optional. This parameter is a
1056
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1057
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1058
+ # Corresponds to the JSON property `groupsOu`
1059
+ # @return [String]
1060
+ attr_accessor :groups_ou
1061
+
1062
+ # Required. The servers names are used for specifying the LDAP servers names.
1063
+ # The LDAP servers names can come with two formats: 1. DNS name, for example: `
1064
+ # ldap.example1.com`, `ldap.example2.com`. 2. IP address, for example: `10.0.0.1`
1065
+ # , `10.0.0.2`, `10.0.0.3`. All servers names must be in the same format: either
1066
+ # all DNS names or all IP addresses.
1067
+ # Corresponds to the JSON property `servers`
1068
+ # @return [Array<String>]
1069
+ attr_accessor :servers
1070
+
1071
+ # Optional. The users Organizational Unit (OU) is optional. This parameter is a
1072
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1073
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1074
+ # Corresponds to the JSON property `usersOu`
1075
+ # @return [String]
1076
+ attr_accessor :users_ou
1077
+
1078
+ def initialize(**args)
1079
+ update!(**args)
1080
+ end
1081
+
1082
+ # Update properties of this object
1083
+ def update!(**args)
1084
+ @domain = args[:domain] if args.key?(:domain)
1085
+ @groups_ou = args[:groups_ou] if args.key?(:groups_ou)
1086
+ @servers = args[:servers] if args.key?(:servers)
1087
+ @users_ou = args[:users_ou] if args.key?(:users_ou)
1088
+ end
1089
+ end
1090
+
1040
1091
  # ListBackupsResponse is the result of ListBackupsRequest.
1041
1092
  class ListBackupsResponse
1042
1093
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1beta1
18
18
  # Version of the google-apis-file_v1beta1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250205"
25
+ REVISION = "20250404"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class LdapConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class ListBackupsResponse
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -371,6 +377,8 @@ module Google
371
377
  class DirectoryServicesConfig
372
378
  # @private
373
379
  class Representation < Google::Apis::Core::JsonRepresentation
380
+ property :ldap, as: 'ldap', class: Google::Apis::FileV1beta1::LdapConfig, decorator: Google::Apis::FileV1beta1::LdapConfig::Representation
381
+
374
382
  property :managed_active_directory, as: 'managedActiveDirectory', class: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig, decorator: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig::Representation
375
383
 
376
384
  end
@@ -548,6 +556,16 @@ module Google
548
556
  end
549
557
  end
550
558
 
559
+ class LdapConfig
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :domain, as: 'domain'
563
+ property :groups_ou, as: 'groupsOu'
564
+ collection :servers, as: 'servers'
565
+ property :users_ou, as: 'usersOu'
566
+ end
567
+ end
568
+
551
569
  class ListBackupsResponse
552
570
  # @private
553
571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,6 +84,9 @@ module Google
84
84
  # Lists information about the supported locations for this service.
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
+ # @param [Array<String>, String] extra_location_types
88
+ # Optional. A list of extra location types that should be used as conditions for
89
+ # controlling the visibility of the locations.
87
90
  # @param [String] filter
88
91
  # A filter to narrow down results to a preferred subset. The filtering language
89
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -113,11 +116,12 @@ module Google
113
116
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
117
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
118
  # @raise [Google::Apis::AuthorizationError] Authorization is required
116
- def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ def list_project_locations(name, extra_location_types: nil, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117
120
  command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
118
121
  command.response_representation = Google::Apis::FileV1beta1::ListLocationsResponse::Representation
119
122
  command.response_class = Google::Apis::FileV1beta1::ListLocationsResponse
120
123
  command.params['name'] = name unless name.nil?
124
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
121
125
  command.query['filter'] = filter unless filter.nil?
122
126
  command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
123
127
  command.query['pageSize'] = page_size unless page_size.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.54.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: