Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const PlusLoginScope + const PlusMeScope + const UserinfoEmailScope + const UserinfoProfileScope + type Acl struct + Description string + ForceSendFields []string + Items []*PlusAclentryResource + Kind string + NullFields []string + func (s *Acl) MarshalJSON() ([]byte, error) + type ActivitiesGetCall struct + func (c *ActivitiesGetCall) Context(ctx context.Context) *ActivitiesGetCall + func (c *ActivitiesGetCall) Do(opts ...googleapi.CallOption) (*Activity, error) + func (c *ActivitiesGetCall) Fields(s ...googleapi.Field) *ActivitiesGetCall + func (c *ActivitiesGetCall) Header() http.Header + func (c *ActivitiesGetCall) IfNoneMatch(entityTag string) *ActivitiesGetCall + type ActivitiesListCall struct + func (c *ActivitiesListCall) Context(ctx context.Context) *ActivitiesListCall + func (c *ActivitiesListCall) Do(opts ...googleapi.CallOption) (*ActivityFeed, error) + func (c *ActivitiesListCall) Fields(s ...googleapi.Field) *ActivitiesListCall + func (c *ActivitiesListCall) Header() http.Header + func (c *ActivitiesListCall) IfNoneMatch(entityTag string) *ActivitiesListCall + func (c *ActivitiesListCall) MaxResults(maxResults int64) *ActivitiesListCall + func (c *ActivitiesListCall) PageToken(pageToken string) *ActivitiesListCall + func (c *ActivitiesListCall) Pages(ctx context.Context, f func(*ActivityFeed) error) error + type ActivitiesSearchCall struct + func (c *ActivitiesSearchCall) Context(ctx context.Context) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) Do(opts ...googleapi.CallOption) (*ActivityFeed, error) + func (c *ActivitiesSearchCall) Fields(s ...googleapi.Field) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) Header() http.Header + func (c *ActivitiesSearchCall) IfNoneMatch(entityTag string) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) Language(language string) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) MaxResults(maxResults int64) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) OrderBy(orderBy string) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) PageToken(pageToken string) *ActivitiesSearchCall + func (c *ActivitiesSearchCall) Pages(ctx context.Context, f func(*ActivityFeed) error) error + type ActivitiesService struct + func NewActivitiesService(s *Service) *ActivitiesService + func (r *ActivitiesService) Get(activityId string) *ActivitiesGetCall + func (r *ActivitiesService) List(userId string, collection string) *ActivitiesListCall + func (r *ActivitiesService) Search(query string) *ActivitiesSearchCall + type Activity struct + Access *Acl + Actor *ActivityActor + Address string + Annotation string + CrosspostSource string + Etag string + ForceSendFields []string + Geocode string + Id string + Kind string + Location *Place + NullFields []string + Object *ActivityObject + PlaceId string + PlaceName string + Provider *ActivityProvider + Published string + Radius string + Title string + Updated string + Url string + Verb string + func (s *Activity) MarshalJSON() ([]byte, error) + type ActivityActor struct + ClientSpecificActorInfo *ActivityActorClientSpecificActorInfo + DisplayName string + ForceSendFields []string + Id string + Image *ActivityActorImage + Name *ActivityActorName + NullFields []string + Url string + Verification *ActivityActorVerification + func (s *ActivityActor) MarshalJSON() ([]byte, error) + type ActivityActorClientSpecificActorInfo struct + ForceSendFields []string + NullFields []string + YoutubeActorInfo *ActivityActorClientSpecificActorInfoYoutubeActorInfo + func (s *ActivityActorClientSpecificActorInfo) MarshalJSON() ([]byte, error) + type ActivityActorClientSpecificActorInfoYoutubeActorInfo struct + ChannelId string + ForceSendFields []string + NullFields []string + func (s *ActivityActorClientSpecificActorInfoYoutubeActorInfo) MarshalJSON() ([]byte, error) + type ActivityActorImage struct + ForceSendFields []string + NullFields []string + Url string + func (s *ActivityActorImage) MarshalJSON() ([]byte, error) + type ActivityActorName struct + FamilyName string + ForceSendFields []string + GivenName string + NullFields []string + func (s *ActivityActorName) MarshalJSON() ([]byte, error) + type ActivityActorVerification struct + AdHocVerified string + ForceSendFields []string + NullFields []string + func (s *ActivityActorVerification) MarshalJSON() ([]byte, error) + type ActivityFeed struct + Etag string + ForceSendFields []string + Id string + Items []*Activity + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + Title string + Updated string + func (s *ActivityFeed) MarshalJSON() ([]byte, error) + type ActivityObject struct + Actor *ActivityObjectActor + Attachments []*ActivityObjectAttachments + Content string + ForceSendFields []string + Id string + NullFields []string + ObjectType string + OriginalContent string + Plusoners *ActivityObjectPlusoners + Replies *ActivityObjectReplies + Resharers *ActivityObjectResharers + Url string + func (s *ActivityObject) MarshalJSON() ([]byte, error) + type ActivityObjectActor struct + ClientSpecificActorInfo *ActivityObjectActorClientSpecificActorInfo + DisplayName string + ForceSendFields []string + Id string + Image *ActivityObjectActorImage + NullFields []string + Url string + Verification *ActivityObjectActorVerification + func (s *ActivityObjectActor) MarshalJSON() ([]byte, error) + type ActivityObjectActorClientSpecificActorInfo struct + ForceSendFields []string + NullFields []string + YoutubeActorInfo *ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo + func (s *ActivityObjectActorClientSpecificActorInfo) MarshalJSON() ([]byte, error) + type ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo struct + ChannelId string + ForceSendFields []string + NullFields []string + func (s *ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo) MarshalJSON() ([]byte, error) + type ActivityObjectActorImage struct + ForceSendFields []string + NullFields []string + Url string + func (s *ActivityObjectActorImage) MarshalJSON() ([]byte, error) + type ActivityObjectActorVerification struct + AdHocVerified string + ForceSendFields []string + NullFields []string + func (s *ActivityObjectActorVerification) MarshalJSON() ([]byte, error) + type ActivityObjectAttachments struct + Content string + DisplayName string + Embed *ActivityObjectAttachmentsEmbed + ForceSendFields []string + FullImage *ActivityObjectAttachmentsFullImage + Id string + Image *ActivityObjectAttachmentsImage + NullFields []string + ObjectType string + Thumbnails []*ActivityObjectAttachmentsThumbnails + Url string + func (s *ActivityObjectAttachments) MarshalJSON() ([]byte, error) + type ActivityObjectAttachmentsEmbed struct + ForceSendFields []string + NullFields []string + Type string + Url string + func (s *ActivityObjectAttachmentsEmbed) MarshalJSON() ([]byte, error) + type ActivityObjectAttachmentsFullImage struct + ForceSendFields []string + Height int64 + NullFields []string + Type string + Url string + Width int64 + func (s *ActivityObjectAttachmentsFullImage) MarshalJSON() ([]byte, error) + type ActivityObjectAttachmentsImage struct + ForceSendFields []string + Height int64 + NullFields []string + Type string + Url string + Width int64 + func (s *ActivityObjectAttachmentsImage) MarshalJSON() ([]byte, error) + type ActivityObjectAttachmentsThumbnails struct + Description string + ForceSendFields []string + Image *ActivityObjectAttachmentsThumbnailsImage + NullFields []string + Url string + func (s *ActivityObjectAttachmentsThumbnails) MarshalJSON() ([]byte, error) + type ActivityObjectAttachmentsThumbnailsImage struct + ForceSendFields []string + Height int64 + NullFields []string + Type string + Url string + Width int64 + func (s *ActivityObjectAttachmentsThumbnailsImage) MarshalJSON() ([]byte, error) + type ActivityObjectPlusoners struct + ForceSendFields []string + NullFields []string + SelfLink string + TotalItems int64 + func (s *ActivityObjectPlusoners) MarshalJSON() ([]byte, error) + type ActivityObjectReplies struct + ForceSendFields []string + NullFields []string + SelfLink string + TotalItems int64 + func (s *ActivityObjectReplies) MarshalJSON() ([]byte, error) + type ActivityObjectResharers struct + ForceSendFields []string + NullFields []string + SelfLink string + TotalItems int64 + func (s *ActivityObjectResharers) MarshalJSON() ([]byte, error) + type ActivityProvider struct + ForceSendFields []string + NullFields []string + Title string + func (s *ActivityProvider) MarshalJSON() ([]byte, error) + type Comment struct + Actor *CommentActor + Etag string + ForceSendFields []string + Id string + InReplyTo []*CommentInReplyTo + Kind string + NullFields []string + Object *CommentObject + Plusoners *CommentPlusoners + Published string + SelfLink string + Updated string + Verb string + func (s *Comment) MarshalJSON() ([]byte, error) + type CommentActor struct + ClientSpecificActorInfo *CommentActorClientSpecificActorInfo + DisplayName string + ForceSendFields []string + Id string + Image *CommentActorImage + NullFields []string + Url string + Verification *CommentActorVerification + func (s *CommentActor) MarshalJSON() ([]byte, error) + type CommentActorClientSpecificActorInfo struct + ForceSendFields []string + NullFields []string + YoutubeActorInfo *CommentActorClientSpecificActorInfoYoutubeActorInfo + func (s *CommentActorClientSpecificActorInfo) MarshalJSON() ([]byte, error) + type CommentActorClientSpecificActorInfoYoutubeActorInfo struct + ChannelId string + ForceSendFields []string + NullFields []string + func (s *CommentActorClientSpecificActorInfoYoutubeActorInfo) MarshalJSON() ([]byte, error) + type CommentActorImage struct + ForceSendFields []string + NullFields []string + Url string + func (s *CommentActorImage) MarshalJSON() ([]byte, error) + type CommentActorVerification struct + AdHocVerified string + ForceSendFields []string + NullFields []string + func (s *CommentActorVerification) MarshalJSON() ([]byte, error) + type CommentFeed struct + Etag string + ForceSendFields []string + Id string + Items []*Comment + Kind string + NextLink string + NextPageToken string + NullFields []string + Title string + Updated string + func (s *CommentFeed) MarshalJSON() ([]byte, error) + type CommentInReplyTo struct + ForceSendFields []string + Id string + NullFields []string + Url string + func (s *CommentInReplyTo) MarshalJSON() ([]byte, error) + type CommentObject struct + Content string + ForceSendFields []string + NullFields []string + ObjectType string + OriginalContent string + func (s *CommentObject) MarshalJSON() ([]byte, error) + type CommentPlusoners struct + ForceSendFields []string + NullFields []string + TotalItems int64 + func (s *CommentPlusoners) MarshalJSON() ([]byte, error) + type CommentsGetCall struct + func (c *CommentsGetCall) Context(ctx context.Context) *CommentsGetCall + func (c *CommentsGetCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsGetCall) Fields(s ...googleapi.Field) *CommentsGetCall + func (c *CommentsGetCall) Header() http.Header + func (c *CommentsGetCall) IfNoneMatch(entityTag string) *CommentsGetCall + type CommentsListCall struct + func (c *CommentsListCall) Context(ctx context.Context) *CommentsListCall + func (c *CommentsListCall) Do(opts ...googleapi.CallOption) (*CommentFeed, error) + func (c *CommentsListCall) Fields(s ...googleapi.Field) *CommentsListCall + func (c *CommentsListCall) Header() http.Header + func (c *CommentsListCall) IfNoneMatch(entityTag string) *CommentsListCall + func (c *CommentsListCall) MaxResults(maxResults int64) *CommentsListCall + func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall + func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentFeed) error) error + func (c *CommentsListCall) SortOrder(sortOrder string) *CommentsListCall + type CommentsService struct + func NewCommentsService(s *Service) *CommentsService + func (r *CommentsService) Get(commentId string) *CommentsGetCall + func (r *CommentsService) List(activityId string) *CommentsListCall + type PeopleFeed struct + Etag string + ForceSendFields []string + Items []*Person + Kind string + NextPageToken string + NullFields []string + SelfLink string + Title string + TotalItems int64 + func (s *PeopleFeed) MarshalJSON() ([]byte, error) + type PeopleGetCall struct + func (c *PeopleGetCall) Context(ctx context.Context) *PeopleGetCall + func (c *PeopleGetCall) Do(opts ...googleapi.CallOption) (*Person, error) + func (c *PeopleGetCall) Fields(s ...googleapi.Field) *PeopleGetCall + func (c *PeopleGetCall) Header() http.Header + func (c *PeopleGetCall) IfNoneMatch(entityTag string) *PeopleGetCall + type PeopleListByActivityCall struct + func (c *PeopleListByActivityCall) Context(ctx context.Context) *PeopleListByActivityCall + func (c *PeopleListByActivityCall) Do(opts ...googleapi.CallOption) (*PeopleFeed, error) + func (c *PeopleListByActivityCall) Fields(s ...googleapi.Field) *PeopleListByActivityCall + func (c *PeopleListByActivityCall) Header() http.Header + func (c *PeopleListByActivityCall) IfNoneMatch(entityTag string) *PeopleListByActivityCall + func (c *PeopleListByActivityCall) MaxResults(maxResults int64) *PeopleListByActivityCall + func (c *PeopleListByActivityCall) PageToken(pageToken string) *PeopleListByActivityCall + func (c *PeopleListByActivityCall) Pages(ctx context.Context, f func(*PeopleFeed) error) error + type PeopleListCall struct + func (c *PeopleListCall) Context(ctx context.Context) *PeopleListCall + func (c *PeopleListCall) Do(opts ...googleapi.CallOption) (*PeopleFeed, error) + func (c *PeopleListCall) Fields(s ...googleapi.Field) *PeopleListCall + func (c *PeopleListCall) Header() http.Header + func (c *PeopleListCall) IfNoneMatch(entityTag string) *PeopleListCall + func (c *PeopleListCall) MaxResults(maxResults int64) *PeopleListCall + func (c *PeopleListCall) OrderBy(orderBy string) *PeopleListCall + func (c *PeopleListCall) PageToken(pageToken string) *PeopleListCall + func (c *PeopleListCall) Pages(ctx context.Context, f func(*PeopleFeed) error) error + type PeopleSearchCall struct + func (c *PeopleSearchCall) Context(ctx context.Context) *PeopleSearchCall + func (c *PeopleSearchCall) Do(opts ...googleapi.CallOption) (*PeopleFeed, error) + func (c *PeopleSearchCall) Fields(s ...googleapi.Field) *PeopleSearchCall + func (c *PeopleSearchCall) Header() http.Header + func (c *PeopleSearchCall) IfNoneMatch(entityTag string) *PeopleSearchCall + func (c *PeopleSearchCall) Language(language string) *PeopleSearchCall + func (c *PeopleSearchCall) MaxResults(maxResults int64) *PeopleSearchCall + func (c *PeopleSearchCall) PageToken(pageToken string) *PeopleSearchCall + func (c *PeopleSearchCall) Pages(ctx context.Context, f func(*PeopleFeed) error) error + type PeopleService struct + func NewPeopleService(s *Service) *PeopleService + func (r *PeopleService) Get(userId string) *PeopleGetCall + func (r *PeopleService) List(userId string, collection string) *PeopleListCall + func (r *PeopleService) ListByActivity(activityId string, collection string) *PeopleListByActivityCall + func (r *PeopleService) Search(query string) *PeopleSearchCall + type Person struct + AboutMe string + AgeRange *PersonAgeRange + Birthday string + BraggingRights string + CircledByCount int64 + Cover *PersonCover + CurrentLocation string + DisplayName string + Domain string + Emails []*PersonEmails + Etag string + ForceSendFields []string + Gender string + Id string + Image *PersonImage + IsPlusUser bool + Kind string + Language string + Name *PersonName + Nickname string + NullFields []string + ObjectType string + Occupation string + Organizations []*PersonOrganizations + PlacesLived []*PersonPlacesLived + PlusOneCount int64 + RelationshipStatus string + Skills string + Tagline string + Url string + Urls []*PersonUrls + Verified bool + func (s *Person) MarshalJSON() ([]byte, error) + type PersonAgeRange struct + ForceSendFields []string + Max int64 + Min int64 + NullFields []string + func (s *PersonAgeRange) MarshalJSON() ([]byte, error) + type PersonCover struct + CoverInfo *PersonCoverCoverInfo + CoverPhoto *PersonCoverCoverPhoto + ForceSendFields []string + Layout string + NullFields []string + func (s *PersonCover) MarshalJSON() ([]byte, error) + type PersonCoverCoverInfo struct + ForceSendFields []string + LeftImageOffset int64 + NullFields []string + TopImageOffset int64 + func (s *PersonCoverCoverInfo) MarshalJSON() ([]byte, error) + type PersonCoverCoverPhoto struct + ForceSendFields []string + Height int64 + NullFields []string + Url string + Width int64 + func (s *PersonCoverCoverPhoto) MarshalJSON() ([]byte, error) + type PersonEmails struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *PersonEmails) MarshalJSON() ([]byte, error) + type PersonImage struct + ForceSendFields []string + IsDefault bool + NullFields []string + Url string + func (s *PersonImage) MarshalJSON() ([]byte, error) + type PersonName struct + FamilyName string + ForceSendFields []string + Formatted string + GivenName string + HonorificPrefix string + HonorificSuffix string + MiddleName string + NullFields []string + func (s *PersonName) MarshalJSON() ([]byte, error) + type PersonOrganizations struct + Department string + Description string + EndDate string + ForceSendFields []string + Location string + Name string + NullFields []string + Primary bool + StartDate string + Title string + Type string + func (s *PersonOrganizations) MarshalJSON() ([]byte, error) + type PersonPlacesLived struct + ForceSendFields []string + NullFields []string + Primary bool + Value string + func (s *PersonPlacesLived) MarshalJSON() ([]byte, error) + type PersonUrls struct + ForceSendFields []string + Label string + NullFields []string + Type string + Value string + func (s *PersonUrls) MarshalJSON() ([]byte, error) + type Place struct + Address *PlaceAddress + DisplayName string + ForceSendFields []string + Id string + Kind string + NullFields []string + Position *PlacePosition + func (s *Place) MarshalJSON() ([]byte, error) + type PlaceAddress struct + ForceSendFields []string + Formatted string + NullFields []string + func (s *PlaceAddress) MarshalJSON() ([]byte, error) + type PlacePosition struct + ForceSendFields []string + Latitude float64 + Longitude float64 + NullFields []string + func (s *PlacePosition) MarshalJSON() ([]byte, error) + func (s *PlacePosition) UnmarshalJSON(data []byte) error + type PlusAclentryResource struct + DisplayName string + ForceSendFields []string + Id string + NullFields []string + Type string + func (s *PlusAclentryResource) MarshalJSON() ([]byte, error) + type Service struct + Activities *ActivitiesService + BasePath string + Comments *CommentsService + People *PeopleService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)