google-apis-file_v1 0.11.0 → 0.12.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 +4 -0
- data/lib/google/apis/file_v1.rb +1 -1
- data/lib/google/apis/file_v1/classes.rb +29 -28
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/service.rb +23 -23
- 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: 8ab3b2edd9488ea8cc00b07e123f62e7ea23fb18dcc72ca3f2885bde0e8048cb
|
4
|
+
data.tar.gz: 9c59ee9b5462108f0820d54d4f67285de8494fecccf10bb194cb17dbc2cddaf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30af2b00a0664ec8275a70e8f04a439e80bfe1d1546e991db64e957821cdb198bef0aad98e0792344c20def745e449e0b1c3ddc4143800190a66221c7528ab88
|
7
|
+
data.tar.gz: bbb249606405bf63ee279fc82cd1692669be74a8938607ead8c6b2c6d524c307fe81c05261d093a2e5bbfa59d248ac02fba0f241d92a329501dd3b0a3a8b79c3
|
data/CHANGELOG.md
CHANGED
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
|
@@ -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]
|
@@ -781,8 +781,8 @@ module Google
|
|
781
781
|
# @return [Hash<String,String>]
|
782
782
|
attr_accessor :labels
|
783
783
|
|
784
|
-
# Output only. The resource name of the instance, in the format projects/`
|
785
|
-
# project`/locations/`location`/instances/`instance
|
784
|
+
# Output only. The resource name of the instance, in the format `projects/`
|
785
|
+
# project`/locations/`location`/instances/`instance``.
|
786
786
|
# Corresponds to the JSON property `name`
|
787
787
|
# @return [String]
|
788
788
|
attr_accessor :name
|
@@ -838,9 +838,9 @@ module Google
|
|
838
838
|
class ListBackupsResponse
|
839
839
|
include Google::Apis::Core::Hashable
|
840
840
|
|
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
|
841
|
+
# A list of backups in the project for the specified location. If the ``location`
|
842
|
+
# ` value in the request is "-", the response contains a list of backups from
|
843
|
+
# all locations. If any location is unreachable, the response will only return
|
844
844
|
# backups in reachable locations and the "unreachable" field will be populated
|
845
845
|
# with a list of unreachable locations.
|
846
846
|
# Corresponds to the JSON property `backups`
|
@@ -874,8 +874,8 @@ module Google
|
|
874
874
|
class ListInstancesResponse
|
875
875
|
include Google::Apis::Core::Hashable
|
876
876
|
|
877
|
-
# A list of instances in the project for the specified location. If the
|
878
|
-
# location
|
877
|
+
# A list of instances in the project for the specified location. If the ``
|
878
|
+
# location`` value in the request is "-", the response contains a list of
|
879
879
|
# instances from all locations. If any location is unreachable, the response
|
880
880
|
# will only return instances in reachable locations and the "unreachable" field
|
881
881
|
# will be populated with a list of unreachable locations.
|
@@ -1094,9 +1094,9 @@ module Google
|
|
1094
1094
|
class NetworkConfig
|
1095
1095
|
include Google::Apis::Core::Hashable
|
1096
1096
|
|
1097
|
-
# Output only. IPv4 addresses in the format
|
1098
|
-
#
|
1099
|
-
#
|
1097
|
+
# Output only. IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`octet4``
|
1098
|
+
# or IPv6 addresses in the format ``block1`:`block2`:`block3`:`block4`:`block5`:
|
1099
|
+
# `block6`:`block7`:`block8``.
|
1100
1100
|
# Corresponds to the JSON property `ipAddresses`
|
1101
1101
|
# @return [Array<String>]
|
1102
1102
|
attr_accessor :ip_addresses
|
@@ -1107,17 +1107,18 @@ module Google
|
|
1107
1107
|
# @return [Array<String>]
|
1108
1108
|
attr_accessor :modes
|
1109
1109
|
|
1110
|
-
# The name of the Google Compute Engine [VPC network](/
|
1111
|
-
#
|
1110
|
+
# The name of the Google Compute Engine [VPC network](https://cloud.google.com/
|
1111
|
+
# vpc/docs/vpc) to which the instance is connected.
|
1112
1112
|
# Corresponds to the JSON property `network`
|
1113
1113
|
# @return [String]
|
1114
1114
|
attr_accessor :network
|
1115
1115
|
|
1116
1116
|
# 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
|
1117
|
+
# net/reference/research/statistics/address_filters/) that identifies the range
|
1118
|
+
# of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.
|
1119
|
+
# 168.0.0/29. The range you specify can't overlap with either existing subnets
|
1120
|
+
# or assigned IP address ranges for other Cloud Filestore instances in the
|
1121
|
+
# selected VPC network.
|
1121
1122
|
# Corresponds to the JSON property `reservedIpRange`
|
1122
1123
|
# @return [String]
|
1123
1124
|
attr_accessor :reserved_ip_range
|
@@ -1160,9 +1161,9 @@ module Google
|
|
1160
1161
|
# @return [Fixnum]
|
1161
1162
|
attr_accessor :anon_uid
|
1162
1163
|
|
1163
|
-
# List of either an IPv4 addresses in the format
|
1164
|
-
#
|
1165
|
-
# mask size
|
1164
|
+
# List of either an IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`
|
1165
|
+
# octet4`` or CIDR ranges in the format ``octet1`.`octet2`.`octet3`.`octet4`/`
|
1166
|
+
# mask size`` which may mount the file share. Overlapping IP ranges are not
|
1166
1167
|
# allowed, both within and across NfsExportOptions. An error will be returned.
|
1167
1168
|
# The limit is 64 IP ranges/addresses for each FileShareConfig among all
|
1168
1169
|
# NfsExportOptions.
|
@@ -1262,7 +1263,7 @@ module Google
|
|
1262
1263
|
attr_accessor :api_version
|
1263
1264
|
|
1264
1265
|
# Output only. Identifies whether the user has requested cancellation of the
|
1265
|
-
# operation. Operations that have
|
1266
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1266
1267
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1267
1268
|
# CANCELLED`.
|
1268
1269
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -1322,8 +1323,8 @@ module Google
|
|
1322
1323
|
# @return [String]
|
1323
1324
|
attr_accessor :file_share
|
1324
1325
|
|
1325
|
-
# The resource name of the backup, in the format projects/`project_number`/
|
1326
|
-
# locations/`location_id`/backups/`backup_id
|
1326
|
+
# The resource name of the backup, in the format `projects/`project_number`/
|
1327
|
+
# locations/`location_id`/backups/`backup_id``.
|
1327
1328
|
# Corresponds to the JSON property `sourceBackup`
|
1328
1329
|
# @return [String]
|
1329
1330
|
attr_accessor :source_backup
|
@@ -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.12.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 = "20210804"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.
|
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.12.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-08-
|
11
|
+
date: 2021-08-23 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.12.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: []
|