google-apis-file_v1beta1 0.53.0 → 0.55.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: 86e2630741e6fb893453d6819ace58004c2960caf38778c3de6930741cd742cd
4
+ data.tar.gz: 28b6c5926d28b250233487c8ea7fd630d3052cfec60885e174b4d0dd02e501e7
5
5
  SHA512:
6
- metadata.gz: 38efceb1369fb0d16d80efffe0bd35818554621aaa5b4f7dd96825d659ec09cbcbf94e9a70e5c06cc0f01fb8ba3238da298418fd8c21790d8240f8aa18c19f1c
7
- data.tar.gz: 9cfda7d3907865b9510eccaefd566d103edd17c7bba053e4b631ac67ca0e57888c580ca9dd9d1f013833e10fcdbe8fe4f06c257e32b151a44472cf6cee4168de
6
+ metadata.gz: 273c52ef5cd3d7b9f924927d784f9a4ff386e6b55935201141ba98ab568a6561120b5e799523fc8956608956ff119c492ec1a07a2b31c6a9a137b0ba11c5577a
7
+ data.tar.gz: f672e057e709bbc1263f0a880b4bd44c1c049da3b476b82000676e33cdb3d32fe45525611fe7f4b6ce73105fc02e4d8368cdf65ccd974f4a886e34093fb01123
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.55.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250421
6
+
7
+ ### v0.54.0 (2025-04-06)
8
+
9
+ * Regenerated from discovery document revision 20250404
10
+
3
11
  ### v0.53.0 (2025-02-26)
4
12
 
5
13
  * 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
@@ -401,6 +407,17 @@ module Google
401
407
  # @return [String]
402
408
  attr_accessor :consumer_defined_name
403
409
 
410
+ # Optional. The consumer_project_number associated with this Apigee instance.
411
+ # This field is added specifically to support Apigee integration with SLM
412
+ # Rollout and UMM. It represents the numerical project ID of the GCP project
413
+ # that consumes this Apigee instance. It is used for SLM rollout notifications
414
+ # and UMM integration, enabling proper mapping to customer projects and log
415
+ # delivery for Apigee instances. This field complements consumer_project_id and
416
+ # may be used for specific Apigee scenarios where the numerical ID is required.
417
+ # Corresponds to the JSON property `consumerProjectNumber`
418
+ # @return [String]
419
+ attr_accessor :consumer_project_number
420
+
404
421
  # Output only. Timestamp when the resource was created.
405
422
  # Corresponds to the JSON property `createTime`
406
423
  # @return [String]
@@ -517,6 +534,7 @@ module Google
517
534
  # Update properties of this object
518
535
  def update!(**args)
519
536
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
537
+ @consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
520
538
  @create_time = args[:create_time] if args.key?(:create_time)
521
539
  @instance_type = args[:instance_type] if args.key?(:instance_type)
522
540
  @labels = args[:labels] if args.key?(:labels)
@@ -871,7 +889,7 @@ module Google
871
889
  # @return [String]
872
890
  attr_accessor :description
873
891
 
874
- # Directory Services configuration for Kerberos-based authentication.
892
+ # Directory Services configuration.
875
893
  # Corresponds to the JSON property `directoryServices`
876
894
  # @return [Google::Apis::FileV1beta1::DirectoryServicesConfig]
877
895
  attr_accessor :directory_services
@@ -1037,6 +1055,51 @@ module Google
1037
1055
  end
1038
1056
  end
1039
1057
 
