Google Cloud Filestore V1 Client - Class CreateInstanceRequest (1.0.3)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class CreateInstanceRequest.

CreateInstanceRequest creates an instance.

Generated from protobuf message google.cloud.filestore.v1.CreateInstanceRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The instance's project and ___location, in the format projects/{project_id}/locations/{___location}. In Cloud Filestore, locations map to GCP zones, for example us-west1-b.

↳ instance_id string

Required. The name of the instance to create. The name must be unique for the specified project and ___location.

↳ instance Google\Cloud\Filestore\V1\Instance

Required. An instance resource

getParent

Required. The instance's project and ___location, in the format projects/{project_id}/locations/{___location}. In Cloud Filestore, locations map to GCP zones, for example us-west1-b.

Returns
Type Description
string

setParent

Required. The instance's project and ___location, in the format projects/{project_id}/locations/{___location}. In Cloud Filestore, locations map to GCP zones, for example us-west1-b.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceId

Required. The name of the instance to create.

The name must be unique for the specified project and ___location.

Returns
Type Description
string

setInstanceId

Required. The name of the instance to create.

The name must be unique for the specified project and ___location.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Required. An instance resource

Returns
Type Description
Google\Cloud\Filestore\V1\Instance|null

hasInstance

clearInstance

setInstance

Required. An instance resource

Parameter
Name Description
var Google\Cloud\Filestore\V1\Instance
Returns
Type Description
$this