google-apis-netapp_v1 0.26.0 → 0.27.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: ae710a58c7160a83bbfa82d46df63e8b2a0794479678423778686ea464a4a05c
4
- data.tar.gz: c87a399088b87b44153b661844c1e20263d7dd472ba0467b829b7c349bf04ac6
3
+ metadata.gz: 5f41987ba0acc99e1845f17cd9732c9a5bbcdb2f566105f2102bac58c7732f3b
4
+ data.tar.gz: 9301205f3a2c9c3c32619881e6e9fbe47bbb5ab5a0d58c35119527f27d2dfc13
5
5
  SHA512:
6
- metadata.gz: ee284259368bb31c4bff84a5d67d8f57ab68ebb8b15e3c9f15e1053c6d5229cd657e8997ecbba832d46896f48d699610afab1a821dcff5e87397beb8d5cc9c39
7
- data.tar.gz: 751f601112da449b36282f091fa5f56258496b74fe5130376122fc82726ace590714cb76f1d620ca5afa8a7ccd9d4e2c263af2d83ef0de2945b9d5d53342eb8c
6
+ metadata.gz: fb4bca595d4eb756f9b40e1e92438db82c674078e986c3135381c98cf7ee63c0af0d7ead37626f5c8d4e549aba3245902267dabfb7e63c8978dcc37047cbc659
7
+ data.tar.gz: f626e1b2935ea12837a197dc4336aee5168539f42bab594b102d03df12b6c3ff8c297f3e43a37428ddfe7480823aad858f9fda46d45edd6ff94389a49bd14db7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.27.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260318
6
+
3
7
  ### v0.26.0 (2026-02-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20260218
@@ -248,8 +248,9 @@ module Google
248
248
  # @return [String]
249
249
  attr_accessor :source_snapshot
250
250
 
251
- # Volume full name of this backup belongs to. Format: `projects/`projects_id`/
252
- # locations/`location`/volumes/`volume_id``
251
+ # Volume full name of this backup belongs to. Either source_volume or
252
+ # ontap_source should be provided. Format: `projects/`projects_id`/locations/`
253
+ # location`/volumes/`volume_id``
253
254
  # Corresponds to the JSON property `sourceVolume`
254
255
  # @return [String]
255
256
  attr_accessor :source_volume
@@ -1013,6 +1014,124 @@ module Google
1013
1014
  end
1014
1015
  end
1015
1016
 
1017
+ # Response message for `ExecuteOntapDelete` API.
1018
+ class ExecuteOntapDeleteResponse
1019
+ include Google::Apis::Core::Hashable
1020
+
1021
+ # The raw `JSON` body of the response.
1022
+ # Corresponds to the JSON property `body`
1023
+ # @return [Hash<String,Object>]
1024
+ attr_accessor :body
1025
+
1026
+ def initialize(**args)
1027
+ update!(**args)
1028
+ end
1029
+
1030
+ # Update properties of this object
1031
+ def update!(**args)
1032
+ @body = args[:body] if args.key?(:body)
1033
+ end
1034
+ end
1035
+
1036
+ # Response message for `ExecuteOntapGet` API.
1037
+ class ExecuteOntapGetResponse
1038
+ include Google::Apis::Core::Hashable
1039
+
1040
+ # The raw `JSON` body of the response.
1041
+ # Corresponds to the JSON property `body`
1042
+ # @return [Hash<String,Object>]
1043
+ attr_accessor :body
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @body = args[:body] if args.key?(:body)
1052
+ end
1053
+ end
1054
+
1055
+ # Request message for `ExecuteOntapPatch` API.
1056
+ class ExecuteOntapPatchRequest
1057
+ include Google::Apis::Core::Hashable
1058
+
1059
+ # Required. The raw `JSON` body of the request. The body should be in the format
1060
+ # of the ONTAP resource. For example: ``` ` "body": ` "field1": "value1", "
1061
+ # field2": "value2", ` ` ```
1062
+ # Corresponds to the JSON property `body`
1063
+ # @return [Hash<String,Object>]
1064
+ attr_accessor :body
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @body = args[:body] if args.key?(:body)
1073
+ end
1074
+ end
1075
+
1076
+ # Response message for `ExecuteOntapPatch` API.
1077
+ class ExecuteOntapPatchResponse
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # The raw `JSON` body of the response.
1081
+ # Corresponds to the JSON property `body`
1082
+ # @return [Hash<String,Object>]
1083
+ attr_accessor :body
1084
+
1085
+ def initialize(**args)
1086
+ update!(**args)
1087
+ end
1088
+
1089
+ # Update properties of this object
1090
+ def update!(**args)
1091
+ @body = args[:body] if args.key?(:body)
1092
+ end
1093
+ end
1094
+
1095
+ # Request message for `ExecuteOntapPost` API.
1096
+ class ExecuteOntapPostRequest
1097
+ include Google::Apis::Core::Hashable
1098
+
1099
+ # Required. The raw `JSON` body of the request. The body should be in the format
1100
+ # of the ONTAP resource. For example: ``` ` "body": ` "field1": "value1", "
1101
+ # field2": "value2", ` ` ```
1102
+ # Corresponds to the JSON property `body`
1103
+ # @return [Hash<String,Object>]
1104
+ attr_accessor :body
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ @body = args[:body] if args.key?(:body)
1113
+ end
1114
+ end
1115
+
1116
+ # Response message for `ExecuteOntapPost` API.
1117
+ class ExecuteOntapPostResponse
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # The raw `JSON` body of the response.
1121
+ # Corresponds to the JSON property `body`
1122
+ # @return [Hash<String,Object>]
1123
+ attr_accessor :body
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ @body = args[:body] if args.key?(:body)
1132
+ end
1133
+ end
1134
+
1016
1135
  # Defines the export policy for the volume.
1017
1136
  class ExportPolicy
1018
1137
  include Google::Apis::Core::Hashable
@@ -1353,6 +1472,28 @@ module Google
1353
1472
  end
1354
1473
  end
1355
1474
 
1475
+ # Configuration for a Large Capacity Volume. A Large Capacity Volume supports
1476
+ # sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal
1477
+ # constituents, and must be created in a large capacity pool.
1478
+ class LargeCapacityConfig
1479
+ include Google::Apis::Core::Hashable
1480
+
1481
+ # Optional. The number of internal constituents (e.g., FlexVols) for this large
1482
+ # volume. The minimum number of constituents is 2.
1483
+ # Corresponds to the JSON property `constituentCount`
1484
+ # @return [Fixnum]
1485
+ attr_accessor :constituent_count
1486
+
1487
+ def initialize(**args)
1488
+ update!(**args)
1489
+ end
1490
+
1491
+ # Update properties of this object
1492
+ def update!(**args)
1493
+ @constituent_count = args[:constituent_count] if args.key?(:constituent_count)
1494
+ end
1495
+ end
1496
+
1356
1497
  # ListActiveDirectoriesResponse contains all the active directories requested.
1357
1498
  class ListActiveDirectoriesResponse
1358
1499
  include Google::Apis::Core::Hashable
@@ -2286,8 +2427,10 @@ module Google
2286
2427
  class RestoreParameters
2287
2428
  include Google::Apis::Core::Hashable
2288
2429
 
2289
- # Full name of the backup resource. Format: projects/`project`/locations/`
2290
- # location`/backupVaults/`backup_vault_id`/backups/`backup_id`
2430
+ # Full name of the backup resource. Format for standard backup: projects/`
2431
+ # project`/locations/`location`/backupVaults/`backup_vault_id`/backups/`
2432
+ # backup_id` Format for BackupDR backup: projects/`project`/locations/`location`/
2433
+ # backupVaults/`backup_vault`/dataSources/`data_source`/backups/`backup`
2291
2434
  # Corresponds to the JSON property `sourceBackup`
2292
2435
  # @return [String]
2293
2436
  attr_accessor :source_backup
@@ -2742,6 +2885,13 @@ module Google
2742
2885
  attr_accessor :ldap_enabled
