[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-18 UTC."],[],[],null,["# Quickstart: Google Cloud Pipeline Components\n\nThis quickstart guides you through the installation of the\nGoogle Cloud Pipeline Components (GCPC) SDK.\n\nInstall latest release\n----------------------\n\nUse the following command to install the Google Cloud SDK from the Python\nPackage Index (PyPI): \n\n pip install --upgrade google-cloud-pipeline-components\n\nImport a prebuilt component by using the Google Cloud SDK\n---------------------------------------------------------\n\nAfter you install the Google Cloud SDK, you can use it to import a\nprebuilt component.\n\nFor SDK reference information for supported components, see\nthe [Google Cloud SDK documentation](https://google-cloud-pipeline-components.readthedocs.io/en/google-cloud-pipeline-components-2.19.0/api/v1/index.html).\n\nFor example, you can use the following code to import and use the\n[Dataflow component](https://google-cloud-pipeline-components.readthedocs.io/en/google-cloud-pipeline-components-2.19.0/api/v1/dataflow.html) in a pipeline. \n\n from google_cloud_pipeline_components.v1.dataflow import DataflowPythonJobOp\n from kfp import dsl\n\n @dsl.pipeline(\n name=PIPELINE_NAME,\n description='Dataflow launch python pipeline'\n )\n def pipeline(\n python_file_path:str = 'gs://ml-pipeline-playground/samples/dataflow/wc/wc.py',\n project_id:str = PROJECT_ID,\n location:str = LOCATION,\n staging_dir:str = PIPELINE_ROOT,\n requirements_file_path:str = 'gs://ml-pipeline-playground/samples/dataflow/wc/requirements.txt',\n ):\n dataflow_python_op = DataflowPythonJobOp(\n project=project_id,\n location=location,\n python_module_path=python_file_path,\n temp_location = staging_dir,\n requirements_file_path = requirements_file_path,\n args = ['--output', OUTPUT_FILE],\n )\n\nWhat's next\n-----------\n\n- Read the [Introduction to Google Cloud Pipeline Components](/vertex-ai/docs/pipelines/components-introduction).\n- See all [tutorials that use the `google_cloud_pipeline_components`\n SDK](/vertex-ai/docs/pipelines/notebooks).\n- Get started with [Dataflow components](/vertex-ai/docs/pipelines/dataflow-component)."]]