Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class LicensedUser.
A licensed user.
Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.LicensedUser
Namespace
Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ username |
string
Username. Format: |
↳ assign_time |
Google\Protobuf\Timestamp
Output only. Timestamp when the license was assigned. |
↳ recent_usage_time |
Google\Protobuf\Timestamp
Output only. Timestamp when the license was recently used. This may not be the most recent usage time, and will be updated regularly (within 24 hours). |
getUsername
Username.
Format: name@domain.com
.
Returns | |
---|---|
Type | Description |
string |
setUsername
Username.
Format: name@domain.com
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAssignTime
Output only. Timestamp when the license was assigned.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasAssignTime
clearAssignTime
setAssignTime
Output only. Timestamp when the license was assigned.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getRecentUsageTime
Output only. Timestamp when the license was recently used. This may not be the most recent usage time, and will be updated regularly (within 24 hours).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasRecentUsageTime
clearRecentUsageTime
setRecentUsageTime
Output only. Timestamp when the license was recently used. This may not be the most recent usage time, and will be updated regularly (within 24 hours).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |