google-apis-file_v1beta1 0.59.0 → 0.60.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: 8d5cef1d990721537eeb9375da3a1ef181c6332f7c8dfb60d3fd688063bc3021
|
4
|
+
data.tar.gz: 944fdb4228026cd66a97a4217bf8221a47e25a1d9360ed8c67ecaf19583996ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fdf98d03dde59df8aa01ee405a8cc6554ccb5057fac47d62a0652e07d4b0837155bd24171064a3c23ff4ffbf44c24a97b6629f4f625563ebeb2fa83312359e0
|
7
|
+
data.tar.gz: e41951ef0d25c6ce99577f121cf3754cf4650de7042de8042c578bee35207afd5a983706ea44df109827890725d3461b2930786d6e7ce30b4262715edc2a4423
|
data/CHANGELOG.md
CHANGED
@@ -1954,6 +1954,19 @@ module Google
|
|
1954
1954
|
end
|
1955
1955
|
end
|
1956
1956
|
|
1957
|
+
# ResumeReplicaRequest resumes a Filestore standby instance (replica).
|
1958
|
+
class ResumeReplicaRequest
|
1959
|
+
include Google::Apis::Core::Hashable
|
1960
|
+
|
1961
|
+
def initialize(**args)
|
1962
|
+
update!(**args)
|
1963
|
+
end
|
1964
|
+
|
1965
|
+
# Update properties of this object
|
1966
|
+
def update!(**args)
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1957
1970
|
# RevertInstanceRequest reverts the given instance's file share to the specified
|
1958
1971
|
# snapshot.
|
1959
1972
|
class RevertInstanceRequest
|
@@ -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.60.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 = "20250819"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class ResumeReplicaRequest
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class RevertInstanceRequest
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -803,6 +809,12 @@ module Google
|
|
803
809
|
end
|
804
810
|
end
|
805
811
|
|
812
|
+
class ResumeReplicaRequest
|
813
|
+
# @private
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
806
818
|
class RevertInstanceRequest
|
807
819
|
# @private
|
808
820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
87
|
# @param [Array<String>, String] extra_location_types
|
88
|
-
# Optional.
|
89
|
-
#
|
88
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
89
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
90
90
|
# @param [String] filter
|
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
|
@@ -620,6 +620,41 @@ module Google
|
|
620
620
|
execute_or_queue_command(command, &block)
|
621
621
|
end
|
622
622
|
|
623
|
+
# Resume the standby instance (replica). WARNING: Any data written to the
|
624
|
+
# standby instance while paused will be lost when the replica is resumed.
|
625
|
+
# @param [String] name
|
626
|
+
# Required. The resource name of the instance, in the format `projects/`
|
627
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
628
|
+
# @param [Google::Apis::FileV1beta1::ResumeReplicaRequest] resume_replica_request_object
|
629
|
+
# @param [String] fields
|
630
|
+
# Selector specifying which fields to include in a partial response.
|
631
|
+
# @param [String] quota_user
|
632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
634
|
+
# @param [Google::Apis::RequestOptions] options
|
635
|
+
# Request-specific options
|
636
|
+
#
|
637
|
+
# @yield [result, err] Result & error if block supplied
|
638
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
639
|
+
# @yieldparam err [StandardError] error object if request failed
|
640
|
+
#
|
641
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
642
|
+
#
|
643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
646
|
+
def resume_instance_replica(name, resume_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
647
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:resumeReplica', options)
|
648
|
+
command.request_representation = Google::Apis::FileV1beta1::ResumeReplicaRequest::Representation
|
649
|
+
command.request_object = resume_replica_request_object
|
650
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
651
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
652
|
+
command.params['name'] = name unless name.nil?
|
653
|
+
command.query['fields'] = fields unless fields.nil?
|
654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
655
|
+
execute_or_queue_command(command, &block)
|
656
|
+
end
|
657
|
+
|
623
658
|
# Revert an existing instance's file system to a specified snapshot.
|
624
659
|
# @param [String] name
|
625
660
|
# 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.60.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.60.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:
|