google-apis-file_v1beta1 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: 14495da876f17bdf1ab605f5eedc59aca13821e4fec3660371aa497948cedc4e
4
- data.tar.gz: e605e34a0fa3394b7171dc09d8964c4b8af91b7c9bd5a02e2092f1c915b0aa1f
3
+ metadata.gz: b2775b6000e49c84437d4775cc7f29208442a5ad12c1cb1f0ef145025ad74aa1
4
+ data.tar.gz: b496b0b8c4d93de283ee90c2dc481b9e51d873e92d5c4b5f3fbbeb783fc07bcb
5
5
  SHA512:
6
- metadata.gz: 5cc2ab4b1a09f8a314966499123f6fc069adc12d39ca84207756ad481b763bffc3c1e1f8a3ffe8620fc6763ad5f63fff625171954fd6b5c0d6ffe01db44930aa
7
- data.tar.gz: 898082d081109b484638dfbb781cadef20892a3106b974ec3b93cdf23405f7c8a7ad78dfa706d6a9c972c62fa69f8aa28d48172665fd8e8db81eae89a48723a9
6
+ metadata.gz: 9434e65585e6b083a30efdb355cdaa40190b981970d44376f89102afcad9af3c6c1b3c8da1b68f3e68582f85e905c63d80701adb801b61f92968601f81c9cd3b
7
+ data.tar.gz: b8db4019cc2c6302b25b88685fa65db61e10a2f9ed7e8ef2cb9f6d14ce3e2966c72700aec14d477f98032215f213328043628a3d087e010be64665d2b1bb25aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-09-07)
4
+
5
+ * Regenerated from discovery document revision 20210822
6
+
7
+ ### v0.14.0 (2021-08-28)
8
+
9
+ * Regenerated from discovery document revision 20210810
10
+
11
+ ### v0.13.0 (2021-08-19)
12
+
13
+ * Regenerated from discovery document revision 20210804
14
+
15
+ ### v0.12.0 (2021-08-04)
16
+
17
+ * Regenerated from discovery document revision 20210727
18
+
3
19
  ### v0.11.0 (2021-07-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210721
@@ -52,8 +52,8 @@ module Google
52
52
  # @return [Hash<String,String>]
53
53
  attr_accessor :labels
54
54
 
55
- # Output only. The resource name of the backup, in the format projects/`
56
- # project_id`/locations/`location_id`/backups/`backup_id`.
55
+ # Output only. The resource name of the backup, in the format `projects/`
56
+ # project_id`/locations/`location_id`/backups/`backup_id``.
57
57
  # Corresponds to the JSON property `name`
58
58
  # @return [String]
59
59
  attr_accessor :name
@@ -70,9 +70,9 @@ module Google
70
70
  # @return [String]
71
71
  attr_accessor :source_file_share
72
72
 
73
- # The resource name of the source Cloud Filestore instance, in the format
74
- # projects/`project_id`/locations/`location_id`/instances/`instance_id`, used to
75
- # create this backup.
73
+ # The resource name of the source Cloud Filestore instance, in the format `
74
+ # projects/`project_id`/locations/`location_id`/instances/`instance_id``, used
75
+ # to create this backup.
76
76
  # Corresponds to the JSON property `sourceInstance`
77
77
  # @return [String]
78
78
  attr_accessor :source_instance
@@ -271,8 +271,8 @@ module Google
271
271
  # @return [Fixnum]
272
272
  attr_accessor :capacity_gb
273
273
 
274
- # The name of the file share (must be 32 characters or less for High Scale SSD
275
- # tier, 16 characters or less for all other tiers).
274
+ # The name of the file share (must be 32 characters or less for Enterprise and
275
+ # High Scale SSD tiers and 16 characters or less for all other tiers).
276
276
  # Corresponds to the JSON property `name`
277
277
  # @return [String]
278
278
  attr_accessor :name
@@ -282,8 +282,9 @@ module Google
282
282
  # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
283
283
  attr_accessor :nfs_export_options
284
284
 
285
- # The resource name of the backup, in the format projects/`project_id`/locations/
286
- # `location_id`/backups/`backup_id`, that this file share has been restored from.
285
+ # The resource name of the backup, in the format `projects/`project_id`/
286
+ # locations/`location_id`/backups/`backup_id``, that this file share has been
287
+ # restored from.
287
288
  # Corresponds to the JSON property `sourceBackup`
288
289
  # @return [String]
289
290
  attr_accessor :source_backup
@@ -526,14 +527,6 @@ module Google
526
527
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
527
528
  include Google::Apis::Core::Hashable
528
529
 
529
- # By default node is eligible if instance is eligible. But individual node might
530
- # be excluded from SLO by adding entry here. For semantic see SloMetadata.
531
- # exclusions. If both instance and node level exclusions are present for time
532
- # period, the node level's reason will be reported by Eligibility Exporter.
533
- # Corresponds to the JSON property `exclusions`
534
- # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
535
- attr_accessor :exclusions
536
-
537
530
  # The location of the node, if different from instance location.
538
531
  # Corresponds to the JSON property `location`
539
532
  # @return [String]
@@ -555,7 +548,6 @@ module Google
555
548
 
556
549
  # Update properties of this object
557
550
  def update!(**args)
558
- @exclusions = args[:exclusions] if args.key?(:exclusions)
559
551
  @location = args[:location] if args.key?(:location)
560
552
  @node_id = args[:node_id] if args.key?(:node_id)
561
553
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -650,71 +642,11 @@ module Google
650
642
  end
651
643
  end
652
644
 
653
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
654
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
655
- include Google::Apis::Core::Hashable
656
-
657
- # Exclusion duration. No restrictions on the possible values. When an ongoing
658
- # operation is taking longer than initially expected, an existing entry in the
659
- # exclusion list can be updated by extending the duration. This is supported by
660
- # the subsystem exporting eligibility data as long as such extension is
661
- # committed at least 10 minutes before the original exclusion expiration -
662
- # otherwise it is possible that there will be "gaps" in the exclusion
663
- # application in the exported timeseries.
664
- # Corresponds to the JSON property `duration`
665
- # @return [String]
666
- attr_accessor :duration
667
-
668
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
669
- # Disruptive update in progress") and should not contain dynamically generated
670
- # data (e.g. instance name). Can be left empty.
671
- # Corresponds to the JSON property `reason`
672
- # @return [String]
673
- attr_accessor :reason
674
-
675
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
676
- # that the instance should be excluded from all SLIs.
677
- # Corresponds to the JSON property `sliName`
678
- # @return [String]
679
- attr_accessor :sli_name
680
-
681
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
682
- # Corresponds to the JSON property `startTime`
683
- # @return [String]
684
- attr_accessor :start_time
685
-
686
- def initialize(**args)
687
- update!(**args)
688
- end
689
-
690
- # Update properties of this object
691
- def update!(**args)
692
- @duration = args[:duration] if args.key?(:duration)
693
- @reason = args[:reason] if args.key?(:reason)
694
- @sli_name = args[:sli_name] if args.key?(:sli_name)
695
- @start_time = args[:start_time] if args.key?(:start_time)
696
- end
697
- end
698
-
699
645
  # SloMetadata contains resources required for proper SLO classification of the
700
646
  # instance.
701
647
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
702
648
  include Google::Apis::Core::Hashable
703
649
 
704
- # List of SLO exclusion windows. When multiple entries in the list match (
705
- # matching the exclusion time-window against current time point) the exclusion
706
- # reason used in the first matching entry will be published. It is not needed to
707
- # include expired exclusion in this list, as only the currently applicable
708
- # exclusions are taken into account by the eligibility exporting subsystem (the
709
- # historical state of exclusions will be reflected in the historically produced
710
- # timeseries regardless of the current state). This field can be used to mark
711
- # the instance as temporary ineligible for the purpose of SLO calculation. For
712
- # permanent instance SLO exclusion, use of custom instance eligibility is
713
- # recommended. See 'eligibility' field below.
714
- # Corresponds to the JSON property `exclusions`
715
- # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
716
- attr_accessor :exclusions
717
-
718
650
  # Optional. List of nodes. Some producers need to use per-node metadata to
719
651
  # calculate SLO. This field allows such producers to publish per-node SLO meta
720
652
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -741,7 +673,6 @@ module Google
741
673
 
742
674
  # Update properties of this object
743
675
  def update!(**args)
744
- @exclusions = args[:exclusions] if args.key?(:exclusions)
745
676
  @nodes = args[:nodes] if args.key?(:nodes)
746
677
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
747
678
  @tier = args[:tier] if args.key?(:tier)
@@ -774,13 +705,18 @@ module Google
774
705
  # @return [Array<Google::Apis::FileV1beta1::FileShareConfig>]
775
706
  attr_accessor :file_shares
776
707
 
708
+ # KMS key name used for data encryption.
709
+ # Corresponds to the JSON property `kmsKeyName`
710
+ # @return [String]
711
+ attr_accessor :kms_key_name
712
+
777
713
  # Resource labels to represent user provided metadata.
778
714
  # Corresponds to the JSON property `labels`
779
715
  # @return [Hash<String,String>]
780
716
  attr_accessor :labels
781
717
 
782
- # Output only. The resource name of the instance, in the format projects/`
783
- # project_id`/locations/`location_id`/instances/`instance_id`.
718
+ # Output only. The resource name of the instance, in the format `projects/`
719
+ # project_id`/locations/`location_id`/instances/`instance_id``.
784
720
  # Corresponds to the JSON property `name`
785
721
  # @return [String]
786
722
  attr_accessor :name
@@ -807,6 +743,12 @@ module Google
807
743
  # @return [String]
808
744
  attr_accessor :status_message
809
745
 
746
+ # Output only. field indicates all the reasons the instance is in "SUSPENDED"
747
+ # state.
748
+ # Corresponds to the JSON property `suspensionReasons`
749
+ # @return [Array<String>]
750
+ attr_accessor :suspension_reasons
751
+
810
752
  # The service tier of the instance.
811
753
  # Corresponds to the JSON property `tier`
812
754
  # @return [String]
@@ -822,12 +764,14 @@ module Google
822
764
  @description = args[:description] if args.key?(:description)
823
765
  @etag = args[:etag] if args.key?(:etag)
824
766
  @file_shares = args[:file_shares] if args.key?(:file_shares)
767
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
825
768
  @labels = args[:labels] if args.key?(:labels)
826
769
  @name = args[:name] if args.key?(:name)
827
770
  @networks = args[:networks] if args.key?(:networks)
828
771
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
829
772
  @state = args[:state] if args.key?(:state)
830
773
  @status_message = args[:status_message] if args.key?(:status_message)
774
+ @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
831
775
  @tier = args[:tier] if args.key?(:tier)
832
776
  end
833
777
  end
@@ -836,9 +780,9 @@ module Google
836
780
  class ListBackupsResponse
837
781
  include Google::Apis::Core::Hashable
838
782
 
839
- # A list of backups in the project for the specified location. If the `location`
840
- # value in the request is "-", the response contains a list of backups from all
841
- # locations. If any location is unreachable, the response will only return
783
+ # A list of backups in the project for the specified location. If the ``location`
784
+ # ` value in the request is "-", the response contains a list of backups from
785
+ # all locations. If any location is unreachable, the response will only return
842
786
  # backups in reachable locations and the "unreachable" field will be populated
843
787
  # with a list of unreachable locations.
844
788
  # Corresponds to the JSON property `backups`
@@ -872,8 +816,8 @@ module Google
872
816
  class ListInstancesResponse
873
817
  include Google::Apis::Core::Hashable
874
818
 
