google-apis-netapp_v1 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: 502b03b73859bb07d4b94bd08afcd94455adfa4ef7a69952db12fa35a5e07956
4
- data.tar.gz: 1d4b4f57b6725f02b8d81bc1fa5803a947503659b7fe8b83ff6b765ff52b778a
3
+ metadata.gz: 8568476edccdb0772db055184fe21a7822b691d97be56d56660d8213d0b954ce
4
+ data.tar.gz: 778f3d934bfaa489d856a7ea4a14c509c3f93b3a2a6de7c6d7af01cdc3168ccf
5
5
  SHA512:
6
- metadata.gz: f7aedd97918601ca4ad5f133268ada5e0a93c6d04ce4706d0afb66043b3620ea80bfc2cd297da327156023fd803d096a09ffdfb57cd7e9a43c24aeba3b6bcfad
7
- data.tar.gz: 59310e13de81b871240b534b78302fd5c1ef87f40e87c533a6ff7859bca696535a18a29e2cc289e65e4e6305658b4163b845bc2b3a6fd34e72833d39dba22c4d
6
+ metadata.gz: f57302f5e27ac300c569c392278c96764a6e27373a28184f1d3b527919018d8b48fd80e0e687793d46817e676e9c19f4f4cb8a1d5eff76507f6ec34d77116154
7
+ data.tar.gz: baec2eccf68f866b2d3b50dd4bfb7ba3c42af82bc0327db361bebc07f8613788afcab52716c5eeeeabd7d1b285fc42b88e339c2ba2fbc5c0ef999bb325738253
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.21.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251116
6
+
3
7
  ### v0.20.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251029
@@ -556,6 +556,60 @@ module Google
556
556
  end
557
557
  end
558
558
 
559
+ # Block device represents the device(s) which are stored in the block volume.
560
+ class BlockDevice
561
+ include Google::Apis::Core::Hashable
562
+
563
+ # Optional. A list of host groups that identify hosts that can mount the block
564
+ # volume. Format: `projects/`project_id`/locations/`location`/hostGroups/`
565
+ # host_group_id`` This field can be updated after the block device is created.
566
+ # Corresponds to the JSON property `hostGroups`
567
+ # @return [Array<String>]
568
+ attr_accessor :host_groups
569
+
570
+ # Output only. Device identifier of the Block volume. This represents
571
+ # lun_serial_number for iSCSI volumes
572
+ # Corresponds to the JSON property `identifier`
573
+ # @return [String]
574
+ attr_accessor :identifier
575
+
576
+ # Optional. User-defined name for the block device, unique within the Volume. In
577
+ # case no user input is provided, name will be autogenerated in the backend. The
578
+ # name must meet the following requirements: * Be between 1 and 255 characters
579
+ # long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9),
580
+ # and the following special characters: "-", "_", "`", "`", ".". * Spaces are
581
+ # not allowed.
582
+ # Corresponds to the JSON property `name`
583
+ # @return [String]
584
+ attr_accessor :name
585
+
586
+ # Required. Immutable. The OS type of the volume. This field can't be changed
587
+ # after the block device is created.
588
+ # Corresponds to the JSON property `osType`
589
+ # @return [String]
590
+ attr_accessor :os_type
591
+
592
+ # Optional. The size of the block device in GiB. Any value provided in this
593
+ # field during Volume creation is IGNORED. The block device's size is system-
594
+ # managed and will be set to match the parent Volume's `capacity_gib`.
595
+ # Corresponds to the JSON property `sizeGib`
596
+ # @return [Fixnum]
597
+ attr_accessor :size_gib
598
+
599
+ def initialize(**args)
600
+ update!(**args)
601
+ end
602
+
603
+ # Update properties of this object
604
+ def update!(**args)
605
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
606
+ @identifier = args[:identifier] if args.key?(:identifier)
607
+ @name = args[:name] if args.key?(:name)
608
+ @os_type = args[:os_type] if args.key?(:os_type)
609
+ @size_gib = args[:size_gib] if args.key?(:size_gib)
610
+ end
611
+ end
612
+
559
613
  # Configuration of the cache volume.
560
614
  class CacheConfig
561
615
  include Google::Apis::Core::Hashable
@@ -841,6 +895,71 @@ module Google
841
895
  end
842
896
  end
843
897
 
898
+ # Host group is a collection of hosts that can be used for accessing a Block
899
+ # Volume.
900
+ class HostGroup
901
+ include Google::Apis::Core::Hashable
902
+
903
+ # Output only. Create time of the host group.
904
+ # Corresponds to the JSON property `createTime`
905
+ # @return [String]
906
+ attr_accessor :create_time
907
+
908
+ # Optional. Description of the host group.
909
+ # Corresponds to the JSON property `description`
910
+ # @return [String]
911
+ attr_accessor :description
912
+
913
+ # Required. The list of hosts associated with the host group.
914
+ # Corresponds to the JSON property `hosts`
915
+ # @return [Array<String>]
916
+ attr_accessor :hosts
917
+
918
+ # Optional. Labels of the host group.
919
+ # Corresponds to the JSON property `labels`
920
+ # @return [Hash<String,String>]
921
+ attr_accessor :labels
922
+
923
+ # Identifier. The resource name of the host group. Format: `projects/`
924
+ # project_number`/locations/`location_id`/hostGroups/`host_group_id``.
925
+ # Corresponds to the JSON property `name`
926
+ # @return [String]
927
+ attr_accessor :name
928
+
929
+ # Required. The OS type of the host group. It indicates the type of operating
930
+ # system used by all of the hosts in the HostGroup. All hosts in a HostGroup
931
+ # must be of the same OS type. This can be set only when creating a HostGroup.
932
+ # Corresponds to the JSON property `osType`
933
+ # @return [String]
934
+ attr_accessor :os_type
935
+
936
+ # Output only. State of the host group.
937
+ # Corresponds to the JSON property `state`
938
+ # @return [String]
939
+ attr_accessor :state
940
+
941
+ # Required. Type of the host group.
942
+ # Corresponds to the JSON property `type`
943
+ # @return [String]
944
+ attr_accessor :type
945
+
946
+ def initialize(**args)
947
+ update!(**args)
948
+ end
949
+
950
+ # Update properties of this object
951
+ def update!(**args)
952
+ @create_time = args[:create_time] if args.key?(:create_time)
953
+ @description = args[:description] if args.key?(:description)
954
+ @hosts = args[:hosts] if args.key?(:hosts)
955
+ @labels = args[:labels] if args.key?(:labels)
956
+ @name = args[:name] if args.key?(:name)
957
+ @os_type = args[:os_type] if args.key?(:os_type)
958
+ @state = args[:state] if args.key?(:state)
959
+ @type = args[:type] if args.key?(:type)
960
+ end
961
+ end
962
+
844
963
  # Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
845
964
  class HourlySchedule
846
965
  include Google::Apis::Core::Hashable
@@ -1206,6 +1325,37 @@ module Google
1206
1325
  end
1207
1326
  end
1208
1327
 
1328
+ # ListHostGroupsResponse is the response to a ListHostGroupsRequest.
1329
+ class ListHostGroupsResponse
1330
+ include Google::Apis::Core::Hashable
1331
+
1332
+ # The list of host groups.
1333
+ # Corresponds to the JSON property `hostGroups`
1334
+ # @return [Array<Google::Apis::NetappV1::HostGroup>]
1335
+ attr_accessor :host_groups
1336
+
1337
+ # A token identifying a page of results the server should return.
1338
+ # Corresponds to the JSON property `nextPageToken`
1339
+ # @return [String]
1340
+ attr_accessor :next_page_token
1341
+
1342
+ # Locations that could not be reached.
1343
+ # Corresponds to the JSON property `unreachable`
1344
+ # @return [Array<String>]
1345
+ attr_accessor :unreachable
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
1354
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1355
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1356
+ end
1357
+ end
1358
+
1209
1359
  # ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.
