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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ protected_resources array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setProtectedResources

Protected resources for this page.

Parameter
Name Description
var array<ProtectedResource>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this