Documentation ¶
Index ¶
- func New(options map[string]interface{}) (collector.Client, error)
- type Client
- func (gsuiteClient *Client) ClientType() collector.ClientType
- func (gsuiteClient *Client) Exit() (err error)
- func (gsuiteClient *Client) Poll(timestamp time.Time, resultsChannel chan<- string, pollOffset int) (count int, currentTimestamp time.Time, err error)
- func (gsuiteClient *Client) Stream(streamChannel chan<- string) (cancelFunc func(), err error)
- type GoogleServiceAccountCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { collector.Client Options map[string]interface{} // contains filtered or unexported fields }
func (*Client) ClientType ¶ added in v0.5.0
func (gsuiteClient *Client) ClientType() collector.ClientType
type GoogleServiceAccountCredentials ¶
type GoogleServiceAccountCredentials struct { Type string `json:"type"` ProjectId string `json:"project_id"` PrivateKeyId string `json:"private_key_id"` PrivateKey string `json:"private_key"` ClientEmail string `json:"client_email"` ClientId string `json:"client_id"` AuthUri string `json:"auth_uri"` TokenUri string `json:"token_uri"` AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"` ClientX509CertUrl string `json:"client_x509_cert_url"` }
Click to show internal directories.
Click to hide internal directories.