[[["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-08-28 UTC."],[],[],null,["# Secret Manager V1beta1 API - Class Google::Cloud::SecretManager::V1beta1::ListSecretsResponse (v0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.17.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.17.2/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.16.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.16.0/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.15.1](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.15.1/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.14.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.14.2/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.13.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.13.0/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.12.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.12.2/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.11.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.11.0/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.10.0/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.9.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.9.0/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse)\n- [0.8.5](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.8.5/Google-Cloud-SecretManager-V1beta1-ListSecretsResponse) \nReference documentation and code samples for the Secret Manager V1beta1 API class Google::Cloud::SecretManager::V1beta1::ListSecretsResponse.\n\nResponse message for\n[SecretManagerService.ListSecrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-SecretManagerService-Client#Google__Cloud__SecretManager__V1beta1__SecretManagerService__Client_list_secrets_instance_ \"Google::Cloud::SecretManager::V1beta1::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### #next_page_token\n\n def next_page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-ListSecretsRequest#Google__Cloud__SecretManager__V1beta1__ListSecretsRequest_page_token_instance_ \"Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token (method)\") to retrieve the next page.\n\n### #next_page_token=\n\n def next_page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-ListSecretsRequest#Google__Cloud__SecretManager__V1beta1__ListSecretsRequest_page_token_instance_ \"Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token (method)\") to retrieve the next page. \n**Returns**\n\n- (::String) --- A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-ListSecretsRequest#Google__Cloud__SecretManager__V1beta1__ListSecretsRequest_page_token_instance_ \"Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token (method)\") to retrieve the next page.\n\n### #secrets\n\n def secrets() -\u003e ::Array\u003c::Google::Cloud::SecretManager::V1beta1::Secret\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::SecretManager::V1beta1::Secret](./Google-Cloud-SecretManager-V1beta1-Secret)\\\u003e) --- The list of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") sorted in reverse by create_time (newest first).\n\n### #secrets=\n\n def secrets=(value) -\u003e ::Array\u003c::Google::Cloud::SecretManager::V1beta1::Secret\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::SecretManager::V1beta1::Secret](./Google-Cloud-SecretManager-V1beta1-Secret)\\\u003e) --- The list of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") sorted in reverse by create_time (newest first). \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::SecretManager::V1beta1::Secret](./Google-Cloud-SecretManager-V1beta1-Secret)\\\u003e) --- The list of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") sorted in reverse by create_time (newest first).\n\n### #total_size\n\n def total_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The total number of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\").\n\n### #total_size=\n\n def total_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The total number of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\"). \n**Returns**\n\n- (::Integer) --- The total number of [Secrets](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\")."]]