Google Cloud Storage Insights V1 Client - Class FrequencyOptions (0.2.3)

Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class FrequencyOptions.

ReportConfig Resource: Options to setup frequency of report generation.

Generated from protobuf message google.cloud.storageinsights.v1.FrequencyOptions

Namespace

Google \ Cloud \ StorageInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ frequency int

Frequency of report generation.

↳ start_date Google\Type\Date

The date from which report generation should start. UTC time zone.

↳ end_date Google\Type\Date

The date on which report generation should stop (Inclusive). UTC time zone.

getFrequency

Frequency of report generation.

Returns
TypeDescription
int

setFrequency

Frequency of report generation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStartDate

The date from which report generation should start.

UTC time zone.

Returns
TypeDescription
Google\Type\Date|null

hasStartDate

clearStartDate

setStartDate

The date from which report generation should start.

UTC time zone.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getEndDate

The date on which report generation should stop (Inclusive).

UTC time zone.

Returns
TypeDescription
Google\Type\Date|null

hasEndDate

clearEndDate

setEndDate

The date on which report generation should stop (Inclusive).

UTC time zone.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this