Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::ListSavedQueriesRequest.
Request to list saved queries.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#filter
deffilter()->::String
Returns
(::String) — Optional. The expression to filter resources.
The expression is a list of zero or more restrictions combined via logical
operators AND and OR. When AND and OR are both used in the
expression, parentheses must be appropriately used to group the
combinations. The expression may also contain regular expressions.
See https://google.aip.dev/160 for more information on the grammar.
#filter=
deffilter=(value)->::String
Parameter
value (::String) — Optional. The expression to filter resources.
The expression is a list of zero or more restrictions combined via logical
operators AND and OR. When AND and OR are both used in the
expression, parentheses must be appropriately used to group the
combinations. The expression may also contain regular expressions.
See https://google.aip.dev/160 for more information on the grammar.
Returns
(::String) — Optional. The expression to filter resources.
The expression is a list of zero or more restrictions combined via logical
operators AND and OR. When AND and OR are both used in the
expression, parentheses must be appropriately used to group the
combinations. The expression may also contain regular expressions.
See https://google.aip.dev/160 for more information on the grammar.
#page_size
defpage_size()->::Integer
Returns
(::Integer) — Optional. The maximum number of saved queries to return per page. The
service may return fewer than this value. If unspecified, at most 50 will
be returned. The maximum value is 1000; values above 1000 will be coerced
to 1000.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — Optional. The maximum number of saved queries to return per page. The
service may return fewer than this value. If unspecified, at most 50 will
be returned. The maximum value is 1000; values above 1000 will be coerced
to 1000.
Returns
(::Integer) — Optional. The maximum number of saved queries to return per page. The
service may return fewer than this value. If unspecified, at most 50 will
be returned. The maximum value is 1000; values above 1000 will be coerced
to 1000.
#page_token
defpage_token()->::String
Returns
(::String) — Optional. A page token, received from a previous ListSavedQueries call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSavedQueries must
match the call that provided the page token.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — Optional. A page token, received from a previous ListSavedQueries call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSavedQueries must
match the call that provided the page token.
Returns
(::String) — Optional. A page token, received from a previous ListSavedQueries call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSavedQueries must
match the call that provided the page token.
#parent
defparent()->::String
Returns
(::String) — Required. The parent project/folder/organization whose savedQueries are to
be listed. It can only be using project/folder/organization number (such as
"folders/12345")", or a project ID (such as "projects/my-project-id").
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The parent project/folder/organization whose savedQueries are to
be listed. It can only be using project/folder/organization number (such as
"folders/12345")", or a project ID (such as "projects/my-project-id").
Returns
(::String) — Required. The parent project/folder/organization whose savedQueries are to
be listed. It can only be using project/folder/organization number (such as
"folders/12345")", or a project ID (such as "projects/my-project-id").
[[["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,["# Cloud Asset V1 API - Class Google::Cloud::Asset::V1::ListSavedQueriesRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-ListSavedQueriesRequest)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-ListSavedQueriesRequest) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::ListSavedQueriesRequest.\n\nRequest to list saved queries. \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. The expression to filter resources. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. When `AND` and `OR` are both used in the expression, parentheses must be appropriately used to group the combinations. The expression may also contain regular expressions.\n\n\n See https://google.aip.dev/160 for more information on the grammar.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The expression to filter resources. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. When `AND` and `OR` are both used in the expression, parentheses must be appropriately used to group the combinations. The expression may also contain regular expressions.\n\n\nSee https://google.aip.dev/160 for more information on the grammar. \n**Returns**\n\n- (::String) --- Optional. The expression to filter resources. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. When `AND` and `OR` are both used in the expression, parentheses must be appropriately used to group the combinations. The expression may also contain regular expressions.\n\n\n See https://google.aip.dev/160 for more information on the grammar.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. The maximum number of saved queries to return per page. The service may return fewer than this value. If unspecified, at most 50 will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. The maximum number of saved queries to return per page. The service may return fewer than this value. If unspecified, at most 50 will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. \n**Returns**\n\n- (::Integer) --- Optional. The maximum number of saved queries to return per page. The service may return fewer than this value. If unspecified, at most 50 will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. A page token, received from a previous `ListSavedQueries` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListSavedQueries` must\n match the call that provided the page token.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. A page token, received from a previous `ListSavedQueries` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListSavedQueries` must\nmatch the call that provided the page token. \n**Returns**\n\n- (::String) --- Optional. A page token, received from a previous `ListSavedQueries` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListSavedQueries` must\n match the call that provided the page token.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent project/folder/organization whose savedQueries are to be listed. It can only be using project/folder/organization number (such as \"folders/12345\")\", or a project ID (such as \"projects/my-project-id\").\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent project/folder/organization whose savedQueries are to be listed. It can only be using project/folder/organization number (such as \"folders/12345\")\", or a project ID (such as \"projects/my-project-id\"). \n**Returns**\n\n- (::String) --- Required. The parent project/folder/organization whose savedQueries are to be listed. It can only be using project/folder/organization number (such as \"folders/12345\")\", or a project ID (such as \"projects/my-project-id\")."]]