TimeSeriesQueryBuilder
Constructor
func NewTimeSeriesQueryBuilder() *TimeSeriesQueryBuilder
Methods
Build
Builds the object.
func (builder *TimeSeriesQueryBuilder) Build() (TimeSeriesQuery, error)
GraphPeriod
To disable the graphPeriod, it should explictly be set to 'disabled'.
func (builder *TimeSeriesQueryBuilder) GraphPeriod(graphPeriod string) *TimeSeriesQueryBuilder
ProjectName
GCP project to execute the query against.
func (builder *TimeSeriesQueryBuilder) ProjectName(projectName string) *TimeSeriesQueryBuilder
Query
MQL query to be executed.
func (builder *TimeSeriesQueryBuilder) Query(query string) *TimeSeriesQueryBuilder
See also