Google Cloud Orchestration Airflow V1 Client - Class ScheduledSnapshotsConfig (1.6.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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
bool

setEnabled

Optional. Whether scheduled snapshots creation is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSnapshotLocation

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

Returns
Type Description
string

setSnapshotLocation

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getTimeZone

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

Returns
Type Description
string

setTimeZone

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

Parameter
Name Description
var string
Returns
Type Description
$this