Generated from protobuf messagegoogle.cloud.kms.v1.ListCryptoKeysRequest
Namespace
Google \ Cloud \ Kms \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of theKeyRingto list, in the formatprojects/*/locations/*/keyRings/*.
↳ page_size
int
Optional. Optional limit on the number ofCryptoKeysto include in the response. FurtherCryptoKeyscan subsequently be obtained by including theListCryptoKeysResponse.next_page_tokenin a subsequent request. If unspecified, the server will pick an appropriate default.
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, seeSorting and filtering list results.
getParent
Required. The resource name of theKeyRingto list, in the formatprojects/*/locations/*/keyRings/*.
Returns
Type
Description
string
setParent
Required. The resource name of theKeyRingto list, in the formatprojects/*/locations/*/keyRings/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. Optional limit on the number ofCryptoKeysto include in the response.
Optional. Specify how the results should be sorted. If not specified, the
results will be sorted in the default order. For more information, seeSorting and filtering list
results.
Returns
Type
Description
string
setOrderBy
Optional. Specify how the results should be sorted. If not specified, the
results will be sorted in the default order. For more information, seeSorting and filtering list
results.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The resource name of theKeyRingto list, in the formatprojects/*/locations/*/keyRings/*. Please seeKeyManagementServiceClient::keyRingName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud KMS V1 Client - Class ListCryptoKeysRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-kms/latest/V1.ListCryptoKeysRequest)\n- [2.3.0](/php/docs/reference/cloud-kms/2.3.0/V1.ListCryptoKeysRequest)\n- [2.2.0](/php/docs/reference/cloud-kms/2.2.0/V1.ListCryptoKeysRequest)\n- [2.1.6](/php/docs/reference/cloud-kms/2.1.6/V1.ListCryptoKeysRequest)\n- [2.0.0](/php/docs/reference/cloud-kms/2.0.0/V1.ListCryptoKeysRequest)\n- [1.23.0](/php/docs/reference/cloud-kms/1.23.0/V1.ListCryptoKeysRequest)\n- [1.22.1](/php/docs/reference/cloud-kms/1.22.1/V1.ListCryptoKeysRequest)\n- [1.21.4](/php/docs/reference/cloud-kms/1.21.4/V1.ListCryptoKeysRequest)\n- [1.20.3](/php/docs/reference/cloud-kms/1.20.3/V1.ListCryptoKeysRequest)\n- [1.19.0](/php/docs/reference/cloud-kms/1.19.0/V1.ListCryptoKeysRequest)\n- [1.18.1](/php/docs/reference/cloud-kms/1.18.1/V1.ListCryptoKeysRequest)\n- [1.17.0](/php/docs/reference/cloud-kms/1.17.0/V1.ListCryptoKeysRequest)\n- [1.16.4](/php/docs/reference/cloud-kms/1.16.4/V1.ListCryptoKeysRequest)\n- [1.15.3](/php/docs/reference/cloud-kms/1.15.3/V1.ListCryptoKeysRequest) \nReference documentation and code samples for the Cloud KMS V1 Client class ListCryptoKeysRequest.\n\nRequest message for\n[KeyManagementService.ListCryptoKeys](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient#_Google_Cloud_Kms_V1_Client_KeyManagementServiceClient__listCryptoKeys__).\n\nGenerated from protobuf message `google.cloud.kms.v1.ListCryptoKeysRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Kms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the [KeyRing](/php/docs/reference/cloud-kms/latest/V1.KeyRing)\nto list, in the format `projects/*/locations/*/keyRings/*`.\n\n### setParent\n\nRequired. The resource name of the [KeyRing](/php/docs/reference/cloud-kms/latest/V1.KeyRing)\nto list, in the format `projects/*/locations/*/keyRings/*`.\n\n### getPageSize\n\nOptional. Optional limit on the number of\n[CryptoKeys](/php/docs/reference/cloud-kms/latest/V1.CryptoKey) to include in the response.\n\nFurther [CryptoKeys](/php/docs/reference/cloud-kms/latest/V1.CryptoKey) can subsequently be\nobtained by including the\n[ListCryptoKeysResponse.next_page_token](/php/docs/reference/cloud-kms/latest/V1.ListCryptoKeysResponse#_Google_Cloud_Kms_V1_ListCryptoKeysResponse__getNextPageToken__)\nin a subsequent request. If unspecified, the server will pick an\nappropriate default.\n\n### setPageSize\n\nOptional. Optional limit on the number of\n[CryptoKeys](/php/docs/reference/cloud-kms/latest/V1.CryptoKey) to include in the response.\n\nFurther [CryptoKeys](/php/docs/reference/cloud-kms/latest/V1.CryptoKey) can subsequently be\nobtained by including the\n[ListCryptoKeysResponse.next_page_token](/php/docs/reference/cloud-kms/latest/V1.ListCryptoKeysResponse#_Google_Cloud_Kms_V1_ListCryptoKeysResponse__getNextPageToken__)\nin a subsequent request. If unspecified, the server will pick an\nappropriate default.\n\n### getPageToken\n\nOptional. Optional pagination token, returned earlier via\n[ListCryptoKeysResponse.next_page_token](/php/docs/reference/cloud-kms/latest/V1.ListCryptoKeysResponse#_Google_Cloud_Kms_V1_ListCryptoKeysResponse__getNextPageToken__).\n\n### setPageToken\n\nOptional. Optional pagination token, returned earlier via\n[ListCryptoKeysResponse.next_page_token](/php/docs/reference/cloud-kms/latest/V1.ListCryptoKeysResponse#_Google_Cloud_Kms_V1_ListCryptoKeysResponse__getNextPageToken__).\n\n### getVersionView\n\nThe fields of the primary version to include in the response.\n\n### setVersionView\n\nThe fields of the primary version to include in the response.\n\n### getFilter\n\nOptional. Only include resources that match the filter in the response. For\nmore information, see\n[Sorting and filtering list\nresults](https://cloud.google.com/kms/docs/sorting-and-filtering).\n\n### setFilter\n\nOptional. Only include resources that match the filter in the response. For\nmore information, see\n[Sorting and filtering list\nresults](https://cloud.google.com/kms/docs/sorting-and-filtering).\n\n### getOrderBy\n\nOptional. Specify how the results should be sorted. If not specified, the\nresults will be sorted in the default order. For more information, see\n[Sorting and filtering list\nresults](https://cloud.google.com/kms/docs/sorting-and-filtering).\n\n### setOrderBy\n\nOptional. Specify how the results should be sorted. If not specified, the\nresults will be sorted in the default order. For more information, see\n[Sorting and filtering list\nresults](https://cloud.google.com/kms/docs/sorting-and-filtering).\n\n### static::build"]]