Google Cloud Asset V1 Client - Class UpdateFeedRequest (1.9.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.

Generated from protobuf field .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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