Google Cloud KMS Inventory V1 Client - Class SearchProtectedResourcesResponse (0.3.1)

Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class SearchProtectedResourcesResponse.

Response message for KeyTrackingService.SearchProtectedResources.

Generated from protobuf message google.cloud.kms.inventory.v1.SearchProtectedResourcesResponse

Namespace

Google \ Cloud \ Kms \ Inventory \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ protected_resources array<Google\Cloud\Kms\Inventory\V1\ProtectedResource>

Protected resources for this page.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getProtectedResources

Protected resources for this page.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProtectedResources

Protected resources for this page.

Parameter
NameDescription
var array<Google\Cloud\Kms\Inventory\V1\ProtectedResource>
Returns
TypeDescription
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this