Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class SaveSnapshotRequest.
Request to create a snapshot of a Cloud Composer environment.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ environment |
string
The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" |
↳ snapshot_location |
string
Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots". |
getEnvironment
The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
Returns | |
---|---|
Type | Description |
string |
setEnvironment
The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSnapshotLocation
Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".
Returns | |
---|---|
Type | Description |
string |
setSnapshotLocation
Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |