public sealed class CreateInstanceRequest : IMessage<CreateInstanceRequest>, IEquatable<CreateInstanceRequest>, IDeepCloneable<CreateInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Memorystore for Memcached v1 API class CreateInstanceRequest.
Request for [CreateInstance][google.cloud.memcache.v1.CloudMemcache.CreateInstance].
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateInstanceRequest\u003c/code\u003e class for the Cloud Memorystore for Memcached v1 API is 2.5.0, with previous versions ranging down to 1.0.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateInstanceRequest\u003c/code\u003e is used to request the creation of a new Memcached instance, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties to define the instance's \u003ccode\u003eInstanceId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e location, and the \u003ccode\u003eInstance\u003c/code\u003e details, which allows for configuration when creating a new instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceId\u003c/code\u003e property for the Memcached instance must follow specific naming rules, such as only containing lowercase letters, numbers, and hyphens, and must be unique to the user's project/location.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property specifies the resource name of the instance location in the format \u003ccode\u003eprojects/{project_id}/locations/{location_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]