Class: Google::Apis::DataflowV1b3::SourceOperationRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::SourceOperationRequest
 
- 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
A work item that represents the different operations that can be performed on a user-defined Source specification.
Instance Attribute Summary collapse
- 
  
    
      #get_metadata  ⇒ Google::Apis::DataflowV1b3::SourceGetMetadataRequest 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A request to compute the SourceMetadata of a Source. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-provided name of the Read instruction for this source. 
- 
  
    
      #original_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    System-defined name for the Read instruction for this source in the original workflow graph. 
- 
  
    
      #split  ⇒ Google::Apis::DataflowV1b3::SourceSplitRequest 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents the operation to split a high-level Source specification into bundles (parts for parallel processing). 
- 
  
    
      #stage_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    System-defined name of the stage containing the source operation. 
- 
  
    
      #system_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    System-defined name of the Read instruction for this source. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SourceOperationRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SourceOperationRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceOperationRequest
Returns a new instance of SourceOperationRequest
| 3548 3549 3550 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3548 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#get_metadata ⇒ Google::Apis::DataflowV1b3::SourceGetMetadataRequest
A request to compute the SourceMetadata of a Source.
Corresponds to the JSON property getMetadata
| 3507 3508 3509 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3507 def @get_metadata end | 
#name ⇒ String
User-provided name of the Read instruction for this source.
Corresponds to the JSON property name
| 3512 3513 3514 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3512 def name @name end | 
#original_name ⇒ String
System-defined name for the Read instruction for this source
in the original workflow graph.
Corresponds to the JSON property originalName
| 3518 3519 3520 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3518 def original_name @original_name end | 
#split ⇒ Google::Apis::DataflowV1b3::SourceSplitRequest
Represents the operation to split a high-level Source specification
into bundles (parts for parallel processing).
At a high level, splitting of a source into bundles happens as follows:
SourceSplitRequest is applied to the source. If it returns
SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source
is used "as is". Otherwise, splitting is applied recursively to each
produced DerivedSource.
As an optimization, for any Source, if its does_not_need_splitting is
true, the framework assumes that splitting this source would return
SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.
This applies both to the initial source being split and to bundles
produced from it.
Corresponds to the JSON property split
| 3534 3535 3536 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3534 def split @split end | 
#stage_name ⇒ String
System-defined name of the stage containing the source operation.
Unique across the workflow.
Corresponds to the JSON property stageName
| 3540 3541 3542 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3540 def stage_name @stage_name end | 
#system_name ⇒ String
System-defined name of the Read instruction for this source.
Unique across the workflow.
Corresponds to the JSON property systemName
| 3546 3547 3548 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3546 def system_name @system_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3553 3554 3555 3556 3557 3558 3559 3560 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3553 def update!(**args) @get_metadata = args[:get_metadata] if args.key?(:get_metadata) @name = args[:name] if args.key?(:name) @original_name = args[:original_name] if args.key?(:original_name) @split = args[:split] if args.key?(:split) @stage_name = args[:stage_name] if args.key?(:stage_name) @system_name = args[:system_name] if args.key?(:system_name) end |