Class: Google::Apis::DataflowV1b3::SourceOperationResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SourceOperationResponse

Returns a new instance of SourceOperationResponse.


2083
2084
2085
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2083

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#get_metadataGoogle::Apis::DataflowV1b3::SourceGetMetadataResponse

The result of a SourceGetMetadataOperation. Corresponds to the JSON property getMetadata


2081
2082
2083
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2081

def 
  @get_metadata
end

#splitGoogle::Apis::DataflowV1b3::SourceSplitResponse

The response to a SourceSplitRequest. Corresponds to the JSON property split


2076
2077
2078
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2076

def split
  @split
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2088
2089
2090
2091
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2088

def update!(**args)
  @split = args[:split] if args.key?(:split)
  @get_metadata = args[:get_metadata] if args.key?(:get_metadata)
end