Class Comment (0.1.1)

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

A comment on an order.

Attributes

Name Description
name str
Identifier. Name of this comment. Format: projects/{project}/locations/{location}/orders/{order}/comments/{comment}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this comment was created.
labels MutableMapping[str, str]
Optional. Labels associated with this comment as key value pairs. For more information about labels, see `Create and manage labels
author str
Output only. Username of the author of this comment. This is auto-populated from the credentials used during creation of the comment.
text str
Required. Text of this comment. The length of text must be <= 1000="" characters.="">

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.