Creates a PersistentResource.
HTTP request
POST https://{service-endpoint}/v1/{parent}/persistentResources
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the Location to create the PersistentResource in. Format: |
Query parameters
Parameters | |
---|---|
persistentResourceId |
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 |
Request body
The request body contains an instance of PersistentResource
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
aiplatform.persistentResources.create
For more information, see the IAM documentation.