Google Cloud Security Command Center V1p1beta1 Client - Class ListSourcesResponse (1.17.0)

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

Response message for listing sources.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1p1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ sources array<Google\Cloud\SecurityCenter\V1p1beta1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSources

Sources belonging to the requested parent.

Parameter
NameDescription
var array<Google\Cloud\SecurityCenter\V1p1beta1\Source>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this