Class CreateInstanceRequest (3.11.0)

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

The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].

Inheritance

Object > CreateInstanceRequest

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

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

Constructors

CreateInstanceRequest()

public CreateInstanceRequest()

CreateInstanceRequest(CreateInstanceRequest)

public CreateInstanceRequest(CreateInstanceRequest other)
Parameter
NameDescription
otherCreateInstanceRequest

Properties

Instance

public Instance Instance { get; set; }

Required. The instance to create. The name may be omitted, but if specified must be &lt;parent>/instances/&lt;instance_id>.

Property Value
TypeDescription
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
TypeDescription
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/&lt;project>.

Property Value
TypeDescription
String

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName