google-apis-file_v1beta1 0.54.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: fb5d806940ab9f3302518802f4004d89a27b976a9ec7f38264f40e9aed974105
4
- data.tar.gz: fb64d22c9c404dedf75644543e8e69d13cf44055d1c8c4786466dd46024004f3
3
+ metadata.gz: 86e2630741e6fb893453d6819ace58004c2960caf38778c3de6930741cd742cd
4
+ data.tar.gz: 28b6c5926d28b250233487c8ea7fd630d3052cfec60885e174b4d0dd02e501e7
5
5
  SHA512:
6
- metadata.gz: 3f4746b823a56e0ae199462e5b493c9f45eff190c75cef6404120bd91eb427d41bcfe82740931a3ce50d2e9aee9e08f6678358aa335b8cdf8e8d586361f80f80
7
- data.tar.gz: 86335a7e50993956c99244aafda4e9ad9e3f14d327ff257e42b6dcda583581cac702362e279fedbcde034900e7487a6c98bf69bf4c79326ae0ffb7aa97476989
6
+ metadata.gz: 273c52ef5cd3d7b9f924927d784f9a4ff386e6b55935201141ba98ab568a6561120b5e799523fc8956608956ff119c492ec1a07a2b31c6a9a137b0ba11c5577a
7
+ data.tar.gz: f672e057e709bbc1263f0a880b4bd44c1c049da3b476b82000676e33cdb3d32fe45525611fe7f4b6ce73105fc02e4d8368cdf65ccd974f4a886e34093fb01123
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.54.0 (2025-04-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250404
@@ -407,6 +407,17 @@ module Google
407
407
  # @return [String]
408
408
  attr_accessor :consumer_defined_name
409
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
+
410
421
  # Output only. Timestamp when the resource was created.
411
422
  # Corresponds to the JSON property `createTime`
412
423
  # @return [String]
@@ -523,6 +534,7 @@ module Google
523
534
  # Update properties of this object
524
535
  def update!(**args)
525
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)
526
538
  @create_time = args[:create_time] if args.key?(:create_time)
527
539
  @instance_type = args[:instance_type] if args.key?(:instance_type)
528
540
  @labels = args[:labels] if args.key?(:labels)
@@ -1466,6 +1478,11 @@ module Google
1466
1478
  # @return [String]
1467
1479
  attr_accessor :network
1468
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
+
1469
1486
  # Optional, reserved_ip_range can have one of the following two types of values.
1470
1487
  # * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP
1471
1488
  # address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-
@@ -1494,6 +1511,7 @@ module Google
1494
1511
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1495
1512
  @modes = args[:modes] if args.key?(:modes)
1496
1513
  @network = args[:network] if args.key?(:network)
1514
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
1497
1515
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
1498
1516
  end
1499
1517
  end
@@ -1533,6 +1551,13 @@ module Google
1533
1551
  # @return [Array<String>]
1534
1552
  attr_accessor :ip_ranges
1535
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
+
1536
1561
  # The security flavors allowed for mount operations. The default is AUTH_SYS.
1537
1562
  # Corresponds to the JSON property `securityFlavors`
1538
1563
  # @return [Array<String>]
@@ -1554,6 +1579,7 @@ module Google
1554
1579
  @anon_gid = args[:anon_gid] if args.key?(:anon_gid)
1555
1580
  @anon_uid = args[:anon_uid] if args.key?(:anon_uid)
1556
1581
  @ip_ranges = args[:ip_ranges] if args.key?(:ip_ranges)
1582
+ @network = args[:network] if args.key?(:network)
1557
1583
  @security_flavors = args[:security_flavors] if args.key?(:security_flavors)
1558
1584
  @squash_mode = args[:squash_mode] if args.key?(:squash_mode)
1559
1585
  end
@@ -1775,6 +1801,28 @@ module Google
1775
1801
  end
1776
1802
  end
1777
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
+
1778
1826
  # Replica configuration for the instance.
1779
1827
  class ReplicaConfig
1780
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.54.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 = "20250404"
25
+ REVISION = "20250421"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class PscConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class ReplicaConfig
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -412,6 +418,7 @@ module Google
412
418
  # @private
413
419
  class Representation < Google::Apis::Core::JsonRepresentation
414
420
  property :consumer_defined_name, as: 'consumerDefinedName'
421
+ property :consumer_project_number, as: 'consumerProjectNumber'
415
422
  property :create_time, as: 'createTime'
416
423
  property :instance_type, as: 'instanceType'
417
424
  hash :labels, as: 'labels'
@@ -674,6 +681,8 @@ module Google
674
681
  collection :ip_addresses, as: 'ipAddresses'
675
682
  collection :modes, as: 'modes'
676
683
  property :network, as: 'network'
684
+ property :psc_config, as: 'pscConfig', class: Google::Apis::FileV1beta1::PscConfig, decorator: Google::Apis::FileV1beta1::PscConfig::Representation
685
+
677
686
  property :reserved_ip_range, as: 'reservedIpRange'
678
687
  end
679
688
  end
@@ -685,6 +694,7 @@ module Google
685
694
  property :anon_gid, :numeric_string => true, as: 'anonGid'
686
695
  property :anon_uid, :numeric_string => true, as: 'anonUid'
687
696
  collection :ip_ranges, as: 'ipRanges'
697
+ property :network, as: 'network'
688
698
  collection :security_flavors, as: 'securityFlavors'
689
699
  property :squash_mode, as: 'squashMode'
690
700
  end
@@ -743,6 +753,13 @@ module Google
743
753
  end
744
754
  end
745
755
 
756
+ class PscConfig
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :endpoint_project, as: 'endpointProject'
760
+ end
761
+ end
762
+
746
763
  class ReplicaConfig
747
764
  # @private
748
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -91,8 +91,6 @@ module Google
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
93
93
  # in [AIP-160](https://google.aip.dev/160).
94
- # @param [Boolean] include_unrevealed_locations
95
- # If true, the returned list will include locations which are not yet revealed.
96
94
  # @param [Fixnum] page_size
97
95
  # The maximum number of results to return. If not set, the service selects a
98
96
  # default.
@@ -116,14 +114,13 @@ module Google
116
114
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
117
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
118
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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
+ 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)
120
118
  command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
121
119
  command.response_representation = Google::Apis::FileV1beta1::ListLocationsResponse::Representation
122
120
  command.response_class = Google::Apis::FileV1beta1::ListLocationsResponse
123
121
  command.params['name'] = name unless name.nil?
124
122
  command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
125
123
  command.query['filter'] = filter unless filter.nil?
126
- command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
127
124
  command.query['pageSize'] = page_size unless page_size.nil?
128
125
  command.query['pageToken'] = page_token unless page_token.nil?
129
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.54.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-04-16 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.54.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: