Reference documentation and code samples for the Google Cloud License Manager V1 Client class Usage.
Message describing total counts of users who accessed a VM.
Generated from protobuf message google.cloud.licensemanager.v1.Usage
Namespace
Google \ Cloud \ LicenseManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ lima_instance |
string
LiMa Instance resource name, i.e. projects/{project}/locations/{location}/instances/{instance} |
↳ users |
int
Number of unique users accessing the VM. |
getLimaInstance
LiMa Instance resource name, i.e.
projects/{project}/locations/{location}/instances/{instance}
| Returns | |
|---|---|
| Type | Description |
string |
|
setLimaInstance
LiMa Instance resource name, i.e.
projects/{project}/locations/{location}/instances/{instance}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUsers
Number of unique users accessing the VM.
| Returns | |
|---|---|
| Type | Description |
int |
|
setUsers
Number of unique users accessing the VM.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|