1058
+ # LdapConfig contains all the parameters for connecting to LDAP servers.
1059
+ class LdapConfig
1060
+ include Google::Apis::Core::Hashable
1061
+
1062
+ # Required. The LDAP domain name in the format of `my-domain.com`.
1063
+ # Corresponds to the JSON property `domain`
1064
+ # @return [String]
1065
+ attr_accessor :domain
1066
+
1067
+ # Optional. The groups Organizational Unit (OU) is optional. This parameter is a
1068
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1069
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1070
+ # Corresponds to the JSON property `groupsOu`
1071
+ # @return [String]
1072
+ attr_accessor :groups_ou
1073
+
1074
+ # Required. The servers names are used for specifying the LDAP servers names.
1075
+ # The LDAP servers names can come with two formats: 1. DNS name, for example: `
1076
+ # ldap.example1.com`, `ldap.example2.com`. 2. IP address, for example: `10.0.0.1`
1077
+ # , `10.0.0.2`, `10.0.0.3`. All servers names must be in the same format: either
1078
+ # all DNS names or all IP addresses.
1079
+ # Corresponds to the JSON property `servers`
1080
+ # @return [Array<String>]
1081
+ attr_accessor :servers
1082
+
1083
+ # Optional. The users Organizational Unit (OU) is optional. This parameter is a
1084
+ # hint to allow faster lookup in the LDAP namespace. In case that this parameter
1085
+ # is not provided, Filestore instance will query the whole LDAP namespace.
1086
+ # Corresponds to the JSON property `usersOu`
1087
+ # @return [String]
1088
+ attr_accessor :users_ou
1089
+
1090
+ def initialize(**args)
1091
+ update!(**args)
1092
+ end
1093
+
1094
+ # Update properties of this object
1095
+ def update!(**args)
1096
+ @domain = args[:domain] if args.key?(:domain)
1097
+ @groups_ou = args[:groups_ou] if args.key?(:groups_ou)
1098
+ @servers = args[:servers] if args.key?(:servers)
1099
+ @users_ou = args[:users_ou] if args.key?(:users_ou)
1100
+ end
1101
+ end
1102
+
1040
1103
  # ListBackupsResponse is the result of ListBackupsRequest.
1041
1104
  class ListBackupsResponse
1042
1105
  include Google::Apis::Core::Hashable
@@ -1415,6 +1478,11 @@ module Google
1415
1478
  # @return [String]
1416
1479
  attr_accessor :network
1417
1480
 
1481
+ # Private Service Connect configuration.
1482
+ # Corresponds to the JSON property `pscConfig`
1483
+ # @return [Google::Apis::FileV1beta1::PscConfig]
1484
+ attr_accessor :psc_config
1485
+
1418
1486
  # Optional, reserved_ip_range can have one of the following two types of values.
1419
1487
  # * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP
1420
1488
  # address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-
@@ -1443,6 +1511,7 @@ module Google
1443
1511
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1444
1512
  @modes = args[:modes] if args.key?(:modes)
1445
1513
  @network = args[:network] if args.key?(:network)
1514
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
1446
1515
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
1447
1516
  end
1448
1517
  end
@@ -1482,6 +1551,13 @@ module Google
1482
1551
  # @return [Array<String>]
1483
1552
  attr_accessor :ip_ranges
1484
1553
 
1554
+ # Optional. The source VPC network for ip_ranges. Required for instances using
1555
+ # Private Service Connect, optional otherwise. If provided, must be the same
1556
+ # network specified in the `NetworkConfig.network` field.
1557
+ # Corresponds to the JSON property `network`
1558
+ # @return [String]
1559
+ attr_accessor :network
1560
+
1485
1561
  # The security flavors allowed for mount operations. The default is AUTH_SYS.
1486
1562
  # Corresponds to the JSON property `securityFlavors`
1487
1563
  # @return [Array<String>]
@@ -1503,6 +1579,7 @@ module Google
1503
1579
  @anon_gid = args[:anon_gid] if args.key?(:anon_gid)
1504
1580
  @anon_uid = args[:anon_uid] if args.key?(:anon_uid)
1505
1581
  @ip_ranges = args[:ip_ranges] if args.key?(:ip_ranges)
1582
+ @network = args[:network] if args.key?(:network)
1506
1583
  @security_flavors = args[:security_flavors] if args.key?(:security_flavors)
1507
1584
  @squash_mode = args[:squash_mode] if args.key?(:squash_mode)
1508
1585
  end
@@ -1724,6 +1801,28 @@ module Google
1724
1801
  end
1725
1802
  end
1726
1803
 
1804
+ # Private Service Connect configuration.
1805
+ class PscConfig
1806
+ include Google::Apis::Core::Hashable
1807
+
1808
+ # Consumer service project in which the Private Service Connect endpoint would
1809
+ # be set up. This is optional, and only relevant in case the network is a shared
1810
+ # VPC. If this is not specified, the endpoint would be setup in the VPC host
1811
+ # project.
1812
+ # Corresponds to the JSON property `endpointProject`
1813
+ # @return [String]
1814
+ attr_accessor :endpoint_project
1815
+
1816
+ def initialize(**args)
1817
+ update!(**args)
1818
+ end
1819
+
1820
+ # Update properties of this object
1821
+ def update!(**args)
1822
+ @endpoint_project = args[:endpoint_project] if args.key?(:endpoint_project)
1823
+ end
1824
+ end
1825
+
1727
1826
  # Replica configuration for the instance.
