Package google.cloud.billing.costestimation.v1beta

Index

CostEstimationService

Estimates costs for workloads on Google Cloud.

EstimateCostScenarioForBillingAccount

rpc EstimateCostScenarioForBillingAccount(EstimateCostScenarioForBillingAccountRequest) returns (EstimateCostScenarioForBillingAccountResponse)

Use custom pricing in the estimate, using a CostScenario with a defined billingAccount.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing

For more information, see the Authentication Overview.

EstimateCostScenarioWithListPrice

rpc EstimateCostScenarioWithListPrice(EstimateCostScenarioWithListPriceRequest) returns (EstimateCostScenarioWithListPriceResponse)

Estimate list prices using a CostScenario without a defined billingAccount.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing

For more information, see the Authentication Overview.

CacheFillRegions

Specifies the regions for Cache Fill.

Fields
source_region

CacheFillSourceRegion

The source region for cache fill.

destination_region

CacheFillDestinationRegion

The destination region for cache fill.

CacheFillDestinationRegion

Specifies the cache fill destination region.

Enums
CACHE_FILL_DESTINATION_REGION_UNSPECIFIED Not specified
CACHE_FILL_DESTINATION_REGION_ASIA_PACIFIC Asia Pacific
CACHE_FILL_DESTINATION_REGION_EUROPE Europe
CACHE_FILL_DESTINATION_REGION_NORTH_AMERICA North America
CACHE_FILL_DESTINATION_REGION_OCEANIA Oceania
CACHE_FILL_DESTINATION_REGION_SOUTH_AMERICA South America
CACHE_FILL_DESTINATION_REGION_CHINA China
CACHE_FILL_DESTINATION_REGION_OTHERS Others

CacheFillSourceRegion

Specifies the cache fill source region.

Enums
CACHE_FILL_SOURCE_REGION_UNSPECIFIED Not specified
CACHE_FILL_REGION_ASIA_PACIFIC Asia Pacific
CACHE_FILL_SOURCE_REGION_EUROPE Europe
CACHE_FILL_SOURCE_REGION_NORTH_AMERICA North America
CACHE_FILL_SOURCE_REGION_OCEANIA Oceania
CACHE_FILL_SOURCE_REGION_SOUTH_AMERICA South America

CloudCdnEgressWorkload

Specifies usage for Cloud CDN Data Transfer.

Fields
cache_egress_destination

CacheEgressDestination

The destination for the cache data transfer.

cache_egress_rate

Usage

Cache data transfer usage. The rate of data cache transferred to the destination. Use units such as GiBy/s or TiBy/mo, based on The Unified Code for Units of Measure standard.

CacheEgressDestination

Destination for cache data transfer.

Enums
CACHE_EGRESS_DESTINATION_UNSPECIFIED Unspecified.
CACHE_EGRESS_DESTINATION_ASIA_PACIFIC Asia Pacific.
CACHE_EGRESS_DESTINATION_CHINA China.
CACHE_EGRESS_DESTINATION_EUROPE Europe.
CACHE_EGRESS_DESTINATION_NORTH_AMERICA North America.
CACHE_EGRESS_DESTINATION_OCEANIA Oceania including Australia, New Zealand, and surrounding Pacific Ocean islands such as Papua New Guinea and Fiji. This region excludes Hawaii.
CACHE_EGRESS_DESTINATION_LATIN_AMERICA Latin America (Including the Caribbean, South America and Central America.)
CACHE_EGRESS_DESTINATION_OTHER_DESTINATIONS All other destinations (including Africa and Antarctica)

CloudCdnWorkload

Specifies usage for Cloud CDN resources.

Fields
cache_look_up_rate

Usage

Cache look up requests. This is specified to indicate the number of requests. For example: units such as "1/s".

cache_fill_origin_service

CacheFillOriginService

The source service for the cache fill.

cache_fill_regions

CacheFillRegions

The regions where data is transferred from Google data locations into Google global cache servers. The SKU prices for cache fill across services are the same.

cache_fill_rate

Usage

Cache fill usage. The rate of data transferred between cache fill regions. For example: units such as "GiBy/s" or "TBy/mo".

CacheFillOriginService

Specifies the cache fill source service.

Enums
CACHE_FILL_ORIGIN_SERVICE_UNSPECIFIED Not specified.
CACHE_FILL_ORIGIN_SERVICE_GOOGLE_CLOUD_STORAGE_BUCKET Origin service is Google Cloud Storage.
CACHE_FILL_ORIGIN_SERVICE_BACKEND_SERVICE Origin service is backend service, such as Compute VMs, external backend, etc.

CloudInterconnectEgressWorkload

Includes the estimate for Interconnect Data Transfer only. To specify usage for data transfer between VMs and internet end-points, use the Standard Tier Internet Data Transfer interface.

Fields
interconnect_connection_location

InterconnectConnectionLocation

Locations in the Interconnect connection location table. These are the Interconnect Data Transfer charges.

egress_rate

Usage

Outbound data transfer usage. This usage applies when you move or copy data from one Google Cloud service to another service. The units are GiBy/s, By/s, and so on, based on The Unified Code for Units of Measure standard.

InterconnectConnectionLocation

Specify the Cloud Interconnect connection location. This determines the outbound data transfer charges.

Enums
INTERCONNECT_CONNECTION_LOCATION_UNSPECIFIED Unspecified.
INTERCONNECT_CONNECTION_LOCATION_ASIA Asia.
INTERCONNECT_CONNECTION_LOCATION_EUROPE Europe.
INTERCONNECT_CONNECTION_LOCATION_NORTH_AMERICA North America.
INTERCONNECT_CONNECTION_LOCATION_SOUTH_AMERICA South America.
INTERCONNECT_CONNECTION_LOCATION_AUSTRALIA Australia.

CloudInterconnectWorkload

Specifies usage for Cloud Interconnect resources.

Fields
interconnect_type

InterconnectType

VLAN attachment type

interconnect_attachments[]

VlanAttachment

VLAN attachment used for interconnect.

InterconnectType

Specifies the VLAN attachment type.

Enums
INTERCONNECT_TYPE_UNSPECIFIED Unspecified
INTERCONNECT_TYPE_DEDICATED Type is dedicated
INTERCONNECT_TYPE_PARTNER Type is partner

LinkType

Specifies the interconnect circuit link type.

Enums

CloudStorageEgressWorkload

Specification of a network type. Network data transfer within Google Cloud applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage bucket.This includes the network data transfer within Google Cloud and the general network usage.

Fields
source_continent

SourceContinent

Where the data comes from.

destination_continent

DestinationContinent

Where the data is sent to.

egress_rate

Usage

Data transfer usage rate. This usage applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage bucket. The expected units are GiBy/s, By/s, and so on, based on The Unified Code for Units of Measure standard.

DestinationContinent

Specify the destination continent.

Enums
DESTINATION_CONTINENT_UNSPECIFIED Not specified.
DESTINATION_CONTINENT_ASIA_PACIFIC Asia Pacific.
DESTINATION_CONTINENT_AUTRALIA Australia.
DESTINATION_CONTINENT_EUROPE Europe.
DESTINATION_CONTINENT_NORTH_AMERICA North America.
DESTINATION_CONTINENT_SOUTH_AMERICA South America

SourceContinent

Specify the source continent.

Enums
SOURCE_CONTINENT_UNSPECIFIED Not specified.
SOURCE_CONTINENT_ASIA_PACIFIC Asia Pacific.
SOURCE_CONTINENT_AUSTRALIA Australia.
SOURCE_CONTINENT_EUROPE Europe.
SOURCE_CONTINENT_NORTH_AMERICA North America.
SOURCE_CONTINENT_SOUTH_AMERICA South America.

