class Google::Apis::MlV1::GoogleCloudMlV1Capability

Attributes

available_accelerators[RW]

Available accelerators for the capability. Corresponds to the JSON property `availableAccelerators` @return [Array<String>]

type[RW]

Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 663
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ml_v1/classes.rb, line 668
def update!(**args)
  @available_accelerators = args[:available_accelerators] if args.key?(:available_accelerators)
  @type = args[:type] if args.key?(:type)
end