CloudMemorystoreMemcachedDeleteInstanceOperator

Google

Deletes a specific Memcached instance. Instance stops serving and data is deleted.

View Source

Last Updated: May. 7, 2021

Access Instructions

Install the Google provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

locationstrThe location of the Cloud Memorystore instance (for example europe-west1)
instancestrThe logical name of the Memcached instance in the customer project.
project_idstrProject ID of the project that contains the instance. If set to None or missing, the default project_id from the GCP connection is used.
retrygoogle.api_core.retry.RetryA retry object used to retry requests. If None is specified, requests will not be retried.
timeoutfloatThe amount of time, in seconds, to wait for the request to complete. Note that if retry is specified, the timeout applies to each individual attempt.
metadataSequence[Tuple[str, str]]Additional metadata that is provided to the method.
gcp_conn_idstrThe connection ID to use connecting to Google Cloud Platform.

Documentation

Deletes a specific Memcached instance. Instance stops serving and data is deleted.

See also

For more information on how to use this operator, take a look at the guide: Delete instance

Was this page helpful?