Class: Google::Apis::DatafusionV1beta1::Accelerator

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

Overview

Identifies Data Fusion accelerators for an instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Accelerator

Returns a new instance of Accelerator.



34
35
36
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 34

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

Instance Attribute Details

#accelerator_typeString

The type of an accelator for a CDF instance. Corresponds to the JSON property acceleratorType

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 32

def accelerator_type
  @accelerator_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 39

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