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

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

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.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Source sources = 1;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSources

Sources belonging to the requested parent.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Source sources = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
Type Description
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
Name Description
var string
Returns
Type Description
$this