Google Cloud Spanner Instance Administration v1 API - Class CreateInstanceConfigRequest (4.5.0)

public sealed class CreateInstanceConfigRequest : IMessage<CreateInstanceConfigRequest>, IEquatable<CreateInstanceConfigRequest>, IDeepCloneable<CreateInstanceConfigRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class CreateInstanceConfigRequest.

The request for [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].

Inheritance

object > CreateInstanceConfigRequest

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

Google.Cloud.Spanner.Admin.Instance.V1.dll

Constructors

CreateInstanceConfigRequest()

public CreateInstanceConfigRequest()

CreateInstanceConfigRequest(CreateInstanceConfigRequest)

public CreateInstanceConfigRequest(CreateInstanceConfigRequest other)
Parameter
NameDescription
otherCreateInstanceConfigRequest

Properties

InstanceConfig

public InstanceConfig InstanceConfig { get; set; }

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. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.

Property Value
TypeDescription
InstanceConfig

InstanceConfigId

public string InstanceConfigId { get; set; }

Required. The ID of the instance config 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.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
bool