CloudStorageWorkload

Specifies usage of Cloud Storage resources.

Fields
storage_class

string

The storage class of the data and operation. For example: "standard" and "nearline".

data_stored

Usage

Data storage usage. The amount of data stored in buckets. For example: units such as GiBy/s or TiBy/mo, based on The Unified Code for Units of Measure standard.

operation_a

Usage

Class A operation usage in Cloud Storage, such as listing the objects in buckets. See the operations pricing tables for a list of which operations fall into each class. For example: units such as "1/s".

operation_b

Usage

Class B operation usage in Cloud Storage, such as getIamPolicy. See the operations pricing tables for a list of which operations fall into each class. For example: units such as "1/s".

data_retrieval

Usage

Data retrieval usage. A retrieval cost applies when data or metadata is read, copied, or rewritten . For example: units such as "GiB/s" or "B/s".

Union field location.

location can be only one of the following:

region

Regional

Specify a single region.

multi_region

MultiRegional

Specify multi regions.

dual_region

DualRegional

Specify dual regions.

Commitment

Commitments give you the ability to pay a recurring fee in exchange for a benefit, such as a discount for your use. For example, this object might contain details of a spend-based committed use discount (CUD).

Within a CostScenario, adding a commitment includes the cost of the commitment and any discounts.

Fields
name

string

Required. A name for this commitment.

All commitments in a CostScenario must have unique names. Each name may be at most 128 characters long.

Union field commitment_spec.

commitment_spec can be only one of the following:

vm_resource_based_cud

VmResourceBasedCud

A resource-based committed use discount (CUD).

CommitmentCostEstimate

Estimated cost for a commitment.

Fields
name

string

The name of the commitment, as specified in the CostScenario.

sku_cost_estimates[]

SkuCostEstimate

Estimated costs for each SKU in the commitment.

commitment_total_cost_estimate

CostEstimate

Total estimated costs for the commitment.

ComputeVmWorkload

Specificies usage of a set of identical compute VM instances.

Fields
region

string

The region where the VMs run. For example: "us-central1".

machine_type

MachineType

The machine type.

guest_accelerator

GuestAccelerator

Guest accelerators attached to each machine.

preemptible

bool

Defines whether each instance is preemptible.

enable_confidential_compute

bool

Defines whether each instance has confidential compute enabled.

licenses[]

string

Premium image licenses used by each instance.

persistent_disks[]

PersistentDisk

Persistent disks attached to each instance. Must include a boot disk.

instances_running

Usage

VM usage. This is specified as a unitless quantity which indicates the number of instances running.

CostEstimate

An estimated cost.

Fields
pre_credit_cost_estimate

Money

The estimated cost prior to applying credits.

credit_estimates[]

CreditEstimate

The estimated credits applied.

net_cost_estimate

Money

The estimated net cost after applying credits.

CostEstimationResult

The result of a estimating the costs of a CostScenario.

Fields
segment_cost_estimates[]

SegmentCostEstimate

Required. Estimated costs for each idealized month of a CostScenario.

skus[]

Sku

Required. Information about SKUs used in the estimate.

currency_code

string

Required. The ISO 4217 currency code for the cost estimate.

CostScenario

Encapsulates all the information needed to perform a cost estimate. It includes a specification of the Google Cloud usage whose costs are estimated, and configuration options.

Fields
workloads[]

Workload

The Google Cloud usage whose costs are estimated.

A maximum of 100 workloads can be provided.

commitments[]

Commitment

New commitments to estimate the costs for.

The cost of the commitments will be included in the estimate result and discounts the commitment entitles will be included in the workload cost estimates.

A maximum of 100 workloads can be provided.

scenario_config

ScenarioConfig

Configuration for the scenario.

CreditEstimate

An estimated credit applied to the costs on a SKU.

Fields
credit_amount

Money

The estimated credit amount.

