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 + CreateFinding []gax.CallOption + CreateNotificationConfig []gax.CallOption + CreateSource []gax.CallOption + DeleteNotificationConfig []gax.CallOption + GetIamPolicy []gax.CallOption + GetNotificationConfig []gax.CallOption + GetOrganizationSettings []gax.CallOption + GetSource []gax.CallOption + GroupAssets []gax.CallOption + GroupFindings []gax.CallOption + ListAssets []gax.CallOption + ListFindings []gax.CallOption + ListNotificationConfigs []gax.CallOption + ListSources []gax.CallOption + RunAssetDiscovery []gax.CallOption + SetFindingState []gax.CallOption + SetIamPolicy []gax.CallOption + TestIamPermissions []gax.CallOption + UpdateFinding []gax.CallOption + UpdateNotificationConfig []gax.CallOption + UpdateOrganizationSettings []gax.CallOption + UpdateSecurityMarks []gax.CallOption + UpdateSource []gax.CallOption + type Client struct + CallOptions *CallOptions + LROClient *lroauto.OperationsClient + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) Connection() *grpc.ClientConn + func (c *Client) CreateFinding(ctx context.Context, req *securitycenterpb.CreateFindingRequest, ...) (*securitycenterpb.Finding, error) + func (c *Client) CreateNotificationConfig(ctx context.Context, req *securitycenterpb.CreateNotificationConfigRequest, ...) (*securitycenterpb.NotificationConfig, error) + func (c *Client) CreateSource(ctx context.Context, req *securitycenterpb.CreateSourceRequest, ...) (*securitycenterpb.Source, error) + func (c *Client) DeleteNotificationConfig(ctx context.Context, req *securitycenterpb.DeleteNotificationConfigRequest, ...) error + func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) + func (c *Client) GetNotificationConfig(ctx context.Context, req *securitycenterpb.GetNotificationConfigRequest, ...) (*securitycenterpb.NotificationConfig, error) + func (c *Client) GetOrganizationSettings(ctx context.Context, req *securitycenterpb.GetOrganizationSettingsRequest, ...) (*securitycenterpb.OrganizationSettings, error) + func (c *Client) GetSource(ctx context.Context, req *securitycenterpb.GetSourceRequest, ...) (*securitycenterpb.Source, error) + func (c *Client) GroupAssets(ctx context.Context, req *securitycenterpb.GroupAssetsRequest, ...) *GroupResultIterator + func (c *Client) GroupFindings(ctx context.Context, req *securitycenterpb.GroupFindingsRequest, ...) *GroupResultIterator + func (c *Client) ListAssets(ctx context.Context, req *securitycenterpb.ListAssetsRequest, ...) *ListAssetsResponse_ListAssetsResultIterator + func (c *Client) ListFindings(ctx context.Context, req *securitycenterpb.ListFindingsRequest, ...) *ListFindingsResponse_ListFindingsResultIterator + func (c *Client) ListNotificationConfigs(ctx context.Context, req *securitycenterpb.ListNotificationConfigsRequest, ...) *NotificationConfigIterator + func (c *Client) ListSources(ctx context.Context, req *securitycenterpb.ListSourcesRequest, ...) *SourceIterator + func (c *Client) RunAssetDiscovery(ctx context.Context, req *securitycenterpb.RunAssetDiscoveryRequest, ...) (*RunAssetDiscoveryOperation, error) + func (c *Client) RunAssetDiscoveryOperation(name string) *RunAssetDiscoveryOperation + func (c *Client) SetFindingState(ctx context.Context, req *securitycenterpb.SetFindingStateRequest, ...) (*securitycenterpb.Finding, error) + func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) + func (c *Client) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest, ...) (*iampb.TestIamPermissionsResponse, error) + func (c *Client) UpdateFinding(ctx context.Context, req *securitycenterpb.UpdateFindingRequest, ...) (*securitycenterpb.Finding, error) + func (c *Client) UpdateNotificationConfig(ctx context.Context, req *securitycenterpb.UpdateNotificationConfigRequest, ...) (*securitycenterpb.NotificationConfig, error) + func (c *Client) UpdateOrganizationSettings(ctx context.Context, req *securitycenterpb.UpdateOrganizationSettingsRequest, ...) (*securitycenterpb.OrganizationSettings, error) + func (c *Client) UpdateSecurityMarks(ctx context.Context, req *securitycenterpb.UpdateSecurityMarksRequest, ...) (*securitycenterpb.SecurityMarks, error) + func (c *Client) UpdateSource(ctx context.Context, req *securitycenterpb.UpdateSourceRequest, ...) (*securitycenterpb.Source, error) + type GroupResultIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*securitycenterpb.GroupResult, nextPageToken string, err error) + Response interface{} + func (it *GroupResultIterator) Next() (*securitycenterpb.GroupResult, error) + func (it *GroupResultIterator) PageInfo() *iterator.PageInfo + type ListAssetsResponse_ListAssetsResultIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*securitycenterpb.ListAssetsResponse_ListAssetsResult, ...) + Response interface{} + func (it *ListAssetsResponse_ListAssetsResultIterator) Next() (*securitycenterpb.ListAssetsResponse_ListAssetsResult, error) + func (it *ListAssetsResponse_ListAssetsResultIterator) PageInfo() *iterator.PageInfo + type ListFindingsResponse_ListFindingsResultIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*securitycenterpb.ListFindingsResponse_ListFindingsResult, ...) + Response interface{} + func (it *ListFindingsResponse_ListFindingsResultIterator) Next() (*securitycenterpb.ListFindingsResponse_ListFindingsResult, error) + func (it *ListFindingsResponse_ListFindingsResultIterator) PageInfo() *iterator.PageInfo + type NotificationConfigIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*securitycenterpb.NotificationConfig, nextPageToken string, ...) + Response interface{} + func (it *NotificationConfigIterator) Next() (*securitycenterpb.NotificationConfig, error) + func (it *NotificationConfigIterator) PageInfo() *iterator.PageInfo + type RunAssetDiscoveryOperation struct + func (op *RunAssetDiscoveryOperation) Done() bool + func (op *RunAssetDiscoveryOperation) Metadata() (*emptypb.Empty, error) + func (op *RunAssetDiscoveryOperation) Name() string + func (op *RunAssetDiscoveryOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*securitycenterpb.RunAssetDiscoveryResponse, error) + func (op *RunAssetDiscoveryOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*securitycenterpb.RunAssetDiscoveryResponse, error) + type SourceIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*securitycenterpb.Source, nextPageToken string, err error) + Response interface{} + func (it *SourceIterator) Next() (*securitycenterpb.Source, error) + func (it *SourceIterator) PageInfo() *iterator.PageInfo