Google Cloud Asset V1 Client - Class UpdateFeedRequest (1.10.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class UpdateFeedRequest.

Update asset feed request.

Generated from protobuf message google.cloud.asset.v1.UpdateFeedRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ feed Google\Cloud\Asset\V1\Feed

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

↳ update_mask Google\Protobuf\FieldMask

Required. Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

getFeed

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

Returns
TypeDescription
Google\Cloud\Asset\V1\Feed|null

hasFeed

clearFeed

setFeed

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.

Parameter
NameDescription
var Google\Cloud\Asset\V1\Feed
Returns
TypeDescription
$this

getUpdateMask

Required. Only updates the feed fields indicated by this mask.

The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Only updates the feed fields indicated by this mask.

The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this