google-apis-file_v1 0.50.0 → 0.51.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/file_v1/classes.rb +23 -8
- data/lib/google/apis/file_v1/gem_version.rb +3 -3
- data/lib/google/apis/file_v1/representations.rb +3 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f6f452ba085594a6bce42050c99a6160637846efb49eb9ce794b4ddb7e8c91
|
4
|
+
data.tar.gz: '048ca6b79fdc9673d5796a7ef9442976b8d1d2a68d0c10d8a3655f25e4995f24'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1748f1ed7f912be0d4ae711c2271fce225959c101d46e7a0add1916e775b7756a2d72eb01c35ef26ee36ea39270adc45508772c2e9fa396c64006a3bdf6d8d
|
7
|
+
data.tar.gz: fa56813a40ef8e91c0098fb2336615d263a71b1b9750e93f075e1d8ae69482574b31c2db006349187fedb060eaf8652ad4e0a08cfb94683e644b39c4e58fe934
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250205
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.50.0 (2024-12-15)
|
4
9
|
|
5
10
|
* 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.
|
19
|
+
GEM_VERSION = "0.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250205"
|
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
|
|
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.
|
4
|
+
version: 0.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.51.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
|
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: []
|