Constructor
new Condition(propertiesopt)
Constructs a new Condition.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.run.v2.ICondition |
<optional> |
Properties to set |
- Implements:
-
- ICondition
Members
executionReason
Condition executionReason.
lastTransitionTime
Condition lastTransitionTime.
message
Condition message.
reason
Condition reason.
reasons
Condition reasons.
revisionReason
Condition revisionReason.
severity
Condition severity.
state
Condition state.
type
Condition type.
CommonReason
CommonReason enum.
Properties:
Name | Type | Description |
---|---|---|
COMMON_REASON_UNDEFINED |
number |
COMMON_REASON_UNDEFINED value |
UNKNOWN |
number |
UNKNOWN value |
REVISION_FAILED |
number |
REVISION_FAILED value |
PROGRESS_DEADLINE_EXCEEDED |
number |
PROGRESS_DEADLINE_EXCEEDED value |
CONTAINER_MISSING |
number |
CONTAINER_MISSING value |
CONTAINER_PERMISSION_DENIED |
number |
CONTAINER_PERMISSION_DENIED value |
CONTAINER_IMAGE_UNAUTHORIZED |
number |
CONTAINER_IMAGE_UNAUTHORIZED value |
CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED |
number |
CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED value |
ENCRYPTION_KEY_PERMISSION_DENIED |
number |
ENCRYPTION_KEY_PERMISSION_DENIED value |
ENCRYPTION_KEY_CHECK_FAILED |
number |
ENCRYPTION_KEY_CHECK_FAILED value |
SECRETS_ACCESS_CHECK_FAILED |
number |
SECRETS_ACCESS_CHECK_FAILED value |
WAITING_FOR_OPERATION |
number |
WAITING_FOR_OPERATION value |
IMMEDIATE_RETRY |
number |
IMMEDIATE_RETRY value |
POSTPONED_RETRY |
number |
POSTPONED_RETRY value |
INTERNAL |
number |
INTERNAL value |
ExecutionReason
ExecutionReason enum.
Properties:
Name | Type | Description |
---|---|---|
EXECUTION_REASON_UNDEFINED |
number |
EXECUTION_REASON_UNDEFINED value |
JOB_STATUS_SERVICE_POLLING_ERROR |
number |
JOB_STATUS_SERVICE_POLLING_ERROR value |
NON_ZERO_EXIT_CODE |
number |
NON_ZERO_EXIT_CODE value |
CANCELLED |
number |
CANCELLED value |
CANCELLING |
number |
CANCELLING value |
DELETED |
number |
DELETED value |
RevisionReason
RevisionReason enum.
Properties:
Name | Type | Description |
---|---|---|
REVISION_REASON_UNDEFINED |
number |
REVISION_REASON_UNDEFINED value |
PENDING |
number |
PENDING value |
RESERVE |
number |
RESERVE value |
RETIRED |
number |
RETIRED value |
RETIRING |
number |
RETIRING value |
RECREATING |
number |
RECREATING value |
HEALTH_CHECK_CONTAINER_ERROR |
number |
HEALTH_CHECK_CONTAINER_ERROR value |
CUSTOMIZED_PATH_RESPONSE_PENDING |
number |
CUSTOMIZED_PATH_RESPONSE_PENDING value |
MIN_INSTANCES_NOT_PROVISIONED |
number |
MIN_INSTANCES_NOT_PROVISIONED value |
ACTIVE_REVISION_LIMIT_REACHED |
number |
ACTIVE_REVISION_LIMIT_REACHED value |
NO_DEPLOYMENT |
number |
NO_DEPLOYMENT value |
HEALTH_CHECK_SKIPPED |
number |
HEALTH_CHECK_SKIPPED value |
MIN_INSTANCES_WARMING |
number |
MIN_INSTANCES_WARMING value |
Severity
Severity enum.
Properties:
Name | Type | Description |
---|---|---|
SEVERITY_UNSPECIFIED |
number |
SEVERITY_UNSPECIFIED value |
ERROR |
number |
ERROR value |
WARNING |
number |
WARNING value |
INFO |
number |
INFO value |
State
State enum.
Properties:
Name | Type | Description |
---|---|---|
STATE_UNSPECIFIED |
number |
STATE_UNSPECIFIED value |
CONDITION_PENDING |
number |
CONDITION_PENDING value |
CONDITION_RECONCILING |
number |
CONDITION_RECONCILING value |
CONDITION_FAILED |
number |
CONDITION_FAILED value |
CONDITION_SUCCEEDED |
number |
CONDITION_SUCCEEDED value |
Methods
toJSON() → {Object.<string, *>}
Converts this Condition to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.run.v2.Condition}
Creates a new Condition instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.run.v2.ICondition |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.run.v2.Condition |
Condition instance |
(static) decode(reader, lengthopt) → {google.cloud.run.v2.Condition}
Decodes a Condition message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Returns:
Type | Description |
---|---|
google.cloud.run.v2.Condition |
Condition |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.cloud.run.v2.Condition}
Decodes a Condition message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.cloud.run.v2.Condition |
Condition |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified Condition message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.run.v2.ICondition |
Condition message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified Condition message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.run.v2.ICondition |
Condition message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.cloud.run.v2.Condition}
Creates a Condition message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.cloud.run.v2.Condition |
Condition |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for Condition
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a Condition message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.run.v2.Condition |
Condition |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies a Condition message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|