Class: Google::Apis::DataflowV1b3::ContainerSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ContainerSpec
- 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
Container Spec.
Instance Attribute Summary collapse
-
#default_environment ⇒ Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment
The environment values to be set at runtime for flex template.
-
#image ⇒ String
Name of the docker container image.
-
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
-
#sdk_info ⇒ Google::Apis::DataflowV1b3::SdkInfo
SDK Information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerSpec
constructor
A new instance of ContainerSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerSpec
Returns a new instance of ContainerSpec.
479 480 481 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_environment ⇒ Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment
The environment values to be set at runtime for flex template.
Corresponds to the JSON property defaultEnvironment
462 463 464 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 462 def default_environment @default_environment end |
#image ⇒ String
Name of the docker container image. E.g., gcr.io/project/some-image
Corresponds to the JSON property image
467 468 469 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 467 def image @image end |
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
Corresponds to the JSON property metadata
472 473 474 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 472 def @metadata end |
#sdk_info ⇒ Google::Apis::DataflowV1b3::SdkInfo
SDK Information.
Corresponds to the JSON property sdkInfo
477 478 479 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 477 def sdk_info @sdk_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
484 485 486 487 488 489 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 484 def update!(**args) @default_environment = args[:default_environment] if args.key?(:default_environment) @image = args[:image] if args.key?(:image) @metadata = args[:metadata] if args.key?(:metadata) @sdk_info = args[:sdk_info] if args.key?(:sdk_info) end |