Quota

google.cloud.compute.v1. Quota

Represents a Quota.

Constructor

new Quota(propertiesopt)

Constructs a new Quota.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IQuota <optional>

Properties to set

Implements:
  • IQuota

Members

_limit

Quota _limit.

_metric

Quota _metric.

_owner

Quota _owner.

_usage

Quota _usage.

limit

Quota limit.

metric

Quota metric.

owner

Quota owner.

usage

Quota usage.

Metric

Metric enum.

Properties:
Name Type Description
UNDEFINED_METRIC number

UNDEFINED_METRIC value

A2_CPUS number

A2_CPUS value

AFFINITY_GROUPS number

AFFINITY_GROUPS value

AUTOSCALERS number

AUTOSCALERS value

BACKEND_BUCKETS number

BACKEND_BUCKETS value

BACKEND_SERVICES number

BACKEND_SERVICES value

C2D_CPUS number

C2D_CPUS value

C2_CPUS number

C2_CPUS value

C3_CPUS number

C3_CPUS value

COMMITMENTS number

COMMITMENTS value

COMMITTED_A2_CPUS number

COMMITTED_A2_CPUS value

COMMITTED_C2D_CPUS number

COMMITTED_C2D_CPUS value

COMMITTED_C2_CPUS number

COMMITTED_C2_CPUS value

COMMITTED_C3_CPUS number

COMMITTED_C3_CPUS value

COMMITTED_CPUS number

COMMITTED_CPUS value

COMMITTED_E2_CPUS number

COMMITTED_E2_CPUS value

COMMITTED_LICENSES number

COMMITTED_LICENSES value

COMMITTED_LOCAL_SSD_TOTAL_GB number

COMMITTED_LOCAL_SSD_TOTAL_GB value

COMMITTED_M3_CPUS number

COMMITTED_M3_CPUS value

COMMITTED_MEMORY_OPTIMIZED_CPUS number

COMMITTED_MEMORY_OPTIMIZED_CPUS value

COMMITTED_N2A_CPUS number

COMMITTED_N2A_CPUS value

COMMITTED_N2D_CPUS number

COMMITTED_N2D_CPUS value

COMMITTED_N2_CPUS number

COMMITTED_N2_CPUS value

COMMITTED_NVIDIA_A100_80GB_GPUS number

COMMITTED_NVIDIA_A100_80GB_GPUS value

COMMITTED_NVIDIA_A100_GPUS number

COMMITTED_NVIDIA_A100_GPUS value

COMMITTED_NVIDIA_K80_GPUS number

COMMITTED_NVIDIA_K80_GPUS value

COMMITTED_NVIDIA_P100_GPUS number

COMMITTED_NVIDIA_P100_GPUS value

COMMITTED_NVIDIA_P4_GPUS number

COMMITTED_NVIDIA_P4_GPUS value

COMMITTED_NVIDIA_T4_GPUS number

COMMITTED_NVIDIA_T4_GPUS value

COMMITTED_NVIDIA_V100_GPUS number

COMMITTED_NVIDIA_V100_GPUS value

COMMITTED_T2A_CPUS number

COMMITTED_T2A_CPUS value

COMMITTED_T2D_CPUS number

COMMITTED_T2D_CPUS value

CPUS number

CPUS value

CPUS_ALL_REGIONS number

CPUS_ALL_REGIONS value

DISKS_TOTAL_GB number

DISKS_TOTAL_GB value

E2_CPUS number

E2_CPUS value

EXTERNAL_MANAGED_FORWARDING_RULES number

EXTERNAL_MANAGED_FORWARDING_RULES value

EXTERNAL_NETWORK_LB_FORWARDING_RULES number

EXTERNAL_NETWORK_LB_FORWARDING_RULES value

EXTERNAL_PROTOCOL_FORWARDING_RULES number

EXTERNAL_PROTOCOL_FORWARDING_RULES value

EXTERNAL_VPN_GATEWAYS number

EXTERNAL_VPN_GATEWAYS value

FIREWALLS number

FIREWALLS value

FORWARDING_RULES number

FORWARDING_RULES value

GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES number

GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES value

GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES number

GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES value

GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES number

GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES value

GLOBAL_INTERNAL_ADDRESSES number

GLOBAL_INTERNAL_ADDRESSES value

GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES number

GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES value

GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES number

GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES value

