Class: Google::Apis::ServicemanagementV1::OperationInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::OperationInfo
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/google/apis/servicemanagement_v1/representations.rb 
Overview
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" ;
Instance Attribute Summary collapse
- 
  
    
      #metadata_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #response_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OperationInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OperationInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ OperationInfo
Returns a new instance of OperationInfo.
      3204 3205 3206  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3204 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#metadata_type ⇒ 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.
Corresponds to the JSON property metadataType
      3193 3194 3195  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3193 def @metadata_type end  | 
  
#response_type ⇒ 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
      3202 3203 3204  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3202 def response_type @response_type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3209 3210 3211 3212  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3209 def update!(**args) @metadata_type = args[:metadata_type] if args.key?(:metadata_type) @response_type = args[:response_type] if args.key?(:response_type) end  |