Class Context (1.18.3)

Context(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Instance of a general context.

Attributes

NameDescription
name str
Output only. The resource name of the Context.
display_name str
User provided display name of the Context. May be up to 128 Unicode characters.
etag str
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labels Mapping[str, str]
The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Context was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Context was last updated.
parent_contexts Sequence[str]
Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
schema_title str
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
schema_version str
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
metadata google.protobuf.struct_pb2.Struct
Properties of the Context. The size of this field should not exceed 200KB.
description str
Description of the Context

Inheritance

builtins.object > proto.message.Message > Context

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.