2743
2886
  alias_method :ldap_enabled?, :ldap_enabled
2744
2887
 
2888
+ # Optional. Mode of the storage pool. This field is used to control whether the
2889
+ # user can perform the ONTAP operations on the storage pool using the GCNV ONTAP
2890
+ # Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
2891
+ # Corresponds to the JSON property `mode`
2892
+ # @return [String]
2893
+ attr_accessor :mode
2894
+
2745
2895
  # Identifier. Name of the storage pool
2746
2896
  # Corresponds to the JSON property `name`
2747
2897
  # @return [String]
@@ -2781,6 +2931,12 @@ module Google
2781
2931
  attr_accessor :satisfies_pzs
2782
2932
  alias_method :satisfies_pzs?, :satisfies_pzs
2783
2933
 
2934
+ # Optional. The effective scale tier of the storage pool. If `scale_tier` is not
2935
+ # specified during creation, this defaults to `SCALE_TIER_STANDARD`.
2936
+ # Corresponds to the JSON property `scaleTier`
2937
+ # @return [String]
2938
+ attr_accessor :scale_tier
2939
+
2784
2940
  # Required. Service level of the storage pool
2785
2941
  # Corresponds to the JSON property `serviceLevel`
2786
2942
  # @return [String]
@@ -2809,8 +2965,7 @@ module Google
2809
2965
 
2810
2966
  # Optional. Type of the storage pool. This field is used to control whether the
2811
2967
  # pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`)
2812
- # volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with
2813
- # large capacity. If not specified during creation, it defaults to `FILE`.
2968
+ # volumes. If not specified during creation, it defaults to `FILE`.
2814
2969
  # Corresponds to the JSON property `type`
2815
2970
  # @return [String]
2816
2971
  attr_accessor :type
@@ -2852,6 +3007,7 @@ module Google
2852
3007
  @kms_config = args[:kms_config] if args.key?(:kms_config)
2853
3008
  @labels = args[:labels] if args.key?(:labels)
2854
3009
  @ldap_enabled = args[:ldap_enabled] if args.key?(:ldap_enabled)
3010
+ @mode = args[:mode] if args.key?(:mode)
2855
3011
  @name = args[:name] if args.key?(:name)
2856
3012
  @network = args[:network] if args.key?(:network)
2857
3013
  @psa_range = args[:psa_range] if args.key?(:psa_range)
@@ -2859,6 +3015,7 @@ module Google
2859
3015
  @replica_zone = args[:replica_zone] if args.key?(:replica_zone)
2860
3016
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2861
3017
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
3018
+ @scale_tier = args[:scale_tier] if args.key?(:scale_tier)
2862
3019
  @service_level = args[:service_level] if args.key?(:service_level)
2863
3020
  @state = args[:state] if args.key?(:state)
2864
3021
  @state_details = args[:state_details] if args.key?(:state_details)
@@ -3183,6 +3340,13 @@ module Google
3183
3340
  attr_accessor :large_capacity
3184
3341
  alias_method :large_capacity?, :large_capacity
3185
3342
 
3343
+ # Configuration for a Large Capacity Volume. A Large Capacity Volume supports
3344
+ # sizes ranging from 12 TiB to 20 PiB, it is composed of multiple internal
3345
+ # constituents, and must be created in a large capacity pool.
3346
+ # Corresponds to the JSON property `largeCapacityConfig`
3347
+ # @return [Google::Apis::NetappV1::LargeCapacityConfig]
3348
+ attr_accessor :large_capacity_config
3349
+
3186
3350
  # Output only. Flag indicating if the volume is NFS LDAP enabled or not.
3187
3351
  # Corresponds to the JSON property `ldapEnabled`
3188
3352
  # @return [Boolean]
@@ -3344,6 +3508,7 @@ module Google
3344
3508
  @kms_config = args[:kms_config] if args.key?(:kms_config)
3345
3509
  @labels = args[:labels] if args.key?(:labels)
3346
3510
  @large_capacity = args[:large_capacity] if args.key?(:large_capacity)
3511
+ @large_capacity_config = args[:large_capacity_config] if args.key?(:large_capacity_config)
3347
3512
  @ldap_enabled = args[:ldap_enabled] if args.key?(:ldap_enabled)
3348
3513
  @mount_options = args[:mount_options] if args.key?(:mount_options)
3349
3514
  @multiple_endpoints = args[:multiple_endpoints] if args.key?(:multiple_endpoints)
@@ -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.26.0"
19
+ GEM_VERSION = "0.27.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 = "20260218"
25
+ REVISION = "20260318"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,42 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ExecuteOntapDeleteResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExecuteOntapGetResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ExecuteOntapPatchRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ExecuteOntapPatchResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ExecuteOntapPostRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ExecuteOntapPostResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
127
163
  class ExportPolicy
128
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
165
 
@@ -166,6 +202,12 @@ module Google
166
202
  include Google::Apis::Core::JsonObjectSupport
167
203
  end
168
204
 
205
+ class LargeCapacityConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
169
211
  class ListActiveDirectoriesResponse
170
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
213
 
@@ -636,6 +678,48 @@ module Google
636
678
  end
637
679
  end
638
680
 
681
+ class ExecuteOntapDeleteResponse
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ hash :body, as: 'body'
685
+ end
686
+ end
687
+
688
+ class ExecuteOntapGetResponse
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ hash :body, as: 'body'
692
+ end
693
+ end
694
+
695
+ class ExecuteOntapPatchRequest
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ hash :body, as: 'body'
699
+ end
700
+ end
701
+
702
+ class ExecuteOntapPatchResponse
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ hash :body, as: 'body'
706
+ end
707
+ end
708
+
709
+ class ExecuteOntapPostRequest
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ hash :body, as: 'body'
713
+ end
714
+ end
715
+
716
+ class ExecuteOntapPostResponse
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ hash :body, as: 'body'
720
+ end
721
+ end
722
+
639
723
  class ExportPolicy
640
724
  # @private
641
725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -717,6 +801,13 @@ module Google
717
801
  end
718
802
  end
719
803
 
804
+ class LargeCapacityConfig
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :constituent_count, as: 'constituentCount'
808
+ end
809
+ end
810
+
720
811
  class ListActiveDirectoriesResponse
721
812
  # @private
722
813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,6 +1165,7 @@ module Google
1074
1165
  property :kms_config, as: 'kmsConfig'
1075
1166
  hash :labels, as: 'labels'
1076
1167
  property :ldap_enabled, as: 'ldapEnabled'
1168
+ property :mode, as: 'mode'
1077
1169
  property :name, as: 'name'
1078
1170
  property :network, as: 'network'
1079
1171
  property :psa_range, as: 'psaRange'
@@ -1081,6 +1173,7 @@ module Google
1081
1173
  property :replica_zone, as: 'replicaZone'
1082
1174
  property :satisfies_pzi, as: 'satisfiesPzi'
1083
1175
  property :satisfies_pzs, as: 'satisfiesPzs'
1176
+ property :scale_tier, as: 'scaleTier'
1084
1177
  property :service_level, as: 'serviceLevel'
1085
1178
  property :state, as: 'state'
1086
1179
  property :state_details, as: 'stateDetails'
@@ -1184,6 +1277,8 @@ module Google
1184
1277
  property :kms_config, as: 'kmsConfig'
1185
1278
  hash :labels, as: 'labels'
1186
1279
  property :large_capacity, as: 'largeCapacity'
1280
+ property :large_capacity_config, as: 'largeCapacityConfig', class: Google::Apis::NetappV1::LargeCapacityConfig, decorator: Google::Apis::NetappV1::LargeCapacityConfig::Representation
1281
+
1187
1282
  property :ldap_enabled, as: 'ldapEnabled'
1188
1283
  collection :mount_options, as: 'mountOptions', class: Google::Apis::NetappV1::MountOption, decorator: Google::Apis::NetappV1::MountOption::Representation
