Versions in this module Expand all Collapse all v0 v0.3.8 Apr 2, 2024 Changes in this version type Gcp + func (g *Gcp) PubsubPublishBinary(t *pubsub.Topic, b []byte) (string, error) v0.3.2 Mar 20, 2024 Changes in this version + type Gcp struct + func (g *Gcp) GetOAuth2AccessToken(scope []string) (*oauth2.Token, error) + func (g *Gcp) GetOAuth2IdToken(scope []string) (*oauth2.Token, error) + func (g *Gcp) PubsubPublish(t *pubsub.Topic, message map[string]interface{}) (string, error) + func (g *Gcp) PubsubReceive(s *pubsub.Subscription, limit int, timeout int) ([]map[string]interface{}, error) + func (g *Gcp) PubsubSubscription(subscription string) *pubsub.Subscription + func (g *Gcp) PubsubTopic(topic string) *pubsub.Topic + func (g *Gcp) QueryTimeSeries(projectId string, query string) ([]*monitoringpb.TimeSeriesData, error) + func (g *Gcp) SpreadsheetAppend(spreadsheetId string, sheetName string, valueRange []interface{}) (string, error) + func (g *Gcp) SpreadsheetAppendWithUniqueId(spreadsheetId string, sheetName string, values map[string]interface{}) (int64, error) + func (g *Gcp) SpreadsheetGet(spreadsheetId string, sheetName string, cellRange string) ([][]interface{}, error) + func (g *Gcp) SpreadsheetGetRowByFilters(spreadsheetId string, sheetName string, filters map[string]string) (map[string]interface{}, error) + func (g *Gcp) SpreadsheetGetUniqueIdByFiltersAndAppendIfNotExist(spreadsheetId string, sheetName string, filters map[string]string, ...) (int64, error) + func (g *Gcp) SpreadsheetUpdate(spreadsheetId string, sheetName string, cellRange string, ...) (string, error) + type GcpConfig struct + EmulatorHost string + Key ServiceAccountKey + ProjectId string + Scope []string + type ModuleInstance struct + func (mi *ModuleInstance) Exports() modules.Exports + type Option func(*Gcp) error + type RootModule struct + func New() *RootModule + func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance + type ServiceAccountKey struct + AuthProviderX509CertUrl string + AuthURL string + ClientEmail string + ClientID string + ClientSecret string + ClientX509CertUrl string + PrivateKey string + PrivateKeyID string + ProjectID string + TokenURL string + Type string + UniverseDomain string