Compute Engine v1 API - Class Quota (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class Quota : IMessage<Quota>, IEquatable<Quota>, IDeepCloneable<Quota>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class Quota.
A quotas entry.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1
Assembly
Google.Cloud.Compute.V1.dll
Constructors
Quota()
Quota(Quota)
public Quota(Quota other)
Parameter |
---|
Name | Description |
other | Quota
|
Properties
HasLimit
public bool HasLimit { get; }
Gets whether the "limit" field is set
Property Value |
---|
Type | Description |
bool | |
HasMetric
public bool HasMetric { get; }
Gets whether the "metric" field is set
Property Value |
---|
Type | Description |
bool | |
HasOwner
public bool HasOwner { get; }
Gets whether the "owner" field is set
Property Value |
---|
Type | Description |
bool | |
HasUsage
public bool HasUsage { get; }
Gets whether the "usage" field is set
Property Value |
---|
Type | Description |
bool | |
Limit
public double Limit { get; set; }
[Output Only] Quota limit for this metric.
Property Value |
---|
Type | Description |
double | |
Metric
public string Metric { get; set; }
[Output Only] Name of the quota metric.
Check the Metric enum for the list of possible values.
Property Value |
---|
Type | Description |
string | |
Owner
public string Owner { get; set; }
[Output Only] Owning resource. This is the resource on which this quota is applied.
Property Value |
---|
Type | Description |
string | |
Usage
public double Usage { get; set; }
[Output Only] Current usage of this metric.
Property Value |
---|
Type | Description |
double | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]