Class: Google::Apis::RedisV1::Product
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::Product
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
Product specification for Condor resources.
Instance Attribute Summary collapse
- 
  
    
      #engine  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The specific engine that the underlying database is running.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of specific database product.
 - 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Version of the underlying database engine.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Product 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Product.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Product
Returns a new instance of Product.
      2305 2306 2307  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2305 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#engine ⇒ String
The specific engine that the underlying database is running.
Corresponds to the JSON property engine
      2292 2293 2294  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2292 def engine @engine end  | 
  
#type ⇒ String
Type of specific database product. It could be CloudSQL, AlloyDB etc..
Corresponds to the JSON property type
      2297 2298 2299  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2297 def type @type end  | 
  
#version ⇒ String
Version of the underlying database engine. Example values: For MySQL, it could
be "8.0", "5.7" etc.. For Postgres, it could be "14", "15" etc..
Corresponds to the JSON property version
      2303 2304 2305  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2303 def version @version end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2310 2311 2312 2313 2314  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2310 def update!(**args) @engine = args[:engine] if args.key?(:engine) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end  |