Class: Google::Cloud::Filestore::V1::FileShareConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb

Overview

File share configuration for the instance.

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_gb::Integer

Returns File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.

Returns:

  • (::Integer)

    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.



112
113
114
115
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 112

class FileShareConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores [a-z0-9_]. Must start with a letter. Immutable.

Returns:

  • (::String)

    Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores [a-z0-9_]. Must start with a letter. Immutable.



112
113
114
115
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 112

class FileShareConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#nfs_export_options::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>

Returns Nfs Export Options. There is a limit of 10 export options per file share.

Returns:



112
113
114
115
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 112

class FileShareConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_backup::String

Returns 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.

Returns:

  • (::String)

    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.



112
113
114
115
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 112

class FileShareConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end