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.
Click to show internal directories.
Click to hide internal directories.