1728
1827
  class ReplicaConfig
1729
1828
  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.55.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 = "20250421"
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
 
@@ -244,6 +250,12 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class PscConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class ReplicaConfig
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -371,6 +383,8 @@ module Google
371
383
  class DirectoryServicesConfig
372
384
  # @private
373
385
  class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :ldap, as: 'ldap', class: Google::Apis::FileV1beta1::LdapConfig, decorator: Google::Apis::FileV1beta1::LdapConfig::Representation
387
+
374
388
  property :managed_active_directory, as: 'managedActiveDirectory', class: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig, decorator: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig::Representation
375
389
 
376
390
  end
@@ -404,6 +418,7 @@ module Google
404
418
  # @private
405
419
  class Representation < Google::Apis::Core::JsonRepresentation
406
420
  property :consumer_defined_name, as: 'consumerDefinedName'
421
+ property :consumer_project_number, as: 'consumerProjectNumber'
407
422
  property :create_time, as: 'createTime'
408
423
  property :instance_type, as: 'instanceType'
409
424
  hash :labels, as: 'labels'
@@ -548,6 +563,16 @@ module Google
548
563
  end
549
564
  end
550
565
 
566
+ class LdapConfig
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :domain, as: 'domain'
570
+ property :groups_ou, as: 'groupsOu'
571
+ collection :servers, as: 'servers'
572
+ property :users_ou, as: 'usersOu'
573
+ end
574
+ end
575
+
551
576
  class ListBackupsResponse
552
577
  # @private
553
578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -656,6 +681,8 @@ module Google
656
681
  collection :ip_addresses, as: 'ipAddresses'
657
682
  collection :modes, as: 'modes'
658
683
  property :network, as: 'network'
684
+ property :psc_config, as: 'pscConfig', class: Google::Apis::FileV1beta1::PscConfig, decorator: Google::Apis::FileV1beta1::PscConfig::Representation
685
+
659
686
  property :reserved_ip_range, as: 'reservedIpRange'
660
687
  end
661
688
  end
@@ -667,6 +694,7 @@ module Google
667
694
  property :anon_gid, :numeric_string => true, as: 'anonGid'
668
695
  property :anon_uid, :numeric_string => true, as: 'anonUid'
669
696
  collection :ip_ranges, as: 'ipRanges'
697
+ property :network, as: 'network'
670
698
  collection :security_flavors, as: 'securityFlavors'
671
699
  property :squash_mode, as: 'squashMode'
672
700
  end
@@ -725,6 +753,13 @@ module Google
725
753
  end
726
754
  end
727
755
 
756
+ class PscConfig
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :endpoint_project, as: 'endpointProject'
760
+ end
761
+ end
762
+
728
763
  class ReplicaConfig
729
764
  # @private
730
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,12 +84,13 @@ 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
90
93
  # in [AIP-160](https://google.aip.dev/160).
91
- # @param [Boolean] include_unrevealed_locations
92
- # If true, the returned list will include locations which are not yet revealed.
93
94
  # @param [Fixnum] page_size
94
95
  # The maximum number of results to return. If not set, the service selects a
95
96
  # default.
@@ -113,13 +114,13 @@ module Google
113
114
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
116
  # @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)
117
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117
118
  command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
118
119
  command.response_representation = Google::Apis::FileV1beta1::ListLocationsResponse::Representation
119
120
  command.response_class = Google::Apis::FileV1beta1::ListLocationsResponse
120
121
  command.params['name'] = name unless name.nil?
122
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
121
123
  command.query['filter'] = filter unless filter.nil?
122
- command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
123
124
  command.query['pageSize'] = page_size unless page_size.nil?
124
125
  command.query['pageToken'] = page_token unless page_token.nil?
125
126
  command.query['fields'] = fields unless fields.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.55.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-27 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.55.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: