Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ListSSHKeysRequest.
Message for listing the public SSH keys in a project.
Generated from protobuf messagegoogle.cloud.baremetalsolution.v2.ListSSHKeysRequest
Namespace
Google \ Cloud \ BareMetalSolution \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent containing the SSH keys. Currently, the only valid value for the location is "global".
↳ page_size
int
The maximum number of items to return.
↳ page_token
string
The next_page_token value returned from a previous List request, if any.
getParent
Required. The parent containing the SSH keys.
Currently, the only valid value for the location is "global".
Returns
Type
Description
string
setParent
Required. The parent containing the SSH keys.
Currently, the only valid value for the location is "global".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of items to return.
Returns
Type
Description
int
setPageSize
The maximum number of items to return.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
The next_page_token value returned from a previous List request, if any.
Returns
Type
Description
string
setPageToken
The next_page_token value returned from a previous List request, if any.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent containing the SSH keys.
Currently, the only valid value for the location is "global". Please seeBareMetalSolutionClient::locationName()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,["# Google Cloud Bare Metal Solution V2 Client - Class ListSSHKeysRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.ListSSHKeysRequest)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.ListSSHKeysRequest)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.ListSSHKeysRequest)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.ListSSHKeysRequest)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.ListSSHKeysRequest)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.ListSSHKeysRequest)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.ListSSHKeysRequest) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ListSSHKeysRequest.\n\nMessage for listing the public SSH keys in a project.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.ListSSHKeysRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent containing the SSH keys.\n\nCurrently, the only valid value for the location is \"global\".\n\n### setParent\n\nRequired. The parent containing the SSH keys.\n\nCurrently, the only valid value for the location is \"global\".\n\n### getPageSize\n\nThe maximum number of items to return.\n\n### setPageSize\n\nThe maximum number of items to return.\n\n### getPageToken\n\nThe next_page_token value returned from a previous List request, if any.\n\n### setPageToken\n\nThe next_page_token value returned from a previous List request, if any.\n\n### static::build"]]