Google Cloud Developer Connect V1 Client - Class User (0.6.1)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class User.

User represents a user connected to the service providers through a AccountConnector.

Generated from protobuf message google.cloud.developerconnect.v1.User

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameter
Name Description
data mixed

getName

Identifier. Resource name of the user, in the format projects/*/locations/*/accountConnectors/*/users/*.

Returns
Type Description
string

setName

Identifier. Resource name of the user, in the format projects/*/locations/*/accountConnectors/*/users/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.

Returns
Type Description
string

setDisplayName

Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The timestamp when the user was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the user was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastTokenRequestTime

Output only. The timestamp when the token was last requested.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastTokenRequestTime

clearLastTokenRequestTime

setLastTokenRequestTime

Output only. The timestamp when the token was last requested.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this