Resource: Api
An API that can be served by one or more Gateways.
JSON representation | |
---|---|
{
"name": string,
"createTime": string,
"updateTime": string,
"labels": {
string: string,
...
},
"displayName": string,
"managedService": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api} |
createTime |
Output only. Created time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Updated time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources An object containing a list of |
displayName |
Optional. Display name. |
managedService |
Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API. |
state |
Output only. State of the API. |
State
All the possible API states.
Enums | |
---|---|
STATE_UNSPECIFIED |
API does not have a state yet. |
CREATING |
API is being created. |
ACTIVE |
API is active. |
FAILED |
API creation failed. |
DELETING |
API is being deleted. |
UPDATING |
API is being updated. |
Methods |
|
---|---|
|
Creates a new Api in a given project and location. |
|
Deletes a single Api. |
|
Gets details of a single Api. |
|
Gets the access control policy for a resource. |
|
Lists Apis in a given project and location. |
|
Updates the parameters of a single Api. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |