Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::SaveSnapshotRequest (v0.6.1)

Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::SaveSnapshotRequest.

Request to create a snapshot of a Cloud Composer environment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#environment

def environment() -> ::String
Returns
  • (::String) — The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

#environment=

def environment=(value) -> ::String
Parameter
  • value (::String) — The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
Returns
  • (::String) — The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

#snapshot_location

def snapshot_location() -> ::String
Returns
  • (::String) — Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".

#snapshot_location=

def snapshot_location=(value) -> ::String
Parameter
  • value (::String) — Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".
Returns
  • (::String) — Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".