CloudMemorystoreMemcachedUpdateParametersOperator

Google

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

View Source

Last Updated: Dec. 22, 2020

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_maskUnion[Dict, google.cloud.memcache_v1beta2.types.cloud_memcache.field_mask.FieldMask]Required. Mask of fields to update. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.memcache_v1beta2.types.cloud_memcache.field_mask.FieldMask`No role entry for "class" in module "docutils.parsers.rst.languages.en". Trying "class" as canonical role name.Unknown interpreted text role "class".
parametersUnion[Dict, google.cloud.memcache_v1beta2.types.cloud_memcache.MemcacheParameters]The parameters to apply to the instance. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.memcache_v1beta2.types.cloud_memcache.MemcacheParameters`No role entry for "class" in module "docutils.parsers.rst.languages.en". Trying "class" as canonical role name.Unknown interpreted text role "class".
locationstrThe location of the Cloud Memorystore instance (for example europe-west1)
instance_idstrThe 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 Google Cloud 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.

Documentation

Updates the defined Memcached Parameters for an existing Instance. This method only stages the

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

See also

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

Was this page helpful?