Google Cloud Security Command Center V2 Client - Class ListSourcesResponse (1.28.1)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class ListSourcesResponse.

Response message for listing sources.

Generated from protobuf message google.cloud.securitycenter.v2.ListSourcesResponse

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sources array<Google\Cloud\SecurityCenter\V2\Source>

Sources belonging to the requested parent.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results.

getSources

Sources belonging to the requested parent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSources

Sources belonging to the requested parent.

Parameter
Name Description
var array<Google\Cloud\SecurityCenter\V2\Source>
Returns
Type Description
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results.

Returns
Type Description
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results.

Parameter
Name Description
var string
Returns
Type Description
$this