public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Game Services v1 API class OperationMetadata.
Represents the metadata of the long-running operation.
Implements
IMessageOperationMetadata, IEquatableOperationMetadata, IDeepCloneableOperationMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.dll
Constructors
OperationMetadata()
public OperationMetadata()
OperationMetadata(OperationMetadata)
public OperationMetadata(OperationMetadata other)
Parameter | |
---|---|
Name | Description |
other | OperationMetadata |
Properties
ApiVersion
public string ApiVersion { get; set; }
Output only. API version used to start the operation.
Property Value | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the operation was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
EndTime
public Timestamp EndTime { get; set; }
Output only. The time the operation finished running.
Property Value | |
---|---|
Type | Description |
Timestamp |
OperationStatus
public MapField<string, OperationStatus> OperationStatus { get; }
Output only. Operation status for Game Services 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.
Property Value | |
---|---|
Type | Description |
MapFieldstringOperationStatus |
RequestedCancellation
public bool RequestedCancellation { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
bool |
StatusMessage
public string StatusMessage { get; set; }
Output only. Human-readable status of the operation, if any.
Property Value | |
---|---|
Type | Description |
string |
Target
public string Target { get; set; }
Output only. Server-defined resource path for the target of the operation.
Property Value | |
---|---|
Type | Description |
string |
Unreachable
public RepeatedField<string> Unreachable { get; }
Output only. List of Locations that could not be reached.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Verb
public string Verb { get; set; }
Output only. Name of the verb executed by the operation.
Property Value | |
---|---|
Type | Description |
string |