Class ResourceCommitment
Commitment for a particular resource (a Commitment is composed of one or more of these).
Inheritance
System.Object
ResourceCommitment
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class ResourceCommitment : IDirectResponseSchema
Properties
AcceleratorType
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
Declaration
[JsonProperty("acceleratorType")]
public virtual string AcceleratorType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Amount
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
Declaration
[JsonProperty("amount")]
public virtual long? Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |