Google Cloud Asset V1 Client - Class AssetEnrichment (2.2.2)

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

The enhanced metadata information for a resource.

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_owners ResourceOwners

The resource owners for a resource. Note that this field only contains the members that have "roles/owner" role in the resource's IAM Policy.

getResourceOwners

The resource owners for a resource.

Note that this field only contains the members that have "roles/owner" role in the resource's IAM Policy.

Returns
Type Description
ResourceOwners|null

hasResourceOwners

setResourceOwners

The resource owners for a resource.

Note that this field only contains the members that have "roles/owner" role in the resource's IAM Policy.

Parameter
Name Description
var ResourceOwners
Returns
Type Description
$this

getEnrichmentData

Returns
Type Description
string