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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ SourceOperationResponse

Returns a new instance of SourceOperationResponse.



4936
4937
4938
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4936

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



4929
4930
4931
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4929

def 
  @get_metadata
end

#splitGoogle::Apis::DataflowV1b3::SourceSplitResponse

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



4934
4935
4936
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4934

def split
  @split
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4941
4942
4943
4944
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4941

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