You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/run_v1alpha1.namespaces.jobs.html
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -369,6 +369,18 @@ <h3>Method Details</h3>
369
369
"completionTime": "A String", # Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
370
370
"failed": 42, # Optional. The number of times this instance exited with code > 0; +optional
371
371
"index": 42, # Required. Index of the instance, unique per Job, and beginning at 0.
372
+
"lastAttemptResult": { # Result of an instance attempt. # Optional. Result of the last attempt of this instance. +optional
373
+
"exitCode": 42, # Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.
374
+
"status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. The status of this attempt. If the status code is OK, then the attempt succeeded.
375
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
376
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
377
+
{
378
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
379
+
},
380
+
],
381
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
382
+
},
383
+
},
372
384
"lastExitCode": 42, # Optional. Last exit code seen for this instance. +optional
373
385
"restarted": 42, # Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional
374
386
"startTime": "A String", # Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
@@ -654,6 +666,18 @@ <h3>Method Details</h3>
654
666
"completionTime": "A String", # Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
655
667
"failed": 42, # Optional. The number of times this instance exited with code > 0; +optional
656
668
"index": 42, # Required. Index of the instance, unique per Job, and beginning at 0.
669
+
"lastAttemptResult": { # Result of an instance attempt. # Optional. Result of the last attempt of this instance. +optional
670
+
"exitCode": 42, # Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.
671
+
"status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. The status of this attempt. If the status code is OK, then the attempt succeeded.
672
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
673
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
674
+
{
675
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
676
+
},
677
+
],
678
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
679
+
},
680
+
},
657
681
"lastExitCode": 42, # Optional. Last exit code seen for this instance. +optional
658
682
"restarted": 42, # Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional
659
683
"startTime": "A String", # Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
@@ -967,6 +991,18 @@ <h3>Method Details</h3>
967
991
"completionTime": "A String", # Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
968
992
"failed": 42, # Optional. The number of times this instance exited with code > 0; +optional
969
993
"index": 42, # Required. Index of the instance, unique per Job, and beginning at 0.
994
+
"lastAttemptResult": { # Result of an instance attempt. # Optional. Result of the last attempt of this instance. +optional
995
+
"exitCode": 42, # Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.
996
+
"status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. The status of this attempt. If the status code is OK, then the attempt succeeded.
997
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
998
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
999
+
{
1000
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
1001
+
},
1002
+
],
1003
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1004
+
},
1005
+
},
970
1006
"lastExitCode": 42, # Optional. Last exit code seen for this instance. +optional
971
1007
"restarted": 42, # Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional
972
1008
"startTime": "A String", # Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
@@ -1269,6 +1305,18 @@ <h3>Method Details</h3>
1269
1305
"completionTime": "A String", # Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
1270
1306
"failed": 42, # Optional. The number of times this instance exited with code > 0; +optional
1271
1307
"index": 42, # Required. Index of the instance, unique per Job, and beginning at 0.
1308
+
"lastAttemptResult": { # Result of an instance attempt. # Optional. Result of the last attempt of this instance. +optional
1309
+
"exitCode": 42, # Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.
1310
+
"status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. The status of this attempt. If the status code is OK, then the attempt succeeded.
1311
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
1312
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1313
+
{
1314
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
1315
+
},
1316
+
],
1317
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1318
+
},
1319
+
},
1272
1320
"lastExitCode": 42, # Optional. Last exit code seen for this instance. +optional
1273
1321
"restarted": 42, # Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional
1274
1322
"startTime": "A String", # Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/run.v1alpha1.json
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@
268
268
}
269
269
}
270
270
},
271
-
"revision": "20210901",
271
+
"revision": "20210910",
272
272
"rootUrl": "https://run.googleapis.com/",
273
273
"schemas": {
274
274
"ConfigMapEnvSource": {
@@ -525,6 +525,33 @@
525
525
},
526
526
"type": "object"
527
527
},
528
+
"GoogleRpcStatus": {
529
+
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
530
+
"id": "GoogleRpcStatus",
531
+
"properties": {
532
+
"code": {
533
+
"description": "The status code, which should be an enum value of google.rpc.Code.",
534
+
"format": "int32",
535
+
"type": "integer"
536
+
},
537
+
"details": {
538
+
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
539
+
"items": {
540
+
"additionalProperties": {
541
+
"description": "Properties of the object. Contains field @type with type URL.",
542
+
"type": "any"
543
+
},
544
+
"type": "object"
545
+
},
546
+
"type": "array"
547
+
},
548
+
"message": {
549
+
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
550
+
"type": "string"
551
+
}
552
+
},
553
+
"type": "object"
554
+
},
528
555
"HTTPGetAction": {
529
556
"description": "Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get requests.",
530
557
"id": "HTTPGetAction",
@@ -566,6 +593,22 @@
566
593
},
567
594
"type": "object"
568
595
},
596
+
"InstanceAttemptResult": {
597
+
"description": "Result of an instance attempt.",
598
+
"id": "InstanceAttemptResult",
599
+
"properties": {
600
+
"exitCode": {
601
+
"description": "Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.",
602
+
"format": "int32",
603
+
"type": "integer"
604
+
},
605
+
"status": {
606
+
"$ref": "GoogleRpcStatus",
607
+
"description": "Optional. The status of this attempt. If the status code is OK, then the attempt succeeded."
608
+
}
609
+
},
610
+
"type": "object"
611
+
},
569
612
"InstanceSpec": {
570
613
"description": "InstanceSpec is a description of an instance.",
571
614
"id": "InstanceSpec",
@@ -624,6 +667,10 @@
624
667
"format": "int32",
625
668
"type": "integer"
626
669
},
670
+
"lastAttemptResult": {
671
+
"$ref": "InstanceAttemptResult",
672
+
"description": "Optional. Result of the last attempt of this instance. +optional"
673
+
},
627
674
"lastExitCode": {
628
675
"description": "Optional. Last exit code seen for this instance. +optional",
0 commit comments