(::String) — Optional. Filter string, adhering to the rules in
List-operation
filtering. List
only secrets matching the filter. If filter is empty, all secrets are
listed.
#filter=
deffilter=(value)->::String
Parameter
value (::String) — Optional. Filter string, adhering to the rules in
List-operation
filtering. List
only secrets matching the filter. If filter is empty, all secrets are
listed.
Returns
(::String) — Optional. Filter string, adhering to the rules in
List-operation
filtering. List
only secrets matching the filter. If filter is empty, all secrets are
listed.
#page_size
defpage_size()->::Integer
Returns
(::Integer) — Optional. The maximum number of results to be returned in a single page. If
set to 0, the server decides the number of results to return. If the
number is greater than 25000, it is capped at 25000.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — Optional. The maximum number of results to be returned in a single page. If
set to 0, the server decides the number of results to return. If the
number is greater than 25000, it is capped at 25000.
Returns
(::Integer) — Optional. The maximum number of results to be returned in a single page. If
set to 0, the server decides the number of results to return. If the
number is greater than 25000, it is capped at 25000.
[[["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-09 UTC."],[],[],null,["# Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::ListSecretsRequest (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-secret_manager-v1/1.3.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-secret_manager-v1/1.2.1/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-secret_manager-v1/1.1.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-secret_manager-v1/1.0.1/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.21.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.20.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.19.2](/ruby/docs/reference/google-cloud-secret_manager-v1/0.19.2/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.18.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.17.2](/ruby/docs/reference/google-cloud-secret_manager-v1/0.17.2/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.16.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.15.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.14.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.13.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-secret_manager-v1/0.12.0/Google-Cloud-SecretManager-V1-ListSecretsRequest)\n- [0.11.3](/ruby/docs/reference/google-cloud-secret_manager-v1/0.11.3/Google-Cloud-SecretManager-V1-ListSecretsRequest) \nReference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::ListSecretsRequest.\n\nRequest message for\n[SecretManagerService.ListSecrets](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-SecretManagerService-Client#Google__Cloud__SecretManager__V1__SecretManagerService__Client_list_secrets_instance_ \"Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secrets (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Filter string, adhering to the rules in [List-operation\n filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Filter string, adhering to the rules in [List-operation\nfiltering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. \n**Returns**\n\n- (::String) --- Optional. Filter string, adhering to the rules in [List-operation\n filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. \n**Returns**\n\n- (::Integer) --- Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Pagination token, returned earlier via [ListSecretsResponse.next_page_token](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-ListSecretsResponse#Google__Cloud__SecretManager__V1__ListSecretsResponse_next_page_token_instance_ \"Google::Cloud::SecretManager::V1::ListSecretsResponse#next_page_token (method)\").\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Pagination token, returned earlier via [ListSecretsResponse.next_page_token](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-ListSecretsResponse#Google__Cloud__SecretManager__V1__ListSecretsResponse_next_page_token_instance_ \"Google::Cloud::SecretManager::V1::ListSecretsResponse#next_page_token (method)\"). \n**Returns**\n\n- (::String) --- Optional. Pagination token, returned earlier via [ListSecretsResponse.next_page_token](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-ListSecretsResponse#Google__Cloud__SecretManager__V1__ListSecretsResponse_next_page_token_instance_ \"Google::Cloud::SecretManager::V1::ListSecretsResponse#next_page_token (method)\").\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the project associated with the [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-Secret \"Google::Cloud::SecretManager::V1::Secret (class)\"), in the format `projects/*` or `projects/*/locations/*`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the project associated with the [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-Secret \"Google::Cloud::SecretManager::V1::Secret (class)\"), in the format `projects/*` or `projects/*/locations/*` \n**Returns**\n\n- (::String) --- Required. The resource name of the project associated with the [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1/latest/Google-Cloud-SecretManager-V1-Secret \"Google::Cloud::SecretManager::V1::Secret (class)\"), in the format `projects/*` or `projects/*/locations/*`"]]