google-apis-file_v1beta1 0.57.0 → 0.59.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a076ef154b59e853e3656474940afb9a7ec8826daae292809f2079cd155c37b
|
4
|
+
data.tar.gz: 53275f015a0e7adbcf001574f2803ec58bd94d15353a23b8c7723c6a594187cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d719e2dddfeaf2c42956241c8e4c33076736090289c76a57e558ca46b4cf2b3d7db669b6c8b444cf01d7cd7d94c6a23f493e2e00f47e498bb109bc105e4ec8cb
|
7
|
+
data.tar.gz: 872e98091e7bbd2134c6dfddec7ba846ec18f76e8b20c931f5382d087364b42921958fa406831ee2e094f06c0b633fe32e9d3e3748920afee7642dc148ce3f9c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-file_v1beta1
|
2
2
|
|
3
|
+
### v0.59.0 (2025-08-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250810
|
6
|
+
|
7
|
+
### v0.58.0 (2025-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250731
|
10
|
+
|
3
11
|
### v0.57.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250716
|
@@ -848,6 +848,12 @@ module Google
|
|
848
848
|
class Instance
|
849
849
|
include Google::Apis::Core::Hashable
|
850
850
|
|
851
|
+
# Optional. Immutable. Designates the backend type of this instance. Intended to
|
852
|
+
# be used by internal tests and allowed customers.
|
853
|
+
# Corresponds to the JSON property `backendType`
|
854
|
+
# @return [String]
|
855
|
+
attr_accessor :backend_type
|
856
|
+
|
851
857
|
# The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This
|
852
858
|
# capacity can be increased up to `max_capacity_gb` GB in multipliers of `
|
853
859
|
# capacity_step_size_gb` GB.
|
@@ -926,6 +932,11 @@ module Google
|
|
926
932
|
# @return [Fixnum]
|
927
933
|
attr_accessor :max_share_count
|
928
934
|
|
935
|
+
# Output only. The min capacity of the instance.
|
936
|
+
# Corresponds to the JSON property `minCapacityGb`
|
937
|
+
# @return [Fixnum]
|
938
|
+
attr_accessor :min_capacity_gb
|
939
|
+
|
929
940
|
# Indicates whether this instance uses a multi-share configuration with which it
|
930
941
|
# can have more than one file-share or none at all. File-shares are added,
|
931
942
|
# updated and removed through the separate file-share APIs.
|
@@ -1024,6 +1035,7 @@ module Google
|
|
1024
1035
|
|
1025
1036
|
# Update properties of this object
|
1026
1037
|
def update!(**args)
|
1038
|
+
@backend_type = args[:backend_type] if args.key?(:backend_type)
|
1027
1039
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
1028
1040
|
@capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
|
1029
1041
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -1038,6 +1050,7 @@ module Google
|
|
1038
1050
|
@labels = args[:labels] if args.key?(:labels)
|
1039
1051
|
@max_capacity_gb = args[:max_capacity_gb] if args.key?(:max_capacity_gb)
|
1040
1052
|
@max_share_count = args[:max_share_count] if args.key?(:max_share_count)
|
1053
|
+
@min_capacity_gb = args[:min_capacity_gb] if args.key?(:min_capacity_gb)
|
1041
1054
|
@multi_share_enabled = args[:multi_share_enabled] if args.key?(:multi_share_enabled)
|
1042
1055
|
@name = args[:name] if args.key?(:name)
|
1043
1056
|
@networks = args[:networks] if args.key?(:networks)
|
@@ -1706,6 +1719,19 @@ module Google
|
|
1706
1719
|
end
|
1707
1720
|
end
|
1708
1721
|
|
1722
|
+
# PauseReplicaRequest pauses a Filestore standby instance (replica).
|
1723
|
+
class PauseReplicaRequest
|
1724
|
+
include Google::Apis::Core::Hashable
|
1725
|
+
|
1726
|
+
def initialize(**args)
|
1727
|
+
update!(**args)
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# Update properties of this object
|
1731
|
+
def update!(**args)
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
|
1709
1735
|
# Used for setting the performance configuration. If the user doesn't specify
|
1710
1736
|
# PerformanceConfig, automatically provision the default performance settings as
|
1711
1737
|
# described in https://cloud.google.com/filestore/docs/performance. Larger
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250810"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -232,6 +232,12 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
+
class PauseReplicaRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
235
241
|
class PerformanceConfig
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
@@ -526,6 +532,7 @@ module Google
|
|
526
532
|
class Instance
|
527
533
|
# @private
|
528
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
property :backend_type, as: 'backendType'
|
529
536
|
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
|
530
537
|
property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
|
531
538
|
property :create_time, as: 'createTime'
|
@@ -542,6 +549,7 @@ module Google
|
|
542
549
|
hash :labels, as: 'labels'
|
543
550
|
property :max_capacity_gb, :numeric_string => true, as: 'maxCapacityGb'
|
544
551
|
property :max_share_count, :numeric_string => true, as: 'maxShareCount'
|
552
|
+
property :min_capacity_gb, :numeric_string => true, as: 'minCapacityGb'
|
545
553
|
property :multi_share_enabled, as: 'multiShareEnabled'
|
546
554
|
property :name, as: 'name'
|
547
555
|
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
|
@@ -725,6 +733,12 @@ module Google
|
|
725
733
|
end
|
726
734
|
end
|
727
735
|
|
736
|
+
class PauseReplicaRequest
|
737
|
+
# @private
|
738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
728
742
|
class PerformanceConfig
|
729
743
|
# @private
|
730
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -514,6 +514,42 @@ module Google
|
|
514
514
|
execute_or_queue_command(command, &block)
|
515
515
|
end
|
516
516
|
|
517
|
+
# Pause the standby instance (replica). WARNING: This operation makes the
|
518
|
+
# standby instance's NFS filesystem writable. Any data written to the standby
|
519
|
+
# instance while paused will be lost when the replica is resumed or promoted.
|
520
|
+
# @param [String] name
|
521
|
+
# Required. The resource name of the instance, in the format `projects/`
|
522
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
523
|
+
# @param [Google::Apis::FileV1beta1::PauseReplicaRequest] pause_replica_request_object
|
524
|
+
# @param [String] fields
|
525
|
+
# Selector specifying which fields to include in a partial response.
|
526
|
+
# @param [String] quota_user
|
527
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
528
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
529
|
+
# @param [Google::Apis::RequestOptions] options
|
530
|
+
# Request-specific options
|
531
|
+
#
|
532
|
+
# @yield [result, err] Result & error if block supplied
|
533
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
534
|
+
# @yieldparam err [StandardError] error object if request failed
|
535
|
+
#
|
536
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
537
|
+
#
|
538
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
539
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
540
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
541
|
+
def pause_instance_replica(name, pause_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
542
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:pauseReplica', options)
|
543
|
+
command.request_representation = Google::Apis::FileV1beta1::PauseReplicaRequest::Representation
|
544
|
+
command.request_object = pause_replica_request_object
|
545
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
546
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
547
|
+
command.params['name'] = name unless name.nil?
|
548
|
+
command.query['fields'] = fields unless fields.nil?
|
549
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
550
|
+
execute_or_queue_command(command, &block)
|
551
|
+
end
|
552
|
+
|
517
553
|
# Promote the standby instance (replica).
|
518
554
|
# @param [String] name
|
519
555
|
# Required. The resource name of the instance, in the format `projects/`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-file_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.59.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:
|