[[["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 Config V1 Client - Class GitSource (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-config/latest/V1.GitSource)\n- [1.4.0](/php/docs/reference/cloud-config/1.4.0/V1.GitSource)\n- [1.3.0](/php/docs/reference/cloud-config/1.3.0/V1.GitSource)\n- [1.2.1](/php/docs/reference/cloud-config/1.2.1/V1.GitSource)\n- [1.1.0](/php/docs/reference/cloud-config/1.1.0/V1.GitSource)\n- [1.0.1](/php/docs/reference/cloud-config/1.0.1/V1.GitSource)\n- [0.5.2](/php/docs/reference/cloud-config/0.5.2/V1.GitSource)\n- [0.2.0](/php/docs/reference/cloud-config/0.2.0/V1.GitSource)\n- [0.1.3](/php/docs/reference/cloud-config/0.1.3/V1.GitSource) \nReference documentation and code samples for the Google Cloud Config V1 Client class GitSource.\n\nA set of files in a Git repository.\n\nGenerated from protobuf message `google.cloud.config.v1.GitSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Config \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRepo\n\nOptional. Repository URL.\n\nExample: '\u003chttps://github.com/kubernetes/examples.git\u003e'\n\n### hasRepo\n\n### clearRepo\n\n### setRepo\n\nOptional. Repository URL.\n\nExample: '\u003chttps://github.com/kubernetes/examples.git\u003e'\n\n### getDirectory\n\nOptional. Subdirectory inside the repository.\n\nExample: 'staging/my-package'\n\n### hasDirectory\n\n### clearDirectory\n\n### setDirectory\n\nOptional. Subdirectory inside the repository.\n\nExample: 'staging/my-package'\n\n### getRef\n\nOptional. Git reference (e.g. branch or tag).\n\n### hasRef\n\n### clearRef\n\n### setRef\n\nOptional. Git reference (e.g. branch or tag)."]]