Reference documentation and code samples for the Compute V1 Client class Metric.
Metric contains string constants that represent the names of each value in the google.cloud.compute.v1.Quota.Metric descriptor.
Constants
UNDEFINED_METRIC
Value: 'UNDEFINED_METRIC'
A2_CPUS
Value: 'A2_CPUS'
AFFINITY_GROUPS
Value: 'AFFINITY_GROUPS'
AUTOSCALERS
Value: 'AUTOSCALERS'
BACKEND_BUCKETS
Value: 'BACKEND_BUCKETS'
BACKEND_SERVICES
Value: 'BACKEND_SERVICES'
C2D_CPUS
Value: 'C2D_CPUS'
C2_CPUS
Value: 'C2_CPUS'
C3_CPUS
Value: 'C3_CPUS'
COMMITMENTS
Value: 'COMMITMENTS'
COMMITTED_A2_CPUS
Value: 'COMMITTED_A2_CPUS'
COMMITTED_C2D_CPUS
Value: 'COMMITTED_C2D_CPUS'
COMMITTED_C2_CPUS
Value: 'COMMITTED_C2_CPUS'
COMMITTED_C3_CPUS
Value: 'COMMITTED_C3_CPUS'
COMMITTED_CPUS
Value: 'COMMITTED_CPUS'
COMMITTED_E2_CPUS
Value: 'COMMITTED_E2_CPUS'
COMMITTED_LICENSES
Value: 'COMMITTED_LICENSES'
COMMITTED_LOCAL_SSD_TOTAL_GB
Value: 'COMMITTED_LOCAL_SSD_TOTAL_GB'
COMMITTED_M3_CPUS
Value: 'COMMITTED_M3_CPUS'
COMMITTED_MEMORY_OPTIMIZED_CPUS
Value: 'COMMITTED_MEMORY_OPTIMIZED_CPUS'
COMMITTED_N2A_CPUS
Value: 'COMMITTED_N2A_CPUS'
COMMITTED_N2D_CPUS
Value: 'COMMITTED_N2D_CPUS'
COMMITTED_N2_CPUS
Value: 'COMMITTED_N2_CPUS'
COMMITTED_NVIDIA_A100_80GB_GPUS
Value: 'COMMITTED_NVIDIA_A100_80GB_GPUS'
COMMITTED_NVIDIA_A100_GPUS
Value: 'COMMITTED_NVIDIA_A100_GPUS'
COMMITTED_NVIDIA_K80_GPUS
Value: 'COMMITTED_NVIDIA_K80_GPUS'
COMMITTED_NVIDIA_P100_GPUS
Value: 'COMMITTED_NVIDIA_P100_GPUS'
COMMITTED_NVIDIA_P4_GPUS
Value: 'COMMITTED_NVIDIA_P4_GPUS'
COMMITTED_NVIDIA_T4_GPUS
Value: 'COMMITTED_NVIDIA_T4_GPUS'
COMMITTED_NVIDIA_V100_GPUS
Value: 'COMMITTED_NVIDIA_V100_GPUS'
COMMITTED_T2A_CPUS
Value: 'COMMITTED_T2A_CPUS'
COMMITTED_T2D_CPUS
Value: 'COMMITTED_T2D_CPUS'
CPUS
Value: 'CPUS'
CPUS_ALL_REGIONS
Value: 'CPUS_ALL_REGIONS'
DISKS_TOTAL_GB
Value: 'DISKS_TOTAL_GB'
E2_CPUS
Value: 'E2_CPUS'
EXTERNAL_MANAGED_FORWARDING_RULES
Value: 'EXTERNAL_MANAGED_FORWARDING_RULES'
EXTERNAL_NETWORK_LB_FORWARDING_RULES
Value: 'EXTERNAL_NETWORK_LB_FORWARDING_RULES'
EXTERNAL_PROTOCOL_FORWARDING_RULES
Value: 'EXTERNAL_PROTOCOL_FORWARDING_RULES'
EXTERNAL_VPN_GATEWAYS
Value: 'EXTERNAL_VPN_GATEWAYS'
FIREWALLS
Value: 'FIREWALLS'
FORWARDING_RULES
Value: 'FORWARDING_RULES'
GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES
Value: 'GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES'
GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES
Value: 'GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES'
GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES
Value: 'GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES'
GLOBAL_INTERNAL_ADDRESSES
Value: 'GLOBAL_INTERNAL_ADDRESSES'
GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES
Value: 'GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES'
GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES
Value: 'GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES'
GPUS_ALL_REGIONS
Value: 'GPUS_ALL_REGIONS'
HEALTH_CHECKS
Value: 'HEALTH_CHECKS'
IMAGES
Value: 'IMAGES'
INSTANCES
Value: 'INSTANCES'
INSTANCE_GROUPS
Value: 'INSTANCE_GROUPS'
INSTANCE_GROUP_MANAGERS
Value: 'INSTANCE_GROUP_MANAGERS'
INSTANCE_TEMPLATES
Value: 'INSTANCE_TEMPLATES'
INTERCONNECTS
Value: 'INTERCONNECTS'
INTERCONNECT_ATTACHMENTS_PER_REGION
Value: 'INTERCONNECT_ATTACHMENTS_PER_REGION'
INTERCONNECT_ATTACHMENTS_TOTAL_MBPS
Value: 'INTERCONNECT_ATTACHMENTS_TOTAL_MBPS'
INTERCONNECT_TOTAL_GBPS
Value: 'INTERCONNECT_TOTAL_GBPS'
INTERNAL_ADDRESSES
Value: 'INTERNAL_ADDRESSES'
INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES
Value: 'INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES'
IN_PLACE_SNAPSHOTS
Value: 'IN_PLACE_SNAPSHOTS'
IN_USE_ADDRESSES
Value: 'IN_USE_ADDRESSES'
IN_USE_BACKUP_SCHEDULES
Value: 'IN_USE_BACKUP_SCHEDULES'
IN_USE_SNAPSHOT_SCHEDULES
Value: 'IN_USE_SNAPSHOT_SCHEDULES'
LOCAL_SSD_TOTAL_GB
Value: 'LOCAL_SSD_TOTAL_GB'
M1_CPUS
Value: 'M1_CPUS'
M2_CPUS
Value: 'M2_CPUS'
M3_CPUS
Value: 'M3_CPUS'
MACHINE_IMAGES
Value: 'MACHINE_IMAGES'
N2A_CPUS
Value: 'N2A_CPUS'
N2D_CPUS
Value: 'N2D_CPUS'
N2_CPUS
Value: 'N2_CPUS'
NETWORKS
Value: 'NETWORKS'
NETWORK_ENDPOINT_GROUPS
Value: 'NETWORK_ENDPOINT_GROUPS'
NETWORK_FIREWALL_POLICIES
Value: 'NETWORK_FIREWALL_POLICIES'
NODE_GROUPS
Value: 'NODE_GROUPS'
NODE_TEMPLATES
Value: 'NODE_TEMPLATES'
NVIDIA_A100_80GB_GPUS
Value: 'NVIDIA_A100_80GB_GPUS'
NVIDIA_A100_GPUS
Value: 'NVIDIA_A100_GPUS'
NVIDIA_K80_GPUS
Value: 'NVIDIA_K80_GPUS'
NVIDIA_P100_GPUS
Value: 'NVIDIA_P100_GPUS'
NVIDIA_P100_VWS_GPUS
Value: 'NVIDIA_P100_VWS_GPUS'
NVIDIA_P4_GPUS
Value: 'NVIDIA_P4_GPUS'
NVIDIA_P4_VWS_GPUS
Value: 'NVIDIA_P4_VWS_GPUS'
NVIDIA_T4_GPUS
Value: 'NVIDIA_T4_GPUS'
NVIDIA_T4_VWS_GPUS
Value: 'NVIDIA_T4_VWS_GPUS'
NVIDIA_V100_GPUS
Value: 'NVIDIA_V100_GPUS'
PACKET_MIRRORINGS
Value: 'PACKET_MIRRORINGS'
PD_EXTREME_TOTAL_PROVISIONED_IOPS
Value: 'PD_EXTREME_TOTAL_PROVISIONED_IOPS'
PREEMPTIBLE_CPUS
Value: 'PREEMPTIBLE_CPUS'
PREEMPTIBLE_LOCAL_SSD_GB
Value: 'PREEMPTIBLE_LOCAL_SSD_GB'
PREEMPTIBLE_NVIDIA_A100_80GB_GPUS
Value: 'PREEMPTIBLE_NVIDIA_A100_80GB_GPUS'
PREEMPTIBLE_NVIDIA_A100_GPUS
Value: 'PREEMPTIBLE_NVIDIA_A100_GPUS'
PREEMPTIBLE_NVIDIA_K80_GPUS
Value: 'PREEMPTIBLE_NVIDIA_K80_GPUS'
PREEMPTIBLE_NVIDIA_P100_GPUS
Value: 'PREEMPTIBLE_NVIDIA_P100_GPUS'
PREEMPTIBLE_NVIDIA_P100_VWS_GPUS
Value: 'PREEMPTIBLE_NVIDIA_P100_VWS_GPUS'
PREEMPTIBLE_NVIDIA_P4_GPUS
Value: 'PREEMPTIBLE_NVIDIA_P4_GPUS'
PREEMPTIBLE_NVIDIA_P4_VWS_GPUS
Value: 'PREEMPTIBLE_NVIDIA_P4_VWS_GPUS'
PREEMPTIBLE_NVIDIA_T4_GPUS
Value: 'PREEMPTIBLE_NVIDIA_T4_GPUS'
PREEMPTIBLE_NVIDIA_T4_VWS_GPUS
Value: 'PREEMPTIBLE_NVIDIA_T4_VWS_GPUS'
PREEMPTIBLE_NVIDIA_V100_GPUS
Value: 'PREEMPTIBLE_NVIDIA_V100_GPUS'
PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK
Value: 'PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK'
PSC_INTERNAL_LB_FORWARDING_RULES
Value: 'PSC_INTERNAL_LB_FORWARDING_RULES'
PUBLIC_ADVERTISED_PREFIXES
Value: 'PUBLIC_ADVERTISED_PREFIXES'
PUBLIC_DELEGATED_PREFIXES
Value: 'PUBLIC_DELEGATED_PREFIXES'
REGIONAL_AUTOSCALERS
Value: 'REGIONAL_AUTOSCALERS'
REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES
Value: 'REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES'
REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES
Value: 'REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES'
REGIONAL_INSTANCE_GROUP_MANAGERS
Value: 'REGIONAL_INSTANCE_GROUP_MANAGERS'
REGIONAL_INTERNAL_LB_BACKEND_SERVICES
Value: 'REGIONAL_INTERNAL_LB_BACKEND_SERVICES'
REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES
Value: 'REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES'
RESERVATIONS
Value: 'RESERVATIONS'
RESOURCE_POLICIES
Value: 'RESOURCE_POLICIES'
ROUTERS
Value: 'ROUTERS'
ROUTES
Value: 'ROUTES'
SECURITY_POLICIES
Value: 'SECURITY_POLICIES'
SECURITY_POLICIES_PER_REGION
Value: 'SECURITY_POLICIES_PER_REGION'
SECURITY_POLICY_CEVAL_RULES
Value: 'SECURITY_POLICY_CEVAL_RULES'
SECURITY_POLICY_RULES
Value: 'SECURITY_POLICY_RULES'
SECURITY_POLICY_RULES_PER_REGION
Value: 'SECURITY_POLICY_RULES_PER_REGION'
SERVICE_ATTACHMENTS
Value: 'SERVICE_ATTACHMENTS'
SNAPSHOTS
Value: 'SNAPSHOTS'
SSD_TOTAL_GB
Value: 'SSD_TOTAL_GB'
SSL_CERTIFICATES
Value: 'SSL_CERTIFICATES'
STATIC_ADDRESSES
Value: 'STATIC_ADDRESSES'
STATIC_BYOIP_ADDRESSES
Value: 'STATIC_BYOIP_ADDRESSES'
STATIC_EXTERNAL_IPV6_ADDRESS_RANGES
Value: 'STATIC_EXTERNAL_IPV6_ADDRESS_RANGES'
SUBNETWORKS
Value: 'SUBNETWORKS'
T2A_CPUS
Value: 'T2A_CPUS'
T2D_CPUS
Value: 'T2D_CPUS'
TARGET_HTTPS_PROXIES
Value: 'TARGET_HTTPS_PROXIES'
TARGET_HTTP_PROXIES
Value: 'TARGET_HTTP_PROXIES'
TARGET_INSTANCES
Value: 'TARGET_INSTANCES'
TARGET_POOLS
Value: 'TARGET_POOLS'
TARGET_SSL_PROXIES
Value: 'TARGET_SSL_PROXIES'
TARGET_TCP_PROXIES
Value: 'TARGET_TCP_PROXIES'
TARGET_VPN_GATEWAYS
Value: 'TARGET_VPN_GATEWAYS'
URL_MAPS
Value: 'URL_MAPS'
VPN_GATEWAYS
Value: 'VPN_GATEWAYS'
VPN_TUNNELS
Value: 'VPN_TUNNELS'
XPN_SERVICE_PROJECTS
Value: 'XPN_SERVICE_PROJECTS'