CloudMemorystoreMemcachedUpdateParametersOperator

Google

parameters, it must be followed by apply_parameters to apply the parameters to nodes of the Memcached Instance.

View on GitHub

Last Updated: Feb. 25, 2023

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

update_maskRequiredRequired. Mask of fields to update. If a dict is provided, it must be of the same form as the protobuf message FieldMask
parametersRequiredThe parameters to apply to the instance. If a dict is provided, it must be of the same form as the protobuf message MemcacheParameters
locationRequiredThe location of the Cloud Memorystore instance (for example europe-west1)
instance_idRequiredThe logical name of the Memcached instance in the customer project.
project_idRequiredProject ID of the project that contains the instance. If set to None or missing, the default project_id from the Google Cloud connection is used.
retryA retry object used to retry requests. If None is specified, requests will not be retried.
timeoutThe 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.
metadataAdditional metadata that is provided to the method.

Documentation

See also

For more information on how to use this operator, take a look at the guide: Update and apply parameters to an instance

param update_mask

Required. Mask of fields to update. If a dict is provided, it must be of the same form as the protobuf message FieldMask

param parameters

The parameters to apply to the instance. If a dict is provided, it must be of the same form as the protobuf message MemcacheParameters

param location

The location of the Cloud Memorystore instance (for example europe-west1)

param instance_id

The logical name of the Memcached instance in the customer project.

param project_id

Project ID of the project that contains the instance. If set to None or missing, the default project_id from the Google Cloud connection is used.

param retry

A retry object used to retry requests. If None is specified, requests will not be retried.

param timeout

The 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.

param metadata

Additional metadata that is provided to the method.

Was this page helpful?