[[["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 Datastream V1 Client - Class CdcStrategy (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/php/docs/reference/cloud-datastream/latest/V1.CdcStrategy)\n- [2.3.1](/php/docs/reference/cloud-datastream/2.3.1/V1.CdcStrategy)\n- [2.2.0](/php/docs/reference/cloud-datastream/2.2.0/V1.CdcStrategy)\n- [2.1.1](/php/docs/reference/cloud-datastream/2.1.1/V1.CdcStrategy)\n- [2.0.1](/php/docs/reference/cloud-datastream/2.0.1/V1.CdcStrategy)\n- [1.5.5](/php/docs/reference/cloud-datastream/1.5.5/V1.CdcStrategy)\n- [1.4.2](/php/docs/reference/cloud-datastream/1.4.2/V1.CdcStrategy)\n- [1.3.0](/php/docs/reference/cloud-datastream/1.3.0/V1.CdcStrategy)\n- [1.2.1](/php/docs/reference/cloud-datastream/1.2.1/V1.CdcStrategy)\n- [1.1.0](/php/docs/reference/cloud-datastream/1.1.0/V1.CdcStrategy)\n- [1.0.5](/php/docs/reference/cloud-datastream/1.0.5/V1.CdcStrategy) \nReference documentation and code samples for the Google Cloud Datastream V1 Client class CdcStrategy.\n\nThe strategy that the stream uses for CDC replication.\n\nGenerated from protobuf message `google.cloud.datastream.v1.CdcStrategy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMostRecentStartPosition\n\nOptional. Start replicating from the most recent position in the source.\n\n### hasMostRecentStartPosition\n\n### setMostRecentStartPosition\n\nOptional. Start replicating from the most recent position in the source.\n\n### getNextAvailableStartPosition\n\nOptional. Resume replication from the next available position in the\nsource.\n\n### hasNextAvailableStartPosition\n\n### setNextAvailableStartPosition\n\nOptional. Resume replication from the next available position in the\nsource.\n\n### getSpecificStartPosition\n\nOptional. Start replicating from a specific position in the source.\n\n### hasSpecificStartPosition\n\n### setSpecificStartPosition\n\nOptional. Start replicating from a specific position in the source.\n\n### getStartPosition"]]