v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13213566.0 KB
projects

Creates a new RegistryBook in a given project and location.

post/v1alpha/{+parent}/registryBooks

Path parameters

parentstring required

Required. The parent resource name where the RegistryBook will be created.

Query parameters

registryBookIdstring

Required. The ID to use for the RegistryBook, which will become the final segment of the resource name.

requestIdstring

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 the 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).

Request body

createTimestring google-datetime

Output only. The time at which the RegistryBook was created.

labelsobject

Optional. User-defined labels.

claimedScopesstring[]

Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.

updateTimestring google-datetime

Output only. The time at which the RegistryBook was last updated.

namestring

Required. Identifier. The resource name of the RegistryBook.

isDefaultboolean

Output only. Whether the RegistryBook is the default one.

Response

Successful response