google-apis-file_v1 0.10.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/file_v1/classes.rb +31 -101
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +0 -20
- data/lib/google/apis/file_v1/service.rb +23 -23
- data/lib/google/apis/file_v1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93cde6d1e8528ef1d28a77a98ed2eb7d542f93aa19d46c0e0d9c2f1fc48929f7
|
4
|
+
data.tar.gz: 1b111a09e4c0f986e58198e21dfc0955219390f7b9a5b07c60bc4ab9389ce505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98abd5020a68c166cc89a4aebeee4681e8a44252c481c537f7a99656db8855bac6de530ae73f083ebdeca781ec68e400f762625e974207021b66b85c90803dc9
|
7
|
+
data.tar.gz: 0c81dd3934fe5b795bffdebd1be65b9911f5fd6b6134461951ef46fb48ba084916f9c1794fab166d8ffa3913c4f2547878ddca9925f768450370d4ecd57c3698
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-10-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211017
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.13.0 (2021-09-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210822
|
11
|
+
|
12
|
+
### v0.12.0 (2021-08-19)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210804
|
15
|
+
|
16
|
+
### v0.11.0 (2021-07-28)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210721
|
19
|
+
|
3
20
|
### v0.10.0 (2021-07-13)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210708
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the File service in particular.)
|
67
67
|
|
@@ -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]
|
@@ -557,7 +549,6 @@ module Google
|
|
557
549
|
|
558
550
|
# Update properties of this object
|
559
551
|
def update!(**args)
|
560
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
561
552
|
@location = args[:location] if args.key?(:location)
|
562
553
|
@node_id = args[:node_id] if args.key?(:node_id)
|
563
554
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -652,71 +643,11 @@ module Google
|
|
652
643
|
end
|
653
644
|
end
|
654
645
|
|
655
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
656
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
657
|
-
include Google::Apis::Core::Hashable
|
658
|
-
|
659
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
660
|
-
# operation is taking longer than initially expected, an existing entry in the
|
661
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
662
|
-
# the subsystem exporting eligibility data as long as such extension is
|
663
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
664
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
665
|
-
# application in the exported timeseries.
|
666
|
-
# Corresponds to the JSON property `duration`
|
667
|
-
# @return [String]
|
668
|
-
attr_accessor :duration
|
669
|
-
|
670
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
671
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
672
|
-
# data (e.g. instance name). Can be left empty.
|
673
|
-
# Corresponds to the JSON property `reason`
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :reason
|
676
|
-
|
677
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
678
|
-
# that the instance should be excluded from all SLIs.
|
679
|
-
# Corresponds to the JSON property `sliName`
|
680
|
-
# @return [String]
|
681
|
-
attr_accessor :sli_name
|
682
|
-
|
683
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
684
|
-
# Corresponds to the JSON property `startTime`
|
685
|
-
# @return [String]
|
686
|
-
attr_accessor :start_time
|
687
|
-
|
688
|
-
def initialize(**args)
|
689
|
-
update!(**args)
|
690
|
-
end
|
691
|
-
|
692
|
-
# Update properties of this object
|
693
|
-
def update!(**args)
|
694
|
-
@duration = args[:duration] if args.key?(:duration)
|
695
|
-
@reason = args[:reason] if args.key?(:reason)
|
696
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
697
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
698
|
-
end
|
699
|
-
end
|
700
|
-
|
701
646
|
# SloMetadata contains resources required for proper SLO classification of the
|
702
647
|
# instance.
|
703
648
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
704
649
|
include Google::Apis::Core::Hashable
|
705
650
|
|
706
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
707
|
-
# matching the exclusion time-window against current time point) the exclusion
|
708
|
-
# reason used in the first matching entry will be published. It is not needed to
|
709
|
-
# include expired exclusion in this list, as only the currently applicable
|
710
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
711
|
-
# historical state of exclusions will be reflected in the historically produced
|
712
|
-
# timeseries regardless of the current state). This field can be used to mark
|
713
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
714
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
715
|
-
# recommended. See 'eligibility' field below.
|
716
|
-
# Corresponds to the JSON property `exclusions`
|
717
|
-
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
718
|
-
attr_accessor :exclusions
|
719
|
-
|
720
651
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
721
652
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
722
653
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -743,7 +674,6 @@ module Google
|
|
743
674
|
|
744
675
|
# Update properties of this object
|
745
676
|
def update!(**args)
|
746
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
747
677
|
@nodes = args[:nodes] if args.key?(:nodes)
|
748
678
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
749
679
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -781,8 +711,8 @@ module Google
|
|
781
711
|
# @return [Hash<String,String>]
|
782
712
|
attr_accessor :labels
|
783
713
|
|
784
|
-
# Output only. The resource name of the instance, in the format projects/`
|
785
|
-
# project`/locations/`location`/instances/`instance
|
714
|
+
# Output only. The resource name of the instance, in the format `projects/`
|
715
|
+
# project`/locations/`location`/instances/`instance``.
|
786
716
|
# Corresponds to the JSON property `name`
|
787
717
|
# @return [String]
|
788
718
|
attr_accessor :name
|
@@ -838,9 +768,9 @@ module Google
|
|
838
768
|
class ListBackupsResponse
|
839
769
|
include Google::Apis::Core::Hashable
|
840
770
|
|
841
|
-
# A list of backups in the project for the specified location. If the
|
842
|
-
# value in the request is "-", the response contains a list of backups from
|
843
|
-
# 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
|
844
774
|
# backups in reachable locations and the "unreachable" field will be populated
|
845
775
|
# with a list of unreachable locations.
|
846
776
|
# Corresponds to the JSON property `backups`
|
@@ -874,8 +804,8 @@ module Google
|
|
874
804
|
class ListInstancesResponse
|
875
805
|
include Google::Apis::Core::Hashable
|
876
806
|
|
877
|
-
# A list of instances in the project for the specified location. If the
|
878
|
-
# 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
|
879
809
|
# instances from all locations. If any location is unreachable, the response
|
880
810
|
# will only return instances in reachable locations and the "unreachable" field
|
881
811
|
# will be populated with a list of unreachable locations.
|
@@ -1094,9 +1024,9 @@ module Google
|
|
1094
1024
|
class NetworkConfig
|
1095
1025
|
include Google::Apis::Core::Hashable
|
1096
1026
|
|
1097
|
-
# Output only. IPv4 addresses in the format
|
1098
|
-
#
|
1099
|
-
#
|
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``.
|
1100
1030
|
# Corresponds to the JSON property `ipAddresses`
|
1101
1031
|
# @return [Array<String>]
|
1102
1032
|
attr_accessor :ip_addresses
|
@@ -1107,17 +1037,18 @@ module Google
|
|
1107
1037
|
# @return [Array<String>]
|
1108
1038
|
attr_accessor :modes
|
1109
1039
|
|
1110
|
-
# The name of the Google Compute Engine [VPC network](/
|
1111
|
-
#
|
1040
|
+
# The name of the Google Compute Engine [VPC network](https://cloud.google.com/
|
1041
|
+
# vpc/docs/vpc) to which the instance is connected.
|
1112
1042
|
# Corresponds to the JSON property `network`
|
1113
1043
|
# @return [String]
|
1114
1044
|
attr_accessor :network
|
1115
1045
|
|
1116
1046
|
# A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.
|
1117
|
-
# net/
|
1118
|
-
# reserved for this instance. For example, 10.0.0.0/29 or 192.
|
1119
|
-
# range you specify can't overlap with either existing subnets
|
1120
|
-
# 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.
|
1121
1052
|
# Corresponds to the JSON property `reservedIpRange`
|
1122
1053
|
# @return [String]
|
1123
1054
|
attr_accessor :reserved_ip_range
|
@@ -1160,9 +1091,9 @@ module Google
|
|
1160
1091
|
# @return [Fixnum]
|
1161
1092
|
attr_accessor :anon_uid
|
1162
1093
|
|
1163
|
-
# List of either an IPv4 addresses in the format
|
1164
|
-
#
|
1165
|
-
# 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
|
1166
1097
|
# allowed, both within and across NfsExportOptions. An error will be returned.
|
1167
1098
|
# The limit is 64 IP ranges/addresses for each FileShareConfig among all
|
1168
1099
|
# NfsExportOptions.
|
@@ -1262,7 +1193,7 @@ module Google
|
|
1262
1193
|
attr_accessor :api_version
|
1263
1194
|
|
1264
1195
|
# Output only. Identifies whether the user has requested cancellation of the
|
1265
|
-
# operation. Operations that have
|
1196
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1266
1197
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1267
1198
|
# CANCELLED`.
|
1268
1199
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -1311,7 +1242,7 @@ module Google
|
|
1311
1242
|
end
|
1312
1243
|
end
|
1313
1244
|
|
1314
|
-
# RestoreInstanceRequest restores an existing
|
1245
|
+
# RestoreInstanceRequest restores an existing instance's file share from a
|
1315
1246
|
# backup.
|
1316
1247
|
class RestoreInstanceRequest
|
1317
1248
|
include Google::Apis::Core::Hashable
|
@@ -1322,8 +1253,8 @@ module Google
|
|
1322
1253
|
# @return [String]
|
1323
1254
|
attr_accessor :file_share
|
1324
1255
|
|
1325
|
-
# The resource name of the backup, in the format projects/`project_number`/
|
1326
|
-
# 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``.
|
1327
1258
|
# Corresponds to the JSON property `sourceBackup`
|
1328
1259
|
# @return [String]
|
1329
1260
|
attr_accessor :source_backup
|
@@ -1463,8 +1394,7 @@ module Google
|
|
1463
1394
|
|
1464
1395
|
# Deny Maintenance Period that is applied to resource to indicate when
|
1465
1396
|
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
1466
|
-
# periods.
|
1467
|
-
# one.
|
1397
|
+
# periods. Maximum number of deny_maintenance_periods expected is one.
|
1468
1398
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
1469
1399
|
# @return [Array<Google::Apis::FileV1::DenyMaintenancePeriod>]
|
1470
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.14.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 = "20211017"
|
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,8 +340,6 @@ 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'
|
353
345
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -379,21 +371,9 @@ module Google
|
|
379
371
|
end
|
380
372
|
end
|
381
373
|
|
382
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
383
|
-
# @private
|
384
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
-
property :duration, as: 'duration'
|
386
|
-
property :reason, as: 'reason'
|
387
|
-
property :sli_name, as: 'sliName'
|
388
|
-
property :start_time, as: 'startTime'
|
389
|
-
end
|
390
|
-
end
|
391
|
-
|
392
374
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
393
375
|
# @private
|
394
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
396
|
-
|
397
377
|
collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
398
378
|
|
399
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.14.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
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.14.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|