cloudflaregraphql

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GetWorkerAnalytics_Operation = `` /* 921-byte string literal not displayed */

The query or mutation executed by GetWorkerAnalytics.

View Source
const GetZoneAnalytics_Operation = `` /* 1133-byte string literal not displayed */

The query or mutation executed by GetZoneAnalytics.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...options.MustOption[ClientOption]) (*Client, error)

func (*Client) GetWorkerAnalyticsQuery

func (c *Client) GetWorkerAnalyticsQuery(
	ctx context.Context,
	zoneTag *string,
	datetime time.Time,
) (*GetWorkerAnalyticsResponse, error)

func (*Client) GetZoneAnalyticsQuery

func (c *Client) GetZoneAnalyticsQuery(
	ctx context.Context,
	zoneTag *string,
	since string,
	until string,
) (*GetZoneAnalyticsResponse, error)

type ClientOption

type ClientOption struct {
	ServerURL          string // optional: cloudflare API server URL
	CloudflareAPIToken string // required: cloudflare API token

	Debug     bool   // optional: enable debug logging
	UserAgent string // optional: user agent string
}

type GetWorkerAnalyticsResponse

type GetWorkerAnalyticsResponse struct {
	Viewer *GetWorkerAnalyticsViewer `json:"viewer,omitempty"`
}

GetWorkerAnalyticsResponse is returned by GetWorkerAnalytics on success.

func GetWorkerAnalyticsQuery

func GetWorkerAnalyticsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	zoneTag *string,
	datetime time.Time,
) (*GetWorkerAnalyticsResponse, error)

func (*GetWorkerAnalyticsResponse) GetViewer

GetViewer returns GetWorkerAnalyticsResponse.Viewer, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewer

type GetWorkerAnalyticsViewer struct {
	Zones []GetWorkerAnalyticsViewerZonesZone `json:"zones,omitempty"`
}

GetWorkerAnalyticsViewer includes the requested fields of the GraphQL type viewer.

func (*GetWorkerAnalyticsViewer) GetZones

GetZones returns GetWorkerAnalyticsViewer.Zones, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZone

type GetWorkerAnalyticsViewerZonesZone struct {
	// Workers subrequests with adaptive sampling
	SubrequestsData []GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups `json:"subrequestsData,omitempty"`
	// Workers invocations with adaptive sampling
	BandwidthData []GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups `json:"bandwidthData,omitempty"`
	// Workers invocations with adaptive sampling
	StatusCodesData []GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups `json:"statusCodesData,omitempty"`
	// Workers invocations with adaptive sampling
	TotalRequestsData []GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups `json:"totalRequestsData,omitempty"`
}

GetWorkerAnalyticsViewerZonesZone includes the requested fields of the GraphQL type zone.

func (*GetWorkerAnalyticsViewerZonesZone) GetBandwidthData

GetBandwidthData returns GetWorkerAnalyticsViewerZonesZone.BandwidthData, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZone) GetStatusCodesData

GetStatusCodesData returns GetWorkerAnalyticsViewerZonesZone.StatusCodesData, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZone) GetSubrequestsData

GetSubrequestsData returns GetWorkerAnalyticsViewerZonesZone.SubrequestsData, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZone) GetTotalRequestsData

GetTotalRequestsData returns GetWorkerAnalyticsViewerZonesZone.TotalRequestsData, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups struct {
	// The sum of values for a metric per dimension
	Sum *GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum `json:"sum,omitempty"`
	// List of dimensions to group by
	Dimensions *GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions `json:"dimensions,omitempty"`
}

GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroups. The GraphQL type's documentation follows.

Workers invocations with adaptive sampling

func (*GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups) GetDimensions

GetDimensions returns GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups.Dimensions, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups) GetSum

GetSum returns GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroups.Sum, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions struct {
	// Request datetime, truncated to start of an hour
	DatetimeHour time.Time `json:"datetimeHour"`
}

GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.

func (*GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions) GetDatetimeHour

GetDatetimeHour returns GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.DatetimeHour, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum

type GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum struct {
	// Bandwidth (in bytes) returned to eyeball
	ResponseBodySize uint64 `json:"responseBodySize"`
}

GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsSum.

func (*GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum) GetResponseBodySize

GetResponseBodySize returns GetWorkerAnalyticsViewerZonesZoneBandwidthDataZoneWorkersZoneInvocationsAdaptiveGroupsSum.ResponseBodySize, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups struct {
	// The sum of values for a metric per dimension
	Sum *GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum `json:"sum,omitempty"`
	// List of dimensions to group by
	Dimensions *GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions `json:"dimensions,omitempty"`
}

GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroups. The GraphQL type's documentation follows.

Workers invocations with adaptive sampling

func (*GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups) GetDimensions

GetDimensions returns GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups.Dimensions, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups) GetSum

GetSum returns GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroups.Sum, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions struct {
	// Origin HTTP response code
	HttpResponseStatus uint16 `json:"httpResponseStatus"`
	// Request datetime, truncated to start of an hour
	DatetimeHour time.Time `json:"datetimeHour"`
}

GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.

func (*GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions) GetDatetimeHour

GetDatetimeHour returns GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.DatetimeHour, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions) GetHttpResponseStatus

GetHttpResponseStatus returns GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.HttpResponseStatus, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum

type GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum struct {
	// Number of sub-requests issued by the edge worker
	Subrequests uint64 `json:"subrequests"`
}

GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsSum.

func (*GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum) GetSubrequests

GetSubrequests returns GetWorkerAnalyticsViewerZonesZoneStatusCodesDataZoneWorkersZoneInvocationsAdaptiveGroupsSum.Subrequests, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups struct {
	// The sum of values for a metric per dimension
	Sum *GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum `json:"sum,omitempty"`
	// List of dimensions to group by
	Dimensions *GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions `json:"dimensions,omitempty"`
}

GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups includes the requested fields of the GraphQL type ZoneWorkersZoneSubrequestsAdaptiveGroups. The GraphQL type's documentation follows.

Workers subrequests with adaptive sampling

func (*GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups) GetDimensions

GetDimensions returns GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups.Dimensions, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups) GetSum

GetSum returns GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroups.Sum, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions struct {
	// Cache status
	CacheStatus uint64 `json:"cacheStatus"`
	// Request datetime, truncated to start of an hour
	DatetimeHour time.Time `json:"datetimeHour"`
}

GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions includes the requested fields of the GraphQL type ZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions.

func (*GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions) GetCacheStatus

GetCacheStatus returns GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions.CacheStatus, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions) GetDatetimeHour

GetDatetimeHour returns GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsDimensions.DatetimeHour, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum

type GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum struct {
	// Number of subrequests issued by a worker
	Subrequests uint64 `json:"subrequests"`
}

GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum includes the requested fields of the GraphQL type ZoneWorkersZoneSubrequestsAdaptiveGroupsSum.

func (*GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum) GetSubrequests

GetSubrequests returns GetWorkerAnalyticsViewerZonesZoneSubrequestsDataZoneWorkersZoneSubrequestsAdaptiveGroupsSum.Subrequests, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups struct {
	// The sum of values for a metric per dimension
	Sum *GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum `json:"sum,omitempty"`
	// List of dimensions to group by
	Dimensions *GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions `json:"dimensions,omitempty"`
}

GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroups. The GraphQL type's documentation follows.

Workers invocations with adaptive sampling

func (*GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups) GetDimensions

GetDimensions returns GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups.Dimensions, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups) GetSum

GetSum returns GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroups.Sum, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions struct {
	// Status of the worker invocation
	Status string `json:"status"`
	// Request datetime, truncated to start of an hour
	DatetimeHour time.Time `json:"datetimeHour"`
}

GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.

func (*GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions) GetDatetimeHour

GetDatetimeHour returns GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.DatetimeHour, and is useful for accessing the field via an interface.

func (*GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions) GetStatus

GetStatus returns GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsDimensions.Status, and is useful for accessing the field via an interface.

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum

type GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum struct {
	// Sum of Requests
	Requests uint64 `json:"requests"`
}

GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum includes the requested fields of the GraphQL type ZoneWorkersZoneInvocationsAdaptiveGroupsSum.

func (*GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum) GetRequests

GetRequests returns GetWorkerAnalyticsViewerZonesZoneTotalRequestsDataZoneWorkersZoneInvocationsAdaptiveGroupsSum.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsResponse

type GetZoneAnalyticsResponse struct {
	Viewer *GetZoneAnalyticsViewer `json:"viewer,omitempty"`
}

GetZoneAnalyticsResponse is returned by GetZoneAnalytics on success.

func GetZoneAnalyticsQuery

func GetZoneAnalyticsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	zoneTag *string,
	since string,
	until string,
) (*GetZoneAnalyticsResponse, error)

func (*GetZoneAnalyticsResponse) GetViewer

GetViewer returns GetZoneAnalyticsResponse.Viewer, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewer

type GetZoneAnalyticsViewer struct {
	Zones []GetZoneAnalyticsViewerZonesZone `json:"zones,omitempty"`
}

GetZoneAnalyticsViewer includes the requested fields of the GraphQL type viewer.

func (*GetZoneAnalyticsViewer) GetZones

GetZones returns GetZoneAnalyticsViewer.Zones, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZone

type GetZoneAnalyticsViewerZonesZone struct {
	// Daily rollups of request data
	Totals []GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups `json:"totals,omitempty"`
	// Daily rollups of request data
	Zones []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups `json:"zones,omitempty"`
}

GetZoneAnalyticsViewerZonesZone includes the requested fields of the GraphQL type zone.

func (*GetZoneAnalyticsViewerZonesZone) GetTotals

GetTotals returns GetZoneAnalyticsViewerZonesZone.Totals, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZone) GetZones

GetZones returns GetZoneAnalyticsViewerZonesZone.Zones, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups

type GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups struct {
	// The number of unique values for a metric per dimension
	Uniq *GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq `json:"uniq,omitempty"`
}

GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups includes the requested fields of the GraphQL type ZoneHttpRequests1dGroups. The GraphQL type's documentation follows.

Daily rollups of request data

func (*GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups) GetUniq

GetUniq returns GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroups.Uniq, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq

type GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq struct {
	// A number of unique IPs
	Uniques uint64 `json:"uniques"`
}

GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsUniq.

func (*GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq) GetUniques

GetUniques returns GetZoneAnalyticsViewerZonesZoneTotalsZoneHttpRequests1dGroupsUniq.Uniques, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups struct {
	// List of dimensions to group by
	Dimensions *GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions `json:"dimensions,omitempty"`
	// The number of unique values for a metric per dimension
	Uniq *GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq `json:"uniq,omitempty"`
	// The sum of values for a metric per dimension
	Sum *GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum `json:"sum,omitempty"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups includes the requested fields of the GraphQL type ZoneHttpRequests1dGroups. The GraphQL type's documentation follows.

Daily rollups of request data

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups) GetDimensions

GetDimensions returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups.Dimensions, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups) GetSum

GetSum returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups.Sum, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups) GetUniq

GetUniq returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroups.Uniq, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions struct {
	// Request date
	Timeslot string `json:"timeslot"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsDimensions.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions) GetTimeslot

