google-apis-file_v1 0.11.0 → 0.15.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: 95f9dab6f2e5f92af2c16bd1ffd2ea62c51f50148f89f101f9099dbda65b0862
4
- data.tar.gz: 6d626eb702dff766c4db43bb1f83bb7230a1052557b0d1b28cd68180a65fbf06
3
+ metadata.gz: 787d697cfe4ad63fcce2c2cf3048ea7e26cd7db8913bbfeaedb40182780e4330
4
+ data.tar.gz: 3b65899fcd3cf5cc49e92ed7adede8d89e64a42523dc6a0c2760f630e787c4a3
5
5
  SHA512:
6
- metadata.gz: 295cf0bc33eeccaf8bdfd75502ada65b9d704acad09d11990f4b9d6092b2197f811a9af0578e67bfa49bd5b9ad73ed815c029e14fca09447f3aed30fe77d4b95
7
- data.tar.gz: 7e0178913cd98cc0dacb843b0f39f6059de05b3257dea9336c72453615565495ad07643659ea148c88e12b437a924ca78446080a8010eb4d5a95a963303a73f7
6
+ metadata.gz: 9b20dfb340d55ead4fe5e01072d55c6a167b4dc05c328f365cfae1e52d3ae6c4cbf79031d1ca67e73fa0b539cbd3a1abdd960ab09382b545d9e8d864afdec668
7
+ data.tar.gz: 4b9a1f702c311ccd520a85ef3306eb7f1acda6e252d3781d3f3158c052aa3f00d731eac8092b3754ee20d3891e629351379c52507f3dc80995c3a5ecb4ca89ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.15.0 (2021-11-14)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.14.0 (2021-10-24)
8
+
9
+ * Regenerated from discovery document revision 20211017
10
+ * Unspecified changes
11
+
12
+ ### v0.13.0 (2021-09-07)
13
+
14
+ * Regenerated from discovery document revision 20210822
15
+
16
+ ### v0.12.0 (2021-08-19)
17
+
18
+ * Regenerated from discovery document revision 20210804
19
+
3
20
  ### v0.11.0 (2021-07-28)
4
21
 
5
22
  * Regenerated from discovery document revision 20210721
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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`, 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]
@@ -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)
@@ -776,13 +706,18 @@ module Google
776
706
  # @return [Array<Google::Apis::FileV1::FileShareConfig>]
777
707
  attr_accessor :file_shares
778
708
 
709
+ # KMS key name used for data encryption.
710
+ # Corresponds to the JSON property `kmsKeyName`
711
+ # @return [String]
712
+ attr_accessor :kms_key_name
713
+
779
714
  # Resource labels to represent user provided metadata.
780
715
  # Corresponds to the JSON property `labels`
781
716
  # @return [Hash<String,String>]
782
717
  attr_accessor :labels
783
718
 
784
- # Output only. The resource name of the instance, in the format projects/`
785
- # project`/locations/`location`/instances/`instance`.
719
+ # Output only. The resource name of the instance, in the format `projects/`
720
+ # project`/locations/`location`/instances/`instance``.
786
721
  # Corresponds to the JSON property `name`
787
722
  # @return [String]
788
723
  attr_accessor :name
@@ -809,6 +744,12 @@ module Google
809
744
  # @return [String]
810
745
  attr_accessor :status_message
811
746
 
747
+ # Output only. field indicates all the reasons the instance is in "SUSPENDED"
748
+ # state.
749
+ # Corresponds to the JSON property `suspensionReasons`
750
+ # @return [Array<String>]
751
+ attr_accessor :suspension_reasons
752
+
812
753
  # The service tier of the instance.
813
754
  # Corresponds to the JSON property `tier`
814
755
  # @return [String]
@@ -824,12 +765,14 @@ module Google
824
765
  @description = args[:description] if args.key?(:description)
825
766
  @etag = args[:etag] if args.key?(:etag)
826
767
  @file_shares = args[:file_shares] if args.key?(:file_shares)
768
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
827
769
  @labels = args[:labels] if args.key?(:labels)
828
770
  @name = args[:name] if args.key?(:name)
829
771
  @networks = args[:networks] if args.key?(:networks)
830
772
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
831
773
  @state = args[:state] if args.key?(:state)
832
774
  @status_message = args[:status_message] if args.key?(:status_message)
