(::String) — The git_username to specify when making a git clone with the
token. For example, for GitHub GitRepositoryLinks, this would be
"x-access-token"
#git_username=
defgit_username=(value)->::String
Parameter
value (::String) — The git_username to specify when making a git clone with the
token. For example, for GitHub GitRepositoryLinks, this would be
"x-access-token"
Returns
(::String) — The git_username to specify when making a git clone with the
token. For example, for GitHub GitRepositoryLinks, this would be
"x-access-token"
[[["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-09 UTC."],[],[],null,["# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::FetchReadTokenResponse (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-developer_connect-v1/1.1.0/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-developer_connect-v1/1.0.1/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.5.0/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [0.4.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.4.0/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [0.3.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.3.0/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [0.2.0](/ruby/docs/reference/google-cloud-developer_connect-v1/0.2.0/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse)\n- [0.1.1](/ruby/docs/reference/google-cloud-developer_connect-v1/0.1.1/Google-Cloud-DeveloperConnect-V1-FetchReadTokenResponse) \nReference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FetchReadTokenResponse.\n\nMessage for responding to get read token. \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### #expiration_time\n\n def expiration_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring.\n\n### #expiration_time=\n\n def expiration_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring.\n\n### #git_username\n\n def git_username() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be \"x-access-token\"\n\n### #git_username=\n\n def git_username=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be \"x-access-token\" \n**Returns**\n\n- (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be \"x-access-token\"\n\n### #token\n\n def token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The token content.\n\n### #token=\n\n def token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The token content. \n**Returns**\n\n- (::String) --- The token content."]]