---
schema_version: "1"
id: 1c826d56e14e239ec5d76da2947393d4937d6fb648e8ebe615192f579de1d6ef
title: DevopsQualityGate
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_devopsqualitygate.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_devopsqualitygate.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 76dae0a40fccd160e10c7a5c55a39d5461d60a3249a31ac0f8fccde76349dc5e
description: Defines a set of quality requirements that must be satisfied before a deployment or pipeline stage can proceed. It acts as a container for quality gate rules, enabling organizations to enforce testing and quality standards by evaluating test execution results against predefined criteria. Quality gates help ensure that only changes meeting established quality thresholds advance through the DevOps lifecycle. This object is available in API version 67.0 and later.
---
# DevopsQualityGate

Defines a set of quality requirements that must be satisfied before a deployment or pipeline stage can proceed. It acts as a container for quality gate rules, enabling organizations to enforce testing and quality standards by evaluating test execution results against predefined criteria. Quality gates help ensure that only changes meeting established quality thresholds advance through the DevOps lifecycle. This object is available in API version 67.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

textarea

Properties

Create, Nillable, Update

Description

Stores additional details, notes, or documentation about the quality gate.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, such as through a related record or list view.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Stores the name of the quality gate.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Identifies the user or queue that owns the quality gate record.

Relationship Name

Owner

Refers To

Group, User



 |