google-apis-file_v1beta1 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7d53ab95120be0dc6f4997129f86f72b6971e0a37e7f0f37d26b66d7811dfdb
4
- data.tar.gz: cccb75d5619890ee9757669bcd64debf9b96e5ebb0b2cf397b54f331b2d74459
3
+ metadata.gz: 0c388367afef96999281a5ad4209ee9ab9930804fbbc949350acb0168c93fbcb
4
+ data.tar.gz: e7e2a707d1dcfd4ac4b8e8464d50ba8ee8d27235d309dddb3a63e0bca08ac944
5
5
  SHA512:
6
- metadata.gz: cdfb7fba8551ca8075ef531f7b80f39b63dbea2568782c328b6276134acb372aef77f891bb870525d1f625076d33d918d70743d0dcc3ec48d514e0e1db36a61c
7
- data.tar.gz: b0519beee9d9b1d000ff66e569b7ec507b31ef756ff6fb068f3f35ef0bd49cbad38b0cfef93890385539751dd381221e7edce934933f5365be0564bb5b1c48e2
6
+ metadata.gz: 7ac4272e28c969eeb18111666fb1a65c9e74d2a903aa4fb1fc7bb4768dead153597e575bf40072db9dc1b049be20ab52588b51e8649e5fc395485c6bb634aecf
7
+ data.tar.gz: f8b8ced7fba4248bb0adf349d3f73d557ca6097e4add59f7b32b04993519fccccf22584ea716b74c94e50676f774635f9767d5fbce0816d1ed5a19813795ded3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-06-06)
4
+
5
+ * Regenerated from discovery document revision 20220530
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.20.0 (2022-04-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20220407
@@ -47,6 +47,11 @@ module Google
47
47
  # @return [Fixnum]
48
48
  attr_accessor :download_bytes
49
49
 
50
+ # Immutable. KMS key name used for data encryption.
51
+ # Corresponds to the JSON property `kmsKeyName`
52
+ # @return [String]
53
+ attr_accessor :kms_key_name
54
+
50
55
  # Resource labels to represent user provided metadata.
51
56
  # Corresponds to the JSON property `labels`
52
57
  # @return [Hash<String,String>]
@@ -104,6 +109,7 @@ module Google
104
109
  @create_time = args[:create_time] if args.key?(:create_time)
105
110
  @description = args[:description] if args.key?(:description)
106
111
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
112
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
107
113
  @labels = args[:labels] if args.key?(:labels)
108
114
  @name = args[:name] if args.key?(:name)
109
115
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -722,6 +728,18 @@ module Google
722
728
  class Instance
723
729
  include Google::Apis::Core::Hashable
724
730
 
731
+ # The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This
732
+ # capacity can be increased up to `max_capacity_gb` GB in multipliers of `
733
+ # capacity_step_size_gb` GB.
734
+ # Corresponds to the JSON property `capacityGb`
735
+ # @return [Fixnum]
736
+ attr_accessor :capacity_gb
737
+
738
+ # Output only. The increase/decrease capacity step size.
739
+ # Corresponds to the JSON property `capacityStepSizeGb`
740
+ # @return [Fixnum]
741
+ attr_accessor :capacity_step_size_gb
742
+
725
743
  # Output only. The time when the instance was created.
726
744
  # Corresponds to the JSON property `createTime`
727
745
  # @return [String]
@@ -754,6 +772,24 @@ module Google
754
772
  # @return [Hash<String,String>]
755
773
  attr_accessor :labels
756
774
 
775
+ # Output only. The max capacity of the instance.
776
+ # Corresponds to the JSON property `maxCapacityGb`
777
+ # @return [Fixnum]
778
+ attr_accessor :max_capacity_gb
779
+
780
+ # Output only. The max number of shares allowed.
781
+ # Corresponds to the JSON property `maxShareCount`
782
+ # @return [Fixnum]
783
+ attr_accessor :max_share_count
784
+
785
+ # Indicates whether this instance uses a multi-share configuration with which it
786
+ # can have more than one file-share or none at all. File-shares are added,
787
+ # updated and removed through the separate file-share APIs.
788
+ # Corresponds to the JSON property `multiShareEnabled`
789
+ # @return [Boolean]
790
+ attr_accessor :multi_share_enabled
791
+ alias_method :multi_share_enabled?, :multi_share_enabled
792
+
757
793
  # Output only. The resource name of the instance, in the format `projects/`
758
794
  # project_id`/locations/`location_id`/instances/`instance_id``.
759
795
  # Corresponds to the JSON property `name`
@@ -799,12 +835,17 @@ module Google
799
835
 
800
836
  # Update properties of this object
801
837
  def update!(**args)
838
+ @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
839
+ @capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
802
840
  @create_time = args[:create_time] if args.key?(:create_time)
803
841
  @description = args[:description] if args.key?(:description)
804
842
  @etag = args[:etag] if args.key?(:etag)
805
843
  @file_shares = args[:file_shares] if args.key?(:file_shares)
806
844
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
807
845
  @labels = args[:labels] if args.key?(:labels)
846
+ @max_capacity_gb = args[:max_capacity_gb] if args.key?(:max_capacity_gb)
847
+ @max_share_count = args[:max_share_count] if args.key?(:max_share_count)
848
+ @multi_share_enabled = args[:multi_share_enabled] if args.key?(:multi_share_enabled)
808
849
  @name = args[:name] if args.key?(:name)
809
850
  @networks = args[:networks] if args.key?(:networks)
810
851
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -937,6 +978,38 @@ module Google
937
978
  end
938
979
  end
939
980
 
981
+ # ListSharesResponse is the result of ListSharesRequest.
982
+ class ListSharesResponse
983
+ include Google::Apis::Core::Hashable
984
+
985
+ # The token you can use to retrieve the next page of results. Not returned if
986
+ # there are no more results in the list.
987
+ # Corresponds to the JSON property `nextPageToken`
988
+ # @return [String]
989
+ attr_accessor :next_page_token
990
+
991
+ # A list of shares in the project for the specified instance.
992
+ # Corresponds to the JSON property `shares`
993
+ # @return [Array<Google::Apis::FileV1beta1::Share>]
994
+ attr_accessor :shares
995
+
996
+ # Locations that could not be reached.
997
+ # Corresponds to the JSON property `unreachable`
998
+ # @return [Array<String>]
999
+ attr_accessor :unreachable
1000
+
1001
+ def initialize(**args)
1002
+ update!(**args)
1003
+ end
1004
+
1005
+ # Update properties of this object
1006
+ def update!(**args)
1007
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1008
+ @shares = args[:shares] if args.key?(:shares)
1009
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1010
+ end
1011
+ end
1012
+
940
1013
  # ListSnapshotsResponse is the result of ListSnapshotsRequest.
941
1014
  class ListSnapshotsResponse
942
1015
  include Google::Apis::Core::Hashable
@@ -1424,6 +1497,71 @@ module Google
1424
1497
  end
1425
1498
  end
1426
1499
 
1500
+ # A Cloud Filestore share.
1501
+ class Share
1502
+ include Google::Apis::Core::Hashable
1503
+
1504
+ # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3
1505
+ # bytes. Must be greater than 0.
1506
+ # Corresponds to the JSON property `capacityGb`
1507
+ # @return [Fixnum]
1508
+ attr_accessor :capacity_gb
1509
+
1510
+ # Output only. The time when the share was created.
1511
+ # Corresponds to the JSON property `createTime`
1512
+ # @return [String]
1513
+ attr_accessor :create_time
1514
+
1515
+ # A description of the share with 2048 characters or less. Requests with longer
1516
+ # descriptions will be rejected.
1517
+ # Corresponds to the JSON property `description`
1518
+ # @return [String]
1519
+ attr_accessor :description
1520
+
1521
+ # Resource labels to represent user provided metadata.
1522
+ # Corresponds to the JSON property `labels`
1523
+ # @return [Hash<String,String>]
1524
+ attr_accessor :labels
1525
+
1526
+ # The mount name of the share. Must be 63 characters or less and consist of
1527
+ # uppercase or lowercase letters, numbers, and underscores.
1528
+ # Corresponds to the JSON property `mountName`
1529
+ # @return [String]
1530
+ attr_accessor :mount_name
1531
+
1532
+ # Output only. The resource name of the share, in the format `projects/`
1533
+ # project_id`/locations/`location_id`/instances/`instance_id`/shares/`share_id``.
1534
+ # Corresponds to the JSON property `name`
1535
+ # @return [String]
1536
+ attr_accessor :name
1537
+
1538
+ # Nfs Export Options. There is a limit of 10 export options per file share.
1539
+ # Corresponds to the JSON property `nfsExportOptions`
1540
+ # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
1541
+ attr_accessor :nfs_export_options
1542
+
1543
+ # Output only. The share state.
1544
+ # Corresponds to the JSON property `state`
1545
+ # @return [String]
1546
+ attr_accessor :state
1547
+
1548
+ def initialize(**args)
1549
+ update!(**args)
1550
+ end
1551
+
1552
+ # Update properties of this object
1553
+ def update!(**args)
1554
+ @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
1555
+ @create_time = args[:create_time] if args.key?(:create_time)
1556
+ @description = args[:description] if args.key?(:description)
1557
+ @labels = args[:labels] if args.key?(:labels)
1558
+ @mount_name = args[:mount_name] if args.key?(:mount_name)
1559
+ @name = args[:name] if args.key?(:name)
1560
+ @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
1561
+ @state = args[:state] if args.key?(:state)
1562
+ end
1563
+ end
1564
+
1427
1565
  # A Cloud Filestore snapshot.
1428
1566
  class Snapshot
1429
1567
  include Google::Apis::Core::Hashable
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220407"
25
+ REVISION = "20220530"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ListSharesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class ListSnapshotsResponse
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -214,6 +220,12 @@ module Google
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
223
+ class Share
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class Snapshot
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -251,6 +263,7 @@ module Google
251
263
  property :create_time, as: 'createTime'
252
264
  property :description, as: 'description'
253
265
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
266
+ property :kms_key_name, as: 'kmsKeyName'
254
267
  hash :labels, as: 'labels'
255
268
  property :name, as: 'name'
256
269
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -419,6 +432,8 @@ module Google
419
432
  class Instance
420
433
  # @private
421
434
  class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :capacity_gb, :numeric_string => true, as: 'capacityGb'
436
+ property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
422
437
  property :create_time, as: 'createTime'
423
438
  property :description, as: 'description'
424
439
  property :etag, as: 'etag'
@@ -426,6 +441,9 @@ module Google
426
441
 
427
442
  property :kms_key_name, as: 'kmsKeyName'
428
443
  hash :labels, as: 'labels'
444
+ property :max_capacity_gb, :numeric_string => true, as: 'maxCapacityGb'
445
+ property :max_share_count, :numeric_string => true, as: 'maxShareCount'
446
+ property :multi_share_enabled, as: 'multiShareEnabled'
429
447
  property :name, as: 'name'
430
448
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
431
449
 
@@ -475,6 +493,16 @@ module Google
475
493
  end
476
494
  end
477
495
 
496
+ class ListSharesResponse
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :next_page_token, as: 'nextPageToken'
500
+ collection :shares, as: 'shares', class: Google::Apis::FileV1beta1::Share, decorator: Google::Apis::FileV1beta1::Share::Representation
501
+
502
+ collection :unreachable, as: 'unreachable'
503
+ end
504
+ end
505
+
478
506
  class ListSnapshotsResponse
479
507
  # @private
480
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -592,6 +620,21 @@ module Google
592
620
  end
593
621
  end
594
622
 
623
+ class Share
624
+ # @private
625
+ class Representation < Google::Apis::Core::JsonRepresentation
626
+ property :capacity_gb, :numeric_string => true, as: 'capacityGb'
627
+ property :create_time, as: 'createTime'
628
+ property :description, as: 'description'
629
+ hash :labels, as: 'labels'
630
+ property :mount_name, as: 'mountName'
631
+ property :name, as: 'name'
632
+ collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
633
+
634
+ property :state, as: 'state'
635
+ end
636
+ end
637
+
595
638
  class Snapshot
596
639
  # @private
597
640
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -578,6 +578,190 @@ module Google
578
578
  execute_or_queue_command(command, &block)
579
579
  end
580
580
 
581
+ # Creates a share.
582
+ # @param [String] parent
583
+ # Required. The Filestore Instance to create the share for, in the format `
584
+ # projects/`project_id`/locations/`location`/instances/`instance_id``
585
+ # @param [Google::Apis::FileV1beta1::Share] share_object
586
+ # @param [String] share_id
587
+ # Required. The ID to use for the share. The ID must be unique within the
588
+ # specified instance. This value must start with a lowercase letter followed by
589
+ # up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
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::FileV1beta1::Operation] parsed result object
600
+ # @yieldparam err [StandardError] error object if request failed
601
+ #
602
+ # @return [Google::Apis::FileV1beta1::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 create_project_location_instance_share(parent, share_object = nil, share_id: nil, fields: nil, quota_user: nil, options: nil, &block)
608
+ command = make_simple_command(:post, 'v1beta1/{+parent}/shares', options)
609
+ command.request_representation = Google::Apis::FileV1beta1::Share::Representation
610
+ command.request_object = share_object
611
+ command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
612
+ command.response_class = Google::Apis::FileV1beta1::Operation
613
+ command.params['parent'] = parent unless parent.nil?
614
+ command.query['shareId'] = share_id unless share_id.nil?
615
+ command.query['fields'] = fields unless fields.nil?
616
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
617
+ execute_or_queue_command(command, &block)
618
+ end
619
+
620
+ # Deletes a share.
621
+ # @param [String] name
622
+ # Required. The share resource name, in the format `projects/`project_id`/
623
+ # locations/`location`/instances/`instance_id`/share/`share_id``
624
+ # @param [String] fields
625
+ # Selector specifying which fields to include in a partial response.
626
+ # @param [String] quota_user
627
+ # Available to use for quota purposes for server-side applications. Can be any
628
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
629
+ # @param [Google::Apis::RequestOptions] options
630
+ # Request-specific options
631
+ #
632
+ # @yield [result, err] Result & error if block supplied
633
+ # @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
634
+ # @yieldparam err [StandardError] error object if request failed
635
+ #
636
+ # @return [Google::Apis::FileV1beta1::Operation]
637
+ #
638
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
639
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
640
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
641
+ def delete_project_location_instance_share(name, fields: nil, quota_user: nil, options: nil, &block)
642
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
643
+ command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
644
+ command.response_class = Google::Apis::FileV1beta1::Operation
645
+ command.params['name'] = name unless name.nil?
646
+ command.query['fields'] = fields unless fields.nil?
647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
648
+ execute_or_queue_command(command, &block)
649
+ end
650
+
651
+ # Gets the details of a specific share.
652
+ # @param [String] name
653
+ # Required. The share resource name, in the format `projects/`project_id`/
654
+ # locations/`location`/instances/`instance_id`/shares/`share_id``
655
+ # @param [String] fields
656
+ # Selector specifying which fields to include in a partial response.
657
+ # @param [String] quota_user
658
+ # Available to use for quota purposes for server-side applications. Can be any
659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
660
+ # @param [Google::Apis::RequestOptions] options
661
+ # Request-specific options
662
+ #
663
+ # @yield [result, err] Result & error if block supplied
664
+ # @yieldparam result [Google::Apis::FileV1beta1::Share] parsed result object
665
+ # @yieldparam err [StandardError] error object if request failed
666
+ #
667
+ # @return [Google::Apis::FileV1beta1::Share]
668
+ #
669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
672
+ def get_project_location_instance_share(name, fields: nil, quota_user: nil, options: nil, &block)
673
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
674
+ command.response_representation = Google::Apis::FileV1beta1::Share::Representation
675
+ command.response_class = Google::Apis::FileV1beta1::Share
676
+ command.params['name'] = name unless name.nil?
677
+ command.query['fields'] = fields unless fields.nil?
678
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
679
+ execute_or_queue_command(command, &block)
680
+ end
681
+
682
+ # Lists all shares for a specified instance.
683
+ # @param [String] parent
684
+ # Required. The instance for which to retrieve share information, in the format `
685
+ # projects/`project_id`/locations/`location`/instances/`instance_id``.
686
+ # @param [String] filter
687
+ # List filter.
688
+ # @param [String] order_by
689
+ # Sort results. Supported values are "name", "name desc" or "" (unsorted).
690
+ # @param [Fixnum] page_size
691
+ # The maximum number of items to return.
692
+ # @param [String] page_token
693
+ # The next_page_token value to use if there are additional results to retrieve
694
+ # for this list request.
695
+ # @param [String] fields
696
+ # Selector specifying which fields to include in a partial response.
697
+ # @param [String] quota_user
698
+ # Available to use for quota purposes for server-side applications. Can be any
699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
700
+ # @param [Google::Apis::RequestOptions] options
701
+ # Request-specific options
702
+ #
703
+ # @yield [result, err] Result & error if block supplied
704
+ # @yieldparam result [Google::Apis::FileV1beta1::ListSharesResponse] parsed result object
705
+ # @yieldparam err [StandardError] error object if request failed
706
+ #
707
+ # @return [Google::Apis::FileV1beta1::ListSharesResponse]
708
+ #
709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
712
+ def list_project_location_instance_shares(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
713
+ command = make_simple_command(:get, 'v1beta1/{+parent}/shares', options)
714
+ command.response_representation = Google::Apis::FileV1beta1::ListSharesResponse::Representation
715
+ command.response_class = Google::Apis::FileV1beta1::ListSharesResponse
716
+ command.params['parent'] = parent unless parent.nil?
717
+ command.query['filter'] = filter unless filter.nil?
718
+ command.query['orderBy'] = order_by unless order_by.nil?
719
+ command.query['pageSize'] = page_size unless page_size.nil?
720
+ command.query['pageToken'] = page_token unless page_token.nil?
721
+ command.query['fields'] = fields unless fields.nil?
722
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
723
+ execute_or_queue_command(command, &block)
724
+ end
725
+
726
+ # Updates the settings of a specific share.
727
+ # @param [String] name
728
+ # Output only. The resource name of the share, in the format `projects/`
729
+ # project_id`/locations/`location_id`/instances/`instance_id`/shares/`share_id``.
730
+ # @param [Google::Apis::FileV1beta1::Share] share_object
731
+ # @param [String] update_mask
732
+ # Required. Mask of fields to update. At least one path must be supplied in this
733
+ # field. The elements of the repeated paths field may only include these fields:
734
+ # * "description" * "capacity_gb" * "labels" * "nfs_export_options"
735
+ # @param [String] fields
736
+ # Selector specifying which fields to include in a partial response.
737
+ # @param [String] quota_user
738
+ # Available to use for quota purposes for server-side applications. Can be any
739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
740
+ # @param [Google::Apis::RequestOptions] options
741
+ # Request-specific options
742
+ #
743
+ # @yield [result, err] Result & error if block supplied
744
+ # @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
745
+ # @yieldparam err [StandardError] error object if request failed
746
+ #
747
+ # @return [Google::Apis::FileV1beta1::Operation]
748
+ #
749
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
750
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
751
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
752
+ def patch_project_location_instance_share(name, share_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
753
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
754
+ command.request_representation = Google::Apis::FileV1beta1::Share::Representation
755
+ command.request_object = share_object
756
+ command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
757
+ command.response_class = Google::Apis::FileV1beta1::Operation
758
+ command.params['name'] = name unless name.nil?
759
+ command.query['updateMask'] = update_mask unless update_mask.nil?
760
+ command.query['fields'] = fields unless fields.nil?
761
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
762
+ execute_or_queue_command(command, &block)
763
+ end
764
+
581
765
  # Creates a snapshot.
582
766
  # @param [String] parent
583
767
  # Required. The Filestore Instance to create the snapshots of, in the format `
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.20.0
4
+ version: 0.21.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: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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/main/generated/google-apis-file_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1beta1