Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Configuration for the underlying infrastructure used to run workloads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpec

Returns a new instance of GoogleCloudDataplexV1TaskInfrastructureSpec.



7029
7030
7031
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7029

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

Instance Attribute Details

#batchGoogle::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources

Batch compute resources associated with the task. Corresponds to the JSON property batch



7017
7018
7019
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7017

def batch
  @batch
end

#container_imageGoogle::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime

Container Image Runtime Configuration used with Batch execution. Corresponds to the JSON property containerImage



7022
7023
7024
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7022

def container_image
  @container_image
end

#vpc_networkGoogle::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork

Cloud VPC Network used to run the infrastructure. Corresponds to the JSON property vpcNetwork



7027
7028
7029
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7027

def vpc_network
  @vpc_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7034
7035
7036
7037
7038
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7034

def update!(**args)
  @batch = args[:batch] if args.key?(:batch)
  @container_image = args[:container_image] if args.key?(:container_image)
  @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
end