cloud_asset_inventory

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Domain = "cloudasset.googleapis.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options ...cloud_asset_inventory_config.Option) *Client

func (*Client) ListAssets

func (c *Client) ListAssets(ctx context.Context, parent string, query url.Values, options ...fetch_config.Option) (*asset_list.AssetList, error)

ListAssets lists assets under the specified parent (e.g. "organizations/123456", "projects/my-project", or "folders/123456"). Use the query parameter to specify assetTypes, contentType, pageSize, pageToken, and other query parameters.

func (*Client) SearchAllResources

func (c *Client) SearchAllResources(ctx context.Context, scope string, query url.Values, options ...fetch_config.Option) (*resource_search_result_list.ResourceSearchResultList, error)

SearchAllResources searches all resources within the specified scope (e.g. "organizations/123456", "projects/my-project", or "folders/123456"). Use the query parameter to specify query, assetTypes, pageSize, pageToken, orderBy, readMask, and other query parameters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL