Class: Google::Apis::DataflowV1b3::Package
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataflowV1b3::Package
 
 
- 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 packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
Instance Attribute Summary collapse
- 
  
    
      #location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource to read the package from.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the package.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Package 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Package.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Package
Returns a new instance of Package
      2602 2603 2604  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2602 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#location ⇒ String
The resource to read the package from. The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/bucket
bucket.storage.googleapis.com/
Corresponds to the JSON property location
      2595 2596 2597  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2595 def location @location end  | 
  
#name ⇒ String
The name of the package.
Corresponds to the JSON property name
      2600 2601 2602  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2600 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2607 2608 2609 2610  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2607 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end  |