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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb

Overview

The request for CreateInstance.

Instance Attribute Summary collapse

Instance Attribute Details

#instance::Google::Cloud::Spanner::Admin::Instance::V1::Instance

Returns Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

Returns:



754
755
756
757
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 754

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#instance_id::String

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 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.



754
755
756
757
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 754

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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>.



754
755
756
757
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 754

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end