RefValToExprValue converts between ref.Val and google.api.expr.v1alpha1.ExprValue. The result ExprValue is the serialized proto form.
(res ref.Val)
| 177 | // RefValToExprValue converts between ref.Val and google.api.expr.v1alpha1.ExprValue. |
| 178 | // The result ExprValue is the serialized proto form. |
| 179 | func RefValToExprValue(res ref.Val) (*exprpb.ExprValue, error) { |
| 180 | return ExprValueAsAlphaProto(res) |
| 181 | } |
| 182 | |
| 183 | // ExprValueAsAlphaProto converts between ref.Val and google.api.expr.v1alpha1.ExprValue. |
| 184 | // The result ExprValue is the serialized proto form. |