Resource: Api
A top-level description of an API. Produced by producers and are commitments to provide services.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "availability": string, "recommendedVersion": string, "recommendedDeployment": string, "labels": { string: string, ... }, "annotations": { string: 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: |
availability |
A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". |
recommendedVersion |
The recommended version of the API. Format: |
recommendedDeployment |
The recommended deployment of the API. Format: |
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 |
Methods |
|
---|---|
|
Creates a specified API. |
|
Removes a specified API and all of the resources that it owns. |
|
Returns a specified API. |
|
Gets the access control policy for a resource. |
|
Returns matching APIs. |
|
Used to modify a specified API. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |