Google Cloud Orchestration Airflow V1 Client - Class ScheduledSnapshotsConfig (1.0.4)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ScheduledSnapshotsConfig.

The configuration for scheduled snapshot creation mechanism.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enabled bool

Optional. Whether scheduled snapshots creation is enabled.

↳ snapshot_location string

Optional. The Cloud Storage location for storing automatically created snapshots.

↳ snapshot_creation_schedule string

Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.

↳ time_zone string

Optional. Time zone that sets the context to interpret snapshot_creation_schedule.

getEnabled

Optional. Whether scheduled snapshots creation is enabled.

Returns
TypeDescription
bool

setEnabled

Optional. Whether scheduled snapshots creation is enabled.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSnapshotLocation

Optional. The Cloud Storage location for storing automatically created snapshots.

Returns
TypeDescription
string

setSnapshotLocation

Optional. The Cloud Storage location for storing automatically created snapshots.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSnapshotCreationSchedule

Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.

Returns
TypeDescription
string

setSnapshotCreationSchedule

Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTimeZone

Optional. Time zone that sets the context to interpret snapshot_creation_schedule.

Returns
TypeDescription
string

setTimeZone

Optional. Time zone that sets the context to interpret snapshot_creation_schedule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this