| Branch |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The branch to associate with this package version. Can
be used to create a tree structure of inheritance. Upon
successful creation of a Package2Version, this value is
copied to the package version’s
Branch field.
The default
value is null.
|
| CalculateCodeCoverage |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort
- Description
- If true, code
coverage is calculated during package version creation.
If false, code
coverage isn’t calculated.
For second-generation
managed packages, a minimum 75% code coverage is
required for package version promotion. This field
is available in API version 47.0 and later.
|
| InstallKey |
- Type
- encryptedstring
- Properties
- Create, Nillable
- Description
- Installation key for installing a key-protected package.
The default is null.
Used only on insert. If you query
for this value, null is always returned (for security
reasons).
The default value is null.
|
| IsPasswordProtected |
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort
- Description
- Specifies whether installation of this package version
requires the user to provide an installation key
(true) or not
(false).
The
default value is null.
|
| Package2Id |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- A reference to an ID for the Package2 to create a
version of.
The default value is null.
|
| Package2VersionId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- A reference to an ID for the Package2Version that this
request creates (starts with 05i).
The default value is null.
|
| SkipValidation |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort
- Description
- If true, validation
is skipped during package version creation. Skipping
validation reduces the time it takes to create a new
package version, but package versions created without
validation can’t be promoted to the released state. This
field is available in API version 48.0 and later.
The
default value is false.
You can't specify both skip
validation and code coverage, because code coverage
is calculated during validation.
|
| SourceOrg |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- The ID of the org whose shape (features, settings,
limits, and licenses) information is used for creating
scratch orgs used to validate metadata during creation
of a second-generation managed package or unlocked
package. This field is available in API version 50.0 and
later.
|
| Status |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The status of the Package2Version creation request.
Valid values include:
- Queued
- InProgress
- Success
- Error
The default value is null.
|
| Tag |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Optional tags for the package version.
The default
value is null.
|
| VersionInfo |
- Type
- base64
- Properties
- Create
- Description
- The blob that stores details about the package
version.
The default value is null.
When
you query Package2VersionCreateRequest, data from
VersionInfo isn’t
returned.
|