Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const AppsAlertsScope + type AccountWarning struct + Email string + ForceSendFields []string + LoginDetails *LoginDetails + NullFields []string + func (s *AccountWarning) MarshalJSON() ([]byte, error) + type ActivityRule struct + ActionNames []string + CreateTime string + Description string + DisplayName string + ForceSendFields []string + Name string + NullFields []string + Query string + SupersededAlerts []string + SupersedingAlert string + Threshold string + TriggerSource string + UpdateTime string + WindowSize string + func (s *ActivityRule) MarshalJSON() ([]byte, error) + type Alert struct + AlertId string + CreateTime string + CustomerId string + Data googleapi.RawMessage + Deleted bool + EndTime string + Etag string + ForceSendFields []string + Metadata *AlertMetadata + NullFields []string + SecurityInvestigationToolLink string + Source string + StartTime string + Type string + UpdateTime string + func (s *Alert) MarshalJSON() ([]byte, error) + type AlertFeedback struct + AlertId string + CreateTime string + CustomerId string + Email string + FeedbackId string + ForceSendFields []string + NullFields []string + Type string + func (s *AlertFeedback) MarshalJSON() ([]byte, error) + type AlertMetadata struct + AlertId string + Assignee string + CustomerId string + Etag string + ForceSendFields []string + NullFields []string + Severity string + Status string + UpdateTime string + func (s *AlertMetadata) MarshalJSON() ([]byte, error) + type AlertsBatchDeleteCall struct + func (c *AlertsBatchDeleteCall) Context(ctx context.Context) *AlertsBatchDeleteCall + func (c *AlertsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*BatchDeleteAlertsResponse, error) + func (c *AlertsBatchDeleteCall) Fields(s ...googleapi.Field) *AlertsBatchDeleteCall + func (c *AlertsBatchDeleteCall) Header() http.Header + type AlertsBatchUndeleteCall struct + func (c *AlertsBatchUndeleteCall) Context(ctx context.Context) *AlertsBatchUndeleteCall + func (c *AlertsBatchUndeleteCall) Do(opts ...googleapi.CallOption) (*BatchUndeleteAlertsResponse, error) + func (c *AlertsBatchUndeleteCall) Fields(s ...googleapi.Field) *AlertsBatchUndeleteCall + func (c *AlertsBatchUndeleteCall) Header() http.Header + type AlertsDeleteCall struct + func (c *AlertsDeleteCall) Context(ctx context.Context) *AlertsDeleteCall + func (c *AlertsDeleteCall) CustomerId(customerId string) *AlertsDeleteCall + func (c *AlertsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *AlertsDeleteCall) Fields(s ...googleapi.Field) *AlertsDeleteCall + func (c *AlertsDeleteCall) Header() http.Header + type AlertsFeedbackCreateCall struct + func (c *AlertsFeedbackCreateCall) Context(ctx context.Context) *AlertsFeedbackCreateCall + func (c *AlertsFeedbackCreateCall) CustomerId(customerId string) *AlertsFeedbackCreateCall + func (c *AlertsFeedbackCreateCall) Do(opts ...googleapi.CallOption) (*AlertFeedback, error) + func (c *AlertsFeedbackCreateCall) Fields(s ...googleapi.Field) *AlertsFeedbackCreateCall + func (c *AlertsFeedbackCreateCall) Header() http.Header + type AlertsFeedbackListCall struct + func (c *AlertsFeedbackListCall) Context(ctx context.Context) *AlertsFeedbackListCall + func (c *AlertsFeedbackListCall) CustomerId(customerId string) *AlertsFeedbackListCall + func (c *AlertsFeedbackListCall) Do(opts ...googleapi.CallOption) (*ListAlertFeedbackResponse, error) + func (c *AlertsFeedbackListCall) Fields(s ...googleapi.Field) *AlertsFeedbackListCall + func (c *AlertsFeedbackListCall) Filter(filter string) *AlertsFeedbackListCall + func (c *AlertsFeedbackListCall) Header() http.Header + func (c *AlertsFeedbackListCall) IfNoneMatch(entityTag string) *AlertsFeedbackListCall + type AlertsFeedbackService struct + func NewAlertsFeedbackService(s *Service) *AlertsFeedbackService + func (r *AlertsFeedbackService) Create(alertId string, alertfeedback *AlertFeedback) *AlertsFeedbackCreateCall + func (r *AlertsFeedbackService) List(alertId string) *AlertsFeedbackListCall + type AlertsGetCall struct + func (c *AlertsGetCall) Context(ctx context.Context) *AlertsGetCall + func (c *AlertsGetCall) CustomerId(customerId string) *AlertsGetCall + func (c *AlertsGetCall) Do(opts ...googleapi.CallOption) (*Alert, error) + func (c *AlertsGetCall) Fields(s ...googleapi.Field) *AlertsGetCall + func (c *AlertsGetCall) Header() http.Header + func (c *AlertsGetCall) IfNoneMatch(entityTag string) *AlertsGetCall + type AlertsGetMetadataCall struct + func (c *AlertsGetMetadataCall) Context(ctx context.Context) *AlertsGetMetadataCall + func (c *AlertsGetMetadataCall) CustomerId(customerId string) *AlertsGetMetadataCall + func (c *AlertsGetMetadataCall) Do(opts ...googleapi.CallOption) (*AlertMetadata, error) + func (c *AlertsGetMetadataCall) Fields(s ...googleapi.Field) *AlertsGetMetadataCall + func (c *AlertsGetMetadataCall) Header() http.Header + func (c *AlertsGetMetadataCall) IfNoneMatch(entityTag string) *AlertsGetMetadataCall + type AlertsListCall struct + func (c *AlertsListCall) Context(ctx context.Context) *AlertsListCall + func (c *AlertsListCall) CustomerId(customerId string) *AlertsListCall + func (c *AlertsListCall) Do(opts ...googleapi.CallOption) (*ListAlertsResponse, error) + func (c *AlertsListCall) Fields(s ...googleapi.Field) *AlertsListCall + func (c *AlertsListCall) Filter(filter string) *AlertsListCall + func (c *AlertsListCall) Header() http.Header + func (c *AlertsListCall) IfNoneMatch(entityTag string) *AlertsListCall + func (c *AlertsListCall) OrderBy(orderBy string) *AlertsListCall + func (c *AlertsListCall) PageSize(pageSize int64) *AlertsListCall + func (c *AlertsListCall) PageToken(pageToken string) *AlertsListCall + func (c *AlertsListCall) Pages(ctx context.Context, f func(*ListAlertsResponse) error) error + type AlertsService struct + Feedback *AlertsFeedbackService + func NewAlertsService(s *Service) *AlertsService + func (r *AlertsService) BatchDelete(batchdeletealertsrequest *BatchDeleteAlertsRequest) *AlertsBatchDeleteCall + func (r *AlertsService) BatchUndelete(batchundeletealertsrequest *BatchUndeleteAlertsRequest) *AlertsBatchUndeleteCall + func (r *AlertsService) Delete(alertId string) *AlertsDeleteCall + func (r *AlertsService) Get(alertId string) *AlertsGetCall + func (r *AlertsService) GetMetadata(alertId string) *AlertsGetMetadataCall + func (r *AlertsService) List() *AlertsListCall + func (r *AlertsService) Undelete(alertId string, undeletealertrequest *UndeleteAlertRequest) *AlertsUndeleteCall + type AlertsUndeleteCall struct + func (c *AlertsUndeleteCall) Context(ctx context.Context) *AlertsUndeleteCall + func (c *AlertsUndeleteCall) Do(opts ...googleapi.CallOption) (*Alert, error) + func (c *AlertsUndeleteCall) Fields(s ...googleapi.Field) *AlertsUndeleteCall + func (c *AlertsUndeleteCall) Header() http.Header + type AppMakerSqlSetupNotification struct + ForceSendFields []string + NullFields []string + RequestInfo []*RequestInfo + func (s *AppMakerSqlSetupNotification) MarshalJSON() ([]byte, error) + type Attachment struct + Csv *Csv + ForceSendFields []string + NullFields []string + func (s *Attachment) MarshalJSON() ([]byte, error) + type BadWhitelist struct + DomainId *DomainId + ForceSendFields []string + MaliciousEntity *MaliciousEntity + Messages []*GmailMessageInfo + NullFields []string + SourceIp string + func (s *BadWhitelist) MarshalJSON() ([]byte, error) + type BatchDeleteAlertsRequest struct + AlertId []string + CustomerId string + ForceSendFields []string + NullFields []string + func (s *BatchDeleteAlertsRequest) MarshalJSON() ([]byte, error) + type BatchDeleteAlertsResponse struct + FailedAlertStatus map[string]Status + ForceSendFields []string + NullFields []string + SuccessAlertIds []string + func (s *BatchDeleteAlertsResponse) MarshalJSON() ([]byte, error) + type BatchUndeleteAlertsRequest struct + AlertId []string + CustomerId string + ForceSendFields []string + NullFields []string + func (s *BatchUndeleteAlertsRequest) MarshalJSON() ([]byte, error) + type BatchUndeleteAlertsResponse struct + FailedAlertStatus map[string]Status + ForceSendFields []string + NullFields []string + SuccessAlertIds []string + func (s *BatchUndeleteAlertsResponse) MarshalJSON() ([]byte, error) + type CloudPubsubTopic struct + ForceSendFields []string + NullFields []string + PayloadFormat string + TopicName string + func (s *CloudPubsubTopic) MarshalJSON() ([]byte, error) + type Csv struct + DataRows []*CsvRow + ForceSendFields []string + Headers []string + NullFields []string + func (s *Csv) MarshalJSON() ([]byte, error) + type CsvRow struct + Entries []string + ForceSendFields []string + NullFields []string + func (s *CsvRow) MarshalJSON() ([]byte, error) + type DeviceCompromised struct + Email string + Events []*DeviceCompromisedSecurityDetail + ForceSendFields []string + NullFields []string + func (s *DeviceCompromised) MarshalJSON() ([]byte, error) + type DeviceCompromisedSecurityDetail struct + DeviceCompromisedState string + DeviceId string + DeviceModel string + DeviceType string + ForceSendFields []string + IosVendorId string + NullFields []string + ResourceId string + SerialNumber string + func (s *DeviceCompromisedSecurityDetail) MarshalJSON() ([]byte, error) + type DlpRuleViolation struct + ForceSendFields []string + NullFields []string + RuleViolationInfo *RuleViolationInfo + func (s *DlpRuleViolation) MarshalJSON() ([]byte, error) + type DomainId struct + CustomerPrimaryDomain string + ForceSendFields []string + NullFields []string + func (s *DomainId) MarshalJSON() ([]byte, error) + type DomainWideTakeoutInitiated struct + Email string + ForceSendFields []string + NullFields []string + TakeoutRequestId string + func (s *DomainWideTakeoutInitiated) MarshalJSON() ([]byte, error) + type Empty struct + type GmailMessageInfo struct + AttachmentsSha256Hash []string + Date string + ForceSendFields []string + Md5HashMessageBody string + Md5HashSubject string + MessageBodySnippet string + MessageId string + NullFields []string + Recipient string + SubjectText string + func (s *GmailMessageInfo) MarshalJSON() ([]byte, error) + type GoogleOperations struct + AffectedUserEmails []string + AttachmentData *Attachment + Description string + ForceSendFields []string + NullFields []string + Title string + func (s *GoogleOperations) MarshalJSON() ([]byte, error) + type ListAlertFeedbackResponse struct + Feedback []*AlertFeedback + ForceSendFields []string + NullFields []string + func (s *ListAlertFeedbackResponse) MarshalJSON() ([]byte, error) + type ListAlertsResponse struct + Alerts []*Alert + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAlertsResponse) MarshalJSON() ([]byte, error) + type LoginDetails struct + ForceSendFields []string + IpAddress string + LoginTime string + NullFields []string + func (s *LoginDetails) MarshalJSON() ([]byte, error) + type MailPhishing struct + DomainId *DomainId + ForceSendFields []string + IsInternal bool + MaliciousEntity *MaliciousEntity + Messages []*GmailMessageInfo + NullFields []string + SystemActionType string + func (s *MailPhishing) MarshalJSON() ([]byte, error) + type MaliciousEntity struct + DisplayName string + Entity *User + ForceSendFields []string + FromHeader string + NullFields []string + func (s *MaliciousEntity) MarshalJSON() ([]byte, error) + type MatchInfo struct + ForceSendFields []string + NullFields []string + PredefinedDetector *PredefinedDetectorInfo + UserDefinedDetector *UserDefinedDetectorInfo + func (s *MatchInfo) MarshalJSON() ([]byte, error) + type Notification struct + CloudPubsubTopic *CloudPubsubTopic + ForceSendFields []string + NullFields []string + func (s *Notification) MarshalJSON() ([]byte, error) + type PhishingSpike struct + DomainId *DomainId + ForceSendFields []string + IsInternal bool + MaliciousEntity *MaliciousEntity + Messages []*GmailMessageInfo + NullFields []string + func (s *PhishingSpike) MarshalJSON() ([]byte, error) + type PredefinedDetectorInfo struct + DetectorName string + ForceSendFields []string + NullFields []string + func (s *PredefinedDetectorInfo) MarshalJSON() ([]byte, error) + type RequestInfo struct + AppDeveloperEmail []string + AppKey string + ForceSendFields []string + NullFields []string + NumberOfRequests int64 + func (s *RequestInfo) MarshalJSON() ([]byte, error) + type ResourceInfo struct + DocumentId string + ForceSendFields []string + NullFields []string + ResourceTitle string + func (s *ResourceInfo) MarshalJSON() ([]byte, error) + type RuleInfo struct + DisplayName string + ForceSendFields []string + NullFields []string + ResourceName string + func (s *RuleInfo) MarshalJSON() ([]byte, error) + type RuleViolationInfo struct + DataSource string + ForceSendFields []string + MatchInfo []*MatchInfo + NullFields []string + Recipients []string + ResourceInfo *ResourceInfo + RuleInfo *RuleInfo + SuppressedActionTypes []string + Trigger string + TriggeredActionTypes []string + TriggeringUserEmail string + func (s *RuleViolationInfo) MarshalJSON() ([]byte, error) + type Service struct + Alerts *AlertsService + BasePath string + UserAgent string + V1beta1 *V1beta1Service + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Settings struct + ForceSendFields []string + Notifications []*Notification + NullFields []string + func (s *Settings) MarshalJSON() ([]byte, error) + type StateSponsoredAttack struct + Email string + ForceSendFields []string + NullFields []string + func (s *StateSponsoredAttack) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type SuspiciousActivity struct + Email string + Events []*SuspiciousActivitySecurityDetail + ForceSendFields []string + NullFields []string + func (s *SuspiciousActivity) MarshalJSON() ([]byte, error) + type SuspiciousActivitySecurityDetail struct + DeviceId string + DeviceModel string + DeviceProperty string + DeviceType string + ForceSendFields []string + IosVendorId string + NewValue string + NullFields []string + OldValue string + ResourceId string + SerialNumber string + func (s *SuspiciousActivitySecurityDetail) MarshalJSON() ([]byte, error) + type UndeleteAlertRequest struct + CustomerId string + ForceSendFields []string + NullFields []string + func (s *UndeleteAlertRequest) MarshalJSON() ([]byte, error) + type User struct + DisplayName string + EmailAddress string + ForceSendFields []string + NullFields []string + func (s *User) MarshalJSON() ([]byte, error) + type UserDefinedDetectorInfo struct + DisplayName string + ForceSendFields []string + NullFields []string + ResourceName string + func (s *UserDefinedDetectorInfo) MarshalJSON() ([]byte, error) + type V1beta1GetSettingsCall struct + func (c *V1beta1GetSettingsCall) Context(ctx context.Context) *V1beta1GetSettingsCall + func (c *V1beta1GetSettingsCall) CustomerId(customerId string) *V1beta1GetSettingsCall + func (c *V1beta1GetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error) + func (c *V1beta1GetSettingsCall) Fields(s ...googleapi.Field) *V1beta1GetSettingsCall + func (c *V1beta1GetSettingsCall) Header() http.Header + func (c *V1beta1GetSettingsCall) IfNoneMatch(entityTag string) *V1beta1GetSettingsCall + type V1beta1Service struct + func NewV1beta1Service(s *Service) *V1beta1Service + func (r *V1beta1Service) GetSettings() *V1beta1GetSettingsCall + func (r *V1beta1Service) UpdateSettings(settings *Settings) *V1beta1UpdateSettingsCall + type V1beta1UpdateSettingsCall struct + func (c *V1beta1UpdateSettingsCall) Context(ctx context.Context) *V1beta1UpdateSettingsCall + func (c *V1beta1UpdateSettingsCall) CustomerId(customerId string) *V1beta1UpdateSettingsCall + func (c *V1beta1UpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error) + func (c *V1beta1UpdateSettingsCall) Fields(s ...googleapi.Field) *V1beta1UpdateSettingsCall + func (c *V1beta1UpdateSettingsCall) Header() http.Header