Skip to content

Commit 349d84b

Browse files
feat: Automated regeneration of netapp v1 client (#25794)
Auto-created at 2026-02-22 10:29:54 +0000 using the toys pull request generator.
1 parent b9b136f commit 349d84b

File tree

5 files changed

+69
-2
lines changed

5 files changed

+69
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316442,6 +316442,10 @@
316442316442
"/netapp:v1/CachePrePopulate/pathList/path_list": path_list
316443316443
"/netapp:v1/CachePrePopulate/recursion": recursion
316444316444
"/netapp:v1/CancelOperationRequest": cancel_operation_request
316445+
"/netapp:v1/CloneDetails": clone_details
316446+
"/netapp:v1/CloneDetails/sharedSpaceGib": shared_space_gib
316447+
"/netapp:v1/CloneDetails/sourceSnapshot": source_snapshot
316448+
"/netapp:v1/CloneDetails/sourceVolume": source_volume
316445316449
"/netapp:v1/CloudAsset": cloud_asset
316446316450
"/netapp:v1/CloudAsset/assetName": asset_name
316447316451
"/netapp:v1/CloudAsset/assetType": asset_type
@@ -316827,6 +316831,7 @@
316827316831
"/netapp:v1/Volume/blockDevices/block_device": block_device
316828316832
"/netapp:v1/Volume/cacheParameters": cache_parameters
316829316833
"/netapp:v1/Volume/capacityGib": capacity_gib
316834+
"/netapp:v1/Volume/cloneDetails": clone_details
316830316835
"/netapp:v1/Volume/coldTierSizeGib": cold_tier_size_gib
316831316836
"/netapp:v1/Volume/createTime": create_time
316832316837
"/netapp:v1/Volume/description": description

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.26.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260218
6+
37
### v0.25.0 (2026-02-01)
48

59
* Regenerated from discovery document revision 20260125

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,41 @@ def update!(**args)
803803
end
804804
end
805805

806+
# Details about a clone volume.
807+
class CloneDetails
808+
include Google::Apis::Core::Hashable
809+
810+
# Output only. Shared space in GiB. Determined at volume creation time based on
811+
# size of source snapshot.
812+
# Corresponds to the JSON property `sharedSpaceGib`
813+
# @return [Fixnum]
814+
attr_accessor :shared_space_gib
815+
816+
# Output only. Specifies the full resource name of the source snapshot from
817+
# which this volume was cloned. Format: projects/`project`/locations/`location`/
818+
# volumes/`volume`/snapshots/`snapshot`
819+
# Corresponds to the JSON property `sourceSnapshot`
820+
# @return [String]
821+
attr_accessor :source_snapshot
822+
823+
# Output only. Full name of the source volume resource. Format: projects/`
824+
# project`/locations/`location`/volumes/`volume`
825+
# Corresponds to the JSON property `sourceVolume`
826+
# @return [String]
827+
attr_accessor :source_volume
828+
829+
def initialize(**args)
830+
update!(**args)
831+
end
832+
833+
# Update properties of this object
834+
def update!(**args)
835+
@shared_space_gib = args[:shared_space_gib] if args.key?(:shared_space_gib)
836+
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
837+
@source_volume = args[:source_volume] if args.key?(:source_volume)
838+
end
839+
end
840+
806841
# Make a snapshot every day e.g. at 04:00, 05:20, 23:50
807842
class DailySchedule
808843
include Google::Apis::Core::Hashable
@@ -3076,6 +3111,11 @@ class Volume
30763111
# @return [Fixnum]
30773112
attr_accessor :capacity_gib
30783113

3114+
# Details about a clone volume.
3115+
# Corresponds to the JSON property `cloneDetails`
3116+
# @return [Google::Apis::NetappV1::CloneDetails]
3117+
attr_accessor :clone_details
3118+
30793119
# Output only. Size of the volume cold tier data rounded down to the nearest GiB.
30803120
# Corresponds to the JSON property `coldTierSizeGib`
30813121
# @return [Fixnum]
@@ -3291,6 +3331,7 @@ def update!(**args)
32913331
@block_devices = args[:block_devices] if args.key?(:block_devices)
32923332
@cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
32933333
@capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
3334+
@clone_details = args[:clone_details] if args.key?(:clone_details)
32943335
@cold_tier_size_gib = args[:cold_tier_size_gib] if args.key?(:cold_tier_size_gib)
32953336
@create_time = args[:create_time] if args.key?(:create_time)
32963337
@description = args[:description] if args.key?(:description)

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.25.0"
19+
GEM_VERSION = "0.26.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 = "20260125"
25+
REVISION = "20260218"
2626
end
2727
end
2828
end

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8888
include Google::Apis::Core::JsonObjectSupport
8989
end
9090

91+
class CloneDetails
92+
class Representation < Google::Apis::Core::JsonRepresentation; end
93+
94+
include Google::Apis::Core::JsonObjectSupport
95+
end
96+
9197
class DailySchedule
9298
class Representation < Google::Apis::Core::JsonRepresentation; end
9399

@@ -574,6 +580,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
574580
end
575581
end
576582

583+
class CloneDetails
584+
# @private
585+
class Representation < Google::Apis::Core::JsonRepresentation
586+
property :shared_space_gib, :numeric_string => true, as: 'sharedSpaceGib'
587+
property :source_snapshot, as: 'sourceSnapshot'
588+
property :source_volume, as: 'sourceVolume'
589+
end
590+
end
591+
577592
class DailySchedule
578593
# @private
579594
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1153,6 +1168,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
11531168
property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
11541169

11551170
property :capacity_gib, :numeric_string => true, as: 'capacityGib'
1171+
property :clone_details, as: 'cloneDetails', class: Google::Apis::NetappV1::CloneDetails, decorator: Google::Apis::NetappV1::CloneDetails::Representation
1172+
11561173
property :cold_tier_size_gib, :numeric_string => true, as: 'coldTierSizeGib'
11571174
property :create_time, as: 'createTime'
11581175
property :description, as: 'description'

0 commit comments

Comments
 (0)