Google Cloud KMS Inventory V1 Client - Class SearchProtectedResourcesRequest (0.1.2)

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

Request message for KeyTrackingService.SearchProtectedResources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ scope string

Required. Resource name of the organization. Example: organizations/123

↳ crypto_key string

Required. The resource name of the CryptoKey.

↳ page_size int

The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.

↳ page_token string

A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.

getScope

Required. Resource name of the organization.

Example: organizations/123

Returns
TypeDescription
string

setScope

Required. Resource name of the organization.

Example: organizations/123

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCryptoKey

Required. The resource name of the CryptoKey.

Returns
TypeDescription
string

setCryptoKey

Required. The resource name of the CryptoKey.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of resources to return. The service may return fewer than this value.

If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.

Returns
TypeDescription
int

setPageSize

The maximum number of resources to return. The service may return fewer than this value.

If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this