# Dataflow V1beta3 API - Class Google::Protobuf::Struct (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.1 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Dataflow V1beta3 API class Google::Protobuf::Struct.

`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.


<br />

The JSON representation for `Struct` is JSON object.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #fields

    def fields() -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values.

### #fields=

    def fields=(value) -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values.