Class: Google::Cloud::Run::V2::Condition

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/condition.rb

Overview

Defines a status condition for a resource.

Defined Under Namespace

Modules: CommonReason, ExecutionReason, RevisionReason, Severity, State

Instance Attribute Summary collapse

Instance Attribute Details

#execution_reason::Google::Cloud::Run::V2::Condition::ExecutionReason (readonly)

Returns Output only. A reason for the execution condition.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#last_transition_time::Google::Protobuf::Timestamp

Returns Last time the condition transitioned from one status to another.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#message::String

Returns Human readable message indicating details about the current status.

Returns:

  • (::String)

    Human readable message indicating details about the current status.



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#reason::Google::Cloud::Run::V2::Condition::CommonReason (readonly)

Returns Output only. A common (service-level) reason for this condition.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#revision_reason::Google::Cloud::Run::V2::Condition::RevisionReason (readonly)

Returns Output only. A reason for the revision condition.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#severity::Google::Cloud::Run::V2::Condition::Severity

Returns How to interpret failures of this condition, one of Error, Warning, Info.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#state::Google::Cloud::Run::V2::Condition::State

Returns State of the condition.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end

#type::String

Returns type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include:

  • "Ready": True when the Resource is ready.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'proto_docs/google/cloud/run/v2/condition.rb', line 53

class Condition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the possible Condition states.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # Transient state: Reconciliation has not started yet.
    CONDITION_PENDING = 1

    # Transient state: reconciliation is still in progress.
    CONDITION_RECONCILING = 2

    # Terminal state: Reconciliation did not succeed.
    CONDITION_FAILED = 3

    # Terminal state: Reconciliation completed successfully.
    CONDITION_SUCCEEDED = 4
  end

  # Represents the severity of the condition failures.
  module Severity
    # Unspecified severity
    SEVERITY_UNSPECIFIED = 0

    # Error severity.
    ERROR = 1

    # Warning severity.
    WARNING = 2

    # Info severity.
    INFO = 3
  end

  # Reasons common to all types of conditions.
  module CommonReason
    # Default value.
    COMMON_REASON_UNDEFINED = 0

    # Reason unknown. Further details will be in message.
    UNKNOWN = 1

    # Revision creation process failed.
    REVISION_FAILED = 3

    # Timed out waiting for completion.
    PROGRESS_DEADLINE_EXCEEDED = 4

    # The container image path is incorrect.
    CONTAINER_MISSING = 6

    # Insufficient permissions on the container image.
    CONTAINER_PERMISSION_DENIED = 7

    # Container image is not authorized by policy.
    CONTAINER_IMAGE_UNAUTHORIZED = 8

    # Container image policy authorization check failed.
    CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9

    # Insufficient permissions on encryption key.
    ENCRYPTION_KEY_PERMISSION_DENIED = 10

    # Permission check on encryption key failed.
    ENCRYPTION_KEY_CHECK_FAILED = 11

    # At least one Access check on secrets failed.
    SECRETS_ACCESS_CHECK_FAILED = 12

    # Waiting for operation to complete.
    WAITING_FOR_OPERATION = 13

    # System will retry immediately.
    IMMEDIATE_RETRY = 14

    # System will retry later; current attempt failed.
    POSTPONED_RETRY = 15

    # An internal error occurred. Further information may be in the message.
    INTERNAL = 16
  end

  # Reasons specific to Revision resource.
  module RevisionReason
    # Default value.
    REVISION_REASON_UNDEFINED = 0

    # Revision in Pending state.
    PENDING = 1

    # Revision is in Reserve state.
    RESERVE = 2

    # Revision is Retired.
    RETIRED = 3

    # Revision is being retired.
    RETIRING = 4

    # Revision is being recreated.
    RECREATING = 5

    # There was a health check error.
    HEALTH_CHECK_CONTAINER_ERROR = 6

    # Health check failed due to user error from customized path of the
    # container. System will retry.
    CUSTOMIZED_PATH_RESPONSE_PENDING = 7

    # A revision with min_instance_count > 0 was created and is reserved, but
    # it was not configured to serve traffic, so it's not live. This can also
    # happen momentarily during traffic migration.
    MIN_INSTANCES_NOT_PROVISIONED = 8

    # The maximum allowed number of active revisions has been reached.
    ACTIVE_REVISION_LIMIT_REACHED = 9

    # There was no deployment defined.
    # This value is no longer used, but Services created in older versions of
    # the API might contain this value.
    NO_DEPLOYMENT = 10

    # A revision's container has no port specified since the revision is of a
    # manually scaled service with 0 instance count
    HEALTH_CHECK_SKIPPED = 11

    # A revision with min_instance_count > 0 was created and is waiting for
    # enough instances to begin a traffic migration.
    MIN_INSTANCES_WARMING = 12
  end

  # Reasons specific to Execution resource.
  module ExecutionReason
    # Default value.
    EXECUTION_REASON_UNDEFINED = 0

    # Internal system error getting execution status. System will retry.
    JOB_STATUS_SERVICE_POLLING_ERROR = 1

    # A task reached its retry limit and the last attempt failed due to the
    # user container exiting with a non-zero exit code.
    NON_ZERO_EXIT_CODE = 2

    # The execution was cancelled by users.
    CANCELLED = 3

    # The execution is in the process of being cancelled.
    CANCELLING = 4

    # The execution was deleted.
    DELETED = 5
  end
end