Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const PlusCirclesReadScope + const PlusLoginScope + const PlusMeScope + const PlusMediaUploadScope + const PlusProfilesReadScope + const PlusStreamReadScope + const UserinfoEmailScope + const UserinfoProfileScope + type Acl struct + Description string + DomainRestricted bool + ForceSendFields []string + Items []*PlusDomainsAclentryResource + 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 ActivitiesService struct + func NewActivitiesService(s *Service) *ActivitiesService + func (r *ActivitiesService) Get(activityId string) *ActivitiesGetCall + func (r *ActivitiesService) List(userId string, collection string) *ActivitiesListCall + 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 + StatusForViewer *ActivityObjectStatusForViewer + 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 + PreviewThumbnails []*ActivityObjectAttachmentsPreviewThumbnails + 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 ActivityObjectAttachmentsPreviewThumbnails struct + ForceSendFields []string + NullFields []string + Url string + func (s *ActivityObjectAttachmentsPreviewThumbnails) 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 ActivityObjectStatusForViewer struct + CanComment bool + CanPlusone bool + CanUpdate bool + ForceSendFields []string + IsPlusOned bool + NullFields []string + ResharingDisabled bool + func (s *ActivityObjectStatusForViewer) MarshalJSON() ([]byte, error) + type ActivityProvider struct + ForceSendFields []string + NullFields []string + Title string + func (s *ActivityProvider) MarshalJSON() ([]byte, error) + type Audience struct + Etag string + ForceSendFields []string + Item *PlusDomainsAclentryResource + Kind string + MemberCount int64 + NullFields []string + Visibility string + func (s *Audience) MarshalJSON() ([]byte, error) + type AudiencesFeed struct + Etag string + ForceSendFields []string + Items []*Audience + Kind string + NextPageToken string + NullFields []string + TotalItems int64 + func (s *AudiencesFeed) MarshalJSON() ([]byte, error) + type AudiencesListCall struct + func (c *AudiencesListCall) Context(ctx context.Context) *AudiencesListCall + func (c *AudiencesListCall) Do(opts ...googleapi.CallOption) (*AudiencesFeed, error) + func (c *AudiencesListCall) Fields(s ...googleapi.Field) *AudiencesListCall + func (c *AudiencesListCall) Header() http.Header + func (c *AudiencesListCall) IfNoneMatch(entityTag string) *AudiencesListCall + func (c *AudiencesListCall) MaxResults(maxResults int64) *AudiencesListCall + func (c *AudiencesListCall) PageToken(pageToken string) *AudiencesListCall + func (c *AudiencesListCall) Pages(ctx context.Context, f func(*AudiencesFeed) error) error + type AudiencesService struct + func NewAudiencesService(s *Service) *AudiencesService + func (r *AudiencesService) List(userId string) *AudiencesListCall + type Circle struct + Description string + DisplayName string + Etag string + ForceSendFields []string + Id string + Kind string + NullFields []string + People *CirclePeople + SelfLink string + func (s *Circle) MarshalJSON() ([]byte, error) + type CircleFeed struct + Etag string + ForceSendFields []string + Items []*Circle + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + Title string + TotalItems int64 + func (s *CircleFeed) MarshalJSON() ([]byte, error) + type CirclePeople struct + ForceSendFields []string + NullFields []string + TotalItems int64 + func (s *CirclePeople) MarshalJSON() ([]byte, error) + type CirclesListCall struct + func (c *CirclesListCall) Context(ctx context.Context) *CirclesListCall + func (c *CirclesListCall) Do(opts ...googleapi.CallOption) (*CircleFeed, error) + func (c *CirclesListCall) Fields(s ...googleapi.Field) *CirclesListCall + func (c *CirclesListCall) Header() http.Header + func (c *CirclesListCall) IfNoneMatch(entityTag string) *CirclesListCall + func (c *CirclesListCall) MaxResults(maxResults int64) *CirclesListCall + func (c *CirclesListCall) PageToken(pageToken string) *CirclesListCall + func (c *CirclesListCall) Pages(ctx context.Context, f func(*CircleFeed) error) error + type CirclesService struct + func NewCirclesService(s *Service) *CirclesService + func (r *CirclesService) List(userId string) *CirclesListCall + 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 Media struct + Author *MediaAuthor + DisplayName string + Etag string + Exif *MediaExif + ForceSendFields []string + Height int64 + Id string + Kind string + MediaCreatedTime string + MediaUrl string + NullFields []string + Published string + SizeBytes int64 + Streams []*Videostream + Summary string + Updated string + Url string + VideoDuration int64 + VideoStatus string + Width int64 + func (s *Media) MarshalJSON() ([]byte, error) + type MediaAuthor struct + DisplayName string + ForceSendFields []string + Id string + Image *MediaAuthorImage + NullFields []string + Url string + func (s *MediaAuthor) MarshalJSON() ([]byte, error) + type MediaAuthorImage struct + ForceSendFields []string + NullFields []string + Url string + func (s *MediaAuthorImage) MarshalJSON() ([]byte, error) + type MediaExif struct + ForceSendFields []string + NullFields []string + Time string + func (s *MediaExif) MarshalJSON() ([]byte, error) + type MediaInsertCall struct + func (c *MediaInsertCall) Context(ctx context.Context) *MediaInsertCall + func (c *MediaInsertCall) Do(opts ...googleapi.CallOption) (*Media, error) + func (c *MediaInsertCall) Fields(s ...googleapi.Field) *MediaInsertCall + func (c *MediaInsertCall) Header() http.Header + func (c *MediaInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *MediaInsertCall + func (c *MediaInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *MediaInsertCall + func (c *MediaInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *MediaInsertCall + type MediaService struct + func NewMediaService(s *Service) *MediaService + func (r *MediaService) Insert(userId string, collection string, media *Media) *MediaInsertCall + 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 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 + type Person struct + AboutMe string + 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 + 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 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 PlusDomainsAclentryResource struct + DisplayName string + ForceSendFields []string + Id string + NullFields []string + Type string + func (s *PlusDomainsAclentryResource) MarshalJSON() ([]byte, error) + type Service struct + Activities *ActivitiesService + Audiences *AudiencesService + BasePath string + Circles *CirclesService + Comments *CommentsService + Media *MediaService + People *PeopleService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Videostream struct + ForceSendFields []string + Height int64 + NullFields []string + Type string + Url string + Width int64 + func (s *Videostream) MarshalJSON() ([]byte, error)