1210
1360
  class ListKmsConfigsResponse
1211
1361
  include Google::Apis::Core::Hashable
@@ -1277,8 +1427,9 @@ module Google
1277
1427
  attr_accessor :operations
1278
1428
 
1279
1429
  # Unordered list. Unreachable resources. Populated when the request sets `
1280
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1281
- # when attempting to list all resources across all supported locations.
1430
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1431
+ # For example, when attempting to list all resources across all supported
1432
+ # locations.
1282
1433
  # Corresponds to the JSON property `unreachable`
1283
1434
  # @return [Array<String>]
1284
1435
  attr_accessor :unreachable
@@ -2494,6 +2645,13 @@ module Google
2494
2645
  # @return [Fixnum]
2495
2646
  attr_accessor :total_throughput_mibps
2496
2647
 
2648
+ # Optional. Type of the storage pool. This field is used to control whether the
2649
+ # pool supports FILE based volumes only or UNIFIED (both FILE and BLOCK) volumes.
2650
+ # If not specified during creation, it defaults to FILE.
2651
+ # Corresponds to the JSON property `type`
2652
+ # @return [String]
2653
+ attr_accessor :type
2654
+
2497
2655
  # Output only. Allocated size of all volumes in GIB in the storage pool
2498
2656
  # Corresponds to the JSON property `volumeCapacityGib`
2499
2657
  # @return [Fixnum]
@@ -2543,6 +2701,7 @@ module Google
2543
2701
  @state_details = args[:state_details] if args.key?(:state_details)
2544
2702
  @total_iops = args[:total_iops] if args.key?(:total_iops)
2545
2703
  @total_throughput_mibps = args[:total_throughput_mibps] if args.key?(:total_throughput_mibps)
2704
+ @type = args[:type] if args.key?(:type)
2546
2705
  @volume_capacity_gib = args[:volume_capacity_gib] if args.key?(:volume_capacity_gib)
2547
2706
  @volume_count = args[:volume_count] if args.key?(:volume_count)
2548
2707
  @zone = args[:zone] if args.key?(:zone)
@@ -2773,6 +2932,12 @@ module Google
2773
2932
  # @return [Google::Apis::NetappV1::BackupConfig]
2774
2933
  attr_accessor :backup_config
2775
2934
 
2935
+ # Optional. Block devices for the volume. Currently, only one block device is
2936
+ # permitted per Volume.
2937
+ # Corresponds to the JSON property `blockDevices`
2938
+ # @return [Array<Google::Apis::NetappV1::BlockDevice>]
2939
+ attr_accessor :block_devices
2940
+
2776
2941
  # Cache Parameters for the volume.
2777
2942
  # Corresponds to the JSON property `cacheParameters`
2778
2943
  # @return [Google::Apis::NetappV1::CacheParameters]
@@ -2995,6 +3160,7 @@ module Google
2995
3160
  def update!(**args)
2996
3161
  @active_directory = args[:active_directory] if args.key?(:active_directory)
2997
3162
  @backup_config = args[:backup_config] if args.key?(:backup_config)
3163
+ @block_devices = args[:block_devices] if args.key?(:block_devices)
2998
3164
  @cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
2999
3165
  @capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
3000
3166
  @cold_tier_size_gib = args[:cold_tier_size_gib] if args.key?(:cold_tier_size_gib)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetappV1
18
18
  # Version of the google-apis-netapp_v1 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
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251029"
25
+ REVISION = "20251116"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BlockDevice
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CacheConfig
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -112,6 +118,12 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class HostGroup
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class HourlySchedule
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -160,6 +172,12 @@ module Google
160
172
  include Google::Apis::Core::JsonObjectSupport
161
173
  end
162
174
 
175
+ class ListHostGroupsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
163
181
  class ListKmsConfigsResponse
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
@@ -486,6 +504,17 @@ module Google
486
504
  end
