Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ViewIndexedAssetsRequest.
Request message for ViewIndexedAssets.
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:
"asset_id = xxxx", which returns asset with specified id.
"asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids.
#filter=
deffilter=(value)->::String
Parameter
value (::String) — The filter applied to the returned list.
Only the following filterings are supported:
"asset_id = xxxx", which returns asset with specified id.
"asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids.
Returns
(::String) — The filter applied to the returned list.
Only the following filterings are supported:
"asset_id = xxxx", which returns asset with specified id.
"asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids.
#index
defindex()->::String
Returns
(::String) — Required. The index that owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
#index=
defindex=(value)->::String
Parameter
value (::String) — Required. The index that owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
Returns
(::String) — Required. The index that owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
#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 ViewIndexedAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ViewIndexedAssets 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 ViewIndexedAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ViewIndexedAssets must
match the call that provided the page token.
Returns
(::String) — A page token, received from a previous ViewIndexedAssets call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ViewIndexedAssets must
match the call that provided the page token.
[[["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::ViewIndexedAssetsRequest (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-ViewIndexedAssetsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-ViewIndexedAssetsRequest) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ViewIndexedAssetsRequest.\n\nRequest message for ViewIndexedAssets. \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: \"asset_id = xxxx\", which returns asset with specified id. \"asset_id = xxxx, yyyy, zzzz\", which returns assets with specified ids.\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: \"asset_id = xxxx\", which returns asset with specified id. \"asset_id = xxxx, yyyy, zzzz\", which returns assets with specified ids. \n**Returns**\n\n- (::String) --- The filter applied to the returned list. Only the following filterings are supported: \"asset_id = xxxx\", which returns asset with specified id. \"asset_id = xxxx, yyyy, zzzz\", which returns assets with specified ids.\n\n### #index\n\n def index() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The index that owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`\n\n### #index=\n\n def index=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The index that owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` \n**Returns**\n\n- (::String) --- Required. The index that owns this collection of assets. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`\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 `ViewIndexedAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ViewIndexedAssets` 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) --- A page token, received from a previous `ViewIndexedAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ViewIndexedAssets` must\nmatch the call that provided the page token. \n**Returns**\n\n- (::String) --- A page token, received from a previous `ViewIndexedAssets` call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to `ViewIndexedAssets` must\n match the call that provided the page token."]]