public sealed class CreateInstanceRequest : IMessage<CreateInstanceRequest>, IEquatable<CreateInstanceRequest>, IDeepCloneable<CreateInstanceRequest>, IBufferMessage, IMessage
The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
Implements
IMessage<CreateInstanceRequest>, IEquatable<CreateInstanceRequest>, IDeepCloneable<CreateInstanceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Instance.V1Assembly
Google.Cloud.Spanner.Admin.Instance.V1.dll
Constructors
CreateInstanceRequest()
public CreateInstanceRequest()
CreateInstanceRequest(CreateInstanceRequest)
public CreateInstanceRequest(CreateInstanceRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateInstanceRequest |
Properties
Instance
public Instance Instance { get; set; }
Required. The instance to create. The name may be omitted, but if
specified must be <parent>/instances/<instance_id>
.
Property Value | |
---|---|
Type | Description |
Instance |
InstanceId
public string InstanceId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
Parent
public string Parent { get; set; }
Required. The name of the project in which to create the instance. 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 |