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

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

Overview

Identifies Cloud Data Fusion accelerators for an instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Accelerator

Returns a new instance of Accelerator.



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

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

Instance Attribute Details

#accelerator_typeString

Optional. The type of an accelator for a Cloud Data Fusion instance. Corresponds to the JSON property acceleratorType

Returns:

  • (String)


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

def accelerator_type
  @accelerator_type
end

#stateString

Output only. The state of the accelerator. Corresponds to the JSON property state

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 37

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 44

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