class Google::Apis::ServicemanagementV1::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” `; `
Attributes
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. Corresponds to the JSON property `metadataType` @return [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. Corresponds to the JSON property `responseType` @return [String]
Public Class Methods
# File lib/google/apis/servicemanagement_v1/classes.rb, line 2691 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicemanagement_v1/classes.rb, line 2696 def update!(**args) @metadata_type = args[:metadata_type] if args.key?(:metadata_type) @response_type = args[:response_type] if args.key?(:response_type) end