Reference documentation and code samples for the Stackdriver Logging V2 Client class UpdateViewRequest.
The parameters to UpdateView.
Generated from protobuf message google.logging.v2.UpdateViewRequest
Namespace
Google \ Cloud \ Logging \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: "projects/my-project/locations/global/buckets/my-bucket/views/my-view"
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
Returns
Type
Description
string
setName
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
For example:
"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
[[["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,["# Stackdriver Logging V2 Client - Class UpdateViewRequest (1.32.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.32.3 (latest)](/php/docs/reference/cloud-logging/latest/V2.UpdateViewRequest)\n- [1.32.2](/php/docs/reference/cloud-logging/1.32.2/V2.UpdateViewRequest)\n- [1.31.3](/php/docs/reference/cloud-logging/1.31.3/V2.UpdateViewRequest)\n- [1.30.3](/php/docs/reference/cloud-logging/1.30.3/V2.UpdateViewRequest)\n- [1.29.0](/php/docs/reference/cloud-logging/1.29.0/V2.UpdateViewRequest)\n- [1.28.5](/php/docs/reference/cloud-logging/1.28.5/V2.UpdateViewRequest)\n- [1.27.1](/php/docs/reference/cloud-logging/1.27.1/V2.UpdateViewRequest)\n- [1.26.0](/php/docs/reference/cloud-logging/1.26.0/V2.UpdateViewRequest)\n- [1.25.5](/php/docs/reference/cloud-logging/1.25.5/V2.UpdateViewRequest)\n- [1.24.10](/php/docs/reference/cloud-logging/1.24.10/V2.UpdateViewRequest) \nReference documentation and code samples for the Stackdriver Logging V2 Client class UpdateViewRequest.\n\nThe parameters to `UpdateView`.\n\nGenerated from protobuf message `google.logging.v2.UpdateViewRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Logging \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The full resource name of the view to update\n\"projects/\\[PROJECT_ID\\]/locations/\\[LOCATION_ID\\]/buckets/\\[BUCKET_ID\\]/views/\\[VIEW_ID\\]\"\nFor example:\n`\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"`\n\n### setName\n\nRequired. The full resource name of the view to update\n\"projects/\\[PROJECT_ID\\]/locations/\\[LOCATION_ID\\]/buckets/\\[BUCKET_ID\\]/views/\\[VIEW_ID\\]\"\nFor example:\n`\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"`\n\n### getView\n\nRequired. The updated view.\n\n### hasView\n\n### clearView\n\n### setView\n\nRequired. The updated view.\n\n### getUpdateMask\n\nOptional. Field mask that specifies the fields in `view` that need\nan update. A field will be overwritten if, and only if, it is\nin the update mask. `name` and output only fields cannot be updated.\n\nFor a detailed `FieldMask` definition, see\n\u003chttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask\u003e\nFor example: `updateMask=filter`\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nOptional. Field mask that specifies the fields in `view` that need\nan update. A field will be overwritten if, and only if, it is\nin the update mask. `name` and output only fields cannot be updated.\n\nFor a detailed `FieldMask` definition, see\n\u003chttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask\u003e\nFor example: `updateMask=filter`"]]