Class: Google::Apis::HypercomputeclusterV1::FileShareConfig
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::FileShareConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/hypercomputecluster_v1/classes.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb
Overview
Message describing filestore configuration
Instance Attribute Summary collapse
-
#capacity_gb ⇒ Fixnum
Required.
-
#file_share ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileShareConfig
constructor
A new instance of FileShareConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FileShareConfig
Returns a new instance of FileShareConfig.
757 758 759 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#capacity_gb ⇒ Fixnum
Required. Size of the filestore in GB. Must be between 1024 and 102400, and
must meet scalability requirements described at https://cloud.google.com/
filestore/docs/service-tiers.
Corresponds to the JSON property capacityGb
750 751 752 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 750 def capacity_gb @capacity_gb end |
#file_share ⇒ String
Required. Filestore share location
Corresponds to the JSON property fileShare
755 756 757 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 755 def file_share @file_share end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
762 763 764 765 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 762 def update!(**args) @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb) @file_share = args[:file_share] if args.key?(:file_share) end |