Reference documentation and code samples for the Cloud KMS V1 Client class ListKeyRingsResponse.
Response message for KeyManagementService.ListKeyRings.
Generated from protobuf message google.cloud.kms.v1.ListKeyRingsResponse
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key_rings |
array<KeyRing>
The list of KeyRings. |
↳ next_page_token |
string
A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results. |
↳ total_size |
int
The total number of KeyRings that matched the query. This field is not populated if ListKeyRingsRequest.filter is applied. |
getKeyRings
The list of KeyRings.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setKeyRings
The list of KeyRings.
| Parameter | |
|---|---|
| Name | Description |
var |
array<KeyRing>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalSize
The total number of KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
| Returns | |
|---|---|
| Type | Description |
int |
|
setTotalSize
The total number of KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|