1189
1284
 
@@ -1720,6 +1720,148 @@ module Google
1720
1720
  execute_or_queue_command(command, &block)
1721
1721
  end
1722
1722
 
1723
+ # `ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool`
1724
+ # cluster.
1725
+ # @param [String] ontap_path
1726
+ # Required. The resource path of the ONTAP resource. Format: `projects/`
1727
+ # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1728
+ # ontap_resource_path``. For example: `projects/123456789/locations/us-central1/
1729
+ # storagePools/my-storage-pool/ontap/api/storage/volumes`.
1730
+ # @param [String] fields
1731
+ # Selector specifying which fields to include in a partial response.
1732
+ # @param [String] quota_user
1733
+ # Available to use for quota purposes for server-side applications. Can be any
1734
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1735
+ # @param [Google::Apis::RequestOptions] options
1736
+ # Request-specific options
1737
+ #
1738
+ # @yield [result, err] Result & error if block supplied
1739
+ # @yieldparam result [Google::Apis::NetappV1::ExecuteOntapDeleteResponse] parsed result object
1740
+ # @yieldparam err [StandardError] error object if request failed
1741
+ #
1742
+ # @return [Google::Apis::NetappV1::ExecuteOntapDeleteResponse]
1743
+ #
1744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1747
+ def execute_project_location_storage_pool_ontap_ontap_delete(ontap_path, fields: nil, quota_user: nil, options: nil, &block)
1748
+ command = make_simple_command(:delete, 'v1/{+ontapPath}', options)
1749
+ command.response_representation = Google::Apis::NetappV1::ExecuteOntapDeleteResponse::Representation
1750
+ command.response_class = Google::Apis::NetappV1::ExecuteOntapDeleteResponse
1751
+ command.params['ontapPath'] = ontap_path unless ontap_path.nil?
1752
+ command.query['fields'] = fields unless fields.nil?
1753
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1754
+ execute_or_queue_command(command, &block)
1755
+ end
1756
+
1757
+ # `ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool`
1758
+ # cluster.
1759
+ # @param [String] ontap_path
1760
+ # Required. The resource path of the ONTAP resource. Format: `projects/`
1761
+ # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1762
+ # ontap_resource_path``. For example: `projects/123456789/locations/us-central1/
1763
+ # storagePools/my-storage-pool/ontap/api/storage/volumes`.
1764
+ # @param [String] fields
1765
+ # Selector specifying which fields to include in a partial response.
1766
+ # @param [String] quota_user
1767
+ # Available to use for quota purposes for server-side applications. Can be any
1768
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1769
+ # @param [Google::Apis::RequestOptions] options
1770
+ # Request-specific options
1771
+ #
1772
+ # @yield [result, err] Result & error if block supplied
1773
+ # @yieldparam result [Google::Apis::NetappV1::ExecuteOntapGetResponse] parsed result object
1774
+ # @yieldparam err [StandardError] error object if request failed
1775
+ #
1776
+ # @return [Google::Apis::NetappV1::ExecuteOntapGetResponse]
1777
+ #
1778
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1779
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1780
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1781
+ def execute_project_location_storage_pool_ontap_ontap_get(ontap_path, fields: nil, quota_user: nil, options: nil, &block)
1782
+ command = make_simple_command(:get, 'v1/{+ontapPath}', options)
1783
+ command.response_representation = Google::Apis::NetappV1::ExecuteOntapGetResponse::Representation
1784
+ command.response_class = Google::Apis::NetappV1::ExecuteOntapGetResponse
1785
+ command.params['ontapPath'] = ontap_path unless ontap_path.nil?
1786
+ command.query['fields'] = fields unless fields.nil?
1787
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1788
+ execute_or_queue_command(command, &block)
1789
+ end
1790
+
1791
+ # `ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool`
1792
+ # cluster.
1793
+ # @param [String] ontap_path
1794
+ # Required. The resource path of the ONTAP resource. Format: `projects/`
1795
+ # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1796
+ # ontap_resource_path``. For example: `projects/123456789/locations/us-central1/
1797
+ # storagePools/my-storage-pool/ontap/api/storage/volumes`.
1798
+ # @param [Google::Apis::NetappV1::ExecuteOntapPatchRequest] execute_ontap_patch_request_object
1799
+ # @param [String] fields
1800
+ # Selector specifying which fields to include in a partial response.
1801
+ # @param [String] quota_user
1802
+ # Available to use for quota purposes for server-side applications. Can be any
1803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1804
+ # @param [Google::Apis::RequestOptions] options
1805
+ # Request-specific options
1806
+ #
1807
+ # @yield [result, err] Result & error if block supplied
1808
+ # @yieldparam result [Google::Apis::NetappV1::ExecuteOntapPatchResponse] parsed result object
1809
+ # @yieldparam err [StandardError] error object if request failed
1810
+ #
1811
+ # @return [Google::Apis::NetappV1::ExecuteOntapPatchResponse]
1812
+ #
1813
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1814
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1815
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1816
+ def execute_ontap_patch(ontap_path, execute_ontap_patch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1817
+ command = make_simple_command(:patch, 'v1/{+ontapPath}', options)
1818
+ command.request_representation = Google::Apis::NetappV1::ExecuteOntapPatchRequest::Representation
1819
+ command.request_object = execute_ontap_patch_request_object
1820
+ command.response_representation = Google::Apis::NetappV1::ExecuteOntapPatchResponse::Representation
1821
+ command.response_class = Google::Apis::NetappV1::ExecuteOntapPatchResponse
1822
+ command.params['ontapPath'] = ontap_path unless ontap_path.nil?
1823
+ command.query['fields'] = fields unless fields.nil?
1824
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1825
+ execute_or_queue_command(command, &block)
1826
+ end
1827
+
1828
+ # `ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool`
1829
+ # cluster.
1830
+ # @param [String] ontap_path
1831
+ # Required. The resource path of the ONTAP resource. Format: `projects/`
1832
+ # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1833
+ # ontap_resource_path``. For example: `projects/123456789/locations/us-central1/
1834
+ # storagePools/my-storage-pool/ontap/api/storage/volumes`.
1835
+ # @param [Google::Apis::NetappV1::ExecuteOntapPostRequest] execute_ontap_post_request_object
1836
+ # @param [String] fields
1837
+ # Selector specifying which fields to include in a partial response.
1838
+ # @param [String] quota_user
1839
+ # Available to use for quota purposes for server-side applications. Can be any
1840
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1841
+ # @param [Google::Apis::RequestOptions] options
1842
+ # Request-specific options
1843
+ #
1844
+ # @yield [result, err] Result & error if block supplied
1845
+ # @yieldparam result [Google::Apis::NetappV1::ExecuteOntapPostResponse] parsed result object
1846
+ # @yieldparam err [StandardError] error object if request failed
1847
+ #
1848
+ # @return [Google::Apis::NetappV1::ExecuteOntapPostResponse]
1849
+ #
1850
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1851
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1852
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1853
+ def execute_ontap_post(ontap_path, execute_ontap_post_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1854
+ command = make_simple_command(:post, 'v1/{+ontapPath}', options)
1855
+ command.request_representation = Google::Apis::NetappV1::ExecuteOntapPostRequest::Representation
1856
+ command.request_object = execute_ontap_post_request_object
1857
+ command.response_representation = Google::Apis::NetappV1::ExecuteOntapPostResponse::Representation
1858
+ command.response_class = Google::Apis::NetappV1::ExecuteOntapPostResponse
1859
+ command.params['ontapPath'] = ontap_path unless ontap_path.nil?
1860
+ command.query['fields'] = fields unless fields.nil?
1861
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1862
+ execute_or_queue_command(command, &block)
1863
+ end
1864
+
1723
1865
  # Creates a new Volume in a given project and location.
1724
1866
  # @param [String] parent
1725
1867
  # Required. Value for parent.
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.26.0
4
+ version: 0.27.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.26.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.27.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: