Class: Google::Apis::DataflowV1b3::StageSource

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

Description of an input or output of an execution stage.

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) ⇒ StageSource

Returns a new instance of StageSource



2144
2145
2146
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2144

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

Instance Attribute Details

#nameString

Dataflow service generated name for this source. Corresponds to the JSON property name

Returns:

  • (String)


2137
2138
2139
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2137

def name
  @name
end

#original_transform_or_collectionString

User name for the original user transform or collection with which this source is most closely associated. Corresponds to the JSON property originalTransformOrCollection

Returns:

  • (String)


2132
2133
2134
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2132

def original_transform_or_collection
  @original_transform_or_collection
end

#size_bytesFixnum

Size of the source, if measurable. Corresponds to the JSON property sizeBytes

Returns:

  • (Fixnum)


2142
2143
2144
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2142

def size_bytes
  @size_bytes
end

#user_nameString

Human-readable name for this source; may be user or system generated. Corresponds to the JSON property userName

Returns:

  • (String)


2126
2127
2128
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2126

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2149
2150
2151
2152
2153
2154
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2149

def update!(**args)
  @user_name = args[:user_name] if args.key?(:user_name)
  @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection)
  @name = args[:name] if args.key?(:name)
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
end