RefValToExprValue converts between ref.Val and google.api.expr.v1alpha1.ExprValue. The result ExprValue is the serialized proto form.
(res ref.Val)
| 129 | // RefValToExprValue converts between ref.Val and google.api.expr.v1alpha1.ExprValue. |
| 130 | // The result ExprValue is the serialized proto form. |
| 131 | func RefValToExprValue(res ref.Val) (*exprpb.ExprValue, error) { |
| 132 | return ExprValueAsAlphaProto(res) |
| 133 | } |
| 134 | |
| 135 | // ExprValueAsAlphaProto converts between ref.Val and google.api.expr.v1alpha1.ExprValue. |
| 136 | // The result ExprValue is the serialized proto form. |