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

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 [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].

Instance Attribute Summary collapse

Instance Attribute Details

#instance_config::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig

Returns Required. The InstanceConfig proto of the configuration to create. instance_config.name must be <parent>/instanceConfigs/<instance_config_id>. instance_config.base_config must be a Google managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3.

Returns:

  • (::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig)

    Required. The InstanceConfig proto of the configuration to create. instance_config.name must be <parent>/instanceConfigs/<instance_config_id>. instance_config.base_config must be a Google managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3.



578
579
580
581
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 578

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

#instance_config_id::String

Returns Required. The ID of the instance configuration to create. Valid identifiers are of the form custom-[-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length. The custom- prefix is required to avoid name conflicts with Google-managed configurations.

Returns:

  • (::String)

    Required. The ID of the instance configuration to create. Valid identifiers are of the form custom-[-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length. The custom- prefix is required to avoid name conflicts with Google-managed configurations.



578
579
580
581
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 578

class CreateInstanceConfigRequest
  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 configuration. Values are of the form projects/<project>.

Returns:

  • (::String)

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



578
579
580
581
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 578

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

#validate_only::Boolean

Returns An option to validate, but not actually execute, a request, and provide the same response.

Returns:

  • (::Boolean)

    An option to validate, but not actually execute, a request, and provide the same response.



578
579
580
581
# File 'proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb', line 578

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