Class: Google::Apis::DataflowV1b3::Artifact

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

Job information for templates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Artifact

Returns a new instance of Artifact.



154
155
156
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 154

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

Instance Attribute Details

#container_specGoogle::Apis::DataflowV1b3::ContainerSpec

Container Spec. Corresponds to the JSON property containerSpec



142
143
144
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 142

def container_spec
  @container_spec
end

#job_graph_gcs_pathString

job_graph_gcs_path set for legacy Template. Corresponds to the JSON property jobGraphGcsPath

Returns:

  • (String)


147
148
149
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 147

def job_graph_gcs_path
  @job_graph_gcs_path
end

#metadataGoogle::Apis::DataflowV1b3::TemplateMetadata

Metadata describing a template. Corresponds to the JSON property metadata



152
153
154
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 152

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



159
160
161
162
163
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 159

def update!(**args)
  @container_spec = args[:container_spec] if args.key?(:container_spec)
  @job_graph_gcs_path = args[:job_graph_gcs_path] if args.key?(:job_graph_gcs_path)
  @metadata = args[:metadata] if args.key?(:metadata)
end