google-apis-netapp_v1 0.20.0 → 0.22.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: 5b5114458978cfc1150dd0e3c479ecb1b653ae633236209357908ba54a326da3
4
+ data.tar.gz: 3b8dfbefcf2d9eb759af8134506c690a48183a8f9d3ebfea987e30400f6c8b0e
5
5
  SHA512:
6
- metadata.gz: f7aedd97918601ca4ad5f133268ada5e0a93c6d04ce4706d0afb66043b3620ea80bfc2cd297da327156023fd803d096a09ffdfb57cd7e9a43c24aeba3b6bcfad
7
- data.tar.gz: 59310e13de81b871240b534b78302fd5c1ef87f40e87c533a6ff7859bca696535a18a29e2cc289e65e4e6305658b4163b845bc2b3a6fd34e72833d39dba22c4d
6
+ metadata.gz: 316179b04b30e48f471316f8f8dff2120c8c7fd56d1d6a6de65acdc41369c5a52382ac556082cf0b940bd21bf0b6709651d128702fc49a74b32d508323660de1
7
+ data.tar.gz: dbb941c8b78bfebbcada3bc13d6cd3b9219a2c75b9603b80486cb03e033c610a2031a650e4982444f2161815f074f5fc5efd31ce4615b138e2659c7d15b3601a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.22.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
7
+ ### v0.21.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251116
10
+
3
11
  ### v0.20.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251029
@@ -492,6 +492,13 @@ module Google
492
492
  # @return [String]
493
493
  attr_accessor :backup_vault_type
494
494
 
495
+ # Output only. The crypto key version used to encrypt the backup vault. Format:
496
+ # projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`
497
+ # crypto_key`/cryptoKeyVersions/`crypto_key_version`
498
+ # Corresponds to the JSON property `backupsCryptoKeyVersion`
499
+ # @return [String]
500
+ attr_accessor :backups_crypto_key_version
501
+
495
502
  # Output only. Create time of the backup vault.
496
503
  # Corresponds to the JSON property `createTime`
497
504
  # @return [String]
@@ -508,6 +515,17 @@ module Google
508
515
  # @return [String]
509
516
  attr_accessor :destination_backup_vault
510
517
 
518
+ # Output only. Field indicating encryption state of CMEK backups.
519
+ # Corresponds to the JSON property `encryptionState`
520
+ # @return [String]
521
+ attr_accessor :encryption_state
522
+
523
+ # Optional. Specifies the KMS config to be used for backup encryption. Format:
524
+ # projects/`project`/locations/`location`/kmsConfigs/`kms_config`
525
+ # Corresponds to the JSON property `kmsConfig`
526
+ # @return [String]
527
+ attr_accessor :kms_config
528
+
511
529
  # Resource labels to represent user provided metadata.
512
530
  # Corresponds to the JSON property `labels`
513
531
  # @return [Hash<String,String>]
@@ -545,9 +563,12 @@ module Google
545
563
  @backup_region = args[:backup_region] if args.key?(:backup_region)
546
564
  @backup_retention_policy = args[:backup_retention_policy] if args.key?(:backup_retention_policy)
547
565
  @backup_vault_type = args[:backup_vault_type] if args.key?(:backup_vault_type)
566
+ @backups_crypto_key_version = args[:backups_crypto_key_version] if args.key?(:backups_crypto_key_version)
548
567
  @create_time = args[:create_time] if args.key?(:create_time)
549
568
  @description = args[:description] if args.key?(:description)
550
569
  @destination_backup_vault = args[:destination_backup_vault] if args.key?(:destination_backup_vault)
570
+ @encryption_state = args[:encryption_state] if args.key?(:encryption_state)
571
+ @kms_config = args[:kms_config] if args.key?(:kms_config)
551
572
  @labels = args[:labels] if args.key?(:labels)
552
573
  @name = args[:name] if args.key?(:name)
553
574
  @source_backup_vault = args[:source_backup_vault] if args.key?(:source_backup_vault)
@@ -556,10 +577,75 @@ module Google
556
577
  end
557
578
  end
558
579
 
580
+ # Block device represents the device(s) which are stored in the block volume.
581
+ class BlockDevice
582
+ include Google::Apis::Core::Hashable
583
+
584
+ # Optional. A list of host groups that identify hosts that can mount the block
585
+ # volume. Format: `projects/`project_id`/locations/`location`/hostGroups/`
586
+ # host_group_id`` This field can be updated after the block device is created.
587
+ # Corresponds to the JSON property `hostGroups`
588
+ # @return [Array<String>]
589
+ attr_accessor :host_groups
590
+
591
+ # Output only. Device identifier of the block volume. This represents `
592
+ # lun_serial_number` for iSCSI volumes.
593
+ # Corresponds to the JSON property `identifier`
594
+ # @return [String]
595
+ attr_accessor :identifier
596
+
597
+ # Optional. User-defined name for the block device, unique within the volume. In
598
+ # case no user input is provided, name will be autogenerated in the backend. The
599
+ # name must meet the following requirements: * Be between 1 and 255 characters
600
+ # long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9),
601
+ # and the following special characters: "-", "_", "`", "`", ".". * Spaces are
602
+ # not allowed.
603
+ # Corresponds to the JSON property `name`
604
+ # @return [String]
605
+ attr_accessor :name
606
+
607
+ # Required. Immutable. The OS type of the volume. This field can't be changed
608
+ # after the block device is created.
609
+ # Corresponds to the JSON property `osType`
610
+ # @return [String]
611
+ attr_accessor :os_type
612
+
613
+ # Optional. The size of the block device in GiB. Any value provided for the `
614
+ # size_gib` field during volume creation is ignored. The block device's size is
615
+ # system-managed and will be set to match the parent Volume's `capacity_gib`.
616
+ # Corresponds to the JSON property `sizeGib`
617
+ # @return [Fixnum]
618
+ attr_accessor :size_gib
619
+
620
+ def initialize(**args)
621
+ update!(**args)
622
+ end
623
+
624
+ # Update properties of this object
625
+ def update!(**args)
626
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
627
+ @identifier = args[:identifier] if args.key?(:identifier)
628
+ @name = args[:name] if args.key?(:name)
629
+ @os_type = args[:os_type] if args.key?(:os_type)
630
+ @size_gib = args[:size_gib] if args.key?(:size_gib)
631
+ end
632
+ end
633
+
559
634
  # Configuration of the cache volume.
560
635
  class CacheConfig
561
636
  include Google::Apis::Core::Hashable
562
637
 
638
+ # Pre-populate cache volume with data from the origin volume.
639
+ # Corresponds to the JSON property `cachePrePopulate`
640
+ # @return [Google::Apis::NetappV1::CachePrePopulate]
641
+ attr_accessor :cache_pre_populate
642
+
643
+ # Output only. State of the prepopulation job indicating how the prepopulation
644
+ # is progressing.
645
+ # Corresponds to the JSON property `cachePrePopulateState`
646
+ # @return [String]
647
+ attr_accessor :cache_pre_populate_state
648
+
563
649
  # Optional. Flag indicating whether a CIFS change notification is enabled for
564
650
  # the FlexCache volume.
565
651
  # Corresponds to the JSON property `cifsChangeNotifyEnabled`
@@ -567,13 +653,23 @@ module Google
567
653
  attr_accessor :cifs_change_notify_enabled
568
654
  alias_method :cifs_change_notify_enabled?, :cifs_change_notify_enabled
569
655
 
656
+ # Optional. Flag indicating whether writeback is enabled for the FlexCache
657
+ # volume.
658
+ # Corresponds to the JSON property `writebackEnabled`
659
+ # @return [Boolean]
660
+ attr_accessor :writeback_enabled
661
+ alias_method :writeback_enabled?, :writeback_enabled
662
+
570
663
  def initialize(**args)
571
664
  update!(**args)
572
665
  end
573
666
 
574
667
  # Update properties of this object
575
668
  def update!(**args)
669
+ @cache_pre_populate = args[:cache_pre_populate] if args.key?(:cache_pre_populate)
670
+ @cache_pre_populate_state = args[:cache_pre_populate_state] if args.key?(:cache_pre_populate_state)
576
671
  @cifs_change_notify_enabled = args[:cifs_change_notify_enabled] if args.key?(:cifs_change_notify_enabled)
672
+ @writeback_enabled = args[:writeback_enabled] if args.key?(:writeback_enabled)
577
673
  end
578
674
  end
579
675
 
@@ -597,7 +693,7 @@ module Google
597
693
  # @return [String]
598
694
  attr_accessor :command
599
695
 
600
- # Optional. Field indicating whether cache volume as global file lock enabled.
696
+ # Optional. Indicates whether the cache volume has global file lock enabled.
601
697
  # Corresponds to the JSON property `enableGlobalFileLock`
602
698
  # @return [Boolean]
603
699
  attr_accessor :enable_global_file_lock
@@ -659,6 +755,40 @@ module Google
659
755
  end
660
756
  end
661
757
 
758
+ # Pre-populate cache volume with data from the origin volume.
759
+ class CachePrePopulate
760
+ include Google::Apis::Core::Hashable
761
+
762
+ # Optional. List of directory-paths to be excluded for pre-population for the
763
+ # FlexCache volume.
764
+ # Corresponds to the JSON property `excludePathList`
765
+ # @return [Array<String>]
766
+ attr_accessor :exclude_path_list
767
+
768
+ # Optional. List of directory-paths to be pre-populated for the FlexCache volume.
769
+ # Corresponds to the JSON property `pathList`
770
+ # @return [Array<String>]
771
+ attr_accessor :path_list
772
+
773
+ # Optional. Flag indicating whether the directories listed with the pathList
774
+ # need to be recursively pre-populated.
775
+ # Corresponds to the JSON property `recursion`
776
+ # @return [Boolean]
777
+ attr_accessor :recursion
778
+ alias_method :recursion?, :recursion
779
+
780
+ def initialize(**args)
781
+ update!(**args)
782
+ end
783
+
784
+ # Update properties of this object
785
+ def update!(**args)
786
+ @exclude_path_list = args[:exclude_path_list] if args.key?(:exclude_path_list)
787
+ @path_list = args[:path_list] if args.key?(:path_list)
788
+ @recursion = args[:recursion] if args.key?(:recursion)
789
+ end
790
+ end
791
+
662
792
  # The request message for Operations.CancelOperation.
663
793
  class CancelOperationRequest
664
794
  include Google::Apis::Core::Hashable
@@ -841,6 +971,71 @@ module Google
841
971
  end
842
972
  end
843
973
 
974
+ # Host group is a collection of hosts that can be used for accessing a Block
975
+ # Volume.
976
+ class HostGroup
977
+ include Google::Apis::Core::Hashable
978
+
979
+ # Output only. Create time of the host group.
980
+ # Corresponds to the JSON property `createTime`
981
+ # @return [String]
982
+ attr_accessor :create_time
983
+
984
+ # Optional. Description of the host group.
985
+ # Corresponds to the JSON property `description`
986
+ # @return [String]
987
+ attr_accessor :description
988
+
989
+ # Required. The list of hosts associated with the host group.
990
+ # Corresponds to the JSON property `hosts`
991
+ # @return [Array<String>]
992
+ attr_accessor :hosts
993
+
994
+ # Optional. Labels of the host group.
995
+ # Corresponds to the JSON property `labels`
996
+ # @return [Hash<String,String>]
997
+ attr_accessor :labels
998
+
999
+ # Identifier. The resource name of the host group. Format: `projects/`
1000
+ # project_number`/locations/`location_id`/hostGroups/`host_group_id``.
1001
+ # Corresponds to the JSON property `name`
1002
+ # @return [String]
1003
+ attr_accessor :name
1004
+
1005
+ # Required. The OS type of the host group. It indicates the type of operating
1006
+ # system used by all of the hosts in the HostGroup. All hosts in a HostGroup
1007
+ # must be of the same OS type. This can be set only when creating a HostGroup.
1008
+ # Corresponds to the JSON property `osType`
1009
+ # @return [String]
1010
+ attr_accessor :os_type
1011
+
1012
+ # Output only. State of the host group.
1013
+ # Corresponds to the JSON property `state`
1014
+ # @return [String]
1015
+ attr_accessor :state
1016
+
1017
+ # Required. Type of the host group.
1018
+ # Corresponds to the JSON property `type`
1019
+ # @return [String]
1020
+ attr_accessor :type
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @create_time = args[:create_time] if args.key?(:create_time)
1029
+ @description = args[:description] if args.key?(:description)
1030
+ @hosts = args[:hosts] if args.key?(:hosts)
1031
+ @labels = args[:labels] if args.key?(:labels)
1032
+ @name = args[:name] if args.key?(:name)
1033
+ @os_type = args[:os_type] if args.key?(:os_type)
1034
+ @state = args[:state] if args.key?(:state)
1035
+ @type = args[:type] if args.key?(:type)
1036
+ end
1037
+ end
1038
+
844
1039
  # Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
845
1040
  class HourlySchedule
846
1041
  include Google::Apis::Core::Hashable
@@ -1019,8 +1214,8 @@ module Google
1019
1214
  # @return [String]
1020
1215
  attr_accessor :create_time
1021
1216
 
1022
- # Required. Customer managed crypto key resource full name. Format: projects/`
1023
- # project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key`.
1217
+ # Required. Customer managed crypto key resource full name. Format: `projects/`
1218
+ # project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
1024
1219
  # Corresponds to the JSON property `cryptoKeyName`
1025
1220
  # @return [String]
1026
1221
  attr_accessor :crypto_key_name
@@ -1206,6 +1401,37 @@ module Google
1206
1401
  end
1207
1402
  end
1208
1403
 
1404
+ # ListHostGroupsResponse is the response to a ListHostGroupsRequest.
1405
+ class ListHostGroupsResponse
1406
+ include Google::Apis::Core::Hashable
1407
+
1408
+ # The list of host groups.
1409
+ # Corresponds to the JSON property `hostGroups`
1410
+ # @return [Array<Google::Apis::NetappV1::HostGroup>]
1411
+ attr_accessor :host_groups
1412
+
1413
+ # A token identifying a page of results the server should return.
1414
+ # Corresponds to the JSON property `nextPageToken`
1415
+ # @return [String]
1416
+ attr_accessor :next_page_token
1417
+
1418
+ # Locations that could not be reached.
1419
+ # Corresponds to the JSON property `unreachable`
1420
+ # @return [Array<String>]
1421
+ attr_accessor :unreachable
1422
+
1423
+ def initialize(**args)
1424
+ update!(**args)
1425
+ end
1426
+
1427
+ # Update properties of this object
1428
+ def update!(**args)
1429
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
1430
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1431
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1432
+ end
1433
+ end
1434
+
1209
1435
  # ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.
1210
1436
  class ListKmsConfigsResponse
1211
1437
  include Google::Apis::Core::Hashable
@@ -1277,8 +1503,9 @@ module Google
1277
1503
  attr_accessor :operations
1278
1504
 
1279
1505
  # 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.
1506
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1507
+ # For example, when attempting to list all resources across all supported
1508
+ # locations.
1282
1509
  # Corresponds to the JSON property `unreachable`
1283
1510
  # @return [Array<String>]
1284
1511
  attr_accessor :unreachable
@@ -1946,13 +2173,14 @@ module Google
1946
2173
  # @return [String]
1947
2174
  attr_accessor :backup
1948
2175
 
1949
- # Required. List of files to be restored in the form of their absolute path as
1950
- # in source volume.
2176
+ # Required. List of files to be restored, specified by their absolute path in
2177
+ # the source volume.
1951
2178
  # Corresponds to the JSON property `fileList`
1952
2179
  # @return [Array<String>]
1953
2180
  attr_accessor :file_list
1954
2181
 
