Cloud Video Intelligence V1p2beta1 API - Class Google::Longrunning::OperationInfo (v0.16.1)

Reference documentation and code samples for the Cloud Video Intelligence V1p2beta1 API class Google::Longrunning::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"
 };
}

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metadata_type

defmetadata_type()->::String
Returns
  • (::String) — 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.

#metadata_type=

defmetadata_type=(value)->::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#response_type

defresponse_type()->::String
Returns
  • (::String) — 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.

#response_type=

defresponse_type=(value)->::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.