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 \ V1Methods
__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 |
↳ 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 |
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 |