credit_type

string

The credit type.

credit_description

string

The credit description.

CustomMachineType

Specification of a custom machine type.

Fields
machine_series

string

Required. The machine series. Only certain machine series support custom configurations. For example: "n1".

virtual_cpu_count

int64

Required. The number of vCPUs. The allowed values depend on the machine series.

memory_size_gb

double

Required. Memory size of the VM in GB (2^30 bytes). Must be an increment of 0.25 (256 MB). Each machine series has limitations on allowed values for the ratio of memory-to-vCPU count.

DualRegional

Area contains dual locations.

Fields
name

string

The location name where the data is stored. For example: "asia1" for dual region.

EstimateCostScenarioForBillingAccountRequest

Request for EstimateCostScenarioForBillingAccount.

Fields
billing_account

string

Resource name of the billing account for the cost estimate.

The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF is the resource name for billing account 012345-567890-ABCDEF.

Must be specified.

cost_scenario

CostScenario

The scenario to estimate costs for.

EstimateCostScenarioForBillingAccountResponse

Response for EstimateCostScenarioForBillingAccount

Fields
cost_estimation_result

CostEstimationResult

The result of the cost estimation.

EstimateCostScenarioWithListPriceRequest

Request for EstimateCostScenarioWithListPrice.

Fields
cost_scenario

CostScenario

The scenario to estimate costs for.

EstimateCostScenarioWithListPriceResponse

Response for EstimateCostScenarioWithListPrice

Fields
cost_estimation_result

CostEstimationResult

The result of the cost estimation.

EstimationTimePoint

Represents a point in time.

Fields
estimation_time_frame_offset

Duration

The point in time, relative to the start of the time frame covered by the cost estimate.

GuestAccelerator

Specification of a set of guest accelerators attached to a machine.

Fields
accelerator_type

string

The type of the guest accelerator cards. For example: "nvidia-tesla-t4".

accelerator_count

int64

The number of the guest accelerator cards exposed to each instance.

InterRegionEgress

Data transfer between two regions.

Fields
source_region

string

Which region the data is transferred from.

destination_region

string

Which region the data is transferred to.

egress_rate

Usage

VM to VM data transfer usage. The expected units such are GiBy/s, By/s, and so on.

IntraRegionEgress

Data transfer within the same region. When the source region and destination region are in the same zone, using internal IP addresses, there isn't any charge for data transfer.

Fields
egress_rate

Usage

VM to VM data transfer usage. The expected are GiBy/s, By/s, and so on.

MachineType

Specification of machine series, memory, and number of vCPUs.

Fields

Union field machine_type.

machine_type can be only one of the following:

predefined_machine_type

PredefinedMachineType

custom_machine_type

CustomMachineType

MultiRegional

Area contains multiple locations.

Fields
name

string

The location name where the data is stored. For example: "us" for multi-region.

PersistentDisk

Specification of a persistent disk attached to a VM.

Fields
disk_type

string

The disk type. For example: "pd-standard".

scope

Scope

The geographic scope of the disk. Defaults to SCOPE_ZONAL if not specified.

disk_size

Usage

Specifies the size of disk. Must be at least 10 GB.

provisioned_iops

Usage

Indicates how many IOPS to provision for the disk for extreme persistent disks. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.

Scope

The geographic scope of the disk.

Enums
SCOPE_UNSPECIFIED Unspecified.
SCOPE_ZONAL The disk exists in a single zone.
SCOPE_REGIONAL The disk is replicated in a secondary zone within the same region.

PredefinedMachineType

Specification of a predefined machine type.

Fields
machine_type

string

The machine type. For example: "n1-standard1".

PremiumTierEgressWorkload

Specify a Premium Tier Internet Data Transfer networking workload.

Fields
source_region

string

Which region the data comes from.

destination_continent

DestinationContinent

Where the data is sent to.

egress_rate

Usage

