Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::ListResourcesRequest.
A request to list Resources passed to a 'ListResources' call.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#filter
deffilter()->::String
Returns
(::String) —
Lists the Resources that match the filter expression. A filter
expression filters the resources listed in the response. The expression
must be of the form '{field} {operator} {value}' where operators: '<', '>',
'<=',
'>=',
'!=', '=', ':' are supported (colon ':' represents a HAS operator which is
roughly synonymous with equality). {field} can refer to a proto or JSON
field, or a synthetic field. Field names can be camelCase or snake_case.
Examples:
Filter by name:
name =
"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
#filter=
deffilter=(value)->::String
Parameter
value (::String) —
Lists the Resources that match the filter expression. A filter
expression filters the resources listed in the response. The expression
must be of the form '{field} {operator} {value}' where operators: '<', '>',
'<=',
'>=',
'!=', '=', ':' are supported (colon ':' represents a HAS operator which is
roughly synonymous with equality). {field} can refer to a proto or JSON
field, or a synthetic field. Field names can be camelCase or snake_case.
Examples:
Filter by name:
name =
"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
Returns
(::String) —
Lists the Resources that match the filter expression. A filter
expression filters the resources listed in the response. The expression
must be of the form '{field} {operator} {value}' where operators: '<', '>',
'<=',
'>=',
'!=', '=', ':' are supported (colon ':' represents a HAS operator which is
roughly synonymous with equality). {field} can refer to a proto or JSON
field, or a synthetic field. Field names can be camelCase or snake_case.
Examples:
Filter by name:
name =
"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
#order_by
deforder_by()->::String
Returns
(::String) — Field to use to sort the list.
#order_by=
deforder_by=(value)->::String
Parameter
value (::String) — Field to use to sort the list.
Returns
(::String) — Field to use to sort the list.
#page_size
defpage_size()->::Integer
Returns
(::Integer) — When requesting a page of resources, 'page_size' specifies number of
resources to return. If unspecified or set to 0, all resources will be
returned.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — When requesting a page of resources, 'page_size' specifies number of
resources to return. If unspecified or set to 0, all resources will be
returned.
Returns
(::Integer) — When requesting a page of resources, 'page_size' specifies number of
resources to return. If unspecified or set to 0, all resources will be
returned.
#page_token
defpage_token()->::String
Returns
(::String) — Token returned by previous call to 'ListResources' which specifies the
position in the list from where to continue listing the resources.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — Token returned by previous call to 'ListResources' which specifies the
position in the list from where to continue listing the resources.
Returns
(::String) — Token returned by previous call to 'ListResources' which specifies the
position in the list from where to continue listing the resources.
#parent
defparent()->::String
Returns
(::String) — Required. The parent in whose context the Resources are listed. The parent
value is in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The parent in whose context the Resources are listed. The parent
value is in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
Returns
(::String) — Required. The parent in whose context the Resources are listed. The parent
value is in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
[[["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,["# Infrastructure Manager V1 API - Class Google::Cloud::Config::V1::ListResourcesRequest (v0.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.0 (latest)](/ruby/docs/reference/google-cloud-config-v1/latest/Google-Cloud-Config-V1-ListResourcesRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-ListResourcesRequest) \nReference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::ListResourcesRequest.\n\nA request to list Resources passed to a 'ListResources' call. \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) --- Lists the Resources that match the filter expression. A filter\n expression filters the resources listed in the response. The expression\n must be of the form '{field} {operator} {value}' where operators: '\\\u003c', '\\\u003e',\n '\\\u003c=',\n '\\\u003e=',\n '!=', '=', ':' are supported (colon ':' represents a HAS operator which is\n roughly synonymous with equality). {field} can refer to a proto or JSON\n field, or a synthetic field. Field names can be camelCase or snake_case.\n\n Examples:\n - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Lists the Resources that match the filter expression. A filter\n expression filters the resources listed in the response. The expression\n must be of the form '{field} {operator} {value}' where operators: '\\\u003c', '\\\u003e',\n '\\\u003c=',\n '\\\u003e=',\n '!=', '=', ':' are supported (colon ':' represents a HAS operator which is\n roughly synonymous with equality). {field} can refer to a proto or JSON\n field, or a synthetic field. Field names can be camelCase or snake_case.\n\n Examples:\n- Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz \n**Returns**\n\n- (::String) --- Lists the Resources that match the filter expression. A filter\n expression filters the resources listed in the response. The expression\n must be of the form '{field} {operator} {value}' where operators: '\\\u003c', '\\\u003e',\n '\\\u003c=',\n '\\\u003e=',\n '!=', '=', ':' are supported (colon ':' represents a HAS operator which is\n roughly synonymous with equality). {field} can refer to a proto or JSON\n field, or a synthetic field. Field names can be camelCase or snake_case.\n\n Examples:\n - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz\n\n### #order_by\n\n def order_by() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Field to use to sort the list.\n\n### #order_by=\n\n def order_by=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Field to use to sort the list. \n**Returns**\n\n- (::String) --- Field to use to sort the list.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified or set to 0, all resources will be returned.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified or set to 0, all resources will be returned. \n**Returns**\n\n- (::Integer) --- When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified or set to 0, all resources will be returned.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources. \n**Returns**\n\n- (::String) --- Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. \n**Returns**\n\n- (::String) --- Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'."]]