Home

google.rpc.Status

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.google.rpc.Status
.withCode(1)
.withDetails([ types.google.protobuf.Any ])
.withMessage('string')
._validate()

Fields

Name Type One-of group Required Constraints
code int32  
details [] google.protobuf.Any  
message string