Konektor untuk AI Platform Training and Prediction

Konektor alur kerja yang menentukan fungsi bawaan yang digunakan untuk mengakses VertexAI (AI Platform) dalam alur kerja.

Mempelajari lebih lanjut

Untuk dokumentasi mendetail yang menyertakan contoh kode ini, lihat artikel berikut:

Contoh kode

YAML

# This workflow expects following items to be provided through input argument for execution:
#   - projectID (string)
#     - The user project ID.
#
# Expected successful output: "SUCCESS"

main:
  params: [args]
  steps:
    - init:
        assign:
          - project_id: ${args.projectID}
    - list_jobs:
        call: googleapis.ml.v1.projects.jobs.list
        args:
          parent: ${"projects/" + project_id}
        result: jobs
    - list_locations:
        call: googleapis.ml.v1.projects.locations.list
        args:
          parent: ${"projects/" + project_id}
        result: locations
    - the_end:
        return: "SUCCESS"

Langkah selanjutnya

Untuk menelusuri dan memfilter contoh kode untuk produk Google Cloud lainnya, lihat Google Cloud browser contoh.