Premium Tier Data Transfer usage. The expected units are GiBy/s, By/s, and so on, based on The Unified Code for Units of Measure standard.

DestinationContinent

Specify the destination continent.

Enums
DESTINATION_CONTINENT_UNSPECIFIED Not specified.
DESTINATION_CONTINENT_ASIA_PACIFIC Asia Pacific.
DESTINATION_CONTINENT_AFRICA Africa.
DESTINATION_CONTINENT_NORTH_AMERICA North America.
DESTINATION_CONTINENT_AUTRALIA Australia.
DESTINATION_CONTINENT_CENTRAL_AMERICA Central America.
DESTINATION_CONTINENT_CHINA China.
DESTINATION_CONTINENT_EASTERN_EUROPE Eastern Europe.
DESTINATION_CONTINENT_WESTERN_EUROPE Western Europe.
DESTINATION_CONTINENT_EMEA Other regions in Europe, Middle East and Africa.
DESTINATION_CONTINENT_INDIA India
DESTINATION_CONTINENT_MIDDLE_EAST Middle East.
DESTINATION_CONTINENT_SOUTH_AMERICA South America.

Price

The price of a SKU at a point int time.

Fields
price_type

string

The type of price. Possible values: "RATE"

effective_time

EstimationTimePoint

The timestamp within the estimation time frame when the price was set.

Union field price.

price can be only one of the following:

rate

Rate

A set of tiered rates.

Rate

A SKU price consisting of tiered rates.

Fields
tiers[]

RateTier

The service tiers.

unit

string

The SKU's pricing unit. For example, if the tier price is $1 per 1000000 Bytes, then this field will show 'By'. The start_amount field in each tier will be in this unit.

unit_count

double

The SKU's count for the pricing unit. For example, if the tier price is $1 per 1000000 Bytes, then this column will show 1000000.

RateTier

Pricing details for a service tier.

Fields
start_amount

double

The magnitude of usage in which the tier interval begins. Example: "From 100 GiBi the price is $1 per byte" implies start_amount = 100

price

Money

The price for this tier.

Regional

Area contains only one location.

Fields
name

string

The location name. For example: "us-central1" for region.

ScenarioConfig

Configuration for a CostScenario. Specifies how costs are calculated.

Fields
estimate_duration

Duration

Time frame for the estimate.

Workloads must specify usage for this duration. Duration must be at least 1 hour (3,600 seconds) and at most 10 years (315,360,000 seconds). The calculations for years and months are based on a 730-hour (2,628,000-second) month.

For durations longer than one month (2,628,000 seconds), the duration is rounded up to the next month, so the estimate shows you the costs for full months. For example, a duration of 3,232,800 seconds (roughly 5 weeks) is rounded up to 2 months.

SegmentCostEstimate

Workload cost estimates for a single time segment.

Fields
segment_start_time

EstimationTimePoint

Timestamp for the start of the segment.

workload_cost_estimates[]

WorkloadCostEstimate

Estimated costs for each workload.

commitment_cost_estimates[]

CommitmentCostEstimate

Estimated costs for each commitment.

segment_total_cost_estimate

CostEstimate

Total estimated costs for the time segment.

Sku

Information about SKUs appearing in the cost estimate.

Fields
sku

string

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

display_name

string

The display name for the SKU. Example: A2 Instance Core running in Americas

prices[]

Price

A timeline of prices for a SKU in chronological order.

Note: The API currently only supports using a constant price for the entire estimation time frame so this list will contain a single value.

SkuCostEstimate

Estimated cost for usage on a SKU.

Fields
sku

string

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

More information about the SKU can be found in the skus field of the CostEstimationResult.

usage_amount

double

The amount of usage on this SKU.

usage_unit

string

The unit for the usage on this SKU.

cost_estimate

CostEstimate

The estimated cost for the usage on this SKU.

StandardTierEgressWorkload

Specify Standard Tier Internet Data Transfer.

