Google Cloud Memorystore for Memcache v1beta2 API - Class CreateInstanceRequest (2.0.0-beta05)

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

Reference documentation and code samples for the Google Cloud Memorystore for Memcache v1beta2 API class CreateInstanceRequest.

Request for [CreateInstance][google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance].

Inheritance

object > CreateInstanceRequest

Namespace

Google.Cloud.Memcache.V1Beta2

Assembly

Google.Cloud.Memcache.V1Beta2.dll

Constructors

CreateInstanceRequest()

public CreateInstanceRequest()

CreateInstanceRequest(CreateInstanceRequest)

public CreateInstanceRequest(CreateInstanceRequest other)
Parameter
Name Description
other CreateInstanceRequest

Properties

InstanceId

public string InstanceId { get; set; }

Required. The logical name of the Memcached instance in the user 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 user project / location.

If any of the above are not met, the API raises an invalid argument error.

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

Resource

public Instance Resource { get; set; }

Required. A Memcached [Instance] resource

Property Value
Type Description
Instance