Class: Google::Spanner::Admin::Instance::V1::CreateInstanceRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb

Overview

The request for CreateInstance.

Instance Attribute Summary collapse

Instance Attribute Details

#instanceGoogle::Spanner::Admin::Instance::V1::Instance

Returns Required. The instance to create. The name may be omitted, but if specified must be +/instances/+.

Returns:



160
# File 'lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 160

class CreateInstanceRequest; end

#instance_idString

Returns 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 6 and 30 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 6 and 30 characters in length.



160
# File 'lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 160

class CreateInstanceRequest; end

#parentString

Returns Required. The name of the project in which to create the instance. Values are of the form +projects/+.

Returns:

  • (String)

    Required. The name of the project in which to create the instance. Values are of the form +projects/+.



160
# File 'lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 160

class CreateInstanceRequest; end