GoogleApi.ToolResults.V1beta3.Model.SafeHtmlProto (google_api_tool_results v0.31.0) View Source

IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.

Attributes

  • privateDoNotAccessOrElseSafeHtmlWrappedValue (type: String.t, default: nil) - IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ToolResults.V1beta3.Model.SafeHtmlProto{
  privateDoNotAccessOrElseSafeHtmlWrappedValue: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.