Google Cloud Net App V1 Client - Class CacheConfig (1.12.0)

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

Configuration of the cache volume.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ cache_pre_populate
CachePrePopulate

Optional. Pre-populate cache volume with data from the origin volume.

↳ writeback_enabled
bool

Optional. Flag indicating whether writeback is enabled for the FlexCache volume.

↳ cifs_change_notify_enabled
bool

Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

↳ cache_pre_populate_state
int

Output only. State of the prepopulation job indicating how the prepopulation is progressing.

getCachePrePopulate

Optional. Pre-populate cache volume with data from the origin volume.

Returns
Type
Description

hasCachePrePopulate

clearCachePrePopulate

setCachePrePopulate

Optional. Pre-populate cache volume with data from the origin volume.

Parameter
Name
Description
Returns
Type
Description
$this

getWritebackEnabled

Optional. Flag indicating whether writeback is enabled for the FlexCache volume.

Returns
Type
Description
bool

hasWritebackEnabled

clearWritebackEnabled

setWritebackEnabled

Optional. Flag indicating whether writeback is enabled for the FlexCache volume.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getCifsChangeNotifyEnabled

Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

Returns
Type
Description
bool

hasCifsChangeNotifyEnabled

clearCifsChangeNotifyEnabled

setCifsChangeNotifyEnabled

Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getCachePrePopulateState

Output only. State of the prepopulation job indicating how the prepopulation is progressing.

Returns
Type
Description
int
Enum of type CachePrePopulateState .

setCachePrePopulateState

Output only. State of the prepopulation job indicating how the prepopulation is progressing.

Parameter
Name
Description
var
int

Enum of type CachePrePopulateState .

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: