Google Cloud Storage Control V2 Client - Class Contribution (1.9.0)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class Contribution.

Represents the contribution of the bucket towards the IntelligenceFinding.

Generated from protobuf message google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.BucketContribution.Contribution

Namespace

Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFinding \ ColdlineAndArchivalStorageOperationsSpike \ BucketContribution

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ top_prefixes array<Contribution\PrefixContribution>

Output only. A list of the top object prefixes driving the increase in operations.

getTopPrefixes

Output only. A list of the top object prefixes driving the increase in operations.

Returns
Type Description
Google\Protobuf\RepeatedField<Contribution\PrefixContribution>

setTopPrefixes

Output only. A list of the top object prefixes driving the increase in operations.

Parameter
Name Description
var array<Contribution\PrefixContribution>
Returns
Type Description
$this