public sealed class CreateInstanceRequest : IMessage<CreateInstanceRequest>, IEquatable<CreateInstanceRequest>, IDeepCloneable<CreateInstanceRequest>, IBufferMessage, IMessage
Request for [CreateInstance][google.cloud.redis.v1beta1.CloudRedis.CreateInstance].
Implements
IMessage<CreateInstanceRequest>, IEquatable<CreateInstanceRequest>, IDeepCloneable<CreateInstanceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Redis.V1Beta1Assembly
Google.Cloud.Redis.V1Beta1.dll
Constructors
CreateInstanceRequest()
public CreateInstanceRequest()
CreateInstanceRequest(CreateInstanceRequest)
public CreateInstanceRequest(CreateInstanceRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateInstanceRequest |
Properties
Instance
public Instance Instance { get; set; }
Required. A Redis [Instance] resource
Property Value | |
---|---|
Type | Description |
Instance |
InstanceId
public string InstanceId { get; set; }
Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
Property Value | |
---|---|
Type | Description |
String |
Parent
public string Parent { get; set; }
Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id
refers to a GCP region.
Property Value | |
---|---|
Type | Description |
String |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |