Documentation ¶
Overview ¶
Package wlm provides a simple service interface for using the Data Warehouse WriteInsight API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataWarehouseService ¶
type DataWarehouseService struct { BasePath string // contains filtered or unexported fields }
DataWarehouseService implements the Data Warehouse service.
func NewService ¶
func NewService(ctx context.Context, opts ...option.ClientOption) (*DataWarehouseService, error)
NewService creates a new Data Warehouse service.
func (*DataWarehouseService) WriteInsight ¶
func (d *DataWarehouseService) WriteInsight(project, location string, req *dwpb.WriteInsightRequest) (*WriteInsightResponse, error)
WriteInsight sends the WriteInsightRequest to the Data Warehouse.
type WLM ¶
type WLM struct {
// contains filtered or unexported fields
}
WLM is a wrapper for Workload Manager API services.
func NewWLMClient ¶
NewWLMClient creates a new WLM service wrapper.
func (*WLM) WriteInsight ¶
func (w *WLM) WriteInsight(project string, location string, writeInsightRequest *dwpb.WriteInsightRequest) error
WriteInsight wraps a call to the WLM insights:write API.
type WriteInsightResponse ¶
type WriteInsightResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
WriteInsightResponse is a wrapper for the response from a WriteInsight request.
Click to show internal directories.
Click to hide internal directories.