Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceRequest (v0.10.0)

Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceRequest.

The request for CreateInstance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance

def instance() -> ::Google::Cloud::Spanner::Admin::Instance::V1::Instance
Returns

#instance=

def instance=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::Instance
Parameter
Returns

#instance_id

def instance_id() -> ::String
Returns
  • (::String) — Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length.

#instance_id=

def instance_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length.
Returns
  • (::String) — Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the project in which to create the instance. Values are of the form projects/<project>.
Returns
  • (::String) — Required. The name of the project in which to create the instance. Values are of the form projects/<project>.