Reference documentation and code samples for the Google Cloud Parallelstore V1 Client class CreateInstanceRequest.
Create a new Parallelstore instance.
Generated from protobuf messagegoogle.cloud.parallelstore.v1.CreateInstanceRequest
Namespace
Google \ Cloud \ Parallelstore \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The instance's project and location, in the formatprojects/{project}/locations/{location}. Locations map to Google Cloud zones; for example,us-west1-b.
↳ instance_id
string
Required. The name of the Parallelstore instance. * * Must contain only lowercase letters, numbers, and hyphens. * * Must start with a letter. * * Must be between 1-63 characters. * * Must end with a number or a letter. * * Must be unique within the customer project / location
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
getParent
Required. The instance's project and location, in the formatprojects/{project}/locations/{location}.
Locations map to Google Cloud zones; for example,us-west1-b.
Returns
Type
Description
string
setParent
Required. The instance's project and location, in the formatprojects/{project}/locations/{location}.
Locations map to Google Cloud zones; for example,us-west1-b.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInstanceId
Required. The name of the Parallelstore instance.
Must contain only lowercase letters, numbers, and hyphens.
Must start with a letter.
Must be between 1-63 characters.
Must end with a number or a letter.
Must be unique within the customer project / location
Returns
Type
Description
string
setInstanceId
Required. The name of the Parallelstore instance.
Must contain only lowercase letters, numbers, and hyphens.
Must start with a letter.
Must be between 1-63 characters.
Must end with a number or a letter.
Must be unique within the customer project / location
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Returns
Type
Description
string
setRequestId
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The instance's project and location, in the formatprojects/{project}/locations/{location}.
Locations map to Google Cloud zones; for example,us-west1-b. Please seeParallelstoreClient::locationName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Parallelstore V1 Client - Class CreateInstanceRequest (0.11.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.3 (latest)](/php/docs/reference/cloud-parallelstore/latest/V1.CreateInstanceRequest)\n- [0.11.2](/php/docs/reference/cloud-parallelstore/0.11.2/V1.CreateInstanceRequest)\n- [0.10.0](/php/docs/reference/cloud-parallelstore/0.10.0/V1.CreateInstanceRequest)\n- [0.9.0](/php/docs/reference/cloud-parallelstore/0.9.0/V1.CreateInstanceRequest)\n- [0.8.3](/php/docs/reference/cloud-parallelstore/0.8.3/V1.CreateInstanceRequest)\n- [0.7.1](/php/docs/reference/cloud-parallelstore/0.7.1/V1.CreateInstanceRequest)\n- [0.6.1](/php/docs/reference/cloud-parallelstore/0.6.1/V1.CreateInstanceRequest)\n- [0.5.0](/php/docs/reference/cloud-parallelstore/0.5.0/V1.CreateInstanceRequest)\n- [0.4.0](/php/docs/reference/cloud-parallelstore/0.4.0/V1.CreateInstanceRequest)\n- [0.3.1](/php/docs/reference/cloud-parallelstore/0.3.1/V1.CreateInstanceRequest)\n- [0.2.0](/php/docs/reference/cloud-parallelstore/0.2.0/V1.CreateInstanceRequest)\n- [0.1.1](/php/docs/reference/cloud-parallelstore/0.1.1/V1.CreateInstanceRequest) \nReference documentation and code samples for the Google Cloud Parallelstore V1 Client class CreateInstanceRequest.\n\nCreate a new Parallelstore instance.\n\nGenerated from protobuf message `google.cloud.parallelstore.v1.CreateInstanceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Parallelstore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The instance's project and location, in the format\n`projects/{project}/locations/{location}`.\n\nLocations map to Google Cloud zones; for example, `us-west1-b`.\n\n### setParent\n\nRequired. The instance's project and location, in the format\n`projects/{project}/locations/{location}`.\n\nLocations map to Google Cloud zones; for example, `us-west1-b`.\n\n### getInstanceId\n\nRequired. The name of the Parallelstore instance.\n\n- Must contain only lowercase letters, numbers, and hyphens.\n- Must start with a letter.\n- Must be between 1-63 characters.\n- Must end with a number or a letter.\n- Must be unique within the customer project / location\n\n### setInstanceId\n\nRequired. The name of the Parallelstore instance.\n\n- Must contain only lowercase letters, numbers, and hyphens.\n- Must start with a letter.\n- Must be between 1-63 characters.\n- Must end with a number or a letter.\n- Must be unique within the customer project / location\n\n### getInstance\n\nRequired. The instance to create.\n\n### hasInstance\n\n### clearInstance\n\n### setInstance\n\nRequired. The instance to create.\n\n### getRequestId\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and t\nhe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### setRequestId\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and t\nhe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### static::build"]]