Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class LoadSnapshotRequest.
Request to load a snapshot into a Cloud Composer environment.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ environment
string
The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
↳ snapshot_path
string
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
↳ skip_pypi_packages_installation
bool
Whether or not to skip installing Pypi packages when loading the environment's state.
↳ skip_environment_variables_setting
bool
Whether or not to skip setting environment variables when loading the environment's state.
↳ skip_airflow_overrides_setting
bool
Whether or not to skip setting Airflow overrides when loading the environment's state.
↳ skip_gcs_data_copying
bool
Whether or not to skip copying Cloud Storage data when loading the environment's state.
getEnvironment
The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string
setEnvironment
The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
var
string
$this
getSnapshotPath
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string
setSnapshotPath
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
var
string
$this
getSkipPypiPackagesInstallation
Whether or not to skip installing Pypi packages when loading the environment's state.
bool
setSkipPypiPackagesInstallation
Whether or not to skip installing Pypi packages when loading the environment's state.
var
bool
$this
getSkipEnvironmentVariablesSetting
Whether or not to skip setting environment variables when loading the environment's state.
bool
setSkipEnvironmentVariablesSetting
Whether or not to skip setting environment variables when loading the environment's state.
var
bool
$this
getSkipAirflowOverridesSetting
Whether or not to skip setting Airflow overrides when loading the environment's state.
bool
setSkipAirflowOverridesSetting
Whether or not to skip setting Airflow overrides when loading the environment's state.
var
bool
$this
getSkipGcsDataCopying
Whether or not to skip copying Cloud Storage data when loading the environment's state.
bool
setSkipGcsDataCopying
Whether or not to skip copying Cloud Storage data when loading the environment's state.
var
bool
$this