Fields
source_region

string

Which region the data is transferred from.

egress_rate

Usage

Standard Tier Data Transfer usage. The expected units are GiBy/s, By/s, and so on, based on the The Unified Code for Units of Measure standard.

Usage

An amount of usage over a time frame.

Fields

Union field usage_spec.

usage_spec can be only one of the following:

usage_rate_timeline

UsageRateTimeline

A timeline of usage rates over the estimate interval.

UsageRateTimeline

A timeline of usage rates.

Consists of a series of entries, each of which specifies a constant rate of usage during a time interval. Each entry contains an effective time. The usage rate is in effect from that time until the effective time of the subsequent entry, or, for the last entry, for the remaining portion of estimation time frame.

Effective times are specified as an offset into the estimation time frame. Usage is considered to be zero until the effective_time of the first entry. All subsequent entries must have an effective time greater than the previous entry and less than the estimate time frame.

The effective time on all entries must be an integer number of hours.

Fields
unit

string

The unit for the usage rate in each timeline entry. If you provide an incorrect unit for an instance, the correct unit is provided in the error message.

The supported units are a subset of The Unified Code for Units of Measure standard:

  • Time units (TIME-UNIT)
    • s second
    • min minute
    • h hour
    • d day
    • wk week
    • mo month
    • yr year
    • ms millisecond
    • us microsecond
    • ns nanosecond
  • Basic storage units (BASIC-STORAGE-UNIT)
    • bit bit
    • By byte
  • Count units (COUNT-UNIT)
    • count count
  • Prefixes (PREFIX)
    • k kilo (10^3)
    • M mega (10^6)
    • G giga (10^9)
    • T tera (10^12)
    • P peta (10^15)
    • Ki kibi (2^10)
    • Mi mebi (2^20)
    • Gi gibi (2^30)
    • Ti tebi (2^40)
    • Pi pebi (2^50)

Grammar

The grammar also includes these connectors:

  • / division or ratio (as an infix operator). For example: kBy/{email} or MiBy/10ms.
  • . multiplication or composition (as an infix operator). For example: GBy.d or k{watt}.h.

The grammar for a unit is as follows:

Expression = Component { "." Component } { "/" Component } ;

Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
     | Annotation
     | "1"
     ;

UNIT = TIME-UNIT | STORAGE-UNIT | DATA-UNIT | COUNT-UNIT

Annotation = "{" NAME "}" ;

Examples:

  • Request per second: 1/s or {requests}/s
  • GibiBytes: GiBy
  • GibiBytes * seconds: GiBy.s
usage_rate_timeline_entries[]

UsageRateTimelineEntry

The timeline entries. Each entry has a start time and usage rate. The start time specifies the effective time of the usage rate. The entries must be sorted by start time in an increasing order.

UsageRateTimelineEntry

A usage rate timeline entry.

Each entry specifies a constant usage rate during a time interval.

Fields
effective_time

EstimationTimePoint

The effective time for this entry. The usage rate is in effect starting at this time until the effective time of the subsequent entry in the timeline. The last entry defines the usage rate until the end of the Usage time frame.

Must correspond to an integer number of hours.

usage_rate

double

The usage rate.

VlanAttachment

VLAN attachment for Cloud Interconnect.

Fields
bandwidth

Bandwidth

Capacities in the pricing table Examples of capacity are: 50/100/200/300/400/500-Mbps, 1/2/5/10/20/50-Gbps.

vlan_count

Usage

VLAN usage. This is specified as a unitless quantity which indicates the number of VLAN attachment used in interconnect.

Bandwidth

Provisioned bandwidth capacity for the interconnect VLAN attachment.

Enums
BANDWIDTH_UNSPECIFIED Unspecified
BANDWIDTH_BPS_50M 50 Mbit/s
BANDWIDTH_BPS_100M 100 Mbit/s
BANDWIDTH_BPS_200M 200 Mbit/s
BANDWIDTH_BPS_300M 300 Mbit/s
BANDWIDTH_BPS_400M 400 Mbit/s
BANDWIDTH_BPS_500M 500 Mbit/s
BANDWIDTH_BPS_1G 1 Gbit/s
BANDWIDTH_BPS_2G 2 Gbit/s
BANDWIDTH_BPS_5G 5 Gbit/s
BANDWIDTH_BPS_10G 10 Gbit/s
BANDWIDTH_BPS_20G 20 Gbit/s
BANDWIDTH_BPS_50G 50 Gbit/s

VmResourceBasedCud

Specifies a resource-based committed use discount (CUD).

Fields
region

string

The region where the VM runs. For example: "us-central1"

virtual_cpu_count

int64

The number of vCPUs. The number of vCPUs must be an integer of 0 or more and can be even or odd.

memory_size_gb

double

Memory size of the VM in GB (2^30 bytes). Must be an increment of 0.25 (256 MB).

guest_accelerator

GuestAccelerator

Guest accelerator, known as GPU.

plan

CommitmentPlan

Commitment usage plan.

machine_series

string

The machine series for CUD. For example: "n1" for general purpose N1 machine type commitments. "n2" for general purpose N2 machine type commitments. "e2" for general purpose E2 machine type commitments. "n2d" for general purpose N2D machine type commitments. "t2d" for general purpose T2D machine type commitments. "c2"/"c2d" for compute-optimized commitments. "m1"/"m2" for the memory-optimized commitments. "a2' for the accelerator-optimized commitments.

CommitmentPlan

The plan of commitments for VM resource-based committed use discount (CUD).

Enums
COMMITMENT_PLAN_UNSPECIFIED Not specified commitment plan.
TWELVE_MONTH 1 year commitment.
THIRTY_SIX_MONTH 3 years commitment.

VmToVmEgressWorkload

Specify VM to VM data transfer.

Fields

Union field egress_location.

egress_location can be only one of the following:

inter_region_egress

InterRegionEgress

intra_region_egress

IntraRegionEgress

Workload

Specifies usage on a single Google Cloud product over a time frame.

Each Google Cloud product has its own message, containing specific product configuration parameters of the product usage amounts along each dimension in which the product is billed.

Fields
name

string

Required. A name for this workload.

All workloads in a CostScenario must have a unique name. Each name may be at most 128 characters long.

Union field product_spec. The product specific configuration and usage specification. product_spec can be only one of the following:
compute_vm_workload

ComputeVmWorkload

Usage of a Google Compute Engine Virtual Machine.

cloud_storage_workload

CloudStorageWorkload

Usage on Google Cloud Storage.

cloud_storage_egress_workload

CloudStorageEgressWorkload

Usage on Cloud Storage Data Transfer.

cloud_cdn_workload

CloudCdnWorkload

Usage on Google Cloud CDN.

cloud_cdn_egress_workload

CloudCdnEgressWorkload

Usage on Google Cloud CDN Data Transfer.

cloud_interconnect_workload

CloudInterconnectWorkload

Usage on Google Cloud Interconnect.

cloud_interconnect_egress_workload

CloudInterconnectEgressWorkload

Usage on Google Cloud Interconnect Data Transfer.

standard_tier_egress_workload

StandardTierEgressWorkload

Usage on Standard Tier Internet Data Transfer.

premium_tier_egress_workload

PremiumTierEgressWorkload

Usage on Premium Tier Internet Data Transfer.

vm_to_vm_egress_workload

VmToVmEgressWorkload

Usage on VM to VM Data Transfer.

WorkloadCostEstimate

Estimated cost for a workload.

Fields
name

string

The name of the workload, as specified in the CostScenario.

sku_cost_estimates[]

SkuCostEstimate

Estimated costs for each SKU in the workload.

workload_total_cost_estimate

CostEstimate

Total estimated costs for the workload.