Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const AdminReportsAuditReadonlyScope + const AdminReportsUsageReadonlyScope + type Activities struct + Etag string + ForceSendFields []string + Items []*Activity + Kind string + NextPageToken string + NullFields []string + func (s *Activities) MarshalJSON() ([]byte, error) + type ActivitiesListCall struct + func (c *ActivitiesListCall) ActorIpAddress(actorIpAddress string) *ActivitiesListCall + func (c *ActivitiesListCall) Context(ctx context.Context) *ActivitiesListCall + func (c *ActivitiesListCall) CustomerId(customerId string) *ActivitiesListCall + func (c *ActivitiesListCall) Do(opts ...googleapi.CallOption) (*Activities, error) + func (c *ActivitiesListCall) EndTime(endTime string) *ActivitiesListCall + func (c *ActivitiesListCall) EventName(eventName string) *ActivitiesListCall + func (c *ActivitiesListCall) Fields(s ...googleapi.Field) *ActivitiesListCall + func (c *ActivitiesListCall) Filters(filters string) *ActivitiesListCall + func (c *ActivitiesListCall) GroupIdFilter(groupIdFilter string) *ActivitiesListCall + func (c *ActivitiesListCall) Header() http.Header + func (c *ActivitiesListCall) IfNoneMatch(entityTag string) *ActivitiesListCall + func (c *ActivitiesListCall) MaxResults(maxResults int64) *ActivitiesListCall + func (c *ActivitiesListCall) OrgUnitID(orgUnitID string) *ActivitiesListCall + func (c *ActivitiesListCall) PageToken(pageToken string) *ActivitiesListCall + func (c *ActivitiesListCall) Pages(ctx context.Context, f func(*Activities) error) error + func (c *ActivitiesListCall) StartTime(startTime string) *ActivitiesListCall + type ActivitiesService struct + func NewActivitiesService(s *Service) *ActivitiesService + func (r *ActivitiesService) List(userKey string, applicationName string) *ActivitiesListCall + func (r *ActivitiesService) Watch(userKey string, applicationName string, channel *Channel) *ActivitiesWatchCall + type ActivitiesWatchCall struct + func (c *ActivitiesWatchCall) ActorIpAddress(actorIpAddress string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) Context(ctx context.Context) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) CustomerId(customerId string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) + func (c *ActivitiesWatchCall) EndTime(endTime string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) EventName(eventName string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) Fields(s ...googleapi.Field) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) Filters(filters string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) GroupIdFilter(groupIdFilter string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) Header() http.Header + func (c *ActivitiesWatchCall) MaxResults(maxResults int64) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) OrgUnitID(orgUnitID string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) PageToken(pageToken string) *ActivitiesWatchCall + func (c *ActivitiesWatchCall) StartTime(startTime string) *ActivitiesWatchCall + type Activity struct + Actor *ActivityActor + Etag string + Events []*ActivityEvents + ForceSendFields []string + Id *ActivityId + IpAddress string + Kind string + NullFields []string + OwnerDomain string + func (s *Activity) MarshalJSON() ([]byte, error) + type ActivityActor struct + CallerType string + Email string + ForceSendFields []string + Key string + NullFields []string + ProfileId string + func (s *ActivityActor) MarshalJSON() ([]byte, error) + type ActivityEvents struct + ForceSendFields []string + Name string + NullFields []string + Parameters []*ActivityEventsParameters + Type string + func (s *ActivityEvents) MarshalJSON() ([]byte, error) + type ActivityEventsParameters struct + BoolValue bool + ForceSendFields []string + IntValue int64 + MessageValue *ActivityEventsParametersMessageValue + MultiIntValue googleapi.Int64s + MultiMessageValue []*ActivityEventsParametersMultiMessageValue + MultiValue []string + Name string + NullFields []string + Value string + func (s *ActivityEventsParameters) MarshalJSON() ([]byte, error) + type ActivityEventsParametersMessageValue struct + ForceSendFields []string + NullFields []string + Parameter []*NestedParameter + func (s *ActivityEventsParametersMessageValue) MarshalJSON() ([]byte, error) + type ActivityEventsParametersMultiMessageValue struct + ForceSendFields []string + NullFields []string + Parameter []*NestedParameter + func (s *ActivityEventsParametersMultiMessageValue) MarshalJSON() ([]byte, error) + type ActivityId struct + ApplicationName string + CustomerId string + ForceSendFields []string + NullFields []string + Time string + UniqueQualifier int64 + func (s *ActivityId) MarshalJSON() ([]byte, error) + type Channel struct + Address string + Expiration int64 + ForceSendFields []string + Id string + Kind string + NullFields []string + Params map[string]string + Payload bool + ResourceId string + ResourceUri string + Token string + Type string + func (s *Channel) MarshalJSON() ([]byte, error) + type ChannelsService struct + func NewChannelsService(s *Service) *ChannelsService + func (r *ChannelsService) Stop(channel *Channel) *ChannelsStopCall + type ChannelsStopCall struct + func (c *ChannelsStopCall) Context(ctx context.Context) *ChannelsStopCall + func (c *ChannelsStopCall) Do(opts ...googleapi.CallOption) error + func (c *ChannelsStopCall) Fields(s ...googleapi.Field) *ChannelsStopCall + func (c *ChannelsStopCall) Header() http.Header + type CustomerUsageReportsGetCall struct + func (c *CustomerUsageReportsGetCall) Context(ctx context.Context) *CustomerUsageReportsGetCall + func (c *CustomerUsageReportsGetCall) CustomerId(customerId string) *CustomerUsageReportsGetCall + func (c *CustomerUsageReportsGetCall) Do(opts ...googleapi.CallOption) (*UsageReports, error) + func (c *CustomerUsageReportsGetCall) Fields(s ...googleapi.Field) *CustomerUsageReportsGetCall + func (c *CustomerUsageReportsGetCall) Header() http.Header + func (c *CustomerUsageReportsGetCall) IfNoneMatch(entityTag string) *CustomerUsageReportsGetCall + func (c *CustomerUsageReportsGetCall) PageToken(pageToken string) *CustomerUsageReportsGetCall + func (c *CustomerUsageReportsGetCall) Pages(ctx context.Context, f func(*UsageReports) error) error + func (c *CustomerUsageReportsGetCall) Parameters(parameters string) *CustomerUsageReportsGetCall + type CustomerUsageReportsService struct + func NewCustomerUsageReportsService(s *Service) *CustomerUsageReportsService + func (r *CustomerUsageReportsService) Get(date string) *CustomerUsageReportsGetCall + type EntityUsageReportsGetCall struct + func (c *EntityUsageReportsGetCall) Context(ctx context.Context) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) CustomerId(customerId string) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) Do(opts ...googleapi.CallOption) (*UsageReports, error) + func (c *EntityUsageReportsGetCall) Fields(s ...googleapi.Field) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) Filters(filters string) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) Header() http.Header + func (c *EntityUsageReportsGetCall) IfNoneMatch(entityTag string) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) MaxResults(maxResults int64) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) PageToken(pageToken string) *EntityUsageReportsGetCall + func (c *EntityUsageReportsGetCall) Pages(ctx context.Context, f func(*UsageReports) error) error + func (c *EntityUsageReportsGetCall) Parameters(parameters string) *EntityUsageReportsGetCall + type EntityUsageReportsService struct + func NewEntityUsageReportsService(s *Service) *EntityUsageReportsService + func (r *EntityUsageReportsService) Get(entityType string, entityKey string, date string) *EntityUsageReportsGetCall + type NestedParameter struct + BoolValue bool + ForceSendFields []string + IntValue int64 + MultiBoolValue []bool + MultiIntValue googleapi.Int64s + MultiValue []string + Name string + NullFields []string + Value string + func (s *NestedParameter) MarshalJSON() ([]byte, error) + type Service struct + Activities *ActivitiesService + BasePath string + Channels *ChannelsService + CustomerUsageReports *CustomerUsageReportsService + EntityUsageReports *EntityUsageReportsService + UserAgent string + UserUsageReport *UserUsageReportService + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type UsageReport struct + Date string + Entity *UsageReportEntity + Etag string + ForceSendFields []string + Kind string + NullFields []string + Parameters []*UsageReportParameters + func (s *UsageReport) MarshalJSON() ([]byte, error) + type UsageReportEntity struct + CustomerId string + EntityId string + ForceSendFields []string + NullFields []string + ProfileId string + Type string + UserEmail string + func (s *UsageReportEntity) MarshalJSON() ([]byte, error) + type UsageReportParameters struct + BoolValue bool + DatetimeValue string + ForceSendFields []string + IntValue int64 + MsgValue []googleapi.RawMessage + Name string + NullFields []string + StringValue string + func (s *UsageReportParameters) MarshalJSON() ([]byte, error) + type UsageReports struct + Etag string + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + UsageReports []*UsageReport + Warnings []*UsageReportsWarnings + func (s *UsageReports) MarshalJSON() ([]byte, error) + type UsageReportsWarnings struct + Code string + Data []*UsageReportsWarningsData + ForceSendFields []string + Message string + NullFields []string + func (s *UsageReportsWarnings) MarshalJSON() ([]byte, error) + type UsageReportsWarningsData struct + ForceSendFields []string + Key string + NullFields []string + Value string + func (s *UsageReportsWarningsData) MarshalJSON() ([]byte, error) + type UserUsageReportGetCall struct + func (c *UserUsageReportGetCall) Context(ctx context.Context) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) CustomerId(customerId string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) Do(opts ...googleapi.CallOption) (*UsageReports, error) + func (c *UserUsageReportGetCall) Fields(s ...googleapi.Field) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) Filters(filters string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) GroupIdFilter(groupIdFilter string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) Header() http.Header + func (c *UserUsageReportGetCall) IfNoneMatch(entityTag string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) MaxResults(maxResults int64) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) OrgUnitID(orgUnitID string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) PageToken(pageToken string) *UserUsageReportGetCall + func (c *UserUsageReportGetCall) Pages(ctx context.Context, f func(*UsageReports) error) error + func (c *UserUsageReportGetCall) Parameters(parameters string) *UserUsageReportGetCall + type UserUsageReportService struct + func NewUserUsageReportService(s *Service) *UserUsageReportService + func (r *UserUsageReportService) Get(userKey string, date string) *UserUsageReportGetCall