# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::LicensedUser (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.4.0 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LicensedUser.

A licensed user.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #assign_time

    def assign_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp when the license was assigned.

### #recent_usage_time

    def recent_usage_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/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).

### #username

    def username() -> ::String

**Returns**

- (::String) --- Username. Format: `name@domain.com`.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- Username. Format: `name@domain.com`.
**Returns**

- (::String) --- Username. Format: `name@domain.com`.