google-apis-file_v1beta1 0.52.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: 14df63d0f13406c6e0804c4820c657bdb9432de84d18e21b6091018dce2496ae
4
- data.tar.gz: 01e123602b096235a87e397e1e5cb43e230fba9119ea3d32eed0f94b587b8be9
3
+ metadata.gz: fb5d806940ab9f3302518802f4004d89a27b976a9ec7f38264f40e9aed974105
4
+ data.tar.gz: fb64d22c9c404dedf75644543e8e69d13cf44055d1c8c4786466dd46024004f3
5
5
  SHA512:
6
- metadata.gz: 54ede64a77a7e901fae3bf8ebfd8488dc7b127638007cdf5e83d0e25b1ad1939c420b749d27274a64431becdaf33daa152e84dc1c8f6ac0ddef99e84473b2db6
7
- data.tar.gz: 594f90031686d05b525a3d1abba7f3a1237ffe0bc3f805716ec4f629e89e61514bd31ed721f6017add238272ccf8d023b6fce52e1f182a457d35c6ad660c5902
6
+ metadata.gz: 3f4746b823a56e0ae199462e5b493c9f45eff190c75cef6404120bd91eb427d41bcfe82740931a3ce50d2e9aee9e08f6678358aa335b8cdf8e8d586361f80f80
7
+ data.tar.gz: 86335a7e50993956c99244aafda4e9ad9e3f14d327ff257e42b6dcda583581cac702362e279fedbcde034900e7487a6c98bf69bf4c79326ae0ffb7aa97476989
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.53.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250205
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.52.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241204
@@ -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
@@ -842,18 +848,19 @@ module Google
842
848
  # @return [Fixnum]
843
849
  attr_accessor :capacity_step_size_gb
844
850
 
845
- # Output only. Indicates whether this instance's performance is configurable. If
846
- # enabled, adjust it using the 'performance_config' field.
847
- # Corresponds to the JSON property `configurablePerformanceEnabled`
848
- # @return [Boolean]
849
- attr_accessor :configurable_performance_enabled
850
- alias_method :configurable_performance_enabled?, :configurable_performance_enabled
851
-
852
851
  # Output only. The time when the instance was created.
853
852
  # Corresponds to the JSON property `createTime`
854
853
  # @return [String]
855
854
  attr_accessor :create_time
856
855
 
856
+ # Output only. Indicates whether this instance supports configuring its
857
+ # performance. If true, the user can configure the instance's performance by
858
+ # using the 'performance_config' field.
859
+ # Corresponds to the JSON property `customPerformanceSupported`
860
+ # @return [Boolean]
861
+ attr_accessor :custom_performance_supported
862
+ alias_method :custom_performance_supported?, :custom_performance_supported
863
+
857
864
  # Optional. Indicates whether the instance is protected against deletion.
858
865
  # Corresponds to the JSON property `deletionProtectionEnabled`
859
866
  # @return [Boolean]
@@ -870,7 +877,7 @@ module Google
870
877
  # @return [String]
871
878
  attr_accessor :description
872
879
 
873
- # Directory Services configuration for Kerberos-based authentication.
880
+ # Directory Services configuration.
874
881
  # Corresponds to the JSON property `directoryServices`
875
882
  # @return [Google::Apis::FileV1beta1::DirectoryServicesConfig]
876
883
  attr_accessor :directory_services
@@ -1007,8 +1014,8 @@ module Google
1007
1014
  def update!(**args)
1008
1015
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
1009
1016
  @capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
1010
- @configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
1011
1017
  @create_time = args[:create_time] if args.key?(:create_time)
1018
+ @custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
1012
1019
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
1013
1020
  @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
1014
1021
  @description = args[:description] if args.key?(:description)
@@ -1036,6 +1043,51 @@ module Google
1036
1043
  end
1037
1044
  end
1038
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
+
1039
1091
  # ListBackupsResponse is the result of ListBackupsRequest.
1040
1092
  class ListBackupsResponse
1041
1093
  include Google::Apis::Core::Hashable
@@ -1663,6 +1715,11 @@ module Google
1663
1715
  class PerformanceLimits
1664
1716
  include Google::Apis::Core::Hashable
1665
1717
 
1718
+ # Output only. The max IOPS.
1719
+ # Corresponds to the JSON property `maxIops`
1720
+ # @return [Fixnum]
1721
+ attr_accessor :max_iops
1722
+
1666
1723
  # Output only. The max read IOPS.
1667
1724
  # Corresponds to the JSON property `maxReadIops`
1668
1725
  # @return [Fixnum]
@@ -1689,6 +1746,7 @@ module Google
1689
1746
 
1690
1747
  # Update properties of this object
1691
1748
  def update!(**args)
1749
+ @max_iops = args[:max_iops] if args.key?(:max_iops)
1692
1750
  @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
1693
1751
  @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
1694
1752
  @max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
@@ -1700,12 +1758,20 @@ module Google
1700
1758
  class PromoteReplicaRequest
1701
1759
  include Google::Apis::Core::Hashable
1702
1760
 
1761
+ # Optional. The resource name of the peer instance to promote, in the format `
1762
+ # projects/`project_id`/locations/`location_id`/instances/`instance_id``. The
1763
+ # peer instance is required if the operation is called on an active instance.
1764
+ # Corresponds to the JSON property `peerInstance`
1765
+ # @return [String]
1766
+ attr_accessor :peer_instance
1767
+
1703
1768
  def initialize(**args)
1704
1769
  update!(**args)
1705
1770
  end
1706
1771
 
1707
1772
  # Update properties of this object
1708
1773
  def update!(**args)
1774
+ @peer_instance = args[:peer_instance] if args.key?(:peer_instance)
1709
1775
  end
1710
1776
  end
1711
1777
 
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241204"
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
@@ -513,8 +521,8 @@ module Google
513
521
  class Representation < Google::Apis::Core::JsonRepresentation
514
522
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
515
523
  property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
516
- property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
517
524
  property :create_time, as: 'createTime'
525
+ property :custom_performance_supported, as: 'customPerformanceSupported'
518
526
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
519
527
  property :deletion_protection_reason, as: 'deletionProtectionReason'
520
528
  property :description, as: 'description'
@@ -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
@@ -710,6 +728,7 @@ module Google
710
728
  class PerformanceLimits
711
729
  # @private
712
730
  class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :max_iops, :numeric_string => true, as: 'maxIops'
713
732
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
714
733
  property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
715
734
  property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
@@ -720,6 +739,7 @@ module Google
720
739
  class PromoteReplicaRequest
721
740
  # @private
722
741
  class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :peer_instance, as: 'peerInstance'
723
743
  end
724
744
  end
725
745
 
@@ -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,14 +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.52.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.54.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Filestore API V1beta1
82
79
  test_files: []