@@ -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 )
0 commit comments