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

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
Name Description
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
Type Description
int

setFrequency

Frequency of report generation.

Parameter
Name Description
var int
Returns
Type Description
$this

getStartDate

The date from which report generation should start.

UTC time zone.

Returns
Type Description
Google\Type\Date|null

hasStartDate

clearStartDate

setStartDate

The date from which report generation should start.

UTC time zone.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getEndDate

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

UTC time zone.

Returns
Type Description
Google\Type\Date|null

hasEndDate

clearEndDate

setEndDate

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

UTC time zone.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this