Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ListAssetsRequest.
Request message for ListAssets.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#filter
deffilter()->::String
Returns
(::String) — The filter applied to the returned list.
Only the following filterings are supported:
"assets_with_contents = true", which returns assets with contents uploaded;
"assets_with_contents = false", which returns assets without contents.
#filter=
deffilter=(value)->::String
Parameter
value (::String) — The filter applied to the returned list.
Only the following filterings are supported:
"assets_with_contents = true", which returns assets with contents uploaded;
"assets_with_contents = false", which returns assets without contents.
Returns
(::String) — The filter applied to the returned list.
Only the following filterings are supported:
"assets_with_contents = true", which returns assets with contents uploaded;
"assets_with_contents = false", which returns assets without contents.
#page_size
defpage_size()->::Integer
Returns
(::Integer) — The maximum number of assets to return. The service may return fewer than
this value.
If unspecified, at most 50 assets 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) — The maximum number of assets to return. The service may return fewer than
this value.
If unspecified, at most 50 assets will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
Returns
(::Integer) — The maximum number of assets to return. The service may return fewer than
this value.
If unspecified, at most 50 assets will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
#page_token
defpage_token()->::String
Returns
(::String) — A page token, received from a previous ListAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssets must match
the call that provided the page token.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — A page token, received from a previous ListAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssets must match
the call that provided the page token.
Returns
(::String) — A page token, received from a previous ListAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssets must match
the call that provided the page token.
#parent
defparent()->::String
Returns
(::String) — Required. The parent, which owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The parent, which owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
Returns
(::String) — Required. The parent, which owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
[[["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,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ListAssetsRequest (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-ListAssetsRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-ListAssetsRequest) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ListAssetsRequest.\n\nRequest message for ListAssets. \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) --- The filter applied to the returned list. Only the following filterings are supported: \"assets_with_contents = true\", which returns assets with contents uploaded; \"assets_with_contents = false\", which returns assets without contents.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The filter applied to the returned list. Only the following filterings are supported: \"assets_with_contents = true\", which returns assets with contents uploaded; \"assets_with_contents = false\", which returns assets without contents. \n**Returns**\n\n- (::String) --- The filter applied to the returned list. Only the following filterings are supported: \"assets_with_contents = true\", which returns assets with contents uploaded; \"assets_with_contents = false\", which returns assets without contents.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets 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) --- The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. \n**Returns**\n\n- (::Integer) --- The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets 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) --- A page token, received from a previous `ListAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListAssets` must match\n 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) --- A page token, received from a previous `ListAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListAssets` must match\nthe call that provided the page token. \n**Returns**\n\n- (::String) --- A page token, received from a previous `ListAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ListAssets` must match\n 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, which owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent, which owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}` \n**Returns**\n\n- (::String) --- Required. The parent, which owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`"]]