Class: Google::Protobuf::Struct
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Protobuf::Struct
 
 
- Defined in:
 - lib/google/cloud/spanner/v1/doc/google/protobuf/struct.rb
 
Overview
+Struct+ represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, +Struct+ might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
The JSON representation for +Struct+ is JSON object.
Instance Attribute Summary collapse
- 
  
    
      #fields  ⇒ Hash{String => Google::Protobuf::Value} 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unordered map of dynamically typed values.
 
Instance Attribute Details
#fields ⇒ Hash{String => Google::Protobuf::Value}
Returns Unordered map of dynamically typed values.
      29  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/protobuf/struct.rb', line 29 class Struct; end  |