Google Cloud Developer Connect V1 Client - Class User (0.4.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.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

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

↳ display_name
string

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

↳ create_time
Google\Protobuf\Timestamp

Output only. The timestamp when the user was created.

↳ last_token_request_time
Google\Protobuf\Timestamp

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

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

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the user was created.

Parameter
Name
Description
Returns
Type
Description
$this

getLastTokenRequestTime

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

Returns
Type
Description

hasLastTokenRequestTime

clearLastTokenRequestTime

setLastTokenRequestTime

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: