- Resource: Deployment
- PodStatus
- RuntimeState
- RoutingConflict
- RoutingDeployment
- InstanceDeploymentStatus
- DeployedRevision
- DeployedRoute
- ProxyDeploymentType
- Methods
Resource: Deployment
JSON representation |
---|
{ "environment": string, "apiProxy": string, "revision": string, "deployStartTime": string, "pods": [ { object ( |
Fields | |
---|---|
environment |
Environment. |
api |
API proxy. |
revision |
API proxy revision. |
deploy |
Time the API proxy was marked |
pods[] |
Status reported by runtime pods. Note: This field is deprecated. Runtime versions 1.3 and above report instance level status rather than pod status. |
state |
Current state of the deployment. Note: This field is displayed only when viewing deployment status. |
errors[] |
Errors reported for this deployment. Populated only when state == ERROR. Note: This field is displayed only when viewing deployment status. |
route |
Conflicts in the desired state routing configuration. The presence of conflicts does not cause the state to be Note: This field is displayed only when viewing deployment status. |
instances[] |
Status reported by each runtime instance. Note: This field is displayed only when viewing deployment status. |
service |
The full resource name of Cloud IAM Service Account that this deployment is using, eg, |
proxy |
Output only. The type of the deployment (standard or extensible) Deployed proxy revision will be marked as extensible in following 2 cases. 1. The deployed proxy revision uses extensible policies. 2. If a environment supports flowhooks and flow hook is configured. |
PodStatus
JSON representation |
---|
{ "podName": string, "appVersion": string, "podStatus": string, "podStatusTime": string, "deploymentStatusTime": string, "deploymentTime": string, "deploymentStatus": string, "statusCode": string, "statusCodeDetails": string } |
Fields | |
---|---|
pod |
Name of the pod which is reporting the status. |
app |
Version of the application running in the pod. |
pod |
Overall status of the pod (not this specific deployment). Valid values include: - Pods that have not reported status in a long time are excluded from the output. |
pod |
Time the pod status was reported in milliseconds since epoch. |
deployment |
Time the deployment status was reported in milliseconds since epoch. |
deployment |
Time the proxy was deployed in milliseconds since epoch. |
deployment |
Status of the deployment. Valid values include: - |
status |
Code associated with the deployment status. |
status |
Human-readable message associated with the status code. |
RuntimeState
State of the resource in the runtime.
Enums | |
---|---|
RUNTIME_STATE_UNSPECIFIED |
This value should never be returned. |
READY |
Runtime has loaded the deployment. |
PROGRESSING |
Deployment is not fully ready in the runtime. |
ERROR |
Encountered an error with the deployment that requires intervention. |
RoutingConflict
Describes a routing conflict that may cause a deployment not to receive traffic at some base path.
JSON representation |
---|
{
"environmentGroup": string,
"conflictingDeployment": {
object ( |
Fields | |
---|---|
environment |
Name of the environment group in which this conflict exists. |
conflicting |
Existing base path/deployment causing the conflict. |
description |
Human-readable description of this conflict. |
RoutingDeployment
Tuple representing a base path and the deployment containing it.
JSON representation |
---|
{ "basepath": string, "environment": string, "apiProxy": string, "revision": string } |
Fields | |
---|---|
basepath |
Base path receiving traffic. |
environment |
Name of the environment in which the proxy is deployed. |
api |
Name of the deployed API proxy revision containing the base path. |
revision |
Name of the deployed API proxy revision containing the base path. |
InstanceDeploymentStatus
The status of a deployment as reported by a single instance.
JSON representation |
---|
{ "instance": string, "deployedRevisions": [ { object ( |
Fields | |
---|---|
instance |
ID of the instance reporting the status. |
deployed |
Revisions currently deployed in MPs. |
deployed |
Current routes deployed in the ingress routing table. A route which is missing will appear in |
DeployedRevision
Revisions deployed in the MPs.
JSON representation |
---|
{ "revision": string, "percentage": integer } |
Fields | |
---|---|
revision |
API proxy revision reported as deployed. |
percentage |
Percentage of MP replicas reporting this revision. |
DeployedRoute
Route deployed in the ingress routing table.
JSON representation |
---|
{ "basepath": string, "envgroup": string, "environment": string, "percentage": integer } |
Fields | |
---|---|
basepath |
Base path in the routing table. |
envgroup |
Environment group where this route is installed. |
environment |
Destination environment. This will be empty if the route is not yet reported. |
percentage |
Percentage of ingress replicas reporting this route. |
ProxyDeploymentType
ProxyDeploymentType specifies whether deployments contains only STANDARD type of proxies or both
Enums | |
---|---|
PROXY_DEPLOYMENT_TYPE_UNSPECIFIED |
Default value till public preview. After public preview this value should not be returned. |
STANDARD |
Deployment will be of type Standard if only Standard proxies are used |
EXTENSIBLE |
Proxy will be of type Extensible if deployments uses one or more Extensible proxies |
Methods |
|
---|---|
|
Gets a particular deployment of Api proxy or a shared flow in an environment |
|
Gets the IAM policy on a deployment. |
|
Lists all deployments of API proxies or shared flows in an environment. |
|
Sets the IAM policy on a deployment, if the policy already exists it will be replaced. |
|
Tests the permissions of a user on a deployment, and returns a subset of permissions that the user has on the deployment. |