GetRegionCommitmentResult

data class GetRegionCommitmentResult(val autoRenew: Boolean, val category: String, val creationTimestamp: String, val description: String, val endTimestamp: String, val kind: String, val licenseResource: LicenseResourceCommitmentResponse, val mergeSourceCommitments: List<String>, val name: String, val plan: String, val region: String, val reservations: List<ReservationResponse>, val resources: List<ResourceCommitmentResponse>, val selfLink: String, val splitSourceCommitment: String, val startTimestamp: String, val status: String, val statusMessage: String, val type: String)

Constructors

Link copied to clipboard
fun GetRegionCommitmentResult(autoRenew: Boolean, category: String, creationTimestamp: String, description: String, endTimestamp: String, kind: String, licenseResource: LicenseResourceCommitmentResponse, mergeSourceCommitments: List<String>, name: String, plan: String, region: String, reservations: List<ReservationResponse>, resources: List<ResourceCommitmentResponse>, selfLink: String, splitSourceCommitment: String, startTimestamp: String, status: String, statusMessage: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.

Link copied to clipboard

The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.

Link copied to clipboard

Creation timestamp in RFC3339 text format.

Link copied to clipboard

An optional description of this resource. Provide this property when you create the resource.

Link copied to clipboard

Commitment end time in RFC3339 text format.

Link copied to clipboard

Type of the resource. Always compute#commitment for commitments.

Link copied to clipboard

The license specification required as part of a license commitment.

Link copied to clipboard

List of source commitments to be merged into a new commitment.

Link copied to clipboard

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Link copied to clipboard

The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).

Link copied to clipboard

URL of the region where this commitment may be used.

Link copied to clipboard

List of reservations in this commitment.

Link copied to clipboard

A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.

Link copied to clipboard

Server-defined URL for the resource.

Link copied to clipboard

Source commitment to be split into a new commitment.

Link copied to clipboard

Commitment start time in RFC3339 text format.

Link copied to clipboard

Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.

Link copied to clipboard

An optional, human-readable explanation of the status.

Link copied to clipboard

The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.