Class PolicyTagList (3.3.3)

PolicyTagList(names: Iterable[str] = ())

Define Policy Tags for a column.

Inheritance

builtins.object > PolicyTagList

Properties

names

Tuple[str]: Policy tags associated with this definition.

Methods

from_api_repr

from_api_repr(api_repr: dict)

Return a PolicyTagList object deserialized from a dict.

This method creates a new PolicyTagList instance that points to the api_repr parameter as its internal properties dict. This means that when a PolicyTagList instance is stored as a property of another object, any changes made at the higher level will also appear here.

Parameter
NameDescription
api_repr Mapping[str, str]

The serialized representation of the PolicyTagList, such as what is output by to_api_repr.

Returns
TypeDescription
Optional[google.cloud.bigquery.schema.PolicyTagList]The ``PolicyTagList`` object or None.

to_api_repr

to_api_repr()

Return a dictionary representing this object.

This method returns the properties dict of the PolicyTagList instance rather than making a copy. This means that when a PolicyTagList instance is stored as a property of another object, any changes made at the higher level will also appear here.

Returns
TypeDescription
dictA dictionary representing the PolicyTagList object in serialized form.

__init__

__init__(names: Iterable[str] = ())

Initialize self. See help(type(self)) for accurate signature.

PolicyTagList

PolicyTagList(names: Iterable[str] = ())

Define Policy Tags for a column.