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 + GetRecommendation []gax.CallOption + ListRecommendations []gax.CallOption + MarkRecommendationClaimed []gax.CallOption + MarkRecommendationFailed []gax.CallOption + MarkRecommendationSucceeded []gax.CallOption + type Client struct + CallOptions *CallOptions + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) Connection() *grpc.ClientConn + func (c *Client) GetRecommendation(ctx context.Context, req *recommenderpb.GetRecommendationRequest, ...) (*recommenderpb.Recommendation, error) + func (c *Client) ListRecommendations(ctx context.Context, req *recommenderpb.ListRecommendationsRequest, ...) *RecommendationIterator + func (c *Client) MarkRecommendationClaimed(ctx context.Context, req *recommenderpb.MarkRecommendationClaimedRequest, ...) (*recommenderpb.Recommendation, error) + func (c *Client) MarkRecommendationFailed(ctx context.Context, req *recommenderpb.MarkRecommendationFailedRequest, ...) (*recommenderpb.Recommendation, error) + func (c *Client) MarkRecommendationSucceeded(ctx context.Context, req *recommenderpb.MarkRecommendationSucceededRequest, ...) (*recommenderpb.Recommendation, error) + type RecommendationIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*recommenderpb.Recommendation, nextPageToken string, err error) + Response interface{} + func (it *RecommendationIterator) Next() (*recommenderpb.Recommendation, error) + func (it *RecommendationIterator) PageInfo() *iterator.PageInfo