Class: Google::Apis::BooksV1::Discoveryclusters
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BooksV1::Discoveryclusters
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb 
Defined Under Namespace
Classes: Cluster
Instance Attribute Summary collapse
- 
  
    
      #clusters  ⇒ Array<Google::Apis::BooksV1::Discoveryclusters::Cluster> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
clusters. - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resorce type.
 - 
  
    
      #total_clusters  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
totalClusters. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Discoveryclusters 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Discoveryclusters.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Discoveryclusters
Returns a new instance of Discoveryclusters
      1327 1328 1329  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1327 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#clusters ⇒ Array<Google::Apis::BooksV1::Discoveryclusters::Cluster>
Corresponds to the JSON property clusters
      1315 1316 1317  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1315 def clusters @clusters end  | 
  
#kind ⇒ String
Resorce type.
Corresponds to the JSON property kind
      1320 1321 1322  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1320 def kind @kind end  | 
  
#total_clusters ⇒ Fixnum
Corresponds to the JSON property totalClusters
      1325 1326 1327  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1325 def total_clusters @total_clusters end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1332 1333 1334 1335 1336  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 1332 def update!(**args) @clusters = args[:clusters] if args.key?(:clusters) @kind = args[:kind] if args.key?(:kind) @total_clusters = args[:total_clusters] if args.key?(:total_clusters) end  |