Class: Google::Apis::DataflowV1b3::ContainerSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_environmentGoogle::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

#imageString

Name of the docker container image. E.g., gcr.io/project/some-image Corresponds to the JSON property image

Returns:

  • (String)


525
526
527
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 525

def image
  @image
end

#image_repository_cert_pathString

Cloud Storage path to self-signed certificate of private registry. Corresponds to the JSON property imageRepositoryCertPath

Returns:

  • (String)


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_idString

Secret Manager secret id for password to authenticate to private registry. Corresponds to the JSON property imageRepositoryPasswordSecretId

Returns:

  • (String)


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_idString

Secret Manager secret id for username to authenticate to private registry. Corresponds to the JSON property imageRepositoryUsernameSecretId

Returns:

  • (String)


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

#metadataGoogle::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_infoGoogle::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