GetTimeslot returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsDimensions.Timeslot, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum struct {
	BrowserMap []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem `json:"browserMap,omitempty"`
	// Bytes returned to client
	Bytes uint64 `json:"bytes"`
	// Bytes returned to client from cache
	CachedBytes uint64 `json:"cachedBytes"`
	// Requests served from cache
	CachedRequests uint64                                                                                                                    `json:"cachedRequests"`
	ContentTypeMap []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem `json:"contentTypeMap,omitempty"`
	ClientSSLMap   []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem     `json:"clientSSLMap,omitempty"`
	CountryMap     []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem         `json:"countryMap,omitempty"`
	// Bytes returned to client using SSL/TLS protocol
	EncryptedBytes uint64 `json:"encryptedBytes"`
	// Requests served using SSL/TLS protocol
	EncryptedRequests uint64                                                                                                            `json:"encryptedRequests"`
	IpClassMap        []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem `json:"ipClassMap,omitempty"`
	// Successful requests for HTML content
	PageViews         uint64                                                                                                                          `json:"pageViews"`
	Requests          uint64                                                                                                                          `json:"requests"`
	ResponseStatusMap []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem `json:"responseStatusMap,omitempty"`
	// Requests classified as threats
	Threats          uint64                                                                                                                        `json:"threats"`
	ThreatPathingMap []GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem `json:"threatPathingMap,omitempty"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsSum.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetBrowserMap

GetBrowserMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.BrowserMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetBytes

GetBytes returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.Bytes, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetCachedBytes

GetCachedBytes returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.CachedBytes, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetCachedRequests

GetCachedRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.CachedRequests, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetClientSSLMap

GetClientSSLMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.ClientSSLMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetContentTypeMap

GetContentTypeMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.ContentTypeMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetCountryMap

GetCountryMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.CountryMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetEncryptedBytes

GetEncryptedBytes returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.EncryptedBytes, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetEncryptedRequests

GetEncryptedRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.EncryptedRequests, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetIpClassMap

GetIpClassMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.IpClassMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetPageViews

GetPageViews returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.PageViews, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.Requests, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetResponseStatusMap

GetResponseStatusMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.ResponseStatusMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetThreatPathingMap

GetThreatPathingMap returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.ThreatPathingMap, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum) GetThreats

GetThreats returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSum.Threats, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem struct {
	// Successful requests for HTML content
	PageViews uint64 `json:"pageViews"`
	// Browser type
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsBrowserMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem) GetPageViews

GetPageViews returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumBrowserMapZoneHttpRequests1dGroupsBrowserMapElem.PageViews, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem struct {
	Requests uint64 `json:"requests"`
	// Protocol version
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsClientSSLMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumClientSSLMapZoneHttpRequests1dGroupsClientSSLMapElem.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem struct {
	// Bytes returned to client
	Bytes    uint64 `json:"bytes"`
	Requests uint64 `json:"requests"`
	// Content type returned to client
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsContentTypeMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem) GetBytes

GetBytes returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem.Bytes, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumContentTypeMapZoneHttpRequests1dGroupsContentTypeMapElem.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem struct {
	// Bytes returned to client
	Bytes    uint64 `json:"bytes"`
	Requests uint64 `json:"requests"`
	// Requests classified as threats
	Threats uint64 `json:"threats"`
	// Country from which request originated
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsCountryMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem) GetBytes

GetBytes returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem.Bytes, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem.Requests, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem) GetThreats

GetThreats returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumCountryMapZoneHttpRequests1dGroupsCountryMapElem.Threats, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem struct {
	Requests uint64 `json:"requests"`
	// IP class
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsIpClassMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumIpClassMapZoneHttpRequests1dGroupsIpClassMapElem.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem struct {
	Requests uint64 `json:"requests"`
	// HTTP response status code returned to client
	Key uint64 `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsResponseStatusMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumResponseStatusMapZoneHttpRequests1dGroupsResponseStatusMapElem.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem struct {
	Requests uint64 `json:"requests"`
	// Threat type
	Key string `json:"key"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsThreatPathingMapElem.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem) GetKey

GetKey returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem.Key, and is useful for accessing the field via an interface.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem) GetRequests

GetRequests returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsSumThreatPathingMapZoneHttpRequests1dGroupsThreatPathingMapElem.Requests, and is useful for accessing the field via an interface.

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq

type GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq struct {
	// A number of unique IPs
	Uniques uint64 `json:"uniques"`
}

GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq includes the requested fields of the GraphQL type ZoneHttpRequests1dGroupsUniq.

func (*GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq) GetUniques

GetUniques returns GetZoneAnalyticsViewerZonesZoneZonesZoneHttpRequests1dGroupsUniq.Uniques, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL