BuildCache

@Serializable
data class BuildCache(val ID: String? = null, val parent: String? = null, val parents: List<String>? = null, val type: BuildCache.Type? = null, val description: String? = null, val inUse: Boolean? = null, val shared: Boolean? = null, val propertySize: Int? = null, val createdAt: String? = null, val lastUsedAt: String? = null, val usageCount: Int? = null)

BuildCache contains information about a build cache record.

Parameters

ID

Unique ID of the build cache record.

parent

ID of the parent build cache record. >Deprecated: This field is deprecated, and omitted if empty.

parents

List of parent build cache record IDs.

type

Cache record type.

description

Description of the build-step that produced the build cache.

inUse

Indicates if the build cache is in use.

shared

Indicates if the build cache is shared.

propertySize

Amount of disk space used by the build cache (in bytes).

createdAt

Date and time at which the build cache was created in RFC 3339 format with nano-seconds.

lastUsedAt

Date and time at which the build cache was last used in RFC 3339 format with nano-seconds.

usageCount

Constructors

Link copied to clipboard
constructor(ID: String? = null, parent: String? = null, parents: List<String>? = null, type: BuildCache.Type? = null, description: String? = null, inUse: Boolean? = null, shared: Boolean? = null, propertySize: Int? = null, createdAt: String? = null, lastUsedAt: String? = null, usageCount: Int? = null)

Types

Link copied to clipboard
@Serializable
enum Type : Enum<BuildCache.Type>

Cache record type.

Properties

Link copied to clipboard
@SerialName(value = "CreatedAt")
val createdAt: String?
Link copied to clipboard
@SerialName(value = "Description")
val description: String?
Link copied to clipboard
@SerialName(value = "ID")
val ID: String?
Link copied to clipboard
@SerialName(value = "InUse")
val inUse: Boolean?
Link copied to clipboard
@SerialName(value = "LastUsedAt")
val lastUsedAt: String?
Link copied to clipboard
@SerialName(value = "Parent")
val parent: String?
Link copied to clipboard
@SerialName(value = "Parents")
val parents: List<String>?
Link copied to clipboard
@SerialName(value = "Size")
val propertySize: Int?
Link copied to clipboard
@SerialName(value = "Shared")
val shared: Boolean?
Link copied to clipboard
@SerialName(value = "Type")
val type: BuildCache.Type?
Link copied to clipboard
@SerialName(value = "UsageCount")
val usageCount: Int?