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].
Implements
IMessageCreateInstanceConfigRequest, IEquatableCreateInstanceConfigRequest, IDeepCloneableCreateInstanceConfigRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.SpannerGoogle.Cloud.Spanner.AdminGoogle.Cloud.Spanner.Admin.InstanceV1Assembly
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 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 | |
---|---|
Type | Description |
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 | |
---|---|
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 |