Filestore V1 API - Class Google::Cloud::Filestore::V1::CreateInstanceRequest (v0.2.0)

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

CreateInstanceRequest creates an instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance

def instance() -> ::Google::Cloud::Filestore::V1::Instance

#instance=

def instance=(value) -> ::Google::Cloud::Filestore::V1::Instance
Parameter

#instance_id

def instance_id() -> ::String
Returns
  • (::String) — Required. The name of the instance to create. The name must be unique for the specified project and location.

#instance_id=

def instance_id=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the instance to create. The name must be unique for the specified project and location.
Returns
  • (::String) — Required. The name of the instance to create. The name must be unique for the specified project and location.

#parent

def parent() -> ::String
Returns
  • (::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.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.