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.
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).
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Commerce Consumer Procurement V1 Client - Class LicensedUser (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.LicensedUser)\n- [1.2.1](/php/docs/reference/cloud-commerce-consumer-procurement/1.2.1/V1.LicensedUser)\n- [1.1.3](/php/docs/reference/cloud-commerce-consumer-procurement/1.1.3/V1.LicensedUser)\n- [1.0.0](/php/docs/reference/cloud-commerce-consumer-procurement/1.0.0/V1.LicensedUser)\n- [0.2.5](/php/docs/reference/cloud-commerce-consumer-procurement/0.2.5/V1.LicensedUser)\n- [0.1.1](/php/docs/reference/cloud-commerce-consumer-procurement/0.1.1/V1.LicensedUser) \nReference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class LicensedUser.\n\nA licensed user.\n\nGenerated from protobuf message `google.cloud.commerce.consumer.procurement.v1.LicensedUser`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Commerce \\\\ Consumer \\\\ Procurement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUsername\n\nUsername.\n\nFormat: `name@domain.com`.\n\n### setUsername\n\nUsername.\n\nFormat: `name@domain.com`.\n\n### getAssignTime\n\nOutput only. Timestamp when the license was assigned.\n\n### hasAssignTime\n\n### clearAssignTime\n\n### setAssignTime\n\nOutput only. Timestamp when the license was assigned.\n\n### getRecentUsageTime\n\nOutput only. Timestamp when the license was recently used. This may not be\nthe most recent usage time, and will be updated regularly (within 24\nhours).\n\n### hasRecentUsageTime\n\n### clearRecentUsageTime\n\n### setRecentUsageTime\n\nOutput only. Timestamp when the license was recently used. This may not be\nthe most recent usage time, and will be updated regularly (within 24\nhours)."]]