775
+ @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
833
776
  @tier = args[:tier] if args.key?(:tier)
834
777
  end
835
778
  end
@@ -838,9 +781,9 @@ module Google
838
781
  class ListBackupsResponse
839
782
  include Google::Apis::Core::Hashable
840
783
 
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 all
843
- # locations. If any location is unreachable, the response will only return
784
+ # A list of backups in the project for the specified location. If the ``location`
785
+ # ` value in the request is "-", the response contains a list of backups from
786
+ # all locations. If any location is unreachable, the response will only return
844
787
  # backups in reachable locations and the "unreachable" field will be populated
845
788
  # with a list of unreachable locations.
846
789
  # Corresponds to the JSON property `backups`
@@ -874,8 +817,8 @@ module Google
874
817
  class ListInstancesResponse
875
818
  include Google::Apis::Core::Hashable
876
819
 
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
820
+ # A list of instances in the project for the specified location. If the ``
821
+ # location`` value in the request is "-", the response contains a list of
879
822
  # instances from all locations. If any location is unreachable, the response
880
823
  # will only return instances in reachable locations and the "unreachable" field
881
824
  # will be populated with a list of unreachable locations.
@@ -956,6 +899,32 @@ module Google
956
899
  end
957
900
  end
958
901
 
902
+ # ListSnapshotsResponse is the result of ListSnapshotsRequest.
903
+ class ListSnapshotsResponse
904
+ include Google::Apis::Core::Hashable
905
+
906
+ # The token you can use to retrieve the next page of results. Not returned if
907
+ # there are no more results in the list.
908
+ # Corresponds to the JSON property `nextPageToken`
909
+ # @return [String]
910
+ attr_accessor :next_page_token
911
+
912
+ # A list of snapshots in the project for the specified instance.
913
+ # Corresponds to the JSON property `snapshots`
914
+ # @return [Array<Google::Apis::FileV1::Snapshot>]
915
+ attr_accessor :snapshots
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
924
+ @snapshots = args[:snapshots] if args.key?(:snapshots)
925
+ end
926
+ end
927
+
959
928
  # A resource that represents Google Cloud Platform location.
960
929
  class Location
961
930
  include Google::Apis::Core::Hashable
@@ -1094,9 +1063,15 @@ module Google
1094
1063
  class NetworkConfig
1095
1064
  include Google::Apis::Core::Hashable
1096
1065
 
1097
- # Output only. IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`octet
1098
- # 4` or IPv6 addresses in the format `block 1`:`block 2`:`block 3`:`block 4`:`
1099
- # block 5`:`block 6`:`block 7`:`block 8`.
1066
+ # The network connect mode of the Filestore instance. If not provided, the
1067
+ # connect mode defaults to DIRECT_PEERING.
1068
+ # Corresponds to the JSON property `connectMode`
1069
+ # @return [String]
1070
+ attr_accessor :connect_mode
1071
+
1072
+ # Output only. IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`octet4``
1073
+ # or IPv6 addresses in the format ``block1`:`block2`:`block3`:`block4`:`block5`:
1074
+ # `block6`:`block7`:`block8``.
1100
1075
  # Corresponds to the JSON property `ipAddresses`
1101
1076
  # @return [Array<String>]
1102
1077
  attr_accessor :ip_addresses
@@ -1107,17 +1082,25 @@ module Google
1107
1082
  # @return [Array<String>]
1108
1083
  attr_accessor :modes
1109
1084
 
1110
- # The name of the Google Compute Engine [VPC network](/compute/docs/networks-and-
1111
- # firewalls#networks) to which the instance is connected.
1085
+ # The name of the Google Compute Engine [VPC network](https://cloud.google.com/
1086
+ # vpc/docs/vpc) to which the instance is connected.
1112
1087
  # Corresponds to the JSON property `network`
1113
1088
  # @return [String]
1114
1089
  attr_accessor :network
1115
1090
 
1116
- # A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.
1117
- # net/knowledge/address_filters.html) that identifies the range of IP addresses
1118
- # reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The
1119
- # range you specify can't overlap with either existing subnets or assigned IP
1120
- # address ranges for other Cloud Filestore instances in the selected VPC network.
1091
+ # Optional, reserved_ip_range can have one of the following two types of values.
1092
+ # * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP
1093
+ # address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-
1094
+ # static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode.
1095
+ # When the name of an allocated IP address range is specified, it must be one of
1096
+ # the ranges associated with the private service access connection. When
1097
+ # specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier
1098
+ # or a /24 CIDR block for High Scale or Enterprise tier in one of the [internal
1099
+ # IP address ranges](https://www.arin.net/reference/research/statistics/
1100
+ # address_filters/) that identifies the range of IP addresses reserved for this
1101
+ # instance. For example, 10.0.0.0/29 or 192.168.0.0/24. The range you specify
1102
+ # can't overlap with either existing subnets or assigned IP address ranges for
1103
+ # other Cloud Filestore instances in the selected VPC network.
1121
1104
  # Corresponds to the JSON property `reservedIpRange`
1122
1105
  # @return [String]
1123
1106
  attr_accessor :reserved_ip_range
@@ -1128,6 +1111,7 @@ module Google
1128
1111
 
1129
1112
  # Update properties of this object
1130
1113
  def update!(**args)
1114
+ @connect_mode = args[:connect_mode] if args.key?(:connect_mode)
1131
1115
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1132
1116
  @modes = args[:modes] if args.key?(:modes)
1133
1117
  @network = args[:network] if args.key?(:network)
@@ -1160,9 +1144,9 @@ module Google
1160
1144
  # @return [Fixnum]
1161
1145
  attr_accessor :anon_uid
1162
1146
 
1163
- # List of either an IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`
1164
- # octet 4` or CIDR ranges in the format `octet 1`.`octet 2`.`octet 3`.`octet 4`/`
1165
- # mask size` which may mount the file share. Overlapping IP ranges are not
1147
+ # List of either an IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`
1148
+ # octet4`` or CIDR ranges in the format ``octet1`.`octet2`.`octet3`.`octet4`/`
1149
+ # mask size`` which may mount the file share. Overlapping IP ranges are not
1166
1150
  # allowed, both within and across NfsExportOptions. An error will be returned.
1167
1151
  # The limit is 64 IP ranges/addresses for each FileShareConfig among all
1168
1152
  # NfsExportOptions.
@@ -1262,7 +1246,7 @@ module Google
1262
1246
  attr_accessor :api_version
1263
1247
 
1264
1248
  # Output only. Identifies whether the user has requested cancellation of the
1265
- # operation. Operations that have successfully been cancelled have Operation.
1249
+ # operation. Operations that have been cancelled successfully have Operation.
1266
1250
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1267
1251
  # CANCELLED`.
1268
1252
  # Corresponds to the JSON property `cancelRequested`
@@ -1311,7 +1295,7 @@ module Google
1311
1295
  end
1312
1296
  end
1313
1297
 
1314
- # RestoreInstanceRequest restores an existing instances's file share from a
1298
+ # RestoreInstanceRequest restores an existing instance's file share from a
1315
1299
  # backup.
1316
1300
  class RestoreInstanceRequest
1317
1301
  include Google::Apis::Core::Hashable
@@ -1322,8 +1306,8 @@ module Google
1322
1306
  # @return [String]
1323
1307
  attr_accessor :file_share
1324
1308
 
1325
- # The resource name of the backup, in the format projects/`project_number`/
1326
- # locations/`location_id`/backups/`backup_id`.
1309
+ # The resource name of the backup, in the format `projects/`project_number`/
1310
+ # locations/`location_id`/backups/`backup_id``.
1327
1311
  # Corresponds to the JSON property `sourceBackup`
1328
1312
  # @return [String]
1329
1313
  attr_accessor :source_backup
@@ -1372,6 +1356,59 @@ module Google
1372
1356
  end
1373
1357
  end
1374
1358
 
1359
+ # A Filestore snapshot.
1360
+ class Snapshot
1361
+ include Google::Apis::Core::Hashable
1362
+
1363
+ # Output only. The time when the snapshot was created.
1364
+ # Corresponds to the JSON property `createTime`
1365
+ # @return [String]
1366
+ attr_accessor :create_time
1367
+
1368
+ # A description of the snapshot with 2048 characters or less. Requests with
1369
+ # longer descriptions will be rejected.
1370
+ # Corresponds to the JSON property `description`
1371
+ # @return [String]
1372
+ attr_accessor :description
1373
+
1374
+ # Output only. The amount of bytes needed to allocate a full copy of the
1375
+ # snapshot content
1376
+ # Corresponds to the JSON property `filesystemUsedBytes`
1377
+ # @return [Fixnum]
1378
+ attr_accessor :filesystem_used_bytes
1379
+
1380
+ # Resource labels to represent user provided metadata.
1381
+ # Corresponds to the JSON property `labels`
1382
+ # @return [Hash<String,String>]
1383
+ attr_accessor :labels
1384
+
1385
+ # Output only. The resource name of the snapshot, in the format `projects/`
1386
+ # project_id`/locations/`location_id`/instances/`instance_id`/snapshots/`
1387
+ # snapshot_id``.
1388
+ # Corresponds to the JSON property `name`
1389
+ # @return [String]
1390
+ attr_accessor :name
1391
+
1392
+ # Output only. The snapshot state.
1393
+ # Corresponds to the JSON property `state`
1394
+ # @return [String]
1395
+ attr_accessor :state
1396
+
1397
+ def initialize(**args)
1398
+ update!(**args)
1399
+ end
1400
+
1401
+ # Update properties of this object
1402
+ def update!(**args)
1403
+ @create_time = args[:create_time] if args.key?(:create_time)
1404
+ @description = args[:description] if args.key?(:description)
1405
+ @filesystem_used_bytes = args[:filesystem_used_bytes] if args.key?(:filesystem_used_bytes)
1406
+ @labels = args[:labels] if args.key?(:labels)
1407
+ @name = args[:name] if args.key?(:name)
1408
+ @state = args[:state] if args.key?(:state)
1409
+ end
1410
+ end
1411
+
1375
1412
  # The `Status` type defines a logical error model that is suitable for different
1376
1413
  # programming environments, including REST APIs and RPC APIs. It is used by [
1377
1414
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210721"
25
+ REVISION = "20211105"
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
 
@@ -148,6 +142,12 @@ module Google
148
142
  include Google::Apis::Core::JsonObjectSupport
149
143
  end
150
144
 
145
+ class ListSnapshotsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
151
  class Location
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class Snapshot
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class Status
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -346,8 +352,6 @@ module Google
346
352
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
347
353
  # @private
348
354
  class Representation < Google::Apis::Core::JsonRepresentation
349
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
350
-
351
355
  property :location, as: 'location'
352
356
  property :node_id, as: 'nodeId'
353
357
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -379,21 +383,9 @@ module Google
379
383
  end
380
384
  end
381
385
 
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
386
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
393
387
  # @private
394
388
  class Representation < Google::Apis::Core::JsonRepresentation
395
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
396
-
397
389
  collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
398
390
 
399
391
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -410,6 +402,7 @@ module Google
410
402
  property :etag, as: 'etag'
411
403
  collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
412
404
 
405
+ property :kms_key_name, as: 'kmsKeyName'
413
406
  hash :labels, as: 'labels'
414
407
  property :name, as: 'name'
415
408
  collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
@@ -417,6 +410,7 @@ module Google
417
410
  property :satisfies_pzs, as: 'satisfiesPzs'
418
411
  property :state, as: 'state'
419
412
  property :status_message, as: 'statusMessage'
413
+ collection :suspension_reasons, as: 'suspensionReasons'
420
414
  property :tier, as: 'tier'
421
415
  end
422
416
  end
@@ -459,6 +453,15 @@ module Google
459
453
  end
460
454
  end
461
455
 
456
+ class ListSnapshotsResponse
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :next_page_token, as: 'nextPageToken'
460
+ collection :snapshots, as: 'snapshots', class: Google::Apis::FileV1::Snapshot, decorator: Google::Apis::FileV1::Snapshot::Representation
461
+
462
+ end
463
+ end
464
+
462
465
  class Location
463
466
  # @private
464
467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -497,6 +500,7 @@ module Google
497
500
  class NetworkConfig
498
501
  # @private
499
502
  class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :connect_mode, as: 'connectMode'
500
504
  collection :ip_addresses, as: 'ipAddresses'
501
505
  collection :modes, as: 'modes'
502
506
  property :network, as: 'network'
@@ -558,6 +562,18 @@ module Google
558
562
  end
559
563
  end
560
564
 
565
+ class Snapshot
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :create_time, as: 'createTime'
569
+ property :description, as: 'description'
570
+ property :filesystem_used_bytes, :numeric_string => true, as: 'filesystemUsedBytes'
571
+ hash :labels, as: 'labels'
572
+ property :name, as: 'name'
573
+ property :state, as: 'state'
574
+ end
575
+ end
576
+
561
577
  class Status
562
578
  # @private
563
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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,11 @@ 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
+ # @param [Boolean] force
364
+ # If set to true, all snapshots of the instance will also be deleted. (Otherwise,
365
+ # the request will only work if the instance has no snapshots.)
363
366
  # @param [String] fields
364
367
  # Selector specifying which fields to include in a partial response.
365
368
  # @param [String] quota_user
@@ -377,11 +380,12 @@ module Google
377
380
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
378
381
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
379
382
  # @raise [Google::Apis::AuthorizationError] Authorization is required
380
- def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
383
+ def delete_project_location_instance(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
381
384
  command = make_simple_command(:delete, 'v1/{+name}', options)
382
385
  command.response_representation = Google::Apis::FileV1::Operation::Representation
383
386
  command.response_class = Google::Apis::FileV1::Operation
384
387
  command.params['name'] = name unless name.nil?
388
+ command.query['force'] = force unless force.nil?
385
389
  command.query['fields'] = fields unless fields.nil?
386
390
  command.query['quotaUser'] = quota_user unless quota_user.nil?
387
391
  execute_or_queue_command(command, &block)
@@ -389,8 +393,8 @@ module Google
389
393
 
390
394
  # Gets the details of a specific instance.
391
395
  # @param [String] name
392
- # Required. The instance resource name, in the format projects/`project_id`/
393
- # locations/`location`/instances/`instance_id`.
396
+ # Required. The instance resource name, in the format `projects/`project_id`/
397
+ # locations/`location`/instances/`instance_id``.
394
398
  # @param [String] fields
395
399
  # Selector specifying which fields to include in a partial response.
396
400
  # @param [String] quota_user
@@ -422,9 +426,9 @@ module Google
422
426
  # locations.
423
427
  # @param [String] parent
424
428
  # Required. The project and location for which to retrieve instance information,
425
- # in the format projects/`project_id`/locations/`location`. In Cloud Filestore,
429
+ # in the format `projects/`project_id`/locations/`location``. In Cloud Filestore,
426
430
  # locations map to GCP zones, for example **us-west1-b**. To retrieve instance
427
- # information for all locations, use "-" for the `location` value.
431
+ # information for all locations, use "-" for the ``location`` value.
428
432
  # @param [String] filter
429
433
  # List filter.
430
434
  # @param [String] order_by
@@ -467,8 +471,8 @@ module Google
467
471
 
468
472
  # Updates the settings of a specific instance.
469
473
  # @param [String] name
470
- # Output only. The resource name of the instance, in the format projects/`
471
- # project`/locations/`location`/instances/`instance`.
474
+ # Output only. The resource name of the instance, in the format `projects/`
475
+ # project`/locations/`location`/instances/`instance``.
472
476
  # @param [Google::Apis::FileV1::Instance] instance_object
473
477
  # @param [String] update_mask
474
478
  # Mask of fields to update. At least one path must be supplied in this field.
@@ -508,8 +512,8 @@ module Google
508
512
  # instance needs to be equal to or larger than the capacity of the backup (and
509
513
  # also equal to or larger than the minimum capacity of the tier).
510
514
  # @param [String] name
511
- # Required. The resource name of the instance, in the format projects/`
512
- # project_number`/locations/`location_id`/instances/`instance_id`.
515
+ # Required. The resource name of the instance, in the format `projects/`
516
+ # project_number`/locations/`location_id`/instances/`instance_id``.
513
517
  # @param [Google::Apis::FileV1::RestoreInstanceRequest] restore_instance_request_object
514
518
  # @param [String] fields
515
519
  # Selector specifying which fields to include in a partial response.
@@ -540,6 +544,191 @@ module Google
540
544
  execute_or_queue_command(command, &block)
541
545
  end
542
546
 
547
+ # Creates a snapshot.
548
+ # @param [String] parent
549
+ # Required. The Filestore Instance to create the snapshots of, in the format `
550
+ # projects/`project_id`/locations/`location`/instances/`instance_id``
551
+ # @param [Google::Apis::FileV1::Snapshot] snapshot_object
552
+ # @param [String] snapshot_id
553
+ # Required. The ID to use for the snapshot. The ID must be unique within the
554
+ # specified instance. This value must start with a lowercase letter followed by
555
+ # up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
556
+ # @param [String] fields
557
+ # Selector specifying which fields to include in a partial response.
558
+ # @param [String] quota_user
559
+ # Available to use for quota purposes for server-side applications. Can be any
560
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
561
+ # @param [Google::Apis::RequestOptions] options
562
+ # Request-specific options
563
+ #
564
+ # @yield [result, err] Result & error if block supplied
565
+ # @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
566
+ # @yieldparam err [StandardError] error object if request failed
567
+ #
568
+ # @return [Google::Apis::FileV1::Operation]
569
+ #
570
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
571
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
573
+ def create_project_location_instance_snapshot(parent, snapshot_object = nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
574
+ command = make_simple_command(:post, 'v1/{+parent}/snapshots', options)
575
+ command.request_representation = Google::Apis::FileV1::Snapshot::Representation
576
+ command.request_object = snapshot_object
577
+ command.response_representation = Google::Apis::FileV1::Operation::Representation
578
+ command.response_class = Google::Apis::FileV1::Operation
579
+ command.params['parent'] = parent unless parent.nil?
580
+ command.query['snapshotId'] = snapshot_id unless snapshot_id.nil?
581
+ command.query['fields'] = fields unless fields.nil?
582
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
583
+ execute_or_queue_command(command, &block)
584
+ end
585
+
586
+ # Deletes a snapshot.
587
+ # @param [String] name
588
+ # Required. The snapshot resource name, in the format `projects/`project_id`/
589
+ # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id``
590
+ # @param [String] fields
591
+ # Selector specifying which fields to include in a partial response.
592
+ # @param [String] quota_user
593
+ # Available to use for quota purposes for server-side applications. Can be any
594
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
595
+ # @param [Google::Apis::RequestOptions] options
596
+ # Request-specific options
597
+ #
598
+ # @yield [result, err] Result & error if block supplied
599
+ # @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
600
+ # @yieldparam err [StandardError] error object if request failed
601
+ #
602
+ # @return [Google::Apis::FileV1::Operation]
603
+ #
604
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
605
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
606
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
607
+ def delete_project_location_instance_snapshot(name, fields: nil, quota_user: nil, options: nil, &block)
608
+ command = make_simple_command(:delete, 'v1/{+name}', options)
609
+ command.response_representation = Google::Apis::FileV1::Operation::Representation
610
+ command.response_class = Google::Apis::FileV1::Operation
611
+ command.params['name'] = name unless name.nil?
612
+ command.query['fields'] = fields unless fields.nil?
613
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
614
+ execute_or_queue_command(command, &block)
615
+ end
616
+
617
+ # Gets the details of a specific snapshot.
618
+ # @param [String] name
619
+ # Required. The snapshot resource name, in the format `projects/`project_id`/
620
+ # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id``
621
+ # @param [String] fields
622
+ # Selector specifying which fields to include in a partial response.
623
+ # @param [String] quota_user
624
+ # Available to use for quota purposes for server-side applications. Can be any
625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
626
+ # @param [Google::Apis::RequestOptions] options
627
+ # Request-specific options
628
+ #
629
+ # @yield [result, err] Result & error if block supplied
630
+ # @yieldparam result [Google::Apis::FileV1::Snapshot] parsed result object
631
+ # @yieldparam err [StandardError] error object if request failed
632
+ #
633
+ # @return [Google::Apis::FileV1::Snapshot]
634
+ #
635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
638
+ def get_project_location_instance_snapshot(name, fields: nil, quota_user: nil, options: nil, &block)
639
+ command = make_simple_command(:get, 'v1/{+name}', options)
640
+ command.response_representation = Google::Apis::FileV1::Snapshot::Representation
641
+ command.response_class = Google::Apis::FileV1::Snapshot
642
+ command.params['name'] = name unless name.nil?
643
+ command.query['fields'] = fields unless fields.nil?
644
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
645
+ execute_or_queue_command(command, &block)
646
+ end
647
+
648
+ # Lists all snapshots in a project for either a specified location or for all
649
+ # locations.
650
+ # @param [String] parent
651
+ # Required. The instance for which to retrieve snapshot information, in the
652
+ # format `projects/`project_id`/locations/`location`/instances/`instance_id``.
653
+ # @param [String] filter
654
+ # List filter.
655
+ # @param [String] order_by
656
+ # Sort results. Supported values are "name", "name desc" or "" (unsorted).
657
+ # @param [Fixnum] page_size
658
+ # The maximum number of items to return.
659
+ # @param [String] page_token
660
+ # The next_page_token value to use if there are additional results to retrieve
661
+ # for this list request.
662
+ # @param [String] fields
663
+ # Selector specifying which fields to include in a partial response.
664
+ # @param [String] quota_user
665
+ # Available to use for quota purposes for server-side applications. Can be any
666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
667
+ # @param [Google::Apis::RequestOptions] options
668
+ # Request-specific options
669
+ #
670
+ # @yield [result, err] Result & error if block supplied
671
+ # @yieldparam result [Google::Apis::FileV1::ListSnapshotsResponse] parsed result object
672
+ # @yieldparam err [StandardError] error object if request failed
673
+ #
674
+ # @return [Google::Apis::FileV1::ListSnapshotsResponse]
675
+ #
676
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
677
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
678
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
679
+ def list_project_location_instance_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
680
+ command = make_simple_command(:get, 'v1/{+parent}/snapshots', options)
681
+ command.response_representation = Google::Apis::FileV1::ListSnapshotsResponse::Representation
682
+ command.response_class = Google::Apis::FileV1::ListSnapshotsResponse
683
+ command.params['parent'] = parent unless parent.nil?
684
+ command.query['filter'] = filter unless filter.nil?
685
+ command.query['orderBy'] = order_by unless order_by.nil?
686
+ command.query['pageSize'] = page_size unless page_size.nil?
687
+ command.query['pageToken'] = page_token unless page_token.nil?
688
+ command.query['fields'] = fields unless fields.nil?
689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
690
+ execute_or_queue_command(command, &block)
691
+ end
692
+
693
+ # Updates the settings of a specific snapshot.
694
+ # @param [String] name
695
+ # Output only. The resource name of the snapshot, in the format `projects/`
696
+ # project_id`/locations/`location_id`/instances/`instance_id`/snapshots/`
697
+ # snapshot_id``.
698
+ # @param [Google::Apis::FileV1::Snapshot] snapshot_object
699
+ # @param [String] update_mask
700
+ # Required. Mask of fields to update. At least one path must be supplied in this
701
+ # field.
702
+ # @param [String] fields
703
+ # Selector specifying which fields to include in a partial response.
704
+ # @param [String] quota_user
705
+ # Available to use for quota purposes for server-side applications. Can be any
706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
707
+ # @param [Google::Apis::RequestOptions] options
708
+ # Request-specific options
709
+ #
710
+ # @yield [result, err] Result & error if block supplied
711
+ # @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
712
+ # @yieldparam err [StandardError] error object if request failed
713
+ #
714
+ # @return [Google::Apis::FileV1::Operation]
715
+ #
716
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
717
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
718
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
719
+ def patch_project_location_instance_snapshot(name, snapshot_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
720
+ command = make_simple_command(:patch, 'v1/{+name}', options)
721
+ command.request_representation = Google::Apis::FileV1::Snapshot::Representation
722
+ command.request_object = snapshot_object
723
+ command.response_representation = Google::Apis::FileV1::Operation::Representation
724
+ command.response_class = Google::Apis::FileV1::Operation
725
+ command.params['name'] = name unless name.nil?
726
+ command.query['updateMask'] = update_mask unless update_mask.nil?
727
+ command.query['fields'] = fields unless fields.nil?
728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
729
+ execute_or_queue_command(command, &block)
730
+ end
731
+
543
732
  # Starts asynchronous cancellation on a long-running operation. The server makes
544
733
  # a best effort to cancel the operation, but success is not guaranteed. If the
545
734
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -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
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.11.0
4
+ version: 0.15.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-02 00:00:00.000000000 Z
11
+ date: 2021-11-15 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/master/generated/google-apis-file_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1
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.15.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: