Class: Google::Apis::HypercomputeclusterV1::FileShareConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_gbFixnum

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

Returns:

  • (Fixnum)


750
751
752
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 750

def capacity_gb
  @capacity_gb
end

#file_shareString

Required. Filestore share location Corresponds to the JSON property fileShare

Returns:

  • (String)


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