# Class UsageRecord

Reports all usage for a Load Balancer recorded within the preceding 24 hours.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\LoadBalancer\Resource\AbstractResource
  OpenCloud\LoadBalancer\Resource\ReadOnlyResource
  OpenCloud\LoadBalancer\Resource\UsageRecord

Namespace: OpenCloud\LoadBalancer\Resource
Located at OpenCloud/LoadBalancer/Resource/UsageRecord.php

Methods summary
`public Guzzle\Http\Message\Response` | # `refresh( null $id = null, null $url = null )` Refresh the state of a resource Refresh the state of a resource #### Parameters $id `null` $id $url `null` $url #### Returns `Guzzle\Http\Message\Response` #### Throws `IdRequiredError` #### Overrides `OpenCloud\LoadBalancer\Resource\AbstractResource::refresh()`

Methods inherited from OpenCloud\LoadBalancer\Resource\ReadOnlyResource
`create(), delete(), update()`

Methods inherited from OpenCloud\LoadBalancer\Resource\AbstractResource
`createJson(), refreshFromParent(), updateJson()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), getAlias(), noCreate(), noDelete(), noUpdate(), refreshFromLocationUrl(), waitFor()`

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public mixed` | $id | `` | #
`public mixed` | $averageNumConnections | `` | #
`public integer` | $incomingTransfer | `` | # Incoming transfer in bytes. Incoming transfer in bytes.
`public integer` | $outgoingTransfer | `` | # Outgoing transfer in bytes. Outgoing transfer in bytes.
`public mixed` | $averageNumConnectionsSsl | `` | #
`public mixed` | $incomingTransferSsl | `` | #
`public mixed` | $outgoingTransferSsl | `` | #
`public mixed` | $numVips | `` | #
`public mixed` | $numPolls | `` | #
`public mixed` | $startTime | `` | #
`public mixed` | $endTime | `` | #
`public mixed` | $vipType | `` | #
`public mixed` | $sslMode | `` | #
`public mixed` | $eventType | `` | #
`protected static string` | $json_name | `'loadBalancerUsageRecord'` | #
`protected static string` | $url_resource | `'usage'` | #

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$metadata, $parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`