GetSearchAllResourcesPlainArgs

data class GetSearchAllResourcesPlainArgs(val assetTypes: List<String>? = null, val query: String? = null, val scope: String) : ConvertibleToJava<GetSearchAllResourcesPlainArgs>

A collection of arguments for invoking getSearchAllResources.

Constructors

Link copied to clipboard
constructor(assetTypes: List<String>? = null, query: String? = null, scope: String)

Properties

Link copied to clipboard
val assetTypes: List<String>? = null

A list of asset types that this request searches for. If empty, it will search all the supported asset types.

Link copied to clipboard
val query: String? = null

The query statement. See how to construct a query for more information. If not specified or empty, it will search all the resources within the specified scope and asset_types.

Link copied to clipboard

A scope can be a project, a folder, or an organization. The search is limited to the resources within the scope. The allowed value must be: organization number (such as "organizations/123"), folder number (such as "folders/1234"), project number (such as "projects/12345") or project id (such as "projects/abc")

Functions

Link copied to clipboard
open override fun toJava(): GetSearchAllResourcesPlainArgs