487
505
  end
488
506
 
507
+ class BlockDevice
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ collection :host_groups, as: 'hostGroups'
511
+ property :identifier, as: 'identifier'
512
+ property :name, as: 'name'
513
+ property :os_type, as: 'osType'
514
+ property :size_gib, :numeric_string => true, as: 'sizeGib'
515
+ end
516
+ end
517
+
489
518
  class CacheConfig
490
519
  # @private
491
520
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -568,6 +597,20 @@ module Google
568
597
  end
569
598
  end
570
599
 
600
+ class HostGroup
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :create_time, as: 'createTime'
604
+ property :description, as: 'description'
605
+ collection :hosts, as: 'hosts'
606
+ hash :labels, as: 'labels'
607
+ property :name, as: 'name'
608
+ property :os_type, as: 'osType'
609
+ property :state, as: 'state'
610
+ property :type, as: 'type'
611
+ end
612
+ end
613
+
571
614
  class HourlySchedule
572
615
  # @private
573
616
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +704,16 @@ module Google
661
704
  end
662
705
  end
663
706
 
707
+ class ListHostGroupsResponse
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ collection :host_groups, as: 'hostGroups', class: Google::Apis::NetappV1::HostGroup, decorator: Google::Apis::NetappV1::HostGroup::Representation
711
+
712
+ property :next_page_token, as: 'nextPageToken'
713
+ collection :unreachable, as: 'unreachable'
714
+ end
715
+ end
716
+
664
717
  class ListKmsConfigsResponse
665
718
  # @private
666
719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1032,7 @@ module Google
979
1032
  property :state_details, as: 'stateDetails'
980
1033
  property :total_iops, :numeric_string => true, as: 'totalIops'
981
1034
  property :total_throughput_mibps, :numeric_string => true, as: 'totalThroughputMibps'
1035
+ property :type, as: 'type'
982
1036
  property :volume_capacity_gib, :numeric_string => true, as: 'volumeCapacityGib'
983
1037
  property :volume_count, as: 'volumeCount'
984
1038
  property :zone, as: 'zone'
@@ -1055,6 +1109,8 @@ module Google
1055
1109
  property :active_directory, as: 'activeDirectory'
1056
1110
  property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1057
1111
 
1112
+ collection :block_devices, as: 'blockDevices', class: Google::Apis::NetappV1::BlockDevice, decorator: Google::Apis::NetappV1::BlockDevice::Representation
1113
+
1058
1114
  property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
1059
1115
 
1060
1116
  property :capacity_gib, :numeric_string => true, as: 'capacityGib'
@@ -883,6 +883,188 @@ module Google
883
883
  execute_or_queue_command(command, &block)
884
884
  end
885
885
 
