Google Cloud Spanner Instance Administration v1 API - Class CreateInstanceRequest (5.0.0-beta04)

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

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

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
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