1955
- # Optional. Absolute directory path in the destination volume.
2182
+ # Optional. Absolute directory path in the destination volume. This is required
2183
+ # if the `file_list` is provided.
1956
2184
  # Corresponds to the JSON property `restoreDestinationPath`
1957
2185
  # @return [String]
1958
2186
  attr_accessor :restore_destination_path
@@ -2059,7 +2287,7 @@ module Google
2059
2287
  attr_accessor :allowed_clients
2060
2288
 
2061
2289
  # Optional. An integer representing the anonymous user ID. Range is 0 to
2062
- # 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.
2290
+ # 4294967295. Required when `squash_mode` is `ROOT_SQUASH` or `ALL_SQUASH`.
2063
2291
  # Corresponds to the JSON property `anonUid`
2064
2292
  # @return [Fixnum]
2065
2293
  attr_accessor :anon_uid
@@ -2494,6 +2722,14 @@ module Google
2494
2722
  # @return [Fixnum]
2495
2723
  attr_accessor :total_throughput_mibps
2496
2724
 
2725
+ # Optional. Type of the storage pool. This field is used to control whether the
2726
+ # pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`)
2727
+ # volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with
2728
+ # large capacity. If not specified during creation, it defaults to `FILE`.
2729
+ # Corresponds to the JSON property `type`
2730
+ # @return [String]
2731
+ attr_accessor :type
2732
+
2497
2733
  # Output only. Allocated size of all volumes in GIB in the storage pool
2498
2734
  # Corresponds to the JSON property `volumeCapacityGib`
2499
2735
  # @return [Fixnum]
@@ -2543,6 +2779,7 @@ module Google
2543
2779
  @state_details = args[:state_details] if args.key?(:state_details)
2544
2780
  @total_iops = args[:total_iops] if args.key?(:total_iops)
2545
2781
  @total_throughput_mibps = args[:total_throughput_mibps] if args.key?(:total_throughput_mibps)
2782
+ @type = args[:type] if args.key?(:type)
2546
2783
  @volume_capacity_gib = args[:volume_capacity_gib] if args.key?(:volume_capacity_gib)
2547
2784
  @volume_count = args[:volume_count] if args.key?(:volume_count)
2548
2785
  @zone = args[:zone] if args.key?(:zone)
@@ -2773,6 +3010,12 @@ module Google
2773
3010
  # @return [Google::Apis::NetappV1::BackupConfig]
2774
3011
  attr_accessor :backup_config
2775
3012
 
3013
+ # Optional. Block devices for the volume. Currently, only one block device is
3014
+ # permitted per Volume.
3015
+ # Corresponds to the JSON property `blockDevices`
3016
+ # @return [Array<Google::Apis::NetappV1::BlockDevice>]
3017
+ attr_accessor :block_devices
3018
+
2776
3019
  # Cache Parameters for the volume.
2777
3020
  # Corresponds to the JSON property `cacheParameters`
2778
3021
  # @return [Google::Apis::NetappV1::CacheParameters]
@@ -2995,6 +3238,7 @@ module Google
2995
3238
  def update!(**args)
2996
3239
  @active_directory = args[:active_directory] if args.key?(:active_directory)
2997
3240
  @backup_config = args[:backup_config] if args.key?(:backup_config)
3241
+ @block_devices = args[:block_devices] if args.key?(:block_devices)
2998
3242
  @cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
2999
3243
  @capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
3000
3244
  @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.22.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 = "20251209"
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
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class CachePrePopulate
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class CancelOperationRequest
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -112,6 +124,12 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class HostGroup
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class HourlySchedule
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -160,6 +178,12 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class ListHostGroupsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
163
187
  class ListKmsConfigsResponse
164
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
189
 
@@ -475,9 +499,12 @@ module Google
475
499
  property :backup_retention_policy, as: 'backupRetentionPolicy', class: Google::Apis::NetappV1::BackupRetentionPolicy, decorator: Google::Apis::NetappV1::BackupRetentionPolicy::Representation
476
500
 
477
501
  property :backup_vault_type, as: 'backupVaultType'
502
+ property :backups_crypto_key_version, as: 'backupsCryptoKeyVersion'
478
503
  property :create_time, as: 'createTime'
479
504
  property :description, as: 'description'
480
505
  property :destination_backup_vault, as: 'destinationBackupVault'
506
+ property :encryption_state, as: 'encryptionState'
507
+ property :kms_config, as: 'kmsConfig'
481
508
  hash :labels, as: 'labels'
482
509
  property :name, as: 'name'
483
510
  property :source_backup_vault, as: 'sourceBackupVault'
@@ -486,10 +513,25 @@ module Google
486
513
  end
487
514
  end
488
515
 
516
+ class BlockDevice
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ collection :host_groups, as: 'hostGroups'
520
+ property :identifier, as: 'identifier'
521
+ property :name, as: 'name'
522
+ property :os_type, as: 'osType'
523
+ property :size_gib, :numeric_string => true, as: 'sizeGib'
524
+ end
525
+ end
526
+
489
527
  class CacheConfig
490
528
  # @private
491
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :cache_pre_populate, as: 'cachePrePopulate', class: Google::Apis::NetappV1::CachePrePopulate, decorator: Google::Apis::NetappV1::CachePrePopulate::Representation
531
+
532
+ property :cache_pre_populate_state, as: 'cachePrePopulateState'
492
533
  property :cifs_change_notify_enabled, as: 'cifsChangeNotifyEnabled'
534
+ property :writeback_enabled, as: 'writebackEnabled'
493
535
  end
494
536
  end
495
537
 
@@ -511,6 +553,15 @@ module Google
511
553
  end
512
554
  end
513
555
 
556
+ class CachePrePopulate
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ collection :exclude_path_list, as: 'excludePathList'
560
+ collection :path_list, as: 'pathList'
561
+ property :recursion, as: 'recursion'
562
+ end
563
+ end
564
+
514
565
  class CancelOperationRequest
515
566
  # @private
516
567
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -568,6 +619,20 @@ module Google
568
619
  end
569
620
  end
570
621
 
622
+ class HostGroup
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ property :create_time, as: 'createTime'
626
+ property :description, as: 'description'
627
+ collection :hosts, as: 'hosts'
628
+ hash :labels, as: 'labels'
629
+ property :name, as: 'name'
630
+ property :os_type, as: 'osType'
631
+ property :state, as: 'state'
632
+ property :type, as: 'type'
633
+ end
634
+ end
635
+
571
636
  class HourlySchedule
572
637
  # @private
573
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +726,16 @@ module Google
661
726
  end
662
727
  end
663
728
 
729
+ class ListHostGroupsResponse
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ collection :host_groups, as: 'hostGroups', class: Google::Apis::NetappV1::HostGroup, decorator: Google::Apis::NetappV1::HostGroup::Representation
733
+
734
+ property :next_page_token, as: 'nextPageToken'
735
+ collection :unreachable, as: 'unreachable'
736
+ end
737
+ end
738
+
664
739
  class ListKmsConfigsResponse
665
740
  # @private
666
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1054,7 @@ module Google
979
1054
  property :state_details, as: 'stateDetails'
980
1055
  property :total_iops, :numeric_string => true, as: 'totalIops'
981
1056
  property :total_throughput_mibps, :numeric_string => true, as: 'totalThroughputMibps'
1057
+ property :type, as: 'type'
982
1058
  property :volume_capacity_gib, :numeric_string => true, as: 'volumeCapacityGib'
983
1059
  property :volume_count, as: 'volumeCount'
984
1060
  property :zone, as: 'zone'
@@ -1055,6 +1131,8 @@ module Google
1055
1131
  property :active_directory, as: 'activeDirectory'
1056
1132
  property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1057
1133
 
1134
+ collection :block_devices, as: 'blockDevices', class: Google::Apis::NetappV1::BlockDevice, decorator: Google::Apis::NetappV1::BlockDevice::Representation
1135
+
1058
1136
  property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
1059
1137
 
1060
1138
  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
988
+ # host 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.22.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.22.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: