Resource: ApiVersion
Describes a particular version of an API. ApiVersions are what consumers actually use.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "state": string, "labels": { string: string, ... }, "annotations": { string: string, ... }, "primarySpec": string } |
Fields | |
---|---|
name |
Resource name. |
displayName |
Human-meaningful name. |
description |
A detailed description. |
createTime |
Output only. Creation timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Last update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". |
labels |
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with An object containing a list of |
annotations |
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. An object containing a list of |
primarySpec |
The primary spec for this version. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec} |
Methods |
|
---|---|
|
Creates a specified version. |
|
Removes a specified version and all of the resources that it owns. |
|
Returns a specified version. |
|
Gets the access control policy for a resource. |
|
Returns matching versions. |
|
Used to modify a specified version. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |