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.

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

hasInstance

clearInstance

setInstance

Required. An instance resource

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