meta

package
v0.14.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2025 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SaveModeUpdateDataset                                 = SaveMode("UpdateDataset")
	SaveModeUpdateDatasetAndDependenciesUnlessNewErrors   = SaveMode("UpdateDatasetAndDependenciesUnlessNewErrors")
	SaveModeUpdateDatasetAndDependenciesIgnoringAllErrors = SaveMode("UpdateDatasetAndDependenciesIgnoringAllErrors")
	SaveModePreflightDataset                              = SaveMode("PreflightDataset")
	SaveModePreflightDatasetAndDependencies               = SaveMode("PreflightDatasetAndDependencies")
)
View Source
const (
	ErrNotFound = "NOT_FOUND"
)

Variables

AllBookmarkKindTypes This list is incomplete and will be filled in as we support more types of bookmarks in the terraform provider

Functions

func ChannelActionOid

func ChannelActionOid(c ChannelAction) *oid.OID

func HasErrorCode added in v0.14.12

func HasErrorCode(err error, code string) bool

func MonitorActionAttachmentOid

func MonitorActionAttachmentOid(c MonitorActionAttachment) *oid.OID

func MonitorActionOid

func MonitorActionOid(c MonitorAction) *oid.OID

Types

type AccelerationDisabledSource added in v0.14.21

type AccelerationDisabledSource string
const (
	AccelerationDisabledSourceEmpty   AccelerationDisabledSource = "Empty"
	AccelerationDisabledSourceMonitor AccelerationDisabledSource = "Monitor"
	AccelerationDisabledSourceView    AccelerationDisabledSource = "View"
)

type ActionInput

type ActionInput struct {
	Name             *string               `json:"name"`
	IconUrl          *string               `json:"iconUrl"`
	Description      *string               `json:"description"`
	RateLimit        *types.DurationScalar `json:"rateLimit"`
	NotifyOnClose    *bool                 `json:"notifyOnClose"`
	NotifyOnReminder *bool                 `json:"notifyOnReminder"`
	IsPrivate        *bool                 `json:"isPrivate"`
	Email            *EmailActionInput     `json:"email"`
	Webhook          *WebhookActionInput   `json:"webhook"`
}

func (*ActionInput) GetDescription

func (v *ActionInput) GetDescription() *string

GetDescription returns ActionInput.Description, and is useful for accessing the field via an interface.

func (*ActionInput) GetEmail

func (v *ActionInput) GetEmail() *EmailActionInput

GetEmail returns ActionInput.Email, and is useful for accessing the field via an interface.

func (*ActionInput) GetIconUrl

func (v *ActionInput) GetIconUrl() *string

GetIconUrl returns ActionInput.IconUrl, and is useful for accessing the field via an interface.

func (*ActionInput) GetIsPrivate

func (v *ActionInput) GetIsPrivate() *bool

GetIsPrivate returns ActionInput.IsPrivate, and is useful for accessing the field via an interface.

func (*ActionInput) GetName

func (v *ActionInput) GetName() *string

GetName returns ActionInput.Name, and is useful for accessing the field via an interface.

func (*ActionInput) GetNotifyOnClose

func (v *ActionInput) GetNotifyOnClose() *bool

GetNotifyOnClose returns ActionInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ActionInput) GetNotifyOnReminder

func (v *ActionInput) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns ActionInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*ActionInput) GetRateLimit

func (v *ActionInput) GetRateLimit() *types.DurationScalar

GetRateLimit returns ActionInput.RateLimit, and is useful for accessing the field via an interface.

func (*ActionInput) GetWebhook

func (v *ActionInput) GetWebhook() *WebhookActionInput

GetWebhook returns ActionInput.Webhook, and is useful for accessing the field via an interface.

type ActionRelationInput added in v0.14.15

type ActionRelationInput struct {
	ActionRule MonitorV2ActionRuleInput `json:"actionRule"`
}

ActionRelationInput maps the action's relationship to the destinations the user desires to link with.

func (*ActionRelationInput) GetActionRule added in v0.14.15

func (v *ActionRelationInput) GetActionRule() MonitorV2ActionRuleInput

GetActionRule returns ActionRelationInput.ActionRule, and is useful for accessing the field via an interface.

type AggregateFunction

type AggregateFunction string
const (
	// On Average
	AggregateFunctionAvg AggregateFunction = "Avg"
	// In Total
	AggregateFunctionSum AggregateFunction = "Sum"
	// At All Times (unintuitive but true!)
	AggregateFunctionMin AggregateFunction = "Min"
	// At Least Once (unintuitive but true!)
	AggregateFunctionMax AggregateFunction = "Max"
)

type AggregationMode added in v0.14.7

type AggregationMode string
const (
	// Run the query without sampling.
	AggregationModePrecise AggregationMode = "Precise"
	// Run the query with sampled aggregation enabled. The result is not
	// guaranteed to be sampled.
	AggregationModeSampled AggregationMode = "Sampled"
)

type App

type App struct {
	Id          string            `json:"id"`
	Name        string            `json:"name"`
	IconUrl     *string           `json:"iconUrl"`
	Description *string           `json:"description"`
	WorkspaceId string            `json:"workspaceId"`
	FolderId    string            `json:"folderId"`
	Config      AppConfig         `json:"config"`
	Status      AppStatus         `json:"status"`
	Outputs     *types.JsonObject `json:"outputs"`
}

App includes the GraphQL fields of App requested by the fragment App. The GraphQL type's documentation follows.

App represents an installed instance of an AppModule

func (*App) GetConfig

func (v *App) GetConfig() AppConfig

GetConfig returns App.Config, and is useful for accessing the field via an interface.

func (*App) GetDescription

func (v *App) GetDescription() *string

GetDescription returns App.Description, and is useful for accessing the field via an interface.

func (*App) GetFolderId

func (v *App) GetFolderId() string

GetFolderId returns App.FolderId, and is useful for accessing the field via an interface.

func (*App) GetIconUrl

func (v *App) GetIconUrl() *string

GetIconUrl returns App.IconUrl, and is useful for accessing the field via an interface.

func (*App) GetId

func (v *App) GetId() string

GetId returns App.Id, and is useful for accessing the field via an interface.

func (*App) GetName

func (v *App) GetName() string

GetName returns App.Name, and is useful for accessing the field via an interface.

func (*App) GetOutputs

func (v *App) GetOutputs() *types.JsonObject

GetOutputs returns App.Outputs, and is useful for accessing the field via an interface.

func (*App) GetStatus

func (v *App) GetStatus() AppStatus

GetStatus returns App.Status, and is useful for accessing the field via an interface.

func (*App) GetWorkspaceId

func (v *App) GetWorkspaceId() string

GetWorkspaceId returns App.WorkspaceId, and is useful for accessing the field via an interface.

func (*App) Oid

func (a *App) Oid() *oid.OID

type AppConfig

type AppConfig struct {
	ModuleId string `json:"moduleId"`
	Version  string `json:"version"`
}

AppConfig includes the requested fields of the GraphQL type AppConfig.

func (*AppConfig) GetModuleId

func (v *AppConfig) GetModuleId() string

GetModuleId returns AppConfig.ModuleId, and is useful for accessing the field via an interface.

func (*AppConfig) GetVersion

func (v *AppConfig) GetVersion() string

GetVersion returns AppConfig.Version, and is useful for accessing the field via an interface.

type AppDataSource

type AppDataSource struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	IconUrl      *string `json:"iconUrl"`
	Description  *string `json:"description"`
	WorkspaceId  string  `json:"workspaceId"`
	ManagedById  *string `json:"managedById"`
	SourceUrl    string  `json:"sourceUrl"`
	Instructions string  `json:"instructions"`
}

AppDataSource includes the GraphQL fields of AppDataSource requested by the fragment AppDataSource.

func (*AppDataSource) GetDescription

func (v *AppDataSource) GetDescription() *string

GetDescription returns AppDataSource.Description, and is useful for accessing the field via an interface.

func (*AppDataSource) GetIconUrl

func (v *AppDataSource) GetIconUrl() *string

GetIconUrl returns AppDataSource.IconUrl, and is useful for accessing the field via an interface.

func (*AppDataSource) GetId

func (v *AppDataSource) GetId() string

GetId returns AppDataSource.Id, and is useful for accessing the field via an interface.

func (*AppDataSource) GetInstructions

func (v *AppDataSource) GetInstructions() string

GetInstructions returns AppDataSource.Instructions, and is useful for accessing the field via an interface.

func (*AppDataSource) GetManagedById

func (v *AppDataSource) GetManagedById() *string

GetManagedById returns AppDataSource.ManagedById, and is useful for accessing the field via an interface.

func (*AppDataSource) GetName

func (v *AppDataSource) GetName() string

GetName returns AppDataSource.Name, and is useful for accessing the field via an interface.

func (*AppDataSource) GetSourceUrl

func (v *AppDataSource) GetSourceUrl() string

GetSourceUrl returns AppDataSource.SourceUrl, and is useful for accessing the field via an interface.

func (*AppDataSource) GetWorkspaceId

func (v *AppDataSource) GetWorkspaceId() string

GetWorkspaceId returns AppDataSource.WorkspaceId, and is useful for accessing the field via an interface.

func (*AppDataSource) Oid

func (a *AppDataSource) Oid() *oid.OID

type AppDataSourceInput

type AppDataSourceInput struct {
	Name         string             `json:"name"`
	Description  *string            `json:"description"`
	SourceUrl    string             `json:"sourceUrl"`
	Variables    []AppVariableInput `json:"variables"`
	Instructions string             `json:"instructions"`
	AppId        string             `json:"appId"`
}

func (*AppDataSourceInput) GetAppId

func (v *AppDataSourceInput) GetAppId() string

GetAppId returns AppDataSourceInput.AppId, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetDescription

func (v *AppDataSourceInput) GetDescription() *string

GetDescription returns AppDataSourceInput.Description, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetInstructions

func (v *AppDataSourceInput) GetInstructions() string

GetInstructions returns AppDataSourceInput.Instructions, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetName

func (v *AppDataSourceInput) GetName() string

GetName returns AppDataSourceInput.Name, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetSourceUrl

func (v *AppDataSourceInput) GetSourceUrl() string

GetSourceUrl returns AppDataSourceInput.SourceUrl, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetVariables

func (v *AppDataSourceInput) GetVariables() []AppVariableInput

GetVariables returns AppDataSourceInput.Variables, and is useful for accessing the field via an interface.

type AppInput

type AppInput struct {
	ModuleId  string             `json:"moduleId"`
	Version   string             `json:"version"`
	Variables []AppVariableInput `json:"variables"`
	FolderId  *string            `json:"folderId"`
}

func (*AppInput) GetFolderId

func (v *AppInput) GetFolderId() *string

GetFolderId returns AppInput.FolderId, and is useful for accessing the field via an interface.

func (*AppInput) GetModuleId

func (v *AppInput) GetModuleId() string

GetModuleId returns AppInput.ModuleId, and is useful for accessing the field via an interface.

func (*AppInput) GetVariables

func (v *AppInput) GetVariables() []AppVariableInput

GetVariables returns AppInput.Variables, and is useful for accessing the field via an interface.

func (*AppInput) GetVersion

func (v *AppInput) GetVersion() string

GetVersion returns AppInput.Version, and is useful for accessing the field via an interface.

type AppState

type AppState string
const (
	AppStateInitializing AppState = "Initializing"
	AppStateInstalling   AppState = "Installing"
	AppStateInstalled    AppState = "Installed"
	AppStateDeleting     AppState = "Deleting"
	AppStateError        AppState = "Error"
)

type AppStatus

type AppStatus struct {
	State AppState `json:"state"`
	// The detailed internal error message if an app is in Error state. Not suitable for external user consumption.
	InternalError *string `json:"internalError"`
}

AppStatus includes the requested fields of the GraphQL type AppStatus.

func (*AppStatus) GetInternalError

func (v *AppStatus) GetInternalError() *string

GetInternalError returns AppStatus.InternalError, and is useful for accessing the field via an interface.

func (*AppStatus) GetState

func (v *AppStatus) GetState() AppState

GetState returns AppStatus.State, and is useful for accessing the field via an interface.

type AppVariableInput

type AppVariableInput struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*AppVariableInput) GetName

func (v *AppVariableInput) GetName() string

GetName returns AppVariableInput.Name, and is useful for accessing the field via an interface.

func (*AppVariableInput) GetValue

func (v *AppVariableInput) GetValue() string

GetValue returns AppVariableInput.Value, and is useful for accessing the field via an interface.

type Board

type Board struct {
	Id        string           `json:"id"`
	DatasetId string           `json:"datasetId"`
	Name      *string          `json:"name"`
	Type      BoardType        `json:"type"`
	BoardJson types.JsonObject `json:"boardJson"`
	Source    *string          `json:"source"`
}

Board includes the GraphQL fields of Board requested by the fragment Board.

func (*Board) GetBoardJson

func (v *Board) GetBoardJson() types.JsonObject

GetBoardJson returns Board.BoardJson, and is useful for accessing the field via an interface.

func (*Board) GetDatasetId

func (v *Board) GetDatasetId() string

GetDatasetId returns Board.DatasetId, and is useful for accessing the field via an interface.

func (*Board) GetId

func (v *Board) GetId() string

GetId returns Board.Id, and is useful for accessing the field via an interface.

func (*Board) GetName

func (v *Board) GetName() *string

GetName returns Board.Name, and is useful for accessing the field via an interface.

func (*Board) GetSource

func (v *Board) GetSource() *string

GetSource returns Board.Source, and is useful for accessing the field via an interface.

func (*Board) GetType

func (v *Board) GetType() BoardType

GetType returns Board.Type, and is useful for accessing the field via an interface.

func (*Board) Oid

func (b *Board) Oid() *oid.OID

type BoardInput

type BoardInput struct {
	Name      *string           `json:"name"`
	IsDefault *bool             `json:"isDefault"`
	Board     *types.JsonObject `json:"board"`
	Source    *string           `json:"source"`
}

func (*BoardInput) GetBoard

func (v *BoardInput) GetBoard() *types.JsonObject

GetBoard returns BoardInput.Board, and is useful for accessing the field via an interface.

func (*BoardInput) GetIsDefault

func (v *BoardInput) GetIsDefault() *bool

GetIsDefault returns BoardInput.IsDefault, and is useful for accessing the field via an interface.

func (*BoardInput) GetName

func (v *BoardInput) GetName() *string

GetName returns BoardInput.Name, and is useful for accessing the field via an interface.

func (*BoardInput) GetSource

func (v *BoardInput) GetSource() *string

GetSource returns BoardInput.Source, and is useful for accessing the field via an interface.

type BoardType

type BoardType string
const (
	BoardTypeSet       BoardType = "Set"
	BoardTypeSingleton BoardType = "Singleton"
)

type Bookmark

type Bookmark struct {
	Id           string       `json:"id"`
	Name         string       `json:"name"`
	IconUrl      string       `json:"iconUrl"`
	TargetId     string       `json:"targetId"`
	TargetIdKind ObjectKind   `json:"targetIdKind"`
	GroupId      string       `json:"groupId"`
	BookmarkKind BookmarkKind `json:"bookmarkKind"`
}

Bookmark includes the GraphQL fields of Bookmark requested by the fragment Bookmark.

func (*Bookmark) GetBookmarkKind added in v0.13.16

func (v *Bookmark) GetBookmarkKind() BookmarkKind

GetBookmarkKind returns Bookmark.BookmarkKind, and is useful for accessing the field via an interface.

func (*Bookmark) GetGroupId

func (v *Bookmark) GetGroupId() string

GetGroupId returns Bookmark.GroupId, and is useful for accessing the field via an interface.

func (*Bookmark) GetIconUrl

func (v *Bookmark) GetIconUrl() string

GetIconUrl returns Bookmark.IconUrl, and is useful for accessing the field via an interface.

func (*Bookmark) GetId

func (v *Bookmark) GetId() string

GetId returns Bookmark.Id, and is useful for accessing the field via an interface.

func (*Bookmark) GetName

func (v *Bookmark) GetName() string

GetName returns Bookmark.Name, and is useful for accessing the field via an interface.

func (*Bookmark) GetTargetId

func (v *Bookmark) GetTargetId() string

GetTargetId returns Bookmark.TargetId, and is useful for accessing the field via an interface.

func (*Bookmark) GetTargetIdKind

func (v *Bookmark) GetTargetIdKind() ObjectKind

GetTargetIdKind returns Bookmark.TargetIdKind, and is useful for accessing the field via an interface.

func (*Bookmark) Oid

func (b *Bookmark) Oid() *oid.OID

type BookmarkGroup

type BookmarkGroup struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	IconUrl     string `json:"iconUrl"`
	WorkspaceId string `json:"workspaceId"`
	IsHome      bool   `json:"isHome"`
}

BookmarkGroup includes the GraphQL fields of BookmarkGroup requested by the fragment BookmarkGroup.

func (*BookmarkGroup) GetDescription

func (v *BookmarkGroup) GetDescription() string

GetDescription returns BookmarkGroup.Description, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetIconUrl

func (v *BookmarkGroup) GetIconUrl() string

GetIconUrl returns BookmarkGroup.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetId

func (v *BookmarkGroup) GetId() string

GetId returns BookmarkGroup.Id, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetIsHome added in v0.14.18

func (v *BookmarkGroup) GetIsHome() bool

GetIsHome returns BookmarkGroup.IsHome, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetName

func (v *BookmarkGroup) GetName() string

GetName returns BookmarkGroup.Name, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetWorkspaceId

func (v *BookmarkGroup) GetWorkspaceId() string

GetWorkspaceId returns BookmarkGroup.WorkspaceId, and is useful for accessing the field via an interface.

func (*BookmarkGroup) Oid

func (b *BookmarkGroup) Oid() *oid.OID

type BookmarkGroupInput

type BookmarkGroupInput struct {
	Name         *string                    `json:"name"`
	Description  *string                    `json:"description"`
	IsHome       *bool                      `json:"isHome"`
	IconUrl      *string                    `json:"iconUrl"`
	WorkspaceId  *string                    `json:"workspaceId"`
	Presentation *BookmarkGroupPresentation `json:"presentation"`
	ManagedById  *string                    `json:"managedById"`
}

func (*BookmarkGroupInput) GetDescription

func (v *BookmarkGroupInput) GetDescription() *string

GetDescription returns BookmarkGroupInput.Description, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetIconUrl

func (v *BookmarkGroupInput) GetIconUrl() *string

GetIconUrl returns BookmarkGroupInput.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetIsHome

func (v *BookmarkGroupInput) GetIsHome() *bool

GetIsHome returns BookmarkGroupInput.IsHome, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetManagedById

func (v *BookmarkGroupInput) GetManagedById() *string

GetManagedById returns BookmarkGroupInput.ManagedById, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetName

func (v *BookmarkGroupInput) GetName() *string

GetName returns BookmarkGroupInput.Name, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetPresentation

func (v *BookmarkGroupInput) GetPresentation() *BookmarkGroupPresentation

GetPresentation returns BookmarkGroupInput.Presentation, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetWorkspaceId

func (v *BookmarkGroupInput) GetWorkspaceId() *string

GetWorkspaceId returns BookmarkGroupInput.WorkspaceId, and is useful for accessing the field via an interface.

type BookmarkGroupPresentation

type BookmarkGroupPresentation string
const (
	BookmarkGroupPresentationPercustomerworkspace BookmarkGroupPresentation = "PerCustomerWorkspace"
	BookmarkGroupPresentationPeruserworkspace     BookmarkGroupPresentation = "PerUserWorkspace"
	BookmarkGroupPresentationPeruser              BookmarkGroupPresentation = "PerUser"
	BookmarkGroupPresentationHidden               BookmarkGroupPresentation = "Hidden"
)

type BookmarkInput

type BookmarkInput struct {
	Name             *string          `json:"name"`
	Description      *string          `json:"description"`
	IconUrl          *string          `json:"iconUrl"`
	UrlStateId       *string          `json:"urlStateId"`
	TargetId         *string          `json:"targetId"`
	TargetResourceId *ResourceIdInput `json:"targetResourceId"`
	GroupId          *string          `json:"groupId"`
	ManagedById      *string          `json:"managedById"`
	WorkspaceId      *string          `json:"workspaceId"`
	BookmarkKind     *BookmarkKind    `json:"bookmarkKind"`
}

Bookmarks have their own identity, but they don't have "last changed by" or "created by" timestamps / user auditing, as they are more lightweight.

func (*BookmarkInput) GetBookmarkKind

func (v *BookmarkInput) GetBookmarkKind() *BookmarkKind

GetBookmarkKind returns BookmarkInput.BookmarkKind, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetDescription

func (v *BookmarkInput) GetDescription() *string

GetDescription returns BookmarkInput.Description, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetGroupId

func (v *BookmarkInput) GetGroupId() *string

GetGroupId returns BookmarkInput.GroupId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetIconUrl

func (v *BookmarkInput) GetIconUrl() *string

GetIconUrl returns BookmarkInput.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetManagedById

func (v *BookmarkInput) GetManagedById() *string

GetManagedById returns BookmarkInput.ManagedById, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetName

func (v *BookmarkInput) GetName() *string

GetName returns BookmarkInput.Name, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetTargetId

func (v *BookmarkInput) GetTargetId() *string

GetTargetId returns BookmarkInput.TargetId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetTargetResourceId

func (v *BookmarkInput) GetTargetResourceId() *ResourceIdInput

GetTargetResourceId returns BookmarkInput.TargetResourceId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetUrlStateId

func (v *BookmarkInput) GetUrlStateId() *string

GetUrlStateId returns BookmarkInput.UrlStateId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetWorkspaceId

func (v *BookmarkInput) GetWorkspaceId() *string

GetWorkspaceId returns BookmarkInput.WorkspaceId, and is useful for accessing the field via an interface.

type BookmarkKind

type BookmarkKind string
const (
	BookmarkKindDataset          BookmarkKind = "Dataset"
	BookmarkKindWorksheet        BookmarkKind = "Worksheet"
	BookmarkKindBookmarkgroup    BookmarkKind = "BookmarkGroup"
	BookmarkKindMonitor          BookmarkKind = "Monitor"
	BookmarkKindResource         BookmarkKind = "Resource"
	BookmarkKindDashboard        BookmarkKind = "Dashboard"
	BookmarkKindLogexplorer      BookmarkKind = "LogExplorer"
	BookmarkKindMetricexplorer   BookmarkKind = "MetricExplorer"
	BookmarkKindResourceexplorer BookmarkKind = "ResourceExplorer"
	BookmarkKindTraceexplorer    BookmarkKind = "TraceExplorer"
	BookmarkKindAlertexplorer    BookmarkKind = "AlertExplorer"
	BookmarkKindServiceexplorer  BookmarkKind = "ServiceExplorer"
)

type ChangeType

type ChangeType string
const (
	ChangeTypeAbsolute ChangeType = "Absolute"
	ChangeTypeRelative ChangeType = "Relative"
)

type Channel

type Channel struct {
	Id          string                   `json:"id"`
	Name        string                   `json:"name"`
	IconUrl     string                   `json:"iconUrl"`
	Description string                   `json:"description"`
	WorkspaceId string                   `json:"workspaceId"`
	Monitors    []ChannelMonitorsMonitor `json:"monitors"`
}

Channel includes the GraphQL fields of Channel requested by the fragment Channel.

func (*Channel) GetDescription

func (v *Channel) GetDescription() string

GetDescription returns Channel.Description, and is useful for accessing the field via an interface.

func (*Channel) GetIconUrl

func (v *Channel) GetIconUrl() string

GetIconUrl returns Channel.IconUrl, and is useful for accessing the field via an interface.

func (*Channel) GetId

func (v *Channel) GetId() string

GetId returns Channel.Id, and is useful for accessing the field via an interface.

func (*Channel) GetMonitors

func (v *Channel) GetMonitors() []ChannelMonitorsMonitor

GetMonitors returns Channel.Monitors, and is useful for accessing the field via an interface.

func (*Channel) GetName

func (v *Channel) GetName() string

GetName returns Channel.Name, and is useful for accessing the field via an interface.

func (*Channel) GetWorkspaceId

func (v *Channel) GetWorkspaceId() string

GetWorkspaceId returns Channel.WorkspaceId, and is useful for accessing the field via an interface.

func (*Channel) Oid

func (c *Channel) Oid() *oid.OID

type ChannelAction

type ChannelAction interface {

	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// GetIconUrl returns the interface-field "iconUrl" from its implementation.
	GetIconUrl() string
	// GetDescription returns the interface-field "description" from its implementation.
	GetDescription() string
	// GetNotifyOnClose returns the interface-field "notifyOnClose" from its implementation.
	GetNotifyOnClose() bool
	// GetWorkspaceId returns the interface-field "workspaceId" from its implementation.
	GetWorkspaceId() string
	// GetChannels returns the interface-field "channels" from its implementation.
	GetChannels() []ChannelActionChannelsChannel
	// GetRateLimit returns the interface-field "rateLimit" from its implementation.
	GetRateLimit() types.DurationScalar
	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ChannelAction includes the GraphQL fields of ChannelAction requested by the fragment ChannelAction.

ChannelAction is implemented by the following types: ChannelActionEmailAction ChannelActionWebhookAction ChannelActionUnknownAction

type ChannelActionChannelsChannel

type ChannelActionChannelsChannel struct {
	Id string `json:"id"`
}

ChannelActionChannelsChannel includes the requested fields of the GraphQL type Channel.

func (*ChannelActionChannelsChannel) GetId

GetId returns ChannelActionChannelsChannel.Id, and is useful for accessing the field via an interface.

type ChannelActionEmailAction

type ChannelActionEmailAction struct {
	Id              string                         `json:"id"`
	Name            string                         `json:"name"`
	IconUrl         string                         `json:"iconUrl"`
	Description     string                         `json:"description"`
	NotifyOnClose   bool                           `json:"notifyOnClose"`
	WorkspaceId     string                         `json:"workspaceId"`
	Channels        []ChannelActionChannelsChannel `json:"channels"`
	RateLimit       types.DurationScalar           `json:"rateLimit"`
	Typename        *string                        `json:"__typename"`
	TargetAddresses []string                       `json:"targetAddresses"`
	SubjectTemplate string                         `json:"subjectTemplate"`
	BodyTemplate    string                         `json:"bodyTemplate"`
	IsHtml          bool                           `json:"isHtml"`
}

ChannelAction includes the GraphQL fields of EmailAction requested by the fragment ChannelAction.

func (*ChannelActionEmailAction) GetBodyTemplate

func (v *ChannelActionEmailAction) GetBodyTemplate() string

GetBodyTemplate returns ChannelActionEmailAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetChannels

GetChannels returns ChannelActionEmailAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetDescription

func (v *ChannelActionEmailAction) GetDescription() string

GetDescription returns ChannelActionEmailAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetIconUrl

func (v *ChannelActionEmailAction) GetIconUrl() string

GetIconUrl returns ChannelActionEmailAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetId

func (v *ChannelActionEmailAction) GetId() string

GetId returns ChannelActionEmailAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetIsHtml

func (v *ChannelActionEmailAction) GetIsHtml() bool

GetIsHtml returns ChannelActionEmailAction.IsHtml, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetName

func (v *ChannelActionEmailAction) GetName() string

GetName returns ChannelActionEmailAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetNotifyOnClose

func (v *ChannelActionEmailAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionEmailAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetRateLimit

func (v *ChannelActionEmailAction) GetRateLimit() types.DurationScalar

GetRateLimit returns ChannelActionEmailAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetSubjectTemplate

func (v *ChannelActionEmailAction) GetSubjectTemplate() string

GetSubjectTemplate returns ChannelActionEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetTargetAddresses

func (v *ChannelActionEmailAction) GetTargetAddresses() []string

GetTargetAddresses returns ChannelActionEmailAction.TargetAddresses, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetTypename

func (v *ChannelActionEmailAction) GetTypename() *string

GetTypename returns ChannelActionEmailAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetWorkspaceId

func (v *ChannelActionEmailAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionEmailAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelActionHeadersWebhookHeader

type ChannelActionHeadersWebhookHeader struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

ChannelActionHeadersWebhookHeader includes the requested fields of the GraphQL type WebhookHeader.

func (*ChannelActionHeadersWebhookHeader) GetHeader

GetHeader returns ChannelActionHeadersWebhookHeader.Header, and is useful for accessing the field via an interface.

func (*ChannelActionHeadersWebhookHeader) GetValueTemplate

func (v *ChannelActionHeadersWebhookHeader) GetValueTemplate() string

GetValueTemplate returns ChannelActionHeadersWebhookHeader.ValueTemplate, and is useful for accessing the field via an interface.

type ChannelActionUnknownAction

type ChannelActionUnknownAction struct {
	Id            string                         `json:"id"`
	Name          string                         `json:"name"`
	IconUrl       string                         `json:"iconUrl"`
	Description   string                         `json:"description"`
	NotifyOnClose bool                           `json:"notifyOnClose"`
	WorkspaceId   string                         `json:"workspaceId"`
	Channels      []ChannelActionChannelsChannel `json:"channels"`
	RateLimit     types.DurationScalar           `json:"rateLimit"`
	Typename      *string                        `json:"__typename"`
}

ChannelAction includes the GraphQL fields of UnknownAction requested by the fragment ChannelAction.

func (*ChannelActionUnknownAction) GetChannels

GetChannels returns ChannelActionUnknownAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetDescription

func (v *ChannelActionUnknownAction) GetDescription() string

GetDescription returns ChannelActionUnknownAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetIconUrl

func (v *ChannelActionUnknownAction) GetIconUrl() string

GetIconUrl returns ChannelActionUnknownAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetId

GetId returns ChannelActionUnknownAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetName

func (v *ChannelActionUnknownAction) GetName() string

GetName returns ChannelActionUnknownAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetNotifyOnClose

func (v *ChannelActionUnknownAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionUnknownAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetRateLimit

GetRateLimit returns ChannelActionUnknownAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetTypename

func (v *ChannelActionUnknownAction) GetTypename() *string

GetTypename returns ChannelActionUnknownAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetWorkspaceId

func (v *ChannelActionUnknownAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionUnknownAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelActionWebhookAction

type ChannelActionWebhookAction struct {
	Id            string                              `json:"id"`
	Name          string                              `json:"name"`
	IconUrl       string                              `json:"iconUrl"`
	Description   string                              `json:"description"`
	NotifyOnClose bool                                `json:"notifyOnClose"`
	WorkspaceId   string                              `json:"workspaceId"`
	Channels      []ChannelActionChannelsChannel      `json:"channels"`
	RateLimit     types.DurationScalar                `json:"rateLimit"`
	Typename      *string                             `json:"__typename"`
	UrlTemplate   string                              `json:"urlTemplate"`
	BodyTemplate  string                              `json:"bodyTemplate"`
	Method        string                              `json:"method"`
	Headers       []ChannelActionHeadersWebhookHeader `json:"headers"`
}

ChannelAction includes the GraphQL fields of WebhookAction requested by the fragment ChannelAction.

func (*ChannelActionWebhookAction) GetBodyTemplate

func (v *ChannelActionWebhookAction) GetBodyTemplate() string

GetBodyTemplate returns ChannelActionWebhookAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetChannels

GetChannels returns ChannelActionWebhookAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetDescription

func (v *ChannelActionWebhookAction) GetDescription() string

GetDescription returns ChannelActionWebhookAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetHeaders

GetHeaders returns ChannelActionWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetIconUrl

func (v *ChannelActionWebhookAction) GetIconUrl() string

GetIconUrl returns ChannelActionWebhookAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetId

GetId returns ChannelActionWebhookAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetMethod

func (v *ChannelActionWebhookAction) GetMethod() string

GetMethod returns ChannelActionWebhookAction.Method, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetName

func (v *ChannelActionWebhookAction) GetName() string

GetName returns ChannelActionWebhookAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetNotifyOnClose

func (v *ChannelActionWebhookAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionWebhookAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetRateLimit

GetRateLimit returns ChannelActionWebhookAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetTypename

func (v *ChannelActionWebhookAction) GetTypename() *string

GetTypename returns ChannelActionWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetUrlTemplate

func (v *ChannelActionWebhookAction) GetUrlTemplate() string

GetUrlTemplate returns ChannelActionWebhookAction.UrlTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetWorkspaceId

func (v *ChannelActionWebhookAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionWebhookAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelInput

type ChannelInput struct {
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
}

func (*ChannelInput) GetDescription

func (v *ChannelInput) GetDescription() *string

GetDescription returns ChannelInput.Description, and is useful for accessing the field via an interface.

func (*ChannelInput) GetIconUrl

func (v *ChannelInput) GetIconUrl() *string

GetIconUrl returns ChannelInput.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelInput) GetName

func (v *ChannelInput) GetName() *string

GetName returns ChannelInput.Name, and is useful for accessing the field via an interface.

type ChannelMonitorsMonitor

type ChannelMonitorsMonitor struct {
	Id string `json:"id"`
}

ChannelMonitorsMonitor includes the requested fields of the GraphQL type Monitor.

func (*ChannelMonitorsMonitor) GetId

func (v *ChannelMonitorsMonitor) GetId() string

GetId returns ChannelMonitorsMonitor.Id, and is useful for accessing the field via an interface.

type Client

type Client struct {
	Gql graphql.Client
	*http.Client
	// contains filtered or unexported fields
}

Client implements our customer GQL API

func New

func New(endpoint string, client *http.Client) (*Client, error)

New returns client to customer API

func (*Client) ClearDefaultDashboard

func (client *Client) ClearDefaultDashboard(ctx context.Context, id string) error

func (*Client) CreateApp

func (client *Client) CreateApp(ctx context.Context, workspaceId string, input *AppInput) (*App, error)

func (*Client) CreateAppDataSource

func (client *Client) CreateAppDataSource(ctx context.Context, input *AppDataSourceInput) (*AppDataSource, error)

func (*Client) CreateBoard

func (client *Client) CreateBoard(ctx context.Context, datasetId string, boardType BoardType, config *BoardInput) (*Board, error)

func (*Client) CreateChannel

func (client *Client) CreateChannel(ctx context.Context, workspaceId string, input *ChannelInput) (*Channel, error)

func (*Client) CreateChannelAction

func (client *Client) CreateChannelAction(ctx context.Context, workspaceId string, input *ActionInput) (*ChannelAction, error)

func (*Client) CreateCorrelationTag added in v0.14.10

func (client *Client) CreateCorrelationTag(ctx context.Context, dataset, tag string, path LinkFieldInput) error
func (client *Client) CreateDashboardLink(ctx context.Context, input DashboardLinkInput) (*DashboardLink, error)

func (*Client) CreateDatasetOutboundShare added in v0.14.1

func (client *Client) CreateDatasetOutboundShare(ctx context.Context, workspaceId string, datasetId string, outboundShareId string, input *DatasetOutboundShareInput) (*DatasetOutboundShare, error)

func (*Client) CreateDatastream

func (client *Client) CreateDatastream(ctx context.Context, workspaceId string, input *DatastreamInput) (*Datastream, error)

func (*Client) CreateDatastreamToken

func (client *Client) CreateDatastreamToken(ctx context.Context, workspaceId string, input *DatastreamTokenInput, password *string) (*DatastreamToken, error)

func (*Client) CreateDeferredForeignKey

func (client *Client) CreateDeferredForeignKey(ctx context.Context, workspaceId string, input *DeferredForeignKeyInput) (*DeferredForeignKey, error)

func (*Client) CreateFiledrop added in v0.13.15

func (client *Client) CreateFiledrop(ctx context.Context, workspaceId string, datastreamId string, input *FiledropInput) (*Filedrop, error)

func (*Client) CreateFolder

func (client *Client) CreateFolder(ctx context.Context, workspaceId string, input *FolderInput) (*Folder, error)

func (*Client) CreateIngestFilter added in v0.14.35

func (c *Client) CreateIngestFilter(ctx context.Context, workspace string, input *IngestFilterInput) (*IngestFilter, error)

func (*Client) CreateIngestToken added in v0.14.37

func (c *Client) CreateIngestToken(
	ctx context.Context,
	workspace string,
	input IngestTokenInput,
) (*IngestToken, error)

func (*Client) CreateLayeredSettingRecord

func (client *Client) CreateLayeredSettingRecord(ctx context.Context, config *LayeredSettingRecordInput) (*LayeredSettingRecord, error)

func (*Client) CreateMonitor

func (client *Client) CreateMonitor(ctx context.Context, workspaceId string, input *MonitorInput) (*Monitor, error)

func (*Client) CreateMonitorAction

func (client *Client) CreateMonitorAction(ctx context.Context, input *MonitorActionInput) (*MonitorAction, error)

func (*Client) CreateMonitorActionAttachment

func (client *Client) CreateMonitorActionAttachment(ctx context.Context, input *MonitorActionAttachmentInput) (*MonitorActionAttachment, error)

func (*Client) CreateMonitorV2 added in v0.14.14

func (client *Client) CreateMonitorV2(ctx context.Context, workspaceId string, input *MonitorV2Input) (*MonitorV2, error)

func (*Client) CreateMonitorV2Action added in v0.14.14

func (client *Client) CreateMonitorV2Action(ctx context.Context, workspaceId string, input *MonitorV2ActionInput) (*MonitorV2Action, error)

func (*Client) CreateOrUpdateBookmark

func (client *Client) CreateOrUpdateBookmark(ctx context.Context, id *string, input *BookmarkInput) (*Bookmark, error)

func (*Client) CreateOrUpdateBookmarkGroup

func (client *Client) CreateOrUpdateBookmarkGroup(ctx context.Context, id *string, input *BookmarkGroupInput) (*BookmarkGroup, error)

func (*Client) CreatePoller

func (client *Client) CreatePoller(ctx context.Context, workspaceId string, input *PollerInput) (*Poller, error)

func (*Client) CreatePreferredPath

func (client *Client) CreatePreferredPath(ctx context.Context, workspaceId string, input *PreferredPathInput) (*PreferredPathWithStatus, error)

func (*Client) CreateRbacGroup

func (client *Client) CreateRbacGroup(ctx context.Context, input *RbacGroupInput) (*RbacGroup, error)

func (*Client) CreateRbacGroupmember

func (client *Client) CreateRbacGroupmember(ctx context.Context, input *RbacGroupmemberInput) (*RbacGroupmember, error)

func (*Client) CreateRbacStatement

func (client *Client) CreateRbacStatement(ctx context.Context, input *RbacStatementInput) (*RbacStatement, error)

func (*Client) CreateSnowflakeOutboundShare added in v0.14.1

func (client *Client) CreateSnowflakeOutboundShare(ctx context.Context, workspaceId string, input *SnowflakeOutboundShareInput) (*SnowflakeOutboundShare, error)

func (*Client) CreateWorkspace

func (client *Client) CreateWorkspace(ctx context.Context, input *WorkspaceInput) (*Workspace, error)

func (*Client) DatasetQueryOutput

func (client *Client) DatasetQueryOutput(ctx context.Context, query []*StageInput, params *QueryParams) ([]*TaskResult, error)

GetDatasetQueryOutput takes a simplified form: we use StageQueryInput instead of StageInput for now

func (*Client) DeleteApp

func (client *Client) DeleteApp(ctx context.Context, id string) error

func (*Client) DeleteAppDataSource

func (client *Client) DeleteAppDataSource(ctx context.Context, id string) error

func (*Client) DeleteBoard

func (client *Client) DeleteBoard(ctx context.Context, id string) error

func (*Client) DeleteBookmark

func (client *Client) DeleteBookmark(ctx context.Context, id string) error

func (*Client) DeleteBookmarkGroup

func (client *Client) DeleteBookmarkGroup(ctx context.Context, id string) error

func (*Client) DeleteChannel

func (client *Client) DeleteChannel(ctx context.Context, id string) error

func (*Client) DeleteChannelAction

func (client *Client) DeleteChannelAction(ctx context.Context, id string) error

func (*Client) DeleteCorrelationTag added in v0.14.10

func (client *Client) DeleteCorrelationTag(ctx context.Context, dataset, tag string, path LinkFieldInput) error

func (*Client) DeleteDashboard

func (client *Client) DeleteDashboard(ctx context.Context, id string) error
func (client *Client) DeleteDashboardLink(ctx context.Context, id string) error

func (*Client) DeleteDataset

func (client *Client) DeleteDataset(ctx context.Context, id string) error

DeleteDataset deletes dataset by ID.

func (*Client) DeleteDatasetOutboundShare added in v0.14.1

func (client *Client) DeleteDatasetOutboundShare(ctx context.Context, id string) error

func (*Client) DeleteDatastream

func (client *Client) DeleteDatastream(ctx context.Context, id string) error

func (*Client) DeleteDatastreamToken

func (client *Client) DeleteDatastreamToken(ctx context.Context, id string) error

func (*Client) DeleteDeferredForeignKey

func (client *Client) DeleteDeferredForeignKey(ctx context.Context, id string) error

func (*Client) DeleteFiledrop added in v0.13.15

func (client *Client) DeleteFiledrop(ctx context.Context, id string) error

func (*Client) DeleteFolder

func (client *Client) DeleteFolder(ctx context.Context, id string) error

func (*Client) DeleteIngestFilter added in v0.14.35

func (c *Client) DeleteIngestFilter(ctx context.Context, filterId string) error

func (*Client) DeleteIngestToken added in v0.14.37

func (c *Client) DeleteIngestToken(
	ctx context.Context,
	id string,
) error

func (*Client) DeleteLayeredSettingRecord

func (client *Client) DeleteLayeredSettingRecord(ctx context.Context, id string) error

func (*Client) DeleteMonitor

func (client *Client) DeleteMonitor(ctx context.Context, id string) error

func (*Client) DeleteMonitorAction

func (client *Client) DeleteMonitorAction(ctx context.Context, id string) error

func (*Client) DeleteMonitorActionAttachment

func (client *Client) DeleteMonitorActionAttachment(ctx context.Context, id string) error

func (*Client) DeleteMonitorV2 added in v0.14.14

func (client *Client) DeleteMonitorV2(ctx context.Context, id string) error

func (*Client) DeleteMonitorV2Action added in v0.14.14

func (client *Client) DeleteMonitorV2Action(ctx context.Context, id string) error

func (*Client) DeletePoller

func (client *Client) DeletePoller(ctx context.Context, id string) error

func (*Client) DeletePreferredPath

func (client *Client) DeletePreferredPath(ctx context.Context, id string) error

func (*Client) DeleteRbacGroup

func (client *Client) DeleteRbacGroup(ctx context.Context, id string) error

func (*Client) DeleteRbacGroupmember

func (client *Client) DeleteRbacGroupmember(ctx context.Context, id string) error

func (*Client) DeleteRbacStatement

func (client *Client) DeleteRbacStatement(ctx context.Context, id string) error

func (*Client) DeleteSnowflakeOutboundShare added in v0.14.1

func (client *Client) DeleteSnowflakeOutboundShare(ctx context.Context, id string) error

func (*Client) DeleteWorksheet

func (client *Client) DeleteWorksheet(ctx context.Context, id string) error

func (*Client) DeleteWorkspace

func (client *Client) DeleteWorkspace(ctx context.Context, id string) error

func (*Client) GetApp

func (client *Client) GetApp(ctx context.Context, id string) (*App, error)

func (*Client) GetAppDataSource

func (client *Client) GetAppDataSource(ctx context.Context, id string) (*AppDataSource, error)

func (*Client) GetBoard

func (client *Client) GetBoard(ctx context.Context, id string) (*Board, error)

func (*Client) GetBookmark

func (client *Client) GetBookmark(ctx context.Context, id string) (*Bookmark, error)

func (*Client) GetBookmarkGroup

func (client *Client) GetBookmarkGroup(ctx context.Context, id string) (*BookmarkGroup, error)

func (*Client) GetChannel

func (client *Client) GetChannel(ctx context.Context, id string) (*Channel, error)

func (*Client) GetChannelAction

func (client *Client) GetChannelAction(ctx context.Context, id string) (*ChannelAction, error)

func (*Client) GetCloudInfo added in v0.14.13

func (client *Client) GetCloudInfo(ctx context.Context) (*CloudInfo, error)

func (*Client) GetCurrentUser added in v0.14.28

func (client *Client) GetCurrentUser(ctx context.Context) (*User, error)

func (*Client) GetDashboard

func (client *Client) GetDashboard(ctx context.Context, id string) (*Dashboard, error)
func (client *Client) GetDashboardLink(ctx context.Context, id string) (*DashboardLink, error)

func (*Client) GetDataset

func (client *Client) GetDataset(ctx context.Context, id string) (*Dataset, error)

GetDataset retrieves dataset.

func (*Client) GetDatasetOutboundShare added in v0.14.1

func (client *Client) GetDatasetOutboundShare(ctx context.Context, id string) (*DatasetOutboundShare, error)

func (*Client) GetDatastream

func (client *Client) GetDatastream(ctx context.Context, id string) (*Datastream, error)

func (*Client) GetDatastreamToken

func (client *Client) GetDatastreamToken(ctx context.Context, id string) (*DatastreamToken, error)

func (*Client) GetDefaultDashboard

func (client *Client) GetDefaultDashboard(ctx context.Context, id string) (*string, error)

func (*Client) GetDeferredForeignKey

func (client *Client) GetDeferredForeignKey(ctx context.Context, id string) (*DeferredForeignKey, error)

func (*Client) GetFiledrop added in v0.13.15

func (client *Client) GetFiledrop(ctx context.Context, id string) (*Filedrop, error)

func (*Client) GetFolder

func (client *Client) GetFolder(ctx context.Context, id string) (*Folder, error)

func (*Client) GetIngestFilter added in v0.14.35

func (c *Client) GetIngestFilter(ctx context.Context, filterId string) (*IngestFilter, error)

func (*Client) GetIngestInfo added in v0.14.10

func (client *Client) GetIngestInfo(ctx context.Context) (*IngestInfo, error)

func (*Client) GetIngestToken added in v0.14.37

func (c *Client) GetIngestToken(
	ctx context.Context,
	id string,
) (*IngestToken, error)

func (*Client) GetLayeredSettingRecord

func (client *Client) GetLayeredSettingRecord(ctx context.Context, id string) (*LayeredSettingRecord, error)

func (*Client) GetMonitor

func (client *Client) GetMonitor(ctx context.Context, id string) (*Monitor, error)

func (*Client) GetMonitorAction

func (client *Client) GetMonitorAction(ctx context.Context, id string) (*MonitorAction, error)

func (*Client) GetMonitorActionAttachment

func (client *Client) GetMonitorActionAttachment(ctx context.Context, id string) (*MonitorActionAttachment, error)

func (*Client) GetMonitorV2 added in v0.14.14

func (client *Client) GetMonitorV2(ctx context.Context, id string) (*MonitorV2, error)

func (*Client) GetMonitorV2Action added in v0.14.14

func (client *Client) GetMonitorV2Action(ctx context.Context, id string) (*MonitorV2Action, error)

func (*Client) GetPoller

func (client *Client) GetPoller(ctx context.Context, id string) (*Poller, error)

func (*Client) GetPreferredPath

func (client *Client) GetPreferredPath(ctx context.Context, id string) (*PreferredPathWithStatus, error)

func (*Client) GetRbacDefaultGroup

func (client *Client) GetRbacDefaultGroup(ctx context.Context) (*RbacGroup, error)

func (*Client) GetRbacDefaultSharingGroups added in v0.14.30

func (client *Client) GetRbacDefaultSharingGroups(ctx context.Context) ([]RbacDefaultSharingGroup, error)

func (*Client) GetRbacGroup

func (client *Client) GetRbacGroup(ctx context.Context, id string) (*RbacGroup, error)

func (*Client) GetRbacGroupmember

func (client *Client) GetRbacGroupmember(ctx context.Context, id string) (*RbacGroupmember, error)

func (*Client) GetRbacResourceStatements added in v0.14.23

func (client *Client) GetRbacResourceStatements(ctx context.Context, ids []string) ([]RbacStatement, error)

func (*Client) GetRbacStatement

func (client *Client) GetRbacStatement(ctx context.Context, id string) (*RbacStatement, error)

func (*Client) GetSnowflakeOutboundShare added in v0.14.1

func (client *Client) GetSnowflakeOutboundShare(ctx context.Context, id string) (*SnowflakeOutboundShare, error)

func (*Client) GetTerraform

func (client *Client) GetTerraform(ctx context.Context, id string, objectType TerraformObjectType) (*TerraformDefinition, error)

func (*Client) GetUser

func (client *Client) GetUser(ctx context.Context, id string) (*User, error)

func (*Client) GetWorksheet

func (client *Client) GetWorksheet(ctx context.Context, id string) (*Worksheet, error)

func (*Client) GetWorkspace

func (client *Client) GetWorkspace(ctx context.Context, id string) (*Workspace, error)

func (*Client) IsCorrelationTagPresent added in v0.14.10

func (client *Client) IsCorrelationTagPresent(ctx context.Context, dataset, tag string, path LinkFieldInput) (bool, error)

func (*Client) ListDatasets

func (client *Client) ListDatasets(ctx context.Context) (ds []*Dataset, err error)

ListDatasets retrieves all datasets across workspaces. No filtering provided for now.

func (*Client) ListDatasetsIdNameOnly added in v0.14.19

func (client *Client) ListDatasetsIdNameOnly(ctx context.Context) (ds []*DatasetIdName, err error)

func (*Client) ListUsers added in v0.14.19

func (client *Client) ListUsers(ctx context.Context) ([]User, error)

func (*Client) ListWorksheetIdLabelOnly added in v0.14.19

func (client *Client) ListWorksheetIdLabelOnly(ctx context.Context, workspaceId string) ([]*WorksheetIdLabel, error)

func (*Client) ListWorkspaces

func (client *Client) ListWorkspaces(ctx context.Context) ([]*Workspace, error)

func (*Client) LookupApp

func (client *Client) LookupApp(ctx context.Context, workspaceId, name string) (*App, error)

func (*Client) LookupDataset

func (client *Client) LookupDataset(ctx context.Context, workspaceId, name string) (*Dataset, error)

LookupDataset retrieves dataset by name.

func (*Client) LookupDatastream

func (client *Client) LookupDatastream(ctx context.Context, workspaceId, name string) (*Datastream, error)

LookupDatastream retrieves datastream by name.

func (*Client) LookupFolder

func (client *Client) LookupFolder(ctx context.Context, workspaceId, name string) (*Folder, error)

func (*Client) LookupModuleVersions

func (client *Client) LookupModuleVersions(ctx context.Context, id string) ([]*ModuleVersion, error)

func (*Client) LookupMonitor

func (client *Client) LookupMonitor(ctx context.Context, workspaceId, name string) (*Monitor, error)

func (*Client) LookupMonitorAction added in v0.14.10

func (client *Client) LookupMonitorAction(ctx context.Context, workspaceId, name string) (*MonitorAction, error)

func (*Client) LookupMonitorV2 added in v0.14.14

func (client *Client) LookupMonitorV2(ctx context.Context, workspaceId *string, nameExact *string) (*MonitorV2, error)

func (*Client) LookupRbacGroup

func (client *Client) LookupRbacGroup(ctx context.Context, name string) (*RbacGroup, error)

func (*Client) LookupSnowflakeOutboundShare added in v0.14.1

func (client *Client) LookupSnowflakeOutboundShare(ctx context.Context, name string, workspaceId string) (*SnowflakeOutboundShare, error)

func (*Client) LookupUser

func (client *Client) LookupUser(ctx context.Context, email string) (*User, error)

func (*Client) LookupWorkspace

func (client *Client) LookupWorkspace(ctx context.Context, name string) (*Workspace, error)

func (*Client) MutateRbacStatements added in v0.14.23

func (client *Client) MutateRbacStatements(ctx context.Context, toCreate []RbacStatementInput, toUpdate []UpdateRbacStatementInput, toDelete []string) (*MutateRbacStatementsResponse, error)

func (*Client) Run

func (c *Client) Run(ctx context.Context, query string, vars map[string]interface{}) (map[string]interface{}, error)

Run raw GraphQL query against metadata endpoint

func (*Client) SaveDashboard

func (client *Client) SaveDashboard(ctx context.Context, input *DashboardInput) (*Dashboard, error)

func (*Client) SaveDataset

func (client *Client) SaveDataset(ctx context.Context, workspaceId string, input *DatasetInput, queryInput *MultiStageQueryInput, dependencyHandling *DependencyHandlingInput) (*Dataset, error)

SaveDataset creates and updates datasets

func (*Client) SaveDatasetDryRun added in v0.14.30

func (client *Client) SaveDatasetDryRun(ctx context.Context, workspaceId string, input *DatasetInput, queryInput *MultiStageQueryInput) ([]DatasetMaterialization, error)

SaveDatasetDryRun saves a dataset with pre-flight checks - this is useful when rematerialization_mode is set to "skip_rematerialization"

func (*Client) SaveMonitorV2Relations added in v0.14.15

func (client *Client) SaveMonitorV2Relations(ctx context.Context, monitorId string, actionRelations []ActionRelationInput) (*MonitorV2, error)

func (*Client) SaveMonitorV2WithActions added in v0.14.23

func (client *Client) SaveMonitorV2WithActions(
	ctx context.Context,
	workspaceId string,
	monitorId *string,
	input *MonitorV2Input,
	actions []MonitorV2ActionAndRelationInput,
) (*MonitorV2, error)

func (*Client) SaveSourceDataset

func (client *Client) SaveSourceDataset(ctx context.Context, workspaceId string, input *DatasetDefinitionInput, sourceInput *SourceTableDefinitionInput) (*Dataset, error)

func (*Client) SaveWorksheet

func (client *Client) SaveWorksheet(ctx context.Context, input *WorksheetInput) (*Worksheet, error)

func (*Client) SearchMonitorV2Action added in v0.14.15

func (client *Client) SearchMonitorV2Action(ctx context.Context, workspaceId *string, nameExact *string) ([]MonitorV2Action, error)

func (*Client) SetChannelsForChannelAction

func (client *Client) SetChannelsForChannelAction(ctx context.Context, id string, channels []string) error

func (*Client) SetDefaultDashboard

func (client *Client) SetDefaultDashboard(ctx context.Context, dsid string, dashid string) error

func (*Client) SetMonitorsForChannel

func (client *Client) SetMonitorsForChannel(ctx context.Context, id string, monitors []string) error

func (*Client) SetRbacDefaultGroup

func (client *Client) SetRbacDefaultGroup(ctx context.Context, id string) error

func (*Client) SetRbacDefaultSharingGroups added in v0.14.30

func (client *Client) SetRbacDefaultSharingGroups(ctx context.Context, input []RbacDefaultSharingGroupInput) error

func (*Client) UnsetRbacDefaultGroup

func (client *Client) UnsetRbacDefaultGroup(ctx context.Context) error

func (*Client) UpdateApp

func (client *Client) UpdateApp(ctx context.Context, id string, input *AppInput) (*App, error)

func (*Client) UpdateAppDataSource

func (client *Client) UpdateAppDataSource(ctx context.Context, id string, input *AppDataSourceInput) (*AppDataSource, error)

func (*Client) UpdateBoard

func (client *Client) UpdateBoard(ctx context.Context, id string, config *BoardInput) (*Board, error)

func (*Client) UpdateChannel

func (client *Client) UpdateChannel(ctx context.Context, id string, input *ChannelInput) (*Channel, error)

func (*Client) UpdateChannelAction

func (client *Client) UpdateChannelAction(ctx context.Context, id string, input *ActionInput) (*ChannelAction, error)
func (client *Client) UpdateDashboardLink(ctx context.Context, id string, input DashboardLinkInput) (*DashboardLink, error)

func (*Client) UpdateDatasetOutboundShare added in v0.14.1

func (client *Client) UpdateDatasetOutboundShare(ctx context.Context, id string, input *DatasetOutboundShareInput) (*DatasetOutboundShare, error)

func (*Client) UpdateDatastream

func (client *Client) UpdateDatastream(ctx context.Context, id string, input *DatastreamInput) (*Datastream, error)

func (*Client) UpdateDatastreamToken

func (client *Client) UpdateDatastreamToken(ctx context.Context, id string, input *DatastreamTokenInput) (*DatastreamToken, error)

func (*Client) UpdateDeferredForeignKey

func (client *Client) UpdateDeferredForeignKey(ctx context.Context, id string, input *DeferredForeignKeyInput) (*DeferredForeignKey, error)

func (*Client) UpdateFiledrop added in v0.13.15

func (client *Client) UpdateFiledrop(ctx context.Context, id string, input *FiledropInput) (*Filedrop, error)

func (*Client) UpdateFolder

func (client *Client) UpdateFolder(ctx context.Context, id string, input *FolderInput) (*Folder, error)

func (*Client) UpdateIngestFilter added in v0.14.35

func (c *Client) UpdateIngestFilter(ctx context.Context, filterId string, input *IngestFilterInput) (*IngestFilter, error)

func (*Client) UpdateIngestToken added in v0.14.37

func (c *Client) UpdateIngestToken(
	ctx context.Context,
	id string,
	input IngestTokenInput,
) (*IngestToken, error)

func (*Client) UpdateLayeredSettingRecord

func (client *Client) UpdateLayeredSettingRecord(ctx context.Context, config *LayeredSettingRecordInput) (*LayeredSettingRecord, error)

func (*Client) UpdateMonitor

func (client *Client) UpdateMonitor(ctx context.Context, id string, input *MonitorInput) (*Monitor, error)

func (*Client) UpdateMonitorAction

func (client *Client) UpdateMonitorAction(ctx context.Context, id string, input *MonitorActionInput) (*MonitorAction, error)

func (*Client) UpdateMonitorActionAttachment

func (client *Client) UpdateMonitorActionAttachment(ctx context.Context, id string, input *MonitorActionAttachmentInput) (*MonitorActionAttachment, error)

func (*Client) UpdateMonitorV2 added in v0.14.14

func (client *Client) UpdateMonitorV2(ctx context.Context, id string, input *MonitorV2Input) (*MonitorV2, error)

func (*Client) UpdateMonitorV2Action added in v0.14.14

func (client *Client) UpdateMonitorV2Action(ctx context.Context, id string, input *MonitorV2ActionInput) (*MonitorV2Action, error)

func (*Client) UpdatePoller

func (client *Client) UpdatePoller(ctx context.Context, id string, input *PollerInput) (*Poller, error)

func (*Client) UpdatePreferredPath

func (client *Client) UpdatePreferredPath(ctx context.Context, id string, input *PreferredPathInput) (*PreferredPathWithStatus, error)

func (*Client) UpdateRbacGroup

func (client *Client) UpdateRbacGroup(ctx context.Context, id string, input *RbacGroupInput) (*RbacGroup, error)

func (*Client) UpdateRbacStatement

func (client *Client) UpdateRbacStatement(ctx context.Context, id string, input *RbacStatementInput) (*RbacStatement, error)

func (*Client) UpdateSnowflakeOutboundShare added in v0.14.1

func (client *Client) UpdateSnowflakeOutboundShare(ctx context.Context, id string, input *SnowflakeOutboundShareInput) (*SnowflakeOutboundShare, error)

func (*Client) UpdateWorkspace

func (client *Client) UpdateWorkspace(ctx context.Context, id string, input *WorkspaceInput) (*Workspace, error)

type CloudInfo added in v0.14.13

type CloudInfo struct {
	AccountId string `json:"accountId"`
	Region    string `json:"region"`
	Provider  string `json:"provider"`
}

CloudInfo includes the GraphQL fields of CloudInfo requested by the fragment CloudInfo. The GraphQL type's documentation follows.

Information on underlying cloud provider

func (*CloudInfo) GetAccountId added in v0.14.13

func (v *CloudInfo) GetAccountId() string

GetAccountId returns CloudInfo.AccountId, and is useful for accessing the field via an interface.

func (*CloudInfo) GetProvider added in v0.14.13

func (v *CloudInfo) GetProvider() string

GetProvider returns CloudInfo.Provider, and is useful for accessing the field via an interface.

func (*CloudInfo) GetRegion added in v0.14.13

func (v *CloudInfo) GetRegion() string

GetRegion returns CloudInfo.Region, and is useful for accessing the field via an interface.

type ColumnAndValueInput

type ColumnAndValueInput struct {
	Name  string  `json:"name"`
	Value *string `json:"value"`
}

func (*ColumnAndValueInput) GetName

func (v *ColumnAndValueInput) GetName() string

GetName returns ColumnAndValueInput.Name, and is useful for accessing the field via an interface.

func (*ColumnAndValueInput) GetValue

func (v *ColumnAndValueInput) GetValue() *string

GetValue returns ColumnAndValueInput.Value, and is useful for accessing the field via an interface.

type ColumnOrderInput

type ColumnOrderInput struct {
	ColumnName string `json:"columnName"`
	// default is descending, which is great for timestamps
	Ascending    *bool         `json:"ascending"`
	NullOrdering *NullOrdering `json:"nullOrdering"`
}

func (*ColumnOrderInput) GetAscending

func (v *ColumnOrderInput) GetAscending() *bool

GetAscending returns ColumnOrderInput.Ascending, and is useful for accessing the field via an interface.

func (*ColumnOrderInput) GetColumnName

func (v *ColumnOrderInput) GetColumnName() string

GetColumnName returns ColumnOrderInput.ColumnName, and is useful for accessing the field via an interface.

func (*ColumnOrderInput) GetNullOrdering

func (v *ColumnOrderInput) GetNullOrdering() *NullOrdering

GetNullOrdering returns ColumnOrderInput.NullOrdering, and is useful for accessing the field via an interface.

type ColumnStatsInput added in v0.13.18

type ColumnStatsInput struct {
	// Something which is a string, or which is inferred to be an ID, will
	// return a list of the top K values + counts
	TopKCount *types.Int64Scalar `json:"topKCount"`
	// Whether to generate compound TopK for link columns. Note that this will
	// disable the normal TopK results for link columns.
	UseCompoundTopKForLinks *bool `json:"useCompoundTopKForLinks"`
	// Maximum number of histograms to return.
	//
	// Integer, float, duration columns return histograms.
	//
	// Set to 0 to disable histograms.
	// Set to <0 for an unlimited number of histograms.
	// Set to null to let the backend decide a suitable limit.
	MaxNbHistograms *types.Int64Scalar `json:"maxNbHistograms"`
	// Number of buckets per histogram.
	//
	// Set to 0 to disable histograms.
	// Set to null to let the backend decide.
	HistogramBucketCount *types.Int64Scalar `json:"histogramBucketCount"`
	// Whether to compute distinct value count per column. This applies to string
	// column or column inferred to be an ID. null or false would disable it.
	NeedDistinctCount *bool `json:"needDistinctCount"`
}

func (*ColumnStatsInput) GetHistogramBucketCount added in v0.13.18

func (v *ColumnStatsInput) GetHistogramBucketCount() *types.Int64Scalar

GetHistogramBucketCount returns ColumnStatsInput.HistogramBucketCount, and is useful for accessing the field via an interface.

func (*ColumnStatsInput) GetMaxNbHistograms added in v0.13.18

func (v *ColumnStatsInput) GetMaxNbHistograms() *types.Int64Scalar

GetMaxNbHistograms returns ColumnStatsInput.MaxNbHistograms, and is useful for accessing the field via an interface.

func (*ColumnStatsInput) GetNeedDistinctCount added in v0.13.18

func (v *ColumnStatsInput) GetNeedDistinctCount() *bool

GetNeedDistinctCount returns ColumnStatsInput.NeedDistinctCount, and is useful for accessing the field via an interface.

func (*ColumnStatsInput) GetTopKCount added in v0.13.18

func (v *ColumnStatsInput) GetTopKCount() *types.Int64Scalar

GetTopKCount returns ColumnStatsInput.TopKCount, and is useful for accessing the field via an interface.

func (v *ColumnStatsInput) GetUseCompoundTopKForLinks() *bool

GetUseCompoundTopKForLinks returns ColumnStatsInput.UseCompoundTopKForLinks, and is useful for accessing the field via an interface.

type CompareFunction

type CompareFunction string
const (
	CompareFunctionEqual          CompareFunction = "Equal"
	CompareFunctionNotequal       CompareFunction = "NotEqual"
	CompareFunctionGreater        CompareFunction = "Greater"
	CompareFunctionGreaterorequal CompareFunction = "GreaterOrEqual"
	CompareFunctionLess           CompareFunction = "Less"
	CompareFunctionLessorequal    CompareFunction = "LessOrEqual"
	CompareFunctionIsnull         CompareFunction = "IsNull"
	CompareFunctionIsnotnull      CompareFunction = "IsNotNull"
)

type CursorCacheMode

type CursorCacheMode string
const (
	CursorCacheModeAlwayscache     CursorCacheMode = "AlwaysCache"
	CursorCacheModeAlwaysdontcache CursorCacheMode = "AlwaysDontCache"
	// This mode will cache the cursor if not all data is returned by the initial
	// query. Specifically, cursor will be cached if any of the following
	// conditions is true:
	// 1) initialRows != -1 && the query returns more rows than requested
	// 2) initialRows == -1 && the query returns rollup results and the rollup
	// filter is not in "all" mode.
	CursorCacheModeCacheifmoredata CursorCacheMode = "CacheIfMoreData"
)

type Dashboard

type Dashboard struct {
	Id              string                                     `json:"id"`
	Name            string                                     `json:"name"`
	IconUrl         *string                                    `json:"iconUrl"`
	WorkspaceId     string                                     `json:"workspaceId"`
	ManagedById     *string                                    `json:"managedById"`
	Layout          *types.JsonObject                          `json:"layout"`
	Stages          []DashboardStagesStageQuery                `json:"stages"`
	Parameters      []DashboardParametersParameterSpec         `json:"parameters"`
	ParameterValues []DashboardParameterValuesParameterBinding `json:"parameterValues"`
}

Dashboard includes the GraphQL fields of Dashboard requested by the fragment Dashboard.

func (*Dashboard) GetIconUrl

func (v *Dashboard) GetIconUrl() *string

GetIconUrl returns Dashboard.IconUrl, and is useful for accessing the field via an interface.

func (*Dashboard) GetId

func (v *Dashboard) GetId() string

GetId returns Dashboard.Id, and is useful for accessing the field via an interface.

func (*Dashboard) GetLayout

func (v *Dashboard) GetLayout() *types.JsonObject

GetLayout returns Dashboard.Layout, and is useful for accessing the field via an interface.

func (*Dashboard) GetManagedById

func (v *Dashboard) GetManagedById() *string

GetManagedById returns Dashboard.ManagedById, and is useful for accessing the field via an interface.

func (*Dashboard) GetName

func (v *Dashboard) GetName() string

GetName returns Dashboard.Name, and is useful for accessing the field via an interface.

func (*Dashboard) GetParameterValues

func (v *Dashboard) GetParameterValues() []DashboardParameterValuesParameterBinding

GetParameterValues returns Dashboard.ParameterValues, and is useful for accessing the field via an interface.

func (*Dashboard) GetParameters

func (v *Dashboard) GetParameters() []DashboardParametersParameterSpec

GetParameters returns Dashboard.Parameters, and is useful for accessing the field via an interface.

func (*Dashboard) GetStages

func (v *Dashboard) GetStages() []DashboardStagesStageQuery

GetStages returns Dashboard.Stages, and is useful for accessing the field via an interface.

func (*Dashboard) GetWorkspaceId

func (v *Dashboard) GetWorkspaceId() string

GetWorkspaceId returns Dashboard.WorkspaceId, and is useful for accessing the field via an interface.

func (*Dashboard) Oid

func (d *Dashboard) Oid() *oid.OID

type DashboardInput

type DashboardInput struct {
	// if id is not specified, a new dashboard is created
	Id              *string                 `json:"id"`
	Name            *string                 `json:"name"`
	Description     *string                 `json:"description"`
	IconUrl         *string                 `json:"iconUrl"`
	WorkspaceId     *string                 `json:"workspaceId"`
	ManagedById     *string                 `json:"managedById"`
	FolderId        *string                 `json:"folderId"`
	Layout          *types.JsonObject       `json:"layout"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Links           []DashboardLinkInput    `json:"links"`
}

func (*DashboardInput) GetDescription

func (v *DashboardInput) GetDescription() *string

GetDescription returns DashboardInput.Description, and is useful for accessing the field via an interface.

func (*DashboardInput) GetFolderId

func (v *DashboardInput) GetFolderId() *string

GetFolderId returns DashboardInput.FolderId, and is useful for accessing the field via an interface.

func (*DashboardInput) GetIconUrl

func (v *DashboardInput) GetIconUrl() *string

GetIconUrl returns DashboardInput.IconUrl, and is useful for accessing the field via an interface.

func (*DashboardInput) GetId

func (v *DashboardInput) GetId() *string

GetId returns DashboardInput.Id, and is useful for accessing the field via an interface.

func (*DashboardInput) GetLayout

func (v *DashboardInput) GetLayout() *types.JsonObject

GetLayout returns DashboardInput.Layout, and is useful for accessing the field via an interface.

func (v *DashboardInput) GetLinks() []DashboardLinkInput

GetLinks returns DashboardInput.Links, and is useful for accessing the field via an interface.

func (*DashboardInput) GetManagedById

func (v *DashboardInput) GetManagedById() *string

GetManagedById returns DashboardInput.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardInput) GetName

func (v *DashboardInput) GetName() *string

GetName returns DashboardInput.Name, and is useful for accessing the field via an interface.

func (*DashboardInput) GetParameterValues

func (v *DashboardInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns DashboardInput.ParameterValues, and is useful for accessing the field via an interface.

func (*DashboardInput) GetParameters

func (v *DashboardInput) GetParameters() []ParameterSpecInput

GetParameters returns DashboardInput.Parameters, and is useful for accessing the field via an interface.

func (*DashboardInput) GetStages

func (v *DashboardInput) GetStages() []StageQueryInput

GetStages returns DashboardInput.Stages, and is useful for accessing the field via an interface.

func (*DashboardInput) GetWorkspaceId

func (v *DashboardInput) GetWorkspaceId() *string

GetWorkspaceId returns DashboardInput.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardLink struct {
	Id            string  `json:"id"`
	Name          string  `json:"name"`
	WorkspaceId   string  `json:"workspaceId"`
	FolderId      string  `json:"folderId"`
	ManagedById   *string `json:"managedById"`
	Description   string  `json:"description"`
	FromDashboard string  `json:"fromDashboard"`
	ToDashboard   string  `json:"toDashboard"`
	FromCard      *string `json:"fromCard"`
	// The label is presented in the UI. We need this separate from 'name' because 'name'
	// is a WorkspaceObject specific field, that must be globally unique within the workspace,
	// and we can't say that all links should display unique labels in the UI. (An alternative
	// is to just display the name of the target dashboard -- implementors choice.)
	LinkLabel string `json:"linkLabel"`
}

DashboardLink includes the GraphQL fields of DashboardLink requested by the fragment DashboardLink.

func (*DashboardLink) GetDescription

func (v *DashboardLink) GetDescription() string

GetDescription returns DashboardLink.Description, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFolderId

func (v *DashboardLink) GetFolderId() string

GetFolderId returns DashboardLink.FolderId, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFromCard

func (v *DashboardLink) GetFromCard() *string

GetFromCard returns DashboardLink.FromCard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFromDashboard

func (v *DashboardLink) GetFromDashboard() string

GetFromDashboard returns DashboardLink.FromDashboard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetId

func (v *DashboardLink) GetId() string

GetId returns DashboardLink.Id, and is useful for accessing the field via an interface.

func (*DashboardLink) GetLinkLabel

func (v *DashboardLink) GetLinkLabel() string

GetLinkLabel returns DashboardLink.LinkLabel, and is useful for accessing the field via an interface.

func (*DashboardLink) GetManagedById

func (v *DashboardLink) GetManagedById() *string

GetManagedById returns DashboardLink.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardLink) GetName

func (v *DashboardLink) GetName() string

GetName returns DashboardLink.Name, and is useful for accessing the field via an interface.

func (*DashboardLink) GetToDashboard

func (v *DashboardLink) GetToDashboard() string

GetToDashboard returns DashboardLink.ToDashboard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetWorkspaceId

func (v *DashboardLink) GetWorkspaceId() string

GetWorkspaceId returns DashboardLink.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardLinkInput

type DashboardLinkInput struct {
	// If name is empty on create, a unique name will be generated. If name is empty
	// on update, the name won't be changed.
	Name        *string `json:"name"`
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById"`
	// If folder is empty on create, it will be put in the default folder. If folder
	// is empty on update, the existing folder won't be changed.
	FolderId        *string `json:"folderId"`
	FromDashboardId string  `json:"fromDashboardId"`
	ToDashboardId   string  `json:"toDashboardId"`
	// When fromCard is null, it clears the property.
	FromCard *string `json:"fromCard"`
	// linkLabel is the display text of the link label. This is neded because the
	// 'name' is more like a textual ID and needs to be unique.
	LinkLabel string `json:"linkLabel"`
}

func (*DashboardLinkInput) GetDescription

func (v *DashboardLinkInput) GetDescription() *string

GetDescription returns DashboardLinkInput.Description, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFolderId

func (v *DashboardLinkInput) GetFolderId() *string

GetFolderId returns DashboardLinkInput.FolderId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFromCard

func (v *DashboardLinkInput) GetFromCard() *string

GetFromCard returns DashboardLinkInput.FromCard, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFromDashboardId

func (v *DashboardLinkInput) GetFromDashboardId() string

GetFromDashboardId returns DashboardLinkInput.FromDashboardId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetIconUrl

func (v *DashboardLinkInput) GetIconUrl() *string

GetIconUrl returns DashboardLinkInput.IconUrl, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetLinkLabel

func (v *DashboardLinkInput) GetLinkLabel() string

GetLinkLabel returns DashboardLinkInput.LinkLabel, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetManagedById

func (v *DashboardLinkInput) GetManagedById() *string

GetManagedById returns DashboardLinkInput.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetName

func (v *DashboardLinkInput) GetName() *string

GetName returns DashboardLinkInput.Name, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetToDashboardId

func (v *DashboardLinkInput) GetToDashboardId() string

GetToDashboardId returns DashboardLinkInput.ToDashboardId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetWorkspaceId

func (v *DashboardLinkInput) GetWorkspaceId() string

GetWorkspaceId returns DashboardLinkInput.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardParameterValuesParameterBinding

type DashboardParameterValuesParameterBinding struct {
	Id    string      `json:"id"`
	Value types.Value `json:"value"`
}

DashboardParameterValuesParameterBinding includes the requested fields of the GraphQL type ParameterBinding.

func (*DashboardParameterValuesParameterBinding) GetId

GetId returns DashboardParameterValuesParameterBinding.Id, and is useful for accessing the field via an interface.

func (*DashboardParameterValuesParameterBinding) GetValue

GetValue returns DashboardParameterValuesParameterBinding.Value, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpec

type DashboardParametersParameterSpec struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	// optional default value
	DefaultValue *types.Value                                           `json:"defaultValue"`
	ValueKind    DashboardParametersParameterSpecValueKindValueTypeSpec `json:"valueKind"`
}

DashboardParametersParameterSpec includes the requested fields of the GraphQL type ParameterSpec.

func (*DashboardParametersParameterSpec) GetDefaultValue

func (v *DashboardParametersParameterSpec) GetDefaultValue() *types.Value

GetDefaultValue returns DashboardParametersParameterSpec.DefaultValue, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetId

GetId returns DashboardParametersParameterSpec.Id, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetName

GetName returns DashboardParametersParameterSpec.Name, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetValueKind

GetValueKind returns DashboardParametersParameterSpec.ValueKind, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpecValueKindValueTypeSpec

type DashboardParametersParameterSpecValueKindValueTypeSpec struct {
	Type            ValueType                                                                         `json:"type"`
	KeyForDatasetId *string                                                                           `json:"keyForDatasetId"`
	ArrayItemType   *DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec `json:"arrayItemType"`
}

DashboardParametersParameterSpecValueKindValueTypeSpec includes the requested fields of the GraphQL type ValueTypeSpec.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetArrayItemType

GetArrayItemType returns DashboardParametersParameterSpecValueKindValueTypeSpec.ArrayItemType, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetKeyForDatasetId

GetKeyForDatasetId returns DashboardParametersParameterSpecValueKindValueTypeSpec.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetType

GetType returns DashboardParametersParameterSpecValueKindValueTypeSpec.Type, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec

type DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec struct {
	Type            ValueType `json:"type"`
	KeyForDatasetId *string   `json:"keyForDatasetId"`
}

DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec includes the requested fields of the GraphQL type ValueTypeSpec.

func (*DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec) GetKeyForDatasetId

GetKeyForDatasetId returns DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec) GetType

GetType returns DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec.Type, and is useful for accessing the field via an interface.

type DashboardStagesStageQuery

type DashboardStagesStageQuery struct {
	Id       *string                                         `json:"id"`
	Input    []DashboardStagesStageQueryInputInputDefinition `json:"input"`
	Params   *types.JsonObject                               `json:"params"`
	Layout   *types.JsonObject                               `json:"layout"`
	Pipeline string                                          `json:"pipeline"`
}

DashboardStagesStageQuery includes the requested fields of the GraphQL type StageQuery.

func (*DashboardStagesStageQuery) GetId

func (v *DashboardStagesStageQuery) GetId() *string

GetId returns DashboardStagesStageQuery.Id, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetInput

GetInput returns DashboardStagesStageQuery.Input, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetLayout

func (v *DashboardStagesStageQuery) GetLayout() *types.JsonObject

GetLayout returns DashboardStagesStageQuery.Layout, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetParams

func (v *DashboardStagesStageQuery) GetParams() *types.JsonObject

GetParams returns DashboardStagesStageQuery.Params, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetPipeline

func (v *DashboardStagesStageQuery) GetPipeline() string

GetPipeline returns DashboardStagesStageQuery.Pipeline, and is useful for accessing the field via an interface.

type DashboardStagesStageQueryInputInputDefinition

type DashboardStagesStageQueryInputInputDefinition struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string    `json:"inputName"`
	InputRole InputRole `json:"inputRole"`
	// One of the input definition fields is used; the others are null
	// because GO doesn't have unions.
	DatasetId   *string `json:"datasetId"`
	DatasetPath *string `json:"datasetPath"`
	// Only set stageId to reference input that comes from an actual stage in the same query
	StageId *string `json:"stageId"`
}

DashboardStagesStageQueryInputInputDefinition includes the requested fields of the GraphQL type InputDefinition.

func (*DashboardStagesStageQueryInputInputDefinition) GetDatasetId

GetDatasetId returns DashboardStagesStageQueryInputInputDefinition.DatasetId, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetDatasetPath

GetDatasetPath returns DashboardStagesStageQueryInputInputDefinition.DatasetPath, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetInputName

GetInputName returns DashboardStagesStageQueryInputInputDefinition.InputName, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetInputRole

GetInputRole returns DashboardStagesStageQueryInputInputDefinition.InputRole, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetStageId

GetStageId returns DashboardStagesStageQueryInputInputDefinition.StageId, and is useful for accessing the field via an interface.

type Dataset

type Dataset struct {
	WorkspaceId                string                     `json:"workspaceId"`
	Id                         string                     `json:"id"`
	Name                       string                     `json:"name"`
	FreshnessDesired           *types.Int64Scalar         `json:"freshnessDesired"`
	Description                *string                    `json:"description"`
	IconUrl                    *string                    `json:"iconUrl"`
	AccelerationDisabled       bool                       `json:"accelerationDisabled"`
	AccelerationDisabledSource AccelerationDisabledSource `json:"accelerationDisabledSource"`
	Version                    types.TimeScalar           `json:"version"`
	LastSaved                  types.TimeScalar           `json:"lastSaved"`
	PathCost                   *types.Int64Scalar         `json:"pathCost"`
	Source                     *string                    `json:"source"`
	ManagedById                *string                    `json:"managedById"`
	// Optional custom configured override value of the on demand materialization
	// range for the dataset.
	OnDemandMaterializationLength *types.Int64Scalar                                   `json:"onDemandMaterializationLength"`
	DataTableViewState            *types.JsonObject                                    `json:"dataTableViewState"`
	StorageIntegrationId          *string                                              `json:"storageIntegrationId"`
	ForeignKeys                   []DatasetForeignKeysForeignKey                       `json:"foreignKeys"`
	Transform                     *DatasetTransform                                    `json:"transform"`
	Typedef                       DatasetTypedef                                       `json:"typedef"`
	SourceTable                   *DatasetSourceTableSourceTableDefinition             `json:"sourceTable"`
	CorrelationTagMappings        []DatasetCorrelationTagMappingsCorrelationTagMapping `json:"correlationTagMappings"`
}

Dataset includes the GraphQL fields of Dataset requested by the fragment Dataset.

func (*Dataset) GetAccelerationDisabled

func (v *Dataset) GetAccelerationDisabled() bool

GetAccelerationDisabled returns Dataset.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*Dataset) GetAccelerationDisabledSource added in v0.14.21

func (v *Dataset) GetAccelerationDisabledSource() AccelerationDisabledSource

GetAccelerationDisabledSource returns Dataset.AccelerationDisabledSource, and is useful for accessing the field via an interface.

func (*Dataset) GetCorrelationTagMappings added in v0.14.19

func (v *Dataset) GetCorrelationTagMappings() []DatasetCorrelationTagMappingsCorrelationTagMapping

GetCorrelationTagMappings returns Dataset.CorrelationTagMappings, and is useful for accessing the field via an interface.

func (*Dataset) GetDataTableViewState added in v0.14.18

func (v *Dataset) GetDataTableViewState() *types.JsonObject

GetDataTableViewState returns Dataset.DataTableViewState, and is useful for accessing the field via an interface.

func (*Dataset) GetDescription

func (v *Dataset) GetDescription() *string

GetDescription returns Dataset.Description, and is useful for accessing the field via an interface.

func (*Dataset) GetForeignKeys

func (v *Dataset) GetForeignKeys() []DatasetForeignKeysForeignKey

GetForeignKeys returns Dataset.ForeignKeys, and is useful for accessing the field via an interface.

func (*Dataset) GetFreshnessDesired

func (v *Dataset) GetFreshnessDesired() *types.Int64Scalar

GetFreshnessDesired returns Dataset.FreshnessDesired, and is useful for accessing the field via an interface.

func (*Dataset) GetIconUrl

func (v *Dataset) GetIconUrl() *string

GetIconUrl returns Dataset.IconUrl, and is useful for accessing the field via an interface.

func (*Dataset) GetId

func (v *Dataset) GetId() string

GetId returns Dataset.Id, and is useful for accessing the field via an interface.

func (*Dataset) GetLastSaved

func (v *Dataset) GetLastSaved() types.TimeScalar

GetLastSaved returns Dataset.LastSaved, and is useful for accessing the field via an interface.

func (*Dataset) GetManagedById

func (v *Dataset) GetManagedById() *string

GetManagedById returns Dataset.ManagedById, and is useful for accessing the field via an interface.

func (*Dataset) GetName

func (v *Dataset) GetName() string

GetName returns Dataset.Name, and is useful for accessing the field via an interface.

func (*Dataset) GetOnDemandMaterializationLength

func (v *Dataset) GetOnDemandMaterializationLength() *types.Int64Scalar

GetOnDemandMaterializationLength returns Dataset.OnDemandMaterializationLength, and is useful for accessing the field via an interface.

func (*Dataset) GetPathCost

func (v *Dataset) GetPathCost() *types.Int64Scalar

GetPathCost returns Dataset.PathCost, and is useful for accessing the field via an interface.

func (*Dataset) GetSource

func (v *Dataset) GetSource() *string

GetSource returns Dataset.Source, and is useful for accessing the field via an interface.

func (*Dataset) GetSourceTable

func (v *Dataset) GetSourceTable() *DatasetSourceTableSourceTableDefinition

GetSourceTable returns Dataset.SourceTable, and is useful for accessing the field via an interface.

func (*Dataset) GetStorageIntegrationId added in v0.14.40

func (v *Dataset) GetStorageIntegrationId() *string

GetStorageIntegrationId returns Dataset.StorageIntegrationId, and is useful for accessing the field via an interface.

func (*Dataset) GetTransform

func (v *Dataset) GetTransform() *DatasetTransform

GetTransform returns Dataset.Transform, and is useful for accessing the field via an interface.

func (*Dataset) GetTypedef

func (v *Dataset) GetTypedef() DatasetTypedef

GetTypedef returns Dataset.Typedef, and is useful for accessing the field via an interface.

func (*Dataset) GetVersion

func (v *Dataset) GetVersion() types.TimeScalar

GetVersion returns Dataset.Version, and is useful for accessing the field via an interface.

func (*Dataset) GetWorkspaceId

func (v *Dataset) GetWorkspaceId() string

GetWorkspaceId returns Dataset.WorkspaceId, and is useful for accessing the field via an interface.

func (*Dataset) Oid

func (d *Dataset) Oid() *oid.OID

type DatasetCorrelationTagMappingsCorrelationTagMapping added in v0.14.19

type DatasetCorrelationTagMappingsCorrelationTagMapping struct {
	Tag  string                                                          `json:"tag"`
	Path DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField `json:"path"`
}

DatasetCorrelationTagMappingsCorrelationTagMapping includes the requested fields of the GraphQL type CorrelationTagMapping.

func (*DatasetCorrelationTagMappingsCorrelationTagMapping) GetPath added in v0.14.19

GetPath returns DatasetCorrelationTagMappingsCorrelationTagMapping.Path, and is useful for accessing the field via an interface.

func (*DatasetCorrelationTagMappingsCorrelationTagMapping) GetTag added in v0.14.19

GetTag returns DatasetCorrelationTagMappingsCorrelationTagMapping.Tag, and is useful for accessing the field via an interface.

type DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField added in v0.14.19

type DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField struct {
	Column string  `json:"column"`
	Path   *string `json:"path"`
}

DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField includes the requested fields of the GraphQL type LinkField.

func (*DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField) GetColumn added in v0.14.19

GetColumn returns DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField.Column, and is useful for accessing the field via an interface.

func (*DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField) GetPath added in v0.14.19

GetPath returns DatasetCorrelationTagMappingsCorrelationTagMappingPathLinkField.Path, and is useful for accessing the field via an interface.

type DatasetDefinitionInput

type DatasetDefinitionInput struct {
	Dataset  DatasetInput                    `json:"dataset"`
	Schema   []DatasetFieldDefInput          `json:"schema"`
	Metadata *DatasetDefinitionMetadataInput `json:"metadata"`
}

func (*DatasetDefinitionInput) GetDataset

func (v *DatasetDefinitionInput) GetDataset() DatasetInput

GetDataset returns DatasetDefinitionInput.Dataset, and is useful for accessing the field via an interface.

func (*DatasetDefinitionInput) GetMetadata

GetMetadata returns DatasetDefinitionInput.Metadata, and is useful for accessing the field via an interface.

func (*DatasetDefinitionInput) GetSchema

GetSchema returns DatasetDefinitionInput.Schema, and is useful for accessing the field via an interface.

type DatasetDefinitionMetadataInput

type DatasetDefinitionMetadataInput struct {
	ValidFromField *string    `json:"validFromField"`
	ValidToField   *string    `json:"validToField"`
	LabelField     *string    `json:"labelField"`
	PrimaryKey     []string   `json:"primaryKey"`
	Keys           [][]string `json:"keys"`
}

All of the values of DatasetDefinitionMetadataInput are optional, but you can't, for example, reference a dataset from another dataset until you define its primary key, and it won't be an event dataset without having a validFromField.

func (*DatasetDefinitionMetadataInput) GetKeys

func (v *DatasetDefinitionMetadataInput) GetKeys() [][]string

GetKeys returns DatasetDefinitionMetadataInput.Keys, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetLabelField

func (v *DatasetDefinitionMetadataInput) GetLabelField() *string

GetLabelField returns DatasetDefinitionMetadataInput.LabelField, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetPrimaryKey

func (v *DatasetDefinitionMetadataInput) GetPrimaryKey() []string

GetPrimaryKey returns DatasetDefinitionMetadataInput.PrimaryKey, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetValidFromField

func (v *DatasetDefinitionMetadataInput) GetValidFromField() *string

GetValidFromField returns DatasetDefinitionMetadataInput.ValidFromField, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetValidToField

func (v *DatasetDefinitionMetadataInput) GetValidToField() *string

GetValidToField returns DatasetDefinitionMetadataInput.ValidToField, and is useful for accessing the field via an interface.

type DatasetFieldDefInput

type DatasetFieldDefInput struct {
	Name         string                `json:"name"`
	Type         DatasetFieldTypeInput `json:"type"`
	IsEnum       *bool                 `json:"isEnum"`
	IsSearchable *bool                 `json:"isSearchable"`
	IsHidden     *bool                 `json:"isHidden"`
	IsConst      *bool                 `json:"isConst"`
	IsMetric     *bool                 `json:"isMetric"`
}

func (*DatasetFieldDefInput) GetIsConst

func (v *DatasetFieldDefInput) GetIsConst() *bool

GetIsConst returns DatasetFieldDefInput.IsConst, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsEnum

func (v *DatasetFieldDefInput) GetIsEnum() *bool

GetIsEnum returns DatasetFieldDefInput.IsEnum, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsHidden

func (v *DatasetFieldDefInput) GetIsHidden() *bool

GetIsHidden returns DatasetFieldDefInput.IsHidden, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsMetric

func (v *DatasetFieldDefInput) GetIsMetric() *bool

GetIsMetric returns DatasetFieldDefInput.IsMetric, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsSearchable

func (v *DatasetFieldDefInput) GetIsSearchable() *bool

GetIsSearchable returns DatasetFieldDefInput.IsSearchable, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetName

func (v *DatasetFieldDefInput) GetName() string

GetName returns DatasetFieldDefInput.Name, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetType

GetType returns DatasetFieldDefInput.Type, and is useful for accessing the field via an interface.

type DatasetFieldTypeInput

type DatasetFieldTypeInput struct {
	Rep      string               `json:"rep"`
	Def      *DatasetTypedefInput `json:"def"`
	Nullable *bool                `json:"nullable,omitempty"`
}

func (*DatasetFieldTypeInput) GetDef

GetDef returns DatasetFieldTypeInput.Def, and is useful for accessing the field via an interface.

func (*DatasetFieldTypeInput) GetNullable

func (v *DatasetFieldTypeInput) GetNullable() *bool

GetNullable returns DatasetFieldTypeInput.Nullable, and is useful for accessing the field via an interface.

func (*DatasetFieldTypeInput) GetRep

func (v *DatasetFieldTypeInput) GetRep() string

GetRep returns DatasetFieldTypeInput.Rep, and is useful for accessing the field via an interface.

type DatasetForeignKeysForeignKey

type DatasetForeignKeysForeignKey struct {
	Label         *string            `json:"label"`
	TargetDataset *types.Int64Scalar `json:"targetDataset"`
	SrcFields     []string           `json:"srcFields"`
	DstFields     []string           `json:"dstFields"`
}

DatasetForeignKeysForeignKey includes the requested fields of the GraphQL type ForeignKey.

func (*DatasetForeignKeysForeignKey) GetDstFields

func (v *DatasetForeignKeysForeignKey) GetDstFields() []string

GetDstFields returns DatasetForeignKeysForeignKey.DstFields, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetLabel

func (v *DatasetForeignKeysForeignKey) GetLabel() *string

GetLabel returns DatasetForeignKeysForeignKey.Label, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetSrcFields

func (v *DatasetForeignKeysForeignKey) GetSrcFields() []string

GetSrcFields returns DatasetForeignKeysForeignKey.SrcFields, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetTargetDataset

func (v *DatasetForeignKeysForeignKey) GetTargetDataset() *types.Int64Scalar

GetTargetDataset returns DatasetForeignKeysForeignKey.TargetDataset, and is useful for accessing the field via an interface.

type DatasetIdName added in v0.14.19

type DatasetIdName struct {
	Name string `json:"name"`
	Id   string `json:"id"`
}

DatasetIdName includes the GraphQL fields of Dataset requested by the fragment DatasetIdName.

func (*DatasetIdName) GetId added in v0.14.19

func (v *DatasetIdName) GetId() string

GetId returns DatasetIdName.Id, and is useful for accessing the field via an interface.

func (*DatasetIdName) GetName added in v0.14.19

func (v *DatasetIdName) GetName() string

GetName returns DatasetIdName.Name, and is useful for accessing the field via an interface.

type DatasetInput

type DatasetInput struct {
	// if id is not specified, a new dataset is created
	Id          *string `json:"id"`
	Label       string  `json:"label"`
	Description *string `json:"description"`
	// Format - source/comment. Examples - monitor/471142069, web/user created.
	Source *string `json:"source"`
	// Used only when id is specified - that is to say, only when the dataset is updated.
	OverwriteSource *bool `json:"overwriteSource"`
	Deleted         *bool `json:"deleted,omitempty"`
	// Specifies if dataset acceleration should be disabled. Set to true if
	// dataset materialization is not desired. Defaults to false.
	AccelerationDisabled *bool `json:"accelerationDisabled,omitempty"`
	// Optional reason given for why a dataset is not accelerated. For example,
	// when creating a dataset view, user must set accelerationDisabled to true
	// and set accelerationDisabledSource to 'View'. Options include: 'Empty',
	// 'Monitor', and 'View'. Defaults to 'Empty'.
	AccelerationDisabledSource *AccelerationDisabledSource `json:"accelerationDisabledSource,omitempty"`
	LatencyDesired             *types.Int64Scalar          `json:"latencyDesired"`
	FreshnessDesired           *types.Int64Scalar          `json:"freshnessDesired"`
	IconUrl                    *string                     `json:"iconUrl"`
	Layout                     *types.JsonObject           `json:"layout"`
	PathCost                   *types.Int64Scalar          `json:"pathCost"`
	DataTableViewState         *types.JsonObject           `json:"dataTableViewState"`
	StorageIntegrationId       *string                     `json:"storageIntegrationId"`
	// Max on-demand materialization length for the dataset (in nanoseconds). If not set
	// will use the default value in transformer config.
	OnDemandMaterializationLength *types.Int64Scalar `json:"onDemandMaterializationLength"`
	// Optional id of the object this dataset is managed by: app, datastream, monitor etc.
	ManagedById *string `json:"managedById"`
}

func (*DatasetInput) GetAccelerationDisabled

func (v *DatasetInput) GetAccelerationDisabled() *bool

GetAccelerationDisabled returns DatasetInput.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*DatasetInput) GetAccelerationDisabledSource added in v0.14.21

func (v *DatasetInput) GetAccelerationDisabledSource() *AccelerationDisabledSource

GetAccelerationDisabledSource returns DatasetInput.AccelerationDisabledSource, and is useful for accessing the field via an interface.

func (*DatasetInput) GetDataTableViewState added in v0.14.18

func (v *DatasetInput) GetDataTableViewState() *types.JsonObject

GetDataTableViewState returns DatasetInput.DataTableViewState, and is useful for accessing the field via an interface.

func (*DatasetInput) GetDeleted

func (v *DatasetInput) GetDeleted() *bool

GetDeleted returns DatasetInput.Deleted, and is useful for accessing the field via an interface.

func (*DatasetInput) GetDescription

func (v *DatasetInput) GetDescription() *string

GetDescription returns DatasetInput.Description, and is useful for accessing the field via an interface.

func (*DatasetInput) GetFreshnessDesired

func (v *DatasetInput) GetFreshnessDesired() *types.Int64Scalar

GetFreshnessDesired returns DatasetInput.FreshnessDesired, and is useful for accessing the field via an interface.

func (*DatasetInput) GetIconUrl

func (v *DatasetInput) GetIconUrl() *string

GetIconUrl returns DatasetInput.IconUrl, and is useful for accessing the field via an interface.

func (*DatasetInput) GetId

func (v *DatasetInput) GetId() *string

GetId returns DatasetInput.Id, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLabel

func (v *DatasetInput) GetLabel() string

GetLabel returns DatasetInput.Label, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLatencyDesired

func (v *DatasetInput) GetLatencyDesired() *types.Int64Scalar

GetLatencyDesired returns DatasetInput.LatencyDesired, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLayout

func (v *DatasetInput) GetLayout() *types.JsonObject

GetLayout returns DatasetInput.Layout, and is useful for accessing the field via an interface.

func (*DatasetInput) GetManagedById

func (v *DatasetInput) GetManagedById() *string

GetManagedById returns DatasetInput.ManagedById, and is useful for accessing the field via an interface.

func (*DatasetInput) GetOnDemandMaterializationLength

func (v *DatasetInput) GetOnDemandMaterializationLength() *types.Int64Scalar

GetOnDemandMaterializationLength returns DatasetInput.OnDemandMaterializationLength, and is useful for accessing the field via an interface.

func (*DatasetInput) GetOverwriteSource

func (v *DatasetInput) GetOverwriteSource() *bool

GetOverwriteSource returns DatasetInput.OverwriteSource, and is useful for accessing the field via an interface.

func (*DatasetInput) GetPathCost

func (v *DatasetInput) GetPathCost() *types.Int64Scalar

GetPathCost returns DatasetInput.PathCost, and is useful for accessing the field via an interface.

func (*DatasetInput) GetSource

func (v *DatasetInput) GetSource() *string

GetSource returns DatasetInput.Source, and is useful for accessing the field via an interface.

func (*DatasetInput) GetStorageIntegrationId added in v0.14.40

func (v *DatasetInput) GetStorageIntegrationId() *string

GetStorageIntegrationId returns DatasetInput.StorageIntegrationId, and is useful for accessing the field via an interface.

type DatasetLinkSchemaInput added in v0.13.18

type DatasetLinkSchemaInput struct {
	TargetDataset    *types.Int64Scalar `json:"targetDataset"`
	TargetStageLabel *string            `json:"targetStageLabel"`
	TargetLabelField *string            `json:"targetLabelField"`
	Label            string             `json:"label"`
	SrcFields        []string           `json:"srcFields"`
	DstFields        []string           `json:"dstFields"`
}

func (*DatasetLinkSchemaInput) GetDstFields added in v0.13.18

func (v *DatasetLinkSchemaInput) GetDstFields() []string

GetDstFields returns DatasetLinkSchemaInput.DstFields, and is useful for accessing the field via an interface.

func (*DatasetLinkSchemaInput) GetLabel added in v0.13.18

func (v *DatasetLinkSchemaInput) GetLabel() string

GetLabel returns DatasetLinkSchemaInput.Label, and is useful for accessing the field via an interface.

func (*DatasetLinkSchemaInput) GetSrcFields added in v0.13.18

func (v *DatasetLinkSchemaInput) GetSrcFields() []string

GetSrcFields returns DatasetLinkSchemaInput.SrcFields, and is useful for accessing the field via an interface.

func (*DatasetLinkSchemaInput) GetTargetDataset added in v0.13.18

func (v *DatasetLinkSchemaInput) GetTargetDataset() *types.Int64Scalar

GetTargetDataset returns DatasetLinkSchemaInput.TargetDataset, and is useful for accessing the field via an interface.

func (*DatasetLinkSchemaInput) GetTargetLabelField added in v0.13.18

func (v *DatasetLinkSchemaInput) GetTargetLabelField() *string

GetTargetLabelField returns DatasetLinkSchemaInput.TargetLabelField, and is useful for accessing the field via an interface.

func (*DatasetLinkSchemaInput) GetTargetStageLabel added in v0.13.18

func (v *DatasetLinkSchemaInput) GetTargetStageLabel() *string

GetTargetStageLabel returns DatasetLinkSchemaInput.TargetStageLabel, and is useful for accessing the field via an interface.

type DatasetMaterialization added in v0.14.30

type DatasetMaterialization struct {
	// Metadata about the dataset.
	Dataset *DatasetIdName `json:"dataset"`
}

DatasetMaterialization includes the GraphQL fields of DatasetMaterialization requested by the fragment DatasetMaterialization. The GraphQL type's documentation follows.

Information about a materialized dataset.

func (*DatasetMaterialization) GetDataset added in v0.14.30

func (v *DatasetMaterialization) GetDataset() *DatasetIdName

GetDataset returns DatasetMaterialization.Dataset, and is useful for accessing the field via an interface.

type DatasetOutboundShare added in v0.14.1

type DatasetOutboundShare struct {
	Id              string  `json:"id"`
	Name            string  `json:"name"`
	Description     *string `json:"description"`
	WorkspaceId     string  `json:"workspaceId"`
	FolderId        string  `json:"folderId"`
	DatasetID       string  `json:"datasetID"`
	OutboundShareID string  `json:"outboundShareID"`
	SchemaName      string  `json:"schemaName"`
	ViewName        string  `json:"viewName"`
	// The freshness goal for the outbound share, in nanoseconds. This determines the maximum staleness for the shared dataset. Newer data may not yet be accelerated (materialized) and will not be returned in Snowflake queries for the share. To avoid additional acceleration and minimize cost, set this to 1 hour (3600000000000), the maximum staleness of datasets when freshness decay is active.
	FreshnessGoal types.Int64Scalar `json:"freshnessGoal"`
	// If set to true, the shared view will have change tracking enabled.
	ChangeTracking *bool                      `json:"changeTracking"`
	Status         DatasetOutboundShareStatus `json:"status"`
}

DatasetOutboundShare includes the GraphQL fields of DatasetOutboundShare requested by the fragment DatasetOutboundShare.

func (*DatasetOutboundShare) GetChangeTracking added in v0.14.41

func (v *DatasetOutboundShare) GetChangeTracking() *bool

GetChangeTracking returns DatasetOutboundShare.ChangeTracking, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetDatasetID added in v0.14.1

func (v *DatasetOutboundShare) GetDatasetID() string

GetDatasetID returns DatasetOutboundShare.DatasetID, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetDescription added in v0.14.1

func (v *DatasetOutboundShare) GetDescription() *string

GetDescription returns DatasetOutboundShare.Description, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetFolderId added in v0.14.1

func (v *DatasetOutboundShare) GetFolderId() string

GetFolderId returns DatasetOutboundShare.FolderId, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetFreshnessGoal added in v0.14.1

func (v *DatasetOutboundShare) GetFreshnessGoal() types.Int64Scalar

GetFreshnessGoal returns DatasetOutboundShare.FreshnessGoal, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetId added in v0.14.1

func (v *DatasetOutboundShare) GetId() string

GetId returns DatasetOutboundShare.Id, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetName added in v0.14.1

func (v *DatasetOutboundShare) GetName() string

GetName returns DatasetOutboundShare.Name, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetOutboundShareID added in v0.14.1

func (v *DatasetOutboundShare) GetOutboundShareID() string

GetOutboundShareID returns DatasetOutboundShare.OutboundShareID, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetSchemaName added in v0.14.1

func (v *DatasetOutboundShare) GetSchemaName() string

GetSchemaName returns DatasetOutboundShare.SchemaName, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetStatus added in v0.14.1

GetStatus returns DatasetOutboundShare.Status, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetViewName added in v0.14.1

func (v *DatasetOutboundShare) GetViewName() string

GetViewName returns DatasetOutboundShare.ViewName, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) GetWorkspaceId added in v0.14.1

func (v *DatasetOutboundShare) GetWorkspaceId() string

GetWorkspaceId returns DatasetOutboundShare.WorkspaceId, and is useful for accessing the field via an interface.

func (*DatasetOutboundShare) Oid added in v0.14.1

func (p *DatasetOutboundShare) Oid() *oid.OID

type DatasetOutboundShareInput added in v0.14.1

type DatasetOutboundShareInput struct {
	SchemaName    string            `json:"schemaName"`
	ViewName      string            `json:"viewName"`
	FreshnessGoal types.Int64Scalar `json:"freshnessGoal"`
	// If set to true, the shared view will have change tracking enabled.
	ChangeTracking *bool   `json:"changeTracking"`
	Name           string  `json:"name"`
	IconUrl        *string `json:"iconUrl"`
	Description    *string `json:"description"`
	ManagedById    *string `json:"managedById"`
	FolderId       *string `json:"folderId"`
}

func (*DatasetOutboundShareInput) GetChangeTracking added in v0.14.41

func (v *DatasetOutboundShareInput) GetChangeTracking() *bool

GetChangeTracking returns DatasetOutboundShareInput.ChangeTracking, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetDescription added in v0.14.1

func (v *DatasetOutboundShareInput) GetDescription() *string

GetDescription returns DatasetOutboundShareInput.Description, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetFolderId added in v0.14.1

func (v *DatasetOutboundShareInput) GetFolderId() *string

GetFolderId returns DatasetOutboundShareInput.FolderId, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetFreshnessGoal added in v0.14.1

func (v *DatasetOutboundShareInput) GetFreshnessGoal() types.Int64Scalar

GetFreshnessGoal returns DatasetOutboundShareInput.FreshnessGoal, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetIconUrl added in v0.14.1

func (v *DatasetOutboundShareInput) GetIconUrl() *string

GetIconUrl returns DatasetOutboundShareInput.IconUrl, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetManagedById added in v0.14.1

func (v *DatasetOutboundShareInput) GetManagedById() *string

GetManagedById returns DatasetOutboundShareInput.ManagedById, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetName added in v0.14.1

func (v *DatasetOutboundShareInput) GetName() string

GetName returns DatasetOutboundShareInput.Name, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetSchemaName added in v0.14.1

func (v *DatasetOutboundShareInput) GetSchemaName() string

GetSchemaName returns DatasetOutboundShareInput.SchemaName, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareInput) GetViewName added in v0.14.1

func (v *DatasetOutboundShareInput) GetViewName() string

GetViewName returns DatasetOutboundShareInput.ViewName, and is useful for accessing the field via an interface.

type DatasetOutboundShareState added in v0.14.1

type DatasetOutboundShareState string
const (
	DatasetOutboundShareStateError       DatasetOutboundShareState = "Error"
	DatasetOutboundShareStateLive        DatasetOutboundShareState = "Live"
	DatasetOutboundShareStatePending     DatasetOutboundShareState = "Pending"
	DatasetOutboundShareStateUnavailable DatasetOutboundShareState = "Unavailable"
)

type DatasetOutboundShareStatus added in v0.14.1

type DatasetOutboundShareStatus struct {
	State DatasetOutboundShareState `json:"state"`
	Error *string                   `json:"error"`
}

DatasetOutboundShareStatus includes the requested fields of the GraphQL type DatasetOutboundShareStatus.

func (*DatasetOutboundShareStatus) GetError added in v0.14.1

func (v *DatasetOutboundShareStatus) GetError() *string

GetError returns DatasetOutboundShareStatus.Error, and is useful for accessing the field via an interface.

func (*DatasetOutboundShareStatus) GetState added in v0.14.1

GetState returns DatasetOutboundShareStatus.State, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinition

type DatasetSourceTableSourceTableDefinition struct {
	Schema                string                                                                            `json:"schema"`
	Partitions            []DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition `json:"partitions"`
	SourceUpdateTableName *string                                                                           `json:"sourceUpdateTableName"`
	IsInsertOnly          *bool                                                                             `json:"isInsertOnly"`
	BatchSeqField         *string                                                                           `json:"batchSeqField"`
	ValidFromField        *string                                                                           `json:"validFromField"`
	Fields                []DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition         `json:"fields"`
}

DatasetSourceTableSourceTableDefinition includes the requested fields of the GraphQL type SourceTableDefinition.

func (*DatasetSourceTableSourceTableDefinition) GetBatchSeqField

func (v *DatasetSourceTableSourceTableDefinition) GetBatchSeqField() *string

GetBatchSeqField returns DatasetSourceTableSourceTableDefinition.BatchSeqField, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetFields

GetFields returns DatasetSourceTableSourceTableDefinition.Fields, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetIsInsertOnly

func (v *DatasetSourceTableSourceTableDefinition) GetIsInsertOnly() *bool

GetIsInsertOnly returns DatasetSourceTableSourceTableDefinition.IsInsertOnly, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetPartitions

GetPartitions returns DatasetSourceTableSourceTableDefinition.Partitions, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetSchema

GetSchema returns DatasetSourceTableSourceTableDefinition.Schema, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetSourceUpdateTableName

func (v *DatasetSourceTableSourceTableDefinition) GetSourceUpdateTableName() *string

GetSourceUpdateTableName returns DatasetSourceTableSourceTableDefinition.SourceUpdateTableName, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetValidFromField

func (v *DatasetSourceTableSourceTableDefinition) GetValidFromField() *string

GetValidFromField returns DatasetSourceTableSourceTableDefinition.ValidFromField, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition

type DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition struct {
	Name    string `json:"name"`
	SqlType string `json:"sqlType"`
}

DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition includes the requested fields of the GraphQL type SourceTableFieldDefinition.

func (*DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition) GetName

GetName returns DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition.Name, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition) GetSqlType

GetSqlType returns DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition.SqlType, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition

type DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition struct {
	Name string `json:"name"`
}

DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition includes the requested fields of the GraphQL type SourceTablePartitionDefinition.

func (*DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition) GetName

GetName returns DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition.Name, and is useful for accessing the field via an interface.

type DatasetTransform

type DatasetTransform struct {
	Current *DatasetTransformCurrentTransformVersion `json:"current"`
}

DatasetTransform includes the requested fields of the GraphQL type Transform.

func (*DatasetTransform) GetCurrent

GetCurrent returns DatasetTransform.Current, and is useful for accessing the field via an interface.

type DatasetTransformCurrentTransformVersion

type DatasetTransformCurrentTransformVersion struct {
	Query DatasetTransformCurrentTransformVersionQueryMultiStageQuery `json:"query"`
}

DatasetTransformCurrentTransformVersion includes the requested fields of the GraphQL type TransformVersion.

func (*DatasetTransformCurrentTransformVersion) GetQuery

GetQuery returns DatasetTransformCurrentTransformVersion.Query, and is useful for accessing the field via an interface.

type DatasetTransformCurrentTransformVersionQueryMultiStageQuery

type DatasetTransformCurrentTransformVersionQueryMultiStageQuery struct {
	OutputStage string       `json:"outputStage"`
	Stages      []StageQuery `json:"stages"`
}

DatasetTransformCurrentTransformVersionQueryMultiStageQuery includes the requested fields of the GraphQL type MultiStageQuery.

func (*DatasetTransformCurrentTransformVersionQueryMultiStageQuery) GetOutputStage

GetOutputStage returns DatasetTransformCurrentTransformVersionQueryMultiStageQuery.OutputStage, and is useful for accessing the field via an interface.

func (*DatasetTransformCurrentTransformVersionQueryMultiStageQuery) GetStages

GetStages returns DatasetTransformCurrentTransformVersionQueryMultiStageQuery.Stages, and is useful for accessing the field via an interface.

type DatasetTypedef

type DatasetTypedef struct {
	Label string                          `json:"label"`
	Def   *DatasetTypedefDefObjectTypedef `json:"def"`
}

DatasetTypedef includes the requested fields of the GraphQL type Typedef.

func (*DatasetTypedef) GetDef

GetDef returns DatasetTypedef.Def, and is useful for accessing the field via an interface.

func (*DatasetTypedef) GetLabel

func (v *DatasetTypedef) GetLabel() string

GetLabel returns DatasetTypedef.Label, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedef

type DatasetTypedefDefObjectTypedef struct {
	Anykey *bool                                                `json:"anykey"`
	Fields []DatasetTypedefDefObjectTypedefFieldsObjectFieldDef `json:"fields"`
}

DatasetTypedefDefObjectTypedef includes the requested fields of the GraphQL type ObjectTypedef.

func (*DatasetTypedefDefObjectTypedef) GetAnykey

func (v *DatasetTypedefDefObjectTypedef) GetAnykey() *bool

GetAnykey returns DatasetTypedefDefObjectTypedef.Anykey, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedef) GetFields

GetFields returns DatasetTypedefDefObjectTypedef.Fields, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDef

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDef struct {
	Name         string                                                                `json:"name"`
	Type         DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType `json:"type"`
	IsEnum       *bool                                                                 `json:"isEnum"`
	IsSearchable *bool                                                                 `json:"isSearchable"`
	IsHidden     *bool                                                                 `json:"isHidden"`
	IsConst      *bool                                                                 `json:"isConst"`
	IsMetric     *bool                                                                 `json:"isMetric"`
}

DatasetTypedefDefObjectTypedefFieldsObjectFieldDef includes the requested fields of the GraphQL type ObjectFieldDef.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsConst

GetIsConst returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsConst, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsEnum

GetIsEnum returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsEnum, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsHidden

GetIsHidden returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsHidden, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsMetric

GetIsMetric returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsMetric, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsSearchable

GetIsSearchable returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsSearchable, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetName

GetName returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.Name, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetType

GetType returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.Type, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType struct {
	Rep      string `json:"rep"`
	Nullable *bool  `json:"nullable"`
}

DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType includes the requested fields of the GraphQL type ObjectFieldType.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType) GetNullable

GetNullable returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType.Nullable, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType) GetRep

GetRep returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType.Rep, and is useful for accessing the field via an interface.

type DatasetTypedefInput

type DatasetTypedefInput struct {
	Anykey   *bool                   `json:"anykey"`
	Fields   []DatasetFieldDefInput  `json:"fields"`
	LinkDesc *DatasetLinkSchemaInput `json:"linkDesc"`
}

func (*DatasetTypedefInput) GetAnykey

func (v *DatasetTypedefInput) GetAnykey() *bool

GetAnykey returns DatasetTypedefInput.Anykey, and is useful for accessing the field via an interface.

func (*DatasetTypedefInput) GetFields

func (v *DatasetTypedefInput) GetFields() []DatasetFieldDefInput

GetFields returns DatasetTypedefInput.Fields, and is useful for accessing the field via an interface.

func (*DatasetTypedefInput) GetLinkDesc added in v0.13.18

func (v *DatasetTypedefInput) GetLinkDesc() *DatasetLinkSchemaInput

GetLinkDesc returns DatasetTypedefInput.LinkDesc, and is useful for accessing the field via an interface.

type Datastream

type Datastream struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
	DatasetId   string  `json:"datasetId"`
}

Datastream includes the GraphQL fields of Datastream requested by the fragment Datastream.

func (*Datastream) GetDatasetId

func (v *Datastream) GetDatasetId() string

GetDatasetId returns Datastream.DatasetId, and is useful for accessing the field via an interface.

func (*Datastream) GetDescription

func (v *Datastream) GetDescription() *string

GetDescription returns Datastream.Description, and is useful for accessing the field via an interface.

func (*Datastream) GetIconUrl

func (v *Datastream) GetIconUrl() *string

GetIconUrl returns Datastream.IconUrl, and is useful for accessing the field via an interface.

func (*Datastream) GetId

func (v *Datastream) GetId() string

GetId returns Datastream.Id, and is useful for accessing the field via an interface.

func (*Datastream) GetName

func (v *Datastream) GetName() string

GetName returns Datastream.Name, and is useful for accessing the field via an interface.

func (*Datastream) GetWorkspaceId

func (v *Datastream) GetWorkspaceId() string

GetWorkspaceId returns Datastream.WorkspaceId, and is useful for accessing the field via an interface.

func (*Datastream) Oid

func (d *Datastream) Oid() *oid.OID

type DatastreamInput

type DatastreamInput struct {
	Name             string                     `json:"name"`
	Description      *string                    `json:"description"`
	IconUrl          *string                    `json:"iconUrl"`
	Disabled         *bool                      `json:"disabled"`
	ExternalSourceId *string                    `json:"externalSourceId"`
	PrometheusInput  *DatastreamPrometheusInput `json:"prometheusInput"`
	OtelLogsInput    *DatastreamOtelLogsInput   `json:"otelLogsInput"`
	K8sEntityInput   *DatastreamK8sEntityInput  `json:"k8sEntityInput"`
}

func (*DatastreamInput) GetDescription

func (v *DatastreamInput) GetDescription() *string

GetDescription returns DatastreamInput.Description, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetDisabled

func (v *DatastreamInput) GetDisabled() *bool

GetDisabled returns DatastreamInput.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetExternalSourceId added in v0.14.7

func (v *DatastreamInput) GetExternalSourceId() *string

GetExternalSourceId returns DatastreamInput.ExternalSourceId, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetIconUrl

func (v *DatastreamInput) GetIconUrl() *string

GetIconUrl returns DatastreamInput.IconUrl, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetK8sEntityInput added in v0.14.14

func (v *DatastreamInput) GetK8sEntityInput() *DatastreamK8sEntityInput

GetK8sEntityInput returns DatastreamInput.K8sEntityInput, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetName

func (v *DatastreamInput) GetName() string

GetName returns DatastreamInput.Name, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetOtelLogsInput added in v0.14.13

func (v *DatastreamInput) GetOtelLogsInput() *DatastreamOtelLogsInput

GetOtelLogsInput returns DatastreamInput.OtelLogsInput, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetPrometheusInput added in v0.14.13

func (v *DatastreamInput) GetPrometheusInput() *DatastreamPrometheusInput

GetPrometheusInput returns DatastreamInput.PrometheusInput, and is useful for accessing the field via an interface.

type DatastreamK8sEntityInput added in v0.14.14

type DatastreamK8sEntityInput struct {
	Enabled bool `json:"enabled"`
}

func (*DatastreamK8sEntityInput) GetEnabled added in v0.14.14

func (v *DatastreamK8sEntityInput) GetEnabled() bool

GetEnabled returns DatastreamK8sEntityInput.Enabled, and is useful for accessing the field via an interface.

type DatastreamOtelLogsInput added in v0.14.13

type DatastreamOtelLogsInput struct {
	Enabled bool `json:"enabled"`
}

func (*DatastreamOtelLogsInput) GetEnabled added in v0.14.13

func (v *DatastreamOtelLogsInput) GetEnabled() bool

GetEnabled returns DatastreamOtelLogsInput.Enabled, and is useful for accessing the field via an interface.

type DatastreamPrometheusInput added in v0.14.13

type DatastreamPrometheusInput struct {
	Enabled      bool  `json:"enabled"`
	UseTransform *bool `json:"useTransform"`
}

func (*DatastreamPrometheusInput) GetEnabled added in v0.14.13

func (v *DatastreamPrometheusInput) GetEnabled() bool

GetEnabled returns DatastreamPrometheusInput.Enabled, and is useful for accessing the field via an interface.

func (*DatastreamPrometheusInput) GetUseTransform added in v0.14.13

func (v *DatastreamPrometheusInput) GetUseTransform() *bool

GetUseTransform returns DatastreamPrometheusInput.UseTransform, and is useful for accessing the field via an interface.

type DatastreamToken

type DatastreamToken struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	Description  *string `json:"description"`
	Disabled     bool    `json:"disabled"`
	DatastreamId string  `json:"datastreamId"`
	// only populated for creates
	Secret *string `json:"secret"`
}

DatastreamToken includes the GraphQL fields of DatastreamToken requested by the fragment DatastreamToken.

func (*DatastreamToken) GetDatastreamId

func (v *DatastreamToken) GetDatastreamId() string

GetDatastreamId returns DatastreamToken.DatastreamId, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetDescription

func (v *DatastreamToken) GetDescription() *string

GetDescription returns DatastreamToken.Description, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetDisabled

func (v *DatastreamToken) GetDisabled() bool

GetDisabled returns DatastreamToken.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetId

func (v *DatastreamToken) GetId() string

GetId returns DatastreamToken.Id, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetName

func (v *DatastreamToken) GetName() string

GetName returns DatastreamToken.Name, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetSecret

func (v *DatastreamToken) GetSecret() *string

GetSecret returns DatastreamToken.Secret, and is useful for accessing the field via an interface.

func (*DatastreamToken) Oid

func (d *DatastreamToken) Oid() *oid.OID

type DatastreamTokenAppMetadataInput

type DatastreamTokenAppMetadataInput struct {
	AppId          string  `json:"appId"`
	ModuleId       *string `json:"moduleId"`
	Instructions   string  `json:"instructions"`
	DatasourceName string  `json:"datasourceName"`
}

func (*DatastreamTokenAppMetadataInput) GetAppId

GetAppId returns DatastreamTokenAppMetadataInput.AppId, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetDatasourceName

func (v *DatastreamTokenAppMetadataInput) GetDatasourceName() string

GetDatasourceName returns DatastreamTokenAppMetadataInput.DatasourceName, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetInstructions

func (v *DatastreamTokenAppMetadataInput) GetInstructions() string

GetInstructions returns DatastreamTokenAppMetadataInput.Instructions, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetModuleId

func (v *DatastreamTokenAppMetadataInput) GetModuleId() *string

GetModuleId returns DatastreamTokenAppMetadataInput.ModuleId, and is useful for accessing the field via an interface.

type DatastreamTokenInput

type DatastreamTokenInput struct {
	Name        string                           `json:"name"`
	Description *string                          `json:"description"`
	Disabled    *bool                            `json:"disabled"`
	AppMetadata *DatastreamTokenAppMetadataInput `json:"appMetadata"`
}

func (*DatastreamTokenInput) GetAppMetadata

GetAppMetadata returns DatastreamTokenInput.AppMetadata, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetDescription

func (v *DatastreamTokenInput) GetDescription() *string

GetDescription returns DatastreamTokenInput.Description, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetDisabled

func (v *DatastreamTokenInput) GetDisabled() *bool

GetDisabled returns DatastreamTokenInput.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetName

func (v *DatastreamTokenInput) GetName() string

GetName returns DatastreamTokenInput.Name, and is useful for accessing the field via an interface.

type DefaultStatsInput

type DefaultStatsInput struct {
	// This field is deprecated and will be ignored
	TopKCount *types.Int64Scalar `json:"topKCount"`
	// This field is deprecated and will be ignored
	MaxNbHistograms *types.Int64Scalar `json:"maxNbHistograms"`
	// This field is deprecated and will be ignored
	HistogramCount *types.Int64Scalar `json:"histogramCount"`
	// This field is deprecated and will be ignored
	SparklineBucketCount *types.Int64Scalar `json:"sparklineBucketCount"`
	// This field is deprecated and will be ignored
	SparklineFunction *string `json:"sparklineFunction"`
	// This field is deprecated and will be ignored
	IncludeTimestampColumns *bool `json:"includeTimestampColumns"`
	// This field is deprecated and will be ignored
	UseCompoundTopKForLinks *bool `json:"useCompoundTopKForLinks"`
}

Deprecated, and will return entirely empty result. Use ColumnStatsInput and/or VolumeStatsInput instead. We cannot remove it because the Terraform provider depends on it.

func (*DefaultStatsInput) GetHistogramCount

func (v *DefaultStatsInput) GetHistogramCount() *types.Int64Scalar

GetHistogramCount returns DefaultStatsInput.HistogramCount, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetIncludeTimestampColumns

func (v *DefaultStatsInput) GetIncludeTimestampColumns() *bool

GetIncludeTimestampColumns returns DefaultStatsInput.IncludeTimestampColumns, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetMaxNbHistograms

func (v *DefaultStatsInput) GetMaxNbHistograms() *types.Int64Scalar

GetMaxNbHistograms returns DefaultStatsInput.MaxNbHistograms, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetSparklineBucketCount

func (v *DefaultStatsInput) GetSparklineBucketCount() *types.Int64Scalar

GetSparklineBucketCount returns DefaultStatsInput.SparklineBucketCount, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetSparklineFunction

func (v *DefaultStatsInput) GetSparklineFunction() *string

GetSparklineFunction returns DefaultStatsInput.SparklineFunction, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetTopKCount

func (v *DefaultStatsInput) GetTopKCount() *types.Int64Scalar

GetTopKCount returns DefaultStatsInput.TopKCount, and is useful for accessing the field via an interface.

func (v *DefaultStatsInput) GetUseCompoundTopKForLinks() *bool

GetUseCompoundTopKForLinks returns DefaultStatsInput.UseCompoundTopKForLinks, and is useful for accessing the field via an interface.

type DeferredDatasetReferenceInput

type DeferredDatasetReferenceInput struct {
	DatasetId *string `json:"datasetId"`
	// A path may specify "Workspace.Datasetname", or it may just specify
	// Datasetname, in which case it is relative to the Workspace that the
	// Potential Foreign Key lives in.
	DatasetPath *string `json:"datasetPath"`
}

func (*DeferredDatasetReferenceInput) GetDatasetId

func (v *DeferredDatasetReferenceInput) GetDatasetId() *string

GetDatasetId returns DeferredDatasetReferenceInput.DatasetId, and is useful for accessing the field via an interface.

func (*DeferredDatasetReferenceInput) GetDatasetPath

func (v *DeferredDatasetReferenceInput) GetDatasetPath() *string

GetDatasetPath returns DeferredDatasetReferenceInput.DatasetPath, and is useful for accessing the field via an interface.

type DeferredForeignKey

type DeferredForeignKey struct {
	Id            string                                                   `json:"id"`
	WorkspaceId   string                                                   `json:"workspaceId"`
	SourceDataset *DeferredForeignKeySourceDatasetDeferredDatasetReference `json:"sourceDataset"`
	TargetDataset *DeferredForeignKeyTargetDatasetDeferredDatasetReference `json:"targetDataset"`
	SrcFields     []string                                                 `json:"srcFields"`
	DstFields     []string                                                 `json:"dstFields"`
	Label         *string                                                  `json:"label"`
	Resolution    *DeferredForeignKeyResolutionResolvedForeignKey          `json:"resolution"`
	Status        DeferredForeignKeyStatus                                 `json:"status"`
}

DeferredForeignKey includes the GraphQL fields of DeferredForeignKey requested by the fragment DeferredForeignKey.

func (*DeferredForeignKey) GetDstFields

func (v *DeferredForeignKey) GetDstFields() []string

GetDstFields returns DeferredForeignKey.DstFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetId

func (v *DeferredForeignKey) GetId() string

GetId returns DeferredForeignKey.Id, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetLabel

func (v *DeferredForeignKey) GetLabel() *string

GetLabel returns DeferredForeignKey.Label, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetResolution

GetResolution returns DeferredForeignKey.Resolution, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetSourceDataset

GetSourceDataset returns DeferredForeignKey.SourceDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetSrcFields

func (v *DeferredForeignKey) GetSrcFields() []string

GetSrcFields returns DeferredForeignKey.SrcFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetStatus

GetStatus returns DeferredForeignKey.Status, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetTargetDataset

GetTargetDataset returns DeferredForeignKey.TargetDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetWorkspaceId

func (v *DeferredForeignKey) GetWorkspaceId() string

GetWorkspaceId returns DeferredForeignKey.WorkspaceId, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) Oid

func (p *DeferredForeignKey) Oid() *oid.OID

type DeferredForeignKeyInput

type DeferredForeignKeyInput struct {
	SourceDataset *DeferredDatasetReferenceInput `json:"sourceDataset"`
	TargetDataset *DeferredDatasetReferenceInput `json:"targetDataset"`
	SrcFields     []string                       `json:"srcFields"`
	DstFields     []string                       `json:"dstFields"`
	// The API will make up a label if it's specified as empty.
	Label       *string `json:"label"`
	ManagedById *string `json:"managedById"`
}

func (*DeferredForeignKeyInput) GetDstFields

func (v *DeferredForeignKeyInput) GetDstFields() []string

GetDstFields returns DeferredForeignKeyInput.DstFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetLabel

func (v *DeferredForeignKeyInput) GetLabel() *string

GetLabel returns DeferredForeignKeyInput.Label, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetManagedById

func (v *DeferredForeignKeyInput) GetManagedById() *string

GetManagedById returns DeferredForeignKeyInput.ManagedById, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetSourceDataset

GetSourceDataset returns DeferredForeignKeyInput.SourceDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetSrcFields

func (v *DeferredForeignKeyInput) GetSrcFields() []string

GetSrcFields returns DeferredForeignKeyInput.SrcFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetTargetDataset

GetTargetDataset returns DeferredForeignKeyInput.TargetDataset, and is useful for accessing the field via an interface.

type DeferredForeignKeyResolutionResolvedForeignKey

type DeferredForeignKeyResolutionResolvedForeignKey struct {
	SourceId string `json:"sourceId"`
	TargetId string `json:"targetId"`
}

DeferredForeignKeyResolutionResolvedForeignKey includes the requested fields of the GraphQL type ResolvedForeignKey.

func (*DeferredForeignKeyResolutionResolvedForeignKey) GetSourceId

GetSourceId returns DeferredForeignKeyResolutionResolvedForeignKey.SourceId, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyResolutionResolvedForeignKey) GetTargetId

GetTargetId returns DeferredForeignKeyResolutionResolvedForeignKey.TargetId, and is useful for accessing the field via an interface.

type DeferredForeignKeySourceDatasetDeferredDatasetReference

type DeferredForeignKeySourceDatasetDeferredDatasetReference struct {
	DatasetId *string `json:"datasetId"`
}

DeferredForeignKeySourceDatasetDeferredDatasetReference includes the requested fields of the GraphQL type DeferredDatasetReference.

func (*DeferredForeignKeySourceDatasetDeferredDatasetReference) GetDatasetId

GetDatasetId returns DeferredForeignKeySourceDatasetDeferredDatasetReference.DatasetId, and is useful for accessing the field via an interface.

type DeferredForeignKeyStatus

type DeferredForeignKeyStatus struct {
	ErrorText string `json:"errorText"`
}

DeferredForeignKeyStatus includes the requested fields of the GraphQL type DeferredForeignKeyStatus.

func (*DeferredForeignKeyStatus) GetErrorText

func (v *DeferredForeignKeyStatus) GetErrorText() string

GetErrorText returns DeferredForeignKeyStatus.ErrorText, and is useful for accessing the field via an interface.

type DeferredForeignKeyTargetDatasetDeferredDatasetReference

type DeferredForeignKeyTargetDatasetDeferredDatasetReference struct {
	DatasetId *string `json:"datasetId"`
}

DeferredForeignKeyTargetDatasetDeferredDatasetReference includes the requested fields of the GraphQL type DeferredDatasetReference.

func (*DeferredForeignKeyTargetDatasetDeferredDatasetReference) GetDatasetId

GetDatasetId returns DeferredForeignKeyTargetDatasetDeferredDatasetReference.DatasetId, and is useful for accessing the field via an interface.

type DependencyHandlingInput

type DependencyHandlingInput struct {
	SaveMode *SaveMode `json:"saveMode"`
	// For saveMode UpdateDatasetAndDependenciesUnlessNewErrors, here are errors that don't count as "new"
	IgnoreSpecificErrors []string `json:"ignoreSpecificErrors"`
	// If no mode is specified, Rematerialize will be used by default
	RematerializationMode *RematerializationMode `json:"rematerializationMode"`
}

func DefaultDependencyHandling added in v0.14.21

func DefaultDependencyHandling() *DependencyHandlingInput

func (*DependencyHandlingInput) GetIgnoreSpecificErrors

func (v *DependencyHandlingInput) GetIgnoreSpecificErrors() []string

GetIgnoreSpecificErrors returns DependencyHandlingInput.IgnoreSpecificErrors, and is useful for accessing the field via an interface.

func (*DependencyHandlingInput) GetRematerializationMode added in v0.14.21

func (v *DependencyHandlingInput) GetRematerializationMode() *RematerializationMode

GetRematerializationMode returns DependencyHandlingInput.RematerializationMode, and is useful for accessing the field via an interface.

func (*DependencyHandlingInput) GetSaveMode

func (v *DependencyHandlingInput) GetSaveMode() *SaveMode

GetSaveMode returns DependencyHandlingInput.SaveMode, and is useful for accessing the field via an interface.

type EmailActionInput

type EmailActionInput struct {
	TargetUsers     []types.UserIdScalar `json:"targetUsers"`
	TargetAddresses []string             `json:"targetAddresses"`
	SubjectTemplate *string              `json:"subjectTemplate"`
	BodyTemplate    *string              `json:"bodyTemplate"`
	IsHtml          *bool                `json:"isHtml"`
	// Fragments are fields that users can edit on simple mode.
	// For example,
	// fragments.title = {{notification.kind}} fired off at {{notification.startTime}}
	// is available in all other templates as {{fragments.title}}
	Fragments *types.JsonObject `json:"fragments"`
}

func (*EmailActionInput) GetBodyTemplate

func (v *EmailActionInput) GetBodyTemplate() *string

GetBodyTemplate returns EmailActionInput.BodyTemplate, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetFragments added in v0.13.18

func (v *EmailActionInput) GetFragments() *types.JsonObject

GetFragments returns EmailActionInput.Fragments, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetIsHtml

func (v *EmailActionInput) GetIsHtml() *bool

GetIsHtml returns EmailActionInput.IsHtml, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetSubjectTemplate

func (v *EmailActionInput) GetSubjectTemplate() *string

GetSubjectTemplate returns EmailActionInput.SubjectTemplate, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetTargetAddresses

func (v *EmailActionInput) GetTargetAddresses() []string

GetTargetAddresses returns EmailActionInput.TargetAddresses, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetTargetUsers

func (v *EmailActionInput) GetTargetUsers() []types.UserIdScalar

GetTargetUsers returns EmailActionInput.TargetUsers, and is useful for accessing the field via an interface.

type FacetFunction

type FacetFunction string
const (
	FacetFunctionEquals         FacetFunction = "Equals"
	FacetFunctionNotequal       FacetFunction = "NotEqual"
	FacetFunctionContains       FacetFunction = "Contains"
	FacetFunctionDoesnotcontain FacetFunction = "DoesNotContain"
	FacetFunctionIsnull         FacetFunction = "IsNull"
	FacetFunctionIsnotnull      FacetFunction = "IsNotNull"
)

type Filedrop added in v0.13.15

type Filedrop struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
	// status of the filedrop
	Status FiledropStatus `json:"status"`
	// ID of the datastream associated with the filedrop
	DatastreamID string           `json:"datastreamID"`
	Config       FiledropConfig   `json:"config"`
	Endpoint     FiledropEndpoint `json:"-"`
}

Filedrop includes the GraphQL fields of Filedrop requested by the fragment Filedrop.

func (*Filedrop) GetConfig added in v0.13.15

func (v *Filedrop) GetConfig() FiledropConfig

GetConfig returns Filedrop.Config, and is useful for accessing the field via an interface.

func (*Filedrop) GetDatastreamID added in v0.13.15

func (v *Filedrop) GetDatastreamID() string

GetDatastreamID returns Filedrop.DatastreamID, and is useful for accessing the field via an interface.

func (*Filedrop) GetDescription added in v0.13.15

func (v *Filedrop) GetDescription() *string

GetDescription returns Filedrop.Description, and is useful for accessing the field via an interface.

func (*Filedrop) GetEndpoint added in v0.13.15

func (v *Filedrop) GetEndpoint() FiledropEndpoint

GetEndpoint returns Filedrop.Endpoint, and is useful for accessing the field via an interface.

func (*Filedrop) GetIconUrl added in v0.13.15

func (v *Filedrop) GetIconUrl() *string

GetIconUrl returns Filedrop.IconUrl, and is useful for accessing the field via an interface.

func (*Filedrop) GetId added in v0.13.15

func (v *Filedrop) GetId() string

GetId returns Filedrop.Id, and is useful for accessing the field via an interface.

func (*Filedrop) GetName added in v0.13.15

func (v *Filedrop) GetName() string

GetName returns Filedrop.Name, and is useful for accessing the field via an interface.

func (*Filedrop) GetStatus added in v0.13.15

func (v *Filedrop) GetStatus() FiledropStatus

GetStatus returns Filedrop.Status, and is useful for accessing the field via an interface.

func (*Filedrop) GetWorkspaceId added in v0.13.15

func (v *Filedrop) GetWorkspaceId() string

GetWorkspaceId returns Filedrop.WorkspaceId, and is useful for accessing the field via an interface.

func (*Filedrop) MarshalJSON added in v0.13.15

func (v *Filedrop) MarshalJSON() ([]byte, error)

func (*Filedrop) Oid added in v0.13.15

func (f *Filedrop) Oid() *oid.OID

func (*Filedrop) UnmarshalJSON added in v0.13.15

func (v *Filedrop) UnmarshalJSON(b []byte) error

type FiledropConfig added in v0.13.15

type FiledropConfig struct {
	Provider FiledropConfigProviderFiledropProviderConfig `json:"-"`
}

FiledropConfig includes the requested fields of the GraphQL type FiledropConfig.

func (*FiledropConfig) GetProvider added in v0.13.15

GetProvider returns FiledropConfig.Provider, and is useful for accessing the field via an interface.

func (*FiledropConfig) MarshalJSON added in v0.13.15

func (v *FiledropConfig) MarshalJSON() ([]byte, error)

func (*FiledropConfig) UnmarshalJSON added in v0.13.15

func (v *FiledropConfig) UnmarshalJSON(b []byte) error

type FiledropConfigInput added in v0.13.15

type FiledropConfigInput struct {
	ProviderAws *FiledropProviderAwsConfigInput `json:"providerAws"`
}

func (*FiledropConfigInput) GetProviderAws added in v0.13.15

GetProviderAws returns FiledropConfigInput.ProviderAws, and is useful for accessing the field via an interface.

type FiledropConfigProviderFiledropProviderAwsConfig added in v0.13.15

type FiledropConfigProviderFiledropProviderAwsConfig struct {
	Typename *string `json:"__typename"`
	// AWS region of the filedrop
	Region string `json:"region"`
	// User provided IAM role to access the filedrop
	RoleArn string `json:"roleArn"`
}

FiledropConfigProviderFiledropProviderAwsConfig includes the requested fields of the GraphQL type FiledropProviderAwsConfig.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetRegion added in v0.13.15

GetRegion returns FiledropConfigProviderFiledropProviderAwsConfig.Region, and is useful for accessing the field via an interface.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetRoleArn added in v0.13.15

GetRoleArn returns FiledropConfigProviderFiledropProviderAwsConfig.RoleArn, and is useful for accessing the field via an interface.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetTypename added in v0.13.15

GetTypename returns FiledropConfigProviderFiledropProviderAwsConfig.Typename, and is useful for accessing the field via an interface.

type FiledropConfigProviderFiledropProviderConfig added in v0.13.15

type FiledropConfigProviderFiledropProviderConfig interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

FiledropConfigProviderFiledropProviderConfig includes the requested fields of the GraphQL interface FiledropProviderConfig.

FiledropConfigProviderFiledropProviderConfig is implemented by the following types: FiledropConfigProviderFiledropProviderAwsConfig The GraphQL type's documentation follows.

Configurations related to the cloud object storage service provider

type FiledropEndpoint added in v0.13.15

type FiledropEndpoint interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

FiledropEndpoint includes the requested fields of the GraphQL interface FiledropEndpoint.

FiledropEndpoint is implemented by the following types: FiledropEndpointFiledropS3Endpoint The GraphQL type's documentation follows.

Information of the Observe-created filedrop endpoint

type FiledropEndpointFiledropS3Endpoint added in v0.13.15

type FiledropEndpointFiledropS3Endpoint struct {
	Typename *string `json:"__typename"`
	// IAM arn of the S3 access point
	Arn string `json:"arn"`
	// Bucket style alias of the S3 access point
	Bucket string `json:"bucket"`
	// filedrop's prefix path within the S3 access point
	Prefix string `json:"prefix"`
}

FiledropEndpointFiledropS3Endpoint includes the requested fields of the GraphQL type FiledropS3Endpoint.

func (*FiledropEndpointFiledropS3Endpoint) GetArn added in v0.13.15

GetArn returns FiledropEndpointFiledropS3Endpoint.Arn, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetBucket added in v0.13.15

GetBucket returns FiledropEndpointFiledropS3Endpoint.Bucket, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetPrefix added in v0.13.15

GetPrefix returns FiledropEndpointFiledropS3Endpoint.Prefix, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetTypename added in v0.13.15

func (v *FiledropEndpointFiledropS3Endpoint) GetTypename() *string

GetTypename returns FiledropEndpointFiledropS3Endpoint.Typename, and is useful for accessing the field via an interface.

type FiledropInput added in v0.13.15

type FiledropInput struct {
	Disabled    *bool               `json:"disabled,omitempty"`
	Config      FiledropConfigInput `json:"config"`
	Name        *string             `json:"name"`
	IconUrl     *string             `json:"iconUrl"`
	Description *string             `json:"description"`
	ManagedById *string             `json:"managedById"`
	FolderId    *string             `json:"folderId"`
}

func (*FiledropInput) GetConfig added in v0.13.15

func (v *FiledropInput) GetConfig() FiledropConfigInput

GetConfig returns FiledropInput.Config, and is useful for accessing the field via an interface.

func (*FiledropInput) GetDescription added in v0.13.15

func (v *FiledropInput) GetDescription() *string

GetDescription returns FiledropInput.Description, and is useful for accessing the field via an interface.

func (*FiledropInput) GetDisabled added in v0.13.18

func (v *FiledropInput) GetDisabled() *bool

GetDisabled returns FiledropInput.Disabled, and is useful for accessing the field via an interface.

func (*FiledropInput) GetFolderId added in v0.13.15

func (v *FiledropInput) GetFolderId() *string

GetFolderId returns FiledropInput.FolderId, and is useful for accessing the field via an interface.

func (*FiledropInput) GetIconUrl added in v0.13.15

func (v *FiledropInput) GetIconUrl() *string

GetIconUrl returns FiledropInput.IconUrl, and is useful for accessing the field via an interface.

func (*FiledropInput) GetManagedById added in v0.13.15

func (v *FiledropInput) GetManagedById() *string

GetManagedById returns FiledropInput.ManagedById, and is useful for accessing the field via an interface.

func (*FiledropInput) GetName added in v0.13.15

func (v *FiledropInput) GetName() *string

GetName returns FiledropInput.Name, and is useful for accessing the field via an interface.

type FiledropProviderAwsConfigInput added in v0.13.15

type FiledropProviderAwsConfigInput struct {
	Region  string `json:"region"`
	RoleArn string `json:"roleArn"`
}

func (*FiledropProviderAwsConfigInput) GetRegion added in v0.13.15

func (v *FiledropProviderAwsConfigInput) GetRegion() string

GetRegion returns FiledropProviderAwsConfigInput.Region, and is useful for accessing the field via an interface.

func (*FiledropProviderAwsConfigInput) GetRoleArn added in v0.13.15

func (v *FiledropProviderAwsConfigInput) GetRoleArn() string

GetRoleArn returns FiledropProviderAwsConfigInput.RoleArn, and is useful for accessing the field via an interface.

type FiledropStatus added in v0.13.15

type FiledropStatus string
const (
	FiledropStatusDisabled     FiledropStatus = "Disabled"
	FiledropStatusInitializing FiledropStatus = "Initializing"
	FiledropStatusRunning      FiledropStatus = "Running"
	FiledropStatusUpdating     FiledropStatus = "Updating"
)

type Folder

type Folder struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
}

Folder includes the GraphQL fields of Folder requested by the fragment Folder.

func (*Folder) GetDescription

func (v *Folder) GetDescription() *string

GetDescription returns Folder.Description, and is useful for accessing the field via an interface.

func (*Folder) GetIconUrl

func (v *Folder) GetIconUrl() *string

GetIconUrl returns Folder.IconUrl, and is useful for accessing the field via an interface.

func (*Folder) GetId

func (v *Folder) GetId() string

GetId returns Folder.Id, and is useful for accessing the field via an interface.

func (*Folder) GetName

func (v *Folder) GetName() string

GetName returns Folder.Name, and is useful for accessing the field via an interface.

func (*Folder) GetWorkspaceId

func (v *Folder) GetWorkspaceId() string

GetWorkspaceId returns Folder.WorkspaceId, and is useful for accessing the field via an interface.

func (*Folder) Oid

func (f *Folder) Oid() *oid.OID

type FolderInput

type FolderInput struct {
	Name             *string             `json:"name"`
	Description      *string             `json:"description"`
	IconUrl          *string             `json:"iconUrl"`
	PersonalToUserId *types.UserIdScalar `json:"personalToUserId"`
}

func (*FolderInput) GetDescription

func (v *FolderInput) GetDescription() *string

GetDescription returns FolderInput.Description, and is useful for accessing the field via an interface.

func (*FolderInput) GetIconUrl

func (v *FolderInput) GetIconUrl() *string

GetIconUrl returns FolderInput.IconUrl, and is useful for accessing the field via an interface.

func (*FolderInput) GetName

func (v *FolderInput) GetName() *string

GetName returns FolderInput.Name, and is useful for accessing the field via an interface.

func (*FolderInput) GetPersonalToUserId

func (v *FolderInput) GetPersonalToUserId() *types.UserIdScalar

GetPersonalToUserId returns FolderInput.PersonalToUserId, and is useful for accessing the field via an interface.

type HttpRequestConfig

type HttpRequestConfig struct {
	Url        *string                      `json:"url"`
	Method     *string                      `json:"method"`
	Username   *string                      `json:"username"`
	Password   *string                      `json:"password"`
	AuthScheme *PollerHTTPRequestAuthScheme `json:"authScheme"`
	Body       *string                      `json:"body"`
	Headers    *types.JsonObject            `json:"headers"`
	Params     *types.JsonObject            `json:"params"`
}

HttpRequestConfig includes the GraphQL fields of PollerHTTPRequestConfig requested by the fragment HttpRequestConfig.

func (*HttpRequestConfig) GetAuthScheme

func (v *HttpRequestConfig) GetAuthScheme() *PollerHTTPRequestAuthScheme

GetAuthScheme returns HttpRequestConfig.AuthScheme, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetBody

func (v *HttpRequestConfig) GetBody() *string

GetBody returns HttpRequestConfig.Body, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetHeaders

func (v *HttpRequestConfig) GetHeaders() *types.JsonObject

GetHeaders returns HttpRequestConfig.Headers, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetMethod

func (v *HttpRequestConfig) GetMethod() *string

GetMethod returns HttpRequestConfig.Method, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetParams

func (v *HttpRequestConfig) GetParams() *types.JsonObject

GetParams returns HttpRequestConfig.Params, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetPassword

func (v *HttpRequestConfig) GetPassword() *string

GetPassword returns HttpRequestConfig.Password, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetUrl

func (v *HttpRequestConfig) GetUrl() *string

GetUrl returns HttpRequestConfig.Url, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetUsername

func (v *HttpRequestConfig) GetUsername() *string

GetUsername returns HttpRequestConfig.Username, and is useful for accessing the field via an interface.

type IngestFilter added in v0.14.35

type IngestFilter struct {
	Name string `json:"name"`
	// Json blob for frontend to store layout information.
	Layout *types.JsonObject `json:"layout"`
	// Enabled indicates if the filter should be applied or not.
	Enabled bool `json:"enabled"`
	// The source dataset ID that this filter is applied to.
	SourceDatasetID string `json:"sourceDatasetID"`
	Id              string `json:"id"`
	// The drop rate is a double precision floating point value between 0 and 1 that specifies what percentage of matching
	// observations to drop.
	DropRate float64 `json:"dropRate"`
	// Raw opal that defines the filter predicate.
	Pipeline    string                                `json:"pipeline"`
	WorkspaceId string                                `json:"workspaceId"`
	IconUrl     *string                               `json:"iconUrl"`
	Description *string                               `json:"description"`
	ManagedById *string                               `json:"managedById"`
	ManagedBy   *IngestFilterManagedByWorkspaceObject `json:"-"`
	FolderId    string                                `json:"folderId"`
	CreatedBy   types.UserIdScalar                    `json:"createdBy"`
	CreatedDate types.TimeScalar                      `json:"createdDate"`
	UpdatedBy   types.UserIdScalar                    `json:"updatedBy"`
	UpdatedDate types.TimeScalar                      `json:"updatedDate"`
	// Error message. Will return errors about incorrect filter definitions.
	Errors []IngestFilterErrorsTaskResultError `json:"-"`
}

IngestFilter includes the GraphQL fields of IngestFilter requested by the fragment IngestFilter.

func (*IngestFilter) GetCreatedBy added in v0.14.35

func (v *IngestFilter) GetCreatedBy() types.UserIdScalar

GetCreatedBy returns IngestFilter.CreatedBy, and is useful for accessing the field via an interface.

func (*IngestFilter) GetCreatedDate added in v0.14.35

func (v *IngestFilter) GetCreatedDate() types.TimeScalar

GetCreatedDate returns IngestFilter.CreatedDate, and is useful for accessing the field via an interface.

func (*IngestFilter) GetDescription added in v0.14.35

func (v *IngestFilter) GetDescription() *string

GetDescription returns IngestFilter.Description, and is useful for accessing the field via an interface.

func (*IngestFilter) GetDropRate added in v0.14.35

func (v *IngestFilter) GetDropRate() float64

GetDropRate returns IngestFilter.DropRate, and is useful for accessing the field via an interface.

func (*IngestFilter) GetEnabled added in v0.14.35

func (v *IngestFilter) GetEnabled() bool

GetEnabled returns IngestFilter.Enabled, and is useful for accessing the field via an interface.

func (*IngestFilter) GetErrors added in v0.14.35

GetErrors returns IngestFilter.Errors, and is useful for accessing the field via an interface.

func (*IngestFilter) GetFolderId added in v0.14.35

func (v *IngestFilter) GetFolderId() string

GetFolderId returns IngestFilter.FolderId, and is useful for accessing the field via an interface.

func (*IngestFilter) GetIconUrl added in v0.14.35

func (v *IngestFilter) GetIconUrl() *string

GetIconUrl returns IngestFilter.IconUrl, and is useful for accessing the field via an interface.

func (*IngestFilter) GetId added in v0.14.35

func (v *IngestFilter) GetId() string

GetId returns IngestFilter.Id, and is useful for accessing the field via an interface.

func (*IngestFilter) GetLayout added in v0.14.35

func (v *IngestFilter) GetLayout() *types.JsonObject

GetLayout returns IngestFilter.Layout, and is useful for accessing the field via an interface.

func (*IngestFilter) GetManagedBy added in v0.14.35

GetManagedBy returns IngestFilter.ManagedBy, and is useful for accessing the field via an interface.

func (*IngestFilter) GetManagedById added in v0.14.35

func (v *IngestFilter) GetManagedById() *string

GetManagedById returns IngestFilter.ManagedById, and is useful for accessing the field via an interface.

func (*IngestFilter) GetName added in v0.14.35

func (v *IngestFilter) GetName() string

GetName returns IngestFilter.Name, and is useful for accessing the field via an interface.

func (*IngestFilter) GetPipeline added in v0.14.35

func (v *IngestFilter) GetPipeline() string

GetPipeline returns IngestFilter.Pipeline, and is useful for accessing the field via an interface.

func (*IngestFilter) GetSourceDatasetID added in v0.14.35

func (v *IngestFilter) GetSourceDatasetID() string

GetSourceDatasetID returns IngestFilter.SourceDatasetID, and is useful for accessing the field via an interface.

func (*IngestFilter) GetUpdatedBy added in v0.14.35

func (v *IngestFilter) GetUpdatedBy() types.UserIdScalar

GetUpdatedBy returns IngestFilter.UpdatedBy, and is useful for accessing the field via an interface.

func (*IngestFilter) GetUpdatedDate added in v0.14.35

func (v *IngestFilter) GetUpdatedDate() types.TimeScalar

GetUpdatedDate returns IngestFilter.UpdatedDate, and is useful for accessing the field via an interface.

func (*IngestFilter) GetWorkspaceId added in v0.14.35

func (v *IngestFilter) GetWorkspaceId() string

GetWorkspaceId returns IngestFilter.WorkspaceId, and is useful for accessing the field via an interface.

func (*IngestFilter) MarshalJSON added in v0.14.35

func (v *IngestFilter) MarshalJSON() ([]byte, error)

func (*IngestFilter) UnmarshalJSON added in v0.14.35

func (v *IngestFilter) UnmarshalJSON(b []byte) error

type IngestFilterErrorsTaskResultError added in v0.14.35

type IngestFilterErrorsTaskResultError interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

IngestFilterErrorsTaskResultError includes the requested fields of the GraphQL interface TaskResultError.

IngestFilterErrorsTaskResultError is implemented by the following types: IngestFilterErrorsTaskResultErrorBinding IngestFilterErrorsTaskResultErrorGeneric IngestFilterErrorsTaskResultErrorRateLimit IngestFilterErrorsTaskResultErrorStageDependencyLoop IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors The GraphQL type's documentation follows.

Generic interface for an error from a task result. Errors are fatal and are returned in place of query results.

type IngestFilterErrorsTaskResultErrorBinding added in v0.14.35

type IngestFilterErrorsTaskResultErrorBinding struct {
	Typename *string `json:"__typename"`
	// contains filtered or unexported fields
}

IngestFilterErrorsTaskResultErrorBinding includes the requested fields of the GraphQL type TaskResultErrorBinding. The GraphQL type's documentation follows.

Error that a stage fails to bind the dataset to the physical table (i.e., fail to inline or use best effort binding).

func (*IngestFilterErrorsTaskResultErrorBinding) GetMessage added in v0.14.35

GetMessage returns IngestFilterErrorsTaskResultErrorBinding.Message, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorBinding) GetSpan added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorBinding) GetSpan() *errorFieldsSpanSourceSpan

GetSpan returns IngestFilterErrorsTaskResultErrorBinding.Span, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorBinding) GetText added in v0.14.35

GetText returns IngestFilterErrorsTaskResultErrorBinding.Text, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorBinding) GetTypename added in v0.14.35

GetTypename returns IngestFilterErrorsTaskResultErrorBinding.Typename, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorBinding) MarshalJSON added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorBinding) MarshalJSON() ([]byte, error)

func (*IngestFilterErrorsTaskResultErrorBinding) UnmarshalJSON added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorBinding) UnmarshalJSON(b []byte) error

type IngestFilterErrorsTaskResultErrorGeneric added in v0.14.35

type IngestFilterErrorsTaskResultErrorGeneric struct {
	Typename *string `json:"__typename"`
	// contains filtered or unexported fields
}

IngestFilterErrorsTaskResultErrorGeneric includes the requested fields of the GraphQL type TaskResultErrorGeneric. The GraphQL type's documentation follows.

A generic error type to return legacy errors in that do not have more specific types yet

func (*IngestFilterErrorsTaskResultErrorGeneric) GetMessage added in v0.14.35

GetMessage returns IngestFilterErrorsTaskResultErrorGeneric.Message, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorGeneric) GetSpan added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorGeneric) GetSpan() *errorFieldsSpanSourceSpan

GetSpan returns IngestFilterErrorsTaskResultErrorGeneric.Span, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorGeneric) GetText added in v0.14.35

GetText returns IngestFilterErrorsTaskResultErrorGeneric.Text, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorGeneric) GetTypename added in v0.14.35

GetTypename returns IngestFilterErrorsTaskResultErrorGeneric.Typename, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorGeneric) MarshalJSON added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorGeneric) MarshalJSON() ([]byte, error)

func (*IngestFilterErrorsTaskResultErrorGeneric) UnmarshalJSON added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorGeneric) UnmarshalJSON(b []byte) error

type IngestFilterErrorsTaskResultErrorRateLimit added in v0.14.35

type IngestFilterErrorsTaskResultErrorRateLimit struct {
	Typename *string `json:"__typename"`
	// contains filtered or unexported fields
}

IngestFilterErrorsTaskResultErrorRateLimit includes the requested fields of the GraphQL type TaskResultErrorRateLimit. The GraphQL type's documentation follows.

Error that the query was blocked or throttled due to the query rate limit set for this customer

func (*IngestFilterErrorsTaskResultErrorRateLimit) GetMessage added in v0.14.35

GetMessage returns IngestFilterErrorsTaskResultErrorRateLimit.Message, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorRateLimit) GetSpan added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorRateLimit) GetSpan() *errorFieldsSpanSourceSpan

GetSpan returns IngestFilterErrorsTaskResultErrorRateLimit.Span, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorRateLimit) GetText added in v0.14.35

GetText returns IngestFilterErrorsTaskResultErrorRateLimit.Text, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorRateLimit) GetTypename added in v0.14.35

GetTypename returns IngestFilterErrorsTaskResultErrorRateLimit.Typename, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorRateLimit) MarshalJSON added in v0.14.35

func (*IngestFilterErrorsTaskResultErrorRateLimit) UnmarshalJSON added in v0.14.35

type IngestFilterErrorsTaskResultErrorStageDependencyLoop added in v0.14.35

type IngestFilterErrorsTaskResultErrorStageDependencyLoop struct {
	Typename *string `json:"__typename"`
	// contains filtered or unexported fields
}

IngestFilterErrorsTaskResultErrorStageDependencyLoop includes the requested fields of the GraphQL type TaskResultErrorStageDependencyLoop. The GraphQL type's documentation follows.

An error returned when a stage cannot be compiled because it forms a dependency loop with some of its inputs

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) GetMessage added in v0.14.35

GetMessage returns IngestFilterErrorsTaskResultErrorStageDependencyLoop.Message, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) GetSpan added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorStageDependencyLoop) GetSpan() *errorFieldsSpanSourceSpan

GetSpan returns IngestFilterErrorsTaskResultErrorStageDependencyLoop.Span, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) GetText added in v0.14.35

GetText returns IngestFilterErrorsTaskResultErrorStageDependencyLoop.Text, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) GetTypename added in v0.14.35

GetTypename returns IngestFilterErrorsTaskResultErrorStageDependencyLoop.Typename, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) MarshalJSON added in v0.14.35

func (*IngestFilterErrorsTaskResultErrorStageDependencyLoop) UnmarshalJSON added in v0.14.35

type IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors added in v0.14.35

type IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors struct {
	Typename *string `json:"__typename"`
	// contains filtered or unexported fields
}

IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors includes the requested fields of the GraphQL type TaskResultErrorStageHasDependenciesWithErrors. The GraphQL type's documentation follows.

An error returned when a stage cannot be compiled because input stages have errors

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) GetMessage added in v0.14.35

GetMessage returns IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors.Message, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) GetSpan added in v0.14.35

func (v *IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) GetSpan() *errorFieldsSpanSourceSpan

GetSpan returns IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors.Span, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) GetText added in v0.14.35

GetText returns IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors.Text, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) GetTypename added in v0.14.35

GetTypename returns IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors.Typename, and is useful for accessing the field via an interface.

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) MarshalJSON added in v0.14.35

func (*IngestFilterErrorsTaskResultErrorStageHasDependenciesWithErrors) UnmarshalJSON added in v0.14.35

type IngestFilterInput added in v0.14.35

type IngestFilterInput struct {
	Pipeline        string            `json:"pipeline"`
	Layout          *types.JsonObject `json:"layout"`
	Enabled         bool              `json:"enabled"`
	SourceDatasetID string            `json:"sourceDatasetID"`
	DropRate        float64           `json:"dropRate"`
	Name            string            `json:"name"`
	IconUrl         *string           `json:"iconUrl"`
	Description     *string           `json:"description"`
	ManagedById     *string           `json:"managedById"`
	FolderId        *string           `json:"folderId"`
}

func (*IngestFilterInput) GetDescription added in v0.14.35

func (v *IngestFilterInput) GetDescription() *string

GetDescription returns IngestFilterInput.Description, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetDropRate added in v0.14.35

func (v *IngestFilterInput) GetDropRate() float64

GetDropRate returns IngestFilterInput.DropRate, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetEnabled added in v0.14.35

func (v *IngestFilterInput) GetEnabled() bool

GetEnabled returns IngestFilterInput.Enabled, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetFolderId added in v0.14.35

func (v *IngestFilterInput) GetFolderId() *string

GetFolderId returns IngestFilterInput.FolderId, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetIconUrl added in v0.14.35

func (v *IngestFilterInput) GetIconUrl() *string

GetIconUrl returns IngestFilterInput.IconUrl, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetLayout added in v0.14.35

func (v *IngestFilterInput) GetLayout() *types.JsonObject

GetLayout returns IngestFilterInput.Layout, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetManagedById added in v0.14.35

func (v *IngestFilterInput) GetManagedById() *string

GetManagedById returns IngestFilterInput.ManagedById, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetName added in v0.14.35

func (v *IngestFilterInput) GetName() string

GetName returns IngestFilterInput.Name, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetPipeline added in v0.14.35

func (v *IngestFilterInput) GetPipeline() string

GetPipeline returns IngestFilterInput.Pipeline, and is useful for accessing the field via an interface.

func (*IngestFilterInput) GetSourceDatasetID added in v0.14.35

func (v *IngestFilterInput) GetSourceDatasetID() string

GetSourceDatasetID returns IngestFilterInput.SourceDatasetID, and is useful for accessing the field via an interface.

type IngestFilterManagedByApp added in v0.14.35

type IngestFilterManagedByApp struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

App represents an installed instance of an AppModule

func (*IngestFilterManagedByApp) GetId added in v0.14.35

func (v *IngestFilterManagedByApp) GetId() string

GetId returns IngestFilterManagedByApp.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByApp) GetTypename added in v0.14.35

func (v *IngestFilterManagedByApp) GetTypename() *string

GetTypename returns IngestFilterManagedByApp.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByAppDataSource added in v0.14.35

type IngestFilterManagedByAppDataSource struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByAppDataSource includes the requested fields of the GraphQL type AppDataSource.

func (*IngestFilterManagedByAppDataSource) GetId added in v0.14.35

GetId returns IngestFilterManagedByAppDataSource.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByAppDataSource) GetTypename added in v0.14.35

func (v *IngestFilterManagedByAppDataSource) GetTypename() *string

GetTypename returns IngestFilterManagedByAppDataSource.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByBookmarkGroup added in v0.14.35

type IngestFilterManagedByBookmarkGroup struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByBookmarkGroup includes the requested fields of the GraphQL type BookmarkGroup.

func (*IngestFilterManagedByBookmarkGroup) GetId added in v0.14.35

GetId returns IngestFilterManagedByBookmarkGroup.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByBookmarkGroup) GetTypename added in v0.14.35

func (v *IngestFilterManagedByBookmarkGroup) GetTypename() *string

GetTypename returns IngestFilterManagedByBookmarkGroup.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDashboard added in v0.14.35

type IngestFilterManagedByDashboard struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDashboard includes the requested fields of the GraphQL type Dashboard.

func (*IngestFilterManagedByDashboard) GetId added in v0.14.35

GetId returns IngestFilterManagedByDashboard.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDashboard) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDashboard) GetTypename() *string

GetTypename returns IngestFilterManagedByDashboard.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDashboardLink struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDashboardLink includes the requested fields of the GraphQL type DashboardLink.

func (*IngestFilterManagedByDashboardLink) GetId added in v0.14.35

GetId returns IngestFilterManagedByDashboardLink.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDashboardLink) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDashboardLink) GetTypename() *string

GetTypename returns IngestFilterManagedByDashboardLink.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDashboardRef added in v0.14.35

type IngestFilterManagedByDashboardRef struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDashboardRef includes the requested fields of the GraphQL type DashboardRef.

func (*IngestFilterManagedByDashboardRef) GetId added in v0.14.35

GetId returns IngestFilterManagedByDashboardRef.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDashboardRef) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDashboardRef) GetTypename() *string

GetTypename returns IngestFilterManagedByDashboardRef.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDataConnection added in v0.14.35

type IngestFilterManagedByDataConnection struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDataConnection includes the requested fields of the GraphQL type DataConnection.

func (*IngestFilterManagedByDataConnection) GetId added in v0.14.35

GetId returns IngestFilterManagedByDataConnection.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDataConnection) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDataConnection) GetTypename() *string

GetTypename returns IngestFilterManagedByDataConnection.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDataset added in v0.14.35

type IngestFilterManagedByDataset struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDataset includes the requested fields of the GraphQL type Dataset.

func (*IngestFilterManagedByDataset) GetId added in v0.14.35

GetId returns IngestFilterManagedByDataset.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDataset) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDataset) GetTypename() *string

GetTypename returns IngestFilterManagedByDataset.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDatasetOutboundShare added in v0.14.35

type IngestFilterManagedByDatasetOutboundShare struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDatasetOutboundShare includes the requested fields of the GraphQL type DatasetOutboundShare.

func (*IngestFilterManagedByDatasetOutboundShare) GetId added in v0.14.35

GetId returns IngestFilterManagedByDatasetOutboundShare.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDatasetOutboundShare) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedByDatasetOutboundShare.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDatasource added in v0.14.35

type IngestFilterManagedByDatasource struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDatasource includes the requested fields of the GraphQL type Datasource.

func (*IngestFilterManagedByDatasource) GetId added in v0.14.35

GetId returns IngestFilterManagedByDatasource.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDatasource) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDatasource) GetTypename() *string

GetTypename returns IngestFilterManagedByDatasource.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByDatastream added in v0.14.35

type IngestFilterManagedByDatastream struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByDatastream includes the requested fields of the GraphQL type Datastream.

func (*IngestFilterManagedByDatastream) GetId added in v0.14.35

GetId returns IngestFilterManagedByDatastream.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByDatastream) GetTypename added in v0.14.35

func (v *IngestFilterManagedByDatastream) GetTypename() *string

GetTypename returns IngestFilterManagedByDatastream.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByFiledrop added in v0.14.35

type IngestFilterManagedByFiledrop struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByFiledrop includes the requested fields of the GraphQL type Filedrop.

func (*IngestFilterManagedByFiledrop) GetId added in v0.14.35

GetId returns IngestFilterManagedByFiledrop.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByFiledrop) GetTypename added in v0.14.35

func (v *IngestFilterManagedByFiledrop) GetTypename() *string

GetTypename returns IngestFilterManagedByFiledrop.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByFolder added in v0.14.35

type IngestFilterManagedByFolder struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByFolder includes the requested fields of the GraphQL type Folder.

func (*IngestFilterManagedByFolder) GetId added in v0.14.35

GetId returns IngestFilterManagedByFolder.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByFolder) GetTypename added in v0.14.35

func (v *IngestFilterManagedByFolder) GetTypename() *string

GetTypename returns IngestFilterManagedByFolder.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByIncident added in v0.14.35

type IngestFilterManagedByIncident struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByIncident includes the requested fields of the GraphQL type Incident.

func (*IngestFilterManagedByIncident) GetId added in v0.14.35

GetId returns IngestFilterManagedByIncident.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByIncident) GetTypename added in v0.14.35

func (v *IngestFilterManagedByIncident) GetTypename() *string

GetTypename returns IngestFilterManagedByIncident.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByIngestFilter added in v0.14.35

type IngestFilterManagedByIngestFilter struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByIngestFilter includes the requested fields of the GraphQL type IngestFilter.

func (*IngestFilterManagedByIngestFilter) GetId added in v0.14.35

GetId returns IngestFilterManagedByIngestFilter.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByIngestFilter) GetTypename added in v0.14.35

func (v *IngestFilterManagedByIngestFilter) GetTypename() *string

GetTypename returns IngestFilterManagedByIngestFilter.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByIngestToken added in v0.14.37

type IngestFilterManagedByIngestToken struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByIngestToken includes the requested fields of the GraphQL type IngestToken.

func (*IngestFilterManagedByIngestToken) GetId added in v0.14.37

GetId returns IngestFilterManagedByIngestToken.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByIngestToken) GetTypename added in v0.14.37

func (v *IngestFilterManagedByIngestToken) GetTypename() *string

GetTypename returns IngestFilterManagedByIngestToken.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByInvestigationNotebook added in v0.14.35

type IngestFilterManagedByInvestigationNotebook struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByInvestigationNotebook includes the requested fields of the GraphQL type InvestigationNotebook.

func (*IngestFilterManagedByInvestigationNotebook) GetId added in v0.14.35

GetId returns IngestFilterManagedByInvestigationNotebook.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByInvestigationNotebook) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedByInvestigationNotebook.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByLayeredSettingRecord added in v0.14.35

type IngestFilterManagedByLayeredSettingRecord struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByLayeredSettingRecord includes the requested fields of the GraphQL type LayeredSettingRecord. The GraphQL type's documentation follows.

A Layered Setting is like a feature flag that can be controlled by customers. It allows control on a per-scope basis, where scope could be entire customer, workspace, folder, app, dataset, monitor, or similar, with a broad-to-detailed inheritance hierarchy.

A Layered Setting Record is a record setting the value of a Layered Setting at a particular scope. When the value of a Layered Setting is read from a particular scope, we merge the Layered Setting Records at each scope that contains the requested scope to determine the return value.

func (*IngestFilterManagedByLayeredSettingRecord) GetId added in v0.14.35

GetId returns IngestFilterManagedByLayeredSettingRecord.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByLayeredSettingRecord) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedByLayeredSettingRecord.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitor added in v0.14.35

type IngestFilterManagedByMonitor struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitor includes the requested fields of the GraphQL type Monitor.

func (*IngestFilterManagedByMonitor) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitor.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitor) GetTypename added in v0.14.35

func (v *IngestFilterManagedByMonitor) GetTypename() *string

GetTypename returns IngestFilterManagedByMonitor.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitorActionAttachment added in v0.14.35

type IngestFilterManagedByMonitorActionAttachment struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitorActionAttachment includes the requested fields of the GraphQL type MonitorActionAttachment.

func (*IngestFilterManagedByMonitorActionAttachment) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitorActionAttachment.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitorActionAttachment) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedByMonitorActionAttachment.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitorMuteRule added in v0.14.35

type IngestFilterManagedByMonitorMuteRule struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitorMuteRule includes the requested fields of the GraphQL type MonitorMuteRule.

func (*IngestFilterManagedByMonitorMuteRule) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitorMuteRule.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitorMuteRule) GetTypename added in v0.14.35

func (v *IngestFilterManagedByMonitorMuteRule) GetTypename() *string

GetTypename returns IngestFilterManagedByMonitorMuteRule.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitorV2 added in v0.14.35

type IngestFilterManagedByMonitorV2 struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitorV2 includes the requested fields of the GraphQL type MonitorV2.

func (*IngestFilterManagedByMonitorV2) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitorV2.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitorV2) GetTypename added in v0.14.35

func (v *IngestFilterManagedByMonitorV2) GetTypename() *string

GetTypename returns IngestFilterManagedByMonitorV2.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitorV2Action added in v0.14.35

type IngestFilterManagedByMonitorV2Action struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitorV2Action includes the requested fields of the GraphQL type MonitorV2Action.

func (*IngestFilterManagedByMonitorV2Action) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitorV2Action.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitorV2Action) GetTypename added in v0.14.35

func (v *IngestFilterManagedByMonitorV2Action) GetTypename() *string

GetTypename returns IngestFilterManagedByMonitorV2Action.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByMonitorV2MuteRule added in v0.14.35

type IngestFilterManagedByMonitorV2MuteRule struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByMonitorV2MuteRule includes the requested fields of the GraphQL type MonitorV2MuteRule.

func (*IngestFilterManagedByMonitorV2MuteRule) GetId added in v0.14.35

GetId returns IngestFilterManagedByMonitorV2MuteRule.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByMonitorV2MuteRule) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedByMonitorV2MuteRule.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByPoller added in v0.14.35

type IngestFilterManagedByPoller struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByPoller includes the requested fields of the GraphQL type Poller.

func (*IngestFilterManagedByPoller) GetId added in v0.14.35

GetId returns IngestFilterManagedByPoller.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByPoller) GetTypename added in v0.14.35

func (v *IngestFilterManagedByPoller) GetTypename() *string

GetTypename returns IngestFilterManagedByPoller.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByPreferredPath added in v0.14.35

type IngestFilterManagedByPreferredPath struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByPreferredPath includes the requested fields of the GraphQL type PreferredPath. The GraphQL type's documentation follows.

Properties that are expensive, and should not be requested as part of "list all paths" type operations: - destinationDataset - resolvedPath - managedBy It's OK to make these part of "list paths for given source dataset" though, as that's only one, and presumably you're likely to actually use it.

func (*IngestFilterManagedByPreferredPath) GetId added in v0.14.35

GetId returns IngestFilterManagedByPreferredPath.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByPreferredPath) GetTypename added in v0.14.35

func (v *IngestFilterManagedByPreferredPath) GetTypename() *string

GetTypename returns IngestFilterManagedByPreferredPath.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByReferenceTable added in v0.14.35

type IngestFilterManagedByReferenceTable struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByReferenceTable includes the requested fields of the GraphQL type ReferenceTable.

func (*IngestFilterManagedByReferenceTable) GetId added in v0.14.35

GetId returns IngestFilterManagedByReferenceTable.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByReferenceTable) GetTypename added in v0.14.35

func (v *IngestFilterManagedByReferenceTable) GetTypename() *string

GetTypename returns IngestFilterManagedByReferenceTable.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedBySnowflakeOutboundShare added in v0.14.35

type IngestFilterManagedBySnowflakeOutboundShare struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedBySnowflakeOutboundShare includes the requested fields of the GraphQL type SnowflakeOutboundShare.

func (*IngestFilterManagedBySnowflakeOutboundShare) GetId added in v0.14.35

GetId returns IngestFilterManagedBySnowflakeOutboundShare.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedBySnowflakeOutboundShare) GetTypename added in v0.14.35

GetTypename returns IngestFilterManagedBySnowflakeOutboundShare.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByWorksheet added in v0.14.35

type IngestFilterManagedByWorksheet struct {
	Typename *string `json:"__typename"`
	Id       string  `json:"id"`
}

IngestFilterManagedByWorksheet includes the requested fields of the GraphQL type Worksheet.

func (*IngestFilterManagedByWorksheet) GetId added in v0.14.35

GetId returns IngestFilterManagedByWorksheet.Id, and is useful for accessing the field via an interface.

func (*IngestFilterManagedByWorksheet) GetTypename added in v0.14.35

func (v *IngestFilterManagedByWorksheet) GetTypename() *string

GetTypename returns IngestFilterManagedByWorksheet.Typename, and is useful for accessing the field via an interface.

type IngestFilterManagedByWorkspaceObject added in v0.14.35

type IngestFilterManagedByWorkspaceObject interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// contains filtered or unexported methods
}

IngestFilterManagedByWorkspaceObject includes the requested fields of the GraphQL interface WorkspaceObject.

IngestFilterManagedByWorkspaceObject is implemented by the following types: IngestFilterManagedByApp IngestFilterManagedByAppDataSource IngestFilterManagedByBookmarkGroup IngestFilterManagedByDashboard IngestFilterManagedByDashboardLink IngestFilterManagedByDashboardRef IngestFilterManagedByDataConnection IngestFilterManagedByDataset IngestFilterManagedByDatasetOutboundShare IngestFilterManagedByDatasource IngestFilterManagedByDatastream IngestFilterManagedByFiledrop IngestFilterManagedByFolder IngestFilterManagedByIncident IngestFilterManagedByIngestFilter IngestFilterManagedByIngestToken IngestFilterManagedByInvestigationNotebook IngestFilterManagedByLayeredSettingRecord IngestFilterManagedByMonitor IngestFilterManagedByMonitorActionAttachment IngestFilterManagedByMonitorMuteRule IngestFilterManagedByMonitorV2 IngestFilterManagedByMonitorV2Action IngestFilterManagedByMonitorV2MuteRule IngestFilterManagedByPoller IngestFilterManagedByPreferredPath IngestFilterManagedByReferenceTable IngestFilterManagedBySnowflakeOutboundShare IngestFilterManagedByWorksheet The GraphQL type's documentation follows.

WorkspaceObject encompasses all objects within a workspace

type IngestInfo added in v0.14.10

type IngestInfo struct {
	CollectUrl string `json:"collectUrl"`
	Domain     string `json:"domain"`
	Scheme     string `json:"scheme"`
	Port       string `json:"port"`
}

IngestInfo includes the GraphQL fields of IngestInfo requested by the fragment IngestInfo. The GraphQL type's documentation follows.

Information on the data ingestion endpoint, full URL format is: <scheme>://<customerId>.collect.<domain>:<port>/

func (*IngestInfo) GetCollectUrl added in v0.14.10

func (v *IngestInfo) GetCollectUrl() string

GetCollectUrl returns IngestInfo.CollectUrl, and is useful for accessing the field via an interface.

func (*IngestInfo) GetDomain added in v0.14.10

func (v *IngestInfo) GetDomain() string

GetDomain returns IngestInfo.Domain, and is useful for accessing the field via an interface.

func (*IngestInfo) GetPort added in v0.14.10

func (v *IngestInfo) GetPort() string

GetPort returns IngestInfo.Port, and is useful for accessing the field via an interface.

func (*IngestInfo) GetScheme added in v0.14.10

func (v *IngestInfo) GetScheme() string

GetScheme returns IngestInfo.Scheme, and is useful for accessing the field via an interface.

type IngestToken added in v0.14.37

type IngestToken struct {
	Id          string  `json:"id"`
	WorkspaceId string  `json:"workspaceId"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	Disabled    *bool   `json:"disabled"`
	// Authtoken secret associated with this ingest token, only populated for creates
	Secret *string `json:"secret"`
}

IngestToken includes the GraphQL fields of IngestToken requested by the fragment IngestToken.

func (*IngestToken) GetDescription added in v0.14.37

func (v *IngestToken) GetDescription() *string

GetDescription returns IngestToken.Description, and is useful for accessing the field via an interface.

func (*IngestToken) GetDisabled added in v0.14.37

func (v *IngestToken) GetDisabled() *bool

GetDisabled returns IngestToken.Disabled, and is useful for accessing the field via an interface.

func (*IngestToken) GetId added in v0.14.37

func (v *IngestToken) GetId() string

GetId returns IngestToken.Id, and is useful for accessing the field via an interface.

func (*IngestToken) GetName added in v0.14.37

func (v *IngestToken) GetName() string

GetName returns IngestToken.Name, and is useful for accessing the field via an interface.

func (*IngestToken) GetSecret added in v0.14.37

func (v *IngestToken) GetSecret() *string

GetSecret returns IngestToken.Secret, and is useful for accessing the field via an interface.

func (*IngestToken) GetWorkspaceId added in v0.14.37

func (v *IngestToken) GetWorkspaceId() string

GetWorkspaceId returns IngestToken.WorkspaceId, and is useful for accessing the field via an interface.

type IngestTokenInput added in v0.14.37

type IngestTokenInput struct {
	Disabled    *bool   `json:"disabled"`
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	ManagedById *string `json:"managedById"`
	FolderId    *string `json:"folderId"`
}

func (*IngestTokenInput) GetDescription added in v0.14.37

func (v *IngestTokenInput) GetDescription() *string

GetDescription returns IngestTokenInput.Description, and is useful for accessing the field via an interface.

func (*IngestTokenInput) GetDisabled added in v0.14.37

func (v *IngestTokenInput) GetDisabled() *bool

GetDisabled returns IngestTokenInput.Disabled, and is useful for accessing the field via an interface.

func (*IngestTokenInput) GetFolderId added in v0.14.37

func (v *IngestTokenInput) GetFolderId() *string

GetFolderId returns IngestTokenInput.FolderId, and is useful for accessing the field via an interface.

func (*IngestTokenInput) GetIconUrl added in v0.14.37

func (v *IngestTokenInput) GetIconUrl() *string

GetIconUrl returns IngestTokenInput.IconUrl, and is useful for accessing the field via an interface.

func (*IngestTokenInput) GetManagedById added in v0.14.37

func (v *IngestTokenInput) GetManagedById() *string

GetManagedById returns IngestTokenInput.ManagedById, and is useful for accessing the field via an interface.

func (*IngestTokenInput) GetName added in v0.14.37

func (v *IngestTokenInput) GetName() *string

GetName returns IngestTokenInput.Name, and is useful for accessing the field via an interface.

type InputDefinitionInput

type InputDefinitionInput struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string `json:"inputName"`
	// If this input is to be used for a purpose other than "slurp data," then specify that here.
	InputRole *InputRole `json:"inputRole"`
	// Datasets defined by IDs refer to latest-published version of dataset.
	DatasetId *string `json:"datasetId"`
	// Format of datasetPath is projectlabel.datasetlabel
	DatasetPath *string `json:"datasetPath"`
	// Reference a previous query in the worksheet by label
	StageID *string `json:"stageID,omitempty"`
	StageId *string `json:"stageId,omitempty"`
	// If this input is parameterized, this will contain the ID of the parameter to substitute for this input. Parameters
	// are bound in the QueryParams for the query being issued with this input.
	ParameterId *string `json:"parameterId"`
}

func (*InputDefinitionInput) GetDatasetId

func (v *InputDefinitionInput) GetDatasetId() *string

GetDatasetId returns InputDefinitionInput.DatasetId, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetDatasetPath

func (v *InputDefinitionInput) GetDatasetPath() *string

GetDatasetPath returns InputDefinitionInput.DatasetPath, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetInputName

func (v *InputDefinitionInput) GetInputName() string

GetInputName returns InputDefinitionInput.InputName, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetInputRole

func (v *InputDefinitionInput) GetInputRole() *InputRole

GetInputRole returns InputDefinitionInput.InputRole, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetParameterId

func (v *InputDefinitionInput) GetParameterId() *string

GetParameterId returns InputDefinitionInput.ParameterId, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetStageID

func (v *InputDefinitionInput) GetStageID() *string

GetStageID returns InputDefinitionInput.StageID, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetStageId

func (v *InputDefinitionInput) GetStageId() *string

GetStageId returns InputDefinitionInput.StageId, and is useful for accessing the field via an interface.

type InputRole

type InputRole string

Why do we separate "Data" bindings from "Reference" bindings? Why does this have to be pre-declared, rather than resolved at the end by the compiler?

Because we have the hard rule that physical dataset IDs only exist in the API, not at the OPAL level, we wouldn't know which particular dataset you'd suggest to use, unless the input binding was pre-declared. If we just made something up in GetTargetDatasetBinding() then how would we later know which shape to resolve it to?

The user writes addfk "some name", id=@theThing.id

We need to know what theThing really means. Hence, it needs a binding. Hence, when bindings are specified, we need to know whether you expect that to be 100% defined, or left pending. We could allow a less concrete pipeline specification. Leave @theThing entirely unresolved, and only resolve it using some later operation that says "and wherever I called something @theThing, now I mean this thing!" (edited)

Which means that we have to live with pipelines that are constantly in unresolved and unresolvable states, and only some pipelines can run. We also can no longer preview the data until that next step has been taken.

I e, we assume each query (set of stages) compiles and links as a unit. There is no separate compilation, because the user experience and complexity of that abstraction seems unnecessary just to solve this one use case in this one alternative way.

const (
	InputRoleDefault   InputRole = "Default"
	InputRoleData      InputRole = "Data"
	InputRoleReference InputRole = "Reference"
)

type LayeredSettingRecord

type LayeredSettingRecord struct {
	SettingAndTargetScope SettingAndTargetScope `json:"settingAndTargetScope"`
	Value                 PrimitiveValue        `json:"value"`
	Id                    string                `json:"id"`
	// This is the name of the settings record, not the name of the setting!
	Name string `json:"name"`
	// This is the description of the settings record, not the description of the setting!
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById"`
	FolderId    string  `json:"folderId"`
}

LayeredSettingRecord includes the GraphQL fields of LayeredSettingRecord requested by the fragment LayeredSettingRecord. The GraphQL type's documentation follows.

A Layered Setting is like a feature flag that can be controlled by customers. It allows control on a per-scope basis, where scope could be entire customer, workspace, folder, app, dataset, monitor, or similar, with a broad-to-detailed inheritance hierarchy.

A Layered Setting Record is a record setting the value of a Layered Setting at a particular scope. When the value of a Layered Setting is read from a particular scope, we merge the Layered Setting Records at each scope that contains the requested scope to determine the return value.

func (*LayeredSettingRecord) GetDescription

func (v *LayeredSettingRecord) GetDescription() *string

GetDescription returns LayeredSettingRecord.Description, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetFolderId

func (v *LayeredSettingRecord) GetFolderId() string

GetFolderId returns LayeredSettingRecord.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetIconUrl

func (v *LayeredSettingRecord) GetIconUrl() *string

GetIconUrl returns LayeredSettingRecord.IconUrl, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetId

func (v *LayeredSettingRecord) GetId() string

GetId returns LayeredSettingRecord.Id, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetManagedById

func (v *LayeredSettingRecord) GetManagedById() *string

GetManagedById returns LayeredSettingRecord.ManagedById, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetName

func (v *LayeredSettingRecord) GetName() string

GetName returns LayeredSettingRecord.Name, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetSettingAndTargetScope

func (v *LayeredSettingRecord) GetSettingAndTargetScope() SettingAndTargetScope

GetSettingAndTargetScope returns LayeredSettingRecord.SettingAndTargetScope, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetValue

func (v *LayeredSettingRecord) GetValue() PrimitiveValue

GetValue returns LayeredSettingRecord.Value, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetWorkspaceId

func (v *LayeredSettingRecord) GetWorkspaceId() string

GetWorkspaceId returns LayeredSettingRecord.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordInput

type LayeredSettingRecordInput struct {
	SettingAndTargetScope SettingAndTargetScopeInput `json:"settingAndTargetScope"`
	Value                 PrimitiveValueInput        `json:"value"`
	Id                    *string                    `json:"id"`
	// This is the name of the settings record, not the name of the setting!
	//
	// If you give the layered setting record the empty name, it will get an auto-generated
	// name based on the setting and target. This is mainly convenient when creating these
	// within code itself, but can also be used by API users who don't want to manage a
	// separate name.
	Name string `json:"name"`
	// This is the description of the settings record, not the description of the setting!
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById,omitempty"`
	FolderId    *string `json:"folderId"`
}

func (*LayeredSettingRecordInput) GetDescription

func (v *LayeredSettingRecordInput) GetDescription() *string

GetDescription returns LayeredSettingRecordInput.Description, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetFolderId

func (v *LayeredSettingRecordInput) GetFolderId() *string

GetFolderId returns LayeredSettingRecordInput.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetIconUrl

func (v *LayeredSettingRecordInput) GetIconUrl() *string

GetIconUrl returns LayeredSettingRecordInput.IconUrl, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetId

func (v *LayeredSettingRecordInput) GetId() *string

GetId returns LayeredSettingRecordInput.Id, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetManagedById

func (v *LayeredSettingRecordInput) GetManagedById() *string

GetManagedById returns LayeredSettingRecordInput.ManagedById, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetName

func (v *LayeredSettingRecordInput) GetName() string

GetName returns LayeredSettingRecordInput.Name, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetSettingAndTargetScope

func (v *LayeredSettingRecordInput) GetSettingAndTargetScope() SettingAndTargetScopeInput

GetSettingAndTargetScope returns LayeredSettingRecordInput.SettingAndTargetScope, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetValue

GetValue returns LayeredSettingRecordInput.Value, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetWorkspaceId

func (v *LayeredSettingRecordInput) GetWorkspaceId() string

GetWorkspaceId returns LayeredSettingRecordInput.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordTarget

type LayeredSettingRecordTarget struct {
	CustomerId   *string             `json:"customerId"`
	WorkspaceId  *string             `json:"workspaceId"`
	FolderId     *string             `json:"folderId"`
	AppId        *string             `json:"appId"`
	MonitorId    *string             `json:"monitorId"`
	WorksheetId  *string             `json:"worksheetId"`
	DashboardId  *string             `json:"dashboardId"`
	DatasetId    *string             `json:"datasetId"`
	DatastreamId *string             `json:"datastreamId"`
	RbacGroupId  *string             `json:"rbacGroupId"`
	UserId       *types.UserIdScalar `json:"userId"`
}

LayeredSettingRecordTarget includes the GraphQL fields of LayeredSettingRecordTarget requested by the fragment LayeredSettingRecordTarget. The GraphQL type's documentation follows.

When configuring a particular target, a single object ID should be non-null in the LayeredSettingRecordTarget. If you want to affect "everything in this folder, and also this particular dataset," then create two LayeredSettingRecords.

func (*LayeredSettingRecordTarget) GetAppId

func (v *LayeredSettingRecordTarget) GetAppId() *string

GetAppId returns LayeredSettingRecordTarget.AppId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetCustomerId

func (v *LayeredSettingRecordTarget) GetCustomerId() *string

GetCustomerId returns LayeredSettingRecordTarget.CustomerId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDashboardId

func (v *LayeredSettingRecordTarget) GetDashboardId() *string

GetDashboardId returns LayeredSettingRecordTarget.DashboardId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDatasetId

func (v *LayeredSettingRecordTarget) GetDatasetId() *string

GetDatasetId returns LayeredSettingRecordTarget.DatasetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDatastreamId

func (v *LayeredSettingRecordTarget) GetDatastreamId() *string

GetDatastreamId returns LayeredSettingRecordTarget.DatastreamId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetFolderId

func (v *LayeredSettingRecordTarget) GetFolderId() *string

GetFolderId returns LayeredSettingRecordTarget.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetMonitorId

func (v *LayeredSettingRecordTarget) GetMonitorId() *string

GetMonitorId returns LayeredSettingRecordTarget.MonitorId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetRbacGroupId added in v0.14.28

func (v *LayeredSettingRecordTarget) GetRbacGroupId() *string

GetRbacGroupId returns LayeredSettingRecordTarget.RbacGroupId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetUserId

GetUserId returns LayeredSettingRecordTarget.UserId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetWorksheetId

func (v *LayeredSettingRecordTarget) GetWorksheetId() *string

GetWorksheetId returns LayeredSettingRecordTarget.WorksheetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetWorkspaceId

func (v *LayeredSettingRecordTarget) GetWorkspaceId() *string

GetWorkspaceId returns LayeredSettingRecordTarget.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordTargetInput

type LayeredSettingRecordTargetInput struct {
	CustomerId   *string             `json:"customerId,omitempty"`
	WorkspaceId  *string             `json:"workspaceId,omitempty"`
	FolderId     *string             `json:"folderId,omitempty"`
	AppId        *string             `json:"appId,omitempty"`
	WorksheetId  *string             `json:"worksheetId,omitempty"`
	DashboardId  *string             `json:"dashboardId,omitempty"`
	DatastreamId *string             `json:"datastreamId"`
	MonitorId    *string             `json:"monitorId,omitempty"`
	DatasetId    *string             `json:"datasetId,omitempty"`
	RbacGroupId  *string             `json:"rbacGroupId,omitempty"`
	UserId       *types.UserIdScalar `json:"userId,omitempty"`
}

func (*LayeredSettingRecordTargetInput) GetAppId

func (v *LayeredSettingRecordTargetInput) GetAppId() *string

GetAppId returns LayeredSettingRecordTargetInput.AppId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetCustomerId

func (v *LayeredSettingRecordTargetInput) GetCustomerId() *string

GetCustomerId returns LayeredSettingRecordTargetInput.CustomerId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDashboardId

func (v *LayeredSettingRecordTargetInput) GetDashboardId() *string

GetDashboardId returns LayeredSettingRecordTargetInput.DashboardId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDatasetId

func (v *LayeredSettingRecordTargetInput) GetDatasetId() *string

GetDatasetId returns LayeredSettingRecordTargetInput.DatasetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDatastreamId

func (v *LayeredSettingRecordTargetInput) GetDatastreamId() *string

GetDatastreamId returns LayeredSettingRecordTargetInput.DatastreamId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetFolderId

func (v *LayeredSettingRecordTargetInput) GetFolderId() *string

GetFolderId returns LayeredSettingRecordTargetInput.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetMonitorId

func (v *LayeredSettingRecordTargetInput) GetMonitorId() *string

GetMonitorId returns LayeredSettingRecordTargetInput.MonitorId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetRbacGroupId added in v0.14.28

func (v *LayeredSettingRecordTargetInput) GetRbacGroupId() *string

GetRbacGroupId returns LayeredSettingRecordTargetInput.RbacGroupId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetUserId

GetUserId returns LayeredSettingRecordTargetInput.UserId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetWorksheetId

func (v *LayeredSettingRecordTargetInput) GetWorksheetId() *string

GetWorksheetId returns LayeredSettingRecordTargetInput.WorksheetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetWorkspaceId

func (v *LayeredSettingRecordTargetInput) GetWorkspaceId() *string

GetWorkspaceId returns LayeredSettingRecordTargetInput.WorkspaceId, and is useful for accessing the field via an interface.

type LinkFieldInput added in v0.14.10

type LinkFieldInput struct {
	Column string  `json:"column"`
	Path   *string `json:"path"`
}

func (*LinkFieldInput) GetColumn added in v0.14.10

func (v *LinkFieldInput) GetColumn() string

GetColumn returns LinkFieldInput.Column, and is useful for accessing the field via an interface.

func (*LinkFieldInput) GetPath added in v0.14.10

func (v *LinkFieldInput) GetPath() *string

GetPath returns LinkFieldInput.Path, and is useful for accessing the field via an interface.

type ModuleVersion

type ModuleVersion struct {
	Version string `json:"version"`
}

ModuleVersion includes the GraphQL fields of ModuleVersion requested by the fragment ModuleVersion. The GraphQL type's documentation follows.

ModuleVersion represents the metadata for a specific version of an application

func (*ModuleVersion) GetVersion

func (v *ModuleVersion) GetVersion() string

GetVersion returns ModuleVersion.Version, and is useful for accessing the field via an interface.

type Monitor

type Monitor struct {
	WorkspaceId string `json:"workspaceId"`
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	// Static comment for extra information about a monitor available in notification template.
	Comment             *string           `json:"comment"`
	IconUrl             string            `json:"iconUrl"`
	IsTemplate          bool              `json:"isTemplate"`
	Disabled            bool              `json:"disabled"`
	FreshnessGoal       types.Int64Scalar `json:"freshnessGoal"`
	UseDefaultFreshness bool              `json:"useDefaultFreshness"`
	Source              string            `json:"source"`
	Definition          *types.JsonObject `json:"definition"`
	ManagedById         *string           `json:"managedById"`
	// The source stage may be empty, just specifying an input dataset,
	// or it may include actual transform work
	Query            MonitorQueryMultiStageQuery                      `json:"query"`
	Rule             MonitorRule                                      `json:"-"`
	NotificationSpec MonitorNotificationSpecNotificationSpecification `json:"notificationSpec"`
}

Monitor includes the GraphQL fields of Monitor requested by the fragment Monitor.

func (*Monitor) GetComment

func (v *Monitor) GetComment() *string

GetComment returns Monitor.Comment, and is useful for accessing the field via an interface.

func (*Monitor) GetDefinition added in v0.14.2

func (v *Monitor) GetDefinition() *types.JsonObject

GetDefinition returns Monitor.Definition, and is useful for accessing the field via an interface.

func (*Monitor) GetDescription

func (v *Monitor) GetDescription() string

GetDescription returns Monitor.Description, and is useful for accessing the field via an interface.

func (*Monitor) GetDisabled

func (v *Monitor) GetDisabled() bool

GetDisabled returns Monitor.Disabled, and is useful for accessing the field via an interface.

func (*Monitor) GetFreshnessGoal

func (v *Monitor) GetFreshnessGoal() types.Int64Scalar

GetFreshnessGoal returns Monitor.FreshnessGoal, and is useful for accessing the field via an interface.

func (*Monitor) GetIconUrl

func (v *Monitor) GetIconUrl() string

GetIconUrl returns Monitor.IconUrl, and is useful for accessing the field via an interface.

func (*Monitor) GetId

func (v *Monitor) GetId() string

GetId returns Monitor.Id, and is useful for accessing the field via an interface.

func (*Monitor) GetIsTemplate

func (v *Monitor) GetIsTemplate() bool

GetIsTemplate returns Monitor.IsTemplate, and is useful for accessing the field via an interface.

func (*Monitor) GetManagedById

func (v *Monitor) GetManagedById() *string

GetManagedById returns Monitor.ManagedById, and is useful for accessing the field via an interface.

func (*Monitor) GetName

func (v *Monitor) GetName() string

GetName returns Monitor.Name, and is useful for accessing the field via an interface.

func (*Monitor) GetNotificationSpec

GetNotificationSpec returns Monitor.NotificationSpec, and is useful for accessing the field via an interface.

func (*Monitor) GetQuery

func (v *Monitor) GetQuery() MonitorQueryMultiStageQuery

GetQuery returns Monitor.Query, and is useful for accessing the field via an interface.

func (*Monitor) GetRule

func (v *Monitor) GetRule() MonitorRule

GetRule returns Monitor.Rule, and is useful for accessing the field via an interface.

func (*Monitor) GetSource

func (v *Monitor) GetSource() string

GetSource returns Monitor.Source, and is useful for accessing the field via an interface.

func (*Monitor) GetUseDefaultFreshness

func (v *Monitor) GetUseDefaultFreshness() bool

GetUseDefaultFreshness returns Monitor.UseDefaultFreshness, and is useful for accessing the field via an interface.

func (*Monitor) GetWorkspaceId

func (v *Monitor) GetWorkspaceId() string

GetWorkspaceId returns Monitor.WorkspaceId, and is useful for accessing the field via an interface.

func (*Monitor) MarshalJSON

func (v *Monitor) MarshalJSON() ([]byte, error)

func (*Monitor) Oid

func (m *Monitor) Oid() *oid.OID

func (*Monitor) UnmarshalJSON

func (v *Monitor) UnmarshalJSON(b []byte) error

type MonitorAction

type MonitorAction interface {

	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// GetIconUrl returns the interface-field "iconUrl" from its implementation.
	GetIconUrl() string
	// GetDescription returns the interface-field "description" from its implementation.
	GetDescription() string
	// GetWorkspaceId returns the interface-field "workspaceId" from its implementation.
	GetWorkspaceId() string
	// GetRateLimit returns the interface-field "rateLimit" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	GetRateLimit() types.DurationScalar
	// GetNotifyOnClose returns the interface-field "notifyOnClose" from its implementation.
	GetNotifyOnClose() bool
	// GetIsPrivate returns the interface-field "isPrivate" from its implementation.
	GetIsPrivate() bool
	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

MonitorAction includes the GraphQL fields of MonitorAction requested by the fragment MonitorAction.

MonitorAction is implemented by the following types: MonitorActionEmailAction MonitorActionWebhookAction MonitorActionUnknownAction

type MonitorActionAttachment

type MonitorActionAttachment struct {
	MonitorID   string  `json:"monitorID"`
	ActionID    string  `json:"actionID"`
	Id          string  `json:"id"`
	WorkspaceId string  `json:"workspaceId"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
}

MonitorActionAttachment includes the GraphQL fields of MonitorActionAttachment requested by the fragment MonitorActionAttachment.

func (*MonitorActionAttachment) GetActionID

func (v *MonitorActionAttachment) GetActionID() string

GetActionID returns MonitorActionAttachment.ActionID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetDescription

func (v *MonitorActionAttachment) GetDescription() *string

GetDescription returns MonitorActionAttachment.Description, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetIconUrl

func (v *MonitorActionAttachment) GetIconUrl() *string

GetIconUrl returns MonitorActionAttachment.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetId

func (v *MonitorActionAttachment) GetId() string

GetId returns MonitorActionAttachment.Id, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetMonitorID

func (v *MonitorActionAttachment) GetMonitorID() string

GetMonitorID returns MonitorActionAttachment.MonitorID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetName

func (v *MonitorActionAttachment) GetName() string

GetName returns MonitorActionAttachment.Name, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetWorkspaceId

func (v *MonitorActionAttachment) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionAttachment.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionAttachmentInput

type MonitorActionAttachmentInput struct {
	MonitorID   string  `json:"monitorID"`
	ActionID    string  `json:"actionID"`
	ChannelID   *string `json:"channelID"`
	WorkspaceId string  `json:"workspaceId"`
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	ManagedById *string `json:"managedById"`
	FolderId    *string `json:"folderId"`
}

func (*MonitorActionAttachmentInput) GetActionID

func (v *MonitorActionAttachmentInput) GetActionID() string

GetActionID returns MonitorActionAttachmentInput.ActionID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetChannelID

func (v *MonitorActionAttachmentInput) GetChannelID() *string

GetChannelID returns MonitorActionAttachmentInput.ChannelID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetDescription

func (v *MonitorActionAttachmentInput) GetDescription() *string

GetDescription returns MonitorActionAttachmentInput.Description, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetFolderId

func (v *MonitorActionAttachmentInput) GetFolderId() *string

GetFolderId returns MonitorActionAttachmentInput.FolderId, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetIconUrl

func (v *MonitorActionAttachmentInput) GetIconUrl() *string

GetIconUrl returns MonitorActionAttachmentInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetManagedById

func (v *MonitorActionAttachmentInput) GetManagedById() *string

GetManagedById returns MonitorActionAttachmentInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetMonitorID

func (v *MonitorActionAttachmentInput) GetMonitorID() string

GetMonitorID returns MonitorActionAttachmentInput.MonitorID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetName

func (v *MonitorActionAttachmentInput) GetName() *string

GetName returns MonitorActionAttachmentInput.Name, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetWorkspaceId

func (v *MonitorActionAttachmentInput) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionAttachmentInput.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionEmailAction

type MonitorActionEmailAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit       types.DurationScalar `json:"rateLimit"`
	NotifyOnClose   bool                 `json:"notifyOnClose"`
	IsPrivate       bool                 `json:"isPrivate"`
	Typename        *string              `json:"__typename"`
	TargetAddresses []string             `json:"targetAddresses"`
	SubjectTemplate string               `json:"subjectTemplate"`
	BodyTemplate    string               `json:"bodyTemplate"`
	IsHtml          bool                 `json:"isHtml"`
}

MonitorAction includes the GraphQL fields of EmailAction requested by the fragment MonitorAction.

func (*MonitorActionEmailAction) GetBodyTemplate

func (v *MonitorActionEmailAction) GetBodyTemplate() string

GetBodyTemplate returns MonitorActionEmailAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetDescription

func (v *MonitorActionEmailAction) GetDescription() string

GetDescription returns MonitorActionEmailAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIconUrl

func (v *MonitorActionEmailAction) GetIconUrl() string

GetIconUrl returns MonitorActionEmailAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetId

func (v *MonitorActionEmailAction) GetId() string

GetId returns MonitorActionEmailAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIsHtml

func (v *MonitorActionEmailAction) GetIsHtml() bool

GetIsHtml returns MonitorActionEmailAction.IsHtml, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIsPrivate

func (v *MonitorActionEmailAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionEmailAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetName

func (v *MonitorActionEmailAction) GetName() string

GetName returns MonitorActionEmailAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetNotifyOnClose

func (v *MonitorActionEmailAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionEmailAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetRateLimit

func (v *MonitorActionEmailAction) GetRateLimit() types.DurationScalar

GetRateLimit returns MonitorActionEmailAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetSubjectTemplate

func (v *MonitorActionEmailAction) GetSubjectTemplate() string

GetSubjectTemplate returns MonitorActionEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetTargetAddresses

func (v *MonitorActionEmailAction) GetTargetAddresses() []string

GetTargetAddresses returns MonitorActionEmailAction.TargetAddresses, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetTypename

func (v *MonitorActionEmailAction) GetTypename() *string

GetTypename returns MonitorActionEmailAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetWorkspaceId

func (v *MonitorActionEmailAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionEmailAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionHeadersWebhookHeader

type MonitorActionHeadersWebhookHeader struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

MonitorActionHeadersWebhookHeader includes the requested fields of the GraphQL type WebhookHeader.

func (*MonitorActionHeadersWebhookHeader) GetHeader

GetHeader returns MonitorActionHeadersWebhookHeader.Header, and is useful for accessing the field via an interface.

func (*MonitorActionHeadersWebhookHeader) GetValueTemplate

func (v *MonitorActionHeadersWebhookHeader) GetValueTemplate() string

GetValueTemplate returns MonitorActionHeadersWebhookHeader.ValueTemplate, and is useful for accessing the field via an interface.

type MonitorActionInput

type MonitorActionInput struct {
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit        *types.DurationScalar `json:"rateLimit"`
	NotifyOnClose    bool                  `json:"notifyOnClose"`
	NotifyOnReminder bool                  `json:"notifyOnReminder"`
	IsPrivate        bool                  `json:"isPrivate"`
	Email            *EmailActionInput     `json:"email"`
	Webhook          *WebhookActionInput   `json:"webhook"`
	WorkspaceId      string                `json:"workspaceId"`
	Name             string                `json:"name"`
	IconUrl          *string               `json:"iconUrl"`
	Description      *string               `json:"description"`
	ManagedById      *string               `json:"managedById"`
	FolderId         *string               `json:"folderId"`
}

func (*MonitorActionInput) GetDescription

func (v *MonitorActionInput) GetDescription() *string

GetDescription returns MonitorActionInput.Description, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetEmail

func (v *MonitorActionInput) GetEmail() *EmailActionInput

GetEmail returns MonitorActionInput.Email, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetFolderId

func (v *MonitorActionInput) GetFolderId() *string

GetFolderId returns MonitorActionInput.FolderId, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetIconUrl

func (v *MonitorActionInput) GetIconUrl() *string

GetIconUrl returns MonitorActionInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetIsPrivate

func (v *MonitorActionInput) GetIsPrivate() bool

GetIsPrivate returns MonitorActionInput.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetManagedById

func (v *MonitorActionInput) GetManagedById() *string

GetManagedById returns MonitorActionInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetName

func (v *MonitorActionInput) GetName() string

GetName returns MonitorActionInput.Name, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetNotifyOnClose

func (v *MonitorActionInput) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetNotifyOnReminder

func (v *MonitorActionInput) GetNotifyOnReminder() bool

GetNotifyOnReminder returns MonitorActionInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetRateLimit

func (v *MonitorActionInput) GetRateLimit() *types.DurationScalar

GetRateLimit returns MonitorActionInput.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetWebhook

func (v *MonitorActionInput) GetWebhook() *WebhookActionInput

GetWebhook returns MonitorActionInput.Webhook, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetWorkspaceId

func (v *MonitorActionInput) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionInput.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionUnknownAction

type MonitorActionUnknownAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit     types.DurationScalar `json:"rateLimit"`
	NotifyOnClose bool                 `json:"notifyOnClose"`
	IsPrivate     bool                 `json:"isPrivate"`
	Typename      *string              `json:"__typename"`
}

MonitorAction includes the GraphQL fields of UnknownAction requested by the fragment MonitorAction.

func (*MonitorActionUnknownAction) GetDescription

func (v *MonitorActionUnknownAction) GetDescription() string

GetDescription returns MonitorActionUnknownAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetIconUrl

func (v *MonitorActionUnknownAction) GetIconUrl() string

GetIconUrl returns MonitorActionUnknownAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetId

GetId returns MonitorActionUnknownAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetIsPrivate

func (v *MonitorActionUnknownAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionUnknownAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetName

func (v *MonitorActionUnknownAction) GetName() string

GetName returns MonitorActionUnknownAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetNotifyOnClose

func (v *MonitorActionUnknownAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionUnknownAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetRateLimit

GetRateLimit returns MonitorActionUnknownAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetTypename

func (v *MonitorActionUnknownAction) GetTypename() *string

GetTypename returns MonitorActionUnknownAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetWorkspaceId

func (v *MonitorActionUnknownAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionUnknownAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionWebhookAction

type MonitorActionWebhookAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit     types.DurationScalar                `json:"rateLimit"`
	NotifyOnClose bool                                `json:"notifyOnClose"`
	IsPrivate     bool                                `json:"isPrivate"`
	Typename      *string                             `json:"__typename"`
	UrlTemplate   string                              `json:"urlTemplate"`
	Method        string                              `json:"method"`
	Headers       []MonitorActionHeadersWebhookHeader `json:"headers"`
	BodyTemplate  string                              `json:"bodyTemplate"`
}

MonitorAction includes the GraphQL fields of WebhookAction requested by the fragment MonitorAction.

func (*MonitorActionWebhookAction) GetBodyTemplate

func (v *MonitorActionWebhookAction) GetBodyTemplate() string

GetBodyTemplate returns MonitorActionWebhookAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetDescription

func (v *MonitorActionWebhookAction) GetDescription() string

GetDescription returns MonitorActionWebhookAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetHeaders

GetHeaders returns MonitorActionWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetIconUrl

func (v *MonitorActionWebhookAction) GetIconUrl() string

GetIconUrl returns MonitorActionWebhookAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetId

GetId returns MonitorActionWebhookAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetIsPrivate

func (v *MonitorActionWebhookAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionWebhookAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetMethod

func (v *MonitorActionWebhookAction) GetMethod() string

GetMethod returns MonitorActionWebhookAction.Method, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetName

func (v *MonitorActionWebhookAction) GetName() string

GetName returns MonitorActionWebhookAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetNotifyOnClose

func (v *MonitorActionWebhookAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionWebhookAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetRateLimit

GetRateLimit returns MonitorActionWebhookAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetTypename

func (v *MonitorActionWebhookAction) GetTypename() *string

GetTypename returns MonitorActionWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetUrlTemplate

func (v *MonitorActionWebhookAction) GetUrlTemplate() string

GetUrlTemplate returns MonitorActionWebhookAction.UrlTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetWorkspaceId

func (v *MonitorActionWebhookAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionWebhookAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorGroupByColumnPathInput

type MonitorGroupByColumnPathInput struct {
	Column string `json:"column"`
	Path   string `json:"path"`
}

func (*MonitorGroupByColumnPathInput) GetColumn

func (v *MonitorGroupByColumnPathInput) GetColumn() string

GetColumn returns MonitorGroupByColumnPathInput.Column, and is useful for accessing the field via an interface.

func (*MonitorGroupByColumnPathInput) GetPath

GetPath returns MonitorGroupByColumnPathInput.Path, and is useful for accessing the field via an interface.

type MonitorGroupInfoInput

type MonitorGroupInfoInput struct {
	// GroupBy:
	// ┌───────────┬─────────┬──────────────────────────┬─────────────┬────────────┐
	// │GroupBy    │Resource │Link                      │Value column │Column Path │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │groupName  │Empty    │Non-empty (FK label)      │Empty        │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columns    │Empty    │Non-empty (FK Src fields) │Non-empty    │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columnPath │Nil      │Nil                       │Nil          │Non-nil     │
	// └───────────┴─────────┴──────────────────────────┴─────────────┴────────────┘
	Columns    []string                       `json:"columns"`
	GroupName  string                         `json:"groupName"`
	ColumnPath *MonitorGroupByColumnPathInput `json:"columnPath"`
}

func (*MonitorGroupInfoInput) GetColumnPath

GetColumnPath returns MonitorGroupInfoInput.ColumnPath, and is useful for accessing the field via an interface.

func (*MonitorGroupInfoInput) GetColumns

func (v *MonitorGroupInfoInput) GetColumns() []string

GetColumns returns MonitorGroupInfoInput.Columns, and is useful for accessing the field via an interface.

func (*MonitorGroupInfoInput) GetGroupName

func (v *MonitorGroupInfoInput) GetGroupName() string

GetGroupName returns MonitorGroupInfoInput.GroupName, and is useful for accessing the field via an interface.

type MonitorGrouping

type MonitorGrouping string
const (
	MonitorGroupingNone       MonitorGrouping = "None"
	MonitorGroupingValue      MonitorGrouping = "Value"
	MonitorGroupingResource   MonitorGrouping = "Resource"
	MonitorGroupingLinktarget MonitorGrouping = "LinkTarget"
)

type MonitorInput

type MonitorInput struct {
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	// Static comment for extra information about a monitor available in notification template.
	Comment *string `json:"comment"`
	// Examples - "terraform", "webui".
	Source *string `json:"source"`
	// Only when the monitor is updated.
	OverwriteSource *bool `json:"overwriteSource,omitempty"`
	// The optional id of the object that owns the monitor. Ex: the id of an app that installs the monitor.
	ManagedById          *string `json:"managedById"`
	Disabled             *bool   `json:"disabled"`
	AccelerationDisabled *bool   `json:"accelerationDisabled,omitempty"`
	IsTemplate           *bool   `json:"isTemplate"`
	// Similar to dataset freshness goal, this is in Nanoseconds when received from UI.
	// Only changes setting if useDefaultFreshness is false
	FreshnessGoal *types.Int64Scalar `json:"freshnessGoal,omitempty"`
	// Defaults to true on creation if not specified
	UseDefaultFreshness *bool                           `json:"useDefaultFreshness"`
	Query               *MultiStageQueryInput           `json:"query"`
	Definition          *types.JsonObject               `json:"definition"`
	Rule                *MonitorRuleInput               `json:"rule"`
	NotificationSpec    *NotificationSpecificationInput `json:"notificationSpec"`
	Channels            []string                        `json:"channels"`
}

func (*MonitorInput) GetAccelerationDisabled

func (v *MonitorInput) GetAccelerationDisabled() *bool

GetAccelerationDisabled returns MonitorInput.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*MonitorInput) GetChannels

func (v *MonitorInput) GetChannels() []string

GetChannels returns MonitorInput.Channels, and is useful for accessing the field via an interface.

func (*MonitorInput) GetComment

func (v *MonitorInput) GetComment() *string

GetComment returns MonitorInput.Comment, and is useful for accessing the field via an interface.

func (*MonitorInput) GetDefinition added in v0.14.2

func (v *MonitorInput) GetDefinition() *types.JsonObject

GetDefinition returns MonitorInput.Definition, and is useful for accessing the field via an interface.

func (*MonitorInput) GetDescription

func (v *MonitorInput) GetDescription() *string

GetDescription returns MonitorInput.Description, and is useful for accessing the field via an interface.

func (*MonitorInput) GetDisabled

func (v *MonitorInput) GetDisabled() *bool

GetDisabled returns MonitorInput.Disabled, and is useful for accessing the field via an interface.

func (*MonitorInput) GetFreshnessGoal

func (v *MonitorInput) GetFreshnessGoal() *types.Int64Scalar

GetFreshnessGoal returns MonitorInput.FreshnessGoal, and is useful for accessing the field via an interface.

func (*MonitorInput) GetIconUrl

func (v *MonitorInput) GetIconUrl() *string

GetIconUrl returns MonitorInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorInput) GetIsTemplate

func (v *MonitorInput) GetIsTemplate() *bool

GetIsTemplate returns MonitorInput.IsTemplate, and is useful for accessing the field via an interface.

func (*MonitorInput) GetManagedById

func (v *MonitorInput) GetManagedById() *string

GetManagedById returns MonitorInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorInput) GetName

func (v *MonitorInput) GetName() *string

GetName returns MonitorInput.Name, and is useful for accessing the field via an interface.

func (*MonitorInput) GetNotificationSpec

func (v *MonitorInput) GetNotificationSpec() *NotificationSpecificationInput

GetNotificationSpec returns MonitorInput.NotificationSpec, and is useful for accessing the field via an interface.

func (*MonitorInput) GetOverwriteSource

func (v *MonitorInput) GetOverwriteSource() *bool

GetOverwriteSource returns MonitorInput.OverwriteSource, and is useful for accessing the field via an interface.

func (*MonitorInput) GetQuery

func (v *MonitorInput) GetQuery() *MultiStageQueryInput

GetQuery returns MonitorInput.Query, and is useful for accessing the field via an interface.

func (*MonitorInput) GetRule

func (v *MonitorInput) GetRule() *MonitorRuleInput

GetRule returns MonitorInput.Rule, and is useful for accessing the field via an interface.

func (*MonitorInput) GetSource

func (v *MonitorInput) GetSource() *string

GetSource returns MonitorInput.Source, and is useful for accessing the field via an interface.

func (*MonitorInput) GetUseDefaultFreshness

func (v *MonitorInput) GetUseDefaultFreshness() *bool

GetUseDefaultFreshness returns MonitorInput.UseDefaultFreshness, and is useful for accessing the field via an interface.

type MonitorNotificationSpecNotificationSpecification

type MonitorNotificationSpecNotificationSpecification struct {
	// should these go in each applicable Rule instead?
	Merge             *NotificationMerge     `json:"merge"`
	Importance        NotificationImportance `json:"importance"`
	NotifyOnReminder  *bool                  `json:"notifyOnReminder"`
	ReminderFrequency types.DurationScalar   `json:"reminderFrequency"`
	NotifyOnClose     *bool                  `json:"notifyOnClose"`
}

MonitorNotificationSpecNotificationSpecification includes the requested fields of the GraphQL type NotificationSpecification.

func (*MonitorNotificationSpecNotificationSpecification) GetImportance

GetImportance returns MonitorNotificationSpecNotificationSpecification.Importance, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetMerge

GetMerge returns MonitorNotificationSpecNotificationSpecification.Merge, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetNotifyOnClose

GetNotifyOnClose returns MonitorNotificationSpecNotificationSpecification.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetNotifyOnReminder

func (v *MonitorNotificationSpecNotificationSpecification) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns MonitorNotificationSpecNotificationSpecification.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetReminderFrequency

GetReminderFrequency returns MonitorNotificationSpecNotificationSpecification.ReminderFrequency, and is useful for accessing the field via an interface.

type MonitorQueryMultiStageQuery

type MonitorQueryMultiStageQuery struct {
	OutputStage string       `json:"outputStage"`
	Stages      []StageQuery `json:"stages"`
}

MonitorQueryMultiStageQuery includes the requested fields of the GraphQL type MultiStageQuery.

func (*MonitorQueryMultiStageQuery) GetOutputStage

func (v *MonitorQueryMultiStageQuery) GetOutputStage() string

GetOutputStage returns MonitorQueryMultiStageQuery.OutputStage, and is useful for accessing the field via an interface.

func (*MonitorQueryMultiStageQuery) GetStages

func (v *MonitorQueryMultiStageQuery) GetStages() []StageQuery

GetStages returns MonitorQueryMultiStageQuery.Stages, and is useful for accessing the field via an interface.

type MonitorRule

type MonitorRule interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetSourceColumn returns the interface-field "sourceColumn" from its implementation.
	GetSourceColumn() string
	// GetGroupByGroups returns the interface-field "groupByGroups" from its implementation.
	GetGroupByGroups() []MonitorRuleGroupByGroupsMonitorGroupInfo
	// contains filtered or unexported methods
}

MonitorRule includes the requested fields of the GraphQL interface MonitorRule.

MonitorRule is implemented by the following types: MonitorRuleMonitorRuleChange MonitorRuleMonitorRuleCount MonitorRuleMonitorRuleFacet MonitorRuleMonitorRuleLog MonitorRuleMonitorRulePromote MonitorRuleMonitorRuleThreshold

type MonitorRuleChangeInput

type MonitorRuleChangeInput struct {
	ChangeType      *ChangeType      `json:"changeType"`
	CompareFunction *CompareFunction `json:"compareFunction"`
	// For Relative ChangeType, the value is a multiple -- 0.3 means 30% change
	CompareValues     []types.NumberScalar `json:"compareValues"`
	AggregateFunction *AggregateFunction   `json:"aggregateFunction"`
	// The comparison time is established as
	// from: now - lookbackTime - baselineTime
	// to:   now - lookbackTime
	// The triggering time is established as
	// from: now - lookbackTime
	// to:   now
	// (These may end up being approximate, depending on transform scheduling and such)
	LookbackTime *types.DurationScalar `json:"lookbackTime"`
	BaselineTime *types.DurationScalar `json:"baselineTime"`
}

func (*MonitorRuleChangeInput) GetAggregateFunction

func (v *MonitorRuleChangeInput) GetAggregateFunction() *AggregateFunction

GetAggregateFunction returns MonitorRuleChangeInput.AggregateFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetBaselineTime

func (v *MonitorRuleChangeInput) GetBaselineTime() *types.DurationScalar

GetBaselineTime returns MonitorRuleChangeInput.BaselineTime, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetChangeType

func (v *MonitorRuleChangeInput) GetChangeType() *ChangeType

GetChangeType returns MonitorRuleChangeInput.ChangeType, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetCompareFunction

func (v *MonitorRuleChangeInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleChangeInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetCompareValues

func (v *MonitorRuleChangeInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleChangeInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetLookbackTime

func (v *MonitorRuleChangeInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleChangeInput.LookbackTime, and is useful for accessing the field via an interface.

type MonitorRuleCountInput

type MonitorRuleCountInput struct {
	CompareFunction *CompareFunction      `json:"compareFunction"`
	CompareValues   []types.NumberScalar  `json:"compareValues"`
	LookbackTime    *types.DurationScalar `json:"lookbackTime"`
}

func (*MonitorRuleCountInput) GetCompareFunction

func (v *MonitorRuleCountInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleCountInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleCountInput) GetCompareValues

func (v *MonitorRuleCountInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleCountInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleCountInput) GetLookbackTime

func (v *MonitorRuleCountInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleCountInput.LookbackTime, and is useful for accessing the field via an interface.

type MonitorRuleFacetInput

type MonitorRuleFacetInput struct {
	FacetFunction *FacetFunction        `json:"facetFunction"`
	FacetValues   []string              `json:"facetValues"`
	TimeFunction  *TimeFunction         `json:"timeFunction"`
	TimeValue     *types.NumberScalar   `json:"timeValue"`
	LookbackTime  *types.DurationScalar `json:"lookbackTime"`
}

func (*MonitorRuleFacetInput) GetFacetFunction

func (v *MonitorRuleFacetInput) GetFacetFunction() *FacetFunction

GetFacetFunction returns MonitorRuleFacetInput.FacetFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetFacetValues

func (v *MonitorRuleFacetInput) GetFacetValues() []string

GetFacetValues returns MonitorRuleFacetInput.FacetValues, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetLookbackTime

func (v *MonitorRuleFacetInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleFacetInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetTimeFunction

func (v *MonitorRuleFacetInput) GetTimeFunction() *TimeFunction

GetTimeFunction returns MonitorRuleFacetInput.TimeFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetTimeValue

func (v *MonitorRuleFacetInput) GetTimeValue() *types.NumberScalar

GetTimeValue returns MonitorRuleFacetInput.TimeValue, and is useful for accessing the field via an interface.

type MonitorRuleGroupByGroupsMonitorGroupInfo

type MonitorRuleGroupByGroupsMonitorGroupInfo struct {
	GroupName string `json:"groupName"`
	// GroupBy:
	// ┌───────────┬─────────┬──────────────────────────┬─────────────┬────────────┐
	// │GroupBy    │Resource │Link                      │Value column │Column Path │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │groupName  │Empty    │Non-empty (FK label)      │Empty        │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columns    │Empty    │Non-empty (FK Src fields) │Non-empty    │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columnPath │Nil      │Nil                       │Nil          │Non-nil     │
	// └───────────┴─────────┴──────────────────────────┴─────────────┴────────────┘
	Columns []string `json:"columns"`
}

MonitorRuleGroupByGroupsMonitorGroupInfo includes the requested fields of the GraphQL type MonitorGroupInfo.

func (*MonitorRuleGroupByGroupsMonitorGroupInfo) GetColumns

GetColumns returns MonitorRuleGroupByGroupsMonitorGroupInfo.Columns, and is useful for accessing the field via an interface.

func (*MonitorRuleGroupByGroupsMonitorGroupInfo) GetGroupName

GetGroupName returns MonitorRuleGroupByGroupsMonitorGroupInfo.GroupName, and is useful for accessing the field via an interface.

type MonitorRuleInput

type MonitorRuleInput struct {
	Layout       *types.JsonObject `json:"layout"`
	SourceColumn *string           `json:"sourceColumn"`
	// Takes precedence over GroupByColumns -- will replace contents of GroupByColumns
	// Specify value columns with an MonitorGroupInfo with a nil datasetId
	GroupByGroups     []MonitorGroupInfoInput `json:"groupByGroups"`
	GroupBy           *MonitorGrouping        `json:"groupBy"`
	GroupByColumns    []string                `json:"groupByColumns"`
	GroupByDatasetIds []string                `json:"groupByDatasetIds"`
	// exactly one of these should be used
	ChangeRule    *MonitorRuleChangeInput    `json:"changeRule"`
	CountRule     *MonitorRuleCountInput     `json:"countRule"`
	FacetRule     *MonitorRuleFacetInput     `json:"facetRule"`
	ThresholdRule *MonitorRuleThresholdInput `json:"thresholdRule"`
	LogRule       *MonitorRuleLogInput       `json:"logRule"`
	PromoteRule   *MonitorRulePromoteInput   `json:"promoteRule"`
}

func (*MonitorRuleInput) GetChangeRule

func (v *MonitorRuleInput) GetChangeRule() *MonitorRuleChangeInput

GetChangeRule returns MonitorRuleInput.ChangeRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetCountRule

func (v *MonitorRuleInput) GetCountRule() *MonitorRuleCountInput

GetCountRule returns MonitorRuleInput.CountRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetFacetRule

func (v *MonitorRuleInput) GetFacetRule() *MonitorRuleFacetInput

GetFacetRule returns MonitorRuleInput.FacetRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupBy

func (v *MonitorRuleInput) GetGroupBy() *MonitorGrouping

GetGroupBy returns MonitorRuleInput.GroupBy, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByColumns

func (v *MonitorRuleInput) GetGroupByColumns() []string

GetGroupByColumns returns MonitorRuleInput.GroupByColumns, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByDatasetIds

func (v *MonitorRuleInput) GetGroupByDatasetIds() []string

GetGroupByDatasetIds returns MonitorRuleInput.GroupByDatasetIds, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByGroups

func (v *MonitorRuleInput) GetGroupByGroups() []MonitorGroupInfoInput

GetGroupByGroups returns MonitorRuleInput.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetLayout

func (v *MonitorRuleInput) GetLayout() *types.JsonObject

GetLayout returns MonitorRuleInput.Layout, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetLogRule

func (v *MonitorRuleInput) GetLogRule() *MonitorRuleLogInput

GetLogRule returns MonitorRuleInput.LogRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetPromoteRule

func (v *MonitorRuleInput) GetPromoteRule() *MonitorRulePromoteInput

GetPromoteRule returns MonitorRuleInput.PromoteRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetSourceColumn

func (v *MonitorRuleInput) GetSourceColumn() *string

GetSourceColumn returns MonitorRuleInput.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetThresholdRule

func (v *MonitorRuleInput) GetThresholdRule() *MonitorRuleThresholdInput

GetThresholdRule returns MonitorRuleInput.ThresholdRule, and is useful for accessing the field via an interface.

type MonitorRuleLogInput

type MonitorRuleLogInput struct {
	CompareFunction    *CompareFunction      `json:"compareFunction"`
	CompareValues      []types.NumberScalar  `json:"compareValues"`
	LookbackTime       *types.DurationScalar `json:"lookbackTime"`
	ExpressionSummary  *string               `json:"expressionSummary"`
	LogStageId         *string               `json:"logStageId"`
	SourceLogDatasetId *string               `json:"sourceLogDatasetId"`
}

func (*MonitorRuleLogInput) GetCompareFunction

func (v *MonitorRuleLogInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleLogInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetCompareValues

func (v *MonitorRuleLogInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleLogInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetExpressionSummary

func (v *MonitorRuleLogInput) GetExpressionSummary() *string

GetExpressionSummary returns MonitorRuleLogInput.ExpressionSummary, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetLogStageId

func (v *MonitorRuleLogInput) GetLogStageId() *string

GetLogStageId returns MonitorRuleLogInput.LogStageId, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetLookbackTime

func (v *MonitorRuleLogInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleLogInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetSourceLogDatasetId added in v0.14.2

func (v *MonitorRuleLogInput) GetSourceLogDatasetId() *string

GetSourceLogDatasetId returns MonitorRuleLogInput.SourceLogDatasetId, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleChange

type MonitorRuleMonitorRuleChange struct {
	Typename        *string                                    `json:"__typename"`
	SourceColumn    string                                     `json:"sourceColumn"`
	GroupByGroups   []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	ChangeType      ChangeType                                 `json:"changeType"`
	CompareFunction CompareFunction                            `json:"compareFunction"`
	// For Relative ChangeType, the value is a multiple -- 0.3 means 30% change
	CompareValues     []types.NumberScalar `json:"compareValues"`
	AggregateFunction AggregateFunction    `json:"aggregateFunction"`
	// The comparison time is established as
	// from: now - lookbackTime - baselineTime
	// to:   now - lookbackTime
	// The triggering time is established as
	// from: now - lookbackTime
	// to:   now
	// (These may end up being approximate, depending on transform scheduling and such)
	LookbackTime types.DurationScalar `json:"lookbackTime"`
	BaselineTime types.DurationScalar `json:"baselineTime"`
}

MonitorRuleMonitorRuleChange includes the requested fields of the GraphQL type MonitorRuleChange.

func (*MonitorRuleMonitorRuleChange) GetAggregateFunction

func (v *MonitorRuleMonitorRuleChange) GetAggregateFunction() AggregateFunction

GetAggregateFunction returns MonitorRuleMonitorRuleChange.AggregateFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetBaselineTime

func (v *MonitorRuleMonitorRuleChange) GetBaselineTime() types.DurationScalar

GetBaselineTime returns MonitorRuleMonitorRuleChange.BaselineTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetChangeType

func (v *MonitorRuleMonitorRuleChange) GetChangeType() ChangeType

GetChangeType returns MonitorRuleMonitorRuleChange.ChangeType, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetCompareFunction

func (v *MonitorRuleMonitorRuleChange) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleChange.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetCompareValues

func (v *MonitorRuleMonitorRuleChange) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleChange.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleChange.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetLookbackTime

func (v *MonitorRuleMonitorRuleChange) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleChange.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetSourceColumn

func (v *MonitorRuleMonitorRuleChange) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleChange.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetTypename

func (v *MonitorRuleMonitorRuleChange) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleChange.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleCount

type MonitorRuleMonitorRuleCount struct {
	Typename        *string                                    `json:"__typename"`
	SourceColumn    string                                     `json:"sourceColumn"`
	GroupByGroups   []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	CompareFunction CompareFunction                            `json:"compareFunction"`
	CompareValues   []types.NumberScalar                       `json:"compareValues"`
	LookbackTime    types.DurationScalar                       `json:"lookbackTime"`
}

MonitorRuleMonitorRuleCount includes the requested fields of the GraphQL type MonitorRuleCount.

func (*MonitorRuleMonitorRuleCount) GetCompareFunction

func (v *MonitorRuleMonitorRuleCount) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleCount.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetCompareValues

func (v *MonitorRuleMonitorRuleCount) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleCount.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleCount.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetLookbackTime

func (v *MonitorRuleMonitorRuleCount) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleCount.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetSourceColumn

func (v *MonitorRuleMonitorRuleCount) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleCount.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetTypename

func (v *MonitorRuleMonitorRuleCount) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleCount.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleFacet

type MonitorRuleMonitorRuleFacet struct {
	Typename      *string                                    `json:"__typename"`
	SourceColumn  string                                     `json:"sourceColumn"`
	GroupByGroups []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	FacetFunction FacetFunction                              `json:"facetFunction"`
	FacetValues   []string                                   `json:"facetValues"`
	TimeFunction  TimeFunction                               `json:"timeFunction"`
	// for example, "50" for "more than 50% of the time"
	TimeValue    *types.NumberScalar  `json:"timeValue"`
	LookbackTime types.DurationScalar `json:"lookbackTime"`
}

MonitorRuleMonitorRuleFacet includes the requested fields of the GraphQL type MonitorRuleFacet.

func (*MonitorRuleMonitorRuleFacet) GetFacetFunction

func (v *MonitorRuleMonitorRuleFacet) GetFacetFunction() FacetFunction

GetFacetFunction returns MonitorRuleMonitorRuleFacet.FacetFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetFacetValues

func (v *MonitorRuleMonitorRuleFacet) GetFacetValues() []string

GetFacetValues returns MonitorRuleMonitorRuleFacet.FacetValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleFacet.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetLookbackTime

func (v *MonitorRuleMonitorRuleFacet) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleFacet.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetSourceColumn

func (v *MonitorRuleMonitorRuleFacet) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleFacet.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTimeFunction

func (v *MonitorRuleMonitorRuleFacet) GetTimeFunction() TimeFunction

GetTimeFunction returns MonitorRuleMonitorRuleFacet.TimeFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTimeValue

func (v *MonitorRuleMonitorRuleFacet) GetTimeValue() *types.NumberScalar

GetTimeValue returns MonitorRuleMonitorRuleFacet.TimeValue, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTypename

func (v *MonitorRuleMonitorRuleFacet) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleFacet.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleLog

type MonitorRuleMonitorRuleLog struct {
	Typename           *string                                    `json:"__typename"`
	SourceColumn       string                                     `json:"sourceColumn"`
	GroupByGroups      []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	CompareFunction    CompareFunction                            `json:"compareFunction"`
	CompareValues      []types.NumberScalar                       `json:"compareValues"`
	LookbackTime       types.DurationScalar                       `json:"lookbackTime"`
	ExpressionSummary  string                                     `json:"expressionSummary"`
	LogStageId         string                                     `json:"logStageId"`
	SourceLogDatasetId *string                                    `json:"sourceLogDatasetId"`
}

MonitorRuleMonitorRuleLog includes the requested fields of the GraphQL type MonitorRuleLog.

func (*MonitorRuleMonitorRuleLog) GetCompareFunction added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleLog.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetCompareValues added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleLog.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetExpressionSummary added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetExpressionSummary() string

GetExpressionSummary returns MonitorRuleMonitorRuleLog.ExpressionSummary, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleLog.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetLogStageId added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetLogStageId() string

GetLogStageId returns MonitorRuleMonitorRuleLog.LogStageId, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetLookbackTime added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleLog.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetSourceColumn

func (v *MonitorRuleMonitorRuleLog) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleLog.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetSourceLogDatasetId added in v0.14.4

func (v *MonitorRuleMonitorRuleLog) GetSourceLogDatasetId() *string

GetSourceLogDatasetId returns MonitorRuleMonitorRuleLog.SourceLogDatasetId, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetTypename

func (v *MonitorRuleMonitorRuleLog) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleLog.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRulePromote

type MonitorRuleMonitorRulePromote struct {
	Typename         *string                                    `json:"__typename"`
	SourceColumn     string                                     `json:"sourceColumn"`
	GroupByGroups    []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	KindField        *string                                    `json:"kindField"`
	DescriptionField *string                                    `json:"descriptionField"`
	PrimaryKey       []string                                   `json:"primaryKey"`
}

MonitorRuleMonitorRulePromote includes the requested fields of the GraphQL type MonitorRulePromote.

func (*MonitorRuleMonitorRulePromote) GetDescriptionField

func (v *MonitorRuleMonitorRulePromote) GetDescriptionField() *string

GetDescriptionField returns MonitorRuleMonitorRulePromote.DescriptionField, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRulePromote.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetKindField

func (v *MonitorRuleMonitorRulePromote) GetKindField() *string

GetKindField returns MonitorRuleMonitorRulePromote.KindField, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetPrimaryKey

func (v *MonitorRuleMonitorRulePromote) GetPrimaryKey() []string

GetPrimaryKey returns MonitorRuleMonitorRulePromote.PrimaryKey, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetSourceColumn

func (v *MonitorRuleMonitorRulePromote) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRulePromote.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetTypename

func (v *MonitorRuleMonitorRulePromote) GetTypename() *string

GetTypename returns MonitorRuleMonitorRulePromote.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleThreshold

type MonitorRuleMonitorRuleThreshold struct {
	Typename             *string                                    `json:"__typename"`
	SourceColumn         string                                     `json:"sourceColumn"`
	GroupByGroups        []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	CompareFunction      CompareFunction                            `json:"compareFunction"`
	CompareValues        []types.NumberScalar                       `json:"compareValues"`
	LookbackTime         types.DurationScalar                       `json:"lookbackTime"`
	ThresholdAggFunction ThresholdAggFunction                       `json:"thresholdAggFunction"`
}

MonitorRuleMonitorRuleThreshold includes the requested fields of the GraphQL type MonitorRuleThreshold.

func (*MonitorRuleMonitorRuleThreshold) GetCompareFunction

func (v *MonitorRuleMonitorRuleThreshold) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleThreshold.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetCompareValues

func (v *MonitorRuleMonitorRuleThreshold) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleThreshold.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleThreshold.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetLookbackTime

GetLookbackTime returns MonitorRuleMonitorRuleThreshold.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetSourceColumn

func (v *MonitorRuleMonitorRuleThreshold) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleThreshold.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetThresholdAggFunction

func (v *MonitorRuleMonitorRuleThreshold) GetThresholdAggFunction() ThresholdAggFunction

GetThresholdAggFunction returns MonitorRuleMonitorRuleThreshold.ThresholdAggFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetTypename

func (v *MonitorRuleMonitorRuleThreshold) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleThreshold.Typename, and is useful for accessing the field via an interface.

type MonitorRulePromoteInput

type MonitorRulePromoteInput struct {
	PrimaryKey       []string `json:"primaryKey"`
	DescriptionField *string  `json:"descriptionField"`
	KindField        *string  `json:"kindField"`
}

func (*MonitorRulePromoteInput) GetDescriptionField

func (v *MonitorRulePromoteInput) GetDescriptionField() *string

GetDescriptionField returns MonitorRulePromoteInput.DescriptionField, and is useful for accessing the field via an interface.

func (*MonitorRulePromoteInput) GetKindField

func (v *MonitorRulePromoteInput) GetKindField() *string

GetKindField returns MonitorRulePromoteInput.KindField, and is useful for accessing the field via an interface.

func (*MonitorRulePromoteInput) GetPrimaryKey

func (v *MonitorRulePromoteInput) GetPrimaryKey() []string

GetPrimaryKey returns MonitorRulePromoteInput.PrimaryKey, and is useful for accessing the field via an interface.

type MonitorRuleThresholdInput

type MonitorRuleThresholdInput struct {
	CompareFunction      *CompareFunction      `json:"compareFunction"`
	CompareValues        []types.NumberScalar  `json:"compareValues"`
	LookbackTime         *types.DurationScalar `json:"lookbackTime"`
	ThresholdAggFunction *ThresholdAggFunction `json:"thresholdAggFunction"`
	ExpressionSummary    *string               `json:"expressionSummary"`
}

func (*MonitorRuleThresholdInput) GetCompareFunction

func (v *MonitorRuleThresholdInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleThresholdInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetCompareValues

func (v *MonitorRuleThresholdInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleThresholdInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetExpressionSummary

func (v *MonitorRuleThresholdInput) GetExpressionSummary() *string

GetExpressionSummary returns MonitorRuleThresholdInput.ExpressionSummary, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetLookbackTime

func (v *MonitorRuleThresholdInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleThresholdInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetThresholdAggFunction

func (v *MonitorRuleThresholdInput) GetThresholdAggFunction() *ThresholdAggFunction

GetThresholdAggFunction returns MonitorRuleThresholdInput.ThresholdAggFunction, and is useful for accessing the field via an interface.

type MonitorV2 added in v0.14.14

type MonitorV2 struct {
	Id          string             `json:"id"`
	WorkspaceId string             `json:"workspaceId"`
	CreatedBy   types.UserIdScalar `json:"createdBy"`
	CreatedDate types.TimeScalar   `json:"createdDate"`
	Name        string             `json:"name"`
	IconUrl     *string            `json:"iconUrl"`
	Description *string            `json:"description"`
	// Indicates if the monitor is enabled or disabled. Use setMonitorV2Enabled to flip this flag
	// one way or the other by itself.
	// note: This was previously not supported as an input flag, but it was added as an input
	// flag to support TF and REST.
	Disabled     *bool                 `json:"disabled"`
	ManagedById  *string               `json:"managedById"`
	RollupStatus MonitorV2RollupStatus `json:"rollupStatus"`
	// Describes the type of each of the rules in the definition (they must all be the same type).
	RuleKind   MonitorV2RuleKind   `json:"ruleKind"`
	Definition MonitorV2Definition `json:"definition"`
	// List of actions and conditions for dispatching. Each entry will
	// contain the action definition regardless of whether the definition is
	// shared or provided inline.
	ActionRules []MonitorV2ActionRule `json:"actionRules"`
}

@genclient(for: "MonitorV2ComparisonExpressionInput.conditions", omitempty: true)

func (*MonitorV2) GetActionRules added in v0.14.15

func (v *MonitorV2) GetActionRules() []MonitorV2ActionRule

GetActionRules returns MonitorV2.ActionRules, and is useful for accessing the field via an interface.

func (*MonitorV2) GetCreatedBy added in v0.14.14

func (v *MonitorV2) GetCreatedBy() types.UserIdScalar

GetCreatedBy returns MonitorV2.CreatedBy, and is useful for accessing the field via an interface.

func (*MonitorV2) GetCreatedDate added in v0.14.14

func (v *MonitorV2) GetCreatedDate() types.TimeScalar

GetCreatedDate returns MonitorV2.CreatedDate, and is useful for accessing the field via an interface.

func (*MonitorV2) GetDefinition added in v0.14.14

func (v *MonitorV2) GetDefinition() MonitorV2Definition

GetDefinition returns MonitorV2.Definition, and is useful for accessing the field via an interface.

func (*MonitorV2) GetDescription added in v0.14.14

func (v *MonitorV2) GetDescription() *string

GetDescription returns MonitorV2.Description, and is useful for accessing the field via an interface.

func (*MonitorV2) GetDisabled added in v0.14.30

func (v *MonitorV2) GetDisabled() *bool

GetDisabled returns MonitorV2.Disabled, and is useful for accessing the field via an interface.

func (*MonitorV2) GetIconUrl added in v0.14.14

func (v *MonitorV2) GetIconUrl() *string

GetIconUrl returns MonitorV2.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorV2) GetId added in v0.14.14

func (v *MonitorV2) GetId() string

GetId returns MonitorV2.Id, and is useful for accessing the field via an interface.

func (*MonitorV2) GetManagedById added in v0.14.14

func (v *MonitorV2) GetManagedById() *string

GetManagedById returns MonitorV2.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorV2) GetName added in v0.14.14

func (v *MonitorV2) GetName() string

GetName returns MonitorV2.Name, and is useful for accessing the field via an interface.

func (*MonitorV2) GetRollupStatus added in v0.14.14

func (v *MonitorV2) GetRollupStatus() MonitorV2RollupStatus

GetRollupStatus returns MonitorV2.RollupStatus, and is useful for accessing the field via an interface.

func (*MonitorV2) GetRuleKind added in v0.14.14

func (v *MonitorV2) GetRuleKind() MonitorV2RuleKind

GetRuleKind returns MonitorV2.RuleKind, and is useful for accessing the field via an interface.

func (*MonitorV2) GetWorkspaceId added in v0.14.14

func (v *MonitorV2) GetWorkspaceId() string

GetWorkspaceId returns MonitorV2.WorkspaceId, and is useful for accessing the field via an interface.

func (*MonitorV2) Oid added in v0.14.14

func (m *MonitorV2) Oid() *oid.OID

type MonitorV2Action added in v0.14.14

type MonitorV2Action struct {
	// The inline field determines whether the object is inlined within another object or not. If not inlined, it can be shared with other objects.
	Inline      *bool                   `json:"inline"`
	Type        MonitorV2ActionType     `json:"type"`
	Email       *MonitorV2EmailAction   `json:"email"`
	Webhook     *MonitorV2WebhookAction `json:"webhook"`
	Id          string                  `json:"id"`
	WorkspaceId string                  `json:"workspaceId"`
	Name        string                  `json:"name"`
	IconUrl     *string                 `json:"iconUrl"`
	Description *string                 `json:"description"`
	CreatedBy   types.UserIdScalar      `json:"createdBy"`
	CreatedDate types.TimeScalar        `json:"createdDate"`
}

MonitorV2Action includes the GraphQL fields of MonitorV2Action requested by the fragment MonitorV2Action.

func (*MonitorV2Action) GetCreatedBy added in v0.14.14

func (v *MonitorV2Action) GetCreatedBy() types.UserIdScalar

GetCreatedBy returns MonitorV2Action.CreatedBy, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetCreatedDate added in v0.14.14

func (v *MonitorV2Action) GetCreatedDate() types.TimeScalar

GetCreatedDate returns MonitorV2Action.CreatedDate, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetDescription added in v0.14.14

func (v *MonitorV2Action) GetDescription() *string

GetDescription returns MonitorV2Action.Description, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetEmail added in v0.14.14

func (v *MonitorV2Action) GetEmail() *MonitorV2EmailAction

GetEmail returns MonitorV2Action.Email, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetIconUrl added in v0.14.14

func (v *MonitorV2Action) GetIconUrl() *string

GetIconUrl returns MonitorV2Action.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetId added in v0.14.14

func (v *MonitorV2Action) GetId() string

GetId returns MonitorV2Action.Id, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetInline added in v0.14.14

func (v *MonitorV2Action) GetInline() *bool

GetInline returns MonitorV2Action.Inline, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetName added in v0.14.14

func (v *MonitorV2Action) GetName() string

GetName returns MonitorV2Action.Name, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetType added in v0.14.14

func (v *MonitorV2Action) GetType() MonitorV2ActionType

GetType returns MonitorV2Action.Type, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetWebhook added in v0.14.14

func (v *MonitorV2Action) GetWebhook() *MonitorV2WebhookAction

GetWebhook returns MonitorV2Action.Webhook, and is useful for accessing the field via an interface.

func (*MonitorV2Action) GetWorkspaceId added in v0.14.14

func (v *MonitorV2Action) GetWorkspaceId() string

GetWorkspaceId returns MonitorV2Action.WorkspaceId, and is useful for accessing the field via an interface.

func (*MonitorV2Action) Oid added in v0.14.14

func (m *MonitorV2Action) Oid() *oid.OID

type MonitorV2ActionAndRelationInput added in v0.14.23

type MonitorV2ActionAndRelationInput struct {
	Action                *MonitorV2ActionInput               `json:"action,omitempty"`
	ActionID              *string                             `json:"actionID,omitempty"`
	Levels                []MonitorV2AlarmLevel               `json:"levels,omitempty"`
	Conditions            *MonitorV2ComparisonExpressionInput `json:"conditions,omitempty"`
	SendEndNotifications  *bool                               `json:"sendEndNotifications,omitempty"`
	SendRemindersInterval *types.DurationScalar               `json:"sendRemindersInterval,omitempty"`
}

MonitorV2ActionAndRelationInput allows for defining a relation and an optional action at the same time for the saveMonitorV2WithActions function. This emulates what the primitives do using MonitorV2ActionInput and MonitorV2ActionRuleInput.

One of `action` or `actionID` is required. The `actionID` references an existing action (typically a shared action) or the `action` can be defined and created in this input.

The remaining parameters (like `levels` and others) are to bind the relationship (see saveMonitorV2Relations) to the monitor.

func (*MonitorV2ActionAndRelationInput) GetAction added in v0.14.23

GetAction returns MonitorV2ActionAndRelationInput.Action, and is useful for accessing the field via an interface.

func (*MonitorV2ActionAndRelationInput) GetActionID added in v0.14.23

func (v *MonitorV2ActionAndRelationInput) GetActionID() *string

GetActionID returns MonitorV2ActionAndRelationInput.ActionID, and is useful for accessing the field via an interface.

func (*MonitorV2ActionAndRelationInput) GetConditions added in v0.14.23

GetConditions returns MonitorV2ActionAndRelationInput.Conditions, and is useful for accessing the field via an interface.

func (*MonitorV2ActionAndRelationInput) GetLevels added in v0.14.23

GetLevels returns MonitorV2ActionAndRelationInput.Levels, and is useful for accessing the field via an interface.

func (*MonitorV2ActionAndRelationInput) GetSendEndNotifications added in v0.14.23

func (v *MonitorV2ActionAndRelationInput) GetSendEndNotifications() *bool

GetSendEndNotifications returns MonitorV2ActionAndRelationInput.SendEndNotifications, and is useful for accessing the field via an interface.

func (*MonitorV2ActionAndRelationInput) GetSendRemindersInterval added in v0.14.23

func (v *MonitorV2ActionAndRelationInput) GetSendRemindersInterval() *types.DurationScalar

GetSendRemindersInterval returns MonitorV2ActionAndRelationInput.SendRemindersInterval, and is useful for accessing the field via an interface.

type MonitorV2ActionDefinition added in v0.14.23

type MonitorV2ActionDefinition struct {
	// The inline field determines whether the object is inlined within another object or not. If not inlined, it can be shared with other objects.
	Inline  *bool                   `json:"inline"`
	Type    MonitorV2ActionType     `json:"type"`
	Email   *MonitorV2EmailAction   `json:"email"`
	Webhook *MonitorV2WebhookAction `json:"webhook"`
}

MonitorV2ActionDefinition includes the GraphQL fields of MonitorV2ActionDefinition requested by the fragment MonitorV2ActionDefinition.

func (*MonitorV2ActionDefinition) GetEmail added in v0.14.23

GetEmail returns MonitorV2ActionDefinition.Email, and is useful for accessing the field via an interface.

func (*MonitorV2ActionDefinition) GetInline added in v0.14.23

func (v *MonitorV2ActionDefinition) GetInline() *bool

GetInline returns MonitorV2ActionDefinition.Inline, and is useful for accessing the field via an interface.

func (*MonitorV2ActionDefinition) GetType added in v0.14.23

GetType returns MonitorV2ActionDefinition.Type, and is useful for accessing the field via an interface.

func (*MonitorV2ActionDefinition) GetWebhook added in v0.14.23

GetWebhook returns MonitorV2ActionDefinition.Webhook, and is useful for accessing the field via an interface.

type MonitorV2ActionInput added in v0.14.14

type MonitorV2ActionInput struct {
	Inline      *bool                        `json:"inline"`
	Type        MonitorV2ActionType          `json:"type"`
	Email       *MonitorV2EmailActionInput   `json:"email,omitempty"`
	Webhook     *MonitorV2WebhookActionInput `json:"webhook,omitempty"`
	Name        string                       `json:"name"`
	IconUrl     *string                      `json:"iconUrl,omitempty"`
	Description *string                      `json:"description,omitempty"`
	ManagedById *string                      `json:"managedById,omitempty"`
	FolderId    *string                      `json:"folderId,omitempty"`
}

func (*MonitorV2ActionInput) GetDescription added in v0.14.14

func (v *MonitorV2ActionInput) GetDescription() *string

GetDescription returns MonitorV2ActionInput.Description, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetEmail added in v0.14.14

GetEmail returns MonitorV2ActionInput.Email, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetFolderId added in v0.14.14

func (v *MonitorV2ActionInput) GetFolderId() *string

GetFolderId returns MonitorV2ActionInput.FolderId, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetIconUrl added in v0.14.14

func (v *MonitorV2ActionInput) GetIconUrl() *string

GetIconUrl returns MonitorV2ActionInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetInline added in v0.14.14

func (v *MonitorV2ActionInput) GetInline() *bool

GetInline returns MonitorV2ActionInput.Inline, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetManagedById added in v0.14.14

func (v *MonitorV2ActionInput) GetManagedById() *string

GetManagedById returns MonitorV2ActionInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetName added in v0.14.14

func (v *MonitorV2ActionInput) GetName() string

GetName returns MonitorV2ActionInput.Name, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetType added in v0.14.14

GetType returns MonitorV2ActionInput.Type, and is useful for accessing the field via an interface.

func (*MonitorV2ActionInput) GetWebhook added in v0.14.14

GetWebhook returns MonitorV2ActionInput.Webhook, and is useful for accessing the field via an interface.

type MonitorV2ActionRule added in v0.14.15

type MonitorV2ActionRule struct {
	// Takes in a private or public action id created from an earlier createAction API call.
	ActionID string `json:"actionID"`
	// Dispatch this action when the alarm matches any of the provided levels
	// AND'd with any of the optional conditions.
	Levels []MonitorV2AlarmLevel `json:"levels"`
	// Conditions are additional comparisons to apply (AND'd with levels) to decide if an alert applies.
	Conditions *MonitorV2ComparisonExpression `json:"conditions"`
	// Send notifications when the condition ends.
	// note: At this time, this only happens on the AlarmEnded event.
	SendEndNotifications *bool `json:"sendEndNotifications"`
	// Send a reminder notification for as long as the condition is active
	// on this interval.
	SendRemindersInterval *types.DurationScalar `json:"sendRemindersInterval"`
	// Included to be shown as part of the MonitorV2 output.
	Definition MonitorV2ActionDefinition `json:"definition"`
}

MonitorV2ActionRule includes the GraphQL fields of MonitorV2ActionRule requested by the fragment MonitorV2ActionRule.

func (*MonitorV2ActionRule) GetActionID added in v0.14.15

func (v *MonitorV2ActionRule) GetActionID() string

GetActionID returns MonitorV2ActionRule.ActionID, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRule) GetConditions added in v0.14.24

GetConditions returns MonitorV2ActionRule.Conditions, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRule) GetDefinition added in v0.14.23

GetDefinition returns MonitorV2ActionRule.Definition, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRule) GetLevels added in v0.14.15

func (v *MonitorV2ActionRule) GetLevels() []MonitorV2AlarmLevel

GetLevels returns MonitorV2ActionRule.Levels, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRule) GetSendEndNotifications added in v0.14.15

func (v *MonitorV2ActionRule) GetSendEndNotifications() *bool

GetSendEndNotifications returns MonitorV2ActionRule.SendEndNotifications, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRule) GetSendRemindersInterval added in v0.14.15

func (v *MonitorV2ActionRule) GetSendRemindersInterval() *types.DurationScalar

GetSendRemindersInterval returns MonitorV2ActionRule.SendRemindersInterval, and is useful for accessing the field via an interface.

type MonitorV2ActionRuleInput added in v0.14.15

type MonitorV2ActionRuleInput struct {
	ActionID              string                              `json:"actionID"`
	Levels                []MonitorV2AlarmLevel               `json:"levels,omitempty"`
	Conditions            *MonitorV2ComparisonExpressionInput `json:"conditions,omitempty"`
	SendEndNotifications  *bool                               `json:"sendEndNotifications,omitempty"`
	SendRemindersInterval *types.DurationScalar               `json:"sendRemindersInterval,omitempty"`
}

func (*MonitorV2ActionRuleInput) GetActionID added in v0.14.15

func (v *MonitorV2ActionRuleInput) GetActionID() string

GetActionID returns MonitorV2ActionRuleInput.ActionID, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRuleInput) GetConditions added in v0.14.23

GetConditions returns MonitorV2ActionRuleInput.Conditions, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRuleInput) GetLevels added in v0.14.15

GetLevels returns MonitorV2ActionRuleInput.Levels, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRuleInput) GetSendEndNotifications added in v0.14.15

func (v *MonitorV2ActionRuleInput) GetSendEndNotifications() *bool

GetSendEndNotifications returns MonitorV2ActionRuleInput.SendEndNotifications, and is useful for accessing the field via an interface.

func (*MonitorV2ActionRuleInput) GetSendRemindersInterval added in v0.14.15

func (v *MonitorV2ActionRuleInput) GetSendRemindersInterval() *types.DurationScalar

GetSendRemindersInterval returns MonitorV2ActionRuleInput.SendRemindersInterval, and is useful for accessing the field via an interface.

type MonitorV2ActionSearchResult added in v0.14.15

type MonitorV2ActionSearchResult struct {
	Results []MonitorV2Action `json:"results"`
}

MonitorV2ActionSearchResult includes the GraphQL fields of MonitorV2ActionSearchResult requested by the fragment MonitorV2ActionSearchResult.

func (*MonitorV2ActionSearchResult) GetResults added in v0.14.15

func (v *MonitorV2ActionSearchResult) GetResults() []MonitorV2Action

GetResults returns MonitorV2ActionSearchResult.Results, and is useful for accessing the field via an interface.

type MonitorV2ActionType added in v0.14.14

type MonitorV2ActionType string

MonitorV2ActionType defines the type of monitor returned when querying all actions for a monitor.

const (
	MonitorV2ActionTypeEmail     MonitorV2ActionType = "Email"
	MonitorV2ActionTypePagerduty MonitorV2ActionType = "PagerDuty"
	MonitorV2ActionTypeSlack     MonitorV2ActionType = "Slack"
	MonitorV2ActionTypeWebhook   MonitorV2ActionType = "Webhook"
)

type MonitorV2AlarmLevel added in v0.14.14

type MonitorV2AlarmLevel string

MonitorV2AlarmLevel presents the severity level a user can choose for their monitor. The NoData severity is a special placeholder for the no data rule.

const (
	MonitorV2AlarmLevelCritical      MonitorV2AlarmLevel = "Critical"
	MonitorV2AlarmLevelError         MonitorV2AlarmLevel = "Error"
	MonitorV2AlarmLevelInformational MonitorV2AlarmLevel = "Informational"
	MonitorV2AlarmLevelNodata        MonitorV2AlarmLevel = "NoData"
	MonitorV2AlarmLevelNone          MonitorV2AlarmLevel = "None"
	MonitorV2AlarmLevelWarning       MonitorV2AlarmLevel = "Warning"
)

type MonitorV2BooleanOperator added in v0.14.23

type MonitorV2BooleanOperator string
const (
	MonitorV2BooleanOperatorAnd MonitorV2BooleanOperator = "And"
	MonitorV2BooleanOperatorOr  MonitorV2BooleanOperator = "Or"
)

type MonitorV2Column added in v0.14.14

type MonitorV2Column struct {
	// Link Column is for link typed column which the user wants to group by.
	LinkColumn *MonitorV2LinkColumn `json:"linkColumn"`
	// Column path is any non-link typed column along with an optional path which the user wants to group by.
	ColumnPath *MonitorV2ColumnPath `json:"columnPath"`
}

MonitorV2Column includes the GraphQL fields of MonitorV2Column requested by the fragment MonitorV2Column.

func (*MonitorV2Column) GetColumnPath added in v0.14.14

func (v *MonitorV2Column) GetColumnPath() *MonitorV2ColumnPath

GetColumnPath returns MonitorV2Column.ColumnPath, and is useful for accessing the field via an interface.

func (*MonitorV2Column) GetLinkColumn added in v0.14.14

func (v *MonitorV2Column) GetLinkColumn() *MonitorV2LinkColumn

GetLinkColumn returns MonitorV2Column.LinkColumn, and is useful for accessing the field via an interface.

type MonitorV2ColumnComparison added in v0.14.14

type MonitorV2ColumnComparison struct {
	// The column user wants to compare against using the values inside compareValues.
	Column MonitorV2Column `json:"column"`
	// CompareValues is a list of comparisons that provide an implicit AND where all comparisons must match.
	// This gives the option to specify one value for a threshold behavior (trigger if > 80) but also allows
	// for ranges of validity. If you want to trigger inside a range, give two compares here (like > 80 and < 90).
	// If you want to trigger outside a valid range, use two rules with a single compare to get the implied OR
	// (one rule for < 80 and one rule for > 90).
	CompareValues []MonitorV2Comparison `json:"compareValues"`
}

MonitorV2ColumnComparison includes the GraphQL fields of MonitorV2ColumnComparison requested by the fragment MonitorV2ColumnComparison.

func (*MonitorV2ColumnComparison) GetColumn added in v0.14.14

GetColumn returns MonitorV2ColumnComparison.Column, and is useful for accessing the field via an interface.

func (*MonitorV2ColumnComparison) GetCompareValues added in v0.14.14

func (v *MonitorV2ColumnComparison) GetCompareValues() []MonitorV2Comparison

GetCompareValues returns MonitorV2ColumnComparison.CompareValues, and is useful for accessing the field via an interface.

type MonitorV2ColumnComparisonInput added in v0.14.14

type MonitorV2ColumnComparisonInput struct {
	CompareValues []MonitorV2ComparisonInput `json:"compareValues"`
	Column        MonitorV2ColumnInput       `json:"column"`
}

func (*MonitorV2ColumnComparisonInput) GetColumn added in v0.14.14

GetColumn returns MonitorV2ColumnComparisonInput.Column, and is useful for accessing the field via an interface.

func (*MonitorV2ColumnComparisonInput) GetCompareValues added in v0.14.14

GetCompareValues returns MonitorV2ColumnComparisonInput.CompareValues, and is useful for accessing the field via an interface.

type MonitorV2ColumnInput added in v0.14.14

type MonitorV2ColumnInput struct {
	LinkColumn *MonitorV2LinkColumnInput `json:"linkColumn,omitempty"`
	ColumnPath *MonitorV2ColumnPathInput `json:"columnPath,omitempty"`
}

func (*MonitorV2ColumnInput) GetColumnPath added in v0.14.14

func (v *MonitorV2ColumnInput) GetColumnPath() *MonitorV2ColumnPathInput

GetColumnPath returns MonitorV2ColumnInput.ColumnPath, and is useful for accessing the field via an interface.

func (*MonitorV2ColumnInput) GetLinkColumn added in v0.14.14

func (v *MonitorV2ColumnInput) GetLinkColumn() *MonitorV2LinkColumnInput

GetLinkColumn returns MonitorV2ColumnInput.LinkColumn, and is useful for accessing the field via an interface.

type MonitorV2ColumnPath added in v0.14.14

type MonitorV2ColumnPath struct {
	Name string  `json:"name"`
	Path *string `json:"path"`
}

MonitorV2ColumnPath includes the GraphQL fields of MonitorV2ColumnPath requested by the fragment MonitorV2ColumnPath.

func (*MonitorV2ColumnPath) GetName added in v0.14.14

func (v *MonitorV2ColumnPath) GetName() string

GetName returns MonitorV2ColumnPath.Name, and is useful for accessing the field via an interface.

func (*MonitorV2ColumnPath) GetPath added in v0.14.14

func (v *MonitorV2ColumnPath) GetPath() *string

GetPath returns MonitorV2ColumnPath.Path, and is useful for accessing the field via an interface.

type MonitorV2ColumnPathInput added in v0.14.14

type MonitorV2ColumnPathInput struct {
	Name string  `json:"name"`
	Path *string `json:"path,omitempty"`
}

func (*MonitorV2ColumnPathInput) GetName added in v0.14.14

func (v *MonitorV2ColumnPathInput) GetName() string

GetName returns MonitorV2ColumnPathInput.Name, and is useful for accessing the field via an interface.

func (*MonitorV2ColumnPathInput) GetPath added in v0.14.14

func (v *MonitorV2ColumnPathInput) GetPath() *string

GetPath returns MonitorV2ColumnPathInput.Path, and is useful for accessing the field via an interface.

type MonitorV2Comparison added in v0.14.14

type MonitorV2Comparison struct {
	CompareFn MonitorV2ComparisonFunction `json:"compareFn"`
	// The right-side value for comparisons that use it (like x > 10, this is 10).
	CompareValue PrimitiveValue `json:"compareValue"`
}

MonitorV2Comparison includes the GraphQL fields of MonitorV2Comparison requested by the fragment MonitorV2Comparison.

func (*MonitorV2Comparison) GetCompareFn added in v0.14.14

GetCompareFn returns MonitorV2Comparison.CompareFn, and is useful for accessing the field via an interface.

func (*MonitorV2Comparison) GetCompareValue added in v0.14.14

func (v *MonitorV2Comparison) GetCompareValue() PrimitiveValue

GetCompareValue returns MonitorV2Comparison.CompareValue, and is useful for accessing the field via an interface.

type MonitorV2ComparisonExpression added in v0.14.24

type MonitorV2ComparisonExpression struct {
	CompareTerms []MonitorV2ComparisonTerm `json:"compareTerms"`
	Operator     MonitorV2BooleanOperator  `json:"operator"`
}

MonitorV2ComparisonExpression includes the GraphQL fields of MonitorV2ComparisonExpression requested by the fragment MonitorV2ComparisonExpression.

func (*MonitorV2ComparisonExpression) GetCompareTerms added in v0.14.24

GetCompareTerms returns MonitorV2ComparisonExpression.CompareTerms, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonExpression) GetOperator added in v0.14.38

GetOperator returns MonitorV2ComparisonExpression.Operator, and is useful for accessing the field via an interface.

type MonitorV2ComparisonExpressionInput added in v0.14.23

type MonitorV2ComparisonExpressionInput struct {
	CompareTerms   []MonitorV2ComparisonTermInput       `json:"compareTerms"`
	SubExpressions []MonitorV2ComparisonExpressionInput `json:"subExpressions"`
	Operator       MonitorV2BooleanOperator             `json:"operator"`
}

func (*MonitorV2ComparisonExpressionInput) GetCompareTerms added in v0.14.23

GetCompareTerms returns MonitorV2ComparisonExpressionInput.CompareTerms, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonExpressionInput) GetOperator added in v0.14.23

GetOperator returns MonitorV2ComparisonExpressionInput.Operator, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonExpressionInput) GetSubExpressions added in v0.14.23

GetSubExpressions returns MonitorV2ComparisonExpressionInput.SubExpressions, and is useful for accessing the field via an interface.

type MonitorV2ComparisonFunction added in v0.14.14

type MonitorV2ComparisonFunction string
const (
	MonitorV2ComparisonFunctionContains       MonitorV2ComparisonFunction = "Contains"
	MonitorV2ComparisonFunctionEqual          MonitorV2ComparisonFunction = "Equal"
	MonitorV2ComparisonFunctionGreater        MonitorV2ComparisonFunction = "Greater"
	MonitorV2ComparisonFunctionGreaterorequal MonitorV2ComparisonFunction = "GreaterOrEqual"
	MonitorV2ComparisonFunctionIsnotnull      MonitorV2ComparisonFunction = "IsNotNull"
	MonitorV2ComparisonFunctionIsnull         MonitorV2ComparisonFunction = "IsNull"
	MonitorV2ComparisonFunctionLess           MonitorV2ComparisonFunction = "Less"
	MonitorV2ComparisonFunctionLessorequal    MonitorV2ComparisonFunction = "LessOrEqual"
	MonitorV2ComparisonFunctionNotcontains    MonitorV2ComparisonFunction = "NotContains"
	MonitorV2ComparisonFunctionNotequal       MonitorV2ComparisonFunction = "NotEqual"
	MonitorV2ComparisonFunctionNotstartswith  MonitorV2ComparisonFunction = "NotStartsWith"
	MonitorV2ComparisonFunctionStartswith     MonitorV2ComparisonFunction = "StartsWith"
)

type MonitorV2ComparisonInput added in v0.14.14

type MonitorV2ComparisonInput struct {
	CompareFn    MonitorV2ComparisonFunction `json:"compareFn"`
	CompareValue PrimitiveValueInput         `json:"compareValue"`
}

func (*MonitorV2ComparisonInput) GetCompareFn added in v0.14.14

GetCompareFn returns MonitorV2ComparisonInput.CompareFn, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonInput) GetCompareValue added in v0.14.14

func (v *MonitorV2ComparisonInput) GetCompareValue() PrimitiveValueInput

GetCompareValue returns MonitorV2ComparisonInput.CompareValue, and is useful for accessing the field via an interface.

type MonitorV2ComparisonTerm added in v0.14.24

type MonitorV2ComparisonTerm struct {
	// Comparison describes the binary operator and the right-side value to compare.
	Comparison MonitorV2Comparison `json:"comparison"`
	// Column indicates the comparison left-side value comes from the column indicated here.
	Column MonitorV2Column `json:"column"`
}

MonitorV2ComparisonTerm includes the GraphQL fields of MonitorV2ComparisonTerm requested by the fragment MonitorV2ComparisonTerm.

func (*MonitorV2ComparisonTerm) GetColumn added in v0.14.24

GetColumn returns MonitorV2ComparisonTerm.Column, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonTerm) GetComparison added in v0.14.24

func (v *MonitorV2ComparisonTerm) GetComparison() MonitorV2Comparison

GetComparison returns MonitorV2ComparisonTerm.Comparison, and is useful for accessing the field via an interface.

type MonitorV2ComparisonTermInput added in v0.14.23

type MonitorV2ComparisonTermInput struct {
	Comparison MonitorV2ComparisonInput `json:"comparison"`
	Column     MonitorV2ColumnInput     `json:"column"`
}

func (*MonitorV2ComparisonTermInput) GetColumn added in v0.14.23

GetColumn returns MonitorV2ComparisonTermInput.Column, and is useful for accessing the field via an interface.

func (*MonitorV2ComparisonTermInput) GetComparison added in v0.14.23

GetComparison returns MonitorV2ComparisonTermInput.Comparison, and is useful for accessing the field via an interface.

type MonitorV2CountRule added in v0.14.14

type MonitorV2CountRule struct {
	// CompareValues is a list of comparisons that provide an implicit AND where all comparisons must match.
	// This gives the option to specify
	// one value for a threshold behavior (trigger if > 80) but also allows for ranges of validity. If you want
	// to trigger inside a range, give two compares here (like > 80 and < 90). If you want to trigger
	// outside a valid range, use two rules with a single compare to get the implied OR
	// (one rule for < 80 and one rule for > 90).
	CompareValues []MonitorV2Comparison `json:"compareValues"`
	// CompareGroups is a list of comparisons made against the columns which the monitor is grouped by.
	// This gives the option to add extra dimension to the existing rule by specifying which column of
	// the group the user looks forward to being alerted by. For example, this allows for rule expression
	// like (Count > 80 and Group = "Good Group") which would trigger a critical alert.
	CompareGroups []MonitorV2ColumnComparison `json:"compareGroups"`
}

MonitorV2CountRule includes the GraphQL fields of MonitorV2CountRule requested by the fragment MonitorV2CountRule.

func (*MonitorV2CountRule) GetCompareGroups added in v0.14.14

func (v *MonitorV2CountRule) GetCompareGroups() []MonitorV2ColumnComparison

GetCompareGroups returns MonitorV2CountRule.CompareGroups, and is useful for accessing the field via an interface.

func (*MonitorV2CountRule) GetCompareValues added in v0.14.14

func (v *MonitorV2CountRule) GetCompareValues() []MonitorV2Comparison

GetCompareValues returns MonitorV2CountRule.CompareValues, and is useful for accessing the field via an interface.

type MonitorV2CountRuleInput added in v0.14.14

type MonitorV2CountRuleInput struct {
	CompareValues []MonitorV2ComparisonInput       `json:"compareValues"`
	CompareGroups []MonitorV2ColumnComparisonInput `json:"compareGroups"`
}

func (*MonitorV2CountRuleInput) GetCompareGroups added in v0.14.14

GetCompareGroups returns MonitorV2CountRuleInput.CompareGroups, and is useful for accessing the field via an interface.

func (*MonitorV2CountRuleInput) GetCompareValues added in v0.14.14

func (v *MonitorV2CountRuleInput) GetCompareValues() []MonitorV2ComparisonInput

GetCompareValues returns MonitorV2CountRuleInput.CompareValues, and is useful for accessing the field via an interface.

type MonitorV2CronSchedule added in v0.14.34

type MonitorV2CronSchedule struct {
	// If specified, the raw cron is a crontab configuration to use to drive the scheduling.
	RawCron *string `json:"rawCron"`
	// A timezone is required to ensure that interpretation of scheduling on the wall-clock
	// is done relative to the desired timezone.
	Timezone string `json:"timezone"`
}

MonitorV2CronSchedule includes the GraphQL fields of MonitorV2CronSchedule requested by the fragment MonitorV2CronSchedule.

func (*MonitorV2CronSchedule) GetRawCron added in v0.14.34

func (v *MonitorV2CronSchedule) GetRawCron() *string

GetRawCron returns MonitorV2CronSchedule.RawCron, and is useful for accessing the field via an interface.

func (*MonitorV2CronSchedule) GetTimezone added in v0.14.34

func (v *MonitorV2CronSchedule) GetTimezone() string

GetTimezone returns MonitorV2CronSchedule.Timezone, and is useful for accessing the field via an interface.

type MonitorV2CronScheduleInput added in v0.14.34

type MonitorV2CronScheduleInput struct {
	RawCron  *string `json:"rawCron"`
	Timezone string  `json:"timezone"`
}

func (*MonitorV2CronScheduleInput) GetRawCron added in v0.14.34

func (v *MonitorV2CronScheduleInput) GetRawCron() *string

GetRawCron returns MonitorV2CronScheduleInput.RawCron, and is useful for accessing the field via an interface.

func (*MonitorV2CronScheduleInput) GetTimezone added in v0.14.34

func (v *MonitorV2CronScheduleInput) GetTimezone() string

GetTimezone returns MonitorV2CronScheduleInput.Timezone, and is useful for accessing the field via an interface.

type MonitorV2Definition added in v0.14.14

type MonitorV2Definition struct {
	// InputQuery is the MultiStageQuery that defines the input feed of data for this monitor. It will include the
	// original dataset(s) and other transform information that the user selected to create "Create Monitor".
	InputQuery MonitorV2DefinitionInputQueryMultiStageQuery `json:"inputQuery"`
	// NoDataRules allows a user to be alerted on missing data for the specified lookback window. When provided,
	// the severity is fixed to the NoData severity. As of today, the max number of no data rules that can be created
	// is 1 for the threshold monitor kind.
	NoDataRules []MonitorV2NoDataRule `json:"noDataRules"`
	// Rules are one or more instances of a MonitorV2Rule, which all must be of the same MonitorRuleKind
	// as specified in `ruleKind`.
	// Rules should be constructed logically such that a state transition from null->Warning implies a
	// transition from null->Informational as well.
	Rules []MonitorV2Rule `json:"rules"`
	// LookbackTime optionally describes a duration that must be satisifed by this monitor. It applies to all rules,
	// but is only applicable to rule kinds that utilize it.
	LookbackTime *types.DurationScalar `json:"lookbackTime"`
	// DataStabilizationDelay expresses the minimum time that should elapse before data is considered "good enough"
	// to evaluate. Choosing a delay really depends on the expectations of latency of data and whether data is expected
	// to arrive later than other data and thus would change previously evaluated results. Another way to think of this
	// value is defining where the "Ragged Right Edge" starts relative to the clock.
	DataStabilizationDelay *types.DurationScalar `json:"dataStabilizationDelay"`
	// MaxAlertsPerHour sets the rate allowed before a monitor is considered possibly bad
	// and automatically disabled by the system. This has a default value of 100 if null/unset.
	// A value of 0 means "no limit".
	MaxAlertsPerHour *types.Int64Scalar `json:"maxAlertsPerHour"`
	// Groupings describes the groups that logically separate events/rows/etc from each other.
	// When the input monitor dataset is of type resource and the monitor strategy is of type promote, this field should
	// either be left empty to be mutated with the primary keys of the resource dataset or it should only contain the
	// primary keys of the dataset.
	Groupings []MonitorV2Column `json:"groupings"`
	// Scheduling controls how often the monitor is evaluated. The default behavior when you do
	// not specify this field is a real-time transform monitor with a default freshness goal that
	// you cannot control.
	Scheduling *MonitorV2Scheduling `json:"scheduling"`
	// The custom variables allow the Monitor definition to convey desired variables to the
	// notification templates. The values in this object should be strings that can contain
	// simple mustache templates that will be rendered prior to the action rendering
	// and will be made available to the action as {{monitor.variables.key}} where
	// 'key' is the key in this object.
	// note: These are distinctly different than the action fragments, which are treated as
	// mustache partials.
	CustomVariables *types.JsonObject `json:"customVariables"`
}

MonitorV2Definition includes the GraphQL fields of MonitorV2Definition requested by the fragment MonitorV2Definition.

func (*MonitorV2Definition) GetCustomVariables added in v0.14.28

func (v *MonitorV2Definition) GetCustomVariables() *types.JsonObject

GetCustomVariables returns MonitorV2Definition.CustomVariables, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetDataStabilizationDelay added in v0.14.14

func (v *MonitorV2Definition) GetDataStabilizationDelay() *types.DurationScalar

GetDataStabilizationDelay returns MonitorV2Definition.DataStabilizationDelay, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetGroupings added in v0.14.14

func (v *MonitorV2Definition) GetGroupings() []MonitorV2Column

GetGroupings returns MonitorV2Definition.Groupings, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetInputQuery added in v0.14.14

GetInputQuery returns MonitorV2Definition.InputQuery, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetLookbackTime added in v0.14.14

func (v *MonitorV2Definition) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorV2Definition.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetMaxAlertsPerHour added in v0.14.23

func (v *MonitorV2Definition) GetMaxAlertsPerHour() *types.Int64Scalar

GetMaxAlertsPerHour returns MonitorV2Definition.MaxAlertsPerHour, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetNoDataRules added in v0.14.32

func (v *MonitorV2Definition) GetNoDataRules() []MonitorV2NoDataRule

GetNoDataRules returns MonitorV2Definition.NoDataRules, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetRules added in v0.14.14

func (v *MonitorV2Definition) GetRules() []MonitorV2Rule

GetRules returns MonitorV2Definition.Rules, and is useful for accessing the field via an interface.

func (*MonitorV2Definition) GetScheduling added in v0.14.14

func (v *MonitorV2Definition) GetScheduling() *MonitorV2Scheduling

GetScheduling returns MonitorV2Definition.Scheduling, and is useful for accessing the field via an interface.

type MonitorV2DefinitionInput added in v0.14.14

type MonitorV2DefinitionInput struct {
	InputQuery             MultiStageQueryInput       `json:"inputQuery"`
	NoDataRules            []MonitorV2NoDataRuleInput `json:"noDataRules"`
	Rules                  []MonitorV2RuleInput       `json:"rules"`
	LookbackTime           *types.DurationScalar      `json:"lookbackTime"`
	DataStabilizationDelay *types.DurationScalar      `json:"dataStabilizationDelay,omitempty"`
	MaxAlertsPerHour       *types.Int64Scalar         `json:"maxAlertsPerHour,omitempty"`
	Groupings              []MonitorV2ColumnInput     `json:"groupings"`
	Scheduling             *MonitorV2SchedulingInput  `json:"scheduling"`
	CustomVariables        *types.JsonObject          `json:"customVariables"`
}

func (*MonitorV2DefinitionInput) GetCustomVariables added in v0.14.28

func (v *MonitorV2DefinitionInput) GetCustomVariables() *types.JsonObject

GetCustomVariables returns MonitorV2DefinitionInput.CustomVariables, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetDataStabilizationDelay added in v0.14.14

func (v *MonitorV2DefinitionInput) GetDataStabilizationDelay() *types.DurationScalar

GetDataStabilizationDelay returns MonitorV2DefinitionInput.DataStabilizationDelay, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetGroupings added in v0.14.14

func (v *MonitorV2DefinitionInput) GetGroupings() []MonitorV2ColumnInput

GetGroupings returns MonitorV2DefinitionInput.Groupings, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetInputQuery added in v0.14.14

GetInputQuery returns MonitorV2DefinitionInput.InputQuery, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetLookbackTime added in v0.14.14

func (v *MonitorV2DefinitionInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorV2DefinitionInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetMaxAlertsPerHour added in v0.14.23

func (v *MonitorV2DefinitionInput) GetMaxAlertsPerHour() *types.Int64Scalar

GetMaxAlertsPerHour returns MonitorV2DefinitionInput.MaxAlertsPerHour, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetNoDataRules added in v0.14.32

func (v *MonitorV2DefinitionInput) GetNoDataRules() []MonitorV2NoDataRuleInput

GetNoDataRules returns MonitorV2DefinitionInput.NoDataRules, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetRules added in v0.14.14

GetRules returns MonitorV2DefinitionInput.Rules, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInput) GetScheduling added in v0.14.14

GetScheduling returns MonitorV2DefinitionInput.Scheduling, and is useful for accessing the field via an interface.

type MonitorV2DefinitionInputQueryMultiStageQuery added in v0.14.14

type MonitorV2DefinitionInputQueryMultiStageQuery struct {
	OutputStage string       `json:"outputStage"`
	Stages      []StageQuery `json:"stages"`
}

MonitorV2DefinitionInputQueryMultiStageQuery includes the requested fields of the GraphQL type MultiStageQuery.

func (*MonitorV2DefinitionInputQueryMultiStageQuery) GetOutputStage added in v0.14.14

GetOutputStage returns MonitorV2DefinitionInputQueryMultiStageQuery.OutputStage, and is useful for accessing the field via an interface.

func (*MonitorV2DefinitionInputQueryMultiStageQuery) GetStages added in v0.14.14

GetStages returns MonitorV2DefinitionInputQueryMultiStageQuery.Stages, and is useful for accessing the field via an interface.

type MonitorV2EmailAction added in v0.14.14

type MonitorV2EmailAction struct {
	// A list of Observe users to email.
	Users []types.UserIdScalar `json:"users"`
	// A list of email addresses to email.
	Addresses []string `json:"addresses"`
	// The email subject template.
	Subject string `json:"subject"`
	// The email body template.
	Body *string `json:"body"`
	// Fragments allow additional partial templates to be made available to the
	// main action template using the {{>partial}} syntax.
	Fragments *types.JsonObject `json:"fragments"`
}

MonitorV2EmailAction includes the GraphQL fields of MonitorV2EmailAction requested by the fragment MonitorV2EmailAction.

func (*MonitorV2EmailAction) GetAddresses added in v0.14.15

func (v *MonitorV2EmailAction) GetAddresses() []string

GetAddresses returns MonitorV2EmailAction.Addresses, and is useful for accessing the field via an interface.

func (*MonitorV2EmailAction) GetBody added in v0.14.14

func (v *MonitorV2EmailAction) GetBody() *string

GetBody returns MonitorV2EmailAction.Body, and is useful for accessing the field via an interface.

func (*MonitorV2EmailAction) GetFragments added in v0.14.14

func (v *MonitorV2EmailAction) GetFragments() *types.JsonObject

GetFragments returns MonitorV2EmailAction.Fragments, and is useful for accessing the field via an interface.

func (*MonitorV2EmailAction) GetSubject added in v0.14.14

func (v *MonitorV2EmailAction) GetSubject() string

GetSubject returns MonitorV2EmailAction.Subject, and is useful for accessing the field via an interface.

func (*MonitorV2EmailAction) GetUsers added in v0.14.15

func (v *MonitorV2EmailAction) GetUsers() []types.UserIdScalar

GetUsers returns MonitorV2EmailAction.Users, and is useful for accessing the field via an interface.

type MonitorV2EmailActionInput added in v0.14.14

type MonitorV2EmailActionInput struct {
	Users     []types.UserIdScalar `json:"users"`
	Addresses []string             `json:"addresses"`
	Subject   string               `json:"subject"`
	Body      *string              `json:"body"`
	Fragments *types.JsonObject    `json:"fragments,omitempty"`
}

func (*MonitorV2EmailActionInput) GetAddresses added in v0.14.15

func (v *MonitorV2EmailActionInput) GetAddresses() []string

GetAddresses returns MonitorV2EmailActionInput.Addresses, and is useful for accessing the field via an interface.

func (*MonitorV2EmailActionInput) GetBody added in v0.14.14

func (v *MonitorV2EmailActionInput) GetBody() *string

GetBody returns MonitorV2EmailActionInput.Body, and is useful for accessing the field via an interface.

func (*MonitorV2EmailActionInput) GetFragments added in v0.14.14

func (v *MonitorV2EmailActionInput) GetFragments() *types.JsonObject

GetFragments returns MonitorV2EmailActionInput.Fragments, and is useful for accessing the field via an interface.

func (*MonitorV2EmailActionInput) GetSubject added in v0.14.14

func (v *MonitorV2EmailActionInput) GetSubject() string

GetSubject returns MonitorV2EmailActionInput.Subject, and is useful for accessing the field via an interface.

func (*MonitorV2EmailActionInput) GetUsers added in v0.14.15

GetUsers returns MonitorV2EmailActionInput.Users, and is useful for accessing the field via an interface.

type MonitorV2HttpType added in v0.14.14

type MonitorV2HttpType string

MonitorV2HttpType describes the two HTTP request methods that users can choose to alert to their desired webhook destinations: POST and PUT.

const (
	MonitorV2HttpTypePost MonitorV2HttpType = "Post"
	MonitorV2HttpTypePut  MonitorV2HttpType = "Put"
)

type MonitorV2Input added in v0.14.14

type MonitorV2Input struct {
	Disabled          *bool                            `json:"disabled,omitempty"`
	Comment           *string                          `json:"comment"`
	Definition        MonitorV2DefinitionInput         `json:"definition"`
	RuleKind          MonitorV2RuleKind                `json:"ruleKind"`
	InvestigationInfo *MonitorV2InvestigationInfoInput `json:"investigationInfo"`
	Name              string                           `json:"name"`
	IconUrl           *string                          `json:"iconUrl,omitempty"`
	Description       *string                          `json:"description,omitempty"`
	ManagedById       *string                          `json:"managedById,omitempty"`
	FolderId          *string                          `json:"folderId,omitempty"`
}

func (*MonitorV2Input) GetComment added in v0.14.14

func (v *MonitorV2Input) GetComment() *string

GetComment returns MonitorV2Input.Comment, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetDefinition added in v0.14.14

func (v *MonitorV2Input) GetDefinition() MonitorV2DefinitionInput

GetDefinition returns MonitorV2Input.Definition, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetDescription added in v0.14.14

func (v *MonitorV2Input) GetDescription() *string

GetDescription returns MonitorV2Input.Description, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetDisabled added in v0.14.30

func (v *MonitorV2Input) GetDisabled() *bool

GetDisabled returns MonitorV2Input.Disabled, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetFolderId added in v0.14.14

func (v *MonitorV2Input) GetFolderId() *string

GetFolderId returns MonitorV2Input.FolderId, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetIconUrl added in v0.14.14

func (v *MonitorV2Input) GetIconUrl() *string

GetIconUrl returns MonitorV2Input.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetInvestigationInfo added in v0.14.23

func (v *MonitorV2Input) GetInvestigationInfo() *MonitorV2InvestigationInfoInput

GetInvestigationInfo returns MonitorV2Input.InvestigationInfo, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetManagedById added in v0.14.14

func (v *MonitorV2Input) GetManagedById() *string

GetManagedById returns MonitorV2Input.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetName added in v0.14.14

func (v *MonitorV2Input) GetName() string

GetName returns MonitorV2Input.Name, and is useful for accessing the field via an interface.

func (*MonitorV2Input) GetRuleKind added in v0.14.14

func (v *MonitorV2Input) GetRuleKind() MonitorV2RuleKind

GetRuleKind returns MonitorV2Input.RuleKind, and is useful for accessing the field via an interface.

type MonitorV2IntervalSchedule added in v0.14.14

type MonitorV2IntervalSchedule struct {
	// Interval is how often the monitor should attempt to run. This interval describes when the
	// monitor enters the queue, but is not a guarantee of execution. Monitors are best-effort
	// and also may be subject to QoS or rate limiting in the future.
	Interval types.DurationScalar `json:"interval"`
	// Randomize is a maximum +/- to apply to the interval to avoid things like harmonics and
	// work stacking up in parallel. If interval is "10m" and randomize is "30s", then a random
	// interval between 9m30s and 10m30s will be selected each run.
	Randomize types.DurationScalar `json:"randomize"`
}

MonitorV2IntervalSchedule includes the GraphQL fields of MonitorV2IntervalSchedule requested by the fragment MonitorV2IntervalSchedule.

func (*MonitorV2IntervalSchedule) GetInterval added in v0.14.14

GetInterval returns MonitorV2IntervalSchedule.Interval, and is useful for accessing the field via an interface.

func (*MonitorV2IntervalSchedule) GetRandomize added in v0.14.14

GetRandomize returns MonitorV2IntervalSchedule.Randomize, and is useful for accessing the field via an interface.

type MonitorV2IntervalScheduleInput added in v0.14.14

type MonitorV2IntervalScheduleInput struct {
	Interval  types.DurationScalar `json:"interval"`
	Randomize types.DurationScalar `json:"randomize"`
}

func (*MonitorV2IntervalScheduleInput) GetInterval added in v0.14.14

GetInterval returns MonitorV2IntervalScheduleInput.Interval, and is useful for accessing the field via an interface.

func (*MonitorV2IntervalScheduleInput) GetRandomize added in v0.14.14

GetRandomize returns MonitorV2IntervalScheduleInput.Randomize, and is useful for accessing the field via an interface.

type MonitorV2InvestigationInfoInput added in v0.14.23

type MonitorV2InvestigationInfoInput struct {
	RunbookContent string `json:"runbookContent"`
}

func (*MonitorV2InvestigationInfoInput) GetRunbookContent added in v0.14.23

func (v *MonitorV2InvestigationInfoInput) GetRunbookContent() string

GetRunbookContent returns MonitorV2InvestigationInfoInput.RunbookContent, and is useful for accessing the field via an interface.

type MonitorV2LinkColumn added in v0.14.14

type MonitorV2LinkColumn struct {
	Name string `json:"name"`
	// Any context surrounding the link column as part of the MonitorV2Alarm will be described here. This column
	// will include the source dataset's and the target dataset's columns linked together to create the current
	// link column.
	Meta *MonitorV2LinkColumnMeta `json:"meta"`
}

MonitorV2LinkColumn includes the GraphQL fields of MonitorV2LinkColumn requested by the fragment MonitorV2LinkColumn.

func (*MonitorV2LinkColumn) GetMeta added in v0.14.14

GetMeta returns MonitorV2LinkColumn.Meta, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumn) GetName added in v0.14.14

func (v *MonitorV2LinkColumn) GetName() string

GetName returns MonitorV2LinkColumn.Name, and is useful for accessing the field via an interface.

type MonitorV2LinkColumnInput added in v0.14.14

type MonitorV2LinkColumnInput struct {
	Name string                        `json:"name"`
	Meta *MonitorV2LinkColumnMetaInput `json:"meta,omitempty"`
}

func (*MonitorV2LinkColumnInput) GetMeta added in v0.14.14

GetMeta returns MonitorV2LinkColumnInput.Meta, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumnInput) GetName added in v0.14.14

func (v *MonitorV2LinkColumnInput) GetName() string

GetName returns MonitorV2LinkColumnInput.Name, and is useful for accessing the field via an interface.

type MonitorV2LinkColumnMeta added in v0.14.14

type MonitorV2LinkColumnMeta struct {
	// List of source fields used to link against the primary keys of the target dataset.
	// Frontend only needs to provide the input for this field when it wants a preview of the template fields.
	SrcFields []MonitorV2ColumnPath `json:"srcFields"`
	// List of destination fields (a.k.a. primary keys) of the target dataset being linked against.
	// Frontend only needs to provide the input for this field when it wants a preview of the template fields.
	DstFields []string `json:"dstFields"`
	// The target dataset is the resource dataset id which the link came from. If the link was created from a stage in
	// the shape of a resource from the worksheet, this field will be empty as there's no resource dataset to point to.
	// Frontend only needs to provide the input for this field when it wants a preview of the template fields.
	TargetDataset *types.Int64Scalar `json:"targetDataset"`
}

MonitorV2LinkColumnMeta includes the GraphQL fields of MonitorV2LinkColumnMeta requested by the fragment MonitorV2LinkColumnMeta.

func (*MonitorV2LinkColumnMeta) GetDstFields added in v0.14.14

func (v *MonitorV2LinkColumnMeta) GetDstFields() []string

GetDstFields returns MonitorV2LinkColumnMeta.DstFields, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumnMeta) GetSrcFields added in v0.14.14

func (v *MonitorV2LinkColumnMeta) GetSrcFields() []MonitorV2ColumnPath

GetSrcFields returns MonitorV2LinkColumnMeta.SrcFields, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumnMeta) GetTargetDataset added in v0.14.14

func (v *MonitorV2LinkColumnMeta) GetTargetDataset() *types.Int64Scalar

GetTargetDataset returns MonitorV2LinkColumnMeta.TargetDataset, and is useful for accessing the field via an interface.

type MonitorV2LinkColumnMetaInput added in v0.14.14

type MonitorV2LinkColumnMetaInput struct {
	SrcFields     []MonitorV2ColumnPathInput `json:"srcFields"`
	DstFields     []string                   `json:"dstFields"`
	TargetDataset *types.Int64Scalar         `json:"targetDataset"`
}

func (*MonitorV2LinkColumnMetaInput) GetDstFields added in v0.14.14

func (v *MonitorV2LinkColumnMetaInput) GetDstFields() []string

GetDstFields returns MonitorV2LinkColumnMetaInput.DstFields, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumnMetaInput) GetSrcFields added in v0.14.14

GetSrcFields returns MonitorV2LinkColumnMetaInput.SrcFields, and is useful for accessing the field via an interface.

func (*MonitorV2LinkColumnMetaInput) GetTargetDataset added in v0.14.14

func (v *MonitorV2LinkColumnMetaInput) GetTargetDataset() *types.Int64Scalar

GetTargetDataset returns MonitorV2LinkColumnMetaInput.TargetDataset, and is useful for accessing the field via an interface.

type MonitorV2NoDataRule added in v0.14.32

type MonitorV2NoDataRule struct {
	// Allows for the user to specify how long they'd like the missing data alert to persist for before
	// it resolves by itself. If not provided, the default expiration time will be set to 24 hours. The
	// expiration must be identical across all rules.
	Expiration *types.DurationScalar `json:"expiration"`
	// Adds the ability for threshold monitor to have a no data rule. When this input is provided here,
	// you must provide the aggregation and valueColumnName, while the compareGroups is optional. The
	// compareValues should be left empty. The aggregation and value column provided must be identical
	// across all rules.
	Threshold *MonitorV2ThresholdRule `json:"threshold"`
}

MonitorV2NoDataRule includes the GraphQL fields of MonitorV2NoDataRule requested by the fragment MonitorV2NoDataRule.

func (*MonitorV2NoDataRule) GetExpiration added in v0.14.32

func (v *MonitorV2NoDataRule) GetExpiration() *types.DurationScalar

GetExpiration returns MonitorV2NoDataRule.Expiration, and is useful for accessing the field via an interface.

func (*MonitorV2NoDataRule) GetThreshold added in v0.14.32

func (v *MonitorV2NoDataRule) GetThreshold() *MonitorV2ThresholdRule

GetThreshold returns MonitorV2NoDataRule.Threshold, and is useful for accessing the field via an interface.

type MonitorV2NoDataRuleInput added in v0.14.32

type MonitorV2NoDataRuleInput struct {
	Expiration *types.DurationScalar        `json:"expiration"`
	Threshold  *MonitorV2ThresholdRuleInput `json:"threshold,omitempty"`
}

func (*MonitorV2NoDataRuleInput) GetExpiration added in v0.14.32

func (v *MonitorV2NoDataRuleInput) GetExpiration() *types.DurationScalar

GetExpiration returns MonitorV2NoDataRuleInput.Expiration, and is useful for accessing the field via an interface.

func (*MonitorV2NoDataRuleInput) GetThreshold added in v0.14.32

GetThreshold returns MonitorV2NoDataRuleInput.Threshold, and is useful for accessing the field via an interface.

type MonitorV2PromoteRule added in v0.14.14

type MonitorV2PromoteRule struct {
	// If this field has been specified, it means there are values in the columns that we want to assign severity by.
	// When multiple column comparisons are specified within one promote rule, it will act as an AND condition. When defined
	// through separate promote rules, it will be treated as an OR condition.
	// If the field is left as an empty array by the frontend, all the rows of the dataset will be considered as an alert.
	// For example, if the field is left empty and the level of the MonitorV2Rule is set at critical, all the rows of the dataset
	// will be treated as a critical alert.
	CompareColumns []MonitorV2ColumnComparison `json:"compareColumns"`
}

MonitorV2PromoteRule includes the GraphQL fields of MonitorV2PromoteRule requested by the fragment MonitorV2PromoteRule.

func (*MonitorV2PromoteRule) GetCompareColumns added in v0.14.14

func (v *MonitorV2PromoteRule) GetCompareColumns() []MonitorV2ColumnComparison

GetCompareColumns returns MonitorV2PromoteRule.CompareColumns, and is useful for accessing the field via an interface.

type MonitorV2PromoteRuleInput added in v0.14.14

type MonitorV2PromoteRuleInput struct {
	CompareColumns []MonitorV2ColumnComparisonInput `json:"compareColumns"`
}

func (*MonitorV2PromoteRuleInput) GetCompareColumns added in v0.14.14

GetCompareColumns returns MonitorV2PromoteRuleInput.CompareColumns, and is useful for accessing the field via an interface.

type MonitorV2RollupStatus added in v0.14.14

type MonitorV2RollupStatus string

MonitorV2RollupStatus is a convenience indicator of how to perceive the state of the monitor. This value is derived entirely using existing data in other fields, but encapsultes those inspections into a single priority-based status. Some status indicators are not exclusive with others so, for example, a monitor that is "Triggering" may also be "Degraded" because of underlying warnings. This priority-sorted rollup is just to let the user prioritize and sort things in the UI in an order we define as most sensible. This ordering can be changed as needed. In descending order of priority, the values are: - Inactive: The monitor is not running because it is disabled or because the system has deactivated it due to chronic failures. - Failed: The last attempt to run the monitor had fatal errors (it cannot trigger). - Triggering: The last evaluation had still-active alarms, or new one-shot alarms. - Degraded: The last evaluation had warnings, but evaluation completed and no alarms were detected. - Running: The default state. If no other status is indicated, the monitor is running.

const (
	MonitorV2RollupStatusDegraded   MonitorV2RollupStatus = "Degraded"
	MonitorV2RollupStatusFailed     MonitorV2RollupStatus = "Failed"
	MonitorV2RollupStatusInactive   MonitorV2RollupStatus = "Inactive"
	MonitorV2RollupStatusRunning    MonitorV2RollupStatus = "Running"
	MonitorV2RollupStatusTriggering MonitorV2RollupStatus = "Triggering"
)

type MonitorV2Rule added in v0.14.14

type MonitorV2Rule struct {
	// Level is the severity level to assign to a rule's conditions being matched.
	Level MonitorV2AlarmLevel `json:"level"`
	Count *MonitorV2CountRule `json:"count"`
	// The aggregation and value column provided must be identical across all rules.
	Threshold *MonitorV2ThresholdRule `json:"threshold"`
	Promote   *MonitorV2PromoteRule   `json:"promote"`
}

MonitorV2Rule includes the GraphQL fields of MonitorV2Rule requested by the fragment MonitorV2Rule.

func (*MonitorV2Rule) GetCount added in v0.14.14

func (v *MonitorV2Rule) GetCount() *MonitorV2CountRule

GetCount returns MonitorV2Rule.Count, and is useful for accessing the field via an interface.

func (*MonitorV2Rule) GetLevel added in v0.14.14

func (v *MonitorV2Rule) GetLevel() MonitorV2AlarmLevel

GetLevel returns MonitorV2Rule.Level, and is useful for accessing the field via an interface.

func (*MonitorV2Rule) GetPromote added in v0.14.14

func (v *MonitorV2Rule) GetPromote() *MonitorV2PromoteRule

GetPromote returns MonitorV2Rule.Promote, and is useful for accessing the field via an interface.

func (*MonitorV2Rule) GetThreshold added in v0.14.14

func (v *MonitorV2Rule) GetThreshold() *MonitorV2ThresholdRule

GetThreshold returns MonitorV2Rule.Threshold, and is useful for accessing the field via an interface.

type MonitorV2RuleInput added in v0.14.14

type MonitorV2RuleInput struct {
	Level     MonitorV2AlarmLevel          `json:"level"`
	Count     *MonitorV2CountRuleInput     `json:"count,omitempty"`
	Threshold *MonitorV2ThresholdRuleInput `json:"threshold,omitempty"`
	Promote   *MonitorV2PromoteRuleInput   `json:"promote,omitempty"`
}

func (*MonitorV2RuleInput) GetCount added in v0.14.14

GetCount returns MonitorV2RuleInput.Count, and is useful for accessing the field via an interface.

func (*MonitorV2RuleInput) GetLevel added in v0.14.14

GetLevel returns MonitorV2RuleInput.Level, and is useful for accessing the field via an interface.

func (*MonitorV2RuleInput) GetPromote added in v0.14.14

GetPromote returns MonitorV2RuleInput.Promote, and is useful for accessing the field via an interface.

func (*MonitorV2RuleInput) GetThreshold added in v0.14.14

GetThreshold returns MonitorV2RuleInput.Threshold, and is useful for accessing the field via an interface.

type MonitorV2RuleKind added in v0.14.14

type MonitorV2RuleKind string

MonitorV2RuleKind describes the strategy used to inspect the input query. - Count is used when what you care to inspect is the number of rows/instances in the query result. - Threshold is when you want to inspect a numerical value within the query results, not the presence of the rows themselves.

const (
	MonitorV2RuleKindCount     MonitorV2RuleKind = "Count"
	MonitorV2RuleKindPromote   MonitorV2RuleKind = "Promote"
	MonitorV2RuleKindThreshold MonitorV2RuleKind = "Threshold"
)

type MonitorV2Scheduling added in v0.14.14

type MonitorV2Scheduling struct {
	// Interval should be used to run explicit ad-hoc queries to provide continuous
	// monitoring, but using ad-hoc queries instead of transform.
	Interval *MonitorV2IntervalSchedule `json:"interval"`
	// Transform should be specified as an explicit transform evaluation style.
	Transform *MonitorV2TransformSchedule `json:"transform"`
	// Cron should be specified to get wall-clock scheduled evaluation.
	Scheduled *MonitorV2CronSchedule `json:"scheduled"`
}

MonitorV2Scheduling includes the GraphQL fields of MonitorV2Scheduling requested by the fragment MonitorV2Scheduling.

func (*MonitorV2Scheduling) GetInterval added in v0.14.14

GetInterval returns MonitorV2Scheduling.Interval, and is useful for accessing the field via an interface.

func (*MonitorV2Scheduling) GetScheduled added in v0.14.34

func (v *MonitorV2Scheduling) GetScheduled() *MonitorV2CronSchedule

GetScheduled returns MonitorV2Scheduling.Scheduled, and is useful for accessing the field via an interface.

func (*MonitorV2Scheduling) GetTransform added in v0.14.14

GetTransform returns MonitorV2Scheduling.Transform, and is useful for accessing the field via an interface.

type MonitorV2SchedulingInput added in v0.14.14

type MonitorV2SchedulingInput struct {
	Interval  *MonitorV2IntervalScheduleInput  `json:"interval"`
	Transform *MonitorV2TransformScheduleInput `json:"transform"`
	Scheduled *MonitorV2CronScheduleInput      `json:"scheduled"`
}

func (*MonitorV2SchedulingInput) GetInterval added in v0.14.14

GetInterval returns MonitorV2SchedulingInput.Interval, and is useful for accessing the field via an interface.

func (*MonitorV2SchedulingInput) GetScheduled added in v0.14.34

GetScheduled returns MonitorV2SchedulingInput.Scheduled, and is useful for accessing the field via an interface.

func (*MonitorV2SchedulingInput) GetTransform added in v0.14.14

GetTransform returns MonitorV2SchedulingInput.Transform, and is useful for accessing the field via an interface.

type MonitorV2SearchResult added in v0.14.14

type MonitorV2SearchResult struct {
	Results []MonitorV2 `json:"results"`
}

MonitorV2SearchResult includes the GraphQL fields of MonitorV2SearchResult requested by the fragment MonitorV2SearchResult.

func (*MonitorV2SearchResult) GetResults added in v0.14.14

func (v *MonitorV2SearchResult) GetResults() []MonitorV2

GetResults returns MonitorV2SearchResult.Results, and is useful for accessing the field via an interface.

type MonitorV2ThresholdRule added in v0.14.14

type MonitorV2ThresholdRule struct {
	// CompareValues is a list of comparisons that provide an implicit AND where all comparisons must match.
	// This gives the option to specify one value for a threshold behavior (trigger if > 80) but also allows
	// for ranges of validity. If you want to trigger inside a range, give two compares here (like > 80 and < 90).
	// If you want to trigger outside a valid range, use two rules with a single compare to get the implied OR
	// (one rule for < 80 and one rule for > 90).
	// CompareValues can only be left empty when the NoDataOption is provided as there's no values to compare against
	// when we want to alert on the data itself missing.
	CompareValues []MonitorV2Comparison `json:"compareValues"`
	// ValueColumnName indicates which of the columns in the input query has the value to apply to the aggregation.
	ValueColumnName string                    `json:"valueColumnName"`
	Aggregation     MonitorV2ValueAggregation `json:"aggregation"`
	// CompareGroups is a list of comparisons made against the columns which the monitor is grouped by.
	// This gives the option to add extra dimension to the existing rule by specifying which column of
	// the group the user looks forward to being alerted by. For example, this allows for rule expression
	// like (Threshold > 80 and Group = "Good Group") which would trigger a critical alert.
	CompareGroups []MonitorV2ColumnComparison `json:"compareGroups"`
}

MonitorV2ThresholdRule includes the GraphQL fields of MonitorV2ThresholdRule requested by the fragment MonitorV2ThresholdRule.

func (*MonitorV2ThresholdRule) GetAggregation added in v0.14.14

GetAggregation returns MonitorV2ThresholdRule.Aggregation, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRule) GetCompareGroups added in v0.14.14

func (v *MonitorV2ThresholdRule) GetCompareGroups() []MonitorV2ColumnComparison

GetCompareGroups returns MonitorV2ThresholdRule.CompareGroups, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRule) GetCompareValues added in v0.14.14

func (v *MonitorV2ThresholdRule) GetCompareValues() []MonitorV2Comparison

GetCompareValues returns MonitorV2ThresholdRule.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRule) GetValueColumnName added in v0.14.14

func (v *MonitorV2ThresholdRule) GetValueColumnName() string

GetValueColumnName returns MonitorV2ThresholdRule.ValueColumnName, and is useful for accessing the field via an interface.

type MonitorV2ThresholdRuleInput added in v0.14.14

type MonitorV2ThresholdRuleInput struct {
	CompareValues   []MonitorV2ComparisonInput       `json:"compareValues"`
	ValueColumnName string                           `json:"valueColumnName"`
	Aggregation     MonitorV2ValueAggregation        `json:"aggregation"`
	CompareGroups   []MonitorV2ColumnComparisonInput `json:"compareGroups"`
}

func (*MonitorV2ThresholdRuleInput) GetAggregation added in v0.14.14

GetAggregation returns MonitorV2ThresholdRuleInput.Aggregation, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRuleInput) GetCompareGroups added in v0.14.14

GetCompareGroups returns MonitorV2ThresholdRuleInput.CompareGroups, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRuleInput) GetCompareValues added in v0.14.14

func (v *MonitorV2ThresholdRuleInput) GetCompareValues() []MonitorV2ComparisonInput

GetCompareValues returns MonitorV2ThresholdRuleInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorV2ThresholdRuleInput) GetValueColumnName added in v0.14.14

func (v *MonitorV2ThresholdRuleInput) GetValueColumnName() string

GetValueColumnName returns MonitorV2ThresholdRuleInput.ValueColumnName, and is useful for accessing the field via an interface.

type MonitorV2TransformSchedule added in v0.14.14

type MonitorV2TransformSchedule struct {
	FreshnessGoal types.DurationScalar `json:"freshnessGoal"`
}

MonitorV2TransformSchedule includes the GraphQL fields of MonitorV2TransformSchedule requested by the fragment MonitorV2TransformSchedule.

func (*MonitorV2TransformSchedule) GetFreshnessGoal added in v0.14.14

func (v *MonitorV2TransformSchedule) GetFreshnessGoal() types.DurationScalar

GetFreshnessGoal returns MonitorV2TransformSchedule.FreshnessGoal, and is useful for accessing the field via an interface.

type MonitorV2TransformScheduleInput added in v0.14.14

type MonitorV2TransformScheduleInput struct {
	FreshnessGoal types.DurationScalar `json:"freshnessGoal"`
}

func (*MonitorV2TransformScheduleInput) GetFreshnessGoal added in v0.14.14

GetFreshnessGoal returns MonitorV2TransformScheduleInput.FreshnessGoal, and is useful for accessing the field via an interface.

type MonitorV2ValueAggregation added in v0.14.14

type MonitorV2ValueAggregation string

MonitorV2ValueAggregation describes the numerical/value aggregations for the Value monitor type. These types map to your typical query aggregators except count, which is its own monitor type since it acts on rows, not on values. - AllOf: This is like "all values > 80" (which is like saying min(value) > 80) - AnyOf: This is like "any value > 80" (which is like saying max(value) > 80) - SumOf: This sums all values over the lookback and makes that the value to compare - AvgOf: This averages all values over the lookback and makes that the value to compare

const (
	MonitorV2ValueAggregationAllof MonitorV2ValueAggregation = "AllOf"
	MonitorV2ValueAggregationAnyof MonitorV2ValueAggregation = "AnyOf"
	MonitorV2ValueAggregationAvgof MonitorV2ValueAggregation = "AvgOf"
	MonitorV2ValueAggregationSumof MonitorV2ValueAggregation = "SumOf"
)

type MonitorV2WebhookAction added in v0.14.14

type MonitorV2WebhookAction struct {
	// The webhook headers -- a header and a value template.
	Headers []MonitorV2WebhookHeader `json:"headers"`
	// The webhook body template.
	Body string `json:"body"`
	// Fragments allow additional partial templates to be made available to the
	// main action template using the {{>partial}} syntax.
	Fragments *types.JsonObject `json:"fragments"`
	// A webhook URL template to a destination that can be rendered.
	Url string `json:"url"`
	// HTTP POST or PUT request into the webhook URL.
	Method MonitorV2HttpType `json:"method"`
}

MonitorV2WebhookAction includes the GraphQL fields of MonitorV2WebhookAction requested by the fragment MonitorV2WebhookAction.

func (*MonitorV2WebhookAction) GetBody added in v0.14.14

func (v *MonitorV2WebhookAction) GetBody() string

GetBody returns MonitorV2WebhookAction.Body, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookAction) GetFragments added in v0.14.14

func (v *MonitorV2WebhookAction) GetFragments() *types.JsonObject

GetFragments returns MonitorV2WebhookAction.Fragments, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookAction) GetHeaders added in v0.14.14

GetHeaders returns MonitorV2WebhookAction.Headers, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookAction) GetMethod added in v0.14.15

GetMethod returns MonitorV2WebhookAction.Method, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookAction) GetUrl added in v0.14.15

func (v *MonitorV2WebhookAction) GetUrl() string

GetUrl returns MonitorV2WebhookAction.Url, and is useful for accessing the field via an interface.

type MonitorV2WebhookActionInput added in v0.14.14

type MonitorV2WebhookActionInput struct {
	Url       string                        `json:"url"`
	Method    MonitorV2HttpType             `json:"method"`
	Headers   []MonitorV2WebhookHeaderInput `json:"headers,omitempty"`
	Body      string                        `json:"body"`
	Fragments *types.JsonObject             `json:"fragments,omitempty"`
}

func (*MonitorV2WebhookActionInput) GetBody added in v0.14.14

func (v *MonitorV2WebhookActionInput) GetBody() string

GetBody returns MonitorV2WebhookActionInput.Body, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookActionInput) GetFragments added in v0.14.14

func (v *MonitorV2WebhookActionInput) GetFragments() *types.JsonObject

GetFragments returns MonitorV2WebhookActionInput.Fragments, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookActionInput) GetHeaders added in v0.14.14

GetHeaders returns MonitorV2WebhookActionInput.Headers, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookActionInput) GetMethod added in v0.14.15

GetMethod returns MonitorV2WebhookActionInput.Method, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookActionInput) GetUrl added in v0.14.15

func (v *MonitorV2WebhookActionInput) GetUrl() string

GetUrl returns MonitorV2WebhookActionInput.Url, and is useful for accessing the field via an interface.

type MonitorV2WebhookHeader added in v0.14.14

type MonitorV2WebhookHeader struct {
	// A webhook header.
	Header string `json:"header"`
	// A value template that can be rendered.
	Value string `json:"value"`
}

MonitorV2WebhookHeader includes the GraphQL fields of MonitorV2WebhookHeader requested by the fragment MonitorV2WebhookHeader.

func (*MonitorV2WebhookHeader) GetHeader added in v0.14.14

func (v *MonitorV2WebhookHeader) GetHeader() string

GetHeader returns MonitorV2WebhookHeader.Header, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookHeader) GetValue added in v0.14.14

func (v *MonitorV2WebhookHeader) GetValue() string

GetValue returns MonitorV2WebhookHeader.Value, and is useful for accessing the field via an interface.

type MonitorV2WebhookHeaderInput added in v0.14.14

type MonitorV2WebhookHeaderInput struct {
	Header string `json:"header"`
	Value  string `json:"value"`
}

func (*MonitorV2WebhookHeaderInput) GetHeader added in v0.14.14

func (v *MonitorV2WebhookHeaderInput) GetHeader() string

GetHeader returns MonitorV2WebhookHeaderInput.Header, and is useful for accessing the field via an interface.

func (*MonitorV2WebhookHeaderInput) GetValue added in v0.14.14

func (v *MonitorV2WebhookHeaderInput) GetValue() string

GetValue returns MonitorV2WebhookHeaderInput.Value, and is useful for accessing the field via an interface.

type MultiStageQueryInput

type MultiStageQueryInput struct {
	OutputStage     string                  `json:"outputStage"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Layout          *types.JsonObject       `json:"layout"`
}

func (*MultiStageQueryInput) GetLayout

func (v *MultiStageQueryInput) GetLayout() *types.JsonObject

GetLayout returns MultiStageQueryInput.Layout, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetOutputStage

func (v *MultiStageQueryInput) GetOutputStage() string

GetOutputStage returns MultiStageQueryInput.OutputStage, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetParameterValues

func (v *MultiStageQueryInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns MultiStageQueryInput.ParameterValues, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetParameters

func (v *MultiStageQueryInput) GetParameters() []ParameterSpecInput

GetParameters returns MultiStageQueryInput.Parameters, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetStages

func (v *MultiStageQueryInput) GetStages() []StageQueryInput

GetStages returns MultiStageQueryInput.Stages, and is useful for accessing the field via an interface.

type MutateRbacStatementsResponse added in v0.14.23

type MutateRbacStatementsResponse struct {
	CreatedStatements []MutateRbacStatementsResponseCreatedStatementsRbacStatement `json:"createdStatements"`
	UpdatedStatements []MutateRbacStatementsResponseUpdatedStatementsRbacStatement `json:"updatedStatements"`
	DeletedStatements []string                                                     `json:"deletedStatements"`
}

MutateRbacStatementsResponse includes the GraphQL fields of MutateRbacStatementsResponse requested by the fragment MutateRbacStatementsResponse.

func (*MutateRbacStatementsResponse) GetCreatedStatements added in v0.14.23

GetCreatedStatements returns MutateRbacStatementsResponse.CreatedStatements, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponse) GetDeletedStatements added in v0.14.23

func (v *MutateRbacStatementsResponse) GetDeletedStatements() []string

GetDeletedStatements returns MutateRbacStatementsResponse.DeletedStatements, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponse) GetUpdatedStatements added in v0.14.23

GetUpdatedStatements returns MutateRbacStatementsResponse.UpdatedStatements, and is useful for accessing the field via an interface.

type MutateRbacStatementsResponseCreatedStatementsRbacStatement added in v0.14.23

type MutateRbacStatementsResponseCreatedStatementsRbacStatement struct {
	RbacStatement `json:"-"`
}

MutateRbacStatementsResponseCreatedStatementsRbacStatement includes the requested fields of the GraphQL type RbacStatement.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetDescription added in v0.14.23

GetDescription returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Description, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetId added in v0.14.23

GetId returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Id, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetObject added in v0.14.23

GetObject returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Object, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetRole added in v0.14.23

GetRole returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Role, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetSubject added in v0.14.23

GetSubject returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Subject, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) GetVersion added in v0.14.23

GetVersion returns MutateRbacStatementsResponseCreatedStatementsRbacStatement.Version, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) MarshalJSON added in v0.14.23

func (*MutateRbacStatementsResponseCreatedStatementsRbacStatement) UnmarshalJSON added in v0.14.23

type MutateRbacStatementsResponseUpdatedStatementsRbacStatement added in v0.14.23

type MutateRbacStatementsResponseUpdatedStatementsRbacStatement struct {
	RbacStatement `json:"-"`
}

MutateRbacStatementsResponseUpdatedStatementsRbacStatement includes the requested fields of the GraphQL type RbacStatement.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetDescription added in v0.14.23

GetDescription returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Description, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetId added in v0.14.23

GetId returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Id, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetObject added in v0.14.23

GetObject returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Object, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetRole added in v0.14.23

GetRole returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Role, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetSubject added in v0.14.23

GetSubject returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Subject, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) GetVersion added in v0.14.23

GetVersion returns MutateRbacStatementsResponseUpdatedStatementsRbacStatement.Version, and is useful for accessing the field via an interface.

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) MarshalJSON added in v0.14.23

func (*MutateRbacStatementsResponseUpdatedStatementsRbacStatement) UnmarshalJSON added in v0.14.23

type NotificationImportance

type NotificationImportance string
const (
	NotificationImportanceInformational NotificationImportance = "Informational"
	NotificationImportanceImportant     NotificationImportance = "Important"
	NotificationImportanceMissing       NotificationImportance = "Missing"
)

type NotificationMerge

type NotificationMerge string
const (
	NotificationMergeMerged   NotificationMerge = "Merged"
	NotificationMergeSeparate NotificationMerge = "Separate"
)

type NotificationSelection

type NotificationSelection string
const (
	NotificationSelectionAny        NotificationSelection = "Any"
	NotificationSelectionAll        NotificationSelection = "All"
	NotificationSelectionPercentage NotificationSelection = "Percentage"
	NotificationSelectionCount      NotificationSelection = "Count"
)

type NotificationSpecificationInput

type NotificationSpecificationInput struct {
	Importance     *NotificationImportance `json:"importance"`
	Merge          *NotificationMerge      `json:"merge"`
	Selection      *NotificationSelection  `json:"selection"`
	SelectionValue *types.NumberScalar     `json:"selectionValue"`
	// Check if we should send reminder notifications at the specified reminderFrequency.
	NotifyOnReminder *bool `json:"notifyOnReminder"`
	// Send a notification when this alert becomes inactive.
	NotifyOnClose     *bool                 `json:"notifyOnClose"`
	ReminderFrequency *types.DurationScalar `json:"reminderFrequency"`
}

func (*NotificationSpecificationInput) GetImportance

GetImportance returns NotificationSpecificationInput.Importance, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetMerge

GetMerge returns NotificationSpecificationInput.Merge, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetNotifyOnClose

func (v *NotificationSpecificationInput) GetNotifyOnClose() *bool

GetNotifyOnClose returns NotificationSpecificationInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetNotifyOnReminder

func (v *NotificationSpecificationInput) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns NotificationSpecificationInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetReminderFrequency

func (v *NotificationSpecificationInput) GetReminderFrequency() *types.DurationScalar

GetReminderFrequency returns NotificationSpecificationInput.ReminderFrequency, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetSelection

GetSelection returns NotificationSpecificationInput.Selection, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetSelectionValue

func (v *NotificationSpecificationInput) GetSelectionValue() *types.NumberScalar

GetSelectionValue returns NotificationSpecificationInput.SelectionValue, and is useful for accessing the field via an interface.

type NullOrdering

type NullOrdering string
const (
	// Default: nulls are "small" for valid-from, "big" for valid-to, and "last"
	// for other fields.
	NullOrderingDefault NullOrdering = "Default"
	NullOrderingFirst   NullOrdering = "First"
	NullOrderingLast    NullOrdering = "Last"
)

type ORType added in v0.14.30

type ORType string
const (
	ORTypeCustomer       ORType = "Customer"
	ORTypeDashboard      ORType = "Dashboard"
	ORTypeDataset        ORType = "Dataset"
	ORTypeDatastream     ORType = "Datastream"
	ORTypeMonitor        ORType = "Monitor"
	ORTypeReferencetable ORType = "Referencetable"
	ORTypeWorksheet      ORType = "Worksheet"
)

type ObjectKind

type ObjectKind string

At some point in the future, we may have Segments as business objects, and be able to bookmark them. Technically, we can bookmark bookmark groups, but there is no current UI using that feature.

const (
	ObjectKindDataset       ObjectKind = "Dataset"
	ObjectKindWorksheet     ObjectKind = "Worksheet"
	ObjectKindBookmarkgroup ObjectKind = "BookmarkGroup"
	ObjectKindMonitor       ObjectKind = "Monitor"
	ObjectKindResource      ObjectKind = "Resource"
	ObjectKindDashboard     ObjectKind = "Dashboard"
)

type PaginationInput

type PaginationInput struct {
	// Number of rows to return in paginatedResults of initial TaskResult. May
	// be set to 0, in which case paginatedResults will only contain a cursor
	// ID. Any value < 0 (say, -1) is interpreted as "all rows" (beware of
	// large results).
	InitialRows types.Int64Scalar `json:"initialRows"`
	// Initial rollup filter (default to "all" mode if nil).
	InitialRollupFilter *RollupFilterInput `json:"initialRollupFilter"`
	// If set to true, cache the cursor so that Query.cursor() can be used to
	// fetch additional rows beyond initialRows. Omitting or setting the
	// parameter to false saves back-end resources and is to be preferred if
	// the caller knows it will not call Query.cursor().
	CacheCursor *bool `json:"cacheCursor"`
	// Choose how the cursor is cached.
	CursorCacheMode *CursorCacheMode `json:"cursorCacheMode"`
}

func (*PaginationInput) GetCacheCursor

func (v *PaginationInput) GetCacheCursor() *bool

GetCacheCursor returns PaginationInput.CacheCursor, and is useful for accessing the field via an interface.

func (*PaginationInput) GetCursorCacheMode

func (v *PaginationInput) GetCursorCacheMode() *CursorCacheMode

GetCursorCacheMode returns PaginationInput.CursorCacheMode, and is useful for accessing the field via an interface.

func (*PaginationInput) GetInitialRollupFilter

func (v *PaginationInput) GetInitialRollupFilter() *RollupFilterInput

GetInitialRollupFilter returns PaginationInput.InitialRollupFilter, and is useful for accessing the field via an interface.

func (*PaginationInput) GetInitialRows

func (v *PaginationInput) GetInitialRows() types.Int64Scalar

GetInitialRows returns PaginationInput.InitialRows, and is useful for accessing the field via an interface.

type ParameterBindingInput

type ParameterBindingInput struct {
	Id    string      `json:"id"`
	Value types.Value `json:"value"`
}

Parameter values for queries (and defaults) are specified with ParameterBindingInput.

For APIs that take a raw StageInput array, the parameterValues argument is in parallel. For APIs that take MultiStageQueryInput, parameterValues are part of that query.

func (*ParameterBindingInput) GetId

func (v *ParameterBindingInput) GetId() string

GetId returns ParameterBindingInput.Id, and is useful for accessing the field via an interface.

func (*ParameterBindingInput) GetValue

func (v *ParameterBindingInput) GetValue() types.Value

GetValue returns ParameterBindingInput.Value, and is useful for accessing the field via an interface.

type ParameterSpecInput

type ParameterSpecInput struct {
	// opal usable id, ideally a valid C and JavaScript identifier
	Id string `json:"id"`
	// user-readable name
	Name string `json:"name"`
	// optional default value, must match valueKind if present
	DefaultValue *types.Value       `json:"defaultValue"`
	ValueKind    ValueTypeSpecInput `json:"valueKind"`
}

Whever you can "save" a worksheet-like entity, you can also save the parameters that go with it. This is so that the worksheet component in the FE can have a unified API to work against. You can also save the parameterValues to go with it as well.

func (*ParameterSpecInput) GetDefaultValue

func (v *ParameterSpecInput) GetDefaultValue() *types.Value

GetDefaultValue returns ParameterSpecInput.DefaultValue, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetId

func (v *ParameterSpecInput) GetId() string

GetId returns ParameterSpecInput.Id, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetName

func (v *ParameterSpecInput) GetName() string

GetName returns ParameterSpecInput.Name, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetValueKind

func (v *ParameterSpecInput) GetValueKind() ValueTypeSpecInput

GetValueKind returns ParameterSpecInput.ValueKind, and is useful for accessing the field via an interface.

type Poller

type Poller struct {
	Id           string       `json:"id"`
	WorkspaceId  string       `json:"workspaceId"`
	CustomerId   string       `json:"customerId"`
	DatastreamId *string      `json:"datastreamId"`
	Disabled     bool         `json:"disabled"`
	Kind         PollerKind   `json:"kind"`
	Config       PollerConfig `json:"-"`
}

Poller includes the GraphQL fields of Poller requested by the fragment Poller.

func (*Poller) GetConfig

func (v *Poller) GetConfig() PollerConfig

GetConfig returns Poller.Config, and is useful for accessing the field via an interface.

func (*Poller) GetCustomerId

func (v *Poller) GetCustomerId() string

GetCustomerId returns Poller.CustomerId, and is useful for accessing the field via an interface.

func (*Poller) GetDatastreamId

func (v *Poller) GetDatastreamId() *string

GetDatastreamId returns Poller.DatastreamId, and is useful for accessing the field via an interface.

func (*Poller) GetDisabled

func (v *Poller) GetDisabled() bool

GetDisabled returns Poller.Disabled, and is useful for accessing the field via an interface.

func (*Poller) GetId

func (v *Poller) GetId() string

GetId returns Poller.Id, and is useful for accessing the field via an interface.

func (*Poller) GetKind

func (v *Poller) GetKind() PollerKind

GetKind returns Poller.Kind, and is useful for accessing the field via an interface.

func (*Poller) GetWorkspaceId

func (v *Poller) GetWorkspaceId() string

GetWorkspaceId returns Poller.WorkspaceId, and is useful for accessing the field via an interface.

func (*Poller) MarshalJSON

func (v *Poller) MarshalJSON() ([]byte, error)

func (*Poller) Oid

func (p *Poller) Oid() *oid.OID

func (*Poller) UnmarshalJSON

func (v *Poller) UnmarshalJSON(b []byte) error

type PollerAWSSnapshotInput added in v0.14.14

type PollerAWSSnapshotInput struct {
	IncludeActions []string `json:"includeActions"`
	Region         string   `json:"region"`
	AssumeRoleArn  string   `json:"assumeRoleArn"`
}

func (*PollerAWSSnapshotInput) GetAssumeRoleArn added in v0.14.14

func (v *PollerAWSSnapshotInput) GetAssumeRoleArn() string

GetAssumeRoleArn returns PollerAWSSnapshotInput.AssumeRoleArn, and is useful for accessing the field via an interface.

func (*PollerAWSSnapshotInput) GetIncludeActions added in v0.14.14

func (v *PollerAWSSnapshotInput) GetIncludeActions() []string

GetIncludeActions returns PollerAWSSnapshotInput.IncludeActions, and is useful for accessing the field via an interface.

func (*PollerAWSSnapshotInput) GetRegion added in v0.14.14

func (v *PollerAWSSnapshotInput) GetRegion() string

GetRegion returns PollerAWSSnapshotInput.Region, and is useful for accessing the field via an interface.

type PollerChunkInput

type PollerChunkInput struct {
	Enabled bool               `json:"enabled"`
	Size    *types.Int64Scalar `json:"size"`
}

func (*PollerChunkInput) GetEnabled

func (v *PollerChunkInput) GetEnabled() bool

GetEnabled returns PollerChunkInput.Enabled, and is useful for accessing the field via an interface.

func (*PollerChunkInput) GetSize

func (v *PollerChunkInput) GetSize() *types.Int64Scalar

GetSize returns PollerChunkInput.Size, and is useful for accessing the field via an interface.

type PollerCloudWatchMetricsDimensionFilterInput added in v0.14.13

type PollerCloudWatchMetricsDimensionFilterInput struct {
	Name  string  `json:"name"`
	Value *string `json:"value"`
}

func (*PollerCloudWatchMetricsDimensionFilterInput) GetName added in v0.14.13

GetName returns PollerCloudWatchMetricsDimensionFilterInput.Name, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsDimensionFilterInput) GetValue added in v0.14.13

GetValue returns PollerCloudWatchMetricsDimensionFilterInput.Value, and is useful for accessing the field via an interface.

type PollerCloudWatchMetricsInput added in v0.14.13

type PollerCloudWatchMetricsInput struct {
	Period        types.Int64Scalar                   `json:"period"`
	Delay         types.Int64Scalar                   `json:"delay"`
	Queries       []PollerCloudWatchMetricsQueryInput `json:"queries"`
	Region        string                              `json:"region"`
	AssumeRoleArn string                              `json:"assumeRoleArn"`
}

func (*PollerCloudWatchMetricsInput) GetAssumeRoleArn added in v0.14.13

func (v *PollerCloudWatchMetricsInput) GetAssumeRoleArn() string

GetAssumeRoleArn returns PollerCloudWatchMetricsInput.AssumeRoleArn, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsInput) GetDelay added in v0.14.13

GetDelay returns PollerCloudWatchMetricsInput.Delay, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsInput) GetPeriod added in v0.14.13

GetPeriod returns PollerCloudWatchMetricsInput.Period, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsInput) GetQueries added in v0.14.13

GetQueries returns PollerCloudWatchMetricsInput.Queries, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsInput) GetRegion added in v0.14.13

func (v *PollerCloudWatchMetricsInput) GetRegion() string

GetRegion returns PollerCloudWatchMetricsInput.Region, and is useful for accessing the field via an interface.

type PollerCloudWatchMetricsQueryInput added in v0.14.13

type PollerCloudWatchMetricsQueryInput struct {
	Namespace      string                                        `json:"namespace"`
	MetricNames    []string                                      `json:"metricNames"`
	Dimensions     []PollerCloudWatchMetricsDimensionFilterInput `json:"dimensions"`
	ResourceFilter *PollerCloudWatchMetricsResourceFilterInput   `json:"resourceFilter"`
}

func (*PollerCloudWatchMetricsQueryInput) GetDimensions added in v0.14.13

GetDimensions returns PollerCloudWatchMetricsQueryInput.Dimensions, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsQueryInput) GetMetricNames added in v0.14.13

func (v *PollerCloudWatchMetricsQueryInput) GetMetricNames() []string

GetMetricNames returns PollerCloudWatchMetricsQueryInput.MetricNames, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsQueryInput) GetNamespace added in v0.14.13

func (v *PollerCloudWatchMetricsQueryInput) GetNamespace() string

GetNamespace returns PollerCloudWatchMetricsQueryInput.Namespace, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsQueryInput) GetResourceFilter added in v0.14.13

GetResourceFilter returns PollerCloudWatchMetricsQueryInput.ResourceFilter, and is useful for accessing the field via an interface.

type PollerCloudWatchMetricsResourceFilterInput added in v0.14.13

type PollerCloudWatchMetricsResourceFilterInput struct {
	ResourceType  *string                                 `json:"resourceType"`
	Pattern       *string                                 `json:"pattern"`
	DimensionName *string                                 `json:"dimensionName"`
	TagFilters    []PollerCloudWatchMetricsTagFilterInput `json:"tagFilters"`
}

func (*PollerCloudWatchMetricsResourceFilterInput) GetDimensionName added in v0.14.13

func (v *PollerCloudWatchMetricsResourceFilterInput) GetDimensionName() *string

GetDimensionName returns PollerCloudWatchMetricsResourceFilterInput.DimensionName, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsResourceFilterInput) GetPattern added in v0.14.13

GetPattern returns PollerCloudWatchMetricsResourceFilterInput.Pattern, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsResourceFilterInput) GetResourceType added in v0.14.13

func (v *PollerCloudWatchMetricsResourceFilterInput) GetResourceType() *string

GetResourceType returns PollerCloudWatchMetricsResourceFilterInput.ResourceType, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsResourceFilterInput) GetTagFilters added in v0.14.13

GetTagFilters returns PollerCloudWatchMetricsResourceFilterInput.TagFilters, and is useful for accessing the field via an interface.

type PollerCloudWatchMetricsTagFilterInput added in v0.14.13

type PollerCloudWatchMetricsTagFilterInput struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

func (*PollerCloudWatchMetricsTagFilterInput) GetKey added in v0.14.13

GetKey returns PollerCloudWatchMetricsTagFilterInput.Key, and is useful for accessing the field via an interface.

func (*PollerCloudWatchMetricsTagFilterInput) GetValues added in v0.14.13

GetValues returns PollerCloudWatchMetricsTagFilterInput.Values, and is useful for accessing the field via an interface.

type PollerConfig

type PollerConfig interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	GetName() *string
	// GetRetries returns the interface-field "retries" from its implementation.
	GetRetries() *types.Int64Scalar
	// GetInterval returns the interface-field "interval" from its implementation.
	GetInterval() *types.DurationScalar
	// GetTags returns the interface-field "tags" from its implementation.
	GetTags() *types.JsonObject
	// GetChunk returns the interface-field "chunk" from its implementation.
	GetChunk() *PollerConfigChunkPollerChunkConfig
	// contains filtered or unexported methods
}

PollerConfig includes the requested fields of the GraphQL interface PollerConfig.

PollerConfig is implemented by the following types: PollerConfigPollerAWSSnapshotConfig PollerConfigPollerCloudWatchMetricsConfig PollerConfigPollerConfluentCloudConfig PollerConfigPollerGCPMonitoringConfig PollerConfigPollerHTTPConfig PollerConfigPollerMongoDBAtlasConfig PollerConfigPollerPubSubConfig

type PollerConfigChunkPollerChunkConfig

type PollerConfigChunkPollerChunkConfig struct {
	Enabled bool               `json:"enabled"`
	Size    *types.Int64Scalar `json:"size"`
}

PollerConfigChunkPollerChunkConfig includes the requested fields of the GraphQL type PollerChunkConfig.

func (*PollerConfigChunkPollerChunkConfig) GetEnabled

func (v *PollerConfigChunkPollerChunkConfig) GetEnabled() bool

GetEnabled returns PollerConfigChunkPollerChunkConfig.Enabled, and is useful for accessing the field via an interface.

func (*PollerConfigChunkPollerChunkConfig) GetSize

GetSize returns PollerConfigChunkPollerChunkConfig.Size, and is useful for accessing the field via an interface.

type PollerConfigPollerAWSSnapshotConfig added in v0.14.14

type PollerConfigPollerAWSSnapshotConfig struct {
	Typename       *string                             `json:"__typename"`
	Name           *string                             `json:"name"`
	Retries        *types.Int64Scalar                  `json:"retries"`
	Interval       *types.DurationScalar               `json:"interval"`
	Tags           *types.JsonObject                   `json:"tags"`
	Chunk          *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	Region         string                              `json:"region"`
	AssumeRoleArn  string                              `json:"assumeRoleArn"`
	IncludeActions []string                            `json:"includeActions"`
}

PollerConfigPollerAWSSnapshotConfig includes the requested fields of the GraphQL type PollerAWSSnapshotConfig.

func (*PollerConfigPollerAWSSnapshotConfig) GetAssumeRoleArn added in v0.14.14

func (v *PollerConfigPollerAWSSnapshotConfig) GetAssumeRoleArn() string

GetAssumeRoleArn returns PollerConfigPollerAWSSnapshotConfig.AssumeRoleArn, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetChunk added in v0.14.14

GetChunk returns PollerConfigPollerAWSSnapshotConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetIncludeActions added in v0.14.14

func (v *PollerConfigPollerAWSSnapshotConfig) GetIncludeActions() []string

GetIncludeActions returns PollerConfigPollerAWSSnapshotConfig.IncludeActions, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetInterval added in v0.14.14

GetInterval returns PollerConfigPollerAWSSnapshotConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetName added in v0.14.14

GetName returns PollerConfigPollerAWSSnapshotConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetRegion added in v0.14.14

GetRegion returns PollerConfigPollerAWSSnapshotConfig.Region, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetRetries added in v0.14.14

GetRetries returns PollerConfigPollerAWSSnapshotConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetTags added in v0.14.14

GetTags returns PollerConfigPollerAWSSnapshotConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerAWSSnapshotConfig) GetTypename added in v0.14.14

func (v *PollerConfigPollerAWSSnapshotConfig) GetTypename() *string

GetTypename returns PollerConfigPollerAWSSnapshotConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerCloudWatchMetricsConfig added in v0.14.13

type PollerConfigPollerCloudWatchMetricsConfig struct {
	Typename      *string                                                                              `json:"__typename"`
	Name          *string                                                                              `json:"name"`
	Retries       *types.Int64Scalar                                                                   `json:"retries"`
	Interval      *types.DurationScalar                                                                `json:"interval"`
	Tags          *types.JsonObject                                                                    `json:"tags"`
	Chunk         *PollerConfigChunkPollerChunkConfig                                                  `json:"chunk"`
	Period        types.Int64Scalar                                                                    `json:"period"`
	Delay         types.Int64Scalar                                                                    `json:"delay"`
	Region        string                                                                               `json:"region"`
	AssumeRoleArn string                                                                               `json:"assumeRoleArn"`
	Queries       []PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig `json:"queries"`
}

PollerConfigPollerCloudWatchMetricsConfig includes the requested fields of the GraphQL type PollerCloudWatchMetricsConfig.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetAssumeRoleArn added in v0.14.13

func (v *PollerConfigPollerCloudWatchMetricsConfig) GetAssumeRoleArn() string

GetAssumeRoleArn returns PollerConfigPollerCloudWatchMetricsConfig.AssumeRoleArn, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetChunk added in v0.14.13

GetChunk returns PollerConfigPollerCloudWatchMetricsConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetDelay added in v0.14.13

GetDelay returns PollerConfigPollerCloudWatchMetricsConfig.Delay, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetInterval added in v0.14.13

GetInterval returns PollerConfigPollerCloudWatchMetricsConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetName added in v0.14.13

GetName returns PollerConfigPollerCloudWatchMetricsConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetPeriod added in v0.14.13

GetPeriod returns PollerConfigPollerCloudWatchMetricsConfig.Period, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetQueries added in v0.14.13

GetQueries returns PollerConfigPollerCloudWatchMetricsConfig.Queries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetRegion added in v0.14.13

GetRegion returns PollerConfigPollerCloudWatchMetricsConfig.Region, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetRetries added in v0.14.13

GetRetries returns PollerConfigPollerCloudWatchMetricsConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetTags added in v0.14.13

GetTags returns PollerConfigPollerCloudWatchMetricsConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfig) GetTypename added in v0.14.13

GetTypename returns PollerConfigPollerCloudWatchMetricsConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig added in v0.14.13

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig struct {
	Namespace      string                                                                                                                                       `json:"namespace"`
	MetricNames    []string                                                                                                                                     `json:"metricNames"`
	Dimensions     []PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig   `json:"dimensions"`
	ResourceFilter *PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig `json:"resourceFilter"`
}

PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig includes the requested fields of the GraphQL type PollerCloudWatchMetricsQueryConfig.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig) GetDimensions added in v0.14.13

GetDimensions returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig.Dimensions, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig) GetMetricNames added in v0.14.13

GetMetricNames returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig.MetricNames, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig) GetNamespace added in v0.14.13

GetNamespace returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig.Namespace, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig) GetResourceFilter added in v0.14.13

GetResourceFilter returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfig.ResourceFilter, and is useful for accessing the field via an interface.

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig added in v0.14.13

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig struct {
	Name  string  `json:"name"`
	Value *string `json:"value"`
}

PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig includes the requested fields of the GraphQL type PollerCloudWatchMetricsDimensionFilterConfig.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig) GetName added in v0.14.13

GetName returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig) GetValue added in v0.14.13

GetValue returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigDimensionsPollerCloudWatchMetricsDimensionFilterConfig.Value, and is useful for accessing the field via an interface.

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig added in v0.14.13

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig struct {
	ResourceType  *string                                                                                                                                                                                       `json:"resourceType"`
	Pattern       *string                                                                                                                                                                                       `json:"pattern"`
	DimensionName *string                                                                                                                                                                                       `json:"dimensionName"`
	TagFilters    []PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig `json:"tagFilters"`
}

PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig includes the requested fields of the GraphQL type PollerCloudWatchMetricsResourceFilterConfig.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig) GetDimensionName added in v0.14.13

GetDimensionName returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig.DimensionName, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig) GetPattern added in v0.14.13

GetPattern returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig.Pattern, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig) GetResourceType added in v0.14.13

GetResourceType returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig.ResourceType, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig) GetTagFilters added in v0.14.13

GetTagFilters returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfig.TagFilters, and is useful for accessing the field via an interface.

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig added in v0.14.13

type PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig includes the requested fields of the GraphQL type PollerCloudWatchMetricsTagFilterConfig.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig) GetKey added in v0.14.13

GetKey returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig.Key, and is useful for accessing the field via an interface.

func (*PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig) GetValues added in v0.14.13

GetValues returns PollerConfigPollerCloudWatchMetricsConfigQueriesPollerCloudWatchMetricsQueryConfigResourceFilterPollerCloudWatchMetricsResourceFilterConfigTagFiltersPollerCloudWatchMetricsTagFilterConfig.Values, and is useful for accessing the field via an interface.

type PollerConfigPollerConfluentCloudConfig

type PollerConfigPollerConfluentCloudConfig struct {
	Typename *string                             `json:"__typename"`
	Name     *string                             `json:"name"`
	Retries  *types.Int64Scalar                  `json:"retries"`
	Interval *types.DurationScalar               `json:"interval"`
	Tags     *types.JsonObject                   `json:"tags"`
	Chunk    *PollerConfigChunkPollerChunkConfig `json:"chunk"`
}

PollerConfigPollerConfluentCloudConfig includes the requested fields of the GraphQL type PollerConfluentCloudConfig.

func (*PollerConfigPollerConfluentCloudConfig) GetChunk

GetChunk returns PollerConfigPollerConfluentCloudConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetInterval

GetInterval returns PollerConfigPollerConfluentCloudConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetName

GetName returns PollerConfigPollerConfluentCloudConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetRetries

GetRetries returns PollerConfigPollerConfluentCloudConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetTags

GetTags returns PollerConfigPollerConfluentCloudConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetTypename

GetTypename returns PollerConfigPollerConfluentCloudConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerGCPMonitoringConfig

type PollerConfigPollerGCPMonitoringConfig struct {
	Typename                  *string                             `json:"__typename"`
	Name                      *string                             `json:"name"`
	Retries                   *types.Int64Scalar                  `json:"retries"`
	Interval                  *types.DurationScalar               `json:"interval"`
	Tags                      *types.JsonObject                   `json:"tags"`
	Chunk                     *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	ProjectId                 string                              `json:"projectId"`
	JsonKey                   types.JsonObject                    `json:"jsonKey"`
	IncludeMetricTypePrefixes []string                            `json:"includeMetricTypePrefixes"`
	ExcludeMetricTypePrefixes []string                            `json:"excludeMetricTypePrefixes"`
	RateLimit                 *types.Int64Scalar                  `json:"rateLimit"`
	TotalLimit                *types.Int64Scalar                  `json:"totalLimit"`
}

PollerConfigPollerGCPMonitoringConfig includes the requested fields of the GraphQL type PollerGCPMonitoringConfig.

func (*PollerConfigPollerGCPMonitoringConfig) GetChunk

GetChunk returns PollerConfigPollerGCPMonitoringConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetExcludeMetricTypePrefixes

func (v *PollerConfigPollerGCPMonitoringConfig) GetExcludeMetricTypePrefixes() []string

GetExcludeMetricTypePrefixes returns PollerConfigPollerGCPMonitoringConfig.ExcludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetIncludeMetricTypePrefixes

func (v *PollerConfigPollerGCPMonitoringConfig) GetIncludeMetricTypePrefixes() []string

GetIncludeMetricTypePrefixes returns PollerConfigPollerGCPMonitoringConfig.IncludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetInterval

GetInterval returns PollerConfigPollerGCPMonitoringConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetJsonKey

GetJsonKey returns PollerConfigPollerGCPMonitoringConfig.JsonKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetName

GetName returns PollerConfigPollerGCPMonitoringConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetProjectId

GetProjectId returns PollerConfigPollerGCPMonitoringConfig.ProjectId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetRateLimit

GetRateLimit returns PollerConfigPollerGCPMonitoringConfig.RateLimit, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetRetries

GetRetries returns PollerConfigPollerGCPMonitoringConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTags

GetTags returns PollerConfigPollerGCPMonitoringConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTotalLimit

GetTotalLimit returns PollerConfigPollerGCPMonitoringConfig.TotalLimit, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTypename

GetTypename returns PollerConfigPollerGCPMonitoringConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfig

type PollerConfigPollerHTTPConfig struct {
	Typename    *string                             `json:"__typename"`
	Name        *string                             `json:"name"`
	Retries     *types.Int64Scalar                  `json:"retries"`
	Interval    *types.DurationScalar               `json:"interval"`
	Tags        *types.JsonObject                   `json:"tags"`
	Chunk       *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	Method      *string                             `json:"method"`
	Body        *string                             `json:"body"`
	Endpoint    *string                             `json:"endpoint"`
	ContentType *string                             `json:"contentType"`
	Headers     *types.JsonObject                   `json:"headers"`
	// Default HTTP request configuration that will be used for all requests. Keys declared in requests will override these values.
	Template   *HttpRequestConfig                                                `json:"template"`
	Requests   []HttpRequestConfig                                               `json:"requests"`
	Rules      []PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig           `json:"rules"`
	Timestamps []PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig `json:"timestamps"`
}

PollerConfigPollerHTTPConfig includes the requested fields of the GraphQL type PollerHTTPConfig.

func (*PollerConfigPollerHTTPConfig) GetBody

func (v *PollerConfigPollerHTTPConfig) GetBody() *string

GetBody returns PollerConfigPollerHTTPConfig.Body, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetChunk

GetChunk returns PollerConfigPollerHTTPConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetContentType

func (v *PollerConfigPollerHTTPConfig) GetContentType() *string

GetContentType returns PollerConfigPollerHTTPConfig.ContentType, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetEndpoint

func (v *PollerConfigPollerHTTPConfig) GetEndpoint() *string

GetEndpoint returns PollerConfigPollerHTTPConfig.Endpoint, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetHeaders

GetHeaders returns PollerConfigPollerHTTPConfig.Headers, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetInterval

GetInterval returns PollerConfigPollerHTTPConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetMethod

func (v *PollerConfigPollerHTTPConfig) GetMethod() *string

GetMethod returns PollerConfigPollerHTTPConfig.Method, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetName

func (v *PollerConfigPollerHTTPConfig) GetName() *string

GetName returns PollerConfigPollerHTTPConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRequests

GetRequests returns PollerConfigPollerHTTPConfig.Requests, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRetries

GetRetries returns PollerConfigPollerHTTPConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRules

GetRules returns PollerConfigPollerHTTPConfig.Rules, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTags

GetTags returns PollerConfigPollerHTTPConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTemplate

GetTemplate returns PollerConfigPollerHTTPConfig.Template, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTimestamps added in v0.14.7

GetTimestamps returns PollerConfigPollerHTTPConfig.Timestamps, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTypename

func (v *PollerConfigPollerHTTPConfig) GetTypename() *string

GetTypename returns PollerConfigPollerHTTPConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig struct {
	Match   *HttpRequestConfig                                                                   `json:"match"`
	Follow  *string                                                                              `json:"follow"`
	Decoder *PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig `json:"decoder"`
}

PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig includes the requested fields of the GraphQL type PollerHTTPRuleConfig.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetDecoder

GetDecoder returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Decoder, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetFollow

GetFollow returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Follow, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetMatch

GetMatch returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Match, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig struct {
	Type string `json:"type"`
}

PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig includes the requested fields of the GraphQL type PollerHTTPDecoderConfig.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig) GetType

GetType returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig.Type, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig added in v0.14.7

type PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig struct {
	Name     *string                          `json:"name"`
	Source   *string                          `json:"source"`
	Format   *PollerHTTPTimestampFormatScheme `json:"format"`
	Offset   *string                          `json:"offset"`
	Truncate *string                          `json:"truncate"`
}

PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig includes the requested fields of the GraphQL type PollerHTTPTimestampConfig.

func (*PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig) GetFormat added in v0.14.7

GetFormat returns PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig.Format, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig) GetName added in v0.14.7

GetName returns PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig) GetOffset added in v0.14.7

GetOffset returns PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig.Offset, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig) GetSource added in v0.14.7

GetSource returns PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig.Source, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig) GetTruncate added in v0.14.7

GetTruncate returns PollerConfigPollerHTTPConfigTimestampsPollerHTTPTimestampConfig.Truncate, and is useful for accessing the field via an interface.

type PollerConfigPollerMongoDBAtlasConfig

type PollerConfigPollerMongoDBAtlasConfig struct {
	Typename      *string                             `json:"__typename"`
	Name          *string                             `json:"name"`
	Retries       *types.Int64Scalar                  `json:"retries"`
	Interval      *types.DurationScalar               `json:"interval"`
	Tags          *types.JsonObject                   `json:"tags"`
	Chunk         *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	PublicKey     string                              `json:"publicKey"`
	PrivateKey    string                              `json:"privateKey"`
	IncludeGroups []string                            `json:"includeGroups"`
	ExcludeGroups []string                            `json:"excludeGroups"`
}

PollerConfigPollerMongoDBAtlasConfig includes the requested fields of the GraphQL type PollerMongoDBAtlasConfig.

func (*PollerConfigPollerMongoDBAtlasConfig) GetChunk

GetChunk returns PollerConfigPollerMongoDBAtlasConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetExcludeGroups

func (v *PollerConfigPollerMongoDBAtlasConfig) GetExcludeGroups() []string

GetExcludeGroups returns PollerConfigPollerMongoDBAtlasConfig.ExcludeGroups, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetIncludeGroups

func (v *PollerConfigPollerMongoDBAtlasConfig) GetIncludeGroups() []string

GetIncludeGroups returns PollerConfigPollerMongoDBAtlasConfig.IncludeGroups, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetInterval

GetInterval returns PollerConfigPollerMongoDBAtlasConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetName

GetName returns PollerConfigPollerMongoDBAtlasConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetPrivateKey

func (v *PollerConfigPollerMongoDBAtlasConfig) GetPrivateKey() string

GetPrivateKey returns PollerConfigPollerMongoDBAtlasConfig.PrivateKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetPublicKey

func (v *PollerConfigPollerMongoDBAtlasConfig) GetPublicKey() string

GetPublicKey returns PollerConfigPollerMongoDBAtlasConfig.PublicKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetRetries

GetRetries returns PollerConfigPollerMongoDBAtlasConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetTags

GetTags returns PollerConfigPollerMongoDBAtlasConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetTypename

func (v *PollerConfigPollerMongoDBAtlasConfig) GetTypename() *string

GetTypename returns PollerConfigPollerMongoDBAtlasConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerPubSubConfig

type PollerConfigPollerPubSubConfig struct {
	Typename       *string                             `json:"__typename"`
	Name           *string                             `json:"name"`
	Retries        *types.Int64Scalar                  `json:"retries"`
	Interval       *types.DurationScalar               `json:"interval"`
	Tags           *types.JsonObject                   `json:"tags"`
	Chunk          *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	ProjectId      string                              `json:"projectId"`
	JsonKey        types.JsonObject                    `json:"jsonKey"`
	SubscriptionId string                              `json:"subscriptionId"`
}

PollerConfigPollerPubSubConfig includes the requested fields of the GraphQL type PollerPubSubConfig.

func (*PollerConfigPollerPubSubConfig) GetChunk

GetChunk returns PollerConfigPollerPubSubConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetInterval

GetInterval returns PollerConfigPollerPubSubConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetJsonKey

GetJsonKey returns PollerConfigPollerPubSubConfig.JsonKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetName

func (v *PollerConfigPollerPubSubConfig) GetName() *string

GetName returns PollerConfigPollerPubSubConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetProjectId

func (v *PollerConfigPollerPubSubConfig) GetProjectId() string

GetProjectId returns PollerConfigPollerPubSubConfig.ProjectId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetRetries

GetRetries returns PollerConfigPollerPubSubConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetSubscriptionId

func (v *PollerConfigPollerPubSubConfig) GetSubscriptionId() string

GetSubscriptionId returns PollerConfigPollerPubSubConfig.SubscriptionId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetTags

GetTags returns PollerConfigPollerPubSubConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetTypename

func (v *PollerConfigPollerPubSubConfig) GetTypename() *string

GetTypename returns PollerConfigPollerPubSubConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfluentCloudInput

type PollerConfluentCloudInput struct {
	Key    string `json:"key"`
	Secret string `json:"secret"`
}

func (*PollerConfluentCloudInput) GetKey

func (v *PollerConfluentCloudInput) GetKey() string

GetKey returns PollerConfluentCloudInput.Key, and is useful for accessing the field via an interface.

func (*PollerConfluentCloudInput) GetSecret

func (v *PollerConfluentCloudInput) GetSecret() string

GetSecret returns PollerConfluentCloudInput.Secret, and is useful for accessing the field via an interface.

type PollerGCPMonitoringInput

type PollerGCPMonitoringInput struct {
	ProjectId                 string             `json:"projectId"`
	JsonKey                   types.JsonObject   `json:"jsonKey"`
	IncludeMetricTypePrefixes []string           `json:"includeMetricTypePrefixes"`
	ExcludeMetricTypePrefixes []string           `json:"excludeMetricTypePrefixes"`
	RateLimit                 *types.Int64Scalar `json:"rateLimit"`
	TotalLimit                *types.Int64Scalar `json:"totalLimit"`
}

func (*PollerGCPMonitoringInput) GetExcludeMetricTypePrefixes

func (v *PollerGCPMonitoringInput) GetExcludeMetricTypePrefixes() []string

GetExcludeMetricTypePrefixes returns PollerGCPMonitoringInput.ExcludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetIncludeMetricTypePrefixes

func (v *PollerGCPMonitoringInput) GetIncludeMetricTypePrefixes() []string

GetIncludeMetricTypePrefixes returns PollerGCPMonitoringInput.IncludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetJsonKey

func (v *PollerGCPMonitoringInput) GetJsonKey() types.JsonObject

GetJsonKey returns PollerGCPMonitoringInput.JsonKey, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetProjectId

func (v *PollerGCPMonitoringInput) GetProjectId() string

GetProjectId returns PollerGCPMonitoringInput.ProjectId, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetRateLimit

func (v *PollerGCPMonitoringInput) GetRateLimit() *types.Int64Scalar

GetRateLimit returns PollerGCPMonitoringInput.RateLimit, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetTotalLimit

func (v *PollerGCPMonitoringInput) GetTotalLimit() *types.Int64Scalar

GetTotalLimit returns PollerGCPMonitoringInput.TotalLimit, and is useful for accessing the field via an interface.

type PollerHTTPDecoderInput

type PollerHTTPDecoderInput struct {
	Type string `json:"type"`
}

func (*PollerHTTPDecoderInput) GetType

func (v *PollerHTTPDecoderInput) GetType() string

GetType returns PollerHTTPDecoderInput.Type, and is useful for accessing the field via an interface.

type PollerHTTPInput

type PollerHTTPInput struct {
	Method      *string                    `json:"method"`
	Body        *string                    `json:"body"`
	Endpoint    *string                    `json:"endpoint"`
	ContentType *string                    `json:"contentType"`
	Headers     *types.JsonObject          `json:"headers"`
	Template    *PollerHTTPRequestInput    `json:"template"`
	Requests    []PollerHTTPRequestInput   `json:"requests"`
	Rules       []PollerHTTPRuleInput      `json:"rules"`
	Timestamps  []PollerHTTPTimestampInput `json:"timestamps"`
}

func (*PollerHTTPInput) GetBody

func (v *PollerHTTPInput) GetBody() *string

GetBody returns PollerHTTPInput.Body, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetContentType

func (v *PollerHTTPInput) GetContentType() *string

GetContentType returns PollerHTTPInput.ContentType, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetEndpoint

func (v *PollerHTTPInput) GetEndpoint() *string

GetEndpoint returns PollerHTTPInput.Endpoint, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetHeaders

func (v *PollerHTTPInput) GetHeaders() *types.JsonObject

GetHeaders returns PollerHTTPInput.Headers, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetMethod

func (v *PollerHTTPInput) GetMethod() *string

GetMethod returns PollerHTTPInput.Method, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetRequests

func (v *PollerHTTPInput) GetRequests() []PollerHTTPRequestInput

GetRequests returns PollerHTTPInput.Requests, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetRules

func (v *PollerHTTPInput) GetRules() []PollerHTTPRuleInput

GetRules returns PollerHTTPInput.Rules, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetTemplate

func (v *PollerHTTPInput) GetTemplate() *PollerHTTPRequestInput

GetTemplate returns PollerHTTPInput.Template, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetTimestamps added in v0.14.7

func (v *PollerHTTPInput) GetTimestamps() []PollerHTTPTimestampInput

GetTimestamps returns PollerHTTPInput.Timestamps, and is useful for accessing the field via an interface.

type PollerHTTPRequestAuthScheme

type PollerHTTPRequestAuthScheme string
const (
	PollerHTTPRequestAuthSchemeBasic  PollerHTTPRequestAuthScheme = "Basic"
	PollerHTTPRequestAuthSchemeDigest PollerHTTPRequestAuthScheme = "Digest"
)

type PollerHTTPRequestInput

type PollerHTTPRequestInput struct {
	Url        *string                      `json:"url"`
	Method     *string                      `json:"method"`
	Username   *string                      `json:"username"`
	Password   *string                      `json:"password"`
	AuthScheme *PollerHTTPRequestAuthScheme `json:"authScheme"`
	Body       *string                      `json:"body"`
	Headers    *types.JsonObject            `json:"headers"`
	Params     *types.JsonObject            `json:"params"`
}

func (*PollerHTTPRequestInput) GetAuthScheme

GetAuthScheme returns PollerHTTPRequestInput.AuthScheme, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetBody

func (v *PollerHTTPRequestInput) GetBody() *string

GetBody returns PollerHTTPRequestInput.Body, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetHeaders

func (v *PollerHTTPRequestInput) GetHeaders() *types.JsonObject

GetHeaders returns PollerHTTPRequestInput.Headers, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetMethod

func (v *PollerHTTPRequestInput) GetMethod() *string

GetMethod returns PollerHTTPRequestInput.Method, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetParams

func (v *PollerHTTPRequestInput) GetParams() *types.JsonObject

GetParams returns PollerHTTPRequestInput.Params, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetPassword

func (v *PollerHTTPRequestInput) GetPassword() *string

GetPassword returns PollerHTTPRequestInput.Password, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetUrl

func (v *PollerHTTPRequestInput) GetUrl() *string

GetUrl returns PollerHTTPRequestInput.Url, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetUsername

func (v *PollerHTTPRequestInput) GetUsername() *string

GetUsername returns PollerHTTPRequestInput.Username, and is useful for accessing the field via an interface.

type PollerHTTPRuleInput

type PollerHTTPRuleInput struct {
	Match   *PollerHTTPRequestInput `json:"match"`
	Decoder *PollerHTTPDecoderInput `json:"decoder"`
	Follow  *string                 `json:"follow"`
}

func (*PollerHTTPRuleInput) GetDecoder

GetDecoder returns PollerHTTPRuleInput.Decoder, and is useful for accessing the field via an interface.

func (*PollerHTTPRuleInput) GetFollow

func (v *PollerHTTPRuleInput) GetFollow() *string

GetFollow returns PollerHTTPRuleInput.Follow, and is useful for accessing the field via an interface.

func (*PollerHTTPRuleInput) GetMatch

GetMatch returns PollerHTTPRuleInput.Match, and is useful for accessing the field via an interface.

type PollerHTTPTimestampFormatScheme added in v0.14.7

type PollerHTTPTimestampFormatScheme string
const (
	PollerHTTPTimestampFormatSchemeAnsic       PollerHTTPTimestampFormatScheme = "ANSIC"
	PollerHTTPTimestampFormatSchemeUnixdate    PollerHTTPTimestampFormatScheme = "UnixDate"
	PollerHTTPTimestampFormatSchemeRubydate    PollerHTTPTimestampFormatScheme = "RubyDate"
	PollerHTTPTimestampFormatSchemeRfc822      PollerHTTPTimestampFormatScheme = "RFC822"
	PollerHTTPTimestampFormatSchemeRfc822z     PollerHTTPTimestampFormatScheme = "RFC822Z"
	PollerHTTPTimestampFormatSchemeRfc850      PollerHTTPTimestampFormatScheme = "RFC850"
	PollerHTTPTimestampFormatSchemeRfc1123     PollerHTTPTimestampFormatScheme = "RFC1123"
	PollerHTTPTimestampFormatSchemeRfc1123z    PollerHTTPTimestampFormatScheme = "RFC1123Z"
	PollerHTTPTimestampFormatSchemeRfc3339     PollerHTTPTimestampFormatScheme = "RFC3339"
	PollerHTTPTimestampFormatSchemeRfc3339nano PollerHTTPTimestampFormatScheme = "RFC3339Nano"
	PollerHTTPTimestampFormatSchemeKitchen     PollerHTTPTimestampFormatScheme = "Kitchen"
	PollerHTTPTimestampFormatSchemeUnix        PollerHTTPTimestampFormatScheme = "Unix"
	PollerHTTPTimestampFormatSchemeUnixmilli   PollerHTTPTimestampFormatScheme = "UnixMilli"
	PollerHTTPTimestampFormatSchemeUnixmicro   PollerHTTPTimestampFormatScheme = "UnixMicro"
	PollerHTTPTimestampFormatSchemeUnixmano    PollerHTTPTimestampFormatScheme = "UnixMano"
)

type PollerHTTPTimestampInput added in v0.14.7

type PollerHTTPTimestampInput struct {
	Name     *string                          `json:"name"`
	Source   *string                          `json:"source"`
	Format   *PollerHTTPTimestampFormatScheme `json:"format"`
	Offset   *string                          `json:"offset"`
	Truncate *string                          `json:"truncate"`
}

func (*PollerHTTPTimestampInput) GetFormat added in v0.14.7

GetFormat returns PollerHTTPTimestampInput.Format, and is useful for accessing the field via an interface.

func (*PollerHTTPTimestampInput) GetName added in v0.14.7

func (v *PollerHTTPTimestampInput) GetName() *string

GetName returns PollerHTTPTimestampInput.Name, and is useful for accessing the field via an interface.

func (*PollerHTTPTimestampInput) GetOffset added in v0.14.7

func (v *PollerHTTPTimestampInput) GetOffset() *string

GetOffset returns PollerHTTPTimestampInput.Offset, and is useful for accessing the field via an interface.

func (*PollerHTTPTimestampInput) GetSource added in v0.14.7

func (v *PollerHTTPTimestampInput) GetSource() *string

GetSource returns PollerHTTPTimestampInput.Source, and is useful for accessing the field via an interface.

func (*PollerHTTPTimestampInput) GetTruncate added in v0.14.7

func (v *PollerHTTPTimestampInput) GetTruncate() *string

GetTruncate returns PollerHTTPTimestampInput.Truncate, and is useful for accessing the field via an interface.

type PollerInput

type PollerInput struct {
	Name                    *string                       `json:"name"`
	Description             *string                       `json:"description"`
	Disabled                *bool                         `json:"disabled"`
	Retries                 *types.Int64Scalar            `json:"retries"`
	Interval                *types.DurationScalar         `json:"interval"`
	Chunk                   *PollerChunkInput             `json:"chunk"`
	Tags                    *types.JsonObject             `json:"tags"`
	ApiReqLimit             *RateLimitInput               `json:"apiReqLimit"`
	DatastreamId            *string                       `json:"datastreamId"`
	PubsubConfig            *PollerPubSubInput            `json:"pubsubConfig"`
	HttpConfig              *PollerHTTPInput              `json:"httpConfig"`
	GcpConfig               *PollerGCPMonitoringInput     `json:"gcpConfig"`
	MongoDBAtlasConfig      *PollerMongoDBAtlasInput      `json:"mongoDBAtlasConfig"`
	ConfluentCloudConfig    *PollerConfluentCloudInput    `json:"confluentCloudConfig"`
	CloudWatchMetricsConfig *PollerCloudWatchMetricsInput `json:"cloudWatchMetricsConfig"`
	AwsSnapshotConfig       *PollerAWSSnapshotInput       `json:"awsSnapshotConfig"`
	SkipExternalValidation  *bool                         `json:"skipExternalValidation"`
	// The optional id of the object that owns the poller. Ex: The id of an AppDataSource instance.
	ManagedById *string `json:"managedById"`
}

Config is mandatory, but varies based on the poller kind

func (*PollerInput) GetApiReqLimit

func (v *PollerInput) GetApiReqLimit() *RateLimitInput

GetApiReqLimit returns PollerInput.ApiReqLimit, and is useful for accessing the field via an interface.

func (*PollerInput) GetAwsSnapshotConfig added in v0.14.14

func (v *PollerInput) GetAwsSnapshotConfig() *PollerAWSSnapshotInput

GetAwsSnapshotConfig returns PollerInput.AwsSnapshotConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetChunk

func (v *PollerInput) GetChunk() *PollerChunkInput

GetChunk returns PollerInput.Chunk, and is useful for accessing the field via an interface.

func (*PollerInput) GetCloudWatchMetricsConfig added in v0.14.13

func (v *PollerInput) GetCloudWatchMetricsConfig() *PollerCloudWatchMetricsInput

GetCloudWatchMetricsConfig returns PollerInput.CloudWatchMetricsConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetConfluentCloudConfig

func (v *PollerInput) GetConfluentCloudConfig() *PollerConfluentCloudInput

GetConfluentCloudConfig returns PollerInput.ConfluentCloudConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetDatastreamId

func (v *PollerInput) GetDatastreamId() *string

GetDatastreamId returns PollerInput.DatastreamId, and is useful for accessing the field via an interface.

func (*PollerInput) GetDescription

func (v *PollerInput) GetDescription() *string

GetDescription returns PollerInput.Description, and is useful for accessing the field via an interface.

func (*PollerInput) GetDisabled

func (v *PollerInput) GetDisabled() *bool

GetDisabled returns PollerInput.Disabled, and is useful for accessing the field via an interface.

func (*PollerInput) GetGcpConfig

func (v *PollerInput) GetGcpConfig() *PollerGCPMonitoringInput

GetGcpConfig returns PollerInput.GcpConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetHttpConfig

func (v *PollerInput) GetHttpConfig() *PollerHTTPInput

GetHttpConfig returns PollerInput.HttpConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetInterval

func (v *PollerInput) GetInterval() *types.DurationScalar

GetInterval returns PollerInput.Interval, and is useful for accessing the field via an interface.

func (*PollerInput) GetManagedById

func (v *PollerInput) GetManagedById() *string

GetManagedById returns PollerInput.ManagedById, and is useful for accessing the field via an interface.

func (*PollerInput) GetMongoDBAtlasConfig

func (v *PollerInput) GetMongoDBAtlasConfig() *PollerMongoDBAtlasInput

GetMongoDBAtlasConfig returns PollerInput.MongoDBAtlasConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetName

func (v *PollerInput) GetName() *string

GetName returns PollerInput.Name, and is useful for accessing the field via an interface.

func (*PollerInput) GetPubsubConfig

func (v *PollerInput) GetPubsubConfig() *PollerPubSubInput

GetPubsubConfig returns PollerInput.PubsubConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetRetries

func (v *PollerInput) GetRetries() *types.Int64Scalar

GetRetries returns PollerInput.Retries, and is useful for accessing the field via an interface.

func (*PollerInput) GetSkipExternalValidation

func (v *PollerInput) GetSkipExternalValidation() *bool

GetSkipExternalValidation returns PollerInput.SkipExternalValidation, and is useful for accessing the field via an interface.

func (*PollerInput) GetTags

func (v *PollerInput) GetTags() *types.JsonObject

GetTags returns PollerInput.Tags, and is useful for accessing the field via an interface.

type PollerKind

type PollerKind string
const (
	PollerKindPubsub            PollerKind = "PubSub"
	PollerKindHttp              PollerKind = "HTTP"
	PollerKindGcpmonitoring     PollerKind = "GCPMonitoring"
	PollerKindMongodbatlas      PollerKind = "MongoDBAtlas"
	PollerKindConfluentcloud    PollerKind = "ConfluentCloud"
	PollerKindCloudwatchmetrics PollerKind = "CloudWatchMetrics"
	PollerKindAwssnapshot       PollerKind = "AWSSnapshot"
)

type PollerMongoDBAtlasInput

type PollerMongoDBAtlasInput struct {
	PublicKey     string   `json:"publicKey"`
	PrivateKey    string   `json:"privateKey"`
	IncludeGroups []string `json:"includeGroups"`
	ExcludeGroups []string `json:"excludeGroups"`
}

func (*PollerMongoDBAtlasInput) GetExcludeGroups

func (v *PollerMongoDBAtlasInput) GetExcludeGroups() []string

GetExcludeGroups returns PollerMongoDBAtlasInput.ExcludeGroups, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetIncludeGroups

func (v *PollerMongoDBAtlasInput) GetIncludeGroups() []string

GetIncludeGroups returns PollerMongoDBAtlasInput.IncludeGroups, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetPrivateKey

func (v *PollerMongoDBAtlasInput) GetPrivateKey() string

GetPrivateKey returns PollerMongoDBAtlasInput.PrivateKey, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetPublicKey

func (v *PollerMongoDBAtlasInput) GetPublicKey() string

GetPublicKey returns PollerMongoDBAtlasInput.PublicKey, and is useful for accessing the field via an interface.

type PollerPubSubInput

type PollerPubSubInput struct {
	ProjectId      string           `json:"projectId"`
	JsonKey        types.JsonObject `json:"jsonKey"`
	SubscriptionId string           `json:"subscriptionId"`
}

func (*PollerPubSubInput) GetJsonKey

func (v *PollerPubSubInput) GetJsonKey() types.JsonObject

GetJsonKey returns PollerPubSubInput.JsonKey, and is useful for accessing the field via an interface.

func (*PollerPubSubInput) GetProjectId

func (v *PollerPubSubInput) GetProjectId() string

GetProjectId returns PollerPubSubInput.ProjectId, and is useful for accessing the field via an interface.

func (*PollerPubSubInput) GetSubscriptionId

func (v *PollerPubSubInput) GetSubscriptionId() string

GetSubscriptionId returns PollerPubSubInput.SubscriptionId, and is useful for accessing the field via an interface.

type PreferredPath

type PreferredPath struct {
	Id            string                               `json:"id"`
	Name          string                               `json:"name"`
	IconUrl       *string                              `json:"iconUrl"`
	Description   string                               `json:"description"`
	WorkspaceId   string                               `json:"workspaceId"`
	FolderId      string                               `json:"folderId"`
	SourceDataset string                               `json:"sourceDataset"`
	Path          []PreferredPathPathPreferredPathStep `json:"path"`
}

PreferredPath includes the GraphQL fields of PreferredPath requested by the fragment PreferredPath. The GraphQL type's documentation follows.

Properties that are expensive, and should not be requested as part of "list all paths" type operations: - destinationDataset - resolvedPath - managedBy It's OK to make these part of "list paths for given source dataset" though, as that's only one, and presumably you're likely to actually use it.

func (*PreferredPath) GetDescription

func (v *PreferredPath) GetDescription() string

GetDescription returns PreferredPath.Description, and is useful for accessing the field via an interface.

func (*PreferredPath) GetFolderId

func (v *PreferredPath) GetFolderId() string

GetFolderId returns PreferredPath.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPath) GetIconUrl

func (v *PreferredPath) GetIconUrl() *string

GetIconUrl returns PreferredPath.IconUrl, and is useful for accessing the field via an interface.

func (*PreferredPath) GetId

func (v *PreferredPath) GetId() string

GetId returns PreferredPath.Id, and is useful for accessing the field via an interface.

func (*PreferredPath) GetName

func (v *PreferredPath) GetName() string

GetName returns PreferredPath.Name, and is useful for accessing the field via an interface.

func (*PreferredPath) GetPath

GetPath returns PreferredPath.Path, and is useful for accessing the field via an interface.

func (*PreferredPath) GetSourceDataset

func (v *PreferredPath) GetSourceDataset() string

GetSourceDataset returns PreferredPath.SourceDataset, and is useful for accessing the field via an interface.

func (*PreferredPath) GetWorkspaceId

func (v *PreferredPath) GetWorkspaceId() string

GetWorkspaceId returns PreferredPath.WorkspaceId, and is useful for accessing the field via an interface.

func (*PreferredPath) Oid

func (p *PreferredPath) Oid() *oid.OID

type PreferredPathInput

type PreferredPathInput struct {
	// Short name for the path, to use in menus, must be unique within folder
	Name *string `json:"name"`
	// Long description text for the path, at most 1000 characters.
	Description *string `json:"description"`
	// Which dataset ID to present this path starting out from. Note that this
	// must be an extant dataset when creating/updating the path, even if we
	// 'acceptInErrorState' for the steps, and even though it can become broken later.
	SourceDataset *string `json:"sourceDataset"`
	// Each step along the path to get to the destination. The destination
	// is inferred from the last element in the step.
	Path []PreferredPathStepInput `json:"path"`
	// Which folder is this path organized in? If not specified, will be put
	// in the default folder for the workspace.
	FolderId *string `json:"folderId,omitempty"`
	// If managed by an app or other business object, provide it here. Only
	// the object that initially creates it can later update it.
	ManagedById *string `json:"managedById,omitempty"`
}

An PreferredPath specifies some preferred destination to go to from a given dataset starting point in GraphLink, and also how to get there, specifically.

func (*PreferredPathInput) GetDescription

func (v *PreferredPathInput) GetDescription() *string

GetDescription returns PreferredPathInput.Description, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetFolderId

func (v *PreferredPathInput) GetFolderId() *string

GetFolderId returns PreferredPathInput.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetManagedById

func (v *PreferredPathInput) GetManagedById() *string

GetManagedById returns PreferredPathInput.ManagedById, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetName

func (v *PreferredPathInput) GetName() *string

GetName returns PreferredPathInput.Name, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetPath

GetPath returns PreferredPathInput.Path, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetSourceDataset

func (v *PreferredPathInput) GetSourceDataset() *string

GetSourceDataset returns PreferredPathInput.SourceDataset, and is useful for accessing the field via an interface.

type PreferredPathPathPreferredPathStep

type PreferredPathPathPreferredPathStep struct {
	LinkId             *string `json:"linkId"`
	Reverse            *bool   `json:"reverse"`
	LinkName           *string `json:"linkName"`
	ReverseFromDataset *string `json:"reverseFromDataset"`
}

PreferredPathPathPreferredPathStep includes the requested fields of the GraphQL type PreferredPathStep. The GraphQL type's documentation follows.

The valid combinations are: 'linkName' and possibly 'reverseFromDataset', or 'linkId' and possibly 'reverse'. See PreferredPathStepInput.

func (*PreferredPathPathPreferredPathStep) GetLinkId

GetLinkId returns PreferredPathPathPreferredPathStep.LinkId, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetLinkName

func (v *PreferredPathPathPreferredPathStep) GetLinkName() *string

GetLinkName returns PreferredPathPathPreferredPathStep.LinkName, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetReverse

func (v *PreferredPathPathPreferredPathStep) GetReverse() *bool

GetReverse returns PreferredPathPathPreferredPathStep.Reverse, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetReverseFromDataset

func (v *PreferredPathPathPreferredPathStep) GetReverseFromDataset() *string

GetReverseFromDataset returns PreferredPathPathPreferredPathStep.ReverseFromDataset, and is useful for accessing the field via an interface.

type PreferredPathStepInput

type PreferredPathStepInput struct {
	// This is the name of the link to use -- not the name of the step.
	// It is an error if the link doesn't exist. Use 'linkName' with 'to' or 'from'.
	LinkName *string `json:"linkName,omitempty"`
	// If taking this step using a (reverse) related key, specify the dataset
	// to step TO in 'reverseFromDataset' (because the reverse link is "from" that dataset.)
	// Also specify 'linkName' when using 'reverseFromDataset'.
	ReverseFromDataset *string `json:"reverseFromDataset,omitempty"`
	// If specifying a deferred foreign key to use as the step, in forward or reverse
	// direction, specify this using 'linkId'. Do not use 'linkName' or 'reverseFromDataset'
	// when specifying 'linkId'.
	LinkId *string `json:"linkId,omitempty"`
	// If specifying a deferred foreign key to use as the step, in related (reverse)
	// direction, set reverse to 'true', in addition to the id in 'linkId'.
	Reverse *bool `json:"reverse,omitempty"`
}

There are four modes for how to specify a step along the path: - using a foreign key that exists in the dataset - using a related key that exists pointint to the dataset - using a deferred foreign key specification as a forward key - using a deferred foreign key specification as a related key

func (*PreferredPathStepInput) GetLinkId

func (v *PreferredPathStepInput) GetLinkId() *string

GetLinkId returns PreferredPathStepInput.LinkId, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetLinkName

func (v *PreferredPathStepInput) GetLinkName() *string

GetLinkName returns PreferredPathStepInput.LinkName, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetReverse

func (v *PreferredPathStepInput) GetReverse() *bool

GetReverse returns PreferredPathStepInput.Reverse, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetReverseFromDataset

func (v *PreferredPathStepInput) GetReverseFromDataset() *string

GetReverseFromDataset returns PreferredPathStepInput.ReverseFromDataset, and is useful for accessing the field via an interface.

type PreferredPathWithStatus

type PreferredPathWithStatus struct {
	// If this path is defined (saved with an ID,) return the path here. Note that a path
	// may be accepted and get an ID, yet be in error state in the same operation, if
	// 'acceptInErrorState' is true.
	Path *PreferredPathWithStatusPathPreferredPath `json:"path"`
	// If this path is in error state, returns a description of why here.
	Error *string `json:"error"`
}

PreferredPathWithStatus includes the GraphQL fields of PreferredPathWithStatus requested by the fragment PreferredPathWithStatus.

func (*PreferredPathWithStatus) GetError

func (v *PreferredPathWithStatus) GetError() *string

GetError returns PreferredPathWithStatus.Error, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatus) GetPath

GetPath returns PreferredPathWithStatus.Path, and is useful for accessing the field via an interface.

type PreferredPathWithStatusPathPreferredPath

type PreferredPathWithStatusPathPreferredPath struct {
	PreferredPath `json:"-"`
}

PreferredPathWithStatusPathPreferredPath includes the requested fields of the GraphQL type PreferredPath. The GraphQL type's documentation follows.

Properties that are expensive, and should not be requested as part of "list all paths" type operations: - destinationDataset - resolvedPath - managedBy It's OK to make these part of "list paths for given source dataset" though, as that's only one, and presumably you're likely to actually use it.

func (*PreferredPathWithStatusPathPreferredPath) GetDescription

GetDescription returns PreferredPathWithStatusPathPreferredPath.Description, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetFolderId

GetFolderId returns PreferredPathWithStatusPathPreferredPath.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetIconUrl

GetIconUrl returns PreferredPathWithStatusPathPreferredPath.IconUrl, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetId

GetId returns PreferredPathWithStatusPathPreferredPath.Id, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetName

GetName returns PreferredPathWithStatusPathPreferredPath.Name, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetPath

GetPath returns PreferredPathWithStatusPathPreferredPath.Path, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetSourceDataset

func (v *PreferredPathWithStatusPathPreferredPath) GetSourceDataset() string

GetSourceDataset returns PreferredPathWithStatusPathPreferredPath.SourceDataset, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetWorkspaceId

GetWorkspaceId returns PreferredPathWithStatusPathPreferredPath.WorkspaceId, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) MarshalJSON

func (v *PreferredPathWithStatusPathPreferredPath) MarshalJSON() ([]byte, error)

func (*PreferredPathWithStatusPathPreferredPath) UnmarshalJSON

func (v *PreferredPathWithStatusPathPreferredPath) UnmarshalJSON(b []byte) error

type PrimitiveValue

type PrimitiveValue struct {
	Bool      *bool              `json:"bool"`
	Float64   *float64           `json:"float64"`
	Int64     *types.Int64Scalar `json:"int64"`
	String    *string            `json:"string"`
	Timestamp *types.TimeScalar  `json:"timestamp"`
	Duration  *types.Int64Scalar `json:"duration"`
}

PrimitiveValue includes the GraphQL fields of PrimitiveValue requested by the fragment PrimitiveValue.

func (*PrimitiveValue) GetBool

func (v *PrimitiveValue) GetBool() *bool

GetBool returns PrimitiveValue.Bool, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetDuration

func (v *PrimitiveValue) GetDuration() *types.Int64Scalar

GetDuration returns PrimitiveValue.Duration, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetFloat64

func (v *PrimitiveValue) GetFloat64() *float64

GetFloat64 returns PrimitiveValue.Float64, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetInt64

func (v *PrimitiveValue) GetInt64() *types.Int64Scalar

GetInt64 returns PrimitiveValue.Int64, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetString

func (v *PrimitiveValue) GetString() *string

GetString returns PrimitiveValue.String, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetTimestamp

func (v *PrimitiveValue) GetTimestamp() *types.TimeScalar

GetTimestamp returns PrimitiveValue.Timestamp, and is useful for accessing the field via an interface.

type PrimitiveValueInput

type PrimitiveValueInput struct {
	Bool      *bool              `json:"bool,omitempty"`
	Float64   *float64           `json:"float64,omitempty"`
	Int64     *types.Int64Scalar `json:"int64,omitempty"`
	String    *string            `json:"string,omitempty"`
	Timestamp *types.TimeScalar  `json:"timestamp,omitempty"`
	Duration  *types.Int64Scalar `json:"duration,omitempty"`
}

func (*PrimitiveValueInput) GetBool

func (v *PrimitiveValueInput) GetBool() *bool

GetBool returns PrimitiveValueInput.Bool, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetDuration

func (v *PrimitiveValueInput) GetDuration() *types.Int64Scalar

GetDuration returns PrimitiveValueInput.Duration, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetFloat64

func (v *PrimitiveValueInput) GetFloat64() *float64

GetFloat64 returns PrimitiveValueInput.Float64, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetInt64

func (v *PrimitiveValueInput) GetInt64() *types.Int64Scalar

GetInt64 returns PrimitiveValueInput.Int64, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetString

func (v *PrimitiveValueInput) GetString() *string

GetString returns PrimitiveValueInput.String, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetTimestamp

func (v *PrimitiveValueInput) GetTimestamp() *types.TimeScalar

GetTimestamp returns PrimitiveValueInput.Timestamp, and is useful for accessing the field via an interface.

type QueryParams

type QueryParams struct {
	// Please specify exact one of startTime and startTimeSinceEpoch.
	StartTime           *types.TimeScalar `json:"startTime"`
	StartTimeSinceEpoch *TimeSinceEpoch   `json:"startTimeSinceEpoch"`
	// Please specify exact one of endTime and endTimeSinceEpoch.
	EndTime           *types.TimeScalar `json:"endTime"`
	EndTimeSinceEpoch *TimeSinceEpoch   `json:"endTimeSinceEpoch"`
	// Use this to specify rate limiting options for this query. To bypass the
	// rate limit for all queries by this user for a certain amount of time, see
	// the QueryGovernor.bypassUntil layered setting instead
	RateLimitOption *RateLimitOption `json:"rateLimitOption"`
	// Queries may have some parameter values bound
	OpalParameters []ParameterBindingInput `json:"opalParameters"`
}

QueryParams are for parameters intrinsic to the *query*, not the *presentation* of the query. One way to think about this, is that anything that goes in here should be equally applicable to invocations by transformer, monitors, exports, or worksheets.

func (*QueryParams) GetEndTime

func (v *QueryParams) GetEndTime() *types.TimeScalar

GetEndTime returns QueryParams.EndTime, and is useful for accessing the field via an interface.

func (*QueryParams) GetEndTimeSinceEpoch

func (v *QueryParams) GetEndTimeSinceEpoch() *TimeSinceEpoch

GetEndTimeSinceEpoch returns QueryParams.EndTimeSinceEpoch, and is useful for accessing the field via an interface.

func (*QueryParams) GetOpalParameters

func (v *QueryParams) GetOpalParameters() []ParameterBindingInput

GetOpalParameters returns QueryParams.OpalParameters, and is useful for accessing the field via an interface.

func (*QueryParams) GetRateLimitOption

func (v *QueryParams) GetRateLimitOption() *RateLimitOption

GetRateLimitOption returns QueryParams.RateLimitOption, and is useful for accessing the field via an interface.

func (*QueryParams) GetStartTime

func (v *QueryParams) GetStartTime() *types.TimeScalar

GetStartTime returns QueryParams.StartTime, and is useful for accessing the field via an interface.

func (*QueryParams) GetStartTimeSinceEpoch

func (v *QueryParams) GetStartTimeSinceEpoch() *TimeSinceEpoch

GetStartTimeSinceEpoch returns QueryParams.StartTimeSinceEpoch, and is useful for accessing the field via an interface.

type RateLimitInput

type RateLimitInput struct {
	Rate  float64            `json:"rate"`
	Burst *types.Int64Scalar `json:"burst"`
}

func (*RateLimitInput) GetBurst

func (v *RateLimitInput) GetBurst() *types.Int64Scalar

GetBurst returns RateLimitInput.Burst, and is useful for accessing the field via an interface.

func (*RateLimitInput) GetRate

func (v *RateLimitInput) GetRate() float64

GetRate returns RateLimitInput.Rate, and is useful for accessing the field via an interface.

type RateLimitOption

type RateLimitOption string
const (
	// Default behavior. Rate limiting is enforced unless it is explicitly
	// disabled at the customer or user level using some other mechanism.
	RateLimitOptionEnforceratelimit RateLimitOption = "EnforceRateLimit"
	// Set this to bypass rate limiting for this query. Credits used by queries
	// that bypass the rate limit are not counted towards the rate limit.
	RateLimitOptionBypassratelimit RateLimitOption = "BypassRateLimit"
)

type RbacDefaultSharingGroup added in v0.14.30

type RbacDefaultSharingGroup struct {
	GroupId     string   `json:"groupId"`
	AllowEdit   bool     `json:"allowEdit"`
	ObjectTypes []ORType `json:"objectTypes"`
}

RbacDefaultSharingGroup includes the GraphQL fields of RbacDefaultSharingGroup requested by the fragment RbacDefaultSharingGroup.

func (*RbacDefaultSharingGroup) GetAllowEdit added in v0.14.30

func (v *RbacDefaultSharingGroup) GetAllowEdit() bool

GetAllowEdit returns RbacDefaultSharingGroup.AllowEdit, and is useful for accessing the field via an interface.

func (*RbacDefaultSharingGroup) GetGroupId added in v0.14.30

func (v *RbacDefaultSharingGroup) GetGroupId() string

GetGroupId returns RbacDefaultSharingGroup.GroupId, and is useful for accessing the field via an interface.

func (*RbacDefaultSharingGroup) GetObjectTypes added in v0.14.30

func (v *RbacDefaultSharingGroup) GetObjectTypes() []ORType

GetObjectTypes returns RbacDefaultSharingGroup.ObjectTypes, and is useful for accessing the field via an interface.

type RbacDefaultSharingGroupInput added in v0.14.30

type RbacDefaultSharingGroupInput struct {
	GroupId     string   `json:"groupId"`
	AllowEdit   bool     `json:"allowEdit"`
	ObjectTypes []ORType `json:"objectTypes"`
}

func (*RbacDefaultSharingGroupInput) GetAllowEdit added in v0.14.30

func (v *RbacDefaultSharingGroupInput) GetAllowEdit() bool

GetAllowEdit returns RbacDefaultSharingGroupInput.AllowEdit, and is useful for accessing the field via an interface.

func (*RbacDefaultSharingGroupInput) GetGroupId added in v0.14.30

func (v *RbacDefaultSharingGroupInput) GetGroupId() string

GetGroupId returns RbacDefaultSharingGroupInput.GroupId, and is useful for accessing the field via an interface.

func (*RbacDefaultSharingGroupInput) GetObjectTypes added in v0.14.30

func (v *RbacDefaultSharingGroupInput) GetObjectTypes() []ORType

GetObjectTypes returns RbacDefaultSharingGroupInput.ObjectTypes, and is useful for accessing the field via an interface.

type RbacGroup

type RbacGroup struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

RbacGroup includes the GraphQL fields of RbacGroup requested by the fragment RbacGroup.

func (*RbacGroup) GetDescription

func (v *RbacGroup) GetDescription() string

GetDescription returns RbacGroup.Description, and is useful for accessing the field via an interface.

func (*RbacGroup) GetId

func (v *RbacGroup) GetId() string

GetId returns RbacGroup.Id, and is useful for accessing the field via an interface.

func (*RbacGroup) GetName

func (v *RbacGroup) GetName() string

GetName returns RbacGroup.Name, and is useful for accessing the field via an interface.

func (*RbacGroup) Oid

func (r *RbacGroup) Oid() *oid.OID

type RbacGroupInput

type RbacGroupInput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

func (*RbacGroupInput) GetDescription

func (v *RbacGroupInput) GetDescription() string

GetDescription returns RbacGroupInput.Description, and is useful for accessing the field via an interface.

func (*RbacGroupInput) GetName

func (v *RbacGroupInput) GetName() string

GetName returns RbacGroupInput.Name, and is useful for accessing the field via an interface.

type RbacGroupmember

type RbacGroupmember struct {
	Id            string              `json:"id"`
	Description   string              `json:"description"`
	GroupId       string              `json:"groupId"`
	MemberUserId  *types.UserIdScalar `json:"memberUserId"`
	MemberGroupId *string             `json:"memberGroupId"`
}

RbacGroupmember includes the GraphQL fields of RbacGroupmember requested by the fragment RbacGroupmember.

func (*RbacGroupmember) GetDescription

func (v *RbacGroupmember) GetDescription() string

GetDescription returns RbacGroupmember.Description, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetGroupId

func (v *RbacGroupmember) GetGroupId() string

GetGroupId returns RbacGroupmember.GroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetId

func (v *RbacGroupmember) GetId() string

GetId returns RbacGroupmember.Id, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetMemberGroupId

func (v *RbacGroupmember) GetMemberGroupId() *string

GetMemberGroupId returns RbacGroupmember.MemberGroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetMemberUserId

func (v *RbacGroupmember) GetMemberUserId() *types.UserIdScalar

GetMemberUserId returns RbacGroupmember.MemberUserId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) Oid

func (r *RbacGroupmember) Oid() *oid.OID

type RbacGroupmemberInput

type RbacGroupmemberInput struct {
	Description   string              `json:"description"`
	GroupId       string              `json:"groupId"`
	MemberUserId  *types.UserIdScalar `json:"memberUserId"`
	MemberGroupId *string             `json:"memberGroupId"`
}

func (*RbacGroupmemberInput) GetDescription

func (v *RbacGroupmemberInput) GetDescription() string

GetDescription returns RbacGroupmemberInput.Description, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetGroupId

func (v *RbacGroupmemberInput) GetGroupId() string

GetGroupId returns RbacGroupmemberInput.GroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetMemberGroupId

func (v *RbacGroupmemberInput) GetMemberGroupId() *string

GetMemberGroupId returns RbacGroupmemberInput.MemberGroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetMemberUserId

func (v *RbacGroupmemberInput) GetMemberUserId() *types.UserIdScalar

GetMemberUserId returns RbacGroupmemberInput.MemberUserId, and is useful for accessing the field via an interface.

type RbacObjectInput

type RbacObjectInput struct {
	ObjectId    *string `json:"objectId"`
	FolderId    *string `json:"folderId"`
	WorkspaceId *string `json:"workspaceId"`
	Type        *string `json:"type"`
	Name        *string `json:"name"`
	Owner       *bool   `json:"owner"`
	All         *bool   `json:"all"`
}

func (*RbacObjectInput) GetAll

func (v *RbacObjectInput) GetAll() *bool

GetAll returns RbacObjectInput.All, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetFolderId

func (v *RbacObjectInput) GetFolderId() *string

GetFolderId returns RbacObjectInput.FolderId, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetName

func (v *RbacObjectInput) GetName() *string

GetName returns RbacObjectInput.Name, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetObjectId

func (v *RbacObjectInput) GetObjectId() *string

GetObjectId returns RbacObjectInput.ObjectId, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetOwner

func (v *RbacObjectInput) GetOwner() *bool

GetOwner returns RbacObjectInput.Owner, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetType

func (v *RbacObjectInput) GetType() *string

GetType returns RbacObjectInput.Type, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetWorkspaceId

func (v *RbacObjectInput) GetWorkspaceId() *string

GetWorkspaceId returns RbacObjectInput.WorkspaceId, and is useful for accessing the field via an interface.

type RbacRole

type RbacRole string
const (
	RbacRoleApitokencreate        RbacRole = "ApitokenCreate"
	RbacRoleBookmarkmanager       RbacRole = "BookmarkManager"
	RbacRoleDatasetaccelerator    RbacRole = "DatasetAccelerator"
	RbacRoleEditor                RbacRole = "Editor"
	RbacRoleIngester              RbacRole = "Ingester"
	RbacRoleInvestigatorglobal    RbacRole = "InvestigatorGlobal"
	RbacRoleLister                RbacRole = "Lister"
	RbacRoleManager               RbacRole = "Manager"
	RbacRoleMonitoractioncreator  RbacRole = "MonitorActionCreator"
	RbacRoleMonitorglobalmute     RbacRole = "MonitorGlobalMute"
	RbacRoleReferencetablecreator RbacRole = "ReferenceTableCreator"
	RbacRoleReportmanager         RbacRole = "ReportManager"
	RbacRoleServiceaccountcreator RbacRole = "ServiceAccountCreator"
	RbacRoleUserdelete            RbacRole = "UserDelete"
	RbacRoleUserinvite            RbacRole = "UserInvite"
	RbacRoleViewer                RbacRole = "Viewer"
)

type RbacStatement

type RbacStatement struct {
	Id          string                          `json:"id"`
	Description string                          `json:"description"`
	Subject     RbacStatementSubjectRbacSubject `json:"subject"`
	Object      RbacStatementObjectRbacObject   `json:"object"`
	Role        RbacRole                        `json:"role"`
	Version     *int                            `json:"version"`
}

RbacStatement includes the GraphQL fields of RbacStatement requested by the fragment RbacStatement.

func (*RbacStatement) GetDescription

func (v *RbacStatement) GetDescription() string

GetDescription returns RbacStatement.Description, and is useful for accessing the field via an interface.

func (*RbacStatement) GetId

func (v *RbacStatement) GetId() string

GetId returns RbacStatement.Id, and is useful for accessing the field via an interface.

func (*RbacStatement) GetObject

GetObject returns RbacStatement.Object, and is useful for accessing the field via an interface.

func (*RbacStatement) GetRole

func (v *RbacStatement) GetRole() RbacRole

GetRole returns RbacStatement.Role, and is useful for accessing the field via an interface.

func (*RbacStatement) GetSubject

GetSubject returns RbacStatement.Subject, and is useful for accessing the field via an interface.

func (*RbacStatement) GetVersion added in v0.14.19

func (v *RbacStatement) GetVersion() *int

GetVersion returns RbacStatement.Version, and is useful for accessing the field via an interface.

func (*RbacStatement) Oid

func (r *RbacStatement) Oid() *oid.OID

type RbacStatementInput

type RbacStatementInput struct {
	Description string           `json:"description"`
	Subject     RbacSubjectInput `json:"subject"`
	Object      RbacObjectInput  `json:"object"`
	Role        RbacRole         `json:"role"`
	Version     *int             `json:"version"`
}

func (*RbacStatementInput) GetDescription

func (v *RbacStatementInput) GetDescription() string

GetDescription returns RbacStatementInput.Description, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetObject

func (v *RbacStatementInput) GetObject() RbacObjectInput

GetObject returns RbacStatementInput.Object, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetRole

func (v *RbacStatementInput) GetRole() RbacRole

GetRole returns RbacStatementInput.Role, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetSubject

func (v *RbacStatementInput) GetSubject() RbacSubjectInput

GetSubject returns RbacStatementInput.Subject, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetVersion added in v0.14.19

func (v *RbacStatementInput) GetVersion() *int

GetVersion returns RbacStatementInput.Version, and is useful for accessing the field via an interface.

type RbacStatementObjectRbacObject

type RbacStatementObjectRbacObject struct {
	ObjectId    *string `json:"objectId"`
	FolderId    *string `json:"folderId"`
	WorkspaceId *string `json:"workspaceId"`
	Type        *string `json:"type"`
	Name        *string `json:"name"`
	Owner       *bool   `json:"owner"`
	All         *bool   `json:"all"`
}

RbacStatementObjectRbacObject includes the requested fields of the GraphQL type RbacObject.

func (*RbacStatementObjectRbacObject) GetAll

func (v *RbacStatementObjectRbacObject) GetAll() *bool

GetAll returns RbacStatementObjectRbacObject.All, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetFolderId

func (v *RbacStatementObjectRbacObject) GetFolderId() *string

GetFolderId returns RbacStatementObjectRbacObject.FolderId, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetName

func (v *RbacStatementObjectRbacObject) GetName() *string

GetName returns RbacStatementObjectRbacObject.Name, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetObjectId

func (v *RbacStatementObjectRbacObject) GetObjectId() *string

GetObjectId returns RbacStatementObjectRbacObject.ObjectId, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetOwner

func (v *RbacStatementObjectRbacObject) GetOwner() *bool

GetOwner returns RbacStatementObjectRbacObject.Owner, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetType

func (v *RbacStatementObjectRbacObject) GetType() *string

GetType returns RbacStatementObjectRbacObject.Type, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetWorkspaceId

func (v *RbacStatementObjectRbacObject) GetWorkspaceId() *string

GetWorkspaceId returns RbacStatementObjectRbacObject.WorkspaceId, and is useful for accessing the field via an interface.

type RbacStatementSubjectRbacSubject

type RbacStatementSubjectRbacSubject struct {
	UserId  *types.UserIdScalar `json:"userId"`
	GroupId *string             `json:"groupId"`
	All     *bool               `json:"all"`
}

RbacStatementSubjectRbacSubject includes the requested fields of the GraphQL type RbacSubject.

func (*RbacStatementSubjectRbacSubject) GetAll

GetAll returns RbacStatementSubjectRbacSubject.All, and is useful for accessing the field via an interface.

func (*RbacStatementSubjectRbacSubject) GetGroupId

func (v *RbacStatementSubjectRbacSubject) GetGroupId() *string

GetGroupId returns RbacStatementSubjectRbacSubject.GroupId, and is useful for accessing the field via an interface.

func (*RbacStatementSubjectRbacSubject) GetUserId

GetUserId returns RbacStatementSubjectRbacSubject.UserId, and is useful for accessing the field via an interface.

type RbacSubjectInput

type RbacSubjectInput struct {
	UserId  *types.UserIdScalar `json:"userId"`
	GroupId *string             `json:"groupId"`
	All     *bool               `json:"all"`
}

func (*RbacSubjectInput) GetAll

func (v *RbacSubjectInput) GetAll() *bool

GetAll returns RbacSubjectInput.All, and is useful for accessing the field via an interface.

func (*RbacSubjectInput) GetGroupId

func (v *RbacSubjectInput) GetGroupId() *string

GetGroupId returns RbacSubjectInput.GroupId, and is useful for accessing the field via an interface.

func (*RbacSubjectInput) GetUserId

func (v *RbacSubjectInput) GetUserId() *types.UserIdScalar

GetUserId returns RbacSubjectInput.UserId, and is useful for accessing the field via an interface.

type RematerializationMode added in v0.14.21

type RematerializationMode string

Specifies what type of rematerialization will occur when a dataset is updated

const (
	// Rematerialize dataset and all downstream dependencies
	RematerializationModeRematerialize RematerializationMode = "Rematerialize"
	// Skips rematerialization if certain conditions are met, will rematerialize otherwise. Use with
	// SaveMode.PreflightDataset to verify rematerialization will not occur for a given dataset update
	// before updating the dataset.
	RematerializationModeSkiprematerialization RematerializationMode = "SkipRematerialization"
)

type ResourceIdInput

type ResourceIdInput struct {
	DatasetId       string                `json:"datasetId"`
	PrimaryKeyValue []ColumnAndValueInput `json:"primaryKeyValue"`
	TimeRange       *TimeRangeInput       `json:"timeRange"`
}

func (*ResourceIdInput) GetDatasetId

func (v *ResourceIdInput) GetDatasetId() string

GetDatasetId returns ResourceIdInput.DatasetId, and is useful for accessing the field via an interface.

func (*ResourceIdInput) GetPrimaryKeyValue

func (v *ResourceIdInput) GetPrimaryKeyValue() []ColumnAndValueInput

GetPrimaryKeyValue returns ResourceIdInput.PrimaryKeyValue, and is useful for accessing the field via an interface.

func (*ResourceIdInput) GetTimeRange

func (v *ResourceIdInput) GetTimeRange() *TimeRangeInput

GetTimeRange returns ResourceIdInput.TimeRange, and is useful for accessing the field via an interface.

type ResultKind

type ResultKind string

What pieces of result to include in the response to an OPAL query.

const (
	ResultKindResultkindschema          ResultKind = "ResultKindSchema"
	ResultKindResultkinddata            ResultKind = "ResultKindData"
	ResultKindResultkindstats           ResultKind = "ResultKindStats"
	ResultKindResultkindcolumnstats     ResultKind = "ResultKindColumnStats"
	ResultKindResultkindvolumestats     ResultKind = "ResultKindVolumeStats"
	ResultKindResultkindsuppress        ResultKind = "ResultKindSuppress"
	ResultKindResultkindprogress        ResultKind = "ResultKindProgress"
	ResultKindResultkindmetricdiscovery ResultKind = "ResultKindMetricDiscovery"
)

type ResultStatus

type ResultStatus struct {
	Success      bool              `json:"success"`
	ErrorMessage string            `json:"errorMessage"`
	DetailedInfo *types.JsonObject `json:"detailedInfo"`
}

ResultStatus includes the GraphQL fields of ResultStatus requested by the fragment ResultStatus.

func (*ResultStatus) GetDetailedInfo

func (v *ResultStatus) GetDetailedInfo() *types.JsonObject

GetDetailedInfo returns ResultStatus.DetailedInfo, and is useful for accessing the field via an interface.

func (*ResultStatus) GetErrorMessage

func (v *ResultStatus) GetErrorMessage() string

GetErrorMessage returns ResultStatus.ErrorMessage, and is useful for accessing the field via an interface.

func (*ResultStatus) GetSuccess

func (v *ResultStatus) GetSuccess() bool

GetSuccess returns ResultStatus.Success, and is useful for accessing the field via an interface.

type RollupFilterInput

type RollupFilterInput struct {
	Mode RollupFilterMode `json:"mode"`
}

func (*RollupFilterInput) GetMode

func (v *RollupFilterInput) GetMode() RollupFilterMode

GetMode returns RollupFilterInput.Mode, and is useful for accessing the field via an interface.

type RollupFilterMode

type RollupFilterMode string
const (
	RollupFilterModeLast RollupFilterMode = "Last"
	RollupFilterModeAll  RollupFilterMode = "All"
)

type RollupMode

type RollupMode string
const (
	// Roll up the result, grouping by primary key if possible,
	// otherwise by grouping all rows together.
	RollupModeAlways RollupMode = "Always"
	// Don't roll up the result.
	RollupModeNever RollupMode = "Never"
	// Roll up the result if it is a Resource, otherwise don't roll up the result.
	RollupModeAuto RollupMode = "Auto"
	// Roll up the result (by returning the last value + a bit describing whether
	// the value changed during the query window) if it is a Resource, otherwise
	// don’t roll up the result
	RollupModeLastvalueandchanged RollupMode = "LastValueAndChanged"
)

type RollupOptionInput

type RollupOptionInput struct {
	// If maxRowsPerGroup is set, rollup presentation will respect it as the limit for maximum number
	// of points allowed for each group; otherwise, rollup presentation will use heuristics to propose
	// a limit (typically 400 or 2000).
	// Either way, rollup presentation limits each group to this size, and apply sampling preemptively.
	MaxRowsPerGroup *types.Int64Scalar `json:"maxRowsPerGroup"`
	// If unrollColumns is set, the columns specified will be unrolled after being
	// grouped by primary key and ordered by time. Empty unrollColumns will produce
	// 1 row for each primary key (because all non-primary key columns are rolled
	// up). If a column C having values [0,1,0] at times [0,1,2] for a given primary
	// key is specified in unrollColumns, 3 rows will be produced for that primary
	// key, with the values of C being 0, 1, 0 in each row, respectively.
	UnrollColumns []string `json:"unrollColumns"`
	// If set to true, explicitly disables rollup, even for a Resource
	ForceNoRollup *bool `json:"forceNoRollup"`
}

func (*RollupOptionInput) GetForceNoRollup

func (v *RollupOptionInput) GetForceNoRollup() *bool

GetForceNoRollup returns RollupOptionInput.ForceNoRollup, and is useful for accessing the field via an interface.

func (*RollupOptionInput) GetMaxRowsPerGroup added in v0.14.10

func (v *RollupOptionInput) GetMaxRowsPerGroup() *types.Int64Scalar

GetMaxRowsPerGroup returns RollupOptionInput.MaxRowsPerGroup, and is useful for accessing the field via an interface.

func (*RollupOptionInput) GetUnrollColumns

func (v *RollupOptionInput) GetUnrollColumns() []string

GetUnrollColumns returns RollupOptionInput.UnrollColumns, and is useful for accessing the field via an interface.

type SaveMode

type SaveMode string
const (
	// Only update the dataset ID specified in the operation, disregarding dependencies
	SaveModeUpdatedataset SaveMode = "UpdateDataset"
	// Update the dataset ID specified, and its dependencies, but don't change anything if there's any error that's not ignored
	SaveModeUpdatedatasetanddependenciesunlessnewerrors SaveMode = "UpdateDatasetAndDependenciesUnlessNewErrors"
	// Update the dataset ID specified, and its dependencies, as far as can be done without errors, return errors
	SaveModeUpdatedatasetanddependenciesignoringallerrors SaveMode = "UpdateDatasetAndDependenciesIgnoringAllErrors"
	// Return what would happen if you updated the dataset ID (only) disregarding dependencies. Do not change database.
	SaveModePreflightdataset SaveMode = "PreflightDataset"
	// Return what would happen if you updated the dataset ID, including effects on dependencies. Do not change database.
	SaveModePreflightdatasetanddependencies SaveMode = "PreflightDatasetAndDependencies"
)

type SearchMatchKind

type SearchMatchKind string
const (
	// Search match  data is not needed
	SearchMatchKindSearchmatchnone SearchMatchKind = "SearchMatchNone"
	// Send back a list of columns that have contributed to resulting data matching the search
	SearchMatchKindSearchmatchcolumns SearchMatchKind = "SearchMatchColumns"
)

type SettingAndTargetScope

type SettingAndTargetScope struct {
	Setting string                     `json:"setting"`
	Target  LayeredSettingRecordTarget `json:"target"`
}

SettingAndTargetScope includes the GraphQL fields of SettingAndTargetScope requested by the fragment SettingAndTargetScope.

func (*SettingAndTargetScope) GetSetting

func (v *SettingAndTargetScope) GetSetting() string

GetSetting returns SettingAndTargetScope.Setting, and is useful for accessing the field via an interface.

func (*SettingAndTargetScope) GetTarget

GetTarget returns SettingAndTargetScope.Target, and is useful for accessing the field via an interface.

type SettingAndTargetScopeInput

type SettingAndTargetScopeInput struct {
	Setting string                          `json:"setting"`
	Target  LayeredSettingRecordTargetInput `json:"target"`
}

func (*SettingAndTargetScopeInput) GetSetting

func (v *SettingAndTargetScopeInput) GetSetting() string

GetSetting returns SettingAndTargetScopeInput.Setting, and is useful for accessing the field via an interface.

func (*SettingAndTargetScopeInput) GetTarget

GetTarget returns SettingAndTargetScopeInput.Target, and is useful for accessing the field via an interface.

type SnowflakeAccount added in v0.14.1

type SnowflakeAccount struct {
	// The name of the organization that owns the Snowflake account.
	Organization string `json:"organization"`
	// The name of the Snowflake account.
	Account string `json:"account"`
}

SnowflakeAccount includes the GraphQL fields of SnowflakeAccount requested by the fragment SnowflakeAccount.

func (*SnowflakeAccount) GetAccount added in v0.14.1

func (v *SnowflakeAccount) GetAccount() string

GetAccount returns SnowflakeAccount.Account, and is useful for accessing the field via an interface.

func (*SnowflakeAccount) GetOrganization added in v0.14.1

func (v *SnowflakeAccount) GetOrganization() string

GetOrganization returns SnowflakeAccount.Organization, and is useful for accessing the field via an interface.

type SnowflakeAccountInput added in v0.14.1

type SnowflakeAccountInput struct {
	Account      string `json:"account"`
	Organization string `json:"organization"`
}

func (*SnowflakeAccountInput) GetAccount added in v0.14.1

func (v *SnowflakeAccountInput) GetAccount() string

GetAccount returns SnowflakeAccountInput.Account, and is useful for accessing the field via an interface.

func (*SnowflakeAccountInput) GetOrganization added in v0.14.1

func (v *SnowflakeAccountInput) GetOrganization() string

GetOrganization returns SnowflakeAccountInput.Organization, and is useful for accessing the field via an interface.

type SnowflakeOutboundShare added in v0.14.1

type SnowflakeOutboundShare struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
	// The fully qualified name of the Snowflake share, for use in a consumer account.
	ShareName string `json:"shareName"`
	// The Snowlake accounts that have access to the share.
	Accounts []SnowflakeAccount `json:"accounts"`
}

SnowflakeOutboundShare includes the GraphQL fields of SnowflakeOutboundShare requested by the fragment SnowflakeOutboundShare.

func (*SnowflakeOutboundShare) GetAccounts added in v0.14.1

func (v *SnowflakeOutboundShare) GetAccounts() []SnowflakeAccount

GetAccounts returns SnowflakeOutboundShare.Accounts, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) GetDescription added in v0.14.1

func (v *SnowflakeOutboundShare) GetDescription() *string

GetDescription returns SnowflakeOutboundShare.Description, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) GetId added in v0.14.1

func (v *SnowflakeOutboundShare) GetId() string

GetId returns SnowflakeOutboundShare.Id, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) GetName added in v0.14.1

func (v *SnowflakeOutboundShare) GetName() string

GetName returns SnowflakeOutboundShare.Name, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) GetShareName added in v0.14.1

func (v *SnowflakeOutboundShare) GetShareName() string

GetShareName returns SnowflakeOutboundShare.ShareName, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) GetWorkspaceId added in v0.14.1

func (v *SnowflakeOutboundShare) GetWorkspaceId() string

GetWorkspaceId returns SnowflakeOutboundShare.WorkspaceId, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShare) Oid added in v0.14.1

func (p *SnowflakeOutboundShare) Oid() *oid.OID

type SnowflakeOutboundShareInput added in v0.14.1

type SnowflakeOutboundShareInput struct {
	Accounts    []SnowflakeAccountInput `json:"accounts"`
	Name        string                  `json:"name"`
	IconUrl     *string                 `json:"iconUrl"`
	Description *string                 `json:"description"`
	ManagedById *string                 `json:"managedById"`
	FolderId    *string                 `json:"folderId"`
}

func (*SnowflakeOutboundShareInput) GetAccounts added in v0.14.1

GetAccounts returns SnowflakeOutboundShareInput.Accounts, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShareInput) GetDescription added in v0.14.1

func (v *SnowflakeOutboundShareInput) GetDescription() *string

GetDescription returns SnowflakeOutboundShareInput.Description, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShareInput) GetFolderId added in v0.14.1

func (v *SnowflakeOutboundShareInput) GetFolderId() *string

GetFolderId returns SnowflakeOutboundShareInput.FolderId, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShareInput) GetIconUrl added in v0.14.1

func (v *SnowflakeOutboundShareInput) GetIconUrl() *string

GetIconUrl returns SnowflakeOutboundShareInput.IconUrl, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShareInput) GetManagedById added in v0.14.1

func (v *SnowflakeOutboundShareInput) GetManagedById() *string

GetManagedById returns SnowflakeOutboundShareInput.ManagedById, and is useful for accessing the field via an interface.

func (*SnowflakeOutboundShareInput) GetName added in v0.14.1

func (v *SnowflakeOutboundShareInput) GetName() string

GetName returns SnowflakeOutboundShareInput.Name, and is useful for accessing the field via an interface.

type SourceLocInput

type SourceLocInput struct {
	Row types.Int64Scalar `json:"row"`
	Col types.Int64Scalar `json:"col"`
}

func (*SourceLocInput) GetCol

func (v *SourceLocInput) GetCol() types.Int64Scalar

GetCol returns SourceLocInput.Col, and is useful for accessing the field via an interface.

func (*SourceLocInput) GetRow

func (v *SourceLocInput) GetRow() types.Int64Scalar

GetRow returns SourceLocInput.Row, and is useful for accessing the field via an interface.

type SourceTableDefinitionInput

type SourceTableDefinitionInput struct {
	Schema                string                            `json:"schema"`
	TableName             string                            `json:"tableName"`
	Fields                []SourceTableFieldDefinitionInput `json:"fields"`
	ValidFromField        *string                           `json:"validFromField"`
	BatchSeqField         *string                           `json:"batchSeqField"`
	IsInsertOnly          *bool                             `json:"isInsertOnly,omitempty"`
	SourceUpdateTableName *string                           `json:"sourceUpdateTableName"`
}

func (*SourceTableDefinitionInput) GetBatchSeqField

func (v *SourceTableDefinitionInput) GetBatchSeqField() *string

GetBatchSeqField returns SourceTableDefinitionInput.BatchSeqField, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetFields

GetFields returns SourceTableDefinitionInput.Fields, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetIsInsertOnly

func (v *SourceTableDefinitionInput) GetIsInsertOnly() *bool

GetIsInsertOnly returns SourceTableDefinitionInput.IsInsertOnly, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetSchema

func (v *SourceTableDefinitionInput) GetSchema() string

GetSchema returns SourceTableDefinitionInput.Schema, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetSourceUpdateTableName

func (v *SourceTableDefinitionInput) GetSourceUpdateTableName() *string

GetSourceUpdateTableName returns SourceTableDefinitionInput.SourceUpdateTableName, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetTableName

func (v *SourceTableDefinitionInput) GetTableName() string

GetTableName returns SourceTableDefinitionInput.TableName, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetValidFromField

func (v *SourceTableDefinitionInput) GetValidFromField() *string

GetValidFromField returns SourceTableDefinitionInput.ValidFromField, and is useful for accessing the field via an interface.

type SourceTableFieldDefinitionInput

type SourceTableFieldDefinitionInput struct {
	Name    string `json:"name"`
	SqlType string `json:"sqlType"`
}

func (*SourceTableFieldDefinitionInput) GetName

GetName returns SourceTableFieldDefinitionInput.Name, and is useful for accessing the field via an interface.

func (*SourceTableFieldDefinitionInput) GetSqlType

func (v *SourceTableFieldDefinitionInput) GetSqlType() string

GetSqlType returns SourceTableFieldDefinitionInput.SqlType, and is useful for accessing the field via an interface.

type StageInput

type StageInput struct {
	// unique ID that other stages can reference in their InputDefinitionInput
	StageId string `json:"stageId"`
	// What is the description of this stage (stage name)
	Description *string `json:"description"`
	// What component feature is this stage driving? i.e. filter bar, visualization etc.
	Component *string `json:"component"`
	// Which inputs are defined for this stage?
	Inputs []InputDefinitionInput `json:"inputs"`
	// What is the processing?
	Pipeline string `json:"pipeline"`
	// How do we arrange presentation? (ordering etc)
	// Note that later stages referencing this stage will NOT see the stage presentation processing
	Presentation *StagePresentationInput `json:"presentation"`
	// UI presentation data to use when storing transforms
	Layout *types.JsonObject `json:"layout"`
	// If set, enables paginatedResults in initial TaskResult of ResultKindData.
	Pagination *PaginationInput `json:"pagination"`
	// If set, run this stage with progressive execution
	Progressive *bool `json:"progressive"`
	// If set and progressive is also set, we will try to run the query incrementally
	Incremental *bool `json:"incremental"`
	// If set, backend will try to run this stage with best effort binding mode
	BestEffortBinding *bool `json:"bestEffortBinding"`
	// A location within the pipeline. Used to support "run query up to cursor" type functionality, where this location
	// defines the last verb within the query or subquery to run.
	RunUntilLocation *SourceLocInput `json:"runUntilLocation"`
	// Parameter values for parameters scoped to this stage
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	// Additional metadata about the stage. Should not change the behavior of the query, and should
	// merely provide more context about how and where the stage is being used.
	Metadata *StageMetadata `json:"metadata"`
}

func (*StageInput) GetBestEffortBinding

func (v *StageInput) GetBestEffortBinding() *bool

GetBestEffortBinding returns StageInput.BestEffortBinding, and is useful for accessing the field via an interface.

func (*StageInput) GetComponent added in v0.14.7

func (v *StageInput) GetComponent() *string

GetComponent returns StageInput.Component, and is useful for accessing the field via an interface.

func (*StageInput) GetDescription added in v0.14.7

func (v *StageInput) GetDescription() *string

GetDescription returns StageInput.Description, and is useful for accessing the field via an interface.

func (*StageInput) GetIncremental added in v0.13.18

func (v *StageInput) GetIncremental() *bool

GetIncremental returns StageInput.Incremental, and is useful for accessing the field via an interface.

func (*StageInput) GetInputs

func (v *StageInput) GetInputs() []InputDefinitionInput

GetInputs returns StageInput.Inputs, and is useful for accessing the field via an interface.

func (*StageInput) GetLayout

func (v *StageInput) GetLayout() *types.JsonObject

GetLayout returns StageInput.Layout, and is useful for accessing the field via an interface.

func (*StageInput) GetMetadata added in v0.14.7

func (v *StageInput) GetMetadata() *StageMetadata

GetMetadata returns StageInput.Metadata, and is useful for accessing the field via an interface.

func (*StageInput) GetPagination

func (v *StageInput) GetPagination() *PaginationInput

GetPagination returns StageInput.Pagination, and is useful for accessing the field via an interface.

func (*StageInput) GetParameterValues

func (v *StageInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns StageInput.ParameterValues, and is useful for accessing the field via an interface.

func (*StageInput) GetPipeline

func (v *StageInput) GetPipeline() string

GetPipeline returns StageInput.Pipeline, and is useful for accessing the field via an interface.

func (*StageInput) GetPresentation

func (v *StageInput) GetPresentation() *StagePresentationInput

GetPresentation returns StageInput.Presentation, and is useful for accessing the field via an interface.

func (*StageInput) GetProgressive

func (v *StageInput) GetProgressive() *bool

GetProgressive returns StageInput.Progressive, and is useful for accessing the field via an interface.

func (*StageInput) GetRunUntilLocation

func (v *StageInput) GetRunUntilLocation() *SourceLocInput

GetRunUntilLocation returns StageInput.RunUntilLocation, and is useful for accessing the field via an interface.

func (*StageInput) GetStageId

func (v *StageInput) GetStageId() string

GetStageId returns StageInput.StageId, and is useful for accessing the field via an interface.

type StageMetadata added in v0.14.7

type StageMetadata struct {
	// Display name of the stage in the UI
	DisplayName *string `json:"displayName"`
	// Description of the stage
	Description *string `json:"description"`
	// What component feature is this stage driving? i.e. filter bar, visualization etc.
	Component *string `json:"component"`
	// Extra stuff
	Extra *types.JsonObject `json:"extra"`
}

Metadata a client can send for a particular stage in a query. Should not change the behavior of the query, and should only provide some context around what this stage is used for.

func (*StageMetadata) GetComponent added in v0.14.7

func (v *StageMetadata) GetComponent() *string

GetComponent returns StageMetadata.Component, and is useful for accessing the field via an interface.

func (*StageMetadata) GetDescription added in v0.14.7

func (v *StageMetadata) GetDescription() *string

GetDescription returns StageMetadata.Description, and is useful for accessing the field via an interface.

func (*StageMetadata) GetDisplayName added in v0.14.7

func (v *StageMetadata) GetDisplayName() *string

GetDisplayName returns StageMetadata.DisplayName, and is useful for accessing the field via an interface.

func (*StageMetadata) GetExtra added in v0.14.7

func (v *StageMetadata) GetExtra() *types.JsonObject

GetExtra returns StageMetadata.Extra, and is useful for accessing the field via an interface.

type StagePresentationInput

type StagePresentationInput struct {
	// limit can be per-query in addition to per-request; the min() is applied
	Limit *types.Int64Scalar `json:"limit"`
	// columnStats configuration
	ColumnStats *ColumnStatsInput `json:"columnStats"`
	// volumeStats configuration
	VolumeStats *VolumeStatsInput `json:"volumeStats"`
	// orderColumns determines order of returned data rows
	OrderColumns []ColumnOrderInput `json:"orderColumns"`
	// when linkify is true, the server will resolve all declared foreign keys
	// and create one new field for each containing that user-readable name of the
	// target of the key (see design doc in Notion)
	Linkify *bool `json:"linkify"`
	// Specifies the options for rollup presentation.
	Rollup *RollupOptionInput `json:"rollup"`
	// rollupMode, if specified, overrides rollup.
	// Always: Roll up the result, grouping by primary key if possible,
	// otherwise by grouping all rows together.
	// Never: Don't roll up the result.
	// Auto: Roll up the result if it is a Resource, otherwise don't roll up
	// the result.
	RollupMode *RollupMode `json:"rollupMode"`
	// resultKinds map to which fields of TaskResult will end up containing
	// information in results (when using datasetProgressive for querying.) Note that not
	// all the fields may be set at the same time, data may be split across
	// multiple separate TaskResult structs in the result stream. However, in
	// aggregate, all the data requested in resultKinds will be responded.
	ResultKinds []ResultKind `json:"resultKinds"`
	// When wantBuckets is set, time-binning verbs without explicit resolution specification
	// will automatically find a human-friendly resolution and generate the wanted number of
	// buckets. When exact number of buckets is not possible, more buckets will be generated.
	WantBuckets *types.Int64Scalar `json:"wantBuckets"`
	// When set to SearchMatchColumns, TaskResult.TODO for ResultKindData responses
	// will contain a list of column names that produced matches for some of the filters in
	// the pipeline
	SearchMatchKind *SearchMatchKind `json:"searchMatchKind"`
	// Specifies the aggregation mode. Default is `Precise`.
	AggregationMode *AggregationMode `json:"aggregationMode"`
	// This field is deprecated and will be ignored, but cannot be removed because
	// Terraform provider depends on it.
	DefaultStats *DefaultStatsInput `json:"defaultStats"`
}

StagePresentationInput is about how to format the results of the query. Here is where you can ask for things like linkified results, rolled up results, stats from the results, schema-only results, and so forth. These requests are generally made by interactive systems, and are not generally applicable to other use cases.

func (*StagePresentationInput) GetAggregationMode added in v0.14.7

func (v *StagePresentationInput) GetAggregationMode() *AggregationMode

GetAggregationMode returns StagePresentationInput.AggregationMode, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetColumnStats added in v0.13.18

func (v *StagePresentationInput) GetColumnStats() *ColumnStatsInput

GetColumnStats returns StagePresentationInput.ColumnStats, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetDefaultStats

func (v *StagePresentationInput) GetDefaultStats() *DefaultStatsInput

GetDefaultStats returns StagePresentationInput.DefaultStats, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetLimit

func (v *StagePresentationInput) GetLimit() *types.Int64Scalar

GetLimit returns StagePresentationInput.Limit, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetLinkify

func (v *StagePresentationInput) GetLinkify() *bool

GetLinkify returns StagePresentationInput.Linkify, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetOrderColumns

func (v *StagePresentationInput) GetOrderColumns() []ColumnOrderInput

GetOrderColumns returns StagePresentationInput.OrderColumns, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetResultKinds

func (v *StagePresentationInput) GetResultKinds() []ResultKind

GetResultKinds returns StagePresentationInput.ResultKinds, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetRollup

func (v *StagePresentationInput) GetRollup() *RollupOptionInput

GetRollup returns StagePresentationInput.Rollup, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetRollupMode

func (v *StagePresentationInput) GetRollupMode() *RollupMode

GetRollupMode returns StagePresentationInput.RollupMode, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetSearchMatchKind

func (v *StagePresentationInput) GetSearchMatchKind() *SearchMatchKind

GetSearchMatchKind returns StagePresentationInput.SearchMatchKind, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetVolumeStats added in v0.13.18

func (v *StagePresentationInput) GetVolumeStats() *VolumeStatsInput

GetVolumeStats returns StagePresentationInput.VolumeStats, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetWantBuckets

func (v *StagePresentationInput) GetWantBuckets() *types.Int64Scalar

GetWantBuckets returns StagePresentationInput.WantBuckets, and is useful for accessing the field via an interface.

type StageQuery

type StageQuery struct {
	Id       *string                          `json:"id"`
	Pipeline string                           `json:"pipeline"`
	Params   *types.JsonObject                `json:"params"`
	Layout   *types.JsonObject                `json:"layout"`
	Input    []StageQueryInputInputDefinition `json:"input"`
}

StageQuery includes the GraphQL fields of StageQuery requested by the fragment StageQuery.

func (*StageQuery) GetId

func (v *StageQuery) GetId() *string

GetId returns StageQuery.Id, and is useful for accessing the field via an interface.

func (*StageQuery) GetInput

GetInput returns StageQuery.Input, and is useful for accessing the field via an interface.

func (*StageQuery) GetLayout

func (v *StageQuery) GetLayout() *types.JsonObject

GetLayout returns StageQuery.Layout, and is useful for accessing the field via an interface.

func (*StageQuery) GetParams

func (v *StageQuery) GetParams() *types.JsonObject

GetParams returns StageQuery.Params, and is useful for accessing the field via an interface.

func (*StageQuery) GetPipeline

func (v *StageQuery) GetPipeline() string

GetPipeline returns StageQuery.Pipeline, and is useful for accessing the field via an interface.

type StageQueryInput

type StageQueryInput struct {
	StageID *string `json:"stageID,omitempty"`
	StageId *string `json:"stageId,omitempty"`
	// make id required when we've removed all deprecated use of stageId
	Id              *string                 `json:"id,omitempty"`
	Input           []InputDefinitionInput  `json:"input"`
	Pipeline        string                  `json:"pipeline"`
	Layout          *types.JsonObject       `json:"layout"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
}

func (*StageQueryInput) GetId

func (v *StageQueryInput) GetId() *string

GetId returns StageQueryInput.Id, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetInput

func (v *StageQueryInput) GetInput() []InputDefinitionInput

GetInput returns StageQueryInput.Input, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetLayout

func (v *StageQueryInput) GetLayout() *types.JsonObject

GetLayout returns StageQueryInput.Layout, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetParameterValues

func (v *StageQueryInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns StageQueryInput.ParameterValues, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetParameters

func (v *StageQueryInput) GetParameters() []ParameterSpecInput

GetParameters returns StageQueryInput.Parameters, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetPipeline

func (v *StageQueryInput) GetPipeline() string

GetPipeline returns StageQueryInput.Pipeline, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetStageID

func (v *StageQueryInput) GetStageID() *string

GetStageID returns StageQueryInput.StageID, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetStageId

func (v *StageQueryInput) GetStageId() *string

GetStageId returns StageQueryInput.StageId, and is useful for accessing the field via an interface.

type StageQueryInputInputDefinition

type StageQueryInputInputDefinition struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string    `json:"inputName"`
	InputRole InputRole `json:"inputRole"`
	// One of the input definition fields is used; the others are null
	// because GO doesn't have unions.
	DatasetId   *string `json:"datasetId"`
	DatasetPath *string `json:"datasetPath"`
	// Only set stageId to reference input that comes from an actual stage in the same query
	StageId *string `json:"stageId"`
}

StageQueryInputInputDefinition includes the requested fields of the GraphQL type InputDefinition.

func (*StageQueryInputInputDefinition) GetDatasetId

func (v *StageQueryInputInputDefinition) GetDatasetId() *string

GetDatasetId returns StageQueryInputInputDefinition.DatasetId, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetDatasetPath

func (v *StageQueryInputInputDefinition) GetDatasetPath() *string

GetDatasetPath returns StageQueryInputInputDefinition.DatasetPath, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetInputName

func (v *StageQueryInputInputDefinition) GetInputName() string

GetInputName returns StageQueryInputInputDefinition.InputName, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetInputRole

func (v *StageQueryInputInputDefinition) GetInputRole() InputRole

GetInputRole returns StageQueryInputInputDefinition.InputRole, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetStageId

func (v *StageQueryInputInputDefinition) GetStageId() *string

GetStageId returns StageQueryInputInputDefinition.StageId, and is useful for accessing the field via an interface.

type TaskResult

type TaskResult struct {
	// The Observe Query identifier
	QueryId string  `json:"queryId"`
	StageId *string `json:"stageId"`
	// The time range which this set of results cover.
	StartTime *types.TimeScalar `json:"startTime"`
	EndTime   *types.TimeScalar `json:"endTime"`
	// You used to paginate the data yourself out of S3 -- not needed anymore
	ResultCursor *interface{} `json:"resultCursor"`
	// how to understand the columns in the result from Snowflake --
	ResultSchema *TaskResultResultSchemaTaskResultSchema `json:"resultSchema"`
}

TaskResult includes the GraphQL fields of TaskResult requested by the fragment TaskResult. The GraphQL type's documentation follows.

Results returned from datasetProgressive and datasetQueryOutput. Note that we want to split this type up into individual types per result kind, because this allows to better specify (narrow down) which data is present in which result type. To better constrain this, the individual result types (currently only TaskResult and LiveQueryFreshnessUpdateResult) implement the interfaces of the subscriptions' / queries' result interfaces. Currently the only interface is LiveQueryResult, but there will be more when we split up TaskResult.

func (*TaskResult) GetEndTime

func (v *TaskResult) GetEndTime() *types.TimeScalar

GetEndTime returns TaskResult.EndTime, and is useful for accessing the field via an interface.

func (*TaskResult) GetQueryId

func (v *TaskResult) GetQueryId() string

GetQueryId returns TaskResult.QueryId, and is useful for accessing the field via an interface.

func (*TaskResult) GetResultCursor

func (v *TaskResult) GetResultCursor() *interface{}

GetResultCursor returns TaskResult.ResultCursor, and is useful for accessing the field via an interface.

func (*TaskResult) GetResultSchema

func (v *TaskResult) GetResultSchema() *TaskResultResultSchemaTaskResultSchema

GetResultSchema returns TaskResult.ResultSchema, and is useful for accessing the field via an interface.

func (*TaskResult) GetStageId

func (v *TaskResult) GetStageId() *string

GetStageId returns TaskResult.StageId, and is useful for accessing the field via an interface.

func (*TaskResult) GetStartTime

func (v *TaskResult) GetStartTime() *types.TimeScalar

GetStartTime returns TaskResult.StartTime, and is useful for accessing the field via an interface.

type TaskResultResultSchemaTaskResultSchema

type TaskResultResultSchemaTaskResultSchema struct {
	// this is the same schema as Typedef.definition
	TypedefDefinition *types.JsonObject `json:"typedefDefinition"`
}

TaskResultResultSchemaTaskResultSchema includes the requested fields of the GraphQL type TaskResultSchema.

func (*TaskResultResultSchemaTaskResultSchema) GetTypedefDefinition

func (v *TaskResultResultSchemaTaskResultSchema) GetTypedefDefinition() *types.JsonObject

GetTypedefDefinition returns TaskResultResultSchemaTaskResultSchema.TypedefDefinition, and is useful for accessing the field via an interface.

type TerraformDefinition

type TerraformDefinition struct {
	DataSource *string `json:"dataSource"`
	Resource   *string `json:"resource"`
	ImportId   *string `json:"importId"`
	ImportName *string `json:"importName"`
}

TerraformDefinition includes the GraphQL fields of TerraformDefinition requested by the fragment TerraformDefinition.

func (*TerraformDefinition) GetDataSource

func (v *TerraformDefinition) GetDataSource() *string

GetDataSource returns TerraformDefinition.DataSource, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetImportId

func (v *TerraformDefinition) GetImportId() *string

GetImportId returns TerraformDefinition.ImportId, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetImportName

func (v *TerraformDefinition) GetImportName() *string

GetImportName returns TerraformDefinition.ImportName, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetResource

func (v *TerraformDefinition) GetResource() *string

GetResource returns TerraformDefinition.Resource, and is useful for accessing the field via an interface.

type TerraformObjectType

type TerraformObjectType string
const (
	TerraformObjectTypeDataset   TerraformObjectType = "Dataset"
	TerraformObjectTypeBoard     TerraformObjectType = "Board"
	TerraformObjectTypeMonitor   TerraformObjectType = "Monitor"
	TerraformObjectTypeDashboard TerraformObjectType = "Dashboard"
)

type ThresholdAggFunction

type ThresholdAggFunction string
const (
	ThresholdAggFunctionAtalltimes  ThresholdAggFunction = "AtAllTimes"
	ThresholdAggFunctionAtleastonce ThresholdAggFunction = "AtLeastOnce"
	ThresholdAggFunctionOnaverage   ThresholdAggFunction = "OnAverage"
	ThresholdAggFunctionIntotal     ThresholdAggFunction = "InTotal"
)

type TimeFunction

type TimeFunction string
const (
	TimeFunctionNever                  TimeFunction = "Never"
	TimeFunctionAtleastonce            TimeFunction = "AtLeastOnce"
	TimeFunctionAtalltimes             TimeFunction = "AtAllTimes"
	TimeFunctionAtleastpercentagetime  TimeFunction = "AtLeastPercentageTime"
	TimeFunctionLessthanpercentagetime TimeFunction = "LessThanPercentageTime"
	TimeFunctionNoevents               TimeFunction = "NoEvents"
	TimeFunctionAllevents              TimeFunction = "AllEvents"
	TimeFunctionCounttimes             TimeFunction = "CountTimes"
)

type TimeRangeInput

type TimeRangeInput struct {
	Start *types.TimeScalar `json:"start"`
	End   *types.TimeScalar `json:"end"`
}

func (*TimeRangeInput) GetEnd

func (v *TimeRangeInput) GetEnd() *types.TimeScalar

GetEnd returns TimeRangeInput.End, and is useful for accessing the field via an interface.

func (*TimeRangeInput) GetStart

func (v *TimeRangeInput) GetStart() *types.TimeScalar

GetStart returns TimeRangeInput.Start, and is useful for accessing the field via an interface.

type TimeSinceEpoch

type TimeSinceEpoch struct {
	Value *types.Int64Scalar `json:"value"`
	Unit  *TimeUnit          `json:"unit"`
}

func (*TimeSinceEpoch) GetUnit

func (v *TimeSinceEpoch) GetUnit() *TimeUnit

GetUnit returns TimeSinceEpoch.Unit, and is useful for accessing the field via an interface.

func (*TimeSinceEpoch) GetValue

func (v *TimeSinceEpoch) GetValue() *types.Int64Scalar

GetValue returns TimeSinceEpoch.Value, and is useful for accessing the field via an interface.

type TimeUnit

type TimeUnit string
const (
	TimeUnitSecond      TimeUnit = "Second"
	TimeUnitMillisecond TimeUnit = "Millisecond"
	TimeUnitMicrosecond TimeUnit = "Microsecond"
	TimeUnitNanosecond  TimeUnit = "Nanosecond"
)

type UpdateRbacStatementInput added in v0.14.23

type UpdateRbacStatementInput struct {
	Id          string           `json:"id"`
	Description string           `json:"description"`
	Subject     RbacSubjectInput `json:"subject"`
	Object      RbacObjectInput  `json:"object"`
	Role        RbacRole         `json:"role"`
	Version     *int             `json:"version"`
}

func (*UpdateRbacStatementInput) GetDescription added in v0.14.23

func (v *UpdateRbacStatementInput) GetDescription() string

GetDescription returns UpdateRbacStatementInput.Description, and is useful for accessing the field via an interface.

func (*UpdateRbacStatementInput) GetId added in v0.14.23

func (v *UpdateRbacStatementInput) GetId() string

GetId returns UpdateRbacStatementInput.Id, and is useful for accessing the field via an interface.

func (*UpdateRbacStatementInput) GetObject added in v0.14.23

GetObject returns UpdateRbacStatementInput.Object, and is useful for accessing the field via an interface.

func (*UpdateRbacStatementInput) GetRole added in v0.14.23

func (v *UpdateRbacStatementInput) GetRole() RbacRole

GetRole returns UpdateRbacStatementInput.Role, and is useful for accessing the field via an interface.

func (*UpdateRbacStatementInput) GetSubject added in v0.14.23

GetSubject returns UpdateRbacStatementInput.Subject, and is useful for accessing the field via an interface.

func (*UpdateRbacStatementInput) GetVersion added in v0.14.23

func (v *UpdateRbacStatementInput) GetVersion() *int

GetVersion returns UpdateRbacStatementInput.Version, and is useful for accessing the field via an interface.

type User

type User struct {
	Id      types.UserIdScalar `json:"id"`
	Email   string             `json:"email"`
	Comment *string            `json:"comment"`
	Label   string             `json:"label"`
}

User includes the GraphQL fields of User requested by the fragment User.

func (*User) GetComment

func (v *User) GetComment() *string

GetComment returns User.Comment, and is useful for accessing the field via an interface.

func (*User) GetEmail

func (v *User) GetEmail() string

GetEmail returns User.Email, and is useful for accessing the field via an interface.

func (*User) GetId

func (v *User) GetId() types.UserIdScalar

GetId returns User.Id, and is useful for accessing the field via an interface.

func (*User) GetLabel added in v0.14.19

func (v *User) GetLabel() string

GetLabel returns User.Label, and is useful for accessing the field via an interface.

func (*User) Oid

func (u *User) Oid() *oid.OID

type ValueType

type ValueType string

These are the OPAL native types that can go into worksheet parameters. Some of the native OPAL types aren't (currently?) exposed to the worksheet parameters, but it's likely we will expand this to the full roster over time. Also, there will be other places where we send "values" into the API. For example, we've dodged it so far in places like monitors, by saying "threshold is always float, and facet is always string," but a generic monitor specification should absolutely use ValueInput / ValueType.

const (
	// be explicit about the "empty" value for the null/unknown case
	ValueTypeNone       ValueType = "NONE"
	ValueTypeBool       ValueType = "BOOL"
	ValueTypeFloat64    ValueType = "FLOAT64"
	ValueTypeInt64      ValueType = "INT64"
	ValueTypeString     ValueType = "STRING"
	ValueTypeTimestamp  ValueType = "TIMESTAMP"
	ValueTypeDuration   ValueType = "DURATION"
	ValueTypeArray      ValueType = "ARRAY"
	ValueTypeLink       ValueType = "LINK"
	ValueTypeDatasetref ValueType = "DATASETREF"
)

type ValueTypeSpecInput

type ValueTypeSpecInput struct {
	Type            ValueType           `json:"type"`
	ArrayItemType   *ValueTypeSpecInput `json:"arrayItemType"`
	KeyForDatasetId *string             `json:"keyForDatasetId"`
}

func (*ValueTypeSpecInput) GetArrayItemType

func (v *ValueTypeSpecInput) GetArrayItemType() *ValueTypeSpecInput

GetArrayItemType returns ValueTypeSpecInput.ArrayItemType, and is useful for accessing the field via an interface.

func (*ValueTypeSpecInput) GetKeyForDatasetId

func (v *ValueTypeSpecInput) GetKeyForDatasetId() *string

GetKeyForDatasetId returns ValueTypeSpecInput.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*ValueTypeSpecInput) GetType

func (v *ValueTypeSpecInput) GetType() ValueType

GetType returns ValueTypeSpecInput.Type, and is useful for accessing the field via an interface.

type VolumeStatsInput added in v0.13.18

type VolumeStatsInput struct {
	// Number of buckets to compute the volume over time.
	// Set to 0 to disable volume over time stats.
	// Set to null to let the backend decide.
	BucketCount *types.Int64Scalar `json:"bucketCount"`
	// Whether to compute the total number of rows. null or false would disable it.
	NeedTotalCount *bool `json:"needTotalCount"`
}

func (*VolumeStatsInput) GetBucketCount added in v0.13.18

func (v *VolumeStatsInput) GetBucketCount() *types.Int64Scalar

GetBucketCount returns VolumeStatsInput.BucketCount, and is useful for accessing the field via an interface.

func (*VolumeStatsInput) GetNeedTotalCount added in v0.13.18

func (v *VolumeStatsInput) GetNeedTotalCount() *bool

GetNeedTotalCount returns VolumeStatsInput.NeedTotalCount, and is useful for accessing the field via an interface.

type WebhookActionInput

type WebhookActionInput struct {
	// If the templateName is not set, it will be set as an empty string.
	TemplateName *string              `json:"templateName"`
	UrlTemplate  *string              `json:"urlTemplate"`
	Method       *string              `json:"method"`
	Headers      []WebhookHeaderInput `json:"headers"`
	BodyTemplate *string              `json:"bodyTemplate"`
	// Fragments are fields that users can edit on simple mode.
	// For example,
	// fragments.title = {{notification.kind}} fired off at {{notification.startTime}}
	// is available in all other templates as {{fragments.title}}
	Fragments *types.JsonObject `json:"fragments"`
}

func (*WebhookActionInput) GetBodyTemplate

func (v *WebhookActionInput) GetBodyTemplate() *string

GetBodyTemplate returns WebhookActionInput.BodyTemplate, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetFragments added in v0.13.18

func (v *WebhookActionInput) GetFragments() *types.JsonObject

GetFragments returns WebhookActionInput.Fragments, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetHeaders

func (v *WebhookActionInput) GetHeaders() []WebhookHeaderInput

GetHeaders returns WebhookActionInput.Headers, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetMethod

func (v *WebhookActionInput) GetMethod() *string

GetMethod returns WebhookActionInput.Method, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetTemplateName added in v0.13.18

func (v *WebhookActionInput) GetTemplateName() *string

GetTemplateName returns WebhookActionInput.TemplateName, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetUrlTemplate

func (v *WebhookActionInput) GetUrlTemplate() *string

GetUrlTemplate returns WebhookActionInput.UrlTemplate, and is useful for accessing the field via an interface.

type WebhookHeaderInput

type WebhookHeaderInput struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

func (*WebhookHeaderInput) GetHeader

func (v *WebhookHeaderInput) GetHeader() string

GetHeader returns WebhookHeaderInput.Header, and is useful for accessing the field via an interface.

func (*WebhookHeaderInput) GetValueTemplate

func (v *WebhookHeaderInput) GetValueTemplate() string

GetValueTemplate returns WebhookHeaderInput.ValueTemplate, and is useful for accessing the field via an interface.

type Worksheet

type Worksheet struct {
	Id          string       `json:"id"`
	Label       string       `json:"label"`
	Icon        *string      `json:"icon"`
	ManagedById *string      `json:"managedById"`
	WorkspaceId string       `json:"workspaceId"`
	Stages      []StageQuery `json:"stages"`
}

Worksheet includes the GraphQL fields of Worksheet requested by the fragment Worksheet.

func (*Worksheet) GetIcon

func (v *Worksheet) GetIcon() *string

GetIcon returns Worksheet.Icon, and is useful for accessing the field via an interface.

func (*Worksheet) GetId

func (v *Worksheet) GetId() string

GetId returns Worksheet.Id, and is useful for accessing the field via an interface.

func (*Worksheet) GetLabel

func (v *Worksheet) GetLabel() string

GetLabel returns Worksheet.Label, and is useful for accessing the field via an interface.

func (*Worksheet) GetManagedById

func (v *Worksheet) GetManagedById() *string

GetManagedById returns Worksheet.ManagedById, and is useful for accessing the field via an interface.

func (*Worksheet) GetStages

func (v *Worksheet) GetStages() []StageQuery

GetStages returns Worksheet.Stages, and is useful for accessing the field via an interface.

func (*Worksheet) GetWorkspaceId

func (v *Worksheet) GetWorkspaceId() string

GetWorkspaceId returns Worksheet.WorkspaceId, and is useful for accessing the field via an interface.

func (*Worksheet) Oid

func (w *Worksheet) Oid() *oid.OID

type WorksheetIdLabel added in v0.14.19

type WorksheetIdLabel struct {
	Id    string `json:"id"`
	Label string `json:"label"`
}

WorksheetIdLabel includes the GraphQL fields of Worksheet requested by the fragment WorksheetIdLabel.

func (*WorksheetIdLabel) GetId added in v0.14.19

func (v *WorksheetIdLabel) GetId() string

GetId returns WorksheetIdLabel.Id, and is useful for accessing the field via an interface.

func (*WorksheetIdLabel) GetLabel added in v0.14.19

func (v *WorksheetIdLabel) GetLabel() string

GetLabel returns WorksheetIdLabel.Label, and is useful for accessing the field via an interface.

type WorksheetInput

type WorksheetInput struct {
	// if id is not specified, a new worksheet is created
	Id              *string                 `json:"id"`
	Name            *string                 `json:"name"`
	WorkspaceId     string                  `json:"workspaceId"`
	ManagedById     *string                 `json:"managedById"`
	Layout          *types.JsonObject       `json:"layout"`
	IconUrl         *string                 `json:"iconUrl"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Label           *string                 `json:"label"`
	Icon            *string                 `json:"icon"`
}

func (*WorksheetInput) GetIcon

func (v *WorksheetInput) GetIcon() *string

GetIcon returns WorksheetInput.Icon, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetIconUrl

func (v *WorksheetInput) GetIconUrl() *string

GetIconUrl returns WorksheetInput.IconUrl, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetId

func (v *WorksheetInput) GetId() *string

GetId returns WorksheetInput.Id, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetLabel

func (v *WorksheetInput) GetLabel() *string

GetLabel returns WorksheetInput.Label, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetLayout

func (v *WorksheetInput) GetLayout() *types.JsonObject

GetLayout returns WorksheetInput.Layout, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetManagedById

func (v *WorksheetInput) GetManagedById() *string

GetManagedById returns WorksheetInput.ManagedById, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetName

func (v *WorksheetInput) GetName() *string

GetName returns WorksheetInput.Name, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetParameterValues

func (v *WorksheetInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns WorksheetInput.ParameterValues, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetParameters

func (v *WorksheetInput) GetParameters() []ParameterSpecInput

GetParameters returns WorksheetInput.Parameters, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetStages

func (v *WorksheetInput) GetStages() []StageQueryInput

GetStages returns WorksheetInput.Stages, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetWorkspaceId

func (v *WorksheetInput) GetWorkspaceId() string

GetWorkspaceId returns WorksheetInput.WorkspaceId, and is useful for accessing the field via an interface.

type Workspace

type Workspace struct {
	Id    string `json:"id"`
	Label string `json:"label"`
}

Workspace includes the GraphQL fields of Project requested by the fragment Workspace. The GraphQL type's documentation follows.

Project and Workspace are the same thing We call it Workspace in the UI design now, so at some point, maybe update the API to match the updated design?

func (*Workspace) GetId

func (v *Workspace) GetId() string

GetId returns Workspace.Id, and is useful for accessing the field via an interface.

func (*Workspace) GetLabel

func (v *Workspace) GetLabel() string

GetLabel returns Workspace.Label, and is useful for accessing the field via an interface.

func (*Workspace) Oid

func (w *Workspace) Oid() *oid.OID

type WorkspaceInput

type WorkspaceInput struct {
	Label    *string           `json:"label"`
	Timezone *string           `json:"timezone"`
	Locale   *string           `json:"locale"`
	Layout   *types.JsonObject `json:"layout"`
}

func (*WorkspaceInput) GetLabel

func (v *WorkspaceInput) GetLabel() *string

GetLabel returns WorkspaceInput.Label, and is useful for accessing the field via an interface.

func (*WorkspaceInput) GetLayout

func (v *WorkspaceInput) GetLayout() *types.JsonObject

GetLayout returns WorkspaceInput.Layout, and is useful for accessing the field via an interface.

func (*WorkspaceInput) GetLocale added in v0.14.13

func (v *WorkspaceInput) GetLocale() *string

GetLocale returns WorkspaceInput.Locale, and is useful for accessing the field via an interface.

func (*WorkspaceInput) GetTimezone

func (v *WorkspaceInput) GetTimezone() *string

GetTimezone returns WorkspaceInput.Timezone, and is useful for accessing the field via an interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL