Versions in this module Expand all Collapse all v0 v0.59.3 Jun 29, 2020 Changes in this version + func DefaultAuthScopes() []string + type CallOptions struct + BatchGetAssetsHistory []gax.CallOption + CreateFeed []gax.CallOption + DeleteFeed []gax.CallOption + ExportAssets []gax.CallOption + GetFeed []gax.CallOption + ListFeeds []gax.CallOption + SearchAllIamPolicies []gax.CallOption + SearchAllResources []gax.CallOption + UpdateFeed []gax.CallOption + type Client struct + CallOptions *CallOptions + LROClient *lroauto.OperationsClient + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) BatchGetAssetsHistory(ctx context.Context, req *assetpb.BatchGetAssetsHistoryRequest, ...) (*assetpb.BatchGetAssetsHistoryResponse, error) + func (c *Client) Close() error + func (c *Client) Connection() *grpc.ClientConn + func (c *Client) CreateFeed(ctx context.Context, req *assetpb.CreateFeedRequest, opts ...gax.CallOption) (*assetpb.Feed, error) + func (c *Client) DeleteFeed(ctx context.Context, req *assetpb.DeleteFeedRequest, opts ...gax.CallOption) error + func (c *Client) ExportAssets(ctx context.Context, req *assetpb.ExportAssetsRequest, opts ...gax.CallOption) (*ExportAssetsOperation, error) + func (c *Client) ExportAssetsOperation(name string) *ExportAssetsOperation + func (c *Client) GetFeed(ctx context.Context, req *assetpb.GetFeedRequest, opts ...gax.CallOption) (*assetpb.Feed, error) + func (c *Client) ListFeeds(ctx context.Context, req *assetpb.ListFeedsRequest, opts ...gax.CallOption) (*assetpb.ListFeedsResponse, error) + func (c *Client) SearchAllIamPolicies(ctx context.Context, req *assetpb.SearchAllIamPoliciesRequest, ...) *IamPolicySearchResultIterator + func (c *Client) SearchAllResources(ctx context.Context, req *assetpb.SearchAllResourcesRequest, ...) *ResourceSearchResultIterator + func (c *Client) UpdateFeed(ctx context.Context, req *assetpb.UpdateFeedRequest, opts ...gax.CallOption) (*assetpb.Feed, error) + type ExportAssetsOperation struct + func (op *ExportAssetsOperation) Done() bool + func (op *ExportAssetsOperation) Metadata() (*assetpb.ExportAssetsRequest, error) + func (op *ExportAssetsOperation) Name() string + func (op *ExportAssetsOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*assetpb.ExportAssetsResponse, error) + func (op *ExportAssetsOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*assetpb.ExportAssetsResponse, error) + type IamPolicySearchResultIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*assetpb.IamPolicySearchResult, nextPageToken string, err error) + Response interface{} + func (it *IamPolicySearchResultIterator) Next() (*assetpb.IamPolicySearchResult, error) + func (it *IamPolicySearchResultIterator) PageInfo() *iterator.PageInfo + type ResourceSearchResultIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*assetpb.ResourceSearchResult, nextPageToken string, err error) + Response interface{} + func (it *ResourceSearchResultIterator) Next() (*assetpb.ResourceSearchResult, error) + func (it *ResourceSearchResultIterator) PageInfo() *iterator.PageInfo