class documentation

class ActivityOptionsKey(Generic[ActivityOptionValueType]): (source)

View In Hierarchy

Typed key for one updatable activity option.

Use the keys on ActivityOptionsKeys rather than constructing these directly.

Warning

This API is experimental.

Method value_set Create an update that sets this option to the given value.
Method value_unset Create an update that clears this option server-side.
Class Variable name Field-mask path this key updates.
def value_set(self, value: ActivityOptionValueType) -> ActivityOptionsUpdate[ActivityOptionValueType]: (source)

Create an update that sets this option to the given value.

def value_unset(self) -> ActivityOptionsUpdate[ActivityOptionValueType]: (source)

Create an update that clears this option server-side.

Field-mask path this key updates.