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.
-
#image_repository_cert_path ⇒ String
Cloud Storage path to self-signed certificate of private registry.
-
#image_repository_password_secret_id ⇒ String
Secret Manager secret id for password to authenticate to private registry.
-
#image_repository_username_secret_id ⇒ String
Secret Manager secret id for username to authenticate to private registry.
-
#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.
552 553 554 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 552 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 'lib/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 'lib/google/apis/dataflow_v1b3/classes.rb', line 525 def image @image end |
#image_repository_cert_path ⇒ String
Cloud Storage path to self-signed certificate of private registry.
Corresponds to the JSON property imageRepositoryCertPath
530 531 532 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 530 def image_repository_cert_path @image_repository_cert_path end |
#image_repository_password_secret_id ⇒ String
Secret Manager secret id for password to authenticate to private registry.
Corresponds to the JSON property imageRepositoryPasswordSecretId
535 536 537 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 535 def image_repository_password_secret_id @image_repository_password_secret_id end |
#image_repository_username_secret_id ⇒ String
Secret Manager secret id for username to authenticate to private registry.
Corresponds to the JSON property imageRepositoryUsernameSecretId
540 541 542 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 540 def image_repository_username_secret_id @image_repository_username_secret_id end |
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
Corresponds to the JSON property metadata
545 546 547 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 545 def @metadata end |
#sdk_info ⇒ Google::Apis::DataflowV1b3::SdkInfo
SDK Information.
Corresponds to the JSON property sdkInfo
550 551 552 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 550 def sdk_info @sdk_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
557 558 559 560 561 562 563 564 565 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 557 def update!(**args) @default_environment = args[:default_environment] if args.key?(:default_environment) @image = args[:image] if args.key?(:image) @image_repository_cert_path = args[:image_repository_cert_path] if args.key?(:image_repository_cert_path) @image_repository_password_secret_id = args[:image_repository_password_secret_id] if args.key?(:image_repository_password_secret_id) @image_repository_username_secret_id = args[:image_repository_username_secret_id] if args.key?(:image_repository_username_secret_id) @metadata = args[:metadata] if args.key?(:metadata) @sdk_info = args[:sdk_info] if args.key?(:sdk_info) end |