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
Returns
- (::Google::Cloud::Filestore::V1::Instance) — Required. An instance resource
#instance=
def instance=(value) -> ::Google::Cloud::Filestore::V1::Instance
Parameter
- value (::Google::Cloud::Filestore::V1::Instance) — Required. An instance resource
Returns
- (::Google::Cloud::Filestore::V1::Instance) — Required. An instance resource
#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.