The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
↳ allow_missing
bool
If set to true, and the spec is not found, a new spec will be created. In this situation,update_maskis ignored.
getApiSpec
Required. The spec to update.
Thenamefield is used to identify the spec to update.
Format:projects/*/locations/*/apis/*/versions/*/specs/*
The list of fields to be updated. If omitted, all fields are updated that
are set in the request message (fields set to default values are ignored).
If an asterisk "*" is specified, all fields are updated, including fields
that are unspecified/default in the request.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Apigee Registry V1 Client - Class UpdateApiSpecRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-apigee-registry/latest/V1.UpdateApiSpecRequest)\n- [1.0.3](/php/docs/reference/cloud-apigee-registry/1.0.3/V1.UpdateApiSpecRequest)\n- [0.5.5](/php/docs/reference/cloud-apigee-registry/0.5.5/V1.UpdateApiSpecRequest)\n- [0.4.2](/php/docs/reference/cloud-apigee-registry/0.4.2/V1.UpdateApiSpecRequest)\n- [0.3.2](/php/docs/reference/cloud-apigee-registry/0.3.2/V1.UpdateApiSpecRequest)\n- [0.2.7](/php/docs/reference/cloud-apigee-registry/0.2.7/V1.UpdateApiSpecRequest) \nReference documentation and code samples for the Google Cloud Apigee Registry V1 Client class UpdateApiSpecRequest.\n\nRequest message for UpdateApiSpec.\n\nGenerated from protobuf message `google.cloud.apigeeregistry.v1.UpdateApiSpecRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApigeeRegistry \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getApiSpec\n\nRequired. The spec to update.\n\nThe `name` field is used to identify the spec to update.\nFormat: `projects/*/locations/*/apis/*/versions/*/specs/*`\n\n### hasApiSpec\n\n### clearApiSpec\n\n### setApiSpec\n\nRequired. The spec to update.\n\nThe `name` field is used to identify the spec to update.\nFormat: `projects/*/locations/*/apis/*/versions/*/specs/*`\n\n### getUpdateMask\n\nThe list of fields to be updated. If omitted, all fields are updated that\nare set in the request message (fields set to default values are ignored).\n\nIf an asterisk \"\\*\" is specified, all fields are updated, including fields\nthat are unspecified/default in the request.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe list of fields to be updated. If omitted, all fields are updated that\nare set in the request message (fields set to default values are ignored).\n\nIf an asterisk \"\\*\" is specified, all fields are updated, including fields\nthat are unspecified/default in the request.\n\n### getAllowMissing\n\nIf set to true, and the spec is not found, a new spec will be created.\n\nIn this situation, `update_mask` is ignored.\n\n### setAllowMissing\n\nIf set to true, and the spec is not found, a new spec will be created.\n\nIn this situation, `update_mask` is ignored.\n\n### static::build"]]