875
- # A list of instances in the project for the specified location. If the `
876
- # location` value in the request is "-", the response contains a list of
819
+ # A list of instances in the project for the specified location. If the ``
820
+ # location`` value in the request is "-", the response contains a list of
877
821
  # instances from all locations. If any location is unreachable, the response
878
822
  # will only return instances in reachable locations and the "unreachable" field
879
823
  # will be populated with a list of unreachable locations.
@@ -1124,9 +1068,9 @@ module Google
1124
1068
  # @return [String]
1125
1069
  attr_accessor :connect_mode
1126
1070
 
1127
- # Output only. IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`octet
1128
- # 4` or IPv6 addresses in the format `block 1`:`block 2`:`block 3`:`block 4`:`
1129
- # block 5`:`block 6`:`block 7`:`block 8`.
1071
+ # Output only. IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`octet4``
1072
+ # or IPv6 addresses in the format ``block1`:`block2`:`block3`:`block4`:`block5`:
1073
+ # `block6`:`block7`:`block8``.
1130
1074
  # Corresponds to the JSON property `ipAddresses`
1131
1075
  # @return [Array<String>]
1132
1076
  attr_accessor :ip_addresses
@@ -1137,24 +1081,25 @@ module Google
1137
1081
  # @return [Array<String>]
1138
1082
  attr_accessor :modes
1139
1083
 
1140
- # The name of the Google Compute Engine [VPC network](/compute/docs/networks-and-
1141
- # firewalls#networks) to which the instance is connected.
1084
+ # The name of the Google Compute Engine [VPC network](https://cloud.google.com/
1085
+ # vpc/docs/vpc) to which the instance is connected.
1142
1086
  # Corresponds to the JSON property `network`
1143
1087
  # @return [String]
1144
1088
  attr_accessor :network
1145
1089
 
1146
1090
  # Optional, reserved_ip_range can have one of the following two types of values.
1147
- # * CIDR range value when using DIRECT_PEERING connect mode. * [Named Address
1148
- # Range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-
1149
- # internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. For both
1150
- # cases, the range value (direct CIDR value or the range value with which the
1151
- # named range was created) must be a /29 CIDR block for Basic tier or a /23 CIDR
1152
- # block for High Scale or Enterprise tier in one of the [internal IP address
1153
- # ranges](https://www.arin.net/knowledge/address_filters.html) that identifies
1154
- # the range of IP addresses reserved for this instance. For example, 10.0.0.0/29
1155
- # or 192.168.0.0/23. The range you specify can't overlap with either existing
1156
- # subnets or assigned IP address ranges for other Cloud Filestore instances in
1157
- # the selected VPC network.
1091
+ # * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP
1092
+ # address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-
1093
+ # static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode.
1094
+ # When the name of an allocated IP address range is specified, it must be one of
1095
+ # the ranges associated with the private service access connection. When
1096
+ # specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier
1097
+ # or a /24 CIDR block for High Scale or Enterprise tier in one of the [internal
1098
+ # IP address ranges](https://www.arin.net/reference/research/statistics/
1099
+ # address_filters/) that identifies the range of IP addresses reserved for this
1100
+ # instance. For example, 10.0.0.0/29 or 192.168.0.0/24. The range you specify
1101
+ # can't overlap with either existing subnets or assigned IP address ranges for
1102
+ # other Cloud Filestore instances in the selected VPC network.
1158
1103
  # Corresponds to the JSON property `reservedIpRange`
1159
1104
  # @return [String]
1160
1105
  attr_accessor :reserved_ip_range
@@ -1198,9 +1143,9 @@ module Google
1198
1143
  # @return [Fixnum]
1199
1144
  attr_accessor :anon_uid
1200
1145
 
