Class: Google::Apis::MlV1::GoogleCloudMlV1Capability
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MlV1::GoogleCloudMlV1Capability
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
 generated/google/apis/ml_v1/representations.rb,
 generated/google/apis/ml_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #available_accelerators  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Available accelerators for the capability. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property type.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudMlV1Capability 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudMlV1Capability. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1Capability
Returns a new instance of GoogleCloudMlV1Capability
| 171 172 173 | # File 'generated/google/apis/ml_v1/classes.rb', line 171 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#available_accelerators ⇒ Array<String>
Available accelerators for the capability.
Corresponds to the JSON property availableAccelerators
| 164 165 166 | # File 'generated/google/apis/ml_v1/classes.rb', line 164 def available_accelerators @available_accelerators end | 
#type ⇒ String
Corresponds to the JSON property type
| 169 170 171 | # File 'generated/google/apis/ml_v1/classes.rb', line 169 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 176 177 178 179 | # File 'generated/google/apis/ml_v1/classes.rb', line 176 def update!(**args) @available_accelerators = args[:available_accelerators] if args.key?(:available_accelerators) @type = args[:type] if args.key?(:type) end |