google-apis-file_v1 0.8.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80cf5f1372f10f734a70acaa7a65b5f644a964e107620780ce005f3d1f67a094
4
- data.tar.gz: f54373aae4faef36e7f77bac7045664ff2f05026287ce0b99b20c13f3334ce38
3
+ metadata.gz: 8ab3b2edd9488ea8cc00b07e123f62e7ea23fb18dcc72ca3f2885bde0e8048cb
4
+ data.tar.gz: 9c59ee9b5462108f0820d54d4f67285de8494fecccf10bb194cb17dbc2cddaf2
5
5
  SHA512:
6
- metadata.gz: 4286b16593e94349bbedbac2495a2f6cdd288354639edc4a77c61703495f09f42a92696d7f89a195039e171d6ce313d51788ded726cba56c5dc81459aff0f7ac
7
- data.tar.gz: 06a9f9c5e927f216ed4f37d906ddb4c2530ceac35819111f40e2ea57256dd0c4c45d48129d85e41f6fdada4d8005496cb173d83d037ac7254acbfbee81ed4251
6
+ metadata.gz: 30af2b00a0664ec8275a70e8f04a439e80bfe1d1546e991db64e957821cdb198bef0aad98e0792344c20def745e449e0b1c3ddc4143800190a66221c7528ab88
7
+ data.tar.gz: bbb249606405bf63ee279fc82cd1692669be74a8938607ead8c6b2c6d524c307fe81c05261d093a2e5bbfa59d248ac02fba0f241d92a329501dd3b0a3a8b79c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.12.0 (2021-08-19)
4
+
5
+ * Regenerated from discovery document revision 20210804
6
+
7
+ ### v0.11.0 (2021-07-28)
8
+
9
+ * Regenerated from discovery document revision 20210721
10
+
11
+ ### v0.10.0 (2021-07-13)
12
+
13
+ * Regenerated from discovery document revision 20210708
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.0 (2021-06-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210524
@@ -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 Platform data
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`, that this file share has been
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]
@@ -546,6 +546,11 @@ module Google
546
546
  # @return [String]
547
547
  attr_accessor :node_id
548
548
 
549
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
550
+ # Corresponds to the JSON property `perSliEligibility`
551
+ # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
552
+ attr_accessor :per_sli_eligibility
553
+
549
554
  def initialize(**args)
550
555
  update!(**args)
551
556
  end
@@ -555,6 +560,7 @@ module Google
555
560
  @exclusions = args[:exclusions] if args.key?(:exclusions)
556
561
  @location = args[:location] if args.key?(:location)
557
562
  @node_id = args[:node_id] if args.key?(:node_id)
563
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
558
564
  end
559
565
  end
560
566
 
@@ -775,8 +781,8 @@ module Google
775
781
  # @return [Hash<String,String>]
776
782
  attr_accessor :labels
777
783
 
778
- # Output only. The resource name of the instance, in the format projects/`
779
- # project`/locations/`location`/instances/`instance`.
784
+ # Output only. The resource name of the instance, in the format `projects/`
785
+ # project`/locations/`location`/instances/`instance``.
780
786
  # Corresponds to the JSON property `name`
781
787
  # @return [String]
782
788
  attr_accessor :name
@@ -832,9 +838,9 @@ module Google
832
838
  class ListBackupsResponse
833
839
  include Google::Apis::Core::Hashable
834
840
 
835
- # A list of backups in the project for the specified location. If the `location`
836
- # value in the request is "-", the response contains a list of backups from all
837
- # 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
838
844
  # backups in reachable locations and the "unreachable" field will be populated
839
845
  # with a list of unreachable locations.
840
846
  # Corresponds to the JSON property `backups`
@@ -868,8 +874,8 @@ module Google
868
874
  class ListInstancesResponse
869
875
  include Google::Apis::Core::Hashable
870
876
 
871
- # A list of instances in the project for the specified location. If the `
872
- # location` value in the request is "-", the response contains a list of
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
873
879
  # instances from all locations. If any location is unreachable, the response
874
880
  # will only return instances in reachable locations and the "unreachable" field
875
881
  # will be populated with a list of unreachable locations.
@@ -1088,9 +1094,9 @@ module Google
1088
1094
  class NetworkConfig
1089
1095
  include Google::Apis::Core::Hashable
1090
1096
 
1091
- # Output only. IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`octet
1092
- # 4` or IPv6 addresses in the format `block 1`:`block 2`:`block 3`:`block 4`:`
1093
- # block 5`:`block 6`:`block 7`:`block 8`.
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``.
1094
1100
  # Corresponds to the JSON property `ipAddresses`
1095
1101
  # @return [Array<String>]
1096
1102
  attr_accessor :ip_addresses
@@ -1101,17 +1107,18 @@ module Google
1101
1107
  # @return [Array<String>]
1102
1108
  attr_accessor :modes
1103
1109
 
1104
- # The name of the Google Compute Engine [VPC network](/compute/docs/networks-and-
1105
- # firewalls#networks) to which the instance is connected.
1110
+ # The name of the Google Compute Engine [VPC network](https://cloud.google.com/
1111
+ # vpc/docs/vpc) to which the instance is connected.
1106
1112
  # Corresponds to the JSON property `network`
1107
1113
  # @return [String]
1108
1114
  attr_accessor :network
1109
1115
 
1110
1116
  # A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.
1111
- # net/knowledge/address_filters.html) that identifies the range of IP addresses
1112
- # reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The
1113
- # range you specify can't overlap with either existing subnets or assigned IP
1114
- # address ranges for other Cloud Filestore instances in the selected VPC network.
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.
1115
1122
  # Corresponds to the JSON property `reservedIpRange`
1116
1123
  # @return [String]
1117
1124
  attr_accessor :reserved_ip_range
@@ -1154,9 +1161,9 @@ module Google
1154
1161
  # @return [Fixnum]
1155
1162
  attr_accessor :anon_uid
1156
1163
 
1157
- # List of either an IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`
1158
- # octet 4` or CIDR ranges in the format `octet 1`.`octet 2`.`octet 3`.`octet 4`/`
1159
- # mask size` which may mount the file share. Overlapping IP ranges are not
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
1160
1167
  # allowed, both within and across NfsExportOptions. An error will be returned.
1161
1168
  # The limit is 64 IP ranges/addresses for each FileShareConfig among all
1162
1169
  # NfsExportOptions.
@@ -1250,13 +1257,13 @@ module Google
1250
1257
  class OperationMetadata
1251
1258
  include Google::Apis::Core::Hashable
1252
1259
 
1253
- # [Output only] API version used to start the operation.
1260
+ # Output only. API version used to start the operation.
1254
1261
  # Corresponds to the JSON property `apiVersion`
1255
1262
  # @return [String]
1256
1263
  attr_accessor :api_version
1257
1264
 
1258
- # [Output only] Identifies whether the user has requested cancellation of the
1259
- # operation. Operations that have successfully been cancelled have Operation.
1265
+ # Output only. Identifies whether the user has requested cancellation of the
1266
+ # operation. Operations that have been cancelled successfully have Operation.
1260
1267
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1261
1268
  # CANCELLED`.
1262
1269
  # Corresponds to the JSON property `cancelRequested`
@@ -1264,27 +1271,27 @@ module Google
1264
1271
  attr_accessor :cancel_requested
1265
1272
  alias_method :cancel_requested?, :cancel_requested
1266
1273
 
1267
- # [Output only] The time the operation was created.
1274
+ # Output only. The time the operation was created.
1268
1275
  # Corresponds to the JSON property `createTime`
1269
1276
  # @return [String]
1270
1277
  attr_accessor :create_time
1271
1278
 
1272
- # [Output only] The time the operation finished running.
1279
+ # Output only. The time the operation finished running.
1273
1280
  # Corresponds to the JSON property `endTime`
1274
1281
  # @return [String]
1275
1282
  attr_accessor :end_time
1276
1283
 
1277
- # [Output only] Human-readable status of the operation, if any.
1284
+ # Output only. Human-readable status of the operation, if any.
1278
1285
  # Corresponds to the JSON property `statusDetail`
1279
1286
  # @return [String]
1280
1287
  attr_accessor :status_detail
1281
1288
 
1282
- # [Output only] Server-defined resource path for the target of the operation.
1289
+ # Output only. Server-defined resource path for the target of the operation.
1283
1290
  # Corresponds to the JSON property `target`
1284
1291
  # @return [String]
1285
1292
  attr_accessor :target
1286
1293
 
1287
- # [Output only] Name of the verb executed by the operation.
1294
+ # Output only. Name of the verb executed by the operation.
1288
1295
  # Corresponds to the JSON property `verb`
1289
1296
  # @return [String]
1290
1297
  attr_accessor :verb
@@ -1316,8 +1323,8 @@ module Google
1316
1323
  # @return [String]
1317
1324
  attr_accessor :file_share
1318
1325
 
1319
- # The resource name of the backup, in the format projects/`project_number`/
1320
- # 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``.
1321
1328
  # Corresponds to the JSON property `sourceBackup`
1322
1329
  # @return [String]
1323
1330
  attr_accessor :source_backup
@@ -1457,8 +1464,7 @@ module Google
1457
1464
 
1458
1465
  # Deny Maintenance Period that is applied to resource to indicate when
1459
1466
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
1460
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1461
- # one.
1467
+ # periods. Maximum number of deny_maintenance_periods expected is one.
1462
1468
  # Corresponds to the JSON property `denyMaintenancePeriods`
1463
1469
  # @return [Array<Google::Apis::FileV1::DenyMaintenancePeriod>]
1464
1470
  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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20210804"
26
26
  end
27
27
  end
28
28
  end
@@ -350,6 +350,8 @@ module Google
350
350
 
351
351
  property :location, as: 'location'
352
352
  property :node_id, as: 'nodeId'
353
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
354
+
353
355
  end
354
356
  end
355
357
 
@@ -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`. In Cloud Filestore, backup locations map
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`. In Cloud
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 `location`
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`. In Cloud Filestore, locations map to GCP
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`. In Cloud Filestore,
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 `location` value.
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.8.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-06-28 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.8.0
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: []