google-apis-file_v1 0.60.0 → 0.62.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 +8 -0
- data/lib/google/apis/file_v1/classes.rb +121 -12
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +57 -0
- data/lib/google/apis/file_v1/service.rb +83 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ea010db8e9d34842183c6496d76739c507786479f92c3ff55114730b6165171
|
|
4
|
+
data.tar.gz: b47ab765b1c24d7658f105c01d02168c455a71350ea7ec0addde4d5bc87c00a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4ebf642ee74be2986514d2f07e40384cbbc7b86fd211573f954f065e4cc60bcfb06d85c0fccaa2b14980775756841f2cbdc6920597c940a39c165948f5d9ac5
|
|
7
|
+
data.tar.gz: aad55fccf829a9dfb25dd4b29cd32bbd9e832b96aef1984432889b9b1110ae73448585da7c92e8aceae4e38b8610729cd5e50f1f5b0b83c541ae69b7bfe65bb2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-file_v1
|
|
2
2
|
|
|
3
|
+
### v0.62.0 (2025-12-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251204
|
|
6
|
+
|
|
7
|
+
### v0.61.0 (2025-10-26)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251015
|
|
10
|
+
|
|
3
11
|
### v0.60.0 (2025-10-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250929
|
|
@@ -278,6 +278,25 @@ module Google
|
|
|
278
278
|
end
|
|
279
279
|
end
|
|
280
280
|
|
|
281
|
+
# Directory Services configuration for Kerberos-based authentication.
|
|
282
|
+
class DirectoryServicesConfig
|
|
283
|
+
include Google::Apis::Core::Hashable
|
|
284
|
+
|
|
285
|
+
# LdapConfig contains all the parameters for connecting to LDAP servers.
|
|
286
|
+
# Corresponds to the JSON property `ldap`
|
|
287
|
+
# @return [Google::Apis::FileV1::LdapConfig]
|
|
288
|
+
attr_accessor :ldap
|
|
289
|
+
|
|
290
|
+
def initialize(**args)
|
|
291
|
+
update!(**args)
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Update properties of this object
|
|
295
|
+
def update!(**args)
|
|
296
|
+
@ldap = args[:ldap] if args.key?(:ldap)
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
281
300
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
282
301
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
283
302
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -833,7 +852,8 @@ module Google
|
|
|
833
852
|
class Instance
|
|
834
853
|
include Google::Apis::Core::Hashable
|
|
835
854
|
|
|
836
|
-
# Output only. The increase
|
|
855
|
+
# Output only. The incremental increase or decrease in capacity, designated in
|
|
856
|
+
# some number of GB.
|
|
837
857
|
# Corresponds to the JSON property `capacityStepSizeGb`
|
|
838
858
|
# @return [Fixnum]
|
|
839
859
|
attr_accessor :capacity_step_size_gb
|
|
@@ -867,6 +887,11 @@ module Google
|
|
|
867
887
|
# @return [String]
|
|
868
888
|
attr_accessor :description
|
|
869
889
|
|
|
890
|
+
# Directory Services configuration for Kerberos-based authentication.
|
|
891
|
+
# Corresponds to the JSON property `directoryServices`
|
|
892
|
+
# @return [Google::Apis::FileV1::DirectoryServicesConfig]
|
|
893
|
+
attr_accessor :directory_services
|
|
894
|
+
|
|
870
895
|
# Server-specified ETag for the instance resource to prevent simultaneous
|
|
871
896
|
# updates from overwriting each other.
|
|
872
897
|
# Corresponds to the JSON property `etag`
|
|
@@ -889,12 +914,12 @@ module Google
|
|
|
889
914
|
# @return [Hash<String,String>]
|
|
890
915
|
attr_accessor :labels
|
|
891
916
|
|
|
892
|
-
# Output only. The
|
|
917
|
+
# Output only. The maximum capacity of the instance in GB.
|
|
893
918
|
# Corresponds to the JSON property `maxCapacityGb`
|
|
894
919
|
# @return [Fixnum]
|
|
895
920
|
attr_accessor :max_capacity_gb
|
|
896
921
|
|
|
897
|
-
# Output only. The
|
|
922
|
+
# Output only. The minimum capacity of the instance in GB.
|
|
898
923
|
# Corresponds to the JSON property `minCapacityGb`
|
|
899
924
|
# @return [Fixnum]
|
|
900
925
|
attr_accessor :min_capacity_gb
|
|
@@ -934,7 +959,7 @@ module Google
|
|
|
934
959
|
# @return [String]
|
|
935
960
|
attr_accessor :protocol
|
|
936
961
|
|
|
937
|
-
#
|
|
962
|
+
# Optional. The configuration used to replicate an instance.
|
|
938
963
|
# Corresponds to the JSON property `replication`
|
|
939
964
|
# @return [Google::Apis::FileV1::Replication]
|
|
940
965
|
attr_accessor :replication
|
|
@@ -995,6 +1020,7 @@ module Google
|
|
|
995
1020
|
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
|
|
996
1021
|
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
|
|
997
1022
|
@description = args[:description] if args.key?(:description)
|
|
1023
|
+
@directory_services = args[:directory_services] if args.key?(:directory_services)
|
|
998
1024
|
@etag = args[:etag] if args.key?(:etag)
|
|
999
1025
|
@file_shares = args[:file_shares] if args.key?(:file_shares)
|
|
1000
1026
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
@@ -1017,6 +1043,51 @@ module Google
|
|
|
1017
1043
|
end
|
|
1018
1044
|
end
|
|
1019
1045
|
|
|
1046
|
+
# LdapConfig contains all the parameters for connecting to LDAP servers.
|
|
1047
|
+
class LdapConfig
|
|
1048
|
+
include Google::Apis::Core::Hashable
|
|
1049
|
+
|
|
1050
|
+
# Required. The LDAP domain name in the format of `my-domain.com`.
|
|
1051
|
+
# Corresponds to the JSON property `domain`
|
|
1052
|
+
# @return [String]
|
|
1053
|
+
attr_accessor :domain
|
|
1054
|
+
|
|
1055
|
+
# Optional. The groups Organizational Unit (OU) is optional. This parameter is a
|
|
1056
|
+
# hint to allow faster lookup in the LDAP namespace. In case that this parameter
|
|
1057
|
+
# is not provided, Filestore instance will query the whole LDAP namespace.
|
|
1058
|
+
# Corresponds to the JSON property `groupsOu`
|
|
1059
|
+
# @return [String]
|
|
1060
|
+
attr_accessor :groups_ou
|
|
1061
|
+
|
|
1062
|
+
# Required. The servers names are used for specifying the LDAP servers names.
|
|
1063
|
+
# The LDAP servers names can come with two formats: 1. DNS name, for example: `
|
|
1064
|
+
# ldap.example1.com`, `ldap.example2.com`. 2. IP address, for example: `10.0.0.1`
|
|
1065
|
+
# , `10.0.0.2`, `10.0.0.3`. All servers names must be in the same format: either
|
|
1066
|
+
# all DNS names or all IP addresses.
|
|
1067
|
+
# Corresponds to the JSON property `servers`
|
|
1068
|
+
# @return [Array<String>]
|
|
1069
|
+
attr_accessor :servers
|
|
1070
|
+
|
|
1071
|
+
# Optional. The users Organizational Unit (OU) is optional. This parameter is a
|
|
1072
|
+
# hint to allow faster lookup in the LDAP namespace. In case that this parameter
|
|
1073
|
+
# is not provided, Filestore instance will query the whole LDAP namespace.
|
|
1074
|
+
# Corresponds to the JSON property `usersOu`
|
|
1075
|
+
# @return [String]
|
|
1076
|
+
attr_accessor :users_ou
|
|
1077
|
+
|
|
1078
|
+
def initialize(**args)
|
|
1079
|
+
update!(**args)
|
|
1080
|
+
end
|
|
1081
|
+
|
|
1082
|
+
# Update properties of this object
|
|
1083
|
+
def update!(**args)
|
|
1084
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
1085
|
+
@groups_ou = args[:groups_ou] if args.key?(:groups_ou)
|
|
1086
|
+
@servers = args[:servers] if args.key?(:servers)
|
|
1087
|
+
@users_ou = args[:users_ou] if args.key?(:users_ou)
|
|
1088
|
+
end
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1020
1091
|
# ListBackupsResponse is the result of ListBackupsRequest.
|
|
1021
1092
|
class ListBackupsResponse
|
|
1022
1093
|
include Google::Apis::Core::Hashable
|
|
@@ -1128,6 +1199,14 @@ module Google
|
|
|
1128
1199
|
# @return [Array<Google::Apis::FileV1::Operation>]
|
|
1129
1200
|
attr_accessor :operations
|
|
1130
1201
|
|
|
1202
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1203
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1204
|
+
# For example, when attempting to list all resources across all supported
|
|
1205
|
+
# locations.
|
|
1206
|
+
# Corresponds to the JSON property `unreachable`
|
|
1207
|
+
# @return [Array<String>]
|
|
1208
|
+
attr_accessor :unreachable
|
|
1209
|
+
|
|
1131
1210
|
def initialize(**args)
|
|
1132
1211
|
update!(**args)
|
|
1133
1212
|
end
|
|
@@ -1136,6 +1215,7 @@ module Google
|
|
|
1136
1215
|
def update!(**args)
|
|
1137
1216
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1138
1217
|
@operations = args[:operations] if args.key?(:operations)
|
|
1218
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1139
1219
|
end
|
|
1140
1220
|
end
|
|
1141
1221
|
|
|
@@ -1556,6 +1636,19 @@ module Google
|
|
|
1556
1636
|
end
|
|
1557
1637
|
end
|
|
1558
1638
|
|
|
1639
|
+
# PauseReplicaRequest pauses a Filestore standby instance (replica).
|
|
1640
|
+
class PauseReplicaRequest
|
|
1641
|
+
include Google::Apis::Core::Hashable
|
|
1642
|
+
|
|
1643
|
+
def initialize(**args)
|
|
1644
|
+
update!(**args)
|
|
1645
|
+
end
|
|
1646
|
+
|
|
1647
|
+
# Update properties of this object
|
|
1648
|
+
def update!(**args)
|
|
1649
|
+
end
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1559
1652
|
# Used for setting the performance configuration. If the user doesn't specify
|
|
1560
1653
|
# PerformanceConfig, automatically provision the default performance settings as
|
|
1561
1654
|
# described in https://cloud.google.com/filestore/docs/performance. Larger
|
|
@@ -1591,27 +1684,27 @@ module Google
|
|
|
1591
1684
|
class PerformanceLimits
|
|
1592
1685
|
include Google::Apis::Core::Hashable
|
|
1593
1686
|
|
|
1594
|
-
# Output only. The
|
|
1687
|
+
# Output only. The maximum IOPS.
|
|
1595
1688
|
# Corresponds to the JSON property `maxIops`
|
|
1596
1689
|
# @return [Fixnum]
|
|
1597
1690
|
attr_accessor :max_iops
|
|
1598
1691
|
|
|
1599
|
-
# Output only. The
|
|
1692
|
+
# Output only. The maximum read IOPS.
|
|
1600
1693
|
# Corresponds to the JSON property `maxReadIops`
|
|
1601
1694
|
# @return [Fixnum]
|
|
1602
1695
|
attr_accessor :max_read_iops
|
|
1603
1696
|
|
|
1604
|
-
# Output only. The
|
|
1697
|
+
# Output only. The maximum read throughput in bytes per second.
|
|
1605
1698
|
# Corresponds to the JSON property `maxReadThroughputBps`
|
|
1606
1699
|
# @return [Fixnum]
|
|
1607
1700
|
attr_accessor :max_read_throughput_bps
|
|
1608
1701
|
|
|
1609
|
-
# Output only. The
|
|
1702
|
+
# Output only. The maximum write IOPS.
|
|
1610
1703
|
# Corresponds to the JSON property `maxWriteIops`
|
|
1611
1704
|
# @return [Fixnum]
|
|
1612
1705
|
attr_accessor :max_write_iops
|
|
1613
1706
|
|
|
1614
|
-
# Output only. The
|
|
1707
|
+
# Output only. The maximum write throughput in bytes per second.
|
|
1615
1708
|
# Corresponds to the JSON property `maxWriteThroughputBps`
|
|
1616
1709
|
# @return [Fixnum]
|
|
1617
1710
|
attr_accessor :max_write_throughput_bps
|
|
@@ -1683,7 +1776,9 @@ module Google
|
|
|
1683
1776
|
# @return [String]
|
|
1684
1777
|
attr_accessor :last_active_sync_time
|
|
1685
1778
|
|
|
1686
|
-
# Optional. The
|
|
1779
|
+
# Optional. The name of the source instance for the replica, in the format `
|
|
1780
|
+
# projects/`project`/locations/`location`/instances/`instance``. This field is
|
|
1781
|
+
# required when creating a replica.
|
|
1687
1782
|
# Corresponds to the JSON property `peerInstance`
|
|
1688
1783
|
# @return [String]
|
|
1689
1784
|
attr_accessor :peer_instance
|
|
@@ -1717,7 +1812,7 @@ module Google
|
|
|
1717
1812
|
end
|
|
1718
1813
|
end
|
|
1719
1814
|
|
|
1720
|
-
#
|
|
1815
|
+
# Optional. The configuration used to replicate an instance.
|
|
1721
1816
|
class Replication
|
|
1722
1817
|
include Google::Apis::Core::Hashable
|
|
1723
1818
|
|
|
@@ -1727,7 +1822,8 @@ module Google
|
|
|
1727
1822
|
# @return [Array<Google::Apis::FileV1::ReplicaConfig>]
|
|
1728
1823
|
attr_accessor :replicas
|
|
1729
1824
|
|
|
1730
|
-
# Optional. The replication role.
|
|
1825
|
+
# Optional. The replication role. When creating a new replica, this field must
|
|
1826
|
+
# be set to `STANDBY`.
|
|
1731
1827
|
# Corresponds to the JSON property `role`
|
|
1732
1828
|
# @return [String]
|
|
1733
1829
|
attr_accessor :role
|
|
@@ -1771,6 +1867,19 @@ module Google
|
|
|
1771
1867
|
end
|
|
1772
1868
|
end
|
|
1773
1869
|
|
|
1870
|
+
# ResumeReplicaRequest resumes a Filestore standby instance (replica).
|
|
1871
|
+
class ResumeReplicaRequest
|
|
1872
|
+
include Google::Apis::Core::Hashable
|
|
1873
|
+
|
|
1874
|
+
def initialize(**args)
|
|
1875
|
+
update!(**args)
|
|
1876
|
+
end
|
|
1877
|
+
|
|
1878
|
+
# Update properties of this object
|
|
1879
|
+
def update!(**args)
|
|
1880
|
+
end
|
|
1881
|
+
end
|
|
1882
|
+
|
|
1774
1883
|
# RevertInstanceRequest reverts the given instance's file share to the specified
|
|
1775
1884
|
# snapshot.
|
|
1776
1885
|
class RevertInstanceRequest
|
|
@@ -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.62.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 = "20251204"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -52,6 +52,12 @@ module Google
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
class DirectoryServicesConfig
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
class Empty
|
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
63
|
|
|
@@ -136,6 +142,12 @@ module Google
|
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
143
|
end
|
|
138
144
|
|
|
145
|
+
class LdapConfig
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
139
151
|
class ListBackupsResponse
|
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
153
|
|
|
@@ -208,6 +220,12 @@ module Google
|
|
|
208
220
|
include Google::Apis::Core::JsonObjectSupport
|
|
209
221
|
end
|
|
210
222
|
|
|
223
|
+
class PauseReplicaRequest
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
211
229
|
class PerformanceConfig
|
|
212
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
231
|
|
|
@@ -250,6 +268,12 @@ module Google
|
|
|
250
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
269
|
end
|
|
252
270
|
|
|
271
|
+
class ResumeReplicaRequest
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
253
277
|
class RevertInstanceRequest
|
|
254
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
279
|
|
|
@@ -350,6 +374,14 @@ module Google
|
|
|
350
374
|
end
|
|
351
375
|
end
|
|
352
376
|
|
|
377
|
+
class DirectoryServicesConfig
|
|
378
|
+
# @private
|
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
380
|
+
property :ldap, as: 'ldap', class: Google::Apis::FileV1::LdapConfig, decorator: Google::Apis::FileV1::LdapConfig::Representation
|
|
381
|
+
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
353
385
|
class Empty
|
|
354
386
|
# @private
|
|
355
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -493,6 +525,8 @@ module Google
|
|
|
493
525
|
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
|
|
494
526
|
property :deletion_protection_reason, as: 'deletionProtectionReason'
|
|
495
527
|
property :description, as: 'description'
|
|
528
|
+
property :directory_services, as: 'directoryServices', class: Google::Apis::FileV1::DirectoryServicesConfig, decorator: Google::Apis::FileV1::DirectoryServicesConfig::Representation
|
|
529
|
+
|
|
496
530
|
property :etag, as: 'etag'
|
|
497
531
|
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
|
|
498
532
|
|
|
@@ -520,6 +554,16 @@ module Google
|
|
|
520
554
|
end
|
|
521
555
|
end
|
|
522
556
|
|
|
557
|
+
class LdapConfig
|
|
558
|
+
# @private
|
|
559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
560
|
+
property :domain, as: 'domain'
|
|
561
|
+
property :groups_ou, as: 'groupsOu'
|
|
562
|
+
collection :servers, as: 'servers'
|
|
563
|
+
property :users_ou, as: 'usersOu'
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
|
|
523
567
|
class ListBackupsResponse
|
|
524
568
|
# @private
|
|
525
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -555,6 +599,7 @@ module Google
|
|
|
555
599
|
property :next_page_token, as: 'nextPageToken'
|
|
556
600
|
collection :operations, as: 'operations', class: Google::Apis::FileV1::Operation, decorator: Google::Apis::FileV1::Operation::Representation
|
|
557
601
|
|
|
602
|
+
collection :unreachable, as: 'unreachable'
|
|
558
603
|
end
|
|
559
604
|
end
|
|
560
605
|
|
|
@@ -653,6 +698,12 @@ module Google
|
|
|
653
698
|
end
|
|
654
699
|
end
|
|
655
700
|
|
|
701
|
+
class PauseReplicaRequest
|
|
702
|
+
# @private
|
|
703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
704
|
+
end
|
|
705
|
+
end
|
|
706
|
+
|
|
656
707
|
class PerformanceConfig
|
|
657
708
|
# @private
|
|
658
709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -716,6 +767,12 @@ module Google
|
|
|
716
767
|
end
|
|
717
768
|
end
|
|
718
769
|
|
|
770
|
+
class ResumeReplicaRequest
|
|
771
|
+
# @private
|
|
772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
773
|
+
end
|
|
774
|
+
end
|
|
775
|
+
|
|
719
776
|
class RevertInstanceRequest
|
|
720
777
|
# @private
|
|
721
778
|
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
|
|
@@ -512,6 +512,42 @@ module Google
|
|
|
512
512
|
execute_or_queue_command(command, &block)
|
|
513
513
|
end
|
|
514
514
|
|
|
515
|
+
# Pause the standby instance (replica). WARNING: This operation makes the
|
|
516
|
+
# standby instance's NFS filesystem writable. Any data written to the standby
|
|
517
|
+
# instance while paused will be lost when the replica is resumed or promoted.
|
|
518
|
+
# @param [String] name
|
|
519
|
+
# Required. The resource name of the instance, in the format `projects/`
|
|
520
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
|
521
|
+
# @param [Google::Apis::FileV1::PauseReplicaRequest] pause_replica_request_object
|
|
522
|
+
# @param [String] fields
|
|
523
|
+
# Selector specifying which fields to include in a partial response.
|
|
524
|
+
# @param [String] quota_user
|
|
525
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
526
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
527
|
+
# @param [Google::Apis::RequestOptions] options
|
|
528
|
+
# Request-specific options
|
|
529
|
+
#
|
|
530
|
+
# @yield [result, err] Result & error if block supplied
|
|
531
|
+
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
|
532
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
533
|
+
#
|
|
534
|
+
# @return [Google::Apis::FileV1::Operation]
|
|
535
|
+
#
|
|
536
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
537
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
538
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
539
|
+
def pause_instance_replica(name, pause_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
540
|
+
command = make_simple_command(:post, 'v1/{+name}:pauseReplica', options)
|
|
541
|
+
command.request_representation = Google::Apis::FileV1::PauseReplicaRequest::Representation
|
|
542
|
+
command.request_object = pause_replica_request_object
|
|
543
|
+
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
|
544
|
+
command.response_class = Google::Apis::FileV1::Operation
|
|
545
|
+
command.params['name'] = name unless name.nil?
|
|
546
|
+
command.query['fields'] = fields unless fields.nil?
|
|
547
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
548
|
+
execute_or_queue_command(command, &block)
|
|
549
|
+
end
|
|
550
|
+
|
|
515
551
|
# Promote the standby instance (replica).
|
|
516
552
|
# @param [String] name
|
|
517
553
|
# Required. The resource name of the instance, in the format `projects/`
|
|
@@ -582,6 +618,41 @@ module Google
|
|
|
582
618
|
execute_or_queue_command(command, &block)
|
|
583
619
|
end
|
|
584
620
|
|
|
621
|
+
# Resume the standby instance (replica). WARNING: Any data written to the
|
|
622
|
+
# standby instance while paused will be lost when the replica is resumed.
|
|
623
|
+
# @param [String] name
|
|
624
|
+
# Required. The resource name of the instance, in the format `projects/`
|
|
625
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
|
626
|
+
# @param [Google::Apis::FileV1::ResumeReplicaRequest] resume_replica_request_object
|
|
627
|
+
# @param [String] fields
|
|
628
|
+
# Selector specifying which fields to include in a partial response.
|
|
629
|
+
# @param [String] quota_user
|
|
630
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
631
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
632
|
+
# @param [Google::Apis::RequestOptions] options
|
|
633
|
+
# Request-specific options
|
|
634
|
+
#
|
|
635
|
+
# @yield [result, err] Result & error if block supplied
|
|
636
|
+
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
|
637
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
638
|
+
#
|
|
639
|
+
# @return [Google::Apis::FileV1::Operation]
|
|
640
|
+
#
|
|
641
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
642
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
643
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
644
|
+
def resume_instance_replica(name, resume_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
645
|
+
command = make_simple_command(:post, 'v1/{+name}:resumeReplica', options)
|
|
646
|
+
command.request_representation = Google::Apis::FileV1::ResumeReplicaRequest::Representation
|
|
647
|
+
command.request_object = resume_replica_request_object
|
|
648
|
+
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
|
649
|
+
command.response_class = Google::Apis::FileV1::Operation
|
|
650
|
+
command.params['name'] = name unless name.nil?
|
|
651
|
+
command.query['fields'] = fields unless fields.nil?
|
|
652
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
653
|
+
execute_or_queue_command(command, &block)
|
|
654
|
+
end
|
|
655
|
+
|
|
585
656
|
# Revert an existing instance's file system to a specified snapshot.
|
|
586
657
|
# @param [String] name
|
|
587
658
|
# Required. The resource name of the instance, in the format `projects/`
|
|
@@ -919,6 +990,14 @@ module Google
|
|
|
919
990
|
# The standard list page size.
|
|
920
991
|
# @param [String] page_token
|
|
921
992
|
# The standard list page token.
|
|
993
|
+
# @param [Boolean] return_partial_success
|
|
994
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
995
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
996
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
997
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
998
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
999
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
1000
|
+
# documentation.
|
|
922
1001
|
# @param [String] fields
|
|
923
1002
|
# Selector specifying which fields to include in a partial response.
|
|
924
1003
|
# @param [String] quota_user
|
|
@@ -936,7 +1015,7 @@ module Google
|
|
|
936
1015
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
937
1016
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
938
1017
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
939
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1018
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
940
1019
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
941
1020
|
command.response_representation = Google::Apis::FileV1::ListOperationsResponse::Representation
|
|
942
1021
|
command.response_class = Google::Apis::FileV1::ListOperationsResponse
|
|
@@ -944,6 +1023,7 @@ module Google
|
|
|
944
1023
|
command.query['filter'] = filter unless filter.nil?
|
|
945
1024
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
946
1025
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1026
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
947
1027
|
command.query['fields'] = fields unless fields.nil?
|
|
948
1028
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
949
1029
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.62.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.62.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|