Class: Google::Apis::DataflowV1b3::ContainerSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ContainerSpec
- 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
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.
537 538 539 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 537 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
520 521 522 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 520 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
525 526 527 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 525 def image @image end |
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
Corresponds to the JSON property metadata
530 531 532 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 530 def @metadata end |
#sdk_info ⇒ Google::Apis::DataflowV1b3::SdkInfo
SDK Information.
Corresponds to the JSON property sdkInfo
535 536 537 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 535 def sdk_info @sdk_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
542 543 544 545 546 547 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 542 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 |