class Metric extends OperatorResource implements Retrievable

Traits

Properties

$createdByUserId string
$resource Resource
$name string
$createdByProjectId string
$archivePolicy array
$id string
$unit string

Methods

retrieve () : void

Retrieve details of the current resource from the remote API.

Details

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$metric->retrieve();