Class OperationInfo
A message representing the message types used by a long-running operation. Example: rpc Export(ExportRequest) returns (google.longrunning.Operation) { option (google.longrunning.operation_info) = { response_type: "ExportResponse" metadata_type: "ExportMetadata" }; }
Implements
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1.Data
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class OperationInfo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MetadataType
Required. The message name of the metadata type for this long-running operation. If the response is in a
different package from the rpc, a fully-qualified message name must be used (e.g. google.protobuf.Struct
).
Note: Altering this value constitutes a breaking change.
Declaration
[JsonProperty("metadataType")]
public virtual string MetadataType { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponseType
Required. The message name of the primary return type for this long-running operation. This type will be
used to deserialize the LRO's response. If the response is in a different package from the rpc, a
fully-qualified message name must be used (e.g. google.protobuf.Struct
). Note: Altering this value
constitutes a breaking change.
Declaration
[JsonProperty("responseType")]
public virtual string ResponseType { get; set; }
Property Value
Type | Description |
---|---|
string |