(::Google::Protobuf::FieldMask) — Required. The update mask applies to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
value (::Google::Protobuf::FieldMask) — Required. The update mask applies to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Returns
(::Google::Protobuf::FieldMask) — Required. The update mask applies to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
[[["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,["# Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::UpdateFileRequest (v1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [1.4.1](/ruby/docs/reference/google-cloud-artifact_registry-v1/1.4.1/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/1.3.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/1.2.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/1.1.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-artifact_registry-v1/1.0.1/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.13.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.12.2/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.11.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.10.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.9.1/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.8.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.7.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.6.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.5.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.4.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.3.0/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)\n- [0.2.2](/ruby/docs/reference/google-cloud-artifact_registry-v1/0.2.2/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest) \nReference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::UpdateFileRequest.\n\nThe request to update a file. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #file\n\n def file() -\u003e ::Google::Cloud::ArtifactRegistry::V1::File\n\n**Returns**\n\n- ([::Google::Cloud::ArtifactRegistry::V1::File](./Google-Cloud-ArtifactRegistry-V1-File)) --- Required. The File that replaces the resource on the server.\n\n### #file=\n\n def file=(value) -\u003e ::Google::Cloud::ArtifactRegistry::V1::File\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ArtifactRegistry::V1::File](./Google-Cloud-ArtifactRegistry-V1-File)) --- Required. The File that replaces the resource on the server. \n**Returns**\n\n- ([::Google::Cloud::ArtifactRegistry::V1::File](./Google-Cloud-ArtifactRegistry-V1-File)) --- Required. The File that replaces the resource on the server.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask"]]