123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- syntax = "proto3";
- package google.cloud.aiplatform.v1beta1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/aiplatform/v1beta1/artifact.proto";
- import "google/cloud/aiplatform/v1beta1/context.proto";
- import "google/cloud/aiplatform/v1beta1/encryption_spec.proto";
- import "google/cloud/aiplatform/v1beta1/execution.proto";
- import "google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto";
- import "google/cloud/aiplatform/v1beta1/pipeline_state.proto";
- import "google/cloud/aiplatform/v1beta1/value.proto";
- import "google/protobuf/struct.proto";
- import "google/protobuf/timestamp.proto";
- import "google/rpc/status.proto";
- option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
- option java_multiple_files = true;
- option java_outer_classname = "Pipeline";
- option java_package = "com.google.cloud.aiplatform.v1beta1";
- option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
- option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
- option (google.api.resource_definition) = {
- type: "compute.googleapis.com/Network"
- pattern: "projects/{project}/global/networks/{network}"
- };
- message PipelineJob {
- option (google.api.resource) = {
- type: "aiplatform.googleapis.com/PipelineJob"
- pattern: "projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}"
- };
-
- message RuntimeConfig {
-
- message InputArtifact {
- oneof kind {
-
-
-
-
-
- string artifact_id = 1;
- }
- }
-
-
-
-
-
-
- map<string, Value> parameters = 1 [deprecated = true];
-
-
-
-
-
-
-
- string gcs_output_directory = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
- map<string, google.protobuf.Value> parameter_values = 3;
-
-
-
-
-
-
- PipelineFailurePolicy failure_policy = 4;
-
-
- map<string, InputArtifact> input_artifacts = 5;
- }
-
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- string display_name = 2;
-
- google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp start_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp end_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Struct pipeline_spec = 7;
-
- PipelineState state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- PipelineJobDetail job_detail = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- google.rpc.Status error = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
-
- map<string, string> labels = 11;
-
- RuntimeConfig runtime_config = 12;
-
-
- EncryptionSpec encryption_spec = 16;
-
-
-
-
-
-
-
-
- string service_account = 17;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string network = 18 [(google.api.resource_reference) = {
- type: "compute.googleapis.com/Network"
- }];
-
-
- string template_uri = 19;
-
-
- PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message PipelineTemplateMetadata {
-
-
-
-
-
-
- string version = 3;
- }
- message PipelineJobDetail {
-
- Context pipeline_context = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- Context pipeline_run_context = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- repeated PipelineTaskDetail task_details = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message PipelineTaskDetail {
-
- message PipelineTaskStatus {
-
- google.protobuf.Timestamp update_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
- google.rpc.Status error = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
- message ArtifactList {
-
- repeated Artifact artifacts = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
- PENDING = 1;
-
- RUNNING = 2;
-
- SUCCEEDED = 3;
-
- CANCEL_PENDING = 4;
-
- CANCELLING = 5;
-
- CANCELLED = 6;
-
- FAILED = 7;
-
- SKIPPED = 8;
-
-
-
- NOT_TRIGGERED = 9;
- }
-
- int64 task_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- int64 parent_task_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- string task_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp start_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp end_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- PipelineTaskExecutorDetail executor_detail = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- Execution execution = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- google.rpc.Status error = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- repeated PipelineTaskStatus pipeline_task_status = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, ArtifactList> inputs = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, ArtifactList> outputs = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message PipelineTaskExecutorDetail {
-
-
- message ContainerDetail {
-
- string main_job = 1 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/CustomJob"
- }
- ];
-
-
-
-
- string pre_caching_check_job = 2 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/CustomJob"
- }
- ];
-
-
- repeated string failed_main_jobs = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
- repeated string failed_pre_caching_check_jobs = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
- message CustomJobDetail {
- option deprecated = true;
-
- string job = 1 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/CustomJob"
- }
- ];
- }
- oneof details {
-
- ContainerDetail container_detail = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- CustomJobDetail custom_job_detail = 2 [
- deprecated = true,
- (google.api.field_behavior) = OUTPUT_ONLY
- ];
- }
- }
|