Google Cloud Security Command Center V1 Client - Class ListSourcesResponse (1.31.0)

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

Response message for listing sources.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sources array<Google\Cloud\SecurityCenter\V1\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\V1\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