google.api.expr.v1alpha1.SourceInfo
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.api.expr.v1alpha1.SourceInfo
.withLineOffsets([ 1 ])
.withLocation('string')
.withMacroCalls({ key: types.google.api.expr.v1alpha1.Expr })
.withPositions({ key: types.int32 })
.withSyntaxVersion('string')
._validate()
Nested Messages
Fields
Name |
Type |
One-of group |
Required |
Constraints |
line_offsets |
[]
int32
|
|
|
|
location |
string
|
|
|
|
macro_calls |
map[string]
google.api.expr.v1alpha1.Expr
|
|
|
|
positions |
map[string]
int32
|
|
|
|
syntax_version |
string
|
|
|
|