GPUS_ALL_REGIONS number

GPUS_ALL_REGIONS value

HEALTH_CHECKS number

HEALTH_CHECKS value

IMAGES number

IMAGES value

INSTANCES number

INSTANCES value

INSTANCE_GROUPS number

INSTANCE_GROUPS value

INSTANCE_GROUP_MANAGERS number

INSTANCE_GROUP_MANAGERS value

INSTANCE_TEMPLATES number

INSTANCE_TEMPLATES value

INTERCONNECTS number

INTERCONNECTS value

INTERCONNECT_ATTACHMENTS_PER_REGION number

INTERCONNECT_ATTACHMENTS_PER_REGION value

INTERCONNECT_ATTACHMENTS_TOTAL_MBPS number

INTERCONNECT_ATTACHMENTS_TOTAL_MBPS value

INTERCONNECT_TOTAL_GBPS number

INTERCONNECT_TOTAL_GBPS value

INTERNAL_ADDRESSES number

INTERNAL_ADDRESSES value

INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES number

INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES value

IN_PLACE_SNAPSHOTS number

IN_PLACE_SNAPSHOTS value

IN_USE_ADDRESSES number

IN_USE_ADDRESSES value

IN_USE_BACKUP_SCHEDULES number

IN_USE_BACKUP_SCHEDULES value

IN_USE_SNAPSHOT_SCHEDULES number

IN_USE_SNAPSHOT_SCHEDULES value

LOCAL_SSD_TOTAL_GB number

LOCAL_SSD_TOTAL_GB value

M1_CPUS number

M1_CPUS value

M2_CPUS number

M2_CPUS value

M3_CPUS number

M3_CPUS value

MACHINE_IMAGES number

MACHINE_IMAGES value

N2A_CPUS number

N2A_CPUS value

N2D_CPUS number

N2D_CPUS value

N2_CPUS number

N2_CPUS value

NETWORKS number

NETWORKS value

NETWORK_ATTACHMENTS number

NETWORK_ATTACHMENTS value

NETWORK_ENDPOINT_GROUPS number

NETWORK_ENDPOINT_GROUPS value

NETWORK_FIREWALL_POLICIES number

NETWORK_FIREWALL_POLICIES value

NODE_GROUPS number

NODE_GROUPS value

NODE_TEMPLATES number

NODE_TEMPLATES value

NVIDIA_A100_80GB_GPUS number

NVIDIA_A100_80GB_GPUS value

NVIDIA_A100_GPUS number

NVIDIA_A100_GPUS value

NVIDIA_K80_GPUS number

NVIDIA_K80_GPUS value

NVIDIA_P100_GPUS number

NVIDIA_P100_GPUS value

NVIDIA_P100_VWS_GPUS number

NVIDIA_P100_VWS_GPUS value

NVIDIA_P4_GPUS number

NVIDIA_P4_GPUS value

NVIDIA_P4_VWS_GPUS number

NVIDIA_P4_VWS_GPUS value

NVIDIA_T4_GPUS number

NVIDIA_T4_GPUS value

NVIDIA_T4_VWS_GPUS number

NVIDIA_T4_VWS_GPUS value

NVIDIA_V100_GPUS number

NVIDIA_V100_GPUS value

PACKET_MIRRORINGS number

PACKET_MIRRORINGS value

PD_EXTREME_TOTAL_PROVISIONED_IOPS number

PD_EXTREME_TOTAL_PROVISIONED_IOPS value

PREEMPTIBLE_CPUS number

PREEMPTIBLE_CPUS value

PREEMPTIBLE_LOCAL_SSD_GB number

PREEMPTIBLE_LOCAL_SSD_GB value

PREEMPTIBLE_NVIDIA_A100_80GB_GPUS number

PREEMPTIBLE_NVIDIA_A100_80GB_GPUS value

PREEMPTIBLE_NVIDIA_A100_GPUS number

PREEMPTIBLE_NVIDIA_A100_GPUS value

PREEMPTIBLE_NVIDIA_K80_GPUS number

PREEMPTIBLE_NVIDIA_K80_GPUS value

PREEMPTIBLE_NVIDIA_P100_GPUS number

PREEMPTIBLE_NVIDIA_P100_GPUS value

PREEMPTIBLE_NVIDIA_P100_VWS_GPUS number

PREEMPTIBLE_NVIDIA_P100_VWS_GPUS value

PREEMPTIBLE_NVIDIA_P4_GPUS number

PREEMPTIBLE_NVIDIA_P4_GPUS value

PREEMPTIBLE_NVIDIA_P4_VWS_GPUS number

PREEMPTIBLE_NVIDIA_P4_VWS_GPUS value

PREEMPTIBLE_NVIDIA_T4_GPUS number

PREEMPTIBLE_NVIDIA_T4_GPUS value

PREEMPTIBLE_NVIDIA_T4_VWS_GPUS number

PREEMPTIBLE_NVIDIA_T4_VWS_GPUS value

PREEMPTIBLE_NVIDIA_V100_GPUS number

PREEMPTIBLE_NVIDIA_V100_GPUS value

PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK number

PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK value

PSC_INTERNAL_LB_FORWARDING_RULES number

PSC_INTERNAL_LB_FORWARDING_RULES value

PUBLIC_ADVERTISED_PREFIXES number

PUBLIC_ADVERTISED_PREFIXES value

PUBLIC_DELEGATED_PREFIXES number

PUBLIC_DELEGATED_PREFIXES value

REGIONAL_AUTOSCALERS number

REGIONAL_AUTOSCALERS value

REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES number

REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES value

REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES number

REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES value

REGIONAL_INSTANCE_GROUP_MANAGERS number

REGIONAL_INSTANCE_GROUP_MANAGERS value

REGIONAL_INTERNAL_LB_BACKEND_SERVICES number

REGIONAL_INTERNAL_LB_BACKEND_SERVICES value

REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES number

REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES value

RESERVATIONS number

RESERVATIONS value

RESOURCE_POLICIES number

RESOURCE_POLICIES value

ROUTERS number

ROUTERS value

ROUTES number

ROUTES value

SECURITY_POLICIES number

SECURITY_POLICIES value

SECURITY_POLICIES_PER_REGION number

SECURITY_POLICIES_PER_REGION value

SECURITY_POLICY_CEVAL_RULES number

SECURITY_POLICY_CEVAL_RULES value

SECURITY_POLICY_RULES number

SECURITY_POLICY_RULES value

SECURITY_POLICY_RULES_PER_REGION number

SECURITY_POLICY_RULES_PER_REGION value

SERVICE_ATTACHMENTS number

SERVICE_ATTACHMENTS value

SNAPSHOTS number

SNAPSHOTS value

SSD_TOTAL_GB number

SSD_TOTAL_GB value

SSL_CERTIFICATES number

SSL_CERTIFICATES value

STATIC_ADDRESSES number

STATIC_ADDRESSES value

STATIC_BYOIP_ADDRESSES number

STATIC_BYOIP_ADDRESSES value

STATIC_EXTERNAL_IPV6_ADDRESS_RANGES number

STATIC_EXTERNAL_IPV6_ADDRESS_RANGES value

SUBNETWORKS number

SUBNETWORKS value

T2A_CPUS number

T2A_CPUS value

T2D_CPUS number

T2D_CPUS value

TARGET_HTTPS_PROXIES number

TARGET_HTTPS_PROXIES value

TARGET_HTTP_PROXIES number

TARGET_HTTP_PROXIES value

TARGET_INSTANCES number

TARGET_INSTANCES value

TARGET_POOLS number

TARGET_POOLS value

TARGET_SSL_PROXIES number

TARGET_SSL_PROXIES value

TARGET_TCP_PROXIES number

TARGET_TCP_PROXIES value

TARGET_VPN_GATEWAYS number

TARGET_VPN_GATEWAYS value

URL_MAPS number

URL_MAPS value

VPN_GATEWAYS number

VPN_GATEWAYS value

VPN_TUNNELS number

VPN_TUNNELS value

XPN_SERVICE_PROJECTS number

XPN_SERVICE_PROJECTS value

Methods

toJSON() → {Object.<string, *>}

Converts this Quota to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.Quota}

Creates a new Quota instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IQuota <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.Quota

Quota instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.Quota}

Decodes a Quota message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.Quota

Quota

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.Quota}

Decodes a Quota message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.Quota

Quota

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified Quota message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IQuota

Quota message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified Quota message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IQuota

Quota message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.Quota}

Creates a Quota message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.Quota

Quota

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Quota

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Quota message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.Quota

Quota

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a Quota message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not