Google Cloud Net App V1 Client - Class StoragePool (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class StoragePool.

StoragePool is a container for volumes with a service level and capacity.

Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.

Generated from protobuf message google.cloud.netapp.v1.StoragePool

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Name of the storage pool

↳ service_level int

Required. Service level of the storage pool

↳ capacity_gib int|string

Required. Capacity in GIB of the pool

↳ volume_capacity_gib int|string

Output only. Allocated size of all volumes in GIB in the storage pool

↳ volume_count int

Output only. Volume count of the storage pool

↳ state int

Output only. State of the storage pool

↳ state_details string

Output only. State details of the storage pool

↳ create_time Google\Protobuf\Timestamp

Output only. Create time of the storage pool

↳ description string

Description of the storage pool

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs

↳ network string

Required. VPC Network name. Format: projects/{project}/global/networks/{network}

↳ active_directory string

Specifies the Active Directory to be used for creating a SMB volume.

↳ kms_config string

Specifies the KMS config to be used for volume encryption.

↳ ldap_enabled bool

Flag indicating if the pool is NFS LDAP enabled or not.

↳ psa_range string

Name of the Private Service Access allocated range. If not provided, any available range will be chosen.

↳ encryption_type int

Output only. Specifies the current pool encryption key source.

↳ global_access_allowed bool

Optional. Allows SO pool to access AD or DNS server from other regions.

getName

Output only. Name of the storage pool

Returns
TypeDescription
string

setName

Output only. Name of the storage pool

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceLevel

Required. Service level of the storage pool

Returns
TypeDescription
int

setServiceLevel

Required. Service level of the storage pool

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCapacityGib

Required. Capacity in GIB of the pool

Returns
TypeDescription
int|string

setCapacityGib

Required. Capacity in GIB of the pool

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getVolumeCapacityGib

Output only. Allocated size of all volumes in GIB in the storage pool

Returns
TypeDescription
int|string

setVolumeCapacityGib

Output only. Allocated size of all volumes in GIB in the storage pool

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getVolumeCount

Output only. Volume count of the storage pool

Returns
TypeDescription
int

setVolumeCount

Output only. Volume count of the storage pool

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getState

Output only. State of the storage pool

Returns
TypeDescription
int

setState

Output only. State of the storage pool

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateDetails

Output only. State details of the storage pool

Returns
TypeDescription
string

setStateDetails

Output only. State details of the storage pool

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Create time of the storage pool

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the storage pool

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDescription

Description of the storage pool

Returns
TypeDescription
string

setDescription

Description of the storage pool

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Labels as key value pairs

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getNetwork

Required. VPC Network name.

Format: projects/{project}/global/networks/{network}

Returns
TypeDescription
string

setNetwork

Required. VPC Network name.

Format: projects/{project}/global/networks/{network}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getActiveDirectory

Specifies the Active Directory to be used for creating a SMB volume.

Returns
TypeDescription
string

setActiveDirectory

Specifies the Active Directory to be used for creating a SMB volume.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKmsConfig

Specifies the KMS config to be used for volume encryption.

Returns
TypeDescription
string

setKmsConfig

Specifies the KMS config to be used for volume encryption.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLdapEnabled

Flag indicating if the pool is NFS LDAP enabled or not.

Returns
TypeDescription
bool

setLdapEnabled

Flag indicating if the pool is NFS LDAP enabled or not.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPsaRange

Name of the Private Service Access allocated range. If not provided, any available range will be chosen.

Returns
TypeDescription
string

setPsaRange

Name of the Private Service Access allocated range. If not provided, any available range will be chosen.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEncryptionType

Output only. Specifies the current pool encryption key source.

Returns
TypeDescription
int

setEncryptionType

Output only. Specifies the current pool encryption key source.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getGlobalAccessAllowed

Optional. Allows SO pool to access AD or DNS server from other regions.

Returns
TypeDescription
bool

hasGlobalAccessAllowed

clearGlobalAccessAllowed

setGlobalAccessAllowed

Optional. Allows SO pool to access AD or DNS server from other regions.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this