Class: Google::Apis::CloudbuildV2::VolumeClaim

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb

Overview

VolumeClaim is a user's request for a volume.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VolumeClaim

Returns a new instance of VolumeClaim.



2674
2675
2676
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2674

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#storageString

Volume size, e.g. 1gb. Corresponds to the JSON property storage

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2672

def storage
  @storage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2679
2680
2681
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2679

def update!(**args)
  @storage = args[:storage] if args.key?(:storage)
end