886
+ # Creates a new host group.
887
+ # @param [String] parent
888
+ # Required. Parent value for CreateHostGroupRequest
889
+ # @param [Google::Apis::NetappV1::HostGroup] host_group_object
890
+ # @param [String] host_group_id
891
+ # Required. ID of the host group to create. Must be unique within the parent
892
+ # resource. Must contain only letters, numbers, and hyphen, with the first
893
+ # character a letter or underscore, the last a letter or underscore or a number,
894
+ # and a 63 character maximum.
895
+ # @param [String] fields
896
+ # Selector specifying which fields to include in a partial response.
897
+ # @param [String] quota_user
898
+ # Available to use for quota purposes for server-side applications. Can be any
899
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
900
+ # @param [Google::Apis::RequestOptions] options
901
+ # Request-specific options
902
+ #
903
+ # @yield [result, err] Result & error if block supplied
904
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
905
+ # @yieldparam err [StandardError] error object if request failed
906
+ #
907
+ # @return [Google::Apis::NetappV1::Operation]
908
+ #
909
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
910
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
911
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
912
+ def create_project_location_host_group(parent, host_group_object = nil, host_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
913
+ command = make_simple_command(:post, 'v1/{+parent}/hostGroups', options)
914
+ command.request_representation = Google::Apis::NetappV1::HostGroup::Representation
915
+ command.request_object = host_group_object
916
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
917
+ command.response_class = Google::Apis::NetappV1::Operation
918
+ command.params['parent'] = parent unless parent.nil?
919
+ command.query['hostGroupId'] = host_group_id unless host_group_id.nil?
920
+ command.query['fields'] = fields unless fields.nil?
921
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
922
+ execute_or_queue_command(command, &block)
923
+ end
924
+
925
+ # Deletes a host group.
926
+ # @param [String] name
927
+ # Required. The resource name of the host group. Format: `projects/`
928
+ # project_number`/locations/`location_id`/hostGroups/`host_group_id``.
929
+ # @param [String] fields
930
+ # Selector specifying which fields to include in a partial response.
931
+ # @param [String] quota_user
932
+ # Available to use for quota purposes for server-side applications. Can be any
933
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
934
+ # @param [Google::Apis::RequestOptions] options
935
+ # Request-specific options
936
+ #
937
+ # @yield [result, err] Result & error if block supplied
938
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
939
+ # @yieldparam err [StandardError] error object if request failed
940
+ #
941
+ # @return [Google::Apis::NetappV1::Operation]
942
+ #
943
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
944
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
945
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
946
+ def delete_project_location_host_group(name, fields: nil, quota_user: nil, options: nil, &block)
947
+ command = make_simple_command(:delete, 'v1/{+name}', options)
948
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
949
+ command.response_class = Google::Apis::NetappV1::Operation
950
+ command.params['name'] = name unless name.nil?
951
+ command.query['fields'] = fields unless fields.nil?
952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
953
+ execute_or_queue_command(command, &block)
954
+ end
955
+
956
+ # Returns details of the specified host group.
957
+ # @param [String] name
958
+ # Required. The resource name of the host group. Format: `projects/`
959
+ # project_number`/locations/`location_id`/hostGroups/`host_group_id``.
960
+ # @param [String] fields
961
+ # Selector specifying which fields to include in a partial response.
962
+ # @param [String] quota_user
963
+ # Available to use for quota purposes for server-side applications. Can be any
964
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
965
+ # @param [Google::Apis::RequestOptions] options
966
+ # Request-specific options
967
+ #
968
+ # @yield [result, err] Result & error if block supplied
969
+ # @yieldparam result [Google::Apis::NetappV1::HostGroup] parsed result object
970
+ # @yieldparam err [StandardError] error object if request failed
971
+ #
972
+ # @return [Google::Apis::NetappV1::HostGroup]
973
+ #
974
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
975
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
976
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
977
+ def get_project_location_host_group(name, fields: nil, quota_user: nil, options: nil, &block)
978
+ command = make_simple_command(:get, 'v1/{+name}', options)
979
+ command.response_representation = Google::Apis::NetappV1::HostGroup::Representation
980
+ command.response_class = Google::Apis::NetappV1::HostGroup
981
+ command.params['name'] = name unless name.nil?
982
+ command.query['fields'] = fields unless fields.nil?
983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
984
+ execute_or_queue_command(command, &block)
985
+ end
986
+
987
+ # Returns a list of host groups in a location. Use '-' as location to list host
988
+ # groups across all locations.
989
+ # @param [String] parent
990
+ # Required. Parent value for ListHostGroupsRequest
991
+ # @param [String] filter
992
+ # Optional. Filter to apply to the request.
993
+ # @param [String] order_by
994
+ # Optional. Hint for how to order the results
995
+ # @param [Fixnum] page_size
996
+ # Optional. Requested page size. Server may return fewer items than requested.
997
+ # If unspecified, the server will pick an appropriate default.
998
+ # @param [String] page_token
999
+ # Optional. A token identifying a page of results the server should return.
1000
+ # @param [String] fields
1001
+ # Selector specifying which fields to include in a partial response.
1002
+ # @param [String] quota_user
1003
+ # Available to use for quota purposes for server-side applications. Can be any
1004
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1005
+ # @param [Google::Apis::RequestOptions] options
1006
+ # Request-specific options
1007
+ #
1008
+ # @yield [result, err] Result & error if block supplied
1009
+ # @yieldparam result [Google::Apis::NetappV1::ListHostGroupsResponse] parsed result object
1010
+ # @yieldparam err [StandardError] error object if request failed
1011
+ #
1012
+ # @return [Google::Apis::NetappV1::ListHostGroupsResponse]
1013
+ #
1014
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1015
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1016
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1017
+ def list_project_location_host_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1018
+ command = make_simple_command(:get, 'v1/{+parent}/hostGroups', options)
1019
+ command.response_representation = Google::Apis::NetappV1::ListHostGroupsResponse::Representation
1020
+ command.response_class = Google::Apis::NetappV1::ListHostGroupsResponse
1021
+ command.params['parent'] = parent unless parent.nil?
1022
+ command.query['filter'] = filter unless filter.nil?
1023
+ command.query['orderBy'] = order_by unless order_by.nil?
1024
+ command.query['pageSize'] = page_size unless page_size.nil?
1025
+ command.query['pageToken'] = page_token unless page_token.nil?
1026
+ command.query['fields'] = fields unless fields.nil?
1027
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1028
+ execute_or_queue_command(command, &block)
1029
+ end
1030
+
1031
+ # Updates an existing host group.
1032
+ # @param [String] name
1033
+ # Identifier. The resource name of the host group. Format: `projects/`
1034
+ # project_number`/locations/`location_id`/hostGroups/`host_group_id``.
1035
+ # @param [Google::Apis::NetappV1::HostGroup] host_group_object
1036
+ # @param [String] update_mask
1037
+ # Optional. The list of fields to update.
1038
+ # @param [String] fields
1039
+ # Selector specifying which fields to include in a partial response.
1040
+ # @param [String] quota_user
1041
+ # Available to use for quota purposes for server-side applications. Can be any
1042
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1043
+ # @param [Google::Apis::RequestOptions] options
1044
+ # Request-specific options
1045
+ #
1046
+ # @yield [result, err] Result & error if block supplied
1047
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1048
+ # @yieldparam err [StandardError] error object if request failed
1049
+ #
1050
+ # @return [Google::Apis::NetappV1::Operation]
1051
+ #
1052
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1053
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1054
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1055
+ def patch_project_location_host_group(name, host_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1056
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1057
+ command.request_representation = Google::Apis::NetappV1::HostGroup::Representation
1058
+ command.request_object = host_group_object
1059
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1060
+ command.response_class = Google::Apis::NetappV1::Operation
1061
+ command.params['name'] = name unless name.nil?
1062
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1063
+ command.query['fields'] = fields unless fields.nil?
1064
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1065
+ execute_or_queue_command(command, &block)
1066
+ end
1067
+
886
1068
  # Creates a new KMS config.
887
1069
  # @param [String] parent
888
1070
  # Required. Value for parent.
@@ -1247,11 +1429,12 @@ module Google
1247
1429
  # The standard list page token.
1248
1430
  # @param [Boolean] return_partial_success
1249
1431
  # When set to `true`, operations that are reachable are returned as normal, and
1250
- # those that are unreachable are returned in the [ListOperationsResponse.
1251
- # unreachable] field. This can only be `true` when reading across collections e.
1252
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1253
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1254
- # explicitly documented otherwise in service or product specific documentation.
1432
+ # those that are unreachable are returned in the ListOperationsResponse.
1433
+ # unreachable field. This can only be `true` when reading across collections.
1434
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1435
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1436
+ # if set unless explicitly documented otherwise in service or product specific
1437
+ # documentation.
1255
1438
  # @param [String] fields
1256
1439
  # Selector specifying which fields to include in a partial response.
1257
1440
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-netapp_v1
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
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.20.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.21.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
62
62
  rdoc_options: []
63
63
  require_paths: