Class OperationMetadata (0.1.1)

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

Represents the metadata of the long-running operation.

Attributes

NameDescription
create_time .timestamp.Timestamp
Output only. The time the operation was created.
end_time .timestamp.Timestamp
Output only. The time the operation finished running.
target str
Output only. Server-defined resource path for the target of the operation.
verb str
Output only. Name of the verb executed by the operation.
status_message str
Output only. Human-readable status of the operation, if any.
requested_cancellation bool
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED.
api_version str
Output only. API version used to start the operation.
unreachable Sequence[str]
Output only. List of Locations that could not be reached.
operation_status Sequence[.common.OperationMetadata.OperationStatusEntry]
Output only. Operation status for gameservices API operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.

Classes

OperationStatusEntry

OperationStatusEntry(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.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.