Operation Response
data class OperationResponse(val clientOperationId: String, val creationTimestamp: String, val description: String, val endTime: String, val error: OperationErrorResponse, val httpErrorMessage: String, val httpErrorStatusCode: Int, val insertTime: String, val kind: String, val name: String, val operationGroupId: String, val operationType: String, val progress: Int, val region: String, val selfLink: String, val startTime: String, val status: String, val statusMessage: String, val targetId: String, val targetLink: String, val user: String, val warnings: List<OperationWarningsItemResponse>, val zone: String)
Represents an Operation resource. Google Compute Engine has three Operation resources: * /compute/docs/reference/rest/{$api_version}/globalOperations * /compute/docs/reference/rest/{$api_version}/regionOperations * /compute/docs/reference/rest/{$api_version}/zoneOperations You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations
resource. - For regional operations, use the regionOperations
resource. - For zonal operations, use the zonalOperations
resource. For more information, read Global, Regional, and Zonal Resources.
Constructors
Link copied to clipboard
fun OperationResponse(clientOperationId: String, creationTimestamp: String, description: String, endTime: String, error: OperationErrorResponse, httpErrorMessage: String, httpErrorStatusCode: Int, insertTime: String, kind: String, name: String, operationGroupId: String, operationType: String, progress: Int, region: String, selfLink: String, startTime: String, status: String, statusMessage: String, targetId: String, targetLink: String, user: String, warnings: List<OperationWarningsItemResponse>, zone: String)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard