Versions in this module Expand all Collapse all v1 v1.0.1 Apr 27, 2026 v1.0.0 Apr 27, 2026 Changes in this version + var ComputeExternalVPNGatewayNetworkEgressUsageSchema = []*engine.ConsumptionField + var ComputeVPNGatewayNetworkEgressUsageSchema = []*engine.ConsumptionField + var ContainerRegistryNetworkEgressUsageSchema = []*engine.ConsumptionField + var RegionUsageSchema = []*engine.ConsumptionField + var StorageBucketNetworkEgressUsageSchema = []*engine.ConsumptionField + func GetFloatFieldValueByUsageTag(tagValue string, s interface{}) float64 + func GetRegionTier(region string) string + type ArtifactRegistryRepository struct + Address string + Continent string + MonthlyEgressDataTransferGB *RegionsUsage + Region string + StorageGB *float64 + func (r *ArtifactRegistryRepository) BuildResource() *engine.Estimate + func (r *ArtifactRegistryRepository) CoreType() string + func (r *ArtifactRegistryRepository) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ArtifactRegistryRepository) UsageSchema() []*engine.ConsumptionField + type BigQueryDataset struct + Address string + MonthlyQueriesTB *float64 + Region string + func (r *BigQueryDataset) BuildResource() *engine.Estimate + func (r *BigQueryDataset) CoreType() string + func (r *BigQueryDataset) PopulateUsage(u *engine.ConsumptionProfile) + func (r *BigQueryDataset) UsageSchema() []*engine.ConsumptionField + type BigQueryTable struct + Address string + MonthlyActiveStorageGB *float64 + MonthlyLongTermStorageGB *float64 + MonthlyStorageReadAPITB *float64 + MonthlyStorageWriteAPIGB *float64 + MonthlyStreamingInsertsMB *float64 + Region string + func (r *BigQueryTable) BuildResource() *engine.Estimate + func (r *BigQueryTable) CoreType() string + func (r *BigQueryTable) PopulateUsage(u *engine.ConsumptionProfile) + func (r *BigQueryTable) UsageSchema() []*engine.ConsumptionField + type CloudFunctionsFunction struct + Address string + AvailableMemoryMB *int64 + MonthlyFunctionInvocations *int64 + MonthlyOutboundDataGB *float64 + Region string + RequestDurationMs *int64 + func (r *CloudFunctionsFunction) BuildResource() *engine.Estimate + func (r *CloudFunctionsFunction) CoreType() string + func (r *CloudFunctionsFunction) PopulateUsage(u *engine.ConsumptionProfile) + func (r *CloudFunctionsFunction) UsageSchema() []*engine.ConsumptionField + type CloudRunService struct + Address string + AverageRequestDurationMs *int64 + ConcurrentRequestsPerInstance *int64 + CpuLimit int64 + InstanceHrs *int64 + IsThrottlingEnabled bool + MemoryLimit int64 + MinInstanceCount float64 + MonthlyRequests *int64 + Region string + func (r *CloudRunService) BuildResource() *engine.Estimate + func (r *CloudRunService) CoreType() string + func (r *CloudRunService) PopulateUsage(u *engine.ConsumptionProfile) + func (r *CloudRunService) UsageSchema() []*engine.ConsumptionField + type CloudRunV2Job struct + Address string + AvgTaskExecutionMins *float64 + CpuLimit int64 + MemoryLimit int64 + MonthlyJobExecutions *int64 + Region string + TaskCount int64 + func (r *CloudRunV2Job) BuildResource() *engine.Estimate + func (r *CloudRunV2Job) CoreType() string + func (r *CloudRunV2Job) PopulateUsage(u *engine.ConsumptionProfile) + func (r *CloudRunV2Job) UsageSchema() []*engine.ConsumptionField + type ComputeAddress struct + Address string + AddressType string + InstancePurchaseOption string + Purpose string + Region string + func (r *ComputeAddress) BuildResource() *engine.Estimate + func (r *ComputeAddress) CoreType() string + func (r *ComputeAddress) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeAddress) UsageSchema() []*engine.ConsumptionField + type ComputeDisk struct + Address string + IOPS int64 + InstanceCount *int64 + Region string + Size float64 + Type string + func (r *ComputeDisk) BuildResource() *engine.Estimate + func (r *ComputeDisk) CoreType() string + func (r *ComputeDisk) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeDisk) UsageSchema() []*engine.ConsumptionField + type ComputeExternalVPNGateway struct + Address string + MonthlyEgressDataTransferGB *ComputeExternalVPNGatewayNetworkEgressUsage + Region string + func (r *ComputeExternalVPNGateway) BuildResource() *engine.Estimate + func (r *ComputeExternalVPNGateway) CoreType() string + func (r *ComputeExternalVPNGateway) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeExternalVPNGateway) UsageSchema() []*engine.ConsumptionField + type ComputeExternalVPNGatewayNetworkEgressUsage struct + Asia *float64 + Australia *float64 + China *float64 + Worldwide *float64 + func (r *ComputeExternalVPNGatewayNetworkEgressUsage) BuildResource() *engine.Estimate + func (r *ComputeExternalVPNGatewayNetworkEgressUsage) CoreType() string + func (r *ComputeExternalVPNGatewayNetworkEgressUsage) UsageSchema() []*engine.ConsumptionField + type ComputeForwardingRule struct + Address string + MonthlyIngressDataGB *float64 + Region string + func (r *ComputeForwardingRule) BuildResource() *engine.Estimate + func (r *ComputeForwardingRule) CoreType() string + func (r *ComputeForwardingRule) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeForwardingRule) UsageSchema() []*engine.ConsumptionField + type ComputeGuestAccelerator struct + Count int64 + Type string + type ComputeImage struct + Address string + Region string + StorageGB *float64 + StorageSize float64 + func (r *ComputeImage) BuildResource() *engine.Estimate + func (r *ComputeImage) CoreType() string + func (r *ComputeImage) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeImage) UsageSchema() []*engine.ConsumptionField + type ComputeInstance struct + Address string + BootDiskSize float64 + BootDiskType string + GuestAccelerators []*ComputeGuestAccelerator + HasBootDisk bool + MachineType string + MonthlyHours *float64 + PurchaseOption string + Region string + ScratchDisks int + Size int64 + func (r *ComputeInstance) BuildResource() *engine.Estimate + func (r *ComputeInstance) CoreType() string + func (r *ComputeInstance) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeInstance) UsageSchema() []*engine.ConsumptionField + type ComputeInstanceGroupManager struct + Address string + Disks []*ComputeDisk + GuestAccelerators []*ComputeGuestAccelerator + MachineType string + PurchaseOption string + Region string + ScratchDisks int + TargetSize int64 + func (r *ComputeInstanceGroupManager) BuildResource() *engine.Estimate + func (r *ComputeInstanceGroupManager) CoreType() string + func (r *ComputeInstanceGroupManager) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeInstanceGroupManager) UsageSchema() []*engine.ConsumptionField + type ComputeMachineImage struct + Address string + Region string + StorageGB *float64 + func (r *ComputeMachineImage) BuildResource() *engine.Estimate + func (r *ComputeMachineImage) CoreType() string + func (r *ComputeMachineImage) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeMachineImage) UsageSchema() []*engine.ConsumptionField + type ComputeRegionInstanceGroupManager struct + Address string + Disks []*ComputeDisk + GuestAccelerators []*ComputeGuestAccelerator + MachineType string + PurchaseOption string + Region string + ScratchDisks int + TargetSize int64 + func (r *ComputeRegionInstanceGroupManager) BuildResource() *engine.Estimate + func (r *ComputeRegionInstanceGroupManager) CoreType() string + func (r *ComputeRegionInstanceGroupManager) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeRegionInstanceGroupManager) UsageSchema() []*engine.ConsumptionField + type ComputeRouterNAT struct + Address string + AssignedVMs *int64 + MonthlyDataProcessedGB *float64 + Region string + func (r *ComputeRouterNAT) BuildResource() *engine.Estimate + func (r *ComputeRouterNAT) CoreType() string + func (r *ComputeRouterNAT) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeRouterNAT) UsageSchema() []*engine.ConsumptionField + type ComputeSnapshot struct + Address string + DiskSize float64 + Region string + StorageGB *float64 + func (r *ComputeSnapshot) BuildResource() *engine.Estimate + func (r *ComputeSnapshot) CoreType() string + func (r *ComputeSnapshot) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeSnapshot) UsageSchema() []*engine.ConsumptionField + type ComputeTargetGRPCProxy struct + Address string + MonthlyDataProcessedGB *float64 + MonthlyProxyInstances *float64 + Region string + func (r *ComputeTargetGRPCProxy) BuildResource() *engine.Estimate + func (r *ComputeTargetGRPCProxy) CoreType() string + func (r *ComputeTargetGRPCProxy) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeTargetGRPCProxy) UsageSchema() []*engine.ConsumptionField + type ComputeVPNGateway struct + Address string + MonthlyEgressDataTransferGB *ComputeVPNGatewayNetworkEgressUsage + Region string + func (r *ComputeVPNGateway) BuildResource() *engine.Estimate + func (r *ComputeVPNGateway) CoreType() string + func (r *ComputeVPNGateway) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeVPNGateway) UsageSchema() []*engine.ConsumptionField + type ComputeVPNGatewayNetworkEgressUsage struct + Asia *float64 + Europe *float64 + Oceania *float64 + SameRegion *float64 + SouthAmerica *float64 + USOrCanada *float64 + Worldwide *float64 + func (r *ComputeVPNGatewayNetworkEgressUsage) BuildResource() *engine.Estimate + func (r *ComputeVPNGatewayNetworkEgressUsage) CoreType() string + func (r *ComputeVPNGatewayNetworkEgressUsage) UsageSchema() []*engine.ConsumptionField + type ComputeVPNTunnel struct + Address string + Region string + func (r *ComputeVPNTunnel) BuildResource() *engine.Estimate + func (r *ComputeVPNTunnel) CoreType() string + func (r *ComputeVPNTunnel) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ComputeVPNTunnel) UsageSchema() []*engine.ConsumptionField + type ContainerCluster struct + Address string + AutopilotEnabled bool + AutopilotEphemeralStorageGB *float64 + AutopilotMemoryGB *float64 + AutopilotVCPUCount *float64 + DefaultNodePool *ContainerNodePool + DefaultNodePoolNodes *int64 + IsZone bool + NodePools []*ContainerNodePool + Region string + func (r *ContainerCluster) BuildResource() *engine.Estimate + func (r *ContainerCluster) CoreType() string + func (r *ContainerCluster) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ContainerCluster) UsageSchema() []*engine.ConsumptionField + type ContainerNodeConfig struct + DiskSize float64 + DiskType string + GuestAccelerators []*ComputeGuestAccelerator + LocalSSDCount int64 + MachineType string + PurchaseOption string + type ContainerNodePool struct + Address string + CountPerZone int64 + NodeConfig *ContainerNodeConfig + Nodes *int64 + Region string + Zones int64 + func (r *ContainerNodePool) BuildResource() *engine.Estimate + func (r *ContainerNodePool) CoreType() string + func (r *ContainerNodePool) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ContainerNodePool) UsageSchema() []*engine.ConsumptionField + type ContainerRegistry struct + Address string + Location string + MonthlyClassAOperations *int64 + MonthlyClassBOperations *int64 + MonthlyEgressDataTransferGB *ContainerRegistryNetworkEgressUsage + Region string + StorageClass string + StorageGB *float64 + func (r *ContainerRegistry) BuildResource() *engine.Estimate + func (r *ContainerRegistry) CoreType() string + func (r *ContainerRegistry) PopulateUsage(u *engine.ConsumptionProfile) + func (r *ContainerRegistry) UsageSchema() []*engine.ConsumptionField + type ContainerRegistryNetworkEgressUsage struct + Asia *float64 + Australia *float64 + China *float64 + SameContinent *float64 + Worldwide *float64 + func (r *ContainerRegistryNetworkEgressUsage) BuildResource() *engine.Estimate + func (r *ContainerRegistryNetworkEgressUsage) CoreType() string + func (r *ContainerRegistryNetworkEgressUsage) UsageSchema() []*engine.ConsumptionField + type DNSManagedZone struct + Address string + func (r *DNSManagedZone) BuildResource() *engine.Estimate + func (r *DNSManagedZone) CoreType() string + func (r *DNSManagedZone) PopulateUsage(u *engine.ConsumptionProfile) + func (r *DNSManagedZone) UsageSchema() []*engine.ConsumptionField + type DNSRecordSet struct + Address string + MonthlyQueries *int64 + func (r *DNSRecordSet) BuildResource() *engine.Estimate + func (r *DNSRecordSet) CoreType() string + func (r *DNSRecordSet) PopulateUsage(u *engine.ConsumptionProfile) + func (r *DNSRecordSet) UsageSchema() []*engine.ConsumptionField + type KMSCryptoKey struct + Address string + Algorithm string + KeyVersions *int64 + MonthlyKeyOperations *int64 + ProtectionLevel string + Region string + RotationPeriod string + VersionTemplate string + func (r *KMSCryptoKey) BuildResource() *engine.Estimate + func (r *KMSCryptoKey) CoreType() string + func (r *KMSCryptoKey) PopulateUsage(u *engine.ConsumptionProfile) + func (r *KMSCryptoKey) UsageSchema() []*engine.ConsumptionField + type Logging struct + Address string + MonthlyLoggingDataGB *float64 + func (r *Logging) BuildResource() *engine.Estimate + func (r *Logging) CoreType() string + func (r *Logging) PopulateUsage(u *engine.ConsumptionProfile) + func (r *Logging) UsageSchema() []*engine.ConsumptionField + type MonitoringMetricDescriptor struct + Address string + MonthlyAPICalls *int64 + MonthlyMonitoringDataMB *int64 + func (r *MonitoringMetricDescriptor) BuildResource() *engine.Estimate + func (r *MonitoringMetricDescriptor) CoreType() string + func (r *MonitoringMetricDescriptor) PopulateUsage(u *engine.ConsumptionProfile) + func (r *MonitoringMetricDescriptor) UsageSchema() []*engine.ConsumptionField + type NetworkEgressUsage struct + Address string + PrefixName string + Region string + type PubSubSubscription struct + Address string + MonthlyMessageDataTB *float64 + SnapshotStorageGB *float64 + StorageGB *float64 + func (r *PubSubSubscription) BuildResource() *engine.Estimate + func (r *PubSubSubscription) CoreType() string + func (r *PubSubSubscription) PopulateUsage(u *engine.ConsumptionProfile) + func (r *PubSubSubscription) UsageSchema() []*engine.ConsumptionField + type PubSubTopic struct + Address string + MonthlyMessageDataTB *float64 + func (r *PubSubTopic) BuildResource() *engine.Estimate + func (r *PubSubTopic) CoreType() string + func (r *PubSubTopic) PopulateUsage(u *engine.ConsumptionProfile) + func (r *PubSubTopic) UsageSchema() []*engine.ConsumptionField + type RedisCluster struct + AOFEnabled bool + AOFProvisionedGB int64 + Address string + BackupStorageGB *float64 + BackupsEnabled bool + NodeCount int + NodeType string + Region string + func (r *RedisCluster) BuildResource() *engine.Estimate + func (r *RedisCluster) CoreType() string + func (r *RedisCluster) PopulateUsage(u *engine.ConsumptionProfile) + func (r *RedisCluster) UsageSchema() []*engine.ConsumptionField + type RedisInstance struct + Address string + MemorySizeGB float64 + Region string + Tier string + func (r *RedisInstance) BuildResource() *engine.Estimate + func (r *RedisInstance) CoreType() string + func (r *RedisInstance) PopulateUsage(u *engine.ConsumptionProfile) + func (r *RedisInstance) UsageSchema() []*engine.ConsumptionField + type RegionUsage struct + Key string + Value float64 + type RegionsUsage struct + AsiaEast1 *float64 + AsiaEast2 *float64 + AsiaNortheast1 *float64 + AsiaNortheast2 *float64 + AsiaNortheast3 *float64 + AsiaSouth1 *float64 + AsiaSouth2 *float64 + AsiaSoutheast1 *float64 + AsiaSoutheast2 *float64 + AustraliaSoutheast1 *float64 + AustraliaSoutheast2 *float64 + EuropeCentral2 *float64 + EuropeNorth1 *float64 + EuropeWest1 *float64 + EuropeWest2 *float64 + EuropeWest3 *float64 + EuropeWest4 *float64 + EuropeWest6 *float64 + NorthAmericaNortheast1 *float64 + NorthAmericaNortheast2 *float64 + SouthAmericaEast1 *float64 + SouthAmericaWest1 *float64 + USCentral1 *float64 + USEast1 *float64 + USEast4 *float64 + USWest1 *float64 + USWest2 *float64 + USWest3 *float64 + USWest4 *float64 + func (r RegionsUsage) Values() []RegionUsage + type SQLDatabaseInstance struct + Address string + AvailabilityType string + BackupStorageGB *float64 + DatabaseVersion string + DiskSize int64 + DiskType string + Edition string + Region string + ReplicaConfiguration string + Tier string + UseIPV4 bool + func (r *SQLDatabaseInstance) BuildResource() *engine.Estimate + func (r *SQLDatabaseInstance) CoreType() string + func (r *SQLDatabaseInstance) IsCustom() bool + func (r *SQLDatabaseInstance) IsHighMem() bool + func (r *SQLDatabaseInstance) IsLegacy() bool + func (r *SQLDatabaseInstance) IsShared() bool + func (r *SQLDatabaseInstance) IsStandard() bool + func (r *SQLDatabaseInstance) PopulateUsage(u *engine.ConsumptionProfile) + func (r *SQLDatabaseInstance) UsageSchema() []*engine.ConsumptionField + type SQLInstanceDBType int + const MySQL + const PostgreSQL + const SQLServer + type SecretManagerSecret struct + ActiveSecretVersions *int64 + Address string + MonthlyAccessOperations *int64 + MonthlyRotationNotifications *int64 + Region string + ReplicationLocations int64 + func (r *SecretManagerSecret) BuildResource() *engine.Estimate + func (r *SecretManagerSecret) CoreType() string + func (r *SecretManagerSecret) PopulateUsage(u *engine.ConsumptionProfile) + func (r *SecretManagerSecret) UsageSchema() []*engine.ConsumptionField + type SecretManagerSecretVersion struct + Address string + MonthlyAccessOperations *int64 + Region string + ReplicationLocations int64 + func (r *SecretManagerSecretVersion) BuildResource() *engine.Estimate + func (r *SecretManagerSecretVersion) CoreType() string + func (r *SecretManagerSecretVersion) PopulateUsage(u *engine.ConsumptionProfile) + func (r *SecretManagerSecretVersion) UsageSchema() []*engine.ConsumptionField + type StorageBucket struct + Address string + Location string + MonthlyClassAOperations *int64 + MonthlyClassBOperations *int64 + MonthlyDataRetrievalGB *float64 + MonthlyEgressDataTransferGB *StorageBucketNetworkEgressUsage + Region string + StorageClass string + StorageGB *float64 + func (r *StorageBucket) BuildResource() *engine.Estimate + func (r *StorageBucket) CoreType() string + func (r *StorageBucket) PopulateUsage(u *engine.ConsumptionProfile) + func (r *StorageBucket) UsageSchema() []*engine.ConsumptionField + type StorageBucketNetworkEgressUsage struct + Asia *float64 + Australia *float64 + China *float64 + SameContinent *float64 + Worldwide *float64 + func (r *StorageBucketNetworkEgressUsage) BuildResource() *engine.Estimate + func (r *StorageBucketNetworkEgressUsage) CoreType() string + func (r *StorageBucketNetworkEgressUsage) UsageSchema() []*engine.ConsumptionField