google-apis-file_v1 0.50.0 → 0.52.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: 250fc150c09b2f1c1398cbe4d2dcbec0bb3952786ccf8fdac0bc962a140adf4b
4
- data.tar.gz: 5421df71e1a382f27af6533b1be3ba55ec4a6265ef177b539f30b27d695e76be
3
+ metadata.gz: 9d2c92c7432cd34d4fe4e47c9228dd69cc00d98fb0079e7ab8a3798155c9e457
4
+ data.tar.gz: '00846ede55d593ccd3ac4a766f1efa627f9ac19d707635f6129dcaf7e7a5db8e'
5
5
  SHA512:
6
- metadata.gz: 3535ec03adc70d801aaa8e59d33acfaed227d01b63455ea9e532b627111c40811031285c8aa76f7c19457b92b0611bf31b490b57adbcf31d2062f5bb880289d7
7
- data.tar.gz: 1174039ade9b3a934d3c160cc219a9b1ac7deb3bacd70c2fc1f20a983d1075890f6543f020831ff57d50666ddc61e234f1c4e92c2e6fd7d60ec30ad938f12619
6
+ metadata.gz: a9a72f9510e8eec797ce6882d96238e6018aa12a45e85f5880df148fe0b8ccd0cdcba493973b0db6c2d0305a73318e80f7f16085b8f1b68639a382074f506a77
7
+ data.tar.gz: c39c7e91cfa17fd654323d61d60252b2d9b2c897c6344d17d83052a532ffe15fad2258564bdf7f648fa2e4fc57881f7bf44900e0c8227c8bce9492b0b03398cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.52.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250404
6
+
7
+ ### v0.51.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250205
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.50.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241204
@@ -812,18 +812,19 @@ module Google
812
812
  class Instance
813
813
  include Google::Apis::Core::Hashable
814
814
 
815
- # Output only. Indicates whether this instance's performance is configurable. If
816
- # enabled, adjust it using the 'performance_config' field.
817
- # Corresponds to the JSON property `configurablePerformanceEnabled`
818
- # @return [Boolean]
819
- attr_accessor :configurable_performance_enabled
820
- alias_method :configurable_performance_enabled?, :configurable_performance_enabled
821
-
822
815
  # Output only. The time when the instance was created.
823
816
  # Corresponds to the JSON property `createTime`
824
817
  # @return [String]
825
818
  attr_accessor :create_time
826
819
 
820
+ # Output only. Indicates whether this instance supports configuring its
821
+ # performance. If true, the user can configure the instance's performance by
822
+ # using the 'performance_config' field.
823
+ # Corresponds to the JSON property `customPerformanceSupported`
824
+ # @return [Boolean]
825
+ attr_accessor :custom_performance_supported
826
+ alias_method :custom_performance_supported?, :custom_performance_supported
827
+
827
828
  # Optional. Indicates whether the instance is protected against deletion.
828
829
  # Corresponds to the JSON property `deletionProtectionEnabled`
829
830
  # @return [Boolean]
@@ -952,8 +953,8 @@ module Google
952
953
 
953
954
  # Update properties of this object
954
955
  def update!(**args)
955
- @configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
956
956
  @create_time = args[:create_time] if args.key?(:create_time)
957
+ @custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
957
958
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
958
959
  @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
959
960
  @description = args[:description] if args.key?(:description)
@@ -1537,6 +1538,11 @@ module Google
1537
1538
  class PerformanceLimits
1538
1539
  include Google::Apis::Core::Hashable
1539
1540
 
1541
+ # Output only. The max IOPS.
1542
+ # Corresponds to the JSON property `maxIops`
1543
+ # @return [Fixnum]
1544
+ attr_accessor :max_iops
1545
+
1540
1546
  # Output only. The max read IOPS.
1541
1547
  # Corresponds to the JSON property `maxReadIops`
1542
1548
  # @return [Fixnum]
@@ -1563,6 +1569,7 @@ module Google
1563
1569
 
1564
1570
  # Update properties of this object
1565
1571
  def update!(**args)
1572
+ @max_iops = args[:max_iops] if args.key?(:max_iops)
1566
1573
  @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
1567
1574
  @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
1568
1575
  @max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
@@ -1574,12 +1581,20 @@ module Google
1574
1581
  class PromoteReplicaRequest
1575
1582
  include Google::Apis::Core::Hashable
1576
1583
 
1584
+ # Optional. The resource name of the peer instance to promote, in the format `
1585
+ # projects/`project_id`/locations/`location_id`/instances/`instance_id``. The
1586
+ # peer instance is required if the operation is called on an active instance.
1587
+ # Corresponds to the JSON property `peerInstance`
1588
+ # @return [String]
1589
+ attr_accessor :peer_instance
1590
+
1577
1591
  def initialize(**args)
1578
1592
  update!(**args)
1579
1593
  end
1580
1594
 
1581
1595
  # Update properties of this object
1582
1596
  def update!(**args)
1597
+ @peer_instance = args[:peer_instance] if args.key?(:peer_instance)
1583
1598
  end
1584
1599
  end
1585
1600
 
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.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
@@ -479,8 +479,8 @@ module Google
479
479
  class Instance
480
480
  # @private
481
481
  class Representation < Google::Apis::Core::JsonRepresentation
482
- property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
483
482
  property :create_time, as: 'createTime'
483
+ property :custom_performance_supported, as: 'customPerformanceSupported'
484
484
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
485
485
  property :deletion_protection_reason, as: 'deletionProtectionReason'
486
486
  property :description, as: 'description'
@@ -652,6 +652,7 @@ module Google
652
652
  class PerformanceLimits
653
653
  # @private
654
654
  class Representation < Google::Apis::Core::JsonRepresentation
655
+ property :max_iops, :numeric_string => true, as: 'maxIops'
655
656
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
656
657
  property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
657
658
  property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
@@ -662,6 +663,7 @@ module Google
662
663
  class PromoteReplicaRequest
663
664
  # @private
664
665
  class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :peer_instance, as: 'peerInstance'
665
667
  end
666
668
  end
667
669
 
@@ -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, 'v1/{+name}/locations', options)
118
121
  command.response_representation = Google::Apis::FileV1::ListLocationsResponse::Representation
119
122
  command.response_class = Google::Apis::FileV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.52.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.52.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
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 V1
82
79
  test_files: []