Skip to content

Commit a1f01d8

Browse files
feat: Automated regeneration of netapp v1 client (googleapis#26559)
Auto-created at 2026-05-24 10:49:29 +0000 using the toys pull request generator.
1 parent d6f719c commit a1f01d8

6 files changed

Lines changed: 474 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326434,6 +326434,7 @@
326434326434
"/netapp:v1/Backup/labels": labels
326435326435
"/netapp:v1/Backup/labels/label": label
326436326436
"/netapp:v1/Backup/name": name
326437+
"/netapp:v1/Backup/ontapSource": ontap_source
326437326438
"/netapp:v1/Backup/satisfiesPzi": satisfies_pzi
326438326439
"/netapp:v1/Backup/satisfiesPzs": satisfies_pzs
326439326440
"/netapp:v1/Backup/sourceSnapshot": source_snapshot
@@ -326465,6 +326466,10 @@
326465326466
"/netapp:v1/BackupRetentionPolicy/manualBackupImmutable": manual_backup_immutable
326466326467
"/netapp:v1/BackupRetentionPolicy/monthlyBackupImmutable": monthly_backup_immutable
326467326468
"/netapp:v1/BackupRetentionPolicy/weeklyBackupImmutable": weekly_backup_immutable
326469+
"/netapp:v1/BackupSource": backup_source
326470+
"/netapp:v1/BackupSource/backup": backup
326471+
"/netapp:v1/BackupSource/fileList": file_list
326472+
"/netapp:v1/BackupSource/fileList/file_list": file_list
326468326473
"/netapp:v1/BackupVault": backup_vault
326469326474
"/netapp:v1/BackupVault/backupRegion": backup_region
326470326475
"/netapp:v1/BackupVault/backupRetentionPolicy": backup_retention_policy
@@ -326640,6 +326645,12 @@
326640326645
"/netapp:v1/ListActiveDirectoriesResponse/nextPageToken": next_page_token
326641326646
"/netapp:v1/ListActiveDirectoriesResponse/unreachable": unreachable
326642326647
"/netapp:v1/ListActiveDirectoriesResponse/unreachable/unreachable": unreachable
326648+
"/netapp:v1/ListBackupConfigsResponse": list_backup_configs_response
326649+
"/netapp:v1/ListBackupConfigsResponse/nextPageToken": next_page_token
326650+
"/netapp:v1/ListBackupConfigsResponse/unreachable": unreachable
326651+
"/netapp:v1/ListBackupConfigsResponse/unreachable/unreachable": unreachable
326652+
"/netapp:v1/ListBackupConfigsResponse/volumeBackupConfigs": volume_backup_configs
326653+
"/netapp:v1/ListBackupConfigsResponse/volumeBackupConfigs/volume_backup_config": volume_backup_config
326643326654
"/netapp:v1/ListBackupPoliciesResponse": list_backup_policies_response
326644326655
"/netapp:v1/ListBackupPoliciesResponse/backupPolicies": backup_policies
326645326656
"/netapp:v1/ListBackupPoliciesResponse/backupPolicies/backup_policy": backup_policy
@@ -326746,6 +326757,13 @@
326746326757
"/netapp:v1/MountOption/instructions": instructions
326747326758
"/netapp:v1/MountOption/ipAddress": ip_address
326748326759
"/netapp:v1/MountOption/protocol": protocol
326760+
"/netapp:v1/OntapSource": ontap_source
326761+
"/netapp:v1/OntapSource/snapshotUuid": snapshot_uuid
326762+
"/netapp:v1/OntapSource/storagePool": storage_pool
326763+
"/netapp:v1/OntapSource/volumeUuid": volume_uuid
326764+
"/netapp:v1/OntapVolumeTarget": ontap_volume_target
326765+
"/netapp:v1/OntapVolumeTarget/restoreDestinationPath": restore_destination_path
326766+
"/netapp:v1/OntapVolumeTarget/volumeUuid": volume_uuid
326749326767
"/netapp:v1/Operation": operation
326750326768
"/netapp:v1/Operation/done": done
326751326769
"/netapp:v1/Operation/error": error
@@ -326810,6 +326828,9 @@
326810326828
"/netapp:v1/RestoreParameters": restore_parameters
326811326829
"/netapp:v1/RestoreParameters/sourceBackup": source_backup
326812326830
"/netapp:v1/RestoreParameters/sourceSnapshot": source_snapshot
326831+
"/netapp:v1/RestoreVolumeRequest": restore_volume_request
326832+
"/netapp:v1/RestoreVolumeRequest/backupSource": backup_source
326833+
"/netapp:v1/RestoreVolumeRequest/ontapVolumeTarget": ontap_volume_target
326813326834
"/netapp:v1/ResumeReplicationRequest": resume_replication_request
326814326835
"/netapp:v1/ReverseReplicationDirectionRequest": reverse_replication_direction_request
326815326836
"/netapp:v1/RevertVolumeRequest": revert_volume_request
@@ -326911,6 +326932,10 @@
326911326932
"/netapp:v1/TransferStats/totalTransferDuration": total_transfer_duration
326912326933
"/netapp:v1/TransferStats/transferBytes": transfer_bytes
326913326934
"/netapp:v1/TransferStats/updateTime": update_time
326935+
"/netapp:v1/UpdateBackupConfigRequest": update_backup_config_request
326936+
"/netapp:v1/UpdateBackupConfigRequest/backupConfig": backup_config
326937+
"/netapp:v1/UpdateBackupConfigRequest/updateMask": update_mask
326938+
"/netapp:v1/UpdateBackupConfigRequest/volumeUuid": volume_uuid
326914326939
"/netapp:v1/UserCommands": user_commands
326915326940
"/netapp:v1/UserCommands/commands": commands
326916326941
"/netapp:v1/UserCommands/commands/command": command
@@ -326972,6 +326997,9 @@
326972326997
"/netapp:v1/Volume/unixPermissions": unix_permissions
326973326998
"/netapp:v1/Volume/usedGib": used_gib
326974326999
"/netapp:v1/Volume/zone": zone
327000+
"/netapp:v1/VolumeBackupConfig": volume_backup_config
327001+
"/netapp:v1/VolumeBackupConfig/backupConfig": backup_config
327002+
"/netapp:v1/VolumeBackupConfig/volumeUuid": volume_uuid
326975327003
"/netapp:v1/WeeklySchedule": weekly_schedule
326976327004
"/netapp:v1/WeeklySchedule/day": day
326977327005
"/netapp:v1/WeeklySchedule/hour": hour
@@ -327101,6 +327129,12 @@
327101327129
"/netapp:v1/netapp.projects.locations.operations.list/pageSize": page_size
327102327130
"/netapp:v1/netapp.projects.locations.operations.list/pageToken": page_token
327103327131
"/netapp:v1/netapp.projects.locations.operations.list/returnPartialSuccess": return_partial_success
327132+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list": list_project_location_storage_pool_backup_configs
327133+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list/filter": filter
327134+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list/orderBy": order_by
327135+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list/pageSize": page_size
327136+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list/pageToken": page_token
327137+
"/netapp:v1/netapp.projects.locations.storagePools.backupConfigs.list/parent": parent
327104327138
"/netapp:v1/netapp.projects.locations.storagePools.create": create_project_location_storage_pool
327105327139
"/netapp:v1/netapp.projects.locations.storagePools.create/parent": parent
327106327140
"/netapp:v1/netapp.projects.locations.storagePools.create/storagePoolId": storage_pool_id
@@ -327125,8 +327159,12 @@
327125327159
"/netapp:v1/netapp.projects.locations.storagePools.patch": patch_project_location_storage_pool
327126327160
"/netapp:v1/netapp.projects.locations.storagePools.patch/name": name
327127327161
"/netapp:v1/netapp.projects.locations.storagePools.patch/updateMask": update_mask
327162+
"/netapp:v1/netapp.projects.locations.storagePools.restoreVolume": restore_storage_pool_volume
327163+
"/netapp:v1/netapp.projects.locations.storagePools.restoreVolume/name": name
327128327164
"/netapp:v1/netapp.projects.locations.storagePools.switch": switch_storage_pool_active_replica_zone
327129327165
"/netapp:v1/netapp.projects.locations.storagePools.switch/name": name
327166+
"/netapp:v1/netapp.projects.locations.storagePools.updateBackupConfig": update_storage_pool_backup_config
327167+
"/netapp:v1/netapp.projects.locations.storagePools.updateBackupConfig/name": name
327130327168
"/netapp:v1/netapp.projects.locations.storagePools.validateDirectoryService": validate_storage_pool_directory_service
327131327169
"/netapp:v1/netapp.projects.locations.storagePools.validateDirectoryService/name": name
327132327170
"/netapp:v1/netapp.projects.locations.volumes.create": create_project_location_volume

generated/google-apis-netapp_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-netapp_v1
22

3+
### v0.31.0 (2026-05-24)
4+
5+
* Regenerated from discovery document revision 20260518
6+
37
### v0.30.0 (2026-05-17)
48

59
* Regenerated from discovery document revision 20260513

generated/google-apis-netapp_v1/lib/google/apis/netapp_v1/classes.rb

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ class Backup
228228
# @return [String]
229229
attr_accessor :name
230230

231+
# Represents ONTAP source details.
232+
# Corresponds to the JSON property `ontapSource`
233+
# @return [Google::Apis::NetappV1::OntapSource]
234+
attr_accessor :ontap_source
235+
231236
# Output only. Reserved for future use
232237
# Corresponds to the JSON property `satisfiesPzi`
233238
# @return [Boolean]
@@ -287,6 +292,7 @@ def update!(**args)
287292
@enforced_retention_end_time = args[:enforced_retention_end_time] if args.key?(:enforced_retention_end_time)
288293
@labels = args[:labels] if args.key?(:labels)
289294
@name = args[:name] if args.key?(:name)
295+
@ontap_source = args[:ontap_source] if args.key?(:ontap_source)
290296
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
291297
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
292298
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -473,6 +479,33 @@ def update!(**args)
473479
end
474480
end
475481

482+
# Represents the backup source of the restore operation.
483+
class BackupSource
484+
include Google::Apis::Core::Hashable
485+
486+
# Required. The backup resource name.
487+
# Corresponds to the JSON property `backup`
488+
# @return [String]
489+
attr_accessor :backup
490+
491+
# Optional. List of files to be restored in the form of their absolute path as
492+
# in source volume. If provided, only these files will be restored. If not
493+
# provided, the entire backup will be restored (Full Backup Restore)
494+
# Corresponds to the JSON property `fileList`
495+
# @return [Array<String>]
496+
attr_accessor :file_list
497+
498+
def initialize(**args)
499+
update!(**args)
500+
end
501+
502+
# Update properties of this object
503+
def update!(**args)
504+
@backup = args[:backup] if args.key?(:backup)
505+
@file_list = args[:file_list] if args.key?(:file_list)
506+
end
507+
end
508+
476509
# A NetApp BackupVault.
477510
class BackupVault
478511
include Google::Apis::Core::Hashable
@@ -1525,6 +1558,38 @@ def update!(**args)
15251558
end
15261559
end
15271560

1561+
# Message for response to listing BackupConfigs in an ONTAP StoragePool.
1562+
class ListBackupConfigsResponse
1563+
include Google::Apis::Core::Hashable
1564+
1565+
# The token you can use to retrieve the next page of results. Not returned if
1566+
# there are no more results in the list.
1567+
# Corresponds to the JSON property `nextPageToken`
1568+
# @return [String]
1569+
attr_accessor :next_page_token
1570+
1571+
# Unordered list. Locations that could not be reached.
1572+
# Corresponds to the JSON property `unreachable`
1573+
# @return [Array<String>]
1574+
attr_accessor :unreachable
1575+
1576+
# A list of backup configurations for volumes in the pool.
1577+
# Corresponds to the JSON property `volumeBackupConfigs`
1578+
# @return [Array<Google::Apis::NetappV1::VolumeBackupConfig>]
1579+
attr_accessor :volume_backup_configs
1580+
1581+
def initialize(**args)
1582+
update!(**args)
1583+
end
1584+
1585+
# Update properties of this object
1586+
def update!(**args)
1587+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1588+
@unreachable = args[:unreachable] if args.key?(:unreachable)
1589+
@volume_backup_configs = args[:volume_backup_configs] if args.key?(:volume_backup_configs)
1590+
end
1591+
end
1592+
15281593
# ListBackupPoliciesResponse contains all the backup policies requested.
15291594
class ListBackupPoliciesResponse
15301595
include Google::Apis::Core::Hashable
@@ -2066,6 +2131,64 @@ def update!(**args)
20662131
end
20672132
end
20682133

2134+
# Represents ONTAP source details.
2135+
class OntapSource
2136+
include Google::Apis::Core::Hashable
2137+
2138+
# Optional. The UUID of the ONTAP source snapshot.
2139+
# Corresponds to the JSON property `snapshotUuid`
2140+
# @return [String]
2141+
attr_accessor :snapshot_uuid
2142+
2143+
# Required. Name of the storage pool. This must be specified for creating
2144+
# backups for ONTAP mode volumes. Format: `projects/`projects_id`/locations/`
2145+
# location`/storagePools/`storage_pool_id``
2146+
# Corresponds to the JSON property `storagePool`
2147+
# @return [String]
2148+
attr_accessor :storage_pool
2149+
2150+
# Required. The UUID of the ONTAP source volume.
2151+
# Corresponds to the JSON property `volumeUuid`
2152+
# @return [String]
2153+
attr_accessor :volume_uuid
2154+
2155+
def initialize(**args)
2156+
update!(**args)
2157+
end
2158+
2159+
# Update properties of this object
2160+
def update!(**args)
2161+
@snapshot_uuid = args[:snapshot_uuid] if args.key?(:snapshot_uuid)
2162+
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
2163+
@volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
2164+
end
2165+
end
2166+
2167+
# Represents the ONTAP volume target of the restore operation.
2168+
class OntapVolumeTarget
2169+
include Google::Apis::Core::Hashable
2170+
2171+
# Optional. Absolute directory path in the destination volume.
2172+
# Corresponds to the JSON property `restoreDestinationPath`
2173+
# @return [String]
2174+
attr_accessor :restore_destination_path
2175+
2176+
# Required. The UUID of the ONTAP volume to restore to.
2177+
# Corresponds to the JSON property `volumeUuid`
2178+
# @return [String]
2179+
attr_accessor :volume_uuid
2180+
2181+
def initialize(**args)
2182+
update!(**args)
2183+
end
2184+
2185+
# Update properties of this object
2186+
def update!(**args)
2187+
@restore_destination_path = args[:restore_destination_path] if args.key?(:restore_destination_path)
2188+
@volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
2189+
end
2190+
end
2191+
20692192
# This resource represents a long-running operation that is the result of a
20702193
# network API call.
20712194
class Operation
@@ -2452,6 +2575,31 @@ def update!(**args)
24522575
end
24532576
end
24542577

2578+
# Request message for `RestoreVolume` API.
2579+
class RestoreVolumeRequest
2580+
include Google::Apis::Core::Hashable
2581+
2582+
# Represents the backup source of the restore operation.
2583+
# Corresponds to the JSON property `backupSource`
2584+
# @return [Google::Apis::NetappV1::BackupSource]
2585+
attr_accessor :backup_source
2586+
2587+
# Represents the ONTAP volume target of the restore operation.
2588+
# Corresponds to the JSON property `ontapVolumeTarget`
2589+
# @return [Google::Apis::NetappV1::OntapVolumeTarget]
2590+
attr_accessor :ontap_volume_target
2591+
2592+
def initialize(**args)
2593+
update!(**args)
2594+
end
2595+
2596+
# Update properties of this object
2597+
def update!(**args)
2598+
@backup_source = args[:backup_source] if args.key?(:backup_source)
2599+
@ontap_volume_target = args[:ontap_volume_target] if args.key?(:ontap_volume_target)
2600+
end
2601+
end
2602+
24552603
# ResumeReplicationRequest resumes a stopped replication.
24562604
class ResumeReplicationRequest
24572605
include Google::Apis::Core::Hashable
@@ -3152,6 +3300,40 @@ def update!(**args)
31523300
end
31533301
end
31543302

3303+
# Request message for UpdateBackupConfig
3304+
class UpdateBackupConfigRequest
3305+
include Google::Apis::Core::Hashable
3306+
3307+
# BackupConfig contains backup related config on a volume.
3308+
# Corresponds to the JSON property `backupConfig`
3309+
# @return [Google::Apis::NetappV1::BackupConfig]
3310+
attr_accessor :backup_config
3311+
3312+
# Required. Field mask is used to specify the fields to be overwritten in the
3313+
# BackupConfig for the Volume. The fields specified in the update_mask are
3314+
# relative to the resource, not the full request. A field will be overwritten if
3315+
# it is in the mask.
3316+
# Corresponds to the JSON property `updateMask`
3317+
# @return [String]
3318+
attr_accessor :update_mask
3319+
3320+
# Required. The UUID of the ONTAP-mode volume.
3321+
# Corresponds to the JSON property `volumeUuid`
3322+
# @return [String]
3323+
attr_accessor :volume_uuid
3324+
3325+
def initialize(**args)
3326+
update!(**args)
3327+
end
3328+
3329+
# Update properties of this object
3330+
def update!(**args)
3331+
@backup_config = args[:backup_config] if args.key?(:backup_config)
3332+
@update_mask = args[:update_mask] if args.key?(:update_mask)
3333+
@volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
3334+
end
3335+
end
3336+
31553337
# UserCommands contains the commands to be executed by the customer.
31563338
class UserCommands
31573339
include Google::Apis::Core::Hashable
@@ -3539,6 +3721,31 @@ def update!(**args)
35393721
end
35403722
end
35413723

3724+
# Backup configuration for a volume in a pool.
3725+
class VolumeBackupConfig
3726+
include Google::Apis::Core::Hashable
3727+
3728+
# BackupConfig contains backup related config on a volume.
3729+
# Corresponds to the JSON property `backupConfig`
3730+
# @return [Google::Apis::NetappV1::BackupConfig]
3731+
attr_accessor :backup_config
3732+
3733+
# Provides the Ontap UUID of the volume within the pool.
3734+
# Corresponds to the JSON property `volumeUuid`
3735+
# @return [String]
3736+
attr_accessor :volume_uuid
3737+
3738+
def initialize(**args)
3739+
update!(**args)
3740+
end
3741+
3742+
# Update properties of this object
3743+
def update!(**args)
3744+
@backup_config = args[:backup_config] if args.key?(:backup_config)
3745+
@volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
3746+
end
3747+
end
3748+
35423749
# Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
35433750
class WeeklySchedule
35443751
include Google::Apis::Core::Hashable

generated/google-apis-netapp_v1/lib/google/apis/netapp_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NetappV1
1818
# Version of the google-apis-netapp_v1 gem
19-
GEM_VERSION = "0.30.0"
19+
GEM_VERSION = "0.31.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260513"
25+
REVISION = "20260518"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)