1201
- # List of either an IPv4 addresses in the format `octet 1`.`octet 2`.`octet 3`.`
1202
- # octet 4` or CIDR ranges in the format `octet 1`.`octet 2`.`octet 3`.`octet 4`/`
1203
- # mask size` which may mount the file share. Overlapping IP ranges are not
1146
+ # List of either an IPv4 addresses in the format ``octet1`.`octet2`.`octet3`.`
1147
+ # octet4`` or CIDR ranges in the format ``octet1`.`octet2`.`octet3`.`octet4`/`
1148
+ # mask size`` which may mount the file share. Overlapping IP ranges are not
1204
1149
  # allowed, both within and across NfsExportOptions. An error will be returned.
1205
1150
  # The limit is 64 IP ranges/addresses for each FileShareConfig among all
1206
1151
  # NfsExportOptions.
@@ -1300,7 +1245,7 @@ module Google
1300
1245
  attr_accessor :api_version
1301
1246
 
1302
1247
  # Output only. Identifies whether the user has requested cancellation of the
1303
- # operation. Operations that have successfully been cancelled have Operation.
1248
+ # operation. Operations that have been cancelled successfully have Operation.
1304
1249
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1305
1250
  # CANCELLED`.
1306
1251
  # Corresponds to the JSON property `cancelRequested`
@@ -1360,14 +1305,14 @@ module Google
1360
1305
  # @return [String]
1361
1306
  attr_accessor :file_share
1362
1307
 
1363
- # The resource name of the backup, in the format projects/`project_id`/locations/
1364
- # `location_id`/backups/`backup_id`.
1308
+ # The resource name of the backup, in the format `projects/`project_id`/
1309
+ # locations/`location_id`/backups/`backup_id``.
1365
1310
  # Corresponds to the JSON property `sourceBackup`
1366
1311
  # @return [String]
1367
1312
  attr_accessor :source_backup
1368
1313
 
1369
- # The resource name of the snapshot, in the format projects/`project_id`/
1370
- # locations/`location_id`/snapshots/`snapshot_id`.
1314
+ # The resource name of the snapshot, in the format `projects/`project_id`/
1315
+ # locations/`location_id`/snapshots/`snapshot_id``.
1371
1316
  # Corresponds to the JSON property `sourceSnapshot`
1372
1317
  # @return [String]
1373
1318
  attr_accessor :source_snapshot
@@ -1443,9 +1388,9 @@ module Google
1443
1388
  # @return [Hash<String,String>]
1444
1389
  attr_accessor :labels
1445
1390
 
1446
- # Output only. The resource name of the snapshot, in the format projects/`
1391
+ # Output only. The resource name of the snapshot, in the format `projects/`
1447
1392
  # project_id`/locations/`location_id`/instances/`instance_id`/snapshots/`
1448
- # snapshot_id`.
1393
+ # snapshot_id``.
1449
1394
  # Corresponds to the JSON property `name`
1450
1395
  # @return [String]
1451
1396
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1beta1
18
18
  # Version of the google-apis-file_v1beta1 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 = "20210822"
26
26
  end
27
27
  end
28
28
  end
@@ -106,12 +106,6 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
109
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
116
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
111
 
@@ -358,8 +352,6 @@ module Google
358
352
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
359
353
  # @private
360
354
  class Representation < Google::Apis::Core::JsonRepresentation
361
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
362
-
363
355
  property :location, as: 'location'
364
356
  property :node_id, as: 'nodeId'
365
357
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -391,21 +383,9 @@ module Google
391
383
  end
392
384
  end
393
385
 
394
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
395
- # @private
396
- class Representation < Google::Apis::Core::JsonRepresentation
397
- property :duration, as: 'duration'
398
- property :reason, as: 'reason'
399
- property :sli_name, as: 'sliName'
400
- property :start_time, as: 'startTime'
401
- end
402
- end
403
-
404
386
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
405
387
  # @private
406
388
  class Representation < Google::Apis::Core::JsonRepresentation
407
- collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
408
-
409
389
  collection :nodes, as: 'nodes', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
410
390
 
411
391
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -422,6 +402,7 @@ module Google
422
402
  property :etag, as: 'etag'
423
403
  collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1beta1::FileShareConfig, decorator: Google::Apis::FileV1beta1::FileShareConfig::Representation
424
404
 
405
+ property :kms_key_name, as: 'kmsKeyName'
425
406
  hash :labels, as: 'labels'
426
407
  property :name, as: 'name'
427
408
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
@@ -429,6 +410,7 @@ module Google
429
410
  property :satisfies_pzs, as: 'satisfiesPzs'
430
411
  property :state, as: 'state'
431
412
  property :status_message, as: 'statusMessage'
413
+ collection :suspension_reasons, as: 'suspensionReasons'
432
414
  property :tier, as: 'tier'
433
415
  end
434
416
  end
@@ -127,8 +127,8 @@ 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_id`/locations/`location`. In Cloud Filestore, backup locations map to
130
+ # Required. The backup's project and location, in the format `projects/`
131
+ # project_id`/locations/`location``. In Cloud Filestore, backup locations map to
132
132
  # GCP regions, for example **us-west1**.
133
133
  # @param [Google::Apis::FileV1beta1::Backup] backup_object
134
134
  # @param [String] backup_id
@@ -168,8 +168,8 @@ module Google
168
168
 
169
169
  # Deletes a backup.
170
170
  # @param [String] name
171
- # Required. The backup resource name, in the format projects/`project_id`/
172
- # locations/`location`/backups/`backup_id`
171
+ # Required. The backup resource name, in the format `projects/`project_id`/
172
+ # locations/`location`/backups/`backup_id``
173
173
  # @param [String] fields
174
174
  # Selector specifying which fields to include in a partial response.
175
175
  # @param [String] quota_user
@@ -199,8 +199,8 @@ module Google
199
199
 
200
200
  # Gets the details of a specific backup.
201
201
  # @param [String] name
202
- # Required. The backup resource name, in the format projects/`project_id`/
203
- # locations/`location`/backups/`backup_id`.
202
+ # Required. The backup resource name, in the format `projects/`project_id`/
203
+ # locations/`location`/backups/`backup_id``.
204
204
  # @param [String] fields
205
205
  # Selector specifying which fields to include in a partial response.
206
206
  # @param [String] quota_user
@@ -232,9 +232,9 @@ module Google
232
232
  # locations.
233
233
  # @param [String] parent
234
234
  # Required. The project and location for which to retrieve backup information,
235
- # in the format projects/`project_id`/locations/`location`. In Cloud Filestore,
235
+ # in the format `projects/`project_id`/locations/`location``. In Cloud Filestore,
236
236
  # backup locations map to GCP regions, for example **us-west1**. To retrieve
237
- # backup information for all locations, use "-" for the `location` value.
237
+ # backup information for all locations, use "-" for the ``location`` value.
238
238
  # @param [String] filter
239
239
  # List filter.
240
240
  # @param [String] order_by
@@ -277,8 +277,8 @@ module Google
277
277
 
278
278
  # Updates the settings of a specific backup.
279
279
  # @param [String] name
280
- # Output only. The resource name of the backup, in the format projects/`
281
- # project_id`/locations/`location_id`/backups/`backup_id`.
280
+ # Output only. The resource name of the backup, in the format `projects/`
281
+ # project_id`/locations/`location_id`/backups/`backup_id``.
282
282
  # @param [Google::Apis::FileV1beta1::Backup] backup_object
283
283
  # @param [String] update_mask
284
284
  # Required. Mask of fields to update. At least one path must be supplied in this
@@ -317,8 +317,8 @@ module Google
317
317
  # instance needs to be equal to or larger than the capacity of the backup (and
318
318
  # also equal to or larger than the minimum capacity of the tier).
319
319
  # @param [String] parent
320
- # Required. The instance's project and location, in the format projects/`
321
- # project_id`/locations/`location`. In Cloud Filestore, locations map to GCP
320
+ # Required. The instance's project and location, in the format `projects/`
321
+ # project_id`/locations/`location``. In Cloud Filestore, locations map to GCP
322
322
  # zones, for example **us-west1-b**.
323
323
  # @param [Google::Apis::FileV1beta1::Instance] instance_object
324
324
  # @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, any 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, 'v1beta1/{+name}', options)
382
385
  command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
383
386
  command.response_class = Google::Apis::FileV1beta1::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_id`/locations/`location_id`/instances/`instance_id`.
474
+ # Output only. The resource name of the instance, in the format `projects/`
475
+ # project_id`/locations/`location_id`/instances/`instance_id``.
472
476
  # @param [Google::Apis::FileV1beta1::Instance] instance_object
473
477
  # @param [String] update_mask
474
478
  # Required. Mask of fields to update. At least one path must be supplied in this
@@ -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_id`/locations/`location_id`/instances/`instance_id`.
515
+ # Required. The resource name of the instance, in the format `projects/`
516
+ # project_id`/locations/`location_id`/instances/`instance_id``.
513
517
  # @param [Google::Apis::FileV1beta1::RestoreInstanceRequest] restore_instance_request_object
514
518
  # @param [String] fields
515
519
  # Selector specifying which fields to include in a partial response.
@@ -542,8 +546,8 @@ module Google
542
546
 
543
547
  # Creates a snapshot.
544
548
  # @param [String] parent
545
- # Required. The Filestore Instance to create the snapshots of, in the format
546
- # projects/`project_id`/locations/`location`/instances/`instance_id`
549
+ # Required. The Filestore Instance to create the snapshots of, in the format `
550
+ # projects/`project_id`/locations/`location`/instances/`instance_id``
547
551
  # @param [Google::Apis::FileV1beta1::Snapshot] snapshot_object
548
552
  # @param [String] snapshot_id
549
553
  # Required. The ID to use for the snapshot. The ID must be unique within the
@@ -581,8 +585,8 @@ module Google
581
585
 
582
586
  # Deletes a snapshot.
583
587
  # @param [String] name
584
- # Required. The snapshot resource name, in the format projects/`project_id`/
585
- # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id`
588
+ # Required. The snapshot resource name, in the format `projects/`project_id`/
589
+ # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id``
586
590
  # @param [String] fields
587
591
  # Selector specifying which fields to include in a partial response.
588
592
  # @param [String] quota_user
@@ -612,8 +616,8 @@ module Google
612
616
 
613
617
  # Gets the details of a specific snapshot.
614
618
  # @param [String] name
615
- # Required. The snapshot resource name, in the format projects/`project_id`/
616
- # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id`
619
+ # Required. The snapshot resource name, in the format `projects/`project_id`/
620
+ # locations/`location`/instances/`instance_id`/snapshots/`snapshot_id``
617
621
  # @param [String] fields
618
622
  # Selector specifying which fields to include in a partial response.
619
623
  # @param [String] quota_user
@@ -645,7 +649,7 @@ module Google
645
649
  # locations.
646
650
  # @param [String] parent
647
651
  # Required. The instance for which to retrieve snapshot information, in the
648
- # format projects/`project_id`/locations/`location`/instances/`instance_id`.
652
+ # format `projects/`project_id`/locations/`location`/instances/`instance_id``.
649
653
  # @param [String] filter
650
654
  # List filter.
651
655
  # @param [String] order_by
@@ -688,9 +692,9 @@ module Google
688
692
 
689
693
  # Updates the settings of a specific snapshot.
690
694
  # @param [String] name
691
- # Output only. The resource name of the snapshot, in the format projects/`
695
+ # Output only. The resource name of the snapshot, in the format `projects/`
692
696
  # project_id`/locations/`location_id`/instances/`instance_id`/snapshots/`
693
- # snapshot_id`.
697
+ # snapshot_id``.
694
698
  # @param [Google::Apis::FileV1beta1::Snapshot] snapshot_object
695
699
  # @param [String] update_mask
696
700
  # Required. Mask of fields to update. At least one path must be supplied in this
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
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_v1beta1
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-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-file_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []