Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchReadTokenResponse.
Message for responding to get read token.
Generated from protobuf message google.cloud.developerconnect.v1.FetchReadTokenResponse
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ token
string
The token content.
↳ expiration_time
↳ git_username
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"
getToken
The token content.
string
setToken
The token content.
var
string
$this
getExpirationTime
Expiration timestamp. Can be empty if unknown or non-expiring.
hasExpirationTime
clearExpirationTime
setExpirationTime
Expiration timestamp. Can be empty if unknown or non-expiring.
$this
getGitUsername
The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"
string
setGitUsername
The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"
var
string
$this