{
   "components": {
     "comp-endpoint-create": {
       "executorLabel": "exec-endpoint-create",
       "inputDefinitions": {
         "parameters": {
           "description": {
             "defaultValue": "",
             "isOptional": true,
             "parameterType": "STRING"
           },
           "display_name": {
             "parameterType": "STRING"
           },
           "encryption_spec_key_name": {
             "defaultValue": "",
             "isOptional": true,
             "parameterType": "STRING"
           },
           "labels": {
             "defaultValue": {},
             "isOptional": true,
             "parameterType": "STRUCT"
           },
           "location": {
             "defaultValue": "us-central1",
             "isOptional": true,
             "parameterType": "STRING"
           },
           "network": {
             "defaultValue": "",
             "isOptional": true,
             "parameterType": "STRING"
           },
           "project": {
             "parameterType": "STRING"
           }
         }
       },
       "outputDefinitions": {
         "artifacts": {
           "endpoint": {
             "artifactType": {
               "schemaTitle": "google.VertexEndpoint",
               "schemaVersion": "0.0.1"
             }
           }
         },
         "parameters": {
           "gcp_resources": {
             "parameterType": "STRING"
           }
         }
       }
     },
     "comp-endpoint-delete": {
       "executorLabel": "exec-endpoint-delete",
       "inputDefinitions": {
         "artifacts": {
           "endpoint": {
             "artifactType": {
               "schemaTitle": "google.VertexEndpoint",
               "schemaVersion": "0.0.1"
             }
           }
         }
       },
       "outputDefinitions": {
         "parameters": {
           "gcp_resources": {
             "parameterType": "STRING"
           }
         }
       }
     }
   },
   "deploymentSpec": {
     "executors": {
       "exec-endpoint-create": {
         "container": {
           "args": [
             "--type",
             "CreateEndpoint",
             "--payload",
             "{\"Concat\": [\"{\", \"\\\"display_name\\\": \\\"\", \"{{$.inputs.parameters['display_name']}}\", \"\\\"\", \", \\\"description\\\": \\\"\", \"{{$.inputs.parameters['description']}}\", \"\\\"\", \", \\\"labels\\\": \", \"{{$.inputs.parameters['labels']}}\", \", \\\"encryption_spec\\\": {\\\"kms_key_name\\\":\\\"\", \"{{$.inputs.parameters['encryption_spec_key_name']}}\", \"\\\"}\", \", \\\"network\\\": \\\"\", \"{{$.inputs.parameters['network']}}\", \"\\\"\", \"}\"]}",
             "--project",
             "{{$.inputs.parameters['project']}}",
             "--location",
             "{{$.inputs.parameters['location']}}",
             "--gcp_resources",
             "{{$.outputs.parameters['gcp_resources'].output_file}}",
             "--executor_input",
             "{{$}}"
           ],
           "command": [
             "python3",
             "-u",
             "-m",
             "google_cloud_pipeline_components.container.v1.endpoint.create_endpoint.launcher"
           ],
           "image": "gcr.io/ml-pipeline/google-cloud-pipeline-components:2.0.0b1"
         }
       },
       "exec-endpoint-delete": {
         "container": {
           "args": [
             "--type",
             "DeleteEndpoint",
             "--payload",
             "{\"Concat\": [\"{\", \"\\\"endpoint\\\": \\\"\", \"{{$.inputs.artifacts['endpoint'].metadata['resourceName']}}\", \"\\\"\", \"}\"]}",
             "--project",
             "",
             "--location",
             "",
             "--gcp_resources",
             "{{$.outputs.parameters['gcp_resources'].output_file}}"
           ],
           "command": [
             "python3",
             "-u",
             "-m",
             "google_cloud_pipeline_components.container.v1.endpoint.delete_endpoint.launcher"
           ],
           "image": "gcr.io/ml-pipeline/google-cloud-pipeline-components:2.0.0b1"
         }
       }
     }
   },
   "pipelineInfo": {
     "name": "delete-endpoint-test"
   },
   "root": {
     "dag": {
       "tasks": {
         "endpoint-create": {
           "cachingOptions": {
             "enableCache": true
           },
           "componentRef": {
             "name": "comp-endpoint-create"
           },
           "inputs": {
             "parameters": {
               "description": {
                 "runtimeValue": {
                   "constant": "some description"
                 }
               },
               "display_name": {
                 "runtimeValue": {
                   "constant": "test_display_name"
                 }
               },
               "encryption_spec_key_name": {
                 "runtimeValue": {
                   "constant": "some encryption_spec_key_name"
                 }
               },
               "labels": {
                 "runtimeValue": {
                   "constant": {
                     "foo": "bar"
                   }
                 }
               },
               "location": {
                 "runtimeValue": {
                   "constant": "us-central1"
                 }
               },
               "network": {
                 "runtimeValue": {
                   "constant": "abc"
                 }
               },
               "project": {
                 "runtimeValue": {
                   "constant": "test_project"
                 }
               }
             }
           },
           "taskInfo": {
             "name": "endpoint-create"
           }
         },
         "endpoint-delete": {
           "cachingOptions": {
             "enableCache": true
           },
           "componentRef": {
             "name": "comp-endpoint-delete"
           },
           "dependentTasks": [
             "endpoint-create"
           ],
           "inputs": {
             "artifacts": {
               "endpoint": {
                 "taskOutputArtifact": {
                   "outputArtifactKey": "endpoint",
                   "producerTask": "endpoint-create"
                 }
               }
             }
           },
           "taskInfo": {
             "name": "endpoint-delete"
           }
         }
       }
     }
   }
 }