Method: persistentResources.create

Full name: projects.locations.persistentResources.create

Creates a PersistentResource.

Endpoint

post https://{service-endpoint}/v1/{parent}/persistentResources

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The resource name of the Location to create the PersistentResource in. Format: projects/{project}/locations/{location}

Query parameters

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 /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Request body

The request body contains an instance of PersistentResource .

Response body

If successful, the response body contains a newly created instance of Operation .

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月27日 UTC.