Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreatePersistentResourceRequest.
Request message for PersistentResourceService.CreatePersistentResource.
Generated from protobuf message google.cloud.aiplatform.v1.CreatePersistentResourceRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The resource name of the Location to create the PersistentResource in. Format: |
↳ persistent_resource |
PersistentResource
Required. The PersistentResource to create. |
↳ persistent_resource_id |
string
Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are |
getParent
Required. The resource name of the Location to create the
PersistentResource in. Format: projects/{project}/locations/{location}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The resource name of the Location to create the
PersistentResource in. Format: projects/{project}/locations/{location}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPersistentResource
Required. The PersistentResource to create.
| Returns | |
|---|---|
| Type | Description |
PersistentResource|null |
|
hasPersistentResource
clearPersistentResource
setPersistentResource
Required. The PersistentResource to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PersistentResource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPersistentResourceId
Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPersistentResourceId
Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name.
The maximum length is 63 characters, and valid characters
are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The resource name of the Location to create the
PersistentResource in. Format: |
persistentResource |
PersistentResource
Required. The PersistentResource to create. |
persistentResourceId |
string
Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters
are |
| Returns | |
|---|---|
| Type | Description |
CreatePersistentResourceRequest |
|