Cloud Debugger V2 API - Class Google::Devtools::Source::V1::GitSourceContext (v0.6.0)
Reference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::GitSourceContext.
A GitSourceContext denotes a particular revision in a third party Git
repository (e.g. GitHub).
Extended By
-
Google::Protobuf::MessageExts::ClassMethods
Includes
-
Google::Protobuf::MessageExts
Methods
#revision_id
def revision_id() -> ::String
Returns
-
(::String) — Git commit hash.
required.
#revision_id=
def revision_id=(value) -> ::String
Parameter
-
value (::String) — Git commit hash.
required.
Returns
-
(::String) — Git commit hash.
required.
#url
Returns
-
(::String) — Git repository URL.
#url=
def url=(value) -> ::String
Parameter
-
value (::String) — Git repository URL.
Returns
-
(::String) — Git repository URL.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Debugger V2 API - Class Google::Devtools::Source::V1::GitSourceContext (v0.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.0 (latest)](/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-GitSourceContext)\n- [0.5.0](/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Devtools-Source-V1-GitSourceContext)\n- [0.4.0](/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Devtools-Source-V1-GitSourceContext)\n- [0.3.5](/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Devtools-Source-V1-GitSourceContext) \nReference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::GitSourceContext.\n\nA GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #revision_id\n\n def revision_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Git commit hash. required.\n\n### #revision_id=\n\n def revision_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Git commit hash. required. \n**Returns**\n\n- (::String) --- Git commit hash. required.\n\n### #url\n\n def url() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Git repository URL.\n\n### #url=\n\n def url=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Git repository URL. \n**Returns**\n\n- (::String) --- Git repository URL."]]