Google Cloud Spanner Instance Administration v1 API - Class CreateInstanceConfigRequest (5.6.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 [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].

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
Name Description
other CreateInstanceConfigRequest

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
Type Description
InstanceConfig

InstanceConfigId

public string InstanceConfigId { get; set; }

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.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
Type Description
bool

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.