google-apis-file_v1 0.9.0 → 0.13.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 +16 -0
- data/lib/google/apis/file_v1/classes.rb +43 -107
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +2 -20
- data/lib/google/apis/file_v1/service.rb +23 -23
- data/lib/google/apis/file_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a5b5e3f7bc016cca62a65b7a1e86ebb0d6eba7d03828390cb95dd79f3671ce
|
4
|
+
data.tar.gz: 4bf9caf5ab8cf678e7ae1e5a146f2195bfc3f1553d72d6ee0a244a760c9973e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb502454083ccab96d6973e303be7d6086de1af9e5ce1438ab599af13e9016097c75da41b9c780fd826674c73c25a8ea9bce0de64f0d84f47b40c5c9d865f49c
|
7
|
+
data.tar.gz: 67d2f3db60382ff092091dfb021d664de23fece0fa3bcbf9dfdc562c59e19d6b8c57c47f3e0963e642f855875861e5b2615d0789405573af0f4d7777d2ec888d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210822
|
6
|
+
|
7
|
+
### v0.12.0 (2021-08-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210804
|
10
|
+
|
11
|
+
### v0.11.0 (2021-07-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210721
|
14
|
+
|
15
|
+
### v0.10.0 (2021-07-13)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210708
|
18
|
+
|
3
19
|
### v0.9.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
@@ -54,8 +54,8 @@ module Google
|
|
54
54
|
# @return [Hash<String,String>]
|
55
55
|
attr_accessor :labels
|
56
56
|
|
57
|
-
# Output only. The resource name of the backup, in the format projects/`
|
58
|
-
# project_number`/locations/`location_id`/backups/`backup_id
|
57
|
+
# Output only. The resource name of the backup, in the format `projects/`
|
58
|
+
# project_number`/locations/`location_id`/backups/`backup_id``.
|
59
59
|
# Corresponds to the JSON property `name`
|
60
60
|
# @return [String]
|
61
61
|
attr_accessor :name
|
@@ -72,8 +72,8 @@ module Google
|
|
72
72
|
# @return [String]
|
73
73
|
attr_accessor :source_file_share
|
74
74
|
|
75
|
-
# The resource name of the source Cloud Filestore instance, in the format
|
76
|
-
# projects/`project_number`/locations/`location_id`/instances/`instance_id
|
75
|
+
# The resource name of the source Cloud Filestore instance, in the format `
|
76
|
+
# projects/`project_number`/locations/`location_id`/instances/`instance_id``,
|
77
77
|
# used to create this backup.
|
78
78
|
# Corresponds to the JSON property `sourceInstance`
|
79
79
|
# @return [String]
|
@@ -283,8 +283,8 @@ module Google
|
|
283
283
|
# @return [Array<Google::Apis::FileV1::NfsExportOptions>]
|
284
284
|
attr_accessor :nfs_export_options
|
285
285
|
|
286
|
-
# The resource name of the backup, in the format projects/`project_number`/
|
287
|
-
# locations/`location_id`/backups/`backup_id
|
286
|
+
# The resource name of the backup, in the format `projects/`project_number`/
|
287
|
+
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
288
288
|
# restored from.
|
289
289
|
# Corresponds to the JSON property `sourceBackup`
|
290
290
|
# @return [String]
|
@@ -528,14 +528,6 @@ module Google
|
|
528
528
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
529
529
|
include Google::Apis::Core::Hashable
|
530
530
|
|
531
|
-
# By default node is eligible if instance is eligible. But individual node might
|
532
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
533
|
-
# exclusions. If both instance and node level exclusions are present for time
|
534
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
535
|
-
# Corresponds to the JSON property `exclusions`
|
536
|
-
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
537
|
-
attr_accessor :exclusions
|
538
|
-
|
539
531
|
# The location of the node, if different from instance location.
|
540
532
|
# Corresponds to the JSON property `location`
|
541
533
|
# @return [String]
|
@@ -546,15 +538,20 @@ module Google
|
|
546
538
|
# @return [String]
|
547
539
|
attr_accessor :node_id
|
548
540
|
|
541
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
542
|
+
# Corresponds to the JSON property `perSliEligibility`
|
543
|
+
# @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
544
|
+
attr_accessor :per_sli_eligibility
|
545
|
+
|
549
546
|
def initialize(**args)
|
550
547
|
update!(**args)
|
551
548
|
end
|
552
549
|
|
553
550
|
# Update properties of this object
|
554
551
|
def update!(**args)
|
555
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
556
552
|
@location = args[:location] if args.key?(:location)
|
557
553
|
@node_id = args[:node_id] if args.key?(:node_id)
|
554
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
558
555
|
end
|
559
556
|
end
|
560
557
|
|
@@ -646,71 +643,11 @@ module Google
|
|
646
643
|
end
|
647
644
|
end
|
648
645
|
|
649
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
650
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
651
|
-
include Google::Apis::Core::Hashable
|
652
|
-
|
653
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
654
|
-
# operation is taking longer than initially expected, an existing entry in the
|
655
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
656
|
-
# the subsystem exporting eligibility data as long as such extension is
|
657
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
658
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
659
|
-
# application in the exported timeseries.
|
660
|
-
# Corresponds to the JSON property `duration`
|
661
|
-
# @return [String]
|
662
|
-
attr_accessor :duration
|
663
|
-
|
664
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
665
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
666
|
-
# data (e.g. instance name). Can be left empty.
|
667
|
-
# Corresponds to the JSON property `reason`
|
668
|
-
# @return [String]
|
669
|
-
attr_accessor :reason
|
670
|
-
|
671
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
672
|
-
# that the instance should be excluded from all SLIs.
|
673
|
-
# Corresponds to the JSON property `sliName`
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :sli_name
|
676
|
-
|
677
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
678
|
-
# Corresponds to the JSON property `startTime`
|
679
|
-
# @return [String]
|
680
|
-
attr_accessor :start_time
|
681
|
-
|
682
|
-
def initialize(**args)
|
683
|
-
update!(**args)
|
684
|
-
end
|
685
|
-
|
686
|
-
# Update properties of this object
|
687
|
-
def update!(**args)
|
688
|
-
@duration = args[:duration] if args.key?(:duration)
|
689
|
-
@reason = args[:reason] if args.key?(:reason)
|
690
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
691
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
692
|
-
end
|
693
|
-
end
|
694
|
-
|
695
646
|
# SloMetadata contains resources required for proper SLO classification of the
|
696
647
|
# instance.
|
697
648
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
698
649
|
include Google::Apis::Core::Hashable
|
699
650
|
|
700
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
701
|
-
# matching the exclusion time-window against current time point) the exclusion
|
702
|
-
# reason used in the first matching entry will be published. It is not needed to
|
703
|
-
# include expired exclusion in this list, as only the currently applicable
|
704
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
705
|
-
# historical state of exclusions will be reflected in the historically produced
|
706
|
-
# timeseries regardless of the current state). This field can be used to mark
|
707
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
708
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
709
|
-
# recommended. See 'eligibility' field below.
|
710
|
-
# Corresponds to the JSON property `exclusions`
|
711
|
-
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
712
|
-
attr_accessor :exclusions
|
713
|
-
|
714
651
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
715
652
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
716
653
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -737,7 +674,6 @@ module Google
|
|
737
674
|
|
738
675
|
# Update properties of this object
|
739
676
|
def update!(**args)
|
740
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
741
677
|
@nodes = args[:nodes] if args.key?(:nodes)
|
742
678
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
743
679
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -775,8 +711,8 @@ module Google
|
|
775
711
|
# @return [Hash<String,String>]
|
776
712
|
attr_accessor :labels
|
777
713
|
|
778
|
-
# Output only. The resource name of the instance, in the format projects/`
|
779
|
-
# project`/locations/`location`/instances/`instance
|
714
|
+
# Output only. The resource name of the instance, in the format `projects/`
|
715
|
+
# project`/locations/`location`/instances/`instance``.
|
780
716
|
# Corresponds to the JSON property `name`
|
781
717
|
# @return [String]
|
782
718
|
attr_accessor :name
|
@@ -832,9 +768,9 @@ module Google
|
|
832
768
|
class ListBackupsResponse
|
833
769
|
include Google::Apis::Core::Hashable
|
834
770
|
|
835
|
-
# A list of backups in the project for the specified location. If the
|
836
|
-
# value in the request is "-", the response contains a list of backups from
|
837
|
-
# locations. If any location is unreachable, the response will only return
|
771
|
+
# A list of backups in the project for the specified location. If the ``location`
|
772
|
+
# ` value in the request is "-", the response contains a list of backups from
|
773
|
+
# all locations. If any location is unreachable, the response will only return
|
838
774
|
# backups in reachable locations and the "unreachable" field will be populated
|
839
775
|
# with a list of unreachable locations.
|
840
776
|
# Corresponds to the JSON property `backups`
|
@@ -868,8 +804,8 @@ module Google
|
|
868
804
|
class ListInstancesResponse
|
869
805
|
include Google::Apis::Core::Hashable
|
870
806
|
|
871
|
-
# A list of instances in the project for the specified location. If the
|
872
|
-
# location
|
807
|
+
# A list of instances in the project for the specified location. If the ``
|
808
|
+
# location`` value in the request is "-", the response contains a list of
|
873
809
|
# instances from all locations. If any location is unreachable, the response
|
874
810
|
# will only return instances in reachable locations and the "unreachable" field
|
875
811
|
# will be populated with a list of unreachable locations.
|
@@ -1088,9 +1024,9 @@ module Google
|
|
1088
1024
|
class NetworkConfig
|
1089
1025
|
include Google::Apis::Core::Hashable
|
1090
1026
|
|
1091
|
-
# Output only. IPv4 addresses in the format
|
1092
|
-
#
|
1093
|
-
#
|
1027
|
+
# Output only. IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`octet4``
|
1028
|
+
# or IPv6 addresses in the format ``block1`:`block2`:`block3`:`block4`:`block5`:
|
1029
|
+
# `block6`:`block7`:`block8``.
|
1094
1030
|
# Corresponds to the JSON property `ipAddresses`
|
1095
1031
|
# @return [Array<String>]
|
1096
1032
|
attr_accessor :ip_addresses
|
@@ -1101,17 +1037,18 @@ module Google
|
|
1101
1037
|
# @return [Array<String>]
|
1102
1038
|
attr_accessor :modes
|
1103
1039
|
|
1104
|
-
# The name of the Google Compute Engine [VPC network](/
|
1105
|
-
#
|
1040
|
+
# The name of the Google Compute Engine [VPC network](https://cloud.google.com/
|
1041
|
+
# vpc/docs/vpc) to which the instance is connected.
|
1106
1042
|
# Corresponds to the JSON property `network`
|
1107
1043
|
# @return [String]
|
1108
1044
|
attr_accessor :network
|
1109
1045
|
|
1110
1046
|
# A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.
|
1111
|
-
# net/
|
1112
|
-
# reserved for this instance. For example, 10.0.0.0/29 or 192.
|
1113
|
-
# range you specify can't overlap with either existing subnets
|
1114
|
-
# address ranges for other Cloud Filestore instances in the
|
1047
|
+
# net/reference/research/statistics/address_filters/) that identifies the range
|
1048
|
+
# of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.
|
1049
|
+
# 168.0.0/29. The range you specify can't overlap with either existing subnets
|
1050
|
+
# or assigned IP address ranges for other Cloud Filestore instances in the
|
1051
|
+
# selected VPC network.
|
1115
1052
|
# Corresponds to the JSON property `reservedIpRange`
|
1116
1053
|
# @return [String]
|
1117
1054
|
attr_accessor :reserved_ip_range
|
@@ -1154,9 +1091,9 @@ module Google
|
|
1154
1091
|
# @return [Fixnum]
|
1155
1092
|
attr_accessor :anon_uid
|
1156
1093
|
|
1157
|
-
# List of either an IPv4 addresses in the format
|
1158
|
-
#
|
1159
|
-
# mask size
|
1094
|
+
# List of either an IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`
|
1095
|
+
# octet4`` or CIDR ranges in the format ``octet1`.`octet2`.`octet3`.`octet4`/`
|
1096
|
+
# mask size`` which may mount the file share. Overlapping IP ranges are not
|
1160
1097
|
# allowed, both within and across NfsExportOptions. An error will be returned.
|
1161
1098
|
# The limit is 64 IP ranges/addresses for each FileShareConfig among all
|
1162
1099
|
# NfsExportOptions.
|
@@ -1250,13 +1187,13 @@ module Google
|
|
1250
1187
|
class OperationMetadata
|
1251
1188
|
include Google::Apis::Core::Hashable
|
1252
1189
|
|
1253
|
-
#
|
1190
|
+
# Output only. API version used to start the operation.
|
1254
1191
|
# Corresponds to the JSON property `apiVersion`
|
1255
1192
|
# @return [String]
|
1256
1193
|
attr_accessor :api_version
|
1257
1194
|
|
1258
|
-
#
|
1259
|
-
# operation. Operations that have
|
1195
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1196
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1260
1197
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1261
1198
|
# CANCELLED`.
|
1262
1199
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -1264,27 +1201,27 @@ module Google
|
|
1264
1201
|
attr_accessor :cancel_requested
|
1265
1202
|
alias_method :cancel_requested?, :cancel_requested
|
1266
1203
|
|
1267
|
-
#
|
1204
|
+
# Output only. The time the operation was created.
|
1268
1205
|
# Corresponds to the JSON property `createTime`
|
1269
1206
|
# @return [String]
|
1270
1207
|
attr_accessor :create_time
|
1271
1208
|
|
1272
|
-
#
|
1209
|
+
# Output only. The time the operation finished running.
|
1273
1210
|
# Corresponds to the JSON property `endTime`
|
1274
1211
|
# @return [String]
|
1275
1212
|
attr_accessor :end_time
|
1276
1213
|
|
1277
|
-
#
|
1214
|
+
# Output only. Human-readable status of the operation, if any.
|
1278
1215
|
# Corresponds to the JSON property `statusDetail`
|
1279
1216
|
# @return [String]
|
1280
1217
|
attr_accessor :status_detail
|
1281
1218
|
|
1282
|
-
#
|
1219
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1283
1220
|
# Corresponds to the JSON property `target`
|
1284
1221
|
# @return [String]
|
1285
1222
|
attr_accessor :target
|
1286
1223
|
|
1287
|
-
#
|
1224
|
+
# Output only. Name of the verb executed by the operation.
|
1288
1225
|
# Corresponds to the JSON property `verb`
|
1289
1226
|
# @return [String]
|
1290
1227
|
attr_accessor :verb
|
@@ -1316,8 +1253,8 @@ module Google
|
|
1316
1253
|
# @return [String]
|
1317
1254
|
attr_accessor :file_share
|
1318
1255
|
|
1319
|
-
# The resource name of the backup, in the format projects/`project_number`/
|
1320
|
-
# locations/`location_id`/backups/`backup_id
|
1256
|
+
# The resource name of the backup, in the format `projects/`project_number`/
|
1257
|
+
# locations/`location_id`/backups/`backup_id``.
|
1321
1258
|
# Corresponds to the JSON property `sourceBackup`
|
1322
1259
|
# @return [String]
|
1323
1260
|
attr_accessor :source_backup
|
@@ -1457,8 +1394,7 @@ module Google
|
|
1457
1394
|
|
1458
1395
|
# Deny Maintenance Period that is applied to resource to indicate when
|
1459
1396
|
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
1460
|
-
# periods.
|
1461
|
-
# one.
|
1397
|
+
# periods. Maximum number of deny_maintenance_periods expected is one.
|
1462
1398
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
1463
1399
|
# @return [Array<Google::Apis::FileV1::DenyMaintenancePeriod>]
|
1464
1400
|
attr_accessor :deny_maintenance_periods
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,12 +106,6 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
109
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
@@ -346,10 +340,10 @@ module Google
|
|
346
340
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
347
341
|
# @private
|
348
342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
350
|
-
|
351
343
|
property :location, as: 'location'
|
352
344
|
property :node_id, as: 'nodeId'
|
345
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
346
|
+
|
353
347
|
end
|
354
348
|
end
|
355
349
|
|
@@ -377,21 +371,9 @@ module Google
|
|
377
371
|
end
|
378
372
|
end
|
379
373
|
|
380
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
381
|
-
# @private
|
382
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
-
property :duration, as: 'duration'
|
384
|
-
property :reason, as: 'reason'
|
385
|
-
property :sli_name, as: 'sliName'
|
386
|
-
property :start_time, as: 'startTime'
|
387
|
-
end
|
388
|
-
end
|
389
|
-
|
390
374
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
391
375
|
# @private
|
392
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
394
|
-
|
395
377
|
collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
396
378
|
|
397
379
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -127,9 +127,9 @@ module Google
|
|
127
127
|
|
128
128
|
# Creates a backup.
|
129
129
|
# @param [String] parent
|
130
|
-
# Required. The backup's project and location, in the format projects/`
|
131
|
-
# project_number`/locations/`location
|
132
|
-
# to GCP regions, for example **us-west1**.
|
130
|
+
# Required. The backup's project and location, in the format `projects/`
|
131
|
+
# project_number`/locations/`location``. In Cloud Filestore, backup locations
|
132
|
+
# map to GCP regions, for example **us-west1**.
|
133
133
|
# @param [Google::Apis::FileV1::Backup] backup_object
|
134
134
|
# @param [String] backup_id
|
135
135
|
# Required. The ID to use for the backup. The ID must be unique within the
|
@@ -169,8 +169,8 @@ module Google
|
|
169
169
|
|
170
170
|
# Deletes a backup.
|
171
171
|
# @param [String] name
|
172
|
-
# Required. The backup resource name, in the format projects/`project_number`/
|
173
|
-
# locations/`location`/backups/`backup_id
|
172
|
+
# Required. The backup resource name, in the format `projects/`project_number`/
|
173
|
+
# locations/`location`/backups/`backup_id``
|
174
174
|
# @param [String] fields
|
175
175
|
# Selector specifying which fields to include in a partial response.
|
176
176
|
# @param [String] quota_user
|
@@ -200,8 +200,8 @@ module Google
|
|
200
200
|
|
201
201
|
# Gets the details of a specific backup.
|
202
202
|
# @param [String] name
|
203
|
-
# Required. The backup resource name, in the format projects/`project_number`/
|
204
|
-
# locations/`location`/backups/`backup_id
|
203
|
+
# Required. The backup resource name, in the format `projects/`project_number`/
|
204
|
+
# locations/`location`/backups/`backup_id``.
|
205
205
|
# @param [String] fields
|
206
206
|
# Selector specifying which fields to include in a partial response.
|
207
207
|
# @param [String] quota_user
|
@@ -233,9 +233,9 @@ module Google
|
|
233
233
|
# locations.
|
234
234
|
# @param [String] parent
|
235
235
|
# Required. The project and location for which to retrieve backup information,
|
236
|
-
# in the format projects/`project_number`/locations/`location
|
236
|
+
# in the format `projects/`project_number`/locations/`location``. In Cloud
|
237
237
|
# Filestore, backup locations map to GCP regions, for example **us-west1**. To
|
238
|
-
# retrieve backup information for all locations, use "-" for the
|
238
|
+
# retrieve backup information for all locations, use "-" for the ``location``
|
239
239
|
# value.
|
240
240
|
# @param [String] filter
|
241
241
|
# List filter.
|
@@ -279,8 +279,8 @@ module Google
|
|
279
279
|
|
280
280
|
# Updates the settings of a specific backup.
|
281
281
|
# @param [String] name
|
282
|
-
# Output only. The resource name of the backup, in the format projects/`
|
283
|
-
# project_number`/locations/`location_id`/backups/`backup_id
|
282
|
+
# Output only. The resource name of the backup, in the format `projects/`
|
283
|
+
# project_number`/locations/`location_id`/backups/`backup_id``.
|
284
284
|
# @param [Google::Apis::FileV1::Backup] backup_object
|
285
285
|
# @param [String] update_mask
|
286
286
|
# Required. Mask of fields to update. At least one path must be supplied in this
|
@@ -319,8 +319,8 @@ module Google
|
|
319
319
|
# instance needs to be equal to or larger than the capacity of the backup (and
|
320
320
|
# also equal to or larger than the minimum capacity of the tier).
|
321
321
|
# @param [String] parent
|
322
|
-
# Required. The instance's project and location, in the format projects/`
|
323
|
-
# project_id`/locations/`location
|
322
|
+
# Required. The instance's project and location, in the format `projects/`
|
323
|
+
# project_id`/locations/`location``. In Cloud Filestore, locations map to GCP
|
324
324
|
# zones, for example **us-west1-b**.
|
325
325
|
# @param [Google::Apis::FileV1::Instance] instance_object
|
326
326
|
# @param [String] instance_id
|
@@ -358,8 +358,8 @@ module Google
|
|
358
358
|
|
359
359
|
# Deletes an instance.
|
360
360
|
# @param [String] name
|
361
|
-
# Required. The instance resource name, in the format projects/`project_id`/
|
362
|
-
# locations/`location`/instances/`instance_id
|
361
|
+
# Required. The instance resource name, in the format `projects/`project_id`/
|
362
|
+
# locations/`location`/instances/`instance_id``
|
363
363
|
# @param [String] fields
|
364
364
|
# Selector specifying which fields to include in a partial response.
|
365
365
|
# @param [String] quota_user
|
@@ -389,8 +389,8 @@ module Google
|
|
389
389
|
|
390
390
|
# Gets the details of a specific instance.
|
391
391
|
# @param [String] name
|
392
|
-
# Required. The instance resource name, in the format projects/`project_id`/
|
393
|
-
# locations/`location`/instances/`instance_id
|
392
|
+
# Required. The instance resource name, in the format `projects/`project_id`/
|
393
|
+
# locations/`location`/instances/`instance_id``.
|
394
394
|
# @param [String] fields
|
395
395
|
# Selector specifying which fields to include in a partial response.
|
396
396
|
# @param [String] quota_user
|
@@ -422,9 +422,9 @@ module Google
|
|
422
422
|
# locations.
|
423
423
|
# @param [String] parent
|
424
424
|
# Required. The project and location for which to retrieve instance information,
|
425
|
-
# in the format projects/`project_id`/locations/`location
|
425
|
+
# in the format `projects/`project_id`/locations/`location``. In Cloud Filestore,
|
426
426
|
# locations map to GCP zones, for example **us-west1-b**. To retrieve instance
|
427
|
-
# information for all locations, use "-" for the
|
427
|
+
# information for all locations, use "-" for the ``location`` value.
|
428
428
|
# @param [String] filter
|
429
429
|
# List filter.
|
430
430
|
# @param [String] order_by
|
@@ -467,8 +467,8 @@ module Google
|
|
467
467
|
|
468
468
|
# Updates the settings of a specific instance.
|
469
469
|
# @param [String] name
|
470
|
-
# Output only. The resource name of the instance, in the format projects/`
|
471
|
-
# project`/locations/`location`/instances/`instance
|
470
|
+
# Output only. The resource name of the instance, in the format `projects/`
|
471
|
+
# project`/locations/`location`/instances/`instance``.
|
472
472
|
# @param [Google::Apis::FileV1::Instance] instance_object
|
473
473
|
# @param [String] update_mask
|
474
474
|
# Mask of fields to update. At least one path must be supplied in this field.
|
@@ -508,8 +508,8 @@ module Google
|
|
508
508
|
# instance needs to be equal to or larger than the capacity of the backup (and
|
509
509
|
# also equal to or larger than the minimum capacity of the tier).
|
510
510
|
# @param [String] name
|
511
|
-
# Required. The resource name of the instance, in the format projects/`
|
512
|
-
# project_number`/locations/`location_id`/instances/`instance_id
|
511
|
+
# Required. The resource name of the instance, in the format `projects/`
|
512
|
+
# project_number`/locations/`location_id`/instances/`instance_id``.
|
513
513
|
# @param [Google::Apis::FileV1::RestoreInstanceRequest] restore_instance_request_object
|
514
514
|
# @param [String] fields
|
515
515
|
# Selector specifying which fields to include in a partial response.
|
data/lib/google/apis/file_v1.rb
CHANGED
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|