Documentation ¶ Index ¶ func IsUnauthorized(err error) bool func Load(ctx context.Context, project string, services ...string) ([]quota.Quota, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsUnauthorized ¶ func IsUnauthorized(err error) bool IsUnauthorized checks if the error is un authorized. func Load ¶ func Load(ctx context.Context, project string, services ...string) ([]quota.Quota, error) Load load the quota information for a project and provided services. It provides information about the usage and limit for each resource quota. roles/servicemanagement.quotaViewer role allows users to fetch the required details. Types ¶ This section is empty. Source Files ¶ View all Source files gcp.go limits.go usage.go Click to show internal directories. Click to hide internal directories.