Reference documentation and code samples for the Security Command Center V2 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.
The JSON representation for Struct is JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Security Command Center V2 API - Class Google::Protobuf::Struct (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Protobuf-Struct)\n- [1.2.0](/ruby/docs/reference/google-cloud-security_center-v2/1.2.0/Google-Protobuf-Struct)\n- [1.1.1](/ruby/docs/reference/google-cloud-security_center-v2/1.1.1/Google-Protobuf-Struct)\n- [1.0.0](/ruby/docs/reference/google-cloud-security_center-v2/1.0.0/Google-Protobuf-Struct)\n- [0.6.0](/ruby/docs/reference/google-cloud-security_center-v2/0.6.0/Google-Protobuf-Struct)\n- [0.5.0](/ruby/docs/reference/google-cloud-security_center-v2/0.5.0/Google-Protobuf-Struct)\n- [0.4.1](/ruby/docs/reference/google-cloud-security_center-v2/0.4.1/Google-Protobuf-Struct)\n- [0.3.0](/ruby/docs/reference/google-cloud-security_center-v2/0.3.0/Google-Protobuf-Struct)\n- [0.2.0](/ruby/docs/reference/google-cloud-security_center-v2/0.2.0/Google-Protobuf-Struct)\n- [0.1.0](/ruby/docs/reference/google-cloud-security_center-v2/0.1.0/Google-Protobuf-Struct) \nReference documentation and code samples for the Security Command Center V2 API class Google::Protobuf::Struct.\n\n`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\n\n\u003cbr /\u003e\n\nThe JSON representation for `Struct` is JSON object. \n\nInherits\n--------\n\n- [Object](./Google-Cloud-SecurityCenter-V2-Kubernetes-Object) \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #fields\n\n def fields() -\u003e ::Google::Protobuf::Map{::String =\u003e ::Google::Protobuf::Value}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values.\n\n### #fields=\n\n def fields=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::Google::Protobuf::Value}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Google::Protobuf::Value}) --- Unordered map of dynamically typed values."]]