[[["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-08-28 UTC."],[],[],null,["# Google Cloud BigQuery Migration V2 Client - Class SourceTargetMapping (1.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.5 (latest)](/php/docs/reference/cloud-bigquery-migration/latest/V2.SourceTargetMapping)\n- [1.1.4](/php/docs/reference/cloud-bigquery-migration/1.1.4/V2.SourceTargetMapping)\n- [1.0.0](/php/docs/reference/cloud-bigquery-migration/1.0.0/V2.SourceTargetMapping)\n- [0.4.5](/php/docs/reference/cloud-bigquery-migration/0.4.5/V2.SourceTargetMapping)\n- [0.3.3](/php/docs/reference/cloud-bigquery-migration/0.3.3/V2.SourceTargetMapping)\n- [0.2.2](/php/docs/reference/cloud-bigquery-migration/0.2.2/V2.SourceTargetMapping)\n- [0.1.4](/php/docs/reference/cloud-bigquery-migration/0.1.4/V2.SourceTargetMapping) \nReference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class SourceTargetMapping.\n\nRepresents one mapping from a source SQL to a target SQL.\n\nGenerated from protobuf message `google.cloud.bigquery.migration.v2.SourceTargetMapping`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery \\\\ Migration \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceSpec\n\nThe source SQL or the path to it.\n\n### hasSourceSpec\n\n### clearSourceSpec\n\n### setSourceSpec\n\nThe source SQL or the path to it.\n\n### getTargetSpec\n\nThe target SQL or the path for it.\n\n### hasTargetSpec\n\n### clearTargetSpec\n\n### setTargetSpec\n\nThe target SQL or the path for it."]]