Class: Google::Apis::CloudbuildV2::VolumeClaim
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::VolumeClaim
- 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
-
#storage ⇒ String
Volume size, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VolumeClaim
constructor
A new instance of VolumeClaim.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#storage ⇒ String
Volume size, e.g. 1gb.
Corresponds to the JSON property storage
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 |