Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
apiOperations[]
string
Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
definitions[]
string
Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}
deployments[]
string
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is projects/{project}/locations/{location}/deployments/{deployment}
Output only. The time at which the version was created.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. The time at which the version was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Optional. The lifecycle of the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-lifecycle attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
Optional. The compliance associated with the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-compliance attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
Optional. The accreditations associated with the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-accreditation attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
selectedDeployment
string
Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is projects/{project}/locations/{location}/deployments/{deployment}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThe Version resource in API hub represents a specific version of an API, also known as the API version.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a Version includes details such as \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, \u003ccode\u003edescription\u003c/code\u003e, associated \u003ccode\u003edocumentation\u003c/code\u003e, \u003ccode\u003especs\u003c/code\u003e, \u003ccode\u003eapiOperations\u003c/code\u003e, \u003ccode\u003edefinitions\u003c/code\u003e, and \u003ccode\u003edeployments\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach Version resource can have optional metadata like \u003ccode\u003elifecycle\u003c/code\u003e, \u003ccode\u003ecompliance\u003c/code\u003e, \u003ccode\u003eaccreditation\u003c/code\u003e, and custom \u003ccode\u003eattributes\u003c/code\u003e, providing a wide range of associated data points.\u003c/p\u003e\n"],["\u003cp\u003eKey fields within a Version include \u003ccode\u003ecreateTime\u003c/code\u003e and \u003ccode\u003eupdateTime\u003c/code\u003e timestamps, as well as \u003ccode\u003especs[]\u003c/code\u003e, \u003ccode\u003eapiOperations[]\u003c/code\u003e, and \u003ccode\u003edefinitions[]\u003c/code\u003e which can link to other resources.\u003c/p\u003e\n"],["\u003cp\u003eThere are several methods available to interact with API versions, including creating, deleting, retrieving, listing, and updating them.\u003c/p\u003e\n"]]],[],null,[]]