Google Cloud Asset V1 Client - Class UpdateFeedRequest (2.0.0)

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var Google\Cloud\Asset\V1\Feed
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameter
Name Description
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.

Returns
Type Description
Google\Cloud\Asset\V1\UpdateFeedRequest