class Google::Apis::FileV1::FileShareConfig
File share configuration for the instance.
Attributes
capacity_gb[RW]
File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes. Corresponds to the JSON property `capacityGb` @return [Fixnum]
name[RW]
The name of the file share (must be 16 characters or less). Corresponds to the JSON property `name` @return [String]
nfs_export_options[RW]
Nfs Export Options. There is a limit of 10 export options per file share. Corresponds to the JSON property `nfsExportOptions` @return [Array<Google::Apis::FileV1::NfsExportOptions>]
source_backup[RW]
The resource name of the backup, in the format `projects/`project_number`/ locations/`location_id`/backups/`backup_id“, that this file share has been restored from. Corresponds to the JSON property `sourceBackup` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/file_v1/classes.rb, line 293 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/file_v1/classes.rb, line 298 def update!(**args) @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb) @name = args[:name] if args.key?(:name) @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options) @source_backup = args[:source_backup] if args.key?(:source_backup) end