[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataform V1beta1 Client - Class DataPreparationAction (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1beta1.WorkflowInvocationAction.DataPreparationAction)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1beta1.WorkflowInvocationAction.DataPreparationAction) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataform V1beta1 Client class DataPreparationAction.\n\nRepresents a workflow action that will run a Data Preparation.\n\nGenerated from protobuf message `google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1beta1 \\\\ WorkflowInvocationAction\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getContentsYaml\n\nOutput only. YAML representing the contents of the data preparation.\n\nCan be used to show the customer what the input was to their workflow.\n\n### hasContentsYaml\n\n### setContentsYaml\n\nOutput only. YAML representing the contents of the data preparation.\n\nCan be used to show the customer what the input was to their workflow.\n\n### getContentsSql\n\nSQL definition for a Data Preparation. Contains a SQL query and\nadditional context information.\n\n### hasContentsSql\n\n### setContentsSql\n\nSQL definition for a Data Preparation. Contains a SQL query and\nadditional context information.\n\n### getGeneratedSql\n\nOutput only. The generated BigQuery SQL script that will be executed. For\nreference only.\n\n### setGeneratedSql\n\nOutput only. The generated BigQuery SQL script that will be executed. For\nreference only.\n\n### getJobId\n\nOutput only. The ID of the BigQuery job that executed the SQL in\nsql_script. Only set once the job has started to run.\n\n### setJobId\n\nOutput only. The ID of the BigQuery job that executed the SQL in\nsql_script. Only set once the job has